@pulzr/perses-figure-panel 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/__mf/js/{PulzrFigurePanel.577b888ef4.js → PulzrFigurePanel.b29c14b507.js} +2 -2
- package/__mf/js/async/{0.325dac5c70.js → 0.ee9b9a050d.js} +2 -2
- package/__mf/js/async/{0p.68da90f323.js → 0p.810fbfea5e.js} +2 -2
- package/__mf/js/async/{2.18619a1037.js → 2.e0e77c51ac.js} +2 -2
- package/__mf/js/async/{6.02956de769.js → 6.1033156971.js} +1 -1
- package/__mf/js/async/{9.952436a6ee.js → 9.f20ad249a8.js} +1 -1
- package/__mf/js/async/__federation_expose_PulzrFigurePanel.9472172973.js +1 -0
- package/__mf/js/async/{f.daba8eec81.js → f.9b147c6255.js} +2 -2
- package/__mf/js/async/k.39678d65e5.js +1 -0
- package/__mf/js/async/kk.62383e2b13.js +1 -0
- package/__mf/js/async/kx.899711f01e.js +83 -0
- package/__mf/js/async/kx.899711f01e.js.LICENSE.txt +55 -0
- package/__mf/js/async/mt.918f7f9b24.js +92 -0
- package/__mf/js/async/{b.5f50cdb328.js.LICENSE.txt → mt.918f7f9b24.js.LICENSE.txt} +0 -25
- package/__mf/js/async/{o.0d1a3636bd.js → o.ec154e6ff6.js} +1 -1
- package/__mf/js/async/{os.7ddd6e9621.js → os.e5e40daae1.js} +2 -2
- package/__mf/js/async/{p.3fb8172ba3.js → p.4a73008e86.js} +2 -2
- package/__mf/js/async/{s.f71e79b6e1.js → s.658d6a4164.js} +1 -1
- package/__mf/js/{main.d9b3dd4bc6.js → main.386bdfecce.js} +2 -2
- package/lib/panels/pulzr-figure-panel/PulzrFigurePanelComponent.d.ts +4 -1
- package/lib/panels/pulzr-figure-panel/PulzrFigurePanelComponent.d.ts.map +1 -1
- package/lib/panels/pulzr-figure-panel/PulzrFigurePanelComponent.js +499 -101
- package/lib/panels/pulzr-figure-panel/PulzrFigurePanelComponent.js.map +1 -1
- package/lib/panels/pulzr-figure-panel/PulzrFigurePanelSettingsEditor.d.ts.map +1 -1
- package/lib/panels/pulzr-figure-panel/PulzrFigurePanelSettingsEditor.js +128 -51
- package/lib/panels/pulzr-figure-panel/PulzrFigurePanelSettingsEditor.js.map +1 -1
- package/lib/panels/pulzr-figure-panel/figure.d.ts +25 -6
- package/lib/panels/pulzr-figure-panel/figure.d.ts.map +1 -1
- package/lib/panels/pulzr-figure-panel/figure.js +43 -11
- package/lib/panels/pulzr-figure-panel/figure.js.map +1 -1
- package/lib/panels/pulzr-figure-panel/pulzr-figure-panel-types.d.ts +22 -2
- package/lib/panels/pulzr-figure-panel/pulzr-figure-panel-types.d.ts.map +1 -1
- package/lib/panels/pulzr-figure-panel/pulzr-figure-panel-types.js.map +1 -1
- package/mf-manifest.json +19 -19
- package/mf-stats.json +19 -19
- package/package.json +1 -1
- package/__mf/js/async/5.9d2ef52231.js +0 -83
- package/__mf/js/async/5.9d2ef52231.js.LICENSE.txt +0 -30
- package/__mf/js/async/__federation_expose_PulzrFigurePanel.e4e9ee3624.js +0 -1
- package/__mf/js/async/b.5f50cdb328.js +0 -92
- package/__mf/js/async/k.7c4213442a.js +0 -1
- package/__mf/js/async/kk.c246b3edb4.js +0 -1
- /package/__mf/css/async/{b.7481ca0159.css → mt.7481ca0159.css} +0 -0
- /package/__mf/js/async/{0.325dac5c70.js.LICENSE.txt → 0.ee9b9a050d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{0p.68da90f323.js.LICENSE.txt → 0p.810fbfea5e.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{2.18619a1037.js.LICENSE.txt → 2.e0e77c51ac.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{f.daba8eec81.js.LICENSE.txt → f.9b147c6255.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{os.7ddd6e9621.js.LICENSE.txt → os.e5e40daae1.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{p.3fb8172ba3.js.LICENSE.txt → p.4a73008e86.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*! LICENSE: kx.899711f01e.js.LICENSE.txt */
|
|
2
|
+
(self.chunk_PulzrFigurePanel_0_3_0=self.chunk_PulzrFigurePanel_0_3_0||[]).push([["kx"],{j(t,e,r){"use strict";r.d(e,{},{A:function(t){var e=Object.create(null);return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}})},Bv(t,e,r){"use strict";r.d(e,{J:()=>f});var n,i={animationIterationCount:1,aspectRatio: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,scale: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},o=r("j"),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},c=(0,o.A)(function(t){return l(t)?t:t.replace(a,"-$&").toLowerCase()}),h=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(s,function(t,e,r){return n={name:e,styles:r,next:n},e})}return 1===i[t]||l(t)||"number"!=typeof e||0===e?e:e+"px"};function p(t,e,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(t,e,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=p(t,e,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=e&&void 0!==e[a]?n+=o+"{"+e[a]+"}":u(a)&&(n+=c(o)+":"+h(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==e||void 0===e[a[0]]))for(var s=0;s<a.length;s++)u(a[s])&&(n+=c(o)+":"+h(o,a[s])+";");else{var l=p(t,e,a);switch(o){case"animation":case"animationName":n+=c(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}}return n}(t,e,r);case"function":if(void 0!==t){var o=n,a=r(t);return n=o,p(t,e,a)}}if(null==e)return r;var s=e[r];return void 0!==s?s:r}var d=/label:\s*([^\s;{]+)\s*(;|$)/g;function f(t,e,r){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i,o=!0,a="";n=void 0;var s=t[0];null==s||void 0===s.raw?(o=!1,a+=p(r,e,s)):a+=s[0];for(var l=1;l<t.length;l++)a+=p(r,e,t[l]),o&&(a+=s[l]);d.lastIndex=0;for(var u="";null!==(i=d.exec(a));)u+="-"+i[1];return{name:function(t){for(var e,r=0,n=0,i=t.length;i>=4;++n,i-=4)e=(65535&(e=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))*0x5bd1e995+((e>>>16)*59797<<16),e^=e>>>24,r=(65535&e)*0x5bd1e995+((e>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&t.charCodeAt(n+2))<<16;case 2:r^=(255&t.charCodeAt(n+1))<<8;case 1:r^=255&t.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},yf(t,e,r){"use strict";r.d(e,{A:()=>g});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("b4"),s=r("WN"),l=r("Rq"),u=r("ox"),c=r("O2"),h=r("kZ");function p(t){return(0,h.Ay)("MuiBackdrop",t)}(0,c.A)("MuiBackdrop",["root","invisible"]);var d=r("P2");let f=(0,a.A)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.invisible&&e.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]});var g=n.forwardRef(function(t,e){let r=(0,s.b)({props:t,name:"MuiBackdrop"}),{children:n,className:a,component:c="div",invisible:h=!1,open:g,components:m={},componentsProps:y={},slotProps:v={},slots:_={},TransitionComponent:x,transitionDuration:b,...A}=r,w={...r,component:c,invisible:h},S=(t=>{let{classes:e,invisible:r}=t;return(0,o.A)({root:["root",r&&"invisible"]},p,e)})(w),k={slots:{transition:x,root:m.Root,..._},slotProps:{...y,...v}},[T,C]=(0,l.A)("root",{elementType:f,externalForwardedProps:k,className:(0,i.A)(S.root,a),ownerState:w}),[M,I]=(0,l.A)("transition",{elementType:u.A,externalForwardedProps:k,ownerState:w});return(0,d.jsx)(M,{in:g,timeout:b,...A,...I,children:(0,d.jsx)(T,{"aria-hidden":!0,...C,classes:S,ref:e,children:n})})})},ZQ(t,e,r){"use strict";r.d(e,{A:()=>g});var n=r("HE"),i=r("x6"),o=r("F9"),a=r("SJ"),s=r("nG"),l=r("SH"),u=r("P2"),c=r("th"),h=r("cl"),p=r("Bi");let d=(0,r("O2").A)("MuiBox",["root"]),f=(0,h.A)();var g=function(t={}){let{themeId:e,defaultTheme:r,defaultClassName:c="MuiBox-root",generateClassName:h}=t,p=(0,o.Ay)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(a.A);return n.forwardRef(function(t,n){let o=(0,l.A)(r),{className:a,component:d="div",...f}=(0,s.A)(t);return(0,u.jsx)(p,{as:d,ref:n,className:(0,i.A)(a,h?h(c):c),theme:e&&o[e]||o,...f})})}({themeId:p.A,defaultTheme:f,defaultClassName:d.root,generateClassName:c.A.generate})},CW(t,e,r){"use strict";r.d(e,{A:()=>D});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("DB"),s=r("b4"),l=r("WN"),u=r("Dd"),c=r("LF"),h=r("N7");class p{static create(){return new p}static use(){let t=(0,h.A)(p.create).current,[e,r]=n.useState(!1);return t.shouldMount=e,t.setShouldMount=r,n.useEffect(t.mountEffect,[e]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){let t,e,r;return this.mounted||(this.mounted=((r=new Promise((r,n)=>{t=r,e=n})).resolve=t,r.reject=e,r),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}var d=r("j6"),f=r("g0"),g=r("uW"),m=r("P2"),y=r("O2");let v=(0,y.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_=(0,g.keyframes)`
|
|
3
|
+
0% {
|
|
4
|
+
transform: scale(0);
|
|
5
|
+
opacity: 0.1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
100% {
|
|
9
|
+
transform: scale(1);
|
|
10
|
+
opacity: 0.3;
|
|
11
|
+
}
|
|
12
|
+
`,x=(0,g.keyframes)`
|
|
13
|
+
0% {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
100% {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
`,b=(0,g.keyframes)`
|
|
21
|
+
0% {
|
|
22
|
+
transform: scale(1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
50% {
|
|
26
|
+
transform: scale(0.92);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
100% {
|
|
30
|
+
transform: scale(1);
|
|
31
|
+
}
|
|
32
|
+
`,A=(0,s.A)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),w=(0,s.A)(function(t){let{className:e,classes:r,pulsate:o=!1,rippleX:a,rippleY:s,rippleSize:l,in:u,onExited:c,timeout:h}=t,[p,d]=n.useState(!1),f=(0,i.A)(e,r.ripple,r.rippleVisible,o&&r.ripplePulsate),g=(0,i.A)(r.child,p&&r.childLeaving,o&&r.childPulsate);return u||p||d(!0),n.useEffect(()=>{if(!u&&null!=c){let t=setTimeout(c,h);return()=>{clearTimeout(t)}}},[c,u,h]),(0,m.jsx)("span",{className:f,style:{width:l,height:l,top:-(l/2)+s,left:-(l/2)+a},children:(0,m.jsx)("span",{className:g})})},{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
33
|
+
opacity: 0;
|
|
34
|
+
position: absolute;
|
|
35
|
+
|
|
36
|
+
&.${v.rippleVisible} {
|
|
37
|
+
opacity: 0.3;
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
animation-name: ${_};
|
|
40
|
+
animation-duration: ${550}ms;
|
|
41
|
+
animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.${v.ripplePulsate} {
|
|
45
|
+
animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .${v.child} {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
display: block;
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
background-color: currentColor;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .${v.childLeaving} {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
animation-name: ${x};
|
|
60
|
+
animation-duration: ${550}ms;
|
|
61
|
+
animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& .${v.childPulsate} {
|
|
65
|
+
position: absolute;
|
|
66
|
+
/* @noflip */
|
|
67
|
+
left: 0px;
|
|
68
|
+
top: 0;
|
|
69
|
+
animation-name: ${b};
|
|
70
|
+
animation-duration: 2500ms;
|
|
71
|
+
animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
|
|
72
|
+
animation-iteration-count: infinite;
|
|
73
|
+
animation-delay: 200ms;
|
|
74
|
+
}
|
|
75
|
+
`,S=n.forwardRef(function(t,e){let{center:r=!1,classes:o={},className:a,...s}=(0,l.b)({props:t,name:"MuiTouchRipple"}),[u,c]=n.useState([]),h=n.useRef(0),p=n.useRef(null);n.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);let g=n.useRef(!1),y=(0,f.A)(),_=n.useRef(null),x=n.useRef(null),b=n.useCallback(t=>{let{pulsate:e,rippleX:r,rippleY:n,rippleSize:a,cb:s}=t;c(t=>[...t,(0,m.jsx)(w,{classes:{ripple:(0,i.A)(o.ripple,v.ripple),rippleVisible:(0,i.A)(o.rippleVisible,v.rippleVisible),ripplePulsate:(0,i.A)(o.ripplePulsate,v.ripplePulsate),child:(0,i.A)(o.child,v.child),childLeaving:(0,i.A)(o.childLeaving,v.childLeaving),childPulsate:(0,i.A)(o.childPulsate,v.childPulsate)},timeout:550,pulsate:e,rippleX:r,rippleY:n,rippleSize:a},h.current)]),h.current+=1,p.current=s},[o]),S=n.useCallback((t={},e={},n=()=>{})=>{let i,o,a,{pulsate:s=!1,center:l=r||e.pulsate,fakeElement:u=!1}=e;if(t?.type==="mousedown"&&g.current){g.current=!1;return}t?.type==="touchstart"&&(g.current=!0);let c=u?null:x.current,h=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!l&&void 0!==t&&(0!==t.clientX||0!==t.clientY)&&(t.clientX||t.touches)){let{clientX:e,clientY:r}=t.touches&&t.touches.length>0?t.touches[0]:t;i=Math.round(e-h.left),o=Math.round(r-h.top)}else i=Math.round(h.width/2),o=Math.round(h.height/2);l?(a=Math.sqrt((2*h.width**2+h.height**2)/3))%2==0&&(a+=1):a=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-i),i)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2)**2),t?.touches?null===_.current&&(_.current=()=>{b({pulsate:s,rippleX:i,rippleY:o,rippleSize:a,cb:n})},y.start(80,()=>{_.current&&(_.current(),_.current=null)})):b({pulsate:s,rippleX:i,rippleY:o,rippleSize:a,cb:n})},[r,b,y]),k=n.useCallback(()=>{S({},{pulsate:!0})},[S]),T=n.useCallback((t,e)=>{if(y.clear(),t?.type==="touchend"&&_.current){_.current(),_.current=null,y.start(0,()=>{T(t,e)});return}_.current=null,c(t=>t.length>0?t.slice(1):t),p.current=e},[y]);return n.useImperativeHandle(e,()=>({pulsate:k,start:S,stop:T}),[k,S,T]),(0,m.jsx)(A,{className:(0,i.A)(v.root,o.root,a),ref:x,...s,children:(0,m.jsx)(d.A,{component:null,exit:!0,children:u})})});var k=r("kZ");function T(t){return(0,k.Ay)("MuiButtonBase",t)}let C=(0,y.A)("MuiButtonBase",["root","disabled","focusVisible"]),M=(0,s.A)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${C.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function I(t,e,r,n=!1){return(0,c.A)(i=>(r&&r(i),n||t[e](i),!0))}var D=n.forwardRef(function(t,e){let r=(0,l.b)({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:h=!1,children:d,className:f,component:g="button",disabled:y=!1,disableRipple:v=!1,disableTouchRipple:_=!1,focusRipple:x=!1,focusVisibleClassName:b,LinkComponent:A="a",onBlur:w,onClick:k,onContextMenu:C,onDragLeave:D,onFocus:P,onFocusVisible:O,onKeyDown:L,onKeyUp:R,onMouseDown:E,onMouseLeave:B,onMouseUp:N,onTouchEnd:z,onTouchMove:F,onTouchStart:$,tabIndex:H=0,TouchRippleProps:j,touchRippleRef:W,type:V,...Y}=r,X=n.useRef(null),G=p.use(),U=(0,u.A)(G.ref,W),[Z,q]=n.useState(!1);y&&Z&&q(!1),n.useImperativeHandle(s,()=>({focusVisible:()=>{q(!0),X.current.focus()}}),[]);let K=G.shouldMount&&!v&&!y;n.useEffect(()=>{Z&&x&&!v&&G.pulsate()},[v,x,Z,G]);let Q=I(G,"start",E,_),J=I(G,"stop",C,_),tt=I(G,"stop",D,_),te=I(G,"stop",N,_),tr=I(G,"stop",t=>{Z&&t.preventDefault(),B&&B(t)},_),tn=I(G,"start",$,_),ti=I(G,"stop",z,_),to=I(G,"stop",F,_),ta=I(G,"stop",t=>{(0,a.A)(t.target)||q(!1),w&&w(t)},!1),ts=(0,c.A)(t=>{X.current||(X.current=t.currentTarget),(0,a.A)(t.target)&&(q(!0),O&&O(t)),P&&P(t)}),tl=()=>{let t=X.current;return g&&"button"!==g&&!("A"===t.tagName&&t.href)},tu=(0,c.A)(t=>{x&&!t.repeat&&Z&&" "===t.key&&G.stop(t,()=>{G.start(t)}),t.target===t.currentTarget&&tl()&&" "===t.key&&t.preventDefault(),L&&L(t),t.target===t.currentTarget&&tl()&&"Enter"===t.key&&!y&&(t.preventDefault(),k&&k(t))}),tc=(0,c.A)(t=>{x&&" "===t.key&&Z&&!t.defaultPrevented&&G.stop(t,()=>{G.pulsate(t)}),R&&R(t),k&&t.target===t.currentTarget&&tl()&&" "===t.key&&!t.defaultPrevented&&k(t)}),th=g;"button"===th&&(Y.href||Y.to)&&(th=A);let tp={};"button"===th?(tp.type=void 0===V?"button":V,tp.disabled=y):(Y.href||Y.to||(tp.role="button"),y&&(tp["aria-disabled"]=y));let td=(0,u.A)(e,X),tf={...r,centerRipple:h,component:g,disabled:y,disableRipple:v,disableTouchRipple:_,focusRipple:x,tabIndex:H,focusVisible:Z},tg=(t=>{let{disabled:e,focusVisible:r,focusVisibleClassName:n,classes:i}=t,a=(0,o.A)({root:["root",e&&"disabled",r&&"focusVisible"]},T,i);return r&&n&&(a.root+=` ${n}`),a})(tf);return(0,m.jsxs)(M,{as:th,className:(0,i.A)(tg.root,f),ownerState:tf,onBlur:ta,onClick:k,onContextMenu:J,onFocus:ts,onKeyDown:tu,onKeyUp:tc,onMouseDown:Q,onMouseLeave:tr,onMouseUp:te,onDragLeave:tt,onTouchEnd:ti,onTouchMove:to,onTouchStart:tn,ref:td,tabIndex:y?-1:H,type:V,...tp,...Y,children:[d,K?(0,m.jsx)(S,{ref:U,center:h,...j}):null]})})},WN(t,e,r){"use strict";r.d(e,{b:()=>a});var n=r("HE"),i=r("Hz");r("P2");let o=n.createContext(void 0);function a(t){return function({props:t,name:e}){return function(t){let{theme:e,name:r,props:n}=t;if(!e||!e.components||!e.components[r])return n;let o=e.components[r];return o.defaultProps?(0,i.A)(o.defaultProps,n):o.styleOverrides||o.variants?n:(0,i.A)(o,n)}({props:t,name:e,theme:{components:n.useContext(o)}})}(t)}},x4(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A=(0,n.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),r.d(e,{},{K:function(t){return(0,i.Ay)("MuiDivider",t)}})},ox(t,e,r){"use strict";var n=r("HE"),i=r("nX"),o=r("TA"),a=r("Jq"),s=r("qr"),l=r("Dd"),u=r("P2");let c={entering:{opacity:1},entered:{opacity:1}};e.A=n.forwardRef(function(t,e){let r=(0,a.A)(),h={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:p,appear:d=!0,children:f,easing:g,in:m,onEnter:y,onEntered:v,onEntering:_,onExit:x,onExited:b,onExiting:A,style:w,timeout:S=h,TransitionComponent:k=i.Ay,...T}=t,C=n.useRef(null),M=(0,l.A)(C,(0,o.A)(f),e),I=t=>e=>{if(t){let r=C.current;void 0===e?t(r):t(r,e)}},D=I(_),P=I((t,e)=>{(0,s.q)(t);let n=(0,s.c)({style:w,timeout:S,easing:g},{mode:"enter"});t.style.webkitTransition=r.transitions.create("opacity",n),t.style.transition=r.transitions.create("opacity",n),y&&y(t,e)}),O=I(v),L=I(A),R=I(t=>{let e=(0,s.c)({style:w,timeout:S,easing:g},{mode:"exit"});t.style.webkitTransition=r.transitions.create("opacity",e),t.style.transition=r.transitions.create("opacity",e),x&&x(t)}),E=I(b);return(0,u.jsx)(k,{appear:d,in:m,nodeRef:C,onEnter:P,onEntered:O,onEntering:D,onExit:R,onExited:E,onExiting:L,addEndListener:t=>{p&&p(C.current,t)},timeout:S,...T,children:(t,{ownerState:e,...r})=>n.cloneElement(f,{style:{opacity:0,visibility:"exited"!==t||m?void 0:"hidden",...c[t],...w,...f.props.style},ref:M,...r})})})},dl(t,e,r){"use strict";var n=r("HE"),i=r("vB"),o=r("I4"),a=r("nA"),s=r("U2"),l=r("b4"),u=r("Yb"),c=r("ja"),h=r("WN"),p=r("yn"),d=r("CQ"),f=r("P2");let g=(0,l.A)(a.Sh,{shouldForwardProp:t=>(0,s.A)(t)||"classes"===t,name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[...(0,a.WC)(t,e),!r.disableUnderline&&e.underline]}})((0,u.A)(({theme:t})=>{let e="light"===t.palette.mode,r=e?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r}},[`&.${p.A.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r},[`&.${p.A.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"},variants:[{props:({ownerState:t})=>!t.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter((0,c.A)()).map(([e])=>({props:{disableUnderline:!1,color:e},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[e]?.main}`}}})),{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:12}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:12}},{props:({ownerState:t})=>t.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:t,size:e})=>t.multiline&&"small"===e,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.multiline&&t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.multiline&&t.hiddenLabel&&"small"===t.size,style:{paddingTop:8,paddingBottom:9}}]}})),m=(0,l.A)(a.ck,{name:"MuiFilledInput",slot:"Input",overridesResolver:a.Oj})((0,u.A)(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&"small"===t.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),y=n.forwardRef(function(t,e){let r=(0,h.b)({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:s={},componentsProps:l,fullWidth:u=!1,hiddenLabel:c,inputComponent:y="input",multiline:v=!1,slotProps:_,slots:x={},type:b="text",...A}=r,w={...r,disableUnderline:n,fullWidth:u,inputComponent:y,multiline:v,type:b},S=(t=>{let{classes:e,disableUnderline:r,startAdornment:n,endAdornment:i,size:a,hiddenLabel:s,multiline:l}=t,u={root:["root",!r&&"underline",n&&"adornedStart",i&&"adornedEnd","small"===a&&`size${(0,d.A)(a)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},c=(0,o.A)(u,p.N,e);return{...e,...c}})(r),k={root:{ownerState:w},input:{ownerState:w}},T=_??l?(0,i.A)(k,_??l):k,C=x.root??s.Root??g,M=x.input??s.Input??m;return(0,f.jsx)(a.Ay,{slots:{root:C,input:M},slotProps:T,fullWidth:u,inputComponent:y,multiline:v,ref:e,type:b,...A,classes:S})});y.muiName="Input",e.A=y},yn(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A={...r("FU").A,...(0,n.A)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},r.d(e,{},{N:function(t){return(0,i.Ay)("MuiFilledInput",t)}})},xq(t,e,r){"use strict";r.d(e,{A:()=>y});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("b4"),s=r("WN"),l=r("yZ"),u=r("CQ"),c=r("tu"),h=r("MX"),p=r("O2"),d=r("kZ");function f(t){return(0,d.Ay)("MuiFormControl",t)}(0,p.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var g=r("P2");let m=(0,a.A)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,e[`margin${(0,u.A)(r.margin)}`],r.fullWidth&&e.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]});var y=n.forwardRef(function(t,e){let r,a=(0,s.b)({props:t,name:"MuiFormControl"}),{children:p,className:d,color:y="primary",component:v="div",disabled:_=!1,error:x=!1,focused:b,fullWidth:A=!1,hiddenLabel:w=!1,margin:S="none",required:k=!1,size:T="medium",variant:C="outlined",...M}=a,I={...a,color:y,component:v,disabled:_,error:x,fullWidth:A,hiddenLabel:w,margin:S,required:k,size:T,variant:C},D=(t=>{let{classes:e,margin:r,fullWidth:n}=t,i={root:["root","none"!==r&&`margin${(0,u.A)(r)}`,n&&"fullWidth"]};return(0,o.A)(i,f,e)})(I),[P,O]=n.useState(()=>{let t=!1;return p&&n.Children.forEach(p,e=>{if(!(0,c.A)(e,["Input","Select"]))return;let r=(0,c.A)(e,["Select"])?e.props.input:e;r&&(0,l.gr)(r.props)&&(t=!0)}),t}),[L,R]=n.useState(()=>{let t=!1;return p&&n.Children.forEach(p,e=>{(0,c.A)(e,["Input","Select"])&&((0,l.lq)(e.props,!0)||(0,l.lq)(e.props.inputProps,!0))&&(t=!0)}),t}),[E,B]=n.useState(!1);_&&E&&B(!1);let N=void 0===b||_?E:b;n.useRef(!1);let z=n.useCallback(()=>{R(!0)},[]),F=n.useCallback(()=>{R(!1)},[]),$=n.useMemo(()=>({adornedStart:P,setAdornedStart:O,color:y,disabled:_,error:x,filled:L,focused:N,fullWidth:A,hiddenLabel:w,size:T,onBlur:()=>{B(!1)},onFocus:()=>{B(!0)},onEmpty:F,onFilled:z,registerEffect:r,required:k,variant:C}),[P,y,_,x,L,N,A,w,r,F,z,k,T,C]);return(0,g.jsx)(h.A.Provider,{value:$,children:(0,g.jsx)(m,{as:v,ownerState:I,className:(0,i.A)(D.root,d),ref:e,...M,children:p})})})},MX(t,e,r){"use strict";e.A=r("HE").createContext(void 0)},We(t,e,r){"use strict";r.d(e,{},{A:function({props:t,states:e,muiFormControl:r}){return e.reduce((e,n)=>(e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e),{})}})},wJ(t,e,r){"use strict";var n=r("HE"),i=r("MX");r.d(e,{},{A:function(){return n.useContext(i.A)}})},Ct(t,e,r){"use strict";r.d(e,{A:()=>b});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("wJ"),s=r("b4"),l=r("Yb"),u=r("WN"),c=r("X3"),h=r("CQ"),p=r("O2"),d=r("kZ");function f(t){return(0,d.Ay)("MuiFormControlLabel",t)}let g=(0,p.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var m=r("We"),y=r("Rq"),v=r("P2");let _=(0,s.A)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[{[`& .${g.label}`]:e.label},e.root,e[`labelPlacement${(0,h.A)(r.labelPlacement)}`]]}})((0,l.A)(({theme:t})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${g.disabled}`]:{cursor:"default"},[`& .${g.label}`]:{[`&.${g.disabled}`]:{color:(t.vars||t).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>"start"===t||"top"===t||"bottom"===t,style:{marginLeft:16}}]}))),x=(0,s.A)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})((0,l.A)(({theme:t})=>({[`&.${g.error}`]:{color:(t.vars||t).palette.error.main}})));var b=n.forwardRef(function(t,e){let r=(0,u.b)({props:t,name:"MuiFormControlLabel"}),{checked:s,className:l,componentsProps:p={},control:d,disabled:g,disableTypography:b,inputRef:A,label:w,labelPlacement:S="end",name:k,onChange:T,required:C,slots:M={},slotProps:I={},value:D,...P}=r,O=(0,a.A)(),L=g??d.props.disabled??O?.disabled,R=C??d.props.required,E={disabled:L,required:R};["checked","name","onChange","value","inputRef"].forEach(t=>{void 0===d.props[t]&&void 0!==r[t]&&(E[t]=r[t])});let B=(0,m.A)({props:r,muiFormControl:O,states:["error"]}),N={...r,disabled:L,labelPlacement:S,required:R,error:B.error},z=(t=>{let{classes:e,disabled:r,labelPlacement:n,error:i,required:a}=t,s={root:["root",r&&"disabled",`labelPlacement${(0,h.A)(n)}`,i&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",i&&"error"]};return(0,o.A)(s,f,e)})(N),F={slots:M,slotProps:{...p,...I}},[$,H]=(0,y.A)("typography",{elementType:c.A,externalForwardedProps:F,ownerState:N}),j=w;return null==j||j.type===c.A||b||(j=(0,v.jsx)($,{component:"span",...H,className:(0,i.A)(z.label,H?.className),children:j})),(0,v.jsxs)(_,{className:(0,i.A)(z.root,l),ownerState:N,ref:e,...P,children:[n.cloneElement(d,E),R?(0,v.jsxs)("div",{children:[j,(0,v.jsxs)(x,{ownerState:N,"aria-hidden":!0,className:z.asterisk,children:[" ","*"]})]}):j]})})},ku(t,e,r){"use strict";r.d(e,{A:()=>_});var n,i=r("HE"),o=r("x6"),a=r("I4"),s=r("We"),l=r("wJ"),u=r("b4"),c=r("Yb"),h=r("WN"),p=r("CQ"),d=r("O2"),f=r("kZ");function g(t){return(0,f.Ay)("MuiFormHelperText",t)}let m=(0,d.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var y=r("P2");let v=(0,u.A)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.size&&e[`size${(0,p.A)(r.size)}`],r.contained&&e.contained,r.filled&&e.filled]}})((0,c.A)(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${m.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${m.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]})));var _=i.forwardRef(function(t,e){let r=(0,h.b)({props:t,name:"MuiFormHelperText"}),{children:i,className:u,component:c="p",disabled:d,error:f,filled:m,focused:_,margin:x,required:b,variant:A,...w}=r,S=(0,l.A)(),k=(0,s.A)({props:r,muiFormControl:S,states:["variant","size","disabled","error","filled","focused","required"]}),T={...r,component:c,contained:"filled"===k.variant||"outlined"===k.variant,variant:k.variant,size:k.size,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required};delete T.ownerState;let C=(t=>{let{classes:e,contained:r,size:n,disabled:i,error:o,filled:s,focused:l,required:u}=t,c={root:["root",i&&"disabled",o&&"error",n&&`size${(0,p.A)(n)}`,r&&"contained",l&&"focused",s&&"filled",u&&"required"]};return(0,a.A)(c,g,e)})(T);return(0,y.jsx)(v,{as:c,className:(0,o.A)(C.root,u),ref:e,...w,ownerState:T,children:" "===i?n||(n=(0,y.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""})):i})})},Wx(t,e,r){"use strict";var n=r("HE"),i=r("x6"),o=r("I4"),a=r("We"),s=r("wJ"),l=r("CQ"),u=r("b4"),c=r("Yb"),h=r("ja"),p=r("WN"),d=r("bY"),f=r("P2");let g=(0,u.A)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,"secondary"===r.color&&e.colorSecondary,r.filled&&e.filled]}})((0,c.A)(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter((0,h.A)()).map(([e])=>({props:{color:e},style:{[`&.${d.A.focused}`]:{color:(t.vars||t).palette[e].main}}})),{props:{},style:{[`&.${d.A.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${d.A.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),m=(0,u.A)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})((0,c.A)(({theme:t})=>({[`&.${d.A.error}`]:{color:(t.vars||t).palette.error.main}})));e.A=n.forwardRef(function(t,e){let r=(0,p.b)({props:t,name:"MuiFormLabel"}),{children:n,className:u,color:c,component:h="label",disabled:y,error:v,filled:_,focused:x,required:b,...A}=r,w=(0,s.A)(),S=(0,a.A)({props:r,muiFormControl:w,states:["color","required","focused","disabled","error","filled"]}),k={...r,color:S.color||"primary",component:h,disabled:S.disabled,error:S.error,filled:S.filled,focused:S.focused,required:S.required},T=(t=>{let{classes:e,color:r,focused:n,disabled:i,error:a,filled:s,required:u}=t,c={root:["root",`color${(0,l.A)(r)}`,i&&"disabled",a&&"error",s&&"filled",n&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return(0,o.A)(c,d.Z,e)})(k);return(0,f.jsxs)(g,{as:h,ownerState:k,className:(0,i.A)(T.root,u),ref:e,...A,children:[n,S.required&&(0,f.jsxs)(m,{ownerState:k,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]})})},bY(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A=(0,n.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),r.d(e,{},{Z:function(t){return(0,i.Ay)("MuiFormLabel",t)}})},MU(t,e,r){"use strict";var n=r("HE"),i=r("g0"),o=r("TA"),a=r("nX"),s=r("Jq"),l=r("qr"),u=r("Dd"),c=r("P2");function h(t){return`scale(${t}, ${t**2})`}let p={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"}},d="u">typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),f=n.forwardRef(function(t,e){let{addEndListener:r,appear:f=!0,children:g,easing:m,in:y,onEnter:v,onEntered:_,onEntering:x,onExit:b,onExited:A,onExiting:w,style:S,timeout:k="auto",TransitionComponent:T=a.Ay,...C}=t,M=(0,i.A)(),I=n.useRef(),D=(0,s.A)(),P=n.useRef(null),O=(0,u.A)(P,(0,o.A)(g),e),L=t=>e=>{if(t){let r=P.current;void 0===e?t(r):t(r,e)}},R=L(x),E=L((t,e)=>{let r;(0,l.q)(t);let{duration:n,delay:i,easing:o}=(0,l.c)({style:S,timeout:k,easing:m},{mode:"enter"});"auto"===k?I.current=r=D.transitions.getAutoHeightDuration(t.clientHeight):r=n,t.style.transition=[D.transitions.create("opacity",{duration:r,delay:i}),D.transitions.create("transform",{duration:d?r:.666*r,delay:i,easing:o})].join(","),v&&v(t,e)}),B=L(_),N=L(w),z=L(t=>{let e,{duration:r,delay:n,easing:i}=(0,l.c)({style:S,timeout:k,easing:m},{mode:"exit"});"auto"===k?I.current=e=D.transitions.getAutoHeightDuration(t.clientHeight):e=r,t.style.transition=[D.transitions.create("opacity",{duration:e,delay:n}),D.transitions.create("transform",{duration:d?e:.666*e,delay:d?n:n||.333*e,easing:i})].join(","),t.style.opacity=0,t.style.transform=h(.75),b&&b(t)}),F=L(A);return(0,c.jsx)(T,{appear:f,in:y,nodeRef:P,onEnter:E,onEntered:B,onEntering:R,onExit:z,onExited:F,onExiting:N,addEndListener:t=>{"auto"===k&&M.start(I.current||0,t),r&&r(P.current,t)},timeout:"auto"===k?null:k,...C,children:(t,{ownerState:e,...r})=>n.cloneElement(g,{style:{opacity:0,transform:h(.75),visibility:"exited"!==t||y?void 0:"hidden",...p[t],...S,...g.props.style},ref:O,...r})})});f&&(f.muiSupportAuto=!0),e.A=f},Iy(t,e,r){"use strict";var n=r("HE"),i=r("I4"),o=r("vB"),a=r("nA"),s=r("U2"),l=r("b4"),u=r("Yb"),c=r("ja"),h=r("WN"),p=r("Lh"),d=r("P2");let f=(0,l.A)(a.Sh,{shouldForwardProp:t=>(0,s.A)(t)||"classes"===t,name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[...(0,a.WC)(t,e),!r.disableUnderline&&e.underline]}})((0,u.A)(({theme:t})=>{let e="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(e=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:t})=>t.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:t})=>!t.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${e}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${e}`}},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter((0,c.A)()).map(([e])=>({props:{color:e,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[e].main}`}}}))]}})),g=(0,l.A)(a.ck,{name:"MuiInput",slot:"Input",overridesResolver:a.Oj})({}),m=n.forwardRef(function(t,e){let r=(0,h.b)({props:t,name:"MuiInput"}),{disableUnderline:n=!1,components:s={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:m=!1,slotProps:y,slots:v={},type:_="text",...x}=r,b=(t=>{let{classes:e,disableUnderline:r}=t,n=(0,i.A)({root:["root",!r&&"underline"],input:["input"]},p.B,e);return{...e,...n}})(r),A={root:{ownerState:{disableUnderline:n}}},w=y??l?(0,o.A)(y??l,A):A,S=v.root??s.Root??f,k=v.input??s.Input??g;return(0,d.jsx)(a.Ay,{slots:{root:S,input:k},slotProps:w,fullWidth:u,inputComponent:c,multiline:m,ref:e,type:_,...x,classes:b})});m.muiName="Input",e.A=m},Lh(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A={...r("FU").A,...(0,n.A)("MuiInput",["root","underline","input"])},r.d(e,{},{B:function(t){return(0,i.Ay)("MuiInput",t)}})},nA(t,e,r){"use strict";r.d(e,{ck:()=>R,Sh:()=>L,Ay:()=>B,Oj:()=>O,WC:()=>P});var n,i=r("Z"),o=r("HE"),a=r("x6"),s=r("I4"),l=r("Ih"),u=r("bQ"),c=r("yx"),h=r("A8"),p=r("zs"),d=r("P2");function f(t){return parseInt(t,10)||0}let g={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function m(t){return function(t){for(let e in t)return!1;return!0}(t)||0===t.outerHeightStyle&&!t.overflowing}let y=o.forwardRef(function(t,e){let{onChange:r,maxRows:n,minRows:i=1,style:a,value:s,...y}=t,{current:v}=o.useRef(null!=s),_=o.useRef(null),x=(0,l.A)(e,_),b=o.useRef(null),A=o.useRef(null),w=o.useCallback(()=>{let e=_.current,r=A.current;if(!e||!r)return;let o=(0,u.A)(e).getComputedStyle(e);if("0px"===o.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=o.width,r.value=e.value||t.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");let a=o.boxSizing,s=f(o.paddingBottom)+f(o.paddingTop),l=f(o.borderBottomWidth)+f(o.borderTopWidth),c=r.scrollHeight;r.value="x";let h=r.scrollHeight,p=c;return i&&(p=Math.max(Number(i)*h,p)),n&&(p=Math.min(Number(n)*h,p)),{outerHeightStyle:(p=Math.max(p,h))+("border-box"===a?s+l:0),overflowing:1>=Math.abs(p-c)}},[n,i,t.placeholder]),S=(0,c.A)(()=>{let t=_.current,e=w();if(!t||!e||m(e))return!1;let r=e.outerHeightStyle;return null!=b.current&&b.current!==r}),k=o.useCallback(()=>{let t=_.current,e=w();if(!t||!e||m(e))return;let r=e.outerHeightStyle;b.current!==r&&(b.current=r,t.style.height=`${r}px`),t.style.overflow=e.overflowing?"hidden":""},[w]),T=o.useRef(-1);return(0,h.A)(()=>{let t,e=(0,p.A)(k),r=_?.current;if(!r)return;let n=(0,u.A)(r);return n.addEventListener("resize",e),"u">typeof ResizeObserver&&(t=new ResizeObserver(()=>{S()&&(t.unobserve(r),cancelAnimationFrame(T.current),k(),T.current=requestAnimationFrame(()=>{t.observe(r)}))})).observe(r),()=>{e.clear(),cancelAnimationFrame(T.current),n.removeEventListener("resize",e),t&&t.disconnect()}},[w,k,S]),(0,h.A)(()=>{k()}),(0,d.jsxs)(o.Fragment,{children:[(0,d.jsx)("textarea",{value:s,onChange:t=>{v||k(),r&&r(t)},ref:x,rows:i,style:a,...y}),(0,d.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:A,tabIndex:-1,style:{...g,...a,paddingTop:0,paddingBottom:0}})]})});var v=r("nP"),_=r("We"),x=r("MX"),b=r("wJ"),A=r("b4"),w=r("GS"),S=r("Yb"),k=r("WN"),T=r("CQ"),C=r("Dd"),M=r("i"),I=r("yZ"),D=r("FU");let P=(t,e)=>{let{ownerState:r}=t;return[e.root,r.formControl&&e.formControl,r.startAdornment&&e.adornedStart,r.endAdornment&&e.adornedEnd,r.error&&e.error,"small"===r.size&&e.sizeSmall,r.multiline&&e.multiline,r.color&&e[`color${(0,T.A)(r.color)}`],r.fullWidth&&e.fullWidth,r.hiddenLabel&&e.hiddenLabel]},O=(t,e)=>{let{ownerState:r}=t;return[e.input,"small"===r.size&&e.inputSizeSmall,r.multiline&&e.inputMultiline,"search"===r.type&&e.inputTypeSearch,r.startAdornment&&e.inputAdornedStart,r.endAdornment&&e.inputAdornedEnd,r.hiddenLabel&&e.inputHiddenLabel]},L=(0,A.A)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:P})((0,S.A)(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${D.A.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:e})=>t.multiline&&"small"===e,style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),R=(0,A.A)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:O})((0,S.A)(({theme:t})=>{let e="light"===t.palette.mode,r={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},n={opacity:"0 !important"},i=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${D.A.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${D.A.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:t})=>!t.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:t})=>t.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),E=(0,w.Dp)({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}});var B=o.forwardRef(function(t,e){let r=(0,k.b)({props:t,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:u,autoFocus:c,className:h,color:p,components:f={},componentsProps:g={},defaultValue:m,disabled:A,disableInjectingGlobalStyles:w,endAdornment:S,error:P,fullWidth:O=!1,id:B,inputComponent:N="input",inputProps:z={},inputRef:F,margin:$,maxRows:H,minRows:j,multiline:W=!1,name:V,onBlur:Y,onChange:X,onClick:G,onFocus:U,onKeyDown:Z,onKeyUp:q,placeholder:K,readOnly:Q,renderSuffix:J,rows:tt,size:te,slotProps:tr={},slots:tn={},startAdornment:ti,type:to="text",value:ta,...ts}=r,tl=null!=z.value?z.value:ta,{current:tu}=o.useRef(null!=tl),tc=o.useRef(),th=o.useCallback(t=>{},[]),tp=(0,C.A)(tc,F,z.ref,th),[td,tf]=o.useState(!1),tg=(0,b.A)(),tm=(0,_.A)({props:r,muiFormControl:tg,states:["color","disabled","error","hiddenLabel","size","required","filled"]});tm.focused=tg?tg.focused:td,o.useEffect(()=>{!tg&&A&&td&&(tf(!1),Y&&Y())},[tg,A,td,Y]);let ty=tg&&tg.onFilled,tv=tg&&tg.onEmpty,t_=o.useCallback(t=>{(0,I.lq)(t)?ty&&ty():tv&&tv()},[ty,tv]);(0,M.A)(()=>{tu&&t_({value:tl})},[tl,t_,tu]),o.useEffect(()=>{t_(tc.current)},[]);let tx=N,tb=z;W&&"input"===tx&&(tb=tt?{type:void 0,minRows:tt,maxRows:tt,...tb}:{type:void 0,maxRows:H,minRows:j,...tb},tx=y),o.useEffect(()=>{tg&&tg.setAdornedStart(!!ti)},[tg,ti]);let tA={...r,color:tm.color||"primary",disabled:tm.disabled,endAdornment:S,error:tm.error,focused:tm.focused,formControl:tg,fullWidth:O,hiddenLabel:tm.hiddenLabel,multiline:W,size:tm.size,startAdornment:ti,type:to},tw=(t=>{let{classes:e,color:r,disabled:n,error:i,endAdornment:o,focused:a,formControl:l,fullWidth:u,hiddenLabel:c,multiline:h,readOnly:p,size:d,startAdornment:f,type:g}=t,m={root:["root",`color${(0,T.A)(r)}`,n&&"disabled",i&&"error",u&&"fullWidth",a&&"focused",l&&"formControl",d&&"medium"!==d&&`size${(0,T.A)(d)}`,h&&"multiline",f&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",n&&"disabled","search"===g&&"inputTypeSearch",h&&"inputMultiline","small"===d&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",o&&"inputAdornedEnd",p&&"readOnly"]};return(0,s.A)(m,D.g,e)})(tA),tS=tn.root||f.Root||L,tk=tr.root||g.root||{},tT=tn.input||f.Input||R;return tb={...tb,...tr.input??g.input},(0,d.jsxs)(o.Fragment,{children:[!w&&"function"==typeof E&&(n||(n=(0,d.jsx)(E,{}))),(0,d.jsxs)(tS,{...tk,ref:e,onClick:t=>{tc.current&&t.currentTarget===t.target&&tc.current.focus(),G&&G(t)},...ts,...!(0,v.A)(tS)&&{ownerState:{...tA,...tk.ownerState}},className:(0,a.A)(tw.root,tk.className,h,Q&&"MuiInputBase-readOnly"),children:[ti,(0,d.jsx)(x.A.Provider,{value:null,children:(0,d.jsx)(tT,{"aria-invalid":tm.error,"aria-describedby":l,autoComplete:u,autoFocus:c,defaultValue:m,disabled:tm.disabled,id:B,onAnimationStart:t=>{t_("mui-auto-fill-cancel"===t.animationName?tc.current:{value:"x"})},name:V,placeholder:K,readOnly:Q,required:tm.required,rows:tt,value:tl,onKeyDown:Z,onKeyUp:q,type:to,...tb,...!(0,v.A)(tT)&&{as:tx,ownerState:{...tA,...tb.ownerState}},ref:tp,className:(0,a.A)(tw.input,tb.className,Q&&"MuiInputBase-readOnly"),onBlur:t=>{Y&&Y(t),z.onBlur&&z.onBlur(t),tg&&tg.onBlur?tg.onBlur(t):tf(!1)},onChange:(t,...e)=>{if(!tu){let e=t.target||tc.current;if(null==e)throw Error((0,i.A)(1));t_({value:e.value})}z.onChange&&z.onChange(t,...e),X&&X(t,...e)},onFocus:t=>{U&&U(t),z.onFocus&&z.onFocus(t),tg&&tg.onFocus?tg.onFocus(t):tf(!0)}})}),S,J?J({...tm,startAdornment:ti}):null]})]})})},FU(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A=(0,n.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),r.d(e,{},{g:function(t){return(0,i.Ay)("MuiInputBase",t)}})},yZ(t,e,r){"use strict";function n(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}r.d(e,{},{gr:function(t){return t.startAdornment},lq:function(t,e=!1){return t&&(n(t.value)&&""!==t.value||e&&n(t.defaultValue)&&""!==t.defaultValue)}})},Rf(t,e,r){"use strict";r.d(e,{A:()=>x});var n=r("HE"),i=r("I4"),o=r("x6"),a=r("We"),s=r("wJ"),l=r("Wx"),u=r("bY"),c=r("CQ"),h=r("U2"),p=r("b4"),d=r("Yb"),f=r("WN"),g=r("O2"),m=r("kZ");function y(t){return(0,m.Ay)("MuiInputLabel",t)}(0,g.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var v=r("P2");let _=(0,p.A)(l.A,{shouldForwardProp:t=>(0,h.A)(t)||"classes"===t,name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[{[`& .${u.A.asterisk}`]:e.asterisk},e.root,r.formControl&&e.formControl,"small"===r.size&&e.sizeSmall,r.shrink&&e.shrink,!r.disableAnimation&&e.animated,r.focused&&e.focused,e[r.variant]]}})((0,d.A)(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:e})=>"filled"===t&&e.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:e,size:r})=>"filled"===t&&e.shrink&&"small"===r,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:e})=>"outlined"===t&&e.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]})));var x=n.forwardRef(function(t,e){let r=(0,f.b)({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:l,shrink:u,variant:h,className:p,...d}=r,g=(0,s.A)(),m=u;void 0===m&&g&&(m=g.filled||g.focused||g.adornedStart);let x=(0,a.A)({props:r,muiFormControl:g,states:["size","variant","required","focused"]}),b={...r,disableAnimation:n,formControl:g,shrink:m,size:x.size,variant:x.variant,required:x.required,focused:x.focused},A=(t=>{let{classes:e,formControl:r,size:n,shrink:o,disableAnimation:a,variant:s,required:l}=t,u={root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&"normal"!==n&&`size${(0,c.A)(n)}`,s],asterisk:[l&&"asterisk"]},h=(0,i.A)(u,y,e);return{...e,...h}})(b);return(0,v.jsx)(_,{"data-shrink":m,ref:e,className:(0,o.A)(A.root,p),...d,ownerState:b,classes:A})})},Xy(t,e,r){"use strict";r.d(e,{A:()=>f});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("b4"),s=r("WN"),l=r("gg"),u=r("O2"),c=r("kZ");function h(t){return(0,c.Ay)("MuiList",t)}(0,u.A)("MuiList",["root","padding","dense","subheader"]);var p=r("P2");let d=(0,a.A)("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,!r.disablePadding&&e.padding,r.dense&&e.dense,r.subheader&&e.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]});var f=n.forwardRef(function(t,e){let r=(0,s.b)({props:t,name:"MuiList"}),{children:a,className:u,component:c="ul",dense:f=!1,disablePadding:g=!1,subheader:m,...y}=r,v=n.useMemo(()=>({dense:f}),[f]),_={...r,component:c,dense:f,disablePadding:g},x=(t=>{let{classes:e,disablePadding:r,dense:n,subheader:i}=t;return(0,o.A)({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},h,e)})(_);return(0,p.jsx)(l.A.Provider,{value:v,children:(0,p.jsxs)(d,{as:c,className:(0,i.A)(x.root,u),ref:e,ownerState:_,...y,children:[m,a]})})})},gg(t,e,r){"use strict";e.A=r("HE").createContext({})},by(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A=(0,n.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),r.d(e,{},{b:function(t){return(0,i.Ay)("MuiListItemText",t)}})},XE(t,e,r){"use strict";r.d(e,{A:()=>L});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("Cn"),s=r("tT"),l=r("zI"),u=r("Xy"),c=r("aS").A,h=r("Dd"),p=r("i"),d=r("Rd"),f=r("P2");function g(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function m(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function y(t,e){if(void 0===e)return!0;let r=t.innerText;return void 0===r&&(r=t.textContent),0!==(r=r.trim().toLowerCase()).length&&(e.repeating?r[0]===e.keys[0]:r.startsWith(e.keys.join("")))}function v(t,e,r,n,i,o){let a=!1,s=i(t,e,!!e&&r);for(;s;){if(s===t.firstChild){if(a)return!1;a=!0}let e=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&y(s,o)&&!e)return s.focus(),!0;s=i(t,s,r)}return!1}let _=n.forwardRef(function(t,e){let{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:_=!1,disableListWrap:x=!1,onKeyDown:b,variant:A="selectedMenu",...w}=t,S=n.useRef(null),k=n.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,p.A)(()=>{i&&S.current.focus()},[i]),n.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(t,{direction:e})=>{let r=!S.current.style.width;if(t.clientHeight<S.current.clientHeight&&r){let r=`${c((0,d.A)(t))}px`;S.current.style["rtl"===e?"paddingLeft":"paddingRight"]=r,S.current.style.width=`calc(100% + ${r})`}return S.current}}),[]);let T=(0,h.A)(S,e),C=-1;n.Children.forEach(a,(t,e)=>{if(!n.isValidElement(t)){C===e&&(C+=1)>=a.length&&(C=-1);return}t.props.disabled||("selectedMenu"===A&&t.props.selected?C=e:-1===C&&(C=e)),C===e&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&(C+=1)>=a.length&&(C=-1)});let M=n.Children.map(a,(t,e)=>{if(e===C){let e={};return o&&(e.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===A&&(e.tabIndex=0),n.cloneElement(t,e)}return t});return(0,f.jsx)(u.A,{role:"menu",ref:T,className:s,onKeyDown:t=>{let e=S.current,r=t.key;if(t.ctrlKey||t.metaKey||t.altKey){b&&b(t);return}let n=(0,l.A)(e).activeElement;if("ArrowDown"===r)t.preventDefault(),v(e,n,x,_,g);else if("ArrowUp"===r)t.preventDefault(),v(e,n,x,_,m);else if("Home"===r)t.preventDefault(),v(e,null,x,_,g);else if("End"===r)t.preventDefault(),v(e,null,x,_,m);else if(1===r.length){let i=k.current,o=r.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);let s=n&&!i.repeating&&y(n,i);i.previousKeyMatched&&(s||v(e,n,!1,_,g,i))?t.preventDefault():i.previousKeyMatched=!1}b&&b(t)},tabIndex:i?0:-1,...w,children:M})});var x=r("YC"),b=r("U2"),A=r("b4"),w=r("WN"),S=r("O2"),k=r("kZ");function T(t){return(0,k.Ay)("MuiMenu",t)}(0,S.A)("MuiMenu",["root","paper","list"]);var C=r("Rq");let M={vertical:"top",horizontal:"right"},I={vertical:"top",horizontal:"left"},D=(0,A.A)(x.Ay,{shouldForwardProp:t=>(0,b.A)(t)||"classes"===t,name:"MuiMenu",slot:"Root",overridesResolver:(t,e)=>e.root})({}),P=(0,A.A)(x.IJ,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,e)=>e.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),O=(0,A.A)(_,{name:"MuiMenu",slot:"List",overridesResolver:(t,e)=>e.list})({outline:0});var L=n.forwardRef(function(t,e){let r=(0,w.b)({props:t,name:"MuiMenu"}),{autoFocus:l=!0,children:u,className:c,disableAutoFocusItem:h=!1,MenuListProps:p={},onClose:d,open:g,PaperProps:m={},PopoverClasses:y,transitionDuration:v="auto",TransitionProps:{onEntering:_,...x}={},variant:b="selectedMenu",slots:A={},slotProps:S={},...k}=r,L=(0,a.I)(),R={...r,autoFocus:l,disableAutoFocusItem:h,MenuListProps:p,onEntering:_,PaperProps:m,transitionDuration:v,TransitionProps:x,variant:b},E=(t=>{let{classes:e}=t;return(0,o.A)({root:["root"],paper:["paper"],list:["list"]},T,e)})(R),B=l&&!h&&g,N=n.useRef(null),z=-1;n.Children.map(u,(t,e)=>{n.isValidElement(t)&&(t.props.disabled||("selectedMenu"===b&&t.props.selected?z=e:-1===z&&(z=e)))});let F={slots:A,slotProps:{list:p,transition:x,paper:m,...S}},$=(0,s.A)({elementType:A.root,externalSlotProps:S.root,ownerState:R,className:[E.root,c]}),[H,j]=(0,C.A)("paper",{className:E.paper,elementType:P,externalForwardedProps:F,shouldForwardComponentProp:!0,ownerState:R}),[W,V]=(0,C.A)("list",{className:(0,i.A)(E.list,p.className),elementType:O,shouldForwardComponentProp:!0,externalForwardedProps:F,getSlotProps:t=>({...t,onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown")),t.onKeyDown?.(e)}}),ownerState:R}),Y="function"==typeof F.slotProps.transition?F.slotProps.transition(R):F.slotProps.transition;return(0,f.jsx)(D,{onClose:d,anchorOrigin:{vertical:"bottom",horizontal:L?"right":"left"},transformOrigin:L?M:I,slots:{root:A.root,paper:H,backdrop:A.backdrop,...A.transition&&{transition:A.transition}},slotProps:{root:$,paper:j,backdrop:"function"==typeof S.backdrop?S.backdrop(R):S.backdrop,transition:{...Y,onEntering:(...t)=>{((t,e)=>{N.current&&N.current.adjustStyleForScrollbar(t,{direction:L?"rtl":"ltr"}),_&&_(t,e)})(...t),Y?.onEntering?.(...t)}}},open:g,ref:e,transitionDuration:v,ownerState:R,...k,classes:y,children:(0,f.jsx)(W,{actions:N,autoFocus:l&&(-1===z||h),autoFocusItem:B,variant:b,...V,children:u})})})},FA(t,e,r){"use strict";r.d(e,{A:()=>S});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("mI"),s=r("U2"),l=r("b4"),u=r("Yb"),c=r("WN"),h=r("gg"),p=r("CW"),d=r("i"),f=r("Dd"),g=r("x4"),m=r("O2");let y=(0,m.A)("MuiListItemIcon",["root","alignItemsFlexStart"]);var v=r("by"),_=r("kZ");function x(t){return(0,_.Ay)("MuiMenuItem",t)}let b=(0,m.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var A=r("P2");let w=(0,l.A)(p.A,{shouldForwardProp:t=>(0,s.A)(t)||"classes"===t,name:"MuiMenuItem",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.dense&&e.dense,r.divider&&e.divider,!r.disableGutters&&e.gutters]}})((0,u.A)(({theme:t})=>({...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${b.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${b.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${b.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${b.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${b.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${g.A.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${g.A.inset}`]:{marginLeft:52},[`& .${v.A.root}`]:{marginTop:0,marginBottom:0},[`& .${v.A.inset}`]:{paddingLeft:36},[`& .${y.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${y.root} svg`]:{fontSize:"1.25rem"}}}]})));var S=n.forwardRef(function(t,e){let r,a=(0,c.b)({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:l="li",dense:u=!1,divider:p=!1,disableGutters:g=!1,focusVisibleClassName:m,role:y="menuitem",tabIndex:v,className:_,...b}=a,S=n.useContext(h.A),k=n.useMemo(()=>({dense:u||S.dense||!1,disableGutters:g}),[S.dense,u,g]),T=n.useRef(null);(0,d.A)(()=>{s&&T.current&&T.current.focus()},[s]);let C={...a,dense:k.dense,divider:p,disableGutters:g},M=(t=>{let{disabled:e,dense:r,divider:n,disableGutters:i,selected:a,classes:s}=t,l=(0,o.A)({root:["root",r&&"dense",e&&"disabled",!i&&"gutters",n&&"divider",a&&"selected"]},x,s);return{...s,...l}})(a),I=(0,f.A)(T,e);return a.disabled||(r=void 0!==v?v:-1),(0,A.jsx)(h.A.Provider,{value:k,children:(0,A.jsx)(w,{ref:I,role:y,tabIndex:r,component:l,focusVisibleClassName:(0,i.A)(M.focusVisible,m),className:(0,i.A)(M.root,_),...b,ownerState:C,classes:M})})})},YCF(t,e,r){"use strict";r.d(e,{A:()=>B});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("Ih"),s=r("TA"),l=r("x3"),u=r("P2");function c(t){let e=[],r=[];return Array.from(t.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((t,n)=>{let i,o=Number.isNaN(i=parseInt(t.getAttribute("tabindex")||"",10))?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:i;-1===o||t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type||!t.name)return!1;let e=e=>t.ownerDocument.querySelector(`input[type="radio"]${e}`),r=e(`[name="${t.name}"]:checked`);return r||(r=e(`[name="${t.name}"]`)),r!==t}(t)||(0===o?e.push(t):r.push({documentOrder:n,tabIndex:o,node:t}))}),r.sort((t,e)=>t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex).map(t=>t.node).concat(e)}function h(){return!0}var p=function(t){let{children:e,disableAutoFocus:r=!1,disableEnforceFocus:i=!1,disableRestoreFocus:o=!1,getTabbable:p=c,isEnabled:d=h,open:f}=t,g=n.useRef(!1),m=n.useRef(null),y=n.useRef(null),v=n.useRef(null),_=n.useRef(null),x=n.useRef(!1),b=n.useRef(null),A=(0,a.A)((0,s.A)(e),b),w=n.useRef(null);n.useEffect(()=>{f&&b.current&&(x.current=!r)},[r,f]),n.useEffect(()=>{if(!f||!b.current)return;let t=(0,l.A)(b.current);return!b.current.contains(t.activeElement)&&(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),x.current&&b.current.focus()),()=>{o||(v.current&&v.current.focus&&(g.current=!0,v.current.focus()),v.current=null)}},[f]),n.useEffect(()=>{if(!f||!b.current)return;let t=(0,l.A)(b.current),e=e=>{w.current=e,!i&&d()&&"Tab"===e.key&&t.activeElement===b.current&&e.shiftKey&&(g.current=!0,y.current&&y.current.focus())},r=()=>{let e=b.current;if(null===e)return;if(!t.hasFocus()||!d()||g.current){g.current=!1;return}if(e.contains(t.activeElement)||i&&t.activeElement!==m.current&&t.activeElement!==y.current)return;if(t.activeElement!==_.current)_.current=null;else if(null!==_.current)return;if(!x.current)return;let r=[];if((t.activeElement===m.current||t.activeElement===y.current)&&(r=p(b.current)),r.length>0){let t=!!(w.current?.shiftKey&&w.current?.key==="Tab"),e=r[0],n=r[r.length-1];"string"!=typeof e&&"string"!=typeof n&&(t?n.focus():e.focus())}else e.focus()};t.addEventListener("focusin",r),t.addEventListener("keydown",e,!0);let n=setInterval(()=>{t.activeElement&&"BODY"===t.activeElement.tagName&&r()},50);return()=>{clearInterval(n),t.removeEventListener("focusin",r),t.removeEventListener("keydown",e,!0)}},[r,i,o,d,f,p]);let S=t=>{null===v.current&&(v.current=t.relatedTarget),x.current=!0};return(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:m,"data-testid":"sentinelStart"}),n.cloneElement(e,{ref:A,onFocus:t=>{null===v.current&&(v.current=t.relatedTarget),x.current=!0,_.current=t.target;let r=e.props.onFocus;r&&r(t)}}),(0,u.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:y,"data-testid":"sentinelEnd"})]})},d=r("QZ"),f=r("b4"),g=r("Yb"),m=r("WN"),y=r("yf"),v=r("yx"),_=r("PT"),x=r("kE"),b=r("bQ"),A=r("aS");function w(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function S(t){return parseInt((0,b.A)(t).getComputedStyle(t).paddingRight,10)||0}function k(t,e,r,n,i){let o=[e,r,...n];[].forEach.call(t.children,t=>{let e,r,n=!o.includes(t),a=(e=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),r="INPUT"===t.tagName&&"hidden"===t.getAttribute("type"),!e&&!r);n&&a&&w(t,i)})}function T(t,e){let r=-1;return t.some((t,n)=>!!e(t)&&(r=n,!0)),r}let C=()=>{},M=new class{constructor(){this.modals=[],this.containers=[]}add(t,e){let r,n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&w(t.modalRef,!1);let i=(r=[],[].forEach.call(e.children,t=>{"true"===t.getAttribute("aria-hidden")&&r.push(t)}),r);k(e,t.mount,t.modalRef,i,!0);let o=T(this.containers,t=>t.container===e);return -1!==o?this.containers[o].modals.push(t):this.containers.push({modals:[t],container:e,restore:null,hiddenSiblings:i}),n}mount(t,e){let r=T(this.containers,e=>e.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=function(t,e){let r=[],n=t.container;if(!e.disableScrollLock){let t,e;if((e=(0,l.A)(n)).body===n?(0,b.A)(n).innerWidth>e.documentElement.clientWidth:n.scrollHeight>n.clientHeight){let t=(0,A.A)((0,b.A)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${S(n)+t}px`;let e=(0,l.A)(n).querySelectorAll(".mui-fixed");[].forEach.call(e,e=>{r.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight=`${S(e)+t}px`})}if(n.parentNode instanceof DocumentFragment)t=(0,l.A)(n).body;else{let e=n.parentElement,r=(0,b.A)(n);t=e?.nodeName==="HTML"&&"scroll"===r.getComputedStyle(e).overflowY?e:n}r.push({value:t.style.overflow,property:"overflow",el:t},{value:t.style.overflowX,property:"overflow-x",el:t},{value:t.style.overflowY,property:"overflow-y",el:t}),t.style.overflow="hidden"}return()=>{r.forEach(({value:t,el:e,property:r})=>{t?e.style.setProperty(r,t):e.style.removeProperty(r)})}}(n,e))}remove(t,e=!0){let r=this.modals.indexOf(t);if(-1===r)return r;let n=T(this.containers,e=>e.modals.includes(t)),i=this.containers[n];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),0===i.modals.length)i.restore&&i.restore(),t.modalRef&&w(t.modalRef,e),k(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(n,1);else{let t=i.modals[i.modals.length-1];t.modalRef&&w(t.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var I=function(t){let{container:e,disableEscapeKeyDown:r=!1,disableScrollLock:i=!1,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:u,children:c,onClose:h,open:p,rootRef:d}=t,f=n.useRef({}),g=n.useRef(null),m=n.useRef(null),y=(0,a.A)(m,d),[b,A]=n.useState(!p),S=!!c&&c.props.hasOwnProperty("in"),k=!0;("false"===t["aria-hidden"]||!1===t["aria-hidden"])&&(k=!1);let T=()=>(f.current.modalRef=m.current,f.current.mount=g.current,f.current),I=()=>{M.mount(T(),{disableScrollLock:i}),m.current&&(m.current.scrollTop=0)},D=(0,v.A)(()=>{let t=("function"==typeof e?e():e)||(0,l.A)(g.current).body;M.add(T(),t),m.current&&I()}),P=()=>M.isTopModal(T()),O=(0,v.A)(t=>{g.current=t,t&&(p&&P()?I():m.current&&w(m.current,k))}),L=n.useCallback(()=>{M.remove(T(),k)},[k]);return n.useEffect(()=>()=>{L()},[L]),n.useEffect(()=>{p?D():S&&o||L()},[p,L,S,o,D]),{getRootProps:(e={})=>{let n=(0,x.A)(t);delete n.onTransitionEnter,delete n.onTransitionExited;let i={...n,...e};return{role:"presentation",...i,onKeyDown:t=>{i.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&P()&&!r&&(t.stopPropagation(),h&&h(t,"escapeKeyDown"))},ref:y}},getBackdropProps:(t={})=>({"aria-hidden":!0,...t,onClick:e=>{t.onClick?.(e),e.target===e.currentTarget&&h&&h(e,"backdropClick")},open:p}),getTransitionProps:()=>({onEnter:(0,_.A)(()=>{A(!1),s&&s()},c?.props.onEnter??C),onExited:(0,_.A)(()=>{A(!0),u&&u(),o&&L()},c?.props.onExited??C)}),rootRef:y,portalRef:O,isTopModal:P,exited:b,hasTransition:S}},D=r("O2"),P=r("kZ");function O(t){return(0,P.Ay)("MuiModal",t)}(0,D.A)("MuiModal",["root","hidden","backdrop"]);var L=r("Rq");let R=(0,f.A)("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,!r.open&&r.exited&&e.hidden]}})((0,g.A)(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),E=(0,f.A)(y.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1});var B=n.forwardRef(function(t,e){let r=(0,m.b)({name:"MuiModal",props:t}),{BackdropComponent:a=E,BackdropProps:s,classes:l,className:c,closeAfterTransition:h=!1,children:f,container:g,component:y,components:v={},componentsProps:_={},disableAutoFocus:x=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:A=!1,disablePortal:w=!1,disableRestoreFocus:S=!1,disableScrollLock:k=!1,hideBackdrop:T=!1,keepMounted:C=!1,onBackdropClick:M,onClose:D,onTransitionEnter:P,onTransitionExited:B,open:N,slotProps:z={},slots:F={},theme:$,...H}=r,j={...r,closeAfterTransition:h,disableAutoFocus:x,disableEnforceFocus:b,disableEscapeKeyDown:A,disablePortal:w,disableRestoreFocus:S,disableScrollLock:k,hideBackdrop:T,keepMounted:C},{getRootProps:W,getBackdropProps:V,getTransitionProps:Y,portalRef:X,isTopModal:G,exited:U,hasTransition:Z}=I({...j,rootRef:e}),q={...j,exited:U},K=(t=>{let{open:e,exited:r,classes:n}=t;return(0,o.A)({root:["root",!e&&r&&"hidden"],backdrop:["backdrop"]},O,n)})(q),Q={};if(void 0===f.props.tabIndex&&(Q.tabIndex="-1"),Z){let{onEnter:t,onExited:e}=Y();Q.onEnter=t,Q.onExited=e}let J={slots:{root:v.Root,backdrop:v.Backdrop,...F},slotProps:{..._,...z}},[tt,te]=(0,L.A)("root",{ref:e,elementType:R,externalForwardedProps:{...J,...H,component:y},getSlotProps:W,ownerState:q,className:(0,i.A)(c,K?.root,!q.open&&q.exited&&K?.hidden)}),[tr,tn]=(0,L.A)("backdrop",{ref:s?.ref,elementType:a,externalForwardedProps:J,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:t=>V({...t,onClick:e=>{M&&M(e),t?.onClick&&t.onClick(e)}}),className:(0,i.A)(s?.className,K?.backdrop),ownerState:q});return C||N||Z&&!U?(0,u.jsx)(d.A,{ref:X,container:g,disablePortal:w,children:(0,u.jsxs)(tt,{...te,children:[!T&&a?(0,u.jsx)(tr,{...tn}):null,(0,u.jsx)(p,{disableEnforceFocus:b,disableAutoFocus:x,disableRestoreFocus:S,isEnabled:G,open:N,children:n.cloneElement(f,Q)})]})}):null})},LW(t,e,r){"use strict";r.d(e,{A:()=>w});var n,i=r("HE"),o=r("I4"),a=r("U2"),s=r("b4"),l=r("Yb"),u=r("P2");let c=(0,s.A)("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:a.A})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),h=(0,s.A)("legend",{name:"MuiNotchedOutlined",shouldForwardProp:a.A})((0,l.A)(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));var p=r("wJ"),d=r("We"),f=r("ja"),g=r("WN"),m=r("RS"),y=r("nA"),v=r("Rq");let _=(0,s.A)(y.Sh,{shouldForwardProp:t=>(0,a.A)(t)||"classes"===t,name:"MuiOutlinedInput",slot:"Root",overridesResolver:y.WC})((0,l.A)(({theme:t})=>{let e="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${m.A.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${m.A.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}},[`&.${m.A.focused} .${m.A.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter((0,f.A)()).map(([e])=>({props:{color:e},style:{[`&.${m.A.focused} .${m.A.notchedOutline}`]:{borderColor:(t.vars||t).palette[e].main}}})),{props:{},style:{[`&.${m.A.error} .${m.A.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${m.A.disabled} .${m.A.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:14}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:14}},{props:({ownerState:t})=>t.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:t,size:e})=>t.multiline&&"small"===e,style:{padding:"8.5px 14px"}}]}})),x=(0,s.A)(function(t){let{children:e,classes:r,className:i,label:o,notched:a,...s}=t,l=null!=o&&""!==o,p={...t,notched:a,withLabel:l};return(0,u.jsx)(c,{"aria-hidden":!0,className:i,ownerState:p,...s,children:(0,u.jsx)(h,{ownerState:p,children:l?(0,u.jsx)("span",{children:o}):n||(n=(0,u.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})((0,l.A)(({theme:t})=>{let e="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}})),b=(0,s.A)(y.ck,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:y.Oj})((0,l.A)(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),A=i.forwardRef(function(t,e){let r=(0,g.b)({props:t,name:"MuiOutlinedInput"}),{components:n={},fullWidth:a=!1,inputComponent:s="input",label:l,multiline:c=!1,notched:h,slots:f={},slotProps:A={},type:w="text",...S}=r,k=(t=>{let{classes:e}=t,r=(0,o.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},m.v,e);return{...e,...r}})(r),T=(0,p.A)(),C=(0,d.A)({props:r,muiFormControl:T,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),M={...r,color:C.color||"primary",disabled:C.disabled,error:C.error,focused:C.focused,formControl:T,fullWidth:a,hiddenLabel:C.hiddenLabel,multiline:c,size:C.size,type:w},I=f.root??n.Root??_,D=f.input??n.Input??b,[P,O]=(0,v.A)("notchedOutline",{elementType:x,className:k.notchedOutline,shouldForwardComponentProp:!0,ownerState:M,externalForwardedProps:{slots:f,slotProps:A},additionalProps:{label:null!=l&&""!==l&&C.required?(0,u.jsxs)(i.Fragment,{children:[l," ","*"]}):l}});return(0,u.jsx)(y.Ay,{slots:{root:I,input:D},slotProps:A,renderSuffix:t=>(0,u.jsx)(P,{...O,notched:void 0!==h?h:!!(t.startAdornment||t.filled||t.focused)}),fullWidth:a,inputComponent:s,multiline:c,ref:e,type:w,...S,classes:{...k,notchedOutline:null}})});A.muiName="Input";var w=A},RS(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A={...r("FU").A,...(0,n.A)("MuiOutlinedInput",["root","notchedOutline","input"])},r.d(e,{},{v:function(t){return(0,i.Ay)("MuiOutlinedInput",t)}})},ai(t,e,r){"use strict";r.d(e,{A:()=>y});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("mI"),s=r("b4"),l=r("Jq"),u=r("Yb"),c=r("WN"),h=r("D8"),p=r("O2"),d=r("kZ");function f(t){return(0,d.Ay)("MuiPaper",t)}(0,p.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var g=r("P2");let m=(0,s.A)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,e[r.variant],!r.square&&e.rounded,"elevation"===r.variant&&e[`elevation${r.elevation}`]]}})((0,u.A)(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]})));var y=n.forwardRef(function(t,e){let r=(0,c.b)({props:t,name:"MuiPaper"}),n=(0,l.A)(),{className:s,component:u="div",elevation:p=1,square:d=!1,variant:y="elevation",...v}=r,_={...r,component:u,elevation:p,square:d,variant:y},x=(t=>{let{square:e,elevation:r,variant:n,classes:i}=t,a={root:["root",n,!e&&"rounded","elevation"===n&&`elevation${r}`]};return(0,o.A)(a,f,i)})(_);return(0,g.jsx)(m,{as:u,ownerState:_,className:(0,i.A)(x.root,s),ref:e,...v,style:{..."elevation"===y&&{"--Paper-shadow":(n.vars||n).shadows[p],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[p]},...!n.vars&&"dark"===n.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,a.X4)("#fff",(0,h.A)(p))}, ${(0,a.X4)("#fff",(0,h.A)(p))})`}},...v.style}})})},YC(t,e,r){"use strict";r.d(e,{IJ:()=>T,Ay:()=>C});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("nP"),s=r("b4"),l=r("WN"),u=r("cH"),c=r("zI"),h=r("Rd"),p=r("MU"),d=r("YCF"),f=r("ai"),g=r("O2"),m=r("kZ");function y(t){return(0,m.Ay)("MuiPopover",t)}(0,g.A)("MuiPopover",["root","paper"]);var v=r("Rq"),_=r("TB"),x=r("P2");function b(t,e){let r=0;return"number"==typeof e?r=e:"center"===e?r=t.height/2:"bottom"===e&&(r=t.height),r}function A(t,e){let r=0;return"number"==typeof e?r=e:"center"===e?r=t.width/2:"right"===e&&(r=t.width),r}function w(t){return[t.horizontal,t.vertical].map(t=>"number"==typeof t?`${t}px`:t).join(" ")}function S(t){return"function"==typeof t?t():t}let k=(0,s.A)(d.A,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),T=(0,s.A)(f.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0});var C=n.forwardRef(function(t,e){let r=(0,l.b)({props:t,name:"MuiPopover"}),{action:s,anchorEl:d,anchorOrigin:f={vertical:"top",horizontal:"left"},anchorPosition:g,anchorReference:m="anchorEl",children:C,className:M,container:I,elevation:D=8,marginThreshold:P=16,open:O,PaperProps:L={},slots:R={},slotProps:E={},transformOrigin:B={vertical:"top",horizontal:"left"},TransitionComponent:N,transitionDuration:z="auto",TransitionProps:F={},disableScrollLock:$=!1,...H}=r,j=n.useRef(),W={...r,anchorOrigin:f,anchorReference:m,elevation:D,marginThreshold:P,transformOrigin:B,TransitionComponent:N,transitionDuration:z,TransitionProps:F},V=(t=>{let{classes:e}=t;return(0,o.A)({root:["root"],paper:["paper"]},y,e)})(W),Y=n.useCallback(()=>{if("anchorPosition"===m)return g;let t=S(d),e=(t&&1===t.nodeType?t:(0,c.A)(j.current).body).getBoundingClientRect();return{top:e.top+b(e,f.vertical),left:e.left+A(e,f.horizontal)}},[d,f.horizontal,f.vertical,g,m]),X=n.useCallback(t=>({vertical:b(t,B.vertical),horizontal:A(t,B.horizontal)}),[B.horizontal,B.vertical]),G=n.useCallback(t=>{let e={width:t.offsetWidth,height:t.offsetHeight},r=X(e);if("none"===m)return{top:null,left:null,transformOrigin:w(r)};let n=Y(),i=n.top-r.vertical,o=n.left-r.horizontal,a=i+e.height,s=o+e.width,l=(0,h.A)(S(d)),u=l.innerHeight-P,c=l.innerWidth-P;if(null!==P&&i<P){let t=i-P;i-=t,r.vertical+=t}else if(null!==P&&a>u){let t=a-u;i-=t,r.vertical+=t}if(null!==P&&o<P){let t=o-P;o-=t,r.horizontal+=t}else if(s>c){let t=s-c;o-=t,r.horizontal+=t}return{top:`${Math.round(i)}px`,left:`${Math.round(o)}px`,transformOrigin:w(r)}},[d,m,Y,X,P]),[U,Z]=n.useState(O),q=n.useCallback(()=>{let t=j.current;if(!t)return;let e=G(t);null!==e.top&&t.style.setProperty("top",e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin,Z(!0)},[G]);n.useEffect(()=>($&&window.addEventListener("scroll",q),()=>window.removeEventListener("scroll",q)),[d,$,q]),n.useEffect(()=>{O&&q()}),n.useImperativeHandle(s,()=>O?{updatePosition:()=>{q()}}:null,[O,q]),n.useEffect(()=>{if(!O)return;let t=(0,u.A)(()=>{q()}),e=(0,h.A)(S(d));return e.addEventListener("resize",t),()=>{t.clear(),e.removeEventListener("resize",t)}},[d,O,q]);let K=z,Q={slots:{transition:N,...R},slotProps:{transition:F,paper:L,...E}},[J,tt]=(0,v.A)("transition",{elementType:p.A,externalForwardedProps:Q,ownerState:W,getSlotProps:t=>({...t,onEntering:(e,r)=>{t.onEntering?.(e,r),q()},onExited:e=>{t.onExited?.(e),Z(!1)}}),additionalProps:{appear:!0,in:O}});"auto"!==z||J.muiSupportAuto||(K=void 0);let te=I||(d?(0,c.A)(S(d)).body:void 0),[tr,{slots:tn,slotProps:ti,...to}]=(0,v.A)("root",{ref:e,elementType:k,externalForwardedProps:{...Q,...H},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:R.backdrop},slotProps:{backdrop:(0,_.A)("function"==typeof E.backdrop?E.backdrop(W):E.backdrop,{invisible:!0})},container:te,open:O},ownerState:W,className:(0,i.A)(V.root,M)}),[ta,ts]=(0,v.A)("paper",{ref:j,className:V.paper,elementType:T,externalForwardedProps:Q,shouldForwardComponentProp:!0,additionalProps:{elevation:D,style:U?void 0:{opacity:0}},ownerState:W});return(0,x.jsx)(tr,{...to,...!(0,a.A)(tr)&&{slots:tn,slotProps:ti,disableScrollLock:$},children:(0,x.jsx)(J,{...tt,timeout:K,children:(0,x.jsx)(ta,{...ts,children:C})})})})},QZ(t,e,r){"use strict";var n=r("HE"),i=r("A"),o=r("Ih"),a=r("TA"),s=r("A8"),l=r("DA");e.A=n.forwardRef(function(t,e){let{children:r,container:u,disablePortal:c=!1}=t,[h,p]=n.useState(null),d=(0,o.A)(n.isValidElement(r)?(0,a.A)(r):null,e);return((0,s.A)(()=>{c||p(("function"==typeof u?u():u)||document.body)},[u,c]),(0,s.A)(()=>{if(h&&!c)return(0,l.A)(e,h),()=>{(0,l.A)(e,null)}},[e,h,c]),c)?n.isValidElement(r)?n.cloneElement(r,{ref:d}):r:h?i.createPortal(r,h):h})},sG(t,e,r){"use strict";r.d(e,{A:()=>Z});var n,i=r("HE"),o=r("x6"),a=r("vB"),s=r("I4"),l=r("TA"),u=r("Z"),c=r("uF"),h=r("zI"),p=r("CQ"),d=r("XE"),f=r("O2"),g=r("kZ");function m(t){return(0,g.Ay)("MuiNativeSelect",t)}let y=(0,f.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var v=r("b4"),_=r("U2"),x=r("P2");let b=(0,v.A)("select",{name:"MuiNativeSelect"})(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${y.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:t})=>"filled"!==t.variant&&"outlined"!==t.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),A=(0,v.A)(b,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:_.A,overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.select,e[r.variant],r.error&&e.error,{[`&.${y.multiple}`]:e.multiple}]}})({}),w=(0,v.A)("svg",{name:"MuiNativeSelect"})(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${y.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),S=(0,v.A)(w,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${(0,p.A)(r.variant)}`],r.open&&e.iconOpen]}})({}),k=i.forwardRef(function(t,e){let{className:r,disabled:n,error:a,IconComponent:l,inputRef:u,variant:c="standard",...h}=t,d={...t,disabled:n,variant:c,error:a},f=(t=>{let{classes:e,variant:r,disabled:n,multiple:i,open:o,error:a}=t,l={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${(0,p.A)(r)}`,o&&"iconOpen",n&&"disabled"]};return(0,s.A)(l,m,e)})(d);return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(A,{ownerState:d,className:(0,o.A)(f.select,r),disabled:n,ref:u||e,...h}),t.multiple?null:(0,x.jsx)(S,{as:l,ownerState:d,className:f.icon})]})});var T=r("yZ"),C=r("pG"),M=r("Dd"),I=r("o0");function D(t){return(0,g.Ay)("MuiSelect",t)}let P=(0,f.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),O=(0,v.A)(b,{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[{[`&.${P.select}`]:e.select},{[`&.${P.select}`]:e[r.variant]},{[`&.${P.error}`]:e.error},{[`&.${P.multiple}`]:e.multiple}]}})({[`&.${P.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),L=(0,v.A)(w,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${(0,p.A)(r.variant)}`],r.open&&e.iconOpen]}})({}),R=(0,v.A)("input",{shouldForwardProp:t=>(0,C.A)(t)&&"classes"!==t,name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,e)=>e.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function E(t,e){return"object"==typeof e&&null!==e?t===e:String(t)===String(e)}let B=i.forwardRef(function(t,e){var r;let a,l,{"aria-describedby":f,"aria-label":g,autoFocus:m,autoWidth:y,children:v,className:_,defaultOpen:b,defaultValue:A,disabled:w,displayEmpty:S,error:k=!1,IconComponent:C,inputRef:P,labelId:B,MenuProps:N={},multiple:z,name:F,onBlur:$,onChange:H,onClose:j,onFocus:W,onOpen:V,open:Y,readOnly:X,renderValue:G,required:U,SelectDisplayProps:Z={},tabIndex:q,type:K,value:Q,variant:J="standard",...tt}=t,[te,tr]=(0,I.A)({controlled:Q,default:A,name:"Select"}),[tn,ti]=(0,I.A)({controlled:Y,default:b,name:"Select"}),to=i.useRef(null),ta=i.useRef(null),[ts,tl]=i.useState(null),{current:tu}=i.useRef(null!=Y),[tc,th]=i.useState(),tp=(0,M.A)(e,P),td=i.useCallback(t=>{ta.current=t,t&&tl(t)},[]),tf=ts?.parentNode;i.useImperativeHandle(tp,()=>({focus:()=>{ta.current.focus()},node:to.current,value:te}),[te]),i.useEffect(()=>{b&&tn&&ts&&!tu&&(th(y?null:tf.clientWidth),ta.current.focus())},[ts,y]),i.useEffect(()=>{m&&ta.current.focus()},[m]),i.useEffect(()=>{if(!B)return;let t=(0,h.A)(ta.current).getElementById(B);if(t){let e=()=>{getSelection().isCollapsed&&ta.current.focus()};return t.addEventListener("click",e),()=>{t.removeEventListener("click",e)}}},[B]);let tg=(t,e)=>{t?V&&V(e):j&&j(e),tu||(th(y?null:tf.clientWidth),ti(t))},tm=i.Children.toArray(v),ty=null!==ts&&tn;delete tt["aria-invalid"];let tv=[],t_=!1;((0,T.lq)({value:te})||S)&&(G?a=G(te):t_=!0);let tx=tm.map(t=>{let e;if(!i.isValidElement(t))return null;if(z){if(!Array.isArray(te))throw Error((0,u.A)(2));(e=te.some(e=>E(e,t.props.value)))&&t_&&tv.push(t.props.children)}else(e=E(te,t.props.value))&&t_&&(l=t.props.children);return i.cloneElement(t,{"aria-selected":e?"true":"false",onClick:e=>{let r;if(e.currentTarget.hasAttribute("tabindex")){if(z){r=Array.isArray(te)?te.slice():[];let e=te.indexOf(t.props.value);-1===e?r.push(t.props.value):r.splice(e,1)}else r=t.props.value;if(t.props.onClick&&t.props.onClick(e),te!==r&&(tr(r),H)){let n=e.nativeEvent||e,i=new n.constructor(n.type,n);Object.defineProperty(i,"target",{writable:!0,value:{value:r,name:F}}),H(i,t)}z||tg(!1,e)}},onKeyUp:e=>{" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})});t_&&(a=z?0===tv.length?null:tv.reduce((t,e,r)=>(t.push(e),r<tv.length-1&&t.push(", "),t),[]):l);let tb=tc;!y&&tu&&ts&&(tb=tf.clientWidth);let tA=Z.id||(F?`mui-component-select-${F}`:void 0),tw={...t,variant:J,value:te,open:ty,error:k},tS=(t=>{let{classes:e,variant:r,disabled:n,multiple:i,open:o,error:a}=t,l={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${(0,p.A)(r)}`,o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return(0,s.A)(l,D,e)})(tw),tk={...N.PaperProps,...N.slotProps?.paper},tT=(0,c.A)();return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(O,{as:"div",ref:td,tabIndex:void 0!==q?q:w?null:0,role:"combobox","aria-controls":ty?tT:void 0,"aria-disabled":w?"true":void 0,"aria-expanded":ty?"true":"false","aria-haspopup":"listbox","aria-label":g,"aria-labelledby":[B,tA].filter(Boolean).join(" ")||void 0,"aria-describedby":f,"aria-required":U?"true":void 0,"aria-invalid":k?"true":void 0,onKeyDown:t=>{!X&&[" ","ArrowUp","ArrowDown","Enter"].includes(t.key)&&(t.preventDefault(),tg(!0,t))},onMouseDown:w||X?null:t=>{0===t.button&&(t.preventDefault(),ta.current.focus(),tg(!0,t))},onBlur:t=>{!ty&&$&&(Object.defineProperty(t,"target",{writable:!0,value:{value:te,name:F}}),$(t))},onFocus:W,...Z,ownerState:tw,className:(0,o.A)(Z.className,tS.select,_),id:tA,children:null!=(r=a)&&("string"!=typeof r||r.trim())?a:n||(n=(0,x.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""}))}),(0,x.jsx)(R,{"aria-invalid":k,value:Array.isArray(te)?te.join(","):te,name:F,ref:to,"aria-hidden":!0,onChange:t=>{let e=tm.find(e=>e.props.value===t.target.value);void 0!==e&&(tr(e.props.value),H&&H(t,e))},tabIndex:-1,disabled:w,className:tS.nativeInput,autoFocus:m,required:U,...tt,ownerState:tw}),(0,x.jsx)(L,{as:C,className:tS.icon,ownerState:tw}),(0,x.jsx)(d.A,{id:`menu-${F||""}`,anchorEl:tf,open:ty,onClose:t=>{tg(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...N,slotProps:{...N.slotProps,list:{"aria-labelledby":B,role:"listbox","aria-multiselectable":z?"true":void 0,disableListWrap:!0,id:tT,...N.MenuListProps},paper:{...tk,style:{minWidth:tb,...null!=tk?tk.style:null}}},children:tx})]})});var N=r("We"),z=r("wJ"),F=r("Os"),$=r("Iy"),H=r("dl"),j=r("LW"),W=r("WN");let V={name:"MuiSelect",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>(0,_.A)(t)&&"variant"!==t,slot:"Root"},Y=(0,v.A)($.A,V)(""),X=(0,v.A)(j.A,V)(""),G=(0,v.A)(H.A,V)(""),U=i.forwardRef(function(t,e){let r=(0,W.b)({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:u,classes:c={},className:h,defaultOpen:p=!1,displayEmpty:d=!1,IconComponent:f=F.A,id:g,input:m,inputProps:y,label:v,labelId:_,MenuProps:b,multiple:A=!1,native:w=!1,onClose:S,onOpen:T,open:C,renderValue:I,SelectDisplayProps:P,variant:O="outlined",...L}=r,R=(0,z.A)(),E=(0,N.A)({props:r,muiFormControl:R,states:["variant","error"]}),$=E.variant||O,H={...r,variant:$,classes:c},j=(t=>{let{classes:e}=t,r=(0,s.A)({root:["root"]},D,e);return{...e,...r}})(H),{root:V,...U}=j,Z=m||({standard:(0,x.jsx)(Y,{ownerState:H}),outlined:(0,x.jsx)(X,{label:v,ownerState:H}),filled:(0,x.jsx)(G,{ownerState:H})})[$],q=(0,M.A)(e,(0,l.A)(Z));return(0,x.jsx)(i.Fragment,{children:i.cloneElement(Z,{inputComponent:w?k:B,inputProps:{children:u,error:E.error,IconComponent:f,variant:$,type:void 0,multiple:A,...w?{id:g}:{autoWidth:n,defaultOpen:p,displayEmpty:d,labelId:_,MenuProps:b,onClose:S,onOpen:T,open:C,renderValue:I,SelectDisplayProps:{id:g,...P}},...y,classes:y?(0,a.A)(U,y.classes):U,...m?m.props.inputProps:{}},...(A&&w||d)&&"outlined"===$?{notched:!0}:{},ref:q,className:(0,o.A)(Z.props.className,h,j.root),...!m&&{variant:$},...L})})});U.muiName="Select";var Z=U},hA(t,e,r){"use strict";r.d(e,{A:()=>w});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("mI"),s=r("CQ"),l=r("ja"),u=r("qm"),c=r("b4"),h=r("Yb"),p=r("WN"),d=r("O2"),f=r("kZ");function g(t){return(0,f.Ay)("MuiSwitch",t)}let m=(0,d.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var y=r("Rq"),v=r("P2");let _=(0,c.A)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.edge&&e[`edge${(0,s.A)(r.edge)}`],e[`size${(0,s.A)(r.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${m.thumb}`]:{width:16,height:16},[`& .${m.switchBase}`]:{padding:4,[`&.${m.checked}`]:{transform:"translateX(16px)"}}}}]}),x=(0,c.A)(u.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.switchBase,{[`& .${m.input}`]:e.input},"default"!==r.color&&e[`color${(0,s.A)(r.color)}`]]}})((0,h.A)(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${"light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${m.checked}`]:{transform:"translateX(20px)"},[`&.${m.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${m.checked} + .${m.track}`]:{opacity:.5},[`&.${m.disabled} + .${m.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${"light"===t.palette.mode?.12:.2}`},[`& .${m.input}`]:{left:"-100%",width:"300%"}})),(0,h.A)(({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,a.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter((0,l.A)(["light"])).map(([e])=>({props:{color:e},style:{[`&.${m.checked}`]:{color:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,a.X4)(t.palette[e].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e}DisabledColor`]:`${"light"===t.palette.mode?(0,a.a)(t.palette[e].main,.62):(0,a.e$)(t.palette[e].main,.55)}`}},[`&.${m.checked} + .${m.track}`]:{backgroundColor:(t.vars||t).palette[e].main}}}))]}))),b=(0,c.A)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})((0,h.A)(({theme:t})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${"light"===t.palette.mode?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${"light"===t.palette.mode?.38:.3}`}))),A=(0,c.A)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})((0,h.A)(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})));var w=n.forwardRef(function(t,e){let r=(0,p.b)({props:t,name:"MuiSwitch"}),{className:n,color:a="primary",edge:l=!1,size:u="medium",sx:c,slots:h={},slotProps:d={},...f}=r,m={...r,color:a,edge:l,size:u},w=(t=>{let{classes:e,edge:r,size:n,color:i,checked:a,disabled:l}=t,u={root:["root",r&&`edge${(0,s.A)(r)}`,`size${(0,s.A)(n)}`],switchBase:["switchBase",`color${(0,s.A)(i)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=(0,o.A)(u,g,e);return{...e,...c}})(m),S={slots:h,slotProps:d},[k,T]=(0,y.A)("root",{className:(0,i.A)(w.root,n),elementType:_,externalForwardedProps:S,ownerState:m,additionalProps:{sx:c}}),[C,M]=(0,y.A)("thumb",{className:w.thumb,elementType:A,externalForwardedProps:S,ownerState:m}),I=(0,v.jsx)(C,{...M}),[D,P]=(0,y.A)("track",{className:w.track,elementType:b,externalForwardedProps:S,ownerState:m});return(0,v.jsxs)(k,{...T,children:[(0,v.jsx)(x,{type:"checkbox",icon:I,checkedIcon:I,ref:e,ownerState:m,...f,classes:{...w,root:w.switchBase},slots:{...h.switchBase&&{root:h.switchBase},...h.input&&{input:h.input}},slotProps:{...d.switchBase&&{root:"function"==typeof d.switchBase?d.switchBase(m):d.switchBase},...d.input&&{input:"function"==typeof d.input?d.input(m):d.input}}}),(0,v.jsx)(D,{...P})]})})},AI(t,e,r){"use strict";r.d(e,{A:()=>w});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("uF"),s=r("b4"),l=r("WN"),u=r("Iy"),c=r("dl"),h=r("LW"),p=r("Rf"),d=r("xq"),f=r("ku"),g=r("sG"),m=r("O2"),y=r("kZ");function v(t){return(0,y.Ay)("MuiTextField",t)}(0,m.A)("MuiTextField",["root"]);var _=r("Rq"),x=r("P2");let b={standard:u.A,filled:c.A,outlined:h.A},A=(0,s.A)(d.A,{name:"MuiTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({});var w=n.forwardRef(function(t,e){let r=(0,l.b)({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:s=!1,children:u,className:c,color:h="primary",defaultValue:d,disabled:m=!1,error:y=!1,FormHelperTextProps:w,fullWidth:S=!1,helperText:k,id:T,InputLabelProps:C,inputProps:M,InputProps:I,inputRef:D,label:P,maxRows:O,minRows:L,multiline:R=!1,name:E,onBlur:B,onChange:N,onFocus:z,placeholder:F,required:$=!1,rows:H,select:j=!1,SelectProps:W,slots:V={},slotProps:Y={},type:X,value:G,variant:U="outlined",...Z}=r,q={...r,autoFocus:s,color:h,disabled:m,error:y,fullWidth:S,multiline:R,required:$,select:j,variant:U},K=(t=>{let{classes:e}=t;return(0,o.A)({root:["root"]},v,e)})(q),Q=(0,a.A)(T),J=k&&Q?`${Q}-helper-text`:void 0,tt=P&&Q?`${Q}-label`:void 0,te=b[U],tr={slots:V,slotProps:{input:I,inputLabel:C,htmlInput:M,formHelperText:w,select:W,...Y}},tn={},ti=tr.slotProps.inputLabel;"outlined"===U&&(ti&&void 0!==ti.shrink&&(tn.notched=ti.shrink),tn.label=P),j&&(W&&W.native||(tn.id=void 0),tn["aria-describedby"]=void 0);let[to,ta]=(0,_.A)("root",{elementType:A,shouldForwardComponentProp:!0,externalForwardedProps:{...tr,...Z},ownerState:q,className:(0,i.A)(K.root,c),ref:e,additionalProps:{disabled:m,error:y,fullWidth:S,required:$,color:h,variant:U}}),[ts,tl]=(0,_.A)("input",{elementType:te,externalForwardedProps:tr,additionalProps:tn,ownerState:q}),[tu,tc]=(0,_.A)("inputLabel",{elementType:p.A,externalForwardedProps:tr,ownerState:q}),[th,tp]=(0,_.A)("htmlInput",{elementType:"input",externalForwardedProps:tr,ownerState:q}),[td,tf]=(0,_.A)("formHelperText",{elementType:f.A,externalForwardedProps:tr,ownerState:q}),[tg,tm]=(0,_.A)("select",{elementType:g.A,externalForwardedProps:tr,ownerState:q}),ty=(0,x.jsx)(ts,{"aria-describedby":J,autoComplete:n,autoFocus:s,defaultValue:d,fullWidth:S,multiline:R,name:E,rows:H,maxRows:O,minRows:L,type:X,value:G,id:Q,inputRef:D,onBlur:B,onChange:N,onFocus:z,placeholder:F,inputProps:tp,slots:{input:V.htmlInput?th:void 0},...tl});return(0,x.jsxs)(to,{...ta,children:[null!=P&&""!==P&&(0,x.jsx)(tu,{htmlFor:Q,id:tt,...tc,children:P}),j?(0,x.jsx)(tg,{"aria-describedby":J,id:Q,labelId:tt,value:G,input:ty,...tm,children:u}):ty,k&&(0,x.jsx)(td,{id:J,...tf,children:k})]})})},X3(t,e,r){"use strict";var n=r("HE"),i=r("x6"),o=r("I4"),a=r("GS"),s=r("b4"),l=r("Yb"),u=r("WN"),c=r("CQ"),h=r("ja"),p=r("Pd"),d=r("P2");let f={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},g=(0,a.Dg)(),m=(0,s.A)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,r.variant&&e[r.variant],"inherit"!==r.align&&e[`align${(0,c.A)(r.align)}`],r.noWrap&&e.noWrap,r.gutterBottom&&e.gutterBottom,r.paragraph&&e.paragraph]}})((0,l.A)(({theme:t})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([t,e])=>"inherit"!==t&&e&&"object"==typeof e).map(([t,e])=>({props:{variant:t},style:e})),...Object.entries(t.palette).filter((0,h.A)()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette?.text||{}).filter(([,t])=>"string"==typeof t).map(([e])=>({props:{color:`text${(0,c.A)(e)}`},style:{color:(t.vars||t).palette.text[e]}})),{props:({ownerState:t})=>"inherit"!==t.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"};e.A=n.forwardRef(function(t,e){let{color:r,...n}=(0,u.b)({props:t,name:"MuiTypography"}),a=!f[r],s=g({...n,...a&&{color:r}}),{align:l="inherit",className:h,component:v,gutterBottom:_=!1,noWrap:x=!1,paragraph:b=!1,variant:A="body1",variantMapping:w=y,...S}=s,k={...s,align:l,color:r,className:h,component:v,gutterBottom:_,noWrap:x,paragraph:b,variant:A,variantMapping:w},T=v||(b?"p":w[A]||y[A])||"span",C=(t=>{let{align:e,gutterBottom:r,noWrap:n,paragraph:i,variant:a,classes:s}=t,l={root:["root",a,"inherit"!==t.align&&`align${(0,c.A)(e)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return(0,o.A)(l,p.y,s)})(k);return(0,d.jsx)(m,{as:T,ref:e,className:(0,i.A)(C.root,h),...S,ownerState:k,style:{..."inherit"!==l&&{"--Typography-textAlign":l},...S.style}})})},Pd(t,e,r){"use strict";var n=r("O2"),i=r("kZ");e.A=(0,n.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),r.d(e,{},{y:function(t){return(0,i.Ay)("MuiTypography",t)}})},qm(t,e,r){"use strict";r.d(e,{A:()=>v});var n=r("HE"),i=r("I4"),o=r("CQ"),a=r("U2"),s=r("b4"),l=r("o0"),u=r("wJ"),c=r("CW"),h=r("O2"),p=r("kZ");function d(t){return(0,p.Ay)("PrivateSwitchBase",t)}(0,h.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var f=r("Rq"),g=r("P2");let m=(0,s.A)(c.A,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:t,ownerState:e})=>"start"===t&&"small"!==e.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:t,ownerState:e})=>"end"===t&&"small"!==e.size,style:{marginRight:-12}}]}),y=(0,s.A)("input",{name:"MuiSwitchBase",shouldForwardProp:a.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1});var v=n.forwardRef(function(t,e){let{autoFocus:r,checked:n,checkedIcon:a,defaultChecked:s,disabled:c,disableFocusRipple:h=!1,edge:p=!1,icon:v,id:_,inputProps:x,inputRef:b,name:A,onBlur:w,onChange:S,onFocus:k,readOnly:T,required:C=!1,tabIndex:M,type:I,value:D,slots:P={},slotProps:O={},...L}=t,[R,E]=(0,l.A)({controlled:n,default:!!s,name:"SwitchBase",state:"checked"}),B=(0,u.A)(),N=c;B&&void 0===N&&(N=B.disabled);let z="checkbox"===I||"radio"===I,F={...t,checked:R,disabled:N,disableFocusRipple:h,edge:p},$=(t=>{let{classes:e,checked:r,disabled:n,edge:a}=t,s={root:["root",r&&"checked",n&&"disabled",a&&`edge${(0,o.A)(a)}`],input:["input"]};return(0,i.A)(s,d,e)})(F),H={slots:P,slotProps:{input:x,...O}},[j,W]=(0,f.A)("root",{ref:e,elementType:m,className:$.root,shouldForwardComponentProp:!0,externalForwardedProps:{...H,component:"span",...L},getSlotProps:t=>({...t,onFocus:e=>{t.onFocus?.(e),k&&k(e),B&&B.onFocus&&B.onFocus(e)},onBlur:e=>{t.onBlur?.(e),w&&w(e),B&&B.onBlur&&B.onBlur(e)}}),ownerState:F,additionalProps:{centerRipple:!0,focusRipple:!h,disabled:N,role:void 0,tabIndex:null}}),[V,Y]=(0,f.A)("input",{ref:b,elementType:y,className:$.input,externalForwardedProps:H,getSlotProps:t=>({onChange:e=>{t.onChange?.(e),(t=>{if(t.nativeEvent.defaultPrevented)return;let e=t.target.checked;E(e),S&&S(t,e)})(e)}}),ownerState:F,additionalProps:{autoFocus:r,checked:n,defaultChecked:s,disabled:N,id:z?_:void 0,name:A,readOnly:T,required:C,tabIndex:M,type:I,..."checkbox"===I&&void 0===D?{}:{value:D}}});return(0,g.jsxs)(j,{...W,children:[(0,g.jsx)(V,{...Y}),R?a:v]})})},Os(t,e,r){"use strict";r("HE");var n=r("Va"),i=r("P2");e.A=(0,n.A)((0,i.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},cl(t,e,r){"use strict";r.d(e,{A:()=>q});var n=r("Z"),i=r("vB"),o=r("mI"),a={black:"#000",white:"#fff"},s={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},l={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},h={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},p={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function f(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let g=f();function m(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=m();function v(t,e,r,n){let i=n.light||n,a=n.dark||1.5*n;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:"light"===e?t.light=(0,o.a)(t.main,i):"dark"===e&&(t.dark=(0,o.e$)(t.main,a)))}function _(t){let e,{mode:r="light",contrastThreshold:_=3,tonalOffset:x=.2,...b}=t,A=t.primary||function(t="light"){return"dark"===t?{main:h["200"],light:h["50"],dark:h["400"]}:{main:h["700"],light:h["400"],dark:h["800"]}}(r),w=t.secondary||function(t="light"){return"dark"===t?{main:l["200"],light:l["50"],dark:l["400"]}:{main:l["500"],light:l["300"],dark:l["700"]}}(r),S=t.error||function(t="light"){return"dark"===t?{main:u["500"],light:u["300"],dark:u["700"]}:{main:u["700"],light:u["400"],dark:u["800"]}}(r),k=t.info||function(t="light"){return"dark"===t?{main:p["400"],light:p["300"],dark:p["700"]}:{main:p["700"],light:p["500"],dark:p["900"]}}(r),T=t.success||function(t="light"){return"dark"===t?{main:d["400"],light:d["300"],dark:d["700"]}:{main:d["800"],light:d["500"],dark:d["900"]}}(r),C=t.warning||function(t="light"){return"dark"===t?{main:c["400"],light:c["300"],dark:c["700"]}:{main:"#ed6c02",light:c["500"],dark:c["900"]}}(r);function M(t){return(0,o.eM)(t,y.text.primary)>=_?y.text.primary:g.text.primary}let I=({color:t,name:e,mainShade:r=500,lightShade:i=300,darkShade:o=700})=>{if(!(t={...t}).main&&t[r]&&(t.main=t[r]),!t.hasOwnProperty("main"))throw Error((0,n.A)(11,e?` (${e})`:"",r));if("string"!=typeof t.main)throw Error((0,n.A)(12,e?` (${e})`:"",JSON.stringify(t.main)));return v(t,"light",i,x),v(t,"dark",o,x),t.contrastText||(t.contrastText=M(t.main)),t};return"light"===r?e=f():"dark"===r&&(e=m()),(0,i.A)({common:{...a},mode:r,primary:I({color:A,name:"primary"}),secondary:I({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:I({color:S,name:"error"}),warning:I({color:C,name:"warning"}),info:I({color:k,name:"info"}),success:I({color:T,name:"success"}),grey:s,contrastThreshold:_,getContrastText:M,augmentColor:I,tonalOffset:x,...e},b)}var x=r("W3"),b=r("Lk");let A=(t,e,r,n=[])=>{let i=t;e.forEach((t,o)=>{o===e.length-1?Array.isArray(i)?i[Number(t)]=r:i&&"object"==typeof i&&(i[t]=r):i&&"object"==typeof i&&(i[t]||(i[t]=n.includes(t)?[]:{}),i=i[t])})};function w(t,e){var r,n;let{prefix:i,shouldSkipGeneratingVar:o}=e||{},a={},s={},l={};return r=(t,e,r)=>{if(("string"==typeof e||"number"==typeof e)&&(!o||!o(t,e))){var n,u;let o=`--${i?`${i}-`:""}${t.join("-")}`,c=(n=t,"number"==typeof(u=e)?["lineHeight","fontWeight","opacity","zIndex"].some(t=>n.includes(t))||n[n.length-1].toLowerCase().includes("opacity")?u:`${u}px`:u);Object.assign(a,{[o]:c}),A(s,t,`var(${o})`,r),A(l,t,`var(${o}, ${c})`,r)}},n=t=>"vars"===t[0],function t(e,i=[],o=[]){Object.entries(e).forEach(([e,a])=>{n&&(!n||n([...i,e]))||null==a||("object"==typeof a&&Object.keys(a).length>0?t(a,[...i,e],Array.isArray(a)?[...o,e]:o):r([...i,e],a,o))})}(t),{css:a,vars:s,varsWithDefaults:l}}var S=function(t,e={}){let{getSelector:r=function(e,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),e){if("media"===n){if(t.defaultColorScheme===e)return":root";let n=a[e]?.palette?.mode||e;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return t.defaultColorScheme===e?`:root, ${n.replace("%s",String(e))}`:n.replace("%s",String(e))}return":root"},disableCssColorScheme:n,colorSchemeSelector:o}=e,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...u}=t,{vars:c,css:h,varsWithDefaults:p}=w(u,e),d=p,f={},{[l]:g,...m}=a;if(Object.entries(m||{}).forEach(([t,r])=>{let{vars:n,css:o,varsWithDefaults:a}=w(r,e);d=(0,i.A)(d,a),f[t]={css:o,vars:n}}),g){let{css:t,vars:r,varsWithDefaults:n}=w(g,e);d=(0,i.A)(d,n),f[l]={css:t,vars:r}}return{vars:d,generateThemeVars:()=>{let t={...c};return Object.entries(f).forEach(([,{vars:e}])=>{t=(0,i.A)(t,e)}),t},generateStyleSheets:()=>{let e=[],i=t.defaultColorScheme||"light";function o(t,r){Object.keys(r).length&&e.push("string"==typeof t?{[t]:{...r}}:t)}o(r(void 0,{...h}),h);let{[i]:s,...l}=f;if(s){let{css:t}=s,e=a[i]?.palette?.mode,l=!n&&e?{colorScheme:e,...t}:{...t};o(r(i,{...l}),l)}return Object.entries(l).forEach(([t,{css:e}])=>{let i=a[t]?.palette?.mode,s=!n&&i?{colorScheme:i,...e}:{...e};o(r(t,{...s}),s)}),e}}},k=r("e7"),T=r("SJ"),C=r("y");let M={textTransform:"uppercase"},I='"Roboto", "Helvetica", "Arial", sans-serif';function D(...t){return`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2),${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14),${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`}let P=["none",D(0,2,1,-1,0,1,1,0,0,1,3,0),D(0,3,1,-2,0,2,2,0,0,1,5,0),D(0,3,3,-2,0,3,4,0,0,1,8,0),D(0,2,4,-1,0,4,5,0,0,1,10,0),D(0,3,5,-1,0,5,8,0,0,1,14,0),D(0,3,5,-1,0,6,10,0,0,1,18,0),D(0,4,5,-2,0,7,10,1,0,2,16,1),D(0,5,5,-3,0,8,10,1,0,3,14,2),D(0,5,6,-3,0,9,12,1,0,3,16,2),D(0,6,6,-3,0,10,14,1,0,4,18,3),D(0,6,7,-4,0,11,15,1,0,4,20,3),D(0,7,8,-4,0,12,17,2,0,5,22,4),D(0,7,8,-4,0,13,19,2,0,5,24,4),D(0,7,9,-4,0,14,21,2,0,5,26,4),D(0,8,9,-5,0,15,22,2,0,6,28,5),D(0,8,10,-5,0,16,24,2,0,6,30,5),D(0,8,11,-5,0,17,26,2,0,6,32,5),D(0,9,11,-5,0,18,28,2,0,7,34,6),D(0,9,12,-6,0,19,29,2,0,7,36,6),D(0,10,13,-6,0,20,31,3,0,8,38,7),D(0,10,13,-6,0,21,33,3,0,8,40,7),D(0,10,14,-6,0,22,35,3,0,8,42,7),D(0,11,14,-7,0,23,36,3,0,9,44,8),D(0,11,15,-7,0,24,38,3,0,9,46,8)],O={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},L={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function R(t){return`${Math.round(t)}ms`}function E(t){if(!t)return 0;let e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}var B={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function N(t={}){let e={...t};return!function t(e){let r=Object.entries(e);for(let n=0;n<r.length;n++){let[o,a]=r[n];!((0,i.Q)(a)||void 0===a||"string"==typeof a||"boolean"==typeof a||"number"==typeof a||Array.isArray(a))||o.startsWith("unstable_")?delete e[o]:(0,i.Q)(a)&&(e[o]={...a},t(e[o]))}}(e),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
76
|
+
|
|
77
|
+
const theme = ${JSON.stringify(e,null,2)};
|
|
78
|
+
|
|
79
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
80
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
81
|
+
|
|
82
|
+
export default theme;`}var z=function(t={},...e){var r;let o,a,{breakpoints:s,mixins:l={},spacing:u,palette:c={},transitions:h={},typography:p={},shape:d,...f}=t;if(t.vars&&void 0===t.generateThemeVars)throw Error((0,n.A)(20));let g=_(c),m=(0,C.A)(t),y=(0,i.A)(m,{mixins:(r=m.breakpoints,{toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...l}),palette:g,shadows:P.slice(),typography:function(t,e){let{fontFamily:r=I,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:h,...p}="function"==typeof e?e(t):e,d=n/14,f=h||(t=>`${t/u*d}rem`),g=(t,e,n,i,o)=>({fontFamily:r,fontWeight:t,fontSize:f(e),lineHeight:n,...r===I?{letterSpacing:`${Math.round(i/e*1e5)/1e5}em`}:{},...o,...c}),m={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(s,14,1.75,.4,M),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,M),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)({htmlFontSize:u,pxToRem:f,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l,...m},p,{clone:!1})}(g,p),transitions:(o={...O,...h.easing},a={...L,...h.duration},{getAutoHeightDuration:E,create:(t=["all"],e={})=>{let{duration:r=a.standard,easing:n=o.easeInOut,delay:i=0,...s}=e;return(Array.isArray(t)?t:[t]).map(t=>`${t} ${"string"==typeof r?r:R(r)} ${n} ${"string"==typeof i?i:R(i)}`).join(",")},...h,easing:o,duration:a}),zIndex:{...B}});return y=(0,i.A)(y,f),(y=e.reduce((t,e)=>(0,i.A)(t,e),y)).unstable_sxConfig={...k.A,...f?.unstable_sxConfig},y.unstable_sx=function(t){return(0,T.A)({sx:t,theme:this})},y.toRuntimeSource=N,y},F=r("D8");let $=[...Array(25)].map((t,e)=>{if(0===e)return"none";let r=(0,F.A)(e);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function H(t){return{inputPlaceholder:"dark"===t?.5:.42,inputUnderline:"dark"===t?.7:.42,switchTrackDisabled:"dark"===t?.2:.12,switchTrack:"dark"===t?.3:.38}}function j(t){return"dark"===t?$:[]}function W(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||"palette"===t[0]&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}function V(t,e,r){!t[e]&&r&&(t[e]=r)}function Y(t){return"string"==typeof t&&t.startsWith("hsl")?(0,o.YL)(t):t}function X(t,e){`${e}Channel`in t||(t[`${e}Channel`]=(0,o.Me)(Y(t[e]),`MUI: Can't create \`palette.${e}Channel\` because \`palette.${e}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
83
|
+
To suppress this warning, you need to explicitly provide the \`palette.${e}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}let G=t=>{try{return t()}catch(t){}};function U(t,e,r,n){if(!e)return;e=!0===e?{}:e;let i="dark"===n?"dark":"light";if(!r){t[n]=function(t){let{palette:e={mode:"light"},opacity:r,overlays:n,...i}=t,o=_(e);return{palette:o,opacity:{...H(o.mode),...r},overlays:n||j(o.mode),...i}}({...e,palette:{mode:i,...e?.palette}});return}let{palette:o,...a}=z({...r,palette:{mode:i,...e?.palette}});return t[n]={...e,palette:o,opacity:{...H(i),...e?.opacity},overlays:e?.overlays||j(i)},a}function Z(t,e,r){t.colorSchemes&&r&&(t.colorSchemes[e]={...!0!==r&&r,palette:_({...!0===r?{}:r.palette,mode:e})})}function q(t={},...e){let{palette:r,cssVariables:a=!1,colorSchemes:s=!r?{light:!0}:void 0,defaultColorScheme:l=r?.mode,...u}=t,c=l||"light",h=s?.[c],p={...s,...r?{[c]:{..."boolean"!=typeof h&&h,palette:r}}:void 0};if(!1===a){if(!("colorSchemes"in t))return z(t,...e);let n=r;"palette"in t||!p[c]||(!0!==p[c]?n=p[c].palette:"dark"===c&&(n={mode:"dark"}));let i=z({...t,palette:n},...e);return i.defaultColorScheme=c,i.colorSchemes=p,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==p.light&&p.light,palette:i.palette},Z(i,"dark",p.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==p.dark&&p.dark,palette:i.palette},Z(i,"light",p.light)),i}return r||"light"in p||"light"!==c||(p.light=!0),function(t={},...e){var r,a;let s,l,{colorSchemes:u={light:!0},defaultColorScheme:c,disableCssColorScheme:h=!1,cssVarPrefix:p="mui",shouldSkipGeneratingVar:d=W,colorSchemeSelector:f=u.light&&u.dark?"media":void 0,rootSelector:g=":root",...m}=t,y=Object.keys(u)[0],v=c||(u.light&&"light"!==y?"light":y),_=((t="mui")=>(function(t=""){return(e,...r)=>`var(--${t?`${t}-`:""}${e}${function e(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${t?`${t}-`:""}${n}${e(...r.slice(1))})`}(...r)})`})(t))(p),{[v]:A,light:w,dark:C,...M}=u,I={...M},D=A;if(("dark"!==v||"dark"in u)&&("light"!==v||"light"in u)||(D=!0),!D)throw Error((0,n.A)(21,v));let P=U(I,D,m,v);w&&!I.light&&U(I,w,void 0,"light"),C&&!I.dark&&U(I,C,void 0,"dark");let O={defaultColorScheme:v,...P,cssVarPrefix:p,colorSchemeSelector:f,rootSelector:g,getCssVar:_,colorSchemes:I,font:{...(r=P.typography,s={},Object.entries(r).forEach(t=>{let[e,r]=t;"object"==typeof r&&(s[e]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),s),...P.font},spacing:"number"==typeof(a=m.spacing)?`${a}px`:"string"==typeof a||"function"==typeof a||Array.isArray(a)?a:"8px"};Object.keys(O.colorSchemes).forEach(t=>{let e=O.colorSchemes[t].palette,r=t=>{let r=t.split("-"),n=r[1],i=r[2];return _(t,e[n][i])};if("light"===e.mode&&(V(e.common,"background","#fff"),V(e.common,"onBackground","#000")),"dark"===e.mode&&(V(e.common,"background","#000"),V(e.common,"onBackground","#fff")),["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(t=>{e[t]||(e[t]={})}),"light"===e.mode){V(e.Alert,"errorColor",(0,o.Nd)(e.error.light,.6)),V(e.Alert,"infoColor",(0,o.Nd)(e.info.light,.6)),V(e.Alert,"successColor",(0,o.Nd)(e.success.light,.6)),V(e.Alert,"warningColor",(0,o.Nd)(e.warning.light,.6)),V(e.Alert,"errorFilledBg",r("palette-error-main")),V(e.Alert,"infoFilledBg",r("palette-info-main")),V(e.Alert,"successFilledBg",r("palette-success-main")),V(e.Alert,"warningFilledBg",r("palette-warning-main")),V(e.Alert,"errorFilledColor",G(()=>e.getContrastText(e.error.main))),V(e.Alert,"infoFilledColor",G(()=>e.getContrastText(e.info.main))),V(e.Alert,"successFilledColor",G(()=>e.getContrastText(e.success.main))),V(e.Alert,"warningFilledColor",G(()=>e.getContrastText(e.warning.main))),V(e.Alert,"errorStandardBg",(0,o.j4)(e.error.light,.9)),V(e.Alert,"infoStandardBg",(0,o.j4)(e.info.light,.9)),V(e.Alert,"successStandardBg",(0,o.j4)(e.success.light,.9)),V(e.Alert,"warningStandardBg",(0,o.j4)(e.warning.light,.9)),V(e.Alert,"errorIconColor",r("palette-error-main")),V(e.Alert,"infoIconColor",r("palette-info-main")),V(e.Alert,"successIconColor",r("palette-success-main")),V(e.Alert,"warningIconColor",r("palette-warning-main")),V(e.AppBar,"defaultBg",r("palette-grey-100")),V(e.Avatar,"defaultBg",r("palette-grey-400")),V(e.Button,"inheritContainedBg",r("palette-grey-300")),V(e.Button,"inheritContainedHoverBg",r("palette-grey-A100")),V(e.Chip,"defaultBorder",r("palette-grey-400")),V(e.Chip,"defaultAvatarColor",r("palette-grey-700")),V(e.Chip,"defaultIconColor",r("palette-grey-700")),V(e.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),V(e.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),V(e.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),V(e.LinearProgress,"primaryBg",(0,o.j4)(e.primary.main,.62)),V(e.LinearProgress,"secondaryBg",(0,o.j4)(e.secondary.main,.62)),V(e.LinearProgress,"errorBg",(0,o.j4)(e.error.main,.62)),V(e.LinearProgress,"infoBg",(0,o.j4)(e.info.main,.62)),V(e.LinearProgress,"successBg",(0,o.j4)(e.success.main,.62)),V(e.LinearProgress,"warningBg",(0,o.j4)(e.warning.main,.62)),V(e.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),V(e.Slider,"primaryTrack",(0,o.j4)(e.primary.main,.62)),V(e.Slider,"secondaryTrack",(0,o.j4)(e.secondary.main,.62)),V(e.Slider,"errorTrack",(0,o.j4)(e.error.main,.62)),V(e.Slider,"infoTrack",(0,o.j4)(e.info.main,.62)),V(e.Slider,"successTrack",(0,o.j4)(e.success.main,.62)),V(e.Slider,"warningTrack",(0,o.j4)(e.warning.main,.62));let t=(0,o.Y9)(e.background.default,.8);V(e.SnackbarContent,"bg",t),V(e.SnackbarContent,"color",G(()=>e.getContrastText(t))),V(e.SpeedDialAction,"fabHoverBg",(0,o.Y9)(e.background.paper,.15)),V(e.StepConnector,"border",r("palette-grey-400")),V(e.StepContent,"border",r("palette-grey-400")),V(e.Switch,"defaultColor",r("palette-common-white")),V(e.Switch,"defaultDisabledColor",r("palette-grey-100")),V(e.Switch,"primaryDisabledColor",(0,o.j4)(e.primary.main,.62)),V(e.Switch,"secondaryDisabledColor",(0,o.j4)(e.secondary.main,.62)),V(e.Switch,"errorDisabledColor",(0,o.j4)(e.error.main,.62)),V(e.Switch,"infoDisabledColor",(0,o.j4)(e.info.main,.62)),V(e.Switch,"successDisabledColor",(0,o.j4)(e.success.main,.62)),V(e.Switch,"warningDisabledColor",(0,o.j4)(e.warning.main,.62)),V(e.TableCell,"border",(0,o.j4)((0,o.Cg)(e.divider,1),.88)),V(e.Tooltip,"bg",(0,o.Cg)(e.grey[700],.92))}if("dark"===e.mode){V(e.Alert,"errorColor",(0,o.j4)(e.error.light,.6)),V(e.Alert,"infoColor",(0,o.j4)(e.info.light,.6)),V(e.Alert,"successColor",(0,o.j4)(e.success.light,.6)),V(e.Alert,"warningColor",(0,o.j4)(e.warning.light,.6)),V(e.Alert,"errorFilledBg",r("palette-error-dark")),V(e.Alert,"infoFilledBg",r("palette-info-dark")),V(e.Alert,"successFilledBg",r("palette-success-dark")),V(e.Alert,"warningFilledBg",r("palette-warning-dark")),V(e.Alert,"errorFilledColor",G(()=>e.getContrastText(e.error.dark))),V(e.Alert,"infoFilledColor",G(()=>e.getContrastText(e.info.dark))),V(e.Alert,"successFilledColor",G(()=>e.getContrastText(e.success.dark))),V(e.Alert,"warningFilledColor",G(()=>e.getContrastText(e.warning.dark))),V(e.Alert,"errorStandardBg",(0,o.Nd)(e.error.light,.9)),V(e.Alert,"infoStandardBg",(0,o.Nd)(e.info.light,.9)),V(e.Alert,"successStandardBg",(0,o.Nd)(e.success.light,.9)),V(e.Alert,"warningStandardBg",(0,o.Nd)(e.warning.light,.9)),V(e.Alert,"errorIconColor",r("palette-error-main")),V(e.Alert,"infoIconColor",r("palette-info-main")),V(e.Alert,"successIconColor",r("palette-success-main")),V(e.Alert,"warningIconColor",r("palette-warning-main")),V(e.AppBar,"defaultBg",r("palette-grey-900")),V(e.AppBar,"darkBg",r("palette-background-paper")),V(e.AppBar,"darkColor",r("palette-text-primary")),V(e.Avatar,"defaultBg",r("palette-grey-600")),V(e.Button,"inheritContainedBg",r("palette-grey-800")),V(e.Button,"inheritContainedHoverBg",r("palette-grey-700")),V(e.Chip,"defaultBorder",r("palette-grey-700")),V(e.Chip,"defaultAvatarColor",r("palette-grey-300")),V(e.Chip,"defaultIconColor",r("palette-grey-300")),V(e.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),V(e.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),V(e.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),V(e.LinearProgress,"primaryBg",(0,o.Nd)(e.primary.main,.5)),V(e.LinearProgress,"secondaryBg",(0,o.Nd)(e.secondary.main,.5)),V(e.LinearProgress,"errorBg",(0,o.Nd)(e.error.main,.5)),V(e.LinearProgress,"infoBg",(0,o.Nd)(e.info.main,.5)),V(e.LinearProgress,"successBg",(0,o.Nd)(e.success.main,.5)),V(e.LinearProgress,"warningBg",(0,o.Nd)(e.warning.main,.5)),V(e.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),V(e.Slider,"primaryTrack",(0,o.Nd)(e.primary.main,.5)),V(e.Slider,"secondaryTrack",(0,o.Nd)(e.secondary.main,.5)),V(e.Slider,"errorTrack",(0,o.Nd)(e.error.main,.5)),V(e.Slider,"infoTrack",(0,o.Nd)(e.info.main,.5)),V(e.Slider,"successTrack",(0,o.Nd)(e.success.main,.5)),V(e.Slider,"warningTrack",(0,o.Nd)(e.warning.main,.5));let t=(0,o.Y9)(e.background.default,.98);V(e.SnackbarContent,"bg",t),V(e.SnackbarContent,"color",G(()=>e.getContrastText(t))),V(e.SpeedDialAction,"fabHoverBg",(0,o.Y9)(e.background.paper,.15)),V(e.StepConnector,"border",r("palette-grey-600")),V(e.StepContent,"border",r("palette-grey-600")),V(e.Switch,"defaultColor",r("palette-grey-300")),V(e.Switch,"defaultDisabledColor",r("palette-grey-600")),V(e.Switch,"primaryDisabledColor",(0,o.Nd)(e.primary.main,.55)),V(e.Switch,"secondaryDisabledColor",(0,o.Nd)(e.secondary.main,.55)),V(e.Switch,"errorDisabledColor",(0,o.Nd)(e.error.main,.55)),V(e.Switch,"infoDisabledColor",(0,o.Nd)(e.info.main,.55)),V(e.Switch,"successDisabledColor",(0,o.Nd)(e.success.main,.55)),V(e.Switch,"warningDisabledColor",(0,o.Nd)(e.warning.main,.55)),V(e.TableCell,"border",(0,o.Nd)((0,o.Cg)(e.divider,1),.68)),V(e.Tooltip,"bg",(0,o.Cg)(e.grey[700],.92))}X(e.background,"default"),X(e.background,"paper"),X(e.common,"background"),X(e.common,"onBackground"),X(e,"divider"),Object.keys(e).forEach(t=>{let r=e[t];"tonalOffset"!==t&&r&&"object"==typeof r&&(r.main&&V(e[t],"mainChannel",(0,o.Me)(Y(r.main))),r.light&&V(e[t],"lightChannel",(0,o.Me)(Y(r.light))),r.dark&&V(e[t],"darkChannel",(0,o.Me)(Y(r.dark))),r.contrastText&&V(e[t],"contrastTextChannel",(0,o.Me)(Y(r.contrastText))),"text"===t&&(X(e[t],"primary"),X(e[t],"secondary")),"action"===t&&(r.active&&X(e[t],"active"),r.selected&&X(e[t],"selected")))})});let L={prefix:p,disableCssColorScheme:h,shouldSkipGeneratingVar:d,getSelector:(l=O=e.reduce((t,e)=>(0,i.A)(t,e),O),(t,e)=>{let r=l.rootSelector||":root",n=l.colorSchemeSelector,i=n;if("class"===n&&(i=".%s"),"data"===n&&(i="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(i=`[${n}="%s"]`),l.defaultColorScheme===t){if("dark"===t){let n,o={};return((n=l.cssVarPrefix,[...[...Array(25)].map((t,e)=>`--${n?`${n}-`:""}overlays-${e}`),`--${n?`${n}-`:""}palette-AppBar-darkBg`,`--${n?`${n}-`:""}palette-AppBar-darkColor`]).forEach(t=>{o[t]=e[t],delete e[t]}),"media"===i)?{[r]:e,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:e}:{[r]:{...e,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:e}};if(i)return i.replace("%s",String(t))}return r})},{vars:R,generateThemeVars:E,generateStyleSheets:B}=S(O,L);return O.vars=R,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([t,e])=>{O[t]=e}),O.generateThemeVars=E,O.generateStyleSheets=B,O.generateSpacing=function(){return(0,x.A)(m.spacing,(0,b.LX)(this))},O.getColorSchemeSelector=function(t){return"media"===f?`@media (prefers-color-scheme: ${t})`:f?f.startsWith("data-")&&!f.includes("%s")?`[${f}="${t}"] &`:"class"===f?`.${t} &`:"data"===f?`[data-${t}] &`:`${f.replace("%s",t)} &`:"&"},O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=d,O.unstable_sxConfig={...k.A,...m?.unstable_sxConfig},O.unstable_sx=function(t){return(0,T.A)({sx:t,theme:this})},O.toRuntimeSource=N,O}({...u,colorSchemes:p,defaultColorScheme:c,..."boolean"!=typeof a&&a},...e)}},DS(t,e,r){"use strict";e.A=(0,r("cl").A)()},D8(t,e,r){"use strict";r.d(e,{},{A:function(t){return Math.round(10*(t<1?5.11916*t**2:4.5*Math.log(t+1)+2))/1e3}})},Bi(t,e){"use strict";e.A="$$material"},U2(t,e,r){"use strict";var n=r("pG");e.A=t=>(0,n.A)(t)&&"classes"!==t},pG(t,e){"use strict";e.A=function(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}},b4(t,e,r){"use strict";var n=r("Nf"),i=r("DS"),o=r("Bi"),a=r("U2");e.A=(0,n.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:a.A})},Jq(t,e,r){"use strict";r("HE");var n=r("SH"),i=r("DS"),o=r("Bi");r.d(e,{},{A:function(){let t=(0,n.A)(i.A);return t[o.A]||t}})},qr(t,e,r){"use strict";r.d(e,{},{c:function(t,e){let{timeout:r,easing:n,style:i={}}=t;return{duration:i.transitionDuration??("number"==typeof r?r:r[e.mode]||0),easing:i.transitionTimingFunction??("object"==typeof n?n[e.mode]:n),delay:i.transitionDelay}},q:t=>t.scrollTop})},CQ(t,e,r){"use strict";e.A=r("e0").A},ja(t,e,r){"use strict";r.d(e,{},{A:function(t=[]){return([,e])=>e&&function(t,e=[]){if("string"!=typeof t.main)return!1;for(let r of e)if(!t.hasOwnProperty(r)||"string"!=typeof t[r])return!1;return!0}(e,t)}})},Va(t,e,r){"use strict";r.d(e,{A:()=>m});var n=r("HE"),i=r("x6"),o=r("I4"),a=r("CQ"),s=r("b4"),l=r("Yb"),u=r("WN"),c=r("O2"),h=r("kZ");function p(t){return(0,h.Ay)("MuiSvgIcon",t)}(0,c.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var d=r("P2");let f=(0,s.A)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,"inherit"!==r.color&&e[`color${(0,a.A)(r.color)}`],e[`fontSize${(0,a.A)(r.fontSize)}`]]}})((0,l.A)(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:t.transitions?.create?.("fill",{duration:(t.vars??t).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:t.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:t.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,t])=>t&&t.main).map(([e])=>({props:{color:e},style:{color:(t.vars??t).palette?.[e]?.main}})),{props:{color:"action"},style:{color:(t.vars??t).palette?.action?.active}},{props:{color:"disabled"},style:{color:(t.vars??t).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),g=n.forwardRef(function(t,e){let r=(0,u.b)({props:t,name:"MuiSvgIcon"}),{children:s,className:l,color:c="inherit",component:h="svg",fontSize:g="medium",htmlColor:m,inheritViewBox:y=!1,titleAccess:v,viewBox:_="0 0 24 24",...x}=r,b=n.isValidElement(s)&&"svg"===s.type,A={...r,color:c,component:h,fontSize:g,instanceFontSize:t.fontSize,inheritViewBox:y,viewBox:_,hasSvgAsChild:b},w={};y||(w.viewBox=_);let S=(t=>{let{color:e,fontSize:r,classes:n}=t,i={root:["root","inherit"!==e&&`color${(0,a.A)(e)}`,`fontSize${(0,a.A)(r)}`]};return(0,o.A)(i,p,n)})(A);return(0,d.jsxs)(f,{as:h,className:(0,i.A)(S.root,l),focusable:"false",color:m,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:e,...w,...x,...b&&s.props,ownerState:A,children:[b?s.props.children:s,v?(0,d.jsx)("title",{children:v}):null]})});function m(t,e){function r(r,n){return(0,d.jsx)(g,{"data-testid":`${e}Icon`,ref:n,...r,children:t})}return r.muiName=g.muiName,n.memo(n.forwardRef(r))}g.muiName="SvgIcon"},cH(t,e,r){"use strict";e.A=r("zs").A},nP(t,e){"use strict";e.A=function(t){return"string"==typeof t}},tu(t,e,r){"use strict";e.A=r("Xs").A},Yb(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r("xw");let i={theme:void 0};var o=function(t){let e,r;return function(o){let a=e;return(void 0===a||o.theme!==r)&&(i.theme=o.theme,e=a=(0,n.A)(t(i)),r=o.theme),a}}},TB(t,e,r){"use strict";var n=r("x6");r.d(e,{},{A:function(t,e){if(!t)return e;if("function"==typeof t||"function"==typeof e)return r=>{let i="function"==typeof e?e(r):e,o="function"==typeof t?t({...r,...i}):t,a=(0,n.A)(r?.className,i?.className,o?.className);return{...i,...o,...!!a&&{className:a},...i?.style&&o?.style&&{style:{...i.style,...o.style}},...i?.sx&&o?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(o.sx)?o.sx:[o.sx]]}}};let r=(0,n.A)(e?.className,t?.className);return{...e,...t,...!!r&&{className:r},...e?.style&&t?.style&&{style:{...e.style,...t.style}},...e?.sx&&t?.sx&&{sx:[...Array.isArray(e.sx)?e.sx:[e.sx],...Array.isArray(t.sx)?t.sx:[t.sx]]}}}})},zI(t,e,r){"use strict";e.A=r("x3").A},Rd(t,e,r){"use strict";e.A=r("bQ").A},o0(t,e,r){"use strict";e.A=r("Ij").A},i(t,e,r){"use strict";e.A=r("A8").A},LF(t,e,r){"use strict";e.A=r("yx").A},Dd(t,e,r){"use strict";e.A=r("Ih").A},Rq(t,e,r){"use strict";var n=r("Ih"),i=r("Ia"),o=r("Ev"),a=r("bL");r.d(e,{},{A:function(t,e){let{className:r,elementType:s,ownerState:l,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:h=!1,...p}=e,{component:d,slots:f={[t]:void 0},slotProps:g={[t]:void 0},...m}=u,y=f[t]||s,v=(0,o.A)(g[t],l),{props:{component:_,...x},internalRef:b}=(0,a.A)({className:r,...p,externalForwardedProps:"root"===t?m:void 0,externalSlotProps:v}),A=(0,n.A)(b,v?.ref,e.ref),w="root"===t?_||d:_,S=(0,i.A)(y,{..."root"===t&&!d&&!f[t]&&c,..."root"!==t&&!f[t]&&c,...x,...w&&!h&&{as:w},...w&&h&&{component:w},ref:A},l);return[y,S]}})},GS(t,e,r){"use strict";r.d(e,{Dp:()=>f,Dg:()=>g}),r("HE");var n=r("nG"),i=r("F9"),o=r("uW"),a=r("P2");function s(t){let{styles:e,defaultTheme:r={}}=t,n="function"==typeof e?t=>e(null==t||0===Object.keys(t).length?r:t):e;return(0,a.jsx)(o.Global,{styles:n})}var l=r("SH");function u(t){let e=(0,i.tT)(t);return t!==e&&e.styles?(e.styles.match(/^@layer\s+[^{]*$/)||(e.styles=`@layer global{${e.styles}}`),e):t}var c=function({styles:t,themeId:e,defaultTheme:r={}}){let n=(0,l.A)(r),i=e&&n[e]||n,o="function"==typeof t?t(i):t;return i.modularCssLayers&&(o=Array.isArray(o)?o.map(t=>"function"==typeof t?u(t(i)):u(t)):u(o)),(0,a.jsx)(s,{styles:o})},h=r("DS"),p=r("Bi"),d=function(t){return(0,a.jsx)(c,{...t,defaultTheme:h.A,themeId:p.A})};function f(t){return function(e){return(0,a.jsx)(d,{styles:"function"==typeof t?r=>t({theme:r,...e}):t})}}function g(){return n.A}},F9(t,e,r){"use strict";var n=r("E"),i=r("Bv");r("uW");let o=[];r.d(e,{},{Ay:function(t,e){return(0,n.default)(t,e)},HX:function(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},tT:function(t){return o[0]=t,(0,i.J)(o)}})},Cn(t,e,r){"use strict";var n=r("HE");r("P2");let i=n.createContext();r.d(e,{},{I:()=>n.useContext(i)??!1})},Fy(t,e,r){"use strict";var n=r("vB"),i=r("V");let o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${o[t]}px)`},s={containerQueries:t=>({up:e=>{let r="number"==typeof e?e:o[e]||e;return"number"==typeof r&&(r=`${r}px`),t?`@container ${t} (min-width:${r})`:`@container (min-width:${r})`}})};function l(t={}){return t.keys?.reduce((e,r)=>(e[t.up(r)]={},e),{})||{}}function u(t,e){return t.reduce((t,e)=>{let r=t[e];return r&&0!==Object.keys(r).length||delete t[e],t},e)}r.d(e,{},{EU:l,NI:function(t,e,r){let n=t.theme||{};if(Array.isArray(e)){let t=n.breakpoints||a;return e.reduce((n,i,o)=>(n[t.up(t.keys[o])]=r(e[o]),n),{})}if("object"==typeof e){let t=n.breakpoints||a;return Object.keys(e).reduce((a,l)=>{if((0,i.ob)(t.keys,l)){let t=(0,i.CT)(n.containerQueries?n:s,l);t&&(a[t]=r(e[l],l))}else Object.keys(t.values||o).includes(l)?a[t.up(l)]=r(e[l],l):a[l]=e[l];return a},{})}return r(e)},iZ:function(t,...e){let r=l(t),i=[r,...e].reduce((t,e)=>(0,n.A)(t,e),{});return u(Object.keys(r),i)},kW:function({values:t,breakpoints:e,base:r}){let n,i=Object.keys(r||function(t,e){if("object"!=typeof t)return{};let r={},n=Object.keys(e);return Array.isArray(t)?n.forEach((e,n)=>{n<t.length&&(r[e]=!0)}):n.forEach(e=>{null!=t[e]&&(r[e]=!0)}),r}(t,e));return 0===i.length?t:i.reduce((e,r,i)=>(Array.isArray(t)?(e[r]=null!=t[i]?t[i]:t[n],n=i):"object"==typeof t?(e[r]=null!=t[r]?t[r]:t[n],n=r):e[r]=t,e),{})},vf:u,zu:o})},mI(t,e,r){"use strict";r.d(e,{X4:()=>h,e$:()=>d,eM:()=>c,YL:()=>l,a:()=>g,Cg:()=>p,Me:()=>a,Nd:()=>f,Y9:()=>y,j4:()=>m});var n=r("Z");function i(t,e=0,r=1){return function(t,e=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,r))}(t,e,r)}function o(t){let e;if(t.type)return t;if("#"===t.charAt(0)){var r;let e,n;return o((r=(r=t).slice(1),e=RegExp(`.{1,${r.length>=6?2:1}}`,"g"),(n=r.match(e))&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""))}let i=t.indexOf("("),a=t.substring(0,i);if(!["rgb","rgba","hsl","hsla","color"].includes(a))throw Error((0,n.A)(9,t));let s=t.substring(i+1,t.length-1);if("color"===a){if(e=(s=s.split(" ")).shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(e))throw Error((0,n.A)(10,e))}else s=s.split(",");return{type:a,values:s=s.map(t=>parseFloat(t)),colorSpace:e}}let a=(t,e)=>{try{let e;return(e=o(t)).values.slice(0,3).map((t,r)=>e.type.includes("hsl")&&0!==r?`${t}%`:t).join(" ")}catch(e){return t}};function s(t){let{type:e,colorSpace:r}=t,{values:n}=t;return e.includes("rgb")?n=n.map((t,e)=>e<3?parseInt(t,10):t):e.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=e.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${e}(${n})`}function l(t){let{values:e}=t=o(t),r=e[0],n=e[1]/100,i=e[2]/100,a=n*Math.min(i,1-i),l=(t,e=(t+r/30)%12)=>i-a*Math.max(Math.min(e-3,9-e,1),-1),u="rgb",c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===t.type&&(u+="a",c.push(e[3])),s({type:u,values:c})}function u(t){let e="hsl"===(t=o(t)).type||"hsla"===t.type?o(l(t)).values:t.values;return Number((.2126*(e=e.map(e=>("color"!==t.type&&(e/=255),e<=.03928?e/12.92:((e+.055)/1.055)**2.4)))[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t,e){let r=u(t),n=u(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function h(t,e){return t=o(t),e=i(e),("rgb"===t.type||"hsl"===t.type)&&(t.type+="a"),"color"===t.type?t.values[3]=`/${e}`:t.values[3]=e,s(t)}function p(t,e,r){try{return h(t,e)}catch(e){return t}}function d(t,e){if(t=o(t),e=i(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]*=1-e;return s(t)}function f(t,e,r){try{return d(t,e)}catch(e){return t}}function g(t,e){if(t=o(t),e=i(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;else if(t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]+=(1-t.values[r])*e;return s(t)}function m(t,e,r){try{return g(t,e)}catch(e){return t}}function y(t,e,r){try{return function(t,e=.15){return u(t)>.5?d(t,e):g(t,e)}(t,e)}catch(e){return t}}},Nf(t,e,r){"use strict";var n=r("F9"),i=r("vB"),o=r("y"),a=r("SJ"),s=r("xw");let l=(0,o.A)();function u(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}function c(t,e){return e&&t&&"object"==typeof t&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${e}{${String(t.styles)}}`),t}function h(t,e,r){let i="function"==typeof e?e(t):e;if(Array.isArray(i))return i.flatMap(e=>h(t,e,r));if(Array.isArray(i?.variants)){let e;if(i.isProcessed)e=r?c(i.style,r):i.style;else{let{variants:t,...o}=i;e=r?c((0,n.tT)(o),r):o}return p(t,i.variants,[e],r)}return i?.isProcessed?r?c((0,n.tT)(i.style),r):i.style:r?c((0,n.tT)(i),r):i}function p(t,e,r=[],i){let o;t:for(let a=0;a<e.length;a+=1){let s=e[a];if("function"==typeof s.props){if(o??={...t,...t.ownerState,ownerState:t.ownerState},!s.props(o))continue}else for(let e in s.props)if(t[e]!==s.props[e]&&t.ownerState?.[e]!==s.props[e])continue t;"function"==typeof s.style?(o??={...t,...t.ownerState,ownerState:t.ownerState},r.push(i?c((0,n.tT)(s.style(o)),i):s.style(o))):r.push(i?c((0,n.tT)(s.style),i):s.style)}return r}r.d(e,{},{Ay:function(t={}){let{themeId:e,defaultTheme:r=l,rootShouldForwardProp:o=u,slotShouldForwardProp:d=u}=t;function f(t){t.theme=!function(t){for(let e in t)return!1;return!0}(t.theme)?t.theme[e]||t.theme:r}return(t,e={})=>{var r,l,g;(0,n.HX)(t,t=>t.filter(t=>t!==a.A));let{name:m,slot:y,skipVariantsResolver:v,skipSx:_,overridesResolver:x=!(r=(l=y)?l.charAt(0).toLowerCase()+l.slice(1):l)?null:(t,e)=>e[r],...b}=e,A=m&&m.startsWith("Mui")||y?"components":"custom",w=void 0!==v?v:y&&"Root"!==y&&"root"!==y||!1,S=_||!1,k=u;"Root"===y||"root"===y?k=o:y?k=d:"string"==typeof(g=t)&&g.charCodeAt(0)>96&&(k=void 0);let T=(0,n.Ay)(t,{shouldForwardProp:k,label:void 0,...b}),C=t=>{if(t.__emotion_real===t)return t;if("function"==typeof t)return function(e){return h(e,t,e.theme.modularCssLayers?A:void 0)};if((0,i.Q)(t)){let e=(0,s.A)(t);return function(t){return e.variants?h(t,e,t.theme.modularCssLayers?A:void 0):t.theme.modularCssLayers?c(e.style,A):e.style}}return t},M=(...e)=>{let r=[],n=e.map(C),i=[];if(r.push(f),m&&x&&i.push(function(t){let e=t.theme,r=e.components?.[m]?.styleOverrides;if(!r)return null;let n={};for(let e in r)n[e]=h(t,r[e],t.theme.modularCssLayers?"theme":void 0);return x(t,n)}),m&&!w&&i.push(function(t){let e=t.theme,r=e?.components?.[m]?.variants;return r?p(t,r,[],t.theme.modularCssLayers?"theme":void 0):null}),S||i.push(a.A),Array.isArray(n[0])){let t,e=n.shift(),o=Array(r.length).fill(""),a=Array(i.length).fill("");(t=[...o,...e,...a]).raw=[...o,...e.raw,...a],r.unshift(t)}let o=T(...r,...n,...i);return t.muiName&&(o.muiName=t.muiName),o};return T.withConfig&&(M.withConfig=T.withConfig),M}},MC:u})},W3(t,e,r){"use strict";var n=r("Lk");r.d(e,{},{A:function(t=8,e=(0,n.LX)({spacing:t})){if(t.mui)return t;let r=(...t)=>(0===t.length?[1]:t).map(t=>{let r=e(t);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}})},y(t,e,r){"use strict";r.d(e,{A:()=>c});var n=r("vB"),i=r("V"),o={borderRadius:4},a=r("W3"),s=r("SJ"),l=r("e7");function u(t,e){if(this.vars){if(!this.colorSchemes?.[t]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(t);return"&"===r?e:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:e})}return this.palette.mode===t?e:{}}var c=function(t={},...e){let{breakpoints:r={},palette:c={},spacing:h,shape:p={},...d}=t,f=function(t){let e,{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...o}=t,a=((e=Object.keys(r).map(t=>({key:t,val:r[t]}))||[]).sort((t,e)=>t.val-e.val),e.reduce((t,e)=>({...t,[e.key]:e.val}),{})),s=Object.keys(a);function l(t){let e="number"==typeof r[t]?r[t]:t;return`@media (min-width:${e}${n})`}function u(t){let e="number"==typeof r[t]?r[t]:t;return`@media (max-width:${e-i/100}${n})`}function c(t,e){let o=s.indexOf(e);return`@media (min-width:${"number"==typeof r[t]?r[t]:t}${n}) and (max-width:${(-1!==o&&"number"==typeof r[s[o]]?r[s[o]]:e)-i/100}${n})`}return{keys:s,values:a,up:l,down:u,between:c,only:function(t){return s.indexOf(t)+1<s.length?c(t,s[s.indexOf(t)+1]):l(t)},not:function(t){let e=s.indexOf(t);return 0===e?l(s[1]):e===s.length-1?u(s[e]):c(t,s[s.indexOf(t)+1]).replace("@media","@media not all and")},unit:n,...o}}(r),g=(0,a.A)(h),m=(0,n.A)({breakpoints:f,direction:"ltr",components:{},palette:{mode:"light",...c},spacing:g,shape:{...o,...p}},d);return(m=(0,i.Ay)(m)).applyStyles=u,(m=e.reduce((t,e)=>(0,n.A)(t,e),m)).unstable_sxConfig={...l.A,...d?.unstable_sxConfig},m.unstable_sx=function(t){return(0,s.A)({sx:t,theme:this})},m}},V(t,e,r){"use strict";r.d(e,{},{Ay:function(t){let e=(t,e)=>t.replace("@media",e?`@container ${e}`:"@container");function r(r,n){r.up=(...r)=>e(t.breakpoints.up(...r),n),r.down=(...r)=>e(t.breakpoints.down(...r),n),r.between=(...r)=>e(t.breakpoints.between(...r),n),r.only=(...r)=>e(t.breakpoints.only(...r),n),r.not=(...r)=>{let i=e(t.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}let n={},i=t=>(r(n,t),n);return r(i),{...t,containerQueries:i}},CT:function(t,e){let r=e.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return t.containerQueries(i).up(o)},_S:function(t,e){if(!t.containerQueries)return e;let r=Object.keys(e).filter(t=>t.startsWith("@container")).sort((t,e)=>{let r=/min-width:\s*([0-9.]+)/;return(t.match(r)?.[1]||0)-(e.match(r)?.[1]||0)});return r.length?r.reduce((t,r)=>{let n=e[r];return delete t[r],t[r]=n,t},{...e}):e},ob:function(t,e){return"@"===e||e.startsWith("@")&&(t.some(t=>e.startsWith(`@${t}`))||!!e.match(/^@\d/))}})},O5(t,e,r){"use strict";var n=r("vB");e.A=function(t,e){return e?(0,n.A)(t,e,{clone:!1}):t}},xw(t,e,r){"use strict";var n=r("F9");r.d(e,{},{A:function(t){let{variants:e,...r}=t,i={variants:e,style:(0,n.tT)(r),isProcessed:!0};return i.style===r||e&&e.forEach(t=>{"function"!=typeof t.style&&(t.style=(0,n.tT)(t.style))}),i}})},Lk(t,e,r){"use strict";let n;r.d(e,{LX:()=>m,MA:()=>g,_W:()=>y,Lc:()=>_,Ms:()=>x});var i,o=r("Fy"),a=r("Rx"),s=r("O5");let l={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},h=(i=t=>{if(t.length>2)if(!c[t])return[t];else t=c[t];let[e,r]=t.split(""),n=l[e],i=u[r]||"";return Array.isArray(i)?i.map(t=>n+t):[n+i]},n={},t=>(void 0===n[t]&&(n[t]=i(t)),n[t])),p=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...p,...d];function g(t,e,r,n){let i=(0,a.Yn)(t,e,!0)??r;return"number"==typeof i||"string"==typeof i?t=>"string"==typeof t?t:"string"==typeof i?`calc(${t} * ${i})`:i*t:Array.isArray(i)?t=>{if("string"==typeof t)return t;let e=i[Math.abs(t)];return t>=0?e:"number"==typeof e?-e:`-${e}`}:"function"==typeof i?i:()=>void 0}function m(t){return g(t,"spacing",8,"spacing")}function y(t,e){return"string"==typeof e||null==e?e:t(e)}function v(t,e){let r=m(t.theme);return Object.keys(t).map(n=>(function(t,e,r,n){var i;if(!e.includes(r))return null;let a=(i=h(r),t=>i.reduce((e,r)=>(e[r]=y(n,t),e),{})),s=t[r];return(0,o.NI)(t,s,a)})(t,e,n,r)).reduce(s.A,{})}function _(t){return v(t,p)}function x(t){return v(t,d)}function b(t){return v(t,f)}_.propTypes={},_.filterProps=p,x.propTypes={},x.filterProps=d,b.propTypes={},b.filterProps=f},Rx(t,e,r){"use strict";var n=r("e0"),i=r("Fy");function o(t,e,r=!0){if(!e||"string"!=typeof e)return null;if(t&&t.vars&&r){let r=`vars.${e}`.split(".").reduce((t,e)=>t&&t[e]?t[e]:null,t);if(null!=r)return r}return e.split(".").reduce((t,e)=>t&&null!=t[e]?t[e]:null,t)}function a(t,e,r,n=r){let i;return i="function"==typeof t?t(r):Array.isArray(t)?t[r]||n:o(t,r)||n,e&&(i=e(i,n,t)),i}e.Ay=function(t){let{prop:e,cssProperty:r=t.prop,themeKey:s,transform:l}=t,u=t=>{if(null==t[e])return null;let u=t[e],c=o(t.theme,s)||{};return(0,i.NI)(t,u,t=>{let i=a(c,l,t);return(t===i&&"string"==typeof t&&(i=a(c,l,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===r)?i:{[r]:i}})};return u.propTypes={},u.filterProps=[e],u},r.d(e,{},{BO:a,Yn:o})},e7(t,e,r){"use strict";r.d(e,{A:()=>R});var n=r("Lk"),i=r("Rx"),o=r("O5"),a=function(...t){let e=t.reduce((t,e)=>(e.filterProps.forEach(r=>{t[r]=e}),t),{}),r=t=>Object.keys(t).reduce((r,n)=>e[n]?(0,o.A)(r,e[n](t)):r,{});return r.propTypes={},r.filterProps=t.reduce((t,e)=>t.concat(e.filterProps),[]),r},s=r("Fy");function l(t){return"number"!=typeof t?t:`${t}px solid`}function u(t,e){return(0,i.Ay)({prop:t,themeKey:"borders",transform:e})}let c=u("border",l),h=u("borderTop",l),p=u("borderRight",l),d=u("borderBottom",l),f=u("borderLeft",l),g=u("borderColor"),m=u("borderTopColor"),y=u("borderRightColor"),v=u("borderBottomColor"),_=u("borderLeftColor"),x=u("outline",l),b=u("outlineColor"),A=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){let e=(0,n.MA)(t.theme,"shape.borderRadius",4,"borderRadius");return(0,s.NI)(t,t.borderRadius,t=>({borderRadius:(0,n._W)(e,t)}))}return null};A.propTypes={},A.filterProps=["borderRadius"],a(c,h,p,d,f,g,m,y,v,_,A,x,b);let w=t=>{if(void 0!==t.gap&&null!==t.gap){let e=(0,n.MA)(t.theme,"spacing",8,"gap");return(0,s.NI)(t,t.gap,t=>({gap:(0,n._W)(e,t)}))}return null};w.propTypes={},w.filterProps=["gap"];let S=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){let e=(0,n.MA)(t.theme,"spacing",8,"columnGap");return(0,s.NI)(t,t.columnGap,t=>({columnGap:(0,n._W)(e,t)}))}return null};S.propTypes={},S.filterProps=["columnGap"];let k=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){let e=(0,n.MA)(t.theme,"spacing",8,"rowGap");return(0,s.NI)(t,t.rowGap,t=>({rowGap:(0,n._W)(e,t)}))}return null};function T(t,e){return"grey"===e?e:t}function C(t){return t<=1&&0!==t?`${100*t}%`:t}k.propTypes={},k.filterProps=["rowGap"],a(w,S,k,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"})),a((0,i.Ay)({prop:"color",themeKey:"palette",transform:T}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:T}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:T}));let M=(0,i.Ay)({prop:"width",transform:C}),I=t=>void 0!==t.maxWidth&&null!==t.maxWidth?(0,s.NI)(t,t.maxWidth,e=>{let r=t.theme?.breakpoints?.values?.[e]||s.zu[e];return r?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${t.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:C(e)}}):null;I.filterProps=["maxWidth"];let D=(0,i.Ay)({prop:"minWidth",transform:C}),P=(0,i.Ay)({prop:"height",transform:C}),O=(0,i.Ay)({prop:"maxHeight",transform:C}),L=(0,i.Ay)({prop:"minHeight",transform:C});(0,i.Ay)({prop:"size",cssProperty:"width",transform:C}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:C}),a(M,I,D,P,O,L,(0,i.Ay)({prop:"boxSizing"}));var R={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:A},color:{themeKey:"palette",transform:T},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:T},backgroundColor:{themeKey:"palette",transform:T},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:w},rowGap:{style:k},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:C},maxWidth:{style:I},minWidth:{transform:C},height:{transform:C},maxHeight:{transform:C},minHeight:{transform:C},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},nG(t,e,r){"use strict";var n=r("vB"),i=r("e7");r.d(e,{},{A:function(t){let e,r,o,{sx:a,...s}=t,{systemProps:l,otherProps:u}=(r={systemProps:{},otherProps:{}},o=s?.theme?.unstable_sxConfig??i.A,Object.keys(s).forEach(t=>{o[t]?r.systemProps[t]=s[t]:r.otherProps[t]=s[t]}),r);return e=Array.isArray(a)?[l,...a]:"function"==typeof a?(...t)=>{let e=a(...t);return(0,n.Q)(e)?{...l,...e}:l}:{...l,...a},{...u,sx:e}}})},SJ(t,e,r){"use strict";var n=r("e0"),i=r("O5"),o=r("Rx"),a=r("Fy"),s=r("V"),l=r("e7");let u=function(){function t(t,e,r,i){let s={[t]:e,theme:r},l=i[t];if(!l)return{[t]:e};let{cssProperty:u=t,themeKey:c,transform:h,style:p}=l;if(null==e)return null;if("typography"===c&&"inherit"===e)return{[t]:e};let d=(0,o.Yn)(r,c)||{};return p?p(s):(0,a.NI)(s,e,e=>{let r=(0,o.BO)(d,h,e);return(e===r&&"string"==typeof e&&(r=(0,o.BO)(d,h,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===u)?r:{[u]:r}})}return function e(r){let{sx:n,theme:o={},nested:u}=r||{};if(!n)return null;let c=o.unstable_sxConfig??l.A;function h(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;let l=(0,a.EU)(o.breakpoints),h=Object.keys(l),p=l;return(Object.keys(n).forEach(r=>{var s;let l=(s=n[r],"function"==typeof s?s(o):s);if(null!=l)if("object"==typeof l)if(c[r])p=(0,i.A)(p,t(r,l,o,c));else{let t=(0,a.NI)({theme:o},l,t=>({[r]:t}));!function(...t){let e=new Set(t.reduce((t,e)=>t.concat(Object.keys(e)),[]));return t.every(t=>e.size===Object.keys(t).length)}(t,l)?p=(0,i.A)(p,t):p[r]=e({sx:l,theme:o,nested:!0})}else p=(0,i.A)(p,t(r,l,o,c))}),!u&&o.modularCssLayers)?{"@layer sx":(0,s._S)(o,(0,a.vf)(h,p))}:(0,s._S)(o,(0,a.vf)(h,p))}return Array.isArray(n)?n.map(h):h(n)}}();u.filterProps=["sx"],e.A=u},SH(t,e,r){"use strict";var n=r("y"),i=r("l");let o=(0,n.A)();e.A=function(t=o){return(0,i.A)(t)}},l(t,e,r){"use strict";var n=r("HE"),i=r("uW");e.A=function(t=null){let e=n.useContext(i.ThemeContext);return e&&0!==Object.keys(e).length?e:t}},th(t,e){"use strict";let r,n=t=>t;r=n,e.A={configure(t){r=t},generate:t=>r(t),reset(){r=n}}},Ia(t,e,r){"use strict";r.d(e,{A:()=>n});var n=function(t,e,r){return void 0===t||"string"==typeof t?e:{...e,ownerState:{...e.ownerState,...r}}}},e0(t,e,r){"use strict";var n=r("Z");r.d(e,{},{A:function(t){if("string"!=typeof t)throw Error((0,n.A)(7));return t.charAt(0).toUpperCase()+t.slice(1)}})},I4(t,e,r){"use strict";r.d(e,{},{A:function(t,e,r){let n={};for(let i in t){let o=t[i],a="",s=!0;for(let t=0;t<o.length;t+=1){let n=o[t];n&&(a+=(!0===s?"":" ")+e(n),s=!1,r&&r[n]&&(a+=" "+r[n]))}n[i]=a}return n}})},PT(t,e,r){"use strict";r.d(e,{},{A:function(...t){return t.reduce((t,e)=>null==e?t:function(...r){t.apply(this,r),e.apply(this,r)},()=>{})}})},zs(t,e,r){"use strict";r.d(e,{},{A:function(t,e=166){let r;function n(...i){let o=()=>{t.apply(this,i)};clearTimeout(r),r=setTimeout(o,e)}return n.clear=()=>{clearTimeout(r)},n}})},vB(t,e,r){"use strict";var n=r("HE"),i=r("Oy");function o(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)}r.d(e,{},{A:function t(e,r,a={clone:!0}){let s=a.clone?{...e}:e;return o(e)&&o(r)&&Object.keys(r).forEach(l=>{n.isValidElement(r[l])||(0,i.Hy)(r[l])?s[l]=r[l]:o(r[l])&&Object.prototype.hasOwnProperty.call(e,l)&&o(e[l])?s[l]=t(e[l],r[l],a):a.clone?s[l]=o(r[l])?function t(e){if(n.isValidElement(e)||(0,i.Hy)(e)||!o(e))return e;let r={};return Object.keys(e).forEach(n=>{r[n]=t(e[n])}),r}(r[l]):r[l]:s[l]=r[l]}),s},Q:o})},kE(t,e){"use strict";e.A=function(t,e=[]){if(void 0===t)return{};let r={};return Object.keys(t).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof t[r]&&!e.includes(r)).forEach(e=>{r[e]=t[e]}),r}},Z(t,e,r){"use strict";r.d(e,{},{A:function(t,...e){let r=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(t=>r.searchParams.append("args[]",t)),`Minified MUI error #${t}; visit ${r} for the full message.`}})},kZ(t,e,r){"use strict";var n=r("th");let i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};r.d(e,{},{Ay:function(t,e,r="Mui"){let o=i[e];return o?`${r}-${o}`:`${n.A.generate(t)}-${e}`}})},O2(t,e,r){"use strict";var n=r("kZ");r.d(e,{},{A:function(t,e,r="Mui"){let i={};return e.forEach(e=>{i[e]=(0,n.Ay)(t,e,r)}),i}})},TA(t,e,r){"use strict";var n=r("HE");r.d(e,{},{A:function(t){return parseInt(n.version,10)>=19?t?.props?.ref||null:t?.ref||null}})},aS(t,e,r){"use strict";r.d(e,{},{A:function(t=window){let e=t.document.documentElement.clientWidth;return t.innerWidth-e}})},DB(t,e,r){"use strict";r.d(e,{},{A:function(t){try{return t.matches(":focus-visible")}catch(t){}return!1}})},Xs(t,e,r){"use strict";var n=r("HE");r.d(e,{},{A:function(t,e){return n.isValidElement(t)&&-1!==e.indexOf(t.type.muiName??t.type?._payload?.value?.muiName)}})},bL(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r("x6"),i=r("kE"),o=function(t){if(void 0===t)return{};let e={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&"function"==typeof t[e])).forEach(r=>{e[r]=t[r]}),e},a=function(t){let{getSlotProps:e,additionalProps:r,externalSlotProps:a,externalForwardedProps:s,className:l}=t;if(!e){let t=(0,n.A)(r?.className,l,s?.className,a?.className),e={...r?.style,...s?.style,...a?.style},i={...r,...s,...a};return t.length>0&&(i.className=t),Object.keys(e).length>0&&(i.style=e),{props:i,internalRef:void 0}}let u=(0,i.A)({...s,...a}),c=o(a),h=o(s),p=e(u),d=(0,n.A)(p?.className,r?.className,l,s?.className,a?.className),f={...p?.style,...r?.style,...s?.style,...a?.style},g={...p,...r,...h,...c};return d.length>0&&(g.className=d),Object.keys(f).length>0&&(g.style=f),{props:g,internalRef:p.ref}}},x3(t,e,r){"use strict";r.d(e,{},{A:function(t){return t&&t.ownerDocument||document}})},bQ(t,e,r){"use strict";var n=r("x3");r.d(e,{},{A:function(t){return(0,n.A)(t).defaultView||window}})},Ev(t,e){"use strict";e.A=function(t,e,r){return"function"==typeof t?t(e,r):t}},Hz(t,e,r){"use strict";r.d(e,{},{A:function t(e,r){let n={...r};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i))if("components"===i||"slots"===i)n[i]={...e[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){let o=e[i],a=r[i];if(a)if(o)for(let e in n[i]={...a},o)Object.prototype.hasOwnProperty.call(o,e)&&(n[i][e]=t(o[e],a[e]));else n[i]=a;else n[i]=o||{}}else void 0===n[i]&&(n[i]=e[i]);return n}})},DA(t,e,r){"use strict";r.d(e,{},{A:function(t,e){"function"==typeof t?t(e):t&&(t.current=e)}})},Ij(t,e,r){"use strict";var n=r("HE");r.d(e,{},{A:function({controlled:t,default:e,name:r,state:i="value"}){let{current:o}=n.useRef(void 0!==t),[a,s]=n.useState(e),l=n.useCallback(t=>{o||s(t)},[]);return[o?t:a,l]}})},A8(t,e,r){"use strict";var n=r("HE");e.A="u">typeof window?n.useLayoutEffect:n.useEffect},yx(t,e,r){"use strict";var n=r("HE"),i=r("A8");e.A=function(t){let e=n.useRef(t);return(0,i.A)(()=>{e.current=t}),n.useRef((...t)=>(0,e.current)(...t)).current}},Ih(t,e,r){"use strict";var n=r("HE");r.d(e,{},{A:function(...t){let e=n.useRef(void 0),r=n.useCallback(e=>{let r=t.map(t=>{if(null==t)return null;if("function"==typeof t){let r=t(e);return"function"==typeof r?r:()=>{t(null)}}return t.current=e,()=>{t.current=null}});return()=>{r.forEach(t=>t?.())}},t);return n.useMemo(()=>t.every(t=>null==t)?null:t=>{e.current&&(e.current(),e.current=void 0),null!=t&&(e.current=r(t))},t)}})},uF(t,e,r){"use strict";var n,i=r("HE");let o=0,a={...n||(n=r.t(i,2))}.useId;r.d(e,{},{A:function(t){if(void 0!==a){let e=a();return t??e}return function(t){let[e,r]=i.useState(t),n=t||e;return i.useEffect(()=>{null==e&&(o+=1,r(`mui-${o}`))},[e]),n}(t)}})},N7(t,e,r){"use strict";var n=r("HE");let i={};r.d(e,{},{A:function(t,e){let r=n.useRef(i);return r.current===i&&(r.current=t(e)),r}})},tT(t,e,r){"use strict";var n=r("Ih"),i=r("Ia"),o=r("bL"),a=r("Ev");e.A=function(t){let{elementType:e,externalSlotProps:r,ownerState:s,skipResolvingSlotProps:l=!1,...u}=t,c=l?{}:(0,a.A)(r,s),{props:h,internalRef:p}=(0,o.A)({...u,externalSlotProps:c}),d=(0,n.A)(p,c?.ref,t.additionalProps?.ref);return(0,i.A)(e,{...h,ref:d},s)}},g0(t,e,r){"use strict";r.d(e,{E:()=>a,A:()=>s});var n=r("N7"),i=r("HE");let o=[];class a{static create(){return new a}currentId=null;start(t,e){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,e()},t)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function s(){var t;let e=(0,n.A)(a.create).current;return t=e.disposeEffect,i.useEffect(t,o),e}},i4(t,e,r){"use strict";var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};r.d(e,{},{C6:function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}})},K2(t,e,r){"use strict";let n,i;var o,a,s=Object.create,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,h=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,d=(t,e,r,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let i of c(e))p.call(t,i)||i===r||l(t,i,{get:()=>e[i],enumerable:!(n=u(e,i))||n.enumerable});return t},f={},g={$dispatcherGuard:()=>M,$makeReadOnly:()=>D,$reset:()=>I,$structuralCheck:()=>E,c:()=>w,clearRenderCounterRegistry:()=>O,renderCounterRegistry:()=>P,useRenderCounter:()=>L};for(var m in g)l(f,m,{get:g[m],enumerable:!0});t.exports=d(l({},"__esModule",{value:!0}),f);var y=(i=null!=(n=r("HE"))?s(h(n)):{},d(n&&n.__esModule?i:l(i,"default",{value:n,enumerable:!0}),n)),{useRef:v,useEffect:_,isValidElement:x}=y,b=null!=(o=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?o:y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=Symbol.for("react.memo_cache_sentinel"),w="function"==typeof(null==(a=y.__COMPILER_RUNTIME)?void 0:a.c)?y.__COMPILER_RUNTIME.c:function(t){return y.useMemo(()=>{let e=Array(t);for(let r=0;r<t;r++)e[r]=A;return e[A]=!0,e},[])},S={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(t=>{S[t]=()=>{throw Error(`[React] Unexpected React hook call (${t}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var k=null;function T(t){return b.ReactCurrentDispatcher.current=t,b.ReactCurrentDispatcher.current}S.useMemoCache=t=>{if(null!=k)return k.useMemoCache(t);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var C=[];function M(t){let e=b.ReactCurrentDispatcher.current;if(0===t){if(C.push(e),1===C.length&&(k=e),e===S)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");T(S)}else if(1===t){let t=C.pop();if(null==t)throw Error("React Compiler internal error: unexpected null in guard stack");0===C.length&&(k=null),T(t)}else if(2===t)C.push(e),T(k);else if(3===t){let t=C.pop();if(null==t)throw Error("React Compiler internal error: unexpected null in guard stack");T(t)}else throw Error("React Compiler internal error: unreachable block"+t)}function I(t){for(let e=0;e<t.length;e++)t[e]=A}function D(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var P=new Map;function O(){for(let t of P.values())t.forEach(t=>{t.count=0})}function L(t){let e=v(null);null!=e.current&&(e.current.count+=1),_(()=>{if(null==e.current){let r,n={count:0};null==(r=P.get(t))&&(r=new Set,P.set(t,r)),r.add(n),e.current=n}return()=>{var r;let n;null!==e.current&&(r=e.current,null!=(n=P.get(t))&&n.delete(r))}})}var R=new Set;function E(t,e,r,n,i,o){function a(t,e,a,s){let l=`${n}:${o} [${i}] ${r}${a} changed from ${t} to ${e} at depth ${s}`;R.has(l)||(R.add(l),console.error(l))}!function t(e,r,n,i){if(!(i>2)){if(e!==r)if(typeof e!=typeof r)a(`type ${typeof e}`,`type ${typeof r}`,n,i);else if("object"==typeof e){let o=Array.isArray(e),s=Array.isArray(r);if(null===e&&null!==r)a("null",`type ${typeof r}`,n,i);else if(null===r)a(`type ${typeof e}`,"null",n,i);else if(e instanceof Map)if(r instanceof Map)if(e.size!==r.size)a(`Map instance with size ${e.size}`,`Map instance with size ${r.size}`,n,i);else for(let[o,s]of e)r.has(o)?t(s,r.get(o),`${n}.get(${o})`,i+1):a(`Map instance with key ${o}`,`Map instance without key ${o}`,n,i);else a("Map instance","other value",n,i);else if(r instanceof Map)a("other value","Map instance",n,i);else if(e instanceof Set)if(r instanceof Set)if(e.size!==r.size)a(`Set instance with size ${e.size}`,`Set instance with size ${r.size}`,n,i);else for(let t of r)e.has(t)||a(`Set instance without element ${t}`,`Set instance with element ${t}`,n,i);else a("Set instance","other value",n,i);else if(r instanceof Set)a("other value","Set instance",n,i);else if(o||s)if(o!==s)a(`type ${o?"array":"object"}`,`type ${s?"array":"object"}`,n,i);else if(e.length!==r.length)a(`array with length ${e.length}`,`array with length ${r.length}`,n,i);else for(let o=0;o<e.length;o++)t(e[o],r[o],`${n}[${o}]`,i+1);else if(x(e)||x(r))x(e)!==x(r)?a(`type ${x(e)?"React element":"object"}`,`type ${x(r)?"React element":"object"}`,n,i):e.type!==r.type?a(`React element of type ${e.type}`,`React element of type ${r.type}`,n,i):t(e.props,r.props,`[props of ${n}]`,i+1);else{for(let t in r)t in e||a(`object without key ${t}`,`object with key ${t}`,n,i);for(let o in e)o in r?t(e[o],r[o],`${n}.${o}`,i+1):a(`object with key ${o}`,`object without key ${o}`,n,i)}}else{if("function"==typeof e)return;isNaN(e)||isNaN(r)?isNaN(e)!==isNaN(r)&&a(`${isNaN(e)?"NaN":"non-NaN value"}`,`${isNaN(r)?"NaN":"non-NaN value"}`,n,i):e!==r&&a(e,r,n,i)}}}(t,e,"",0)}},Oy(t,e){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");e.Hy=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===a||t===o||t===c||t===h||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===p||t.$$typeof===l||t.$$typeof===s||t.$$typeof===u||t.$$typeof===g||void 0!==t.getModuleId)||!1}},nX(t,e,r){"use strict";r.d(e,{Ay:()=>m});var n=r("rS"),i=r("h"),o=r("HE"),a=r("A"),s=r("NM"),l=r("qa"),u="unmounted",c="exited",h="entering",p="entered",d="exiting",f=function(t){function e(e,r){var n,i=t.call(this,e,r)||this,o=r&&!r.isMounting?e.enter:e.appear;return i.appearStatus=null,e.in?o?(n=c,i.appearStatus=h):n=p:n=e.unmountOnExit||e.mountOnEnter?u:c,i.state={status:n},i.nextCallback=null,i}(0,i.A)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===u?{status:c}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==h&&r!==p&&(e=h):(r===h||r===p)&&(e=d)}this.updateStatus(!1,e)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},r.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);r&&(0,l.F)(r)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},r.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,i=this.props.nodeRef?[n]:[a.findDOMNode(this),n],o=i[0],s=i[1],l=this.getTimeouts(),u=n?l.appear:l.enter;(t||r)&&1?(this.props.onEnter(o,s),this.safeSetState({status:h},function(){e.props.onEntering(o,s),e.onTransitionEnd(u,function(){e.safeSetState({status:p},function(){e.props.onEntered(o,s)})})})):this.safeSetState({status:p},function(){e.props.onEntered(o)})},r.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:a.findDOMNode(this);e?(this.props.onExit(n),this.safeSetState({status:d},function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:c},function(){t.props.onExited(n)})})})):this.safeSetState({status:c},function(){t.props.onExited(n)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},r.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=t&&setTimeout(this.nextCallback,t)},r.render=function(){var t=this.state.status;if(t===u)return null;var e=this.props,r=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,(0,n.A)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(s.A.Provider,{value:null},"function"==typeof r?r(t,i):o.cloneElement(o.Children.only(r),i))},e}(o.Component);function g(){}f.contextType=s.A,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},f.UNMOUNTED=u,f.EXITED=c,f.ENTERING=h,f.ENTERED=p,f.EXITING=d;var m=f},j6(t,e,r){"use strict";r.d(e,{A:()=>p});var n=r("rS"),i=r("I"),o=r("h"),a=r("HE"),s=r("NM");function l(t,e){var r=Object.create(null);return t&&a.Children.map(t,function(t){return t}).forEach(function(t){r[t.key]=e&&(0,a.isValidElement)(t)?e(t):t}),r}function u(t,e,r){return null!=r[e]?r[e]:t.props[e]}var c=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},h=function(t){function e(e,r){var n=t.call(this,e,r)||this,i=n.handleExited.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,o.A)(e,t);var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var r,n,i=e.children,o=e.handleExited;return{children:e.firstRender?l(t.children,function(e){return(0,a.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:u(e,"appear",t),enter:u(e,"enter",t),exit:u(e,"exit",t)})}):(Object.keys(n=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in e){if(i[l])for(n=0;n<i[l].length;n++){var u=i[l][n];s[i[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(i,r=l(t.children))).forEach(function(e){var s=n[e];if((0,a.isValidElement)(s)){var l=e in i,c=e in r,h=i[e],p=(0,a.isValidElement)(h)&&!h.props.in;c&&(!l||p)?n[e]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:!0,exit:u(s,"exit",t),enter:u(s,"enter",t)}):c||!l||p?c&&l&&(0,a.isValidElement)(h)&&(n[e]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:h.props.in,exit:u(s,"exit",t),enter:u(s,"enter",t)})):n[e]=(0,a.cloneElement)(s,{in:!1})}}),n),firstRender:!1}},r.handleExited=function(t,e){var r=l(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var r=(0,i.A)({},e.children);return delete r[t.key],{children:r}}))},r.render=function(){var t=this.props,e=t.component,r=t.childFactory,i=(0,n.A)(t,["component","childFactory"]),o=this.state.contextValue,l=c(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===e)?a.createElement(s.A.Provider,{value:o},l):a.createElement(s.A.Provider,{value:o},a.createElement(e,i,l))},e}(a.Component);h.propTypes={},h.defaultProps={component:"div",childFactory:function(t){return t}};var p=h},NM(t,e,r){"use strict";e.A=r("HE").createContext(null)},qa(t,e,r){"use strict";r.d(e,{},{F:function(t){return t.scrollTop}})},SJG(t,e,r){"use strict";var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};r.d(e,{},{C6:function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}})},I(t,e,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(null,arguments)}r.d(e,{A:()=>n})},h(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,n(t,e)}r.d(e,{A:()=>i})},rS(t,e,r){"use strict";r.d(e,{},{A:function(t,e){if(null==t)return{};var r={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}})},x6(t,e){"use strict";e.A=function(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=function t(e){var r,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(n=t(e[r]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}(t))&&(n&&(n+=" "),n+=e);return n}},W5(t,e,r){"use strict";var n=r("iY"),i=(0,r("xN").$r)();function o(t,e,r,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,p=void 0;return i?(c=(0,n.bZ)(i.duration,200),h=(0,n.bZ)(i.easing,"cubicOut"),p=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(p=a.delay)),(0,n.Tn)(p)&&(p=p(r,o)),(0,n.Tn)(c)&&(c=c(r)),{duration:c||0,delay:p,easing:h}}function a(t,e,r,i,a,s,l){var u,c=!1;(0,n.Tn)(a)?(l=s,s=a,a=null):(0,n.Gv)(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 p=o(t,i,a,h?u||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var d={duration:p.duration,delay:p.delay||0,easing:p.easing,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};c?e.animateFrom(r,d):e.animateTo(r,d)}else e.stopAnimation(),c||e.attr(r),l&&l(1),s&&s()}function s(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 l(t,e,r,n,i,o){s(t)||a("leave",t,e,r,n,i,o)}function u(t,e,r,n){t.removeTextContent(),t.removeTextGuideLine(),l(t,{style:{opacity:0}},e,r,n)}r.d(e,{},{Jw:o,LR:s,LW:function(t,e,r,n,i,o){a("enter",t,e,r,n,i,o)},Nz:l,ap:function(t){i(t).oldStyle=t.style},oi:function(t,e,r,n,i,o){a("update",t,e,r,n,i,o)},t5:function(t,e,r){function n(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||u(t,e,r,n)}):u(t,e,r,n)}})},LV(t,e,r){"use strict";var n={};r.d(e,{},{Z:function(t){return n[t]},m:function(t,e){n[t]=e}})},yw(t,e,r){"use strict";var n=r("i4"),i=r("up"),o=r("jZ"),a=r("W5"),s=r("FL"),l=r("LP"),u=r("g2"),c=r("iY"),h=r("F4"),p=r("s5");function d(t,e){this.parent.drift(t,e)}e.A=function(t){function e(e,r,n,i){var o=t.call(this)||this;return o.updateData(e,r,n,i),o}return(0,n.C6)(e,t),e.prototype._createSymbol=function(t,e,r,n,o,a){this.removeAll();var s=(0,i.v5)(t,-1,-1,2,2,null,a);s.attr({z2:(0,c.bZ)(o,100),culling:!0,scaleX:n[0]/2,scaleY:n[1]/2}),s.drift=d,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){(0,l.HY)(this.childAt(0))},e.prototype.downplay=function(){(0,l.SD)(this.childAt(0))},e.prototype.setZ=function(t,e){var r=this.childAt(0);r.zlevel=t,r.z=e},e.prototype.setDraggable=function(t,e){var r=this.childAt(0);r.draggable=t,r.cursor=!e&&t?"move":r.cursor},e.prototype.updateData=function(t,r,n,i){this.silent=!1;var o=t.getItemVisual(r,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,r),u=e.getSymbolZ2(t,r),c=o!==this._symbolType,h=i&&i.disableAnimation;if(c){var p=t.getItemVisual(r,"symbolKeepAspect");this._createSymbol(o,t,r,l,u,p)}else{var d=this.childAt(0);d.silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};h?d.attr(f):a.oi(d,f,s,r),(0,a.ap)(d)}if(this._updateCommon(t,r,l,n,i),c){var d=this.childAt(0);if(!h){var f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,a.LW(d,f,s,r)}}h&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,r,n,o){var a,s,d,f,g,m,y,v,_,x=this.childAt(0),b=t.hostModel;if(n&&(a=n.emphasisItemStyle,s=n.blurItemStyle,d=n.selectItemStyle,f=n.focus,g=n.blurScope,y=n.labelStatesModels,v=n.hoverScale,_=n.cursorStyle,m=n.emphasisDisabled),!n||t.hasItemOption){var A=n&&n.itemModel?n.itemModel:t.getItemModel(e),w=A.getModel("emphasis");a=w.getModel("itemStyle").getItemStyle(),d=A.getModel(["select","itemStyle"]).getItemStyle(),s=A.getModel(["blur","itemStyle"]).getItemStyle(),f=w.get("focus"),g=w.get("blurScope"),m=w.get("disabled"),y=(0,h.lx)(A),v=w.getShallow("scale"),_=A.getShallow("cursor")}var S=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(S||0)*Math.PI/180||0);var k=(0,i.hV)(t.getItemVisual(e,"symbolOffset"),r);k&&(x.x=k[0],x.y=k[1]),_&&x.attr("cursor",_);var T=t.getItemVisual(e,"style"),C=T.fill;if(x instanceof p.Ay){var M=x.style;x.useStyle((0,c.X$)({image:M.image,x:M.x,y:M.y,width:M.width,height:M.height},T))}else x.__isEmptyBrush?x.useStyle((0,c.X$)({},T)):x.useStyle(T),x.style.decal=null,x.setColor(C,o&&o.symbolInnerColor),x.style.strokeNoScale=!0;var I=t.getItemVisual(e,"liftZ"),D=this._z2;null!=I?null==D&&(this._z2=x.z2,x.z2+=I):null!=D&&(x.z2=D,this._z2=null);var P=o&&o.useNameLabel;(0,h.qM)(x,y,{labelFetcher:b,labelDataIndex:e,defaultText:function(e){return P?t.getName(e):(0,u.i)(t,e)},inheritColor:C,defaultOpacity:T.opacity}),this._sizeX=r[0]/2,this._sizeY=r[1]/2;var O=x.ensureState("emphasis");O.style=a,x.ensureState("select").style=d,x.ensureState("blur").style=s;var L=null==v||!0===v?Math.max(1.1,3/this._sizeY):isFinite(v)&&v>0?+v:1;O.scaleX=this._sizeX*L,O.scaleY=this._sizeY*L,this.setSymbolScale(1),(0,l.Lm)(this,f,g,m)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,r){var n=this.childAt(0),i=(0,s.z)(this).dataIndex,o=r&&r.animation;if(this.silent=n.silent=!0,r&&r.fadeLabel){var l=n.getTextContent();l&&a.Nz(l,{style:{opacity:0}},e,{dataIndex:i,removeOpt:o,cb:function(){n.removeTextContent()}})}else n.removeTextContent();a.Nz(n,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,i.xU)(t.getItemVisual(e,"symbolSize"))},e.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},e}(o.A)},Hp(t,e,r){"use strict";var n=r("jZ"),i=r("W5"),o=r("w2"),a=r("yw"),s=r("iY"),l=r("F4");function u(t,e,r,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n&&n.isIgnore&&n.isIgnore(r))&&!(n&&n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(r,"symbol")}function c(t){return null==t||(0,s.Gv)(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel,r=e.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:(0,l.lx)(e),cursorStyle:e.get("cursor")}}function p(t,e,r,n,i,o,a){var s=new t(e,r,n,i);return s.setPosition(o),e.setItemGraphicEl(r,s),a.add(s),s}e.A=function(){function t(t){this.group=new n.A,this._SymbolCtor=t||a.A}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=c(e);var r=this.group,n=t.hostModel,o=this._data,a=this._SymbolCtor,s=e.disableAnimation,l=this._seriesScope=h(t),d={disableAnimation:s},f=e.getSymbolPoint||function(e){return t.getItemLayout(e)};o||r.removeAll(),t.diff(o).add(function(n){var i=f(n);u(t,i,n,e)&&p(a,t,n,l,d,i,r)}).update(function(c,h){var p=o.getItemGraphicEl(h),g=f(c);if(!u(t,g,c,e))return void r.remove(p);var m=t.getItemVisual(c,"symbol")||"circle",y=p&&p.getSymbolType&&p.getSymbolType();if(!p||y&&y!==m)r.remove(p),(p=new a(t,c,l,d)).setPosition(g);else{p.updateData(t,c,l,d);var v={x:g[0],y:g[1]};s?p.attr(v):i.oi(p,v,n)}r.add(p),t.setItemGraphicEl(c,p)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){r.remove(e)},n)}).execute(),this._getSymbolPoint=f,this._data=t},t.prototype.updateLayout=function(t){var e=this._data;if(e)for(var r=e.getStore(),n=0,i=r.count();n<i;n++){var o=e.getItemGraphicEl(n),a=this._getSymbolPoint(n);u(e,a,n,t)?((o=o||p(this._SymbolCtor,e,n,this._seriesScope,{disableAnimation:!0},a,this.group)).stopAnimation(),o.setPosition(a),o.markRedraw()):o&&(this.group.remove(o),e.setItemGraphicEl(n,null))}},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,r,n){function i(t){t.isGroup||(t.incremental=r,t.ensureState("emphasis").hoverLayer=o.HOVER_LAYER_FOR_INCREMENTAL)}this._progressiveEls=[],n=c(n);for(var a=t.start;a<t.end;a++){var s=e.getItemLayout(a);if(u(e,s,a,n)){var l=new this._SymbolCtor(e,a,this._seriesScope);l.traverse(i),l.setPosition(s),this.group.add(l),e.setItemGraphicEl(a,l),this._progressiveEls.push(l)}}},t.prototype.eachRendered=function(t){o.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,r=this._data;r&&t?r.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},r.hostModel)}):e.removeAll()},t}()},hH(t,e,r){"use strict";var n=r("Vb"),i=r("W5"),o=r("Qz"),a=r("MB"),s=r("iY");function l(t,e,r,o,a){var l=t.getArea(),u=l.x,c=l.y,h=l.width,p=l.height,d=r.get(["lineStyle","width"])||0;u-=d/2,c-=d/2,h+=d,p+=d,h=Math.ceil(h),u!==Math.floor(u)&&(u=Math.floor(u),h++);var f=new n.A({shape:{x:u,y:c,width:h,height:p}});if(e){var g=t.getBaseAxis(),m=g.isHorizontal(),y=g.inverse;m?(y&&(f.shape.x+=h),f.shape.width=0):(y||(f.shape.y+=p),f.shape.height=0);var v=(0,s.Tn)(a)?function(t){a(t,f)}:null;i.LW(f,{shape:{width:h,height:p,x:u,y:c}},r,null,o,v)}return f}function u(t,e,r){var n=t.getArea(),s=(0,a.LI)(n.r0,1),l=(0,a.LI)(n.r,1),u=new o.A({shape:{cx:(0,a.LI)(t.cx,1),cy:(0,a.LI)(t.cy,1),r0:s,r:l,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});return e&&("angle"===t.getBaseAxis().dim?u.shape.endAngle=n.startAngle:u.shape.r=s,i.LW(u,{shape:{endAngle:n.endAngle,r:l}},r)),u}r.d(e,{},{Ip:function(t,e,r,n,i){if(t){if("polar"===t.type)return u(t,e,r);else if("cartesian2d"===t.type)return l(t,e,r,n,i)}return null},Mi:u,SM:l,YQ:function(t){var e=t.coordinateSystem;if(t.get("clip",!0)&&e&&(!e.shouldClip||e.shouldClip()))return e.getArea&&e.getArea(.1)}})},yM(t,e,r){"use strict";var n=r("xN");r.d(e,{},{A:function(){var t=(0,n.$r)();return function(e){var r=t(e),n=e.pipelineContext,i=!!r.large,o=!!r.progressiveRender,a=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==a||o!==s)&&"reset"}}})},hy(t,e,r){"use strict";r.d(e,{A:()=>m});var n=r("iY"),i=r("oo"),o=r("CG"),a=r("B6"),s=r("xN"),l=r("Ww"),u=function(t){this.coordSysDims=[],this.axisMap=(0,n.nt)(),this.categoryAxisMap=(0,n.nt)(),this.coordSysName=t},c={cartesian2d:function(t,e,r,n){var i=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],r.set("x",i),r.set("y",o),h(i)&&(n.set("x",i),e.firstCategoryDimIndex=0),h(o)&&(n.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,r,n){var i=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],r.set("single",i),h(i)&&(n.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,r,n){var i=t.getReferringComponents("polar",s.US).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],r.set("radius",o),r.set("angle",a),h(o)&&(n.set("radius",o),e.firstCategoryDimIndex=0),h(a)&&(n.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,r,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,r,i){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,n.__)(a.parallelAxisIndex,function(t,n){var a=o.getComponent("parallelAxis",t),l=s[n];r.set(l,a),h(a)&&(i.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=n))})},matrix:function(t,e,r,n){var i=t.getReferringComponents("matrix",s.US).models[0];e.coordSysDims=["x","y"];var o=i.getDimensionModel("x"),a=i.getDimensionModel("y");r.set("x",o),r.set("y",a),n.set("x",o),n.set("y",a)}};function h(t){return"category"===t.get("type")}var p=r("oa"),d=r("pE"),f=r("rk"),g=r("No"),m=function(t,e,r){r=r||{};var h,m,y,v,_,x,b,A,w=e.getSourceManager(),S=!1;t?(S=!0,A=(0,p.AF)(t)):S=(A=w.getSource()).sourceFormat===g.mK;var k=function(t){var e=t.get("coordinateSystem"),r=new u(e),n=c[e];if(n)return n(t,r,r.axisMap,r.categoryAxisMap),r}(e),T=(m=e.get("coordinateSystem"),y=l.Ay.get(m),k&&k.coordSysDims&&(h=n.Tj(k.coordSysDims,function(t){var e={name:t},r=k.axisMap.get(t);if(r){var n=r.get("type");e.type=(0,a.B)(n)}return e})),h||(h=y&&(y.getDimensionsInfo?y.getDimensionsInfo():y.dimensions.slice())||["x","y"]),h),C=r.useEncodeDefaulter,M=n.Tn(C)?C:C?n.cF(f.OC,T,e):null,I={coordDimensions:T,generateCoord:r.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:M,canOmitUnusedDimensions:!S},D=(0,o.A)(A,I),P=(v=D.dimensions,_=r.createInvertedIndices,k&&n.__(v,function(t,e){var r=t.coordDim,n=k.categoryAxisMap.get(r);n&&(null==x&&(x=e),t.ordinalMeta=n.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(b=!0)}),b||null==x||(v[x].otherDims.itemName=0),x),O=S?null:w.getSharedDataStore(D),L=(0,d.iJ)(e,{schema:D,store:O}),R=new i.A(D,e);R.setCalculationInfo(L);var E=null!=P&&function(t){if(t.sourceFormat===g.mK){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!n.cy((0,s.vj)(e))}}(A)?function(t,e,r,n){return n===P?r:this.defaultDimValueGetter(t,e,r,n)}:null;return R.hasItemOption=!1,R.initData(S?A:O,null,E),R}},g2(t,e,r){"use strict";var n=r("iL"),i=r("iY");r.d(e,{},{T:function(t,e){var r=t.mapDimensionsAll("defaultedLabel");if(!(0,i.cy)(e))return e+"";for(var n=[],o=0;o<r.length;o++){var a=t.getDimensionIndex(r[o]);a>=0&&n.push(e[a])}return n.join(" ")},i:function(t,e){var r=t.mapDimensionsAll("defaultedLabel"),i=r.length;if(1===i){var o=(0,n.QE)(t,e,r[0]);return null!=o?o+"":null}if(i){for(var a=[],s=0;s<r.length;s++)a.push((0,n.QE)(t,e,r[s]));return a.join(" ")}}})},Rz(t,e,r){"use strict";r.d(e,{a:()=>J});var n=r("i4"),i=r("hy"),o=r("qL"),a=r("up"),s=r("jZ"),l=r("g8"),u=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return(0,n.C6)(e,t),e.prototype.getInitialData=function(t){return(0,i.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.A,r=(0,a.v5)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(r),r.setStyle(t.lineStyle);var n=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===n?"circle":n,u=.8*t.itemHeight,c=(0,a.v5)(o,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);return e.add(c),c.setStyle(t.itemStyle),c.rotation=("inherit"===t.iconRotate?i:t.iconRotate||0)*Math.PI/180,c.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(c.style.stroke=c.style.fill,c.style.fill=l.A.color.neutral00,c.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},e}(o.A),c=r("iY"),h=r("Hp"),p=r("yw"),d=r("pE");function f(t,e,r){var n,i,o,a,s=t.getBaseAxis(),l=t.getOtherAxis(s),u=(n=l,i=r,o=0,a=n.scale.getExtent(),"start"===i?o=a[0]:"end"===i?o=a[1]:(0,c.Et)(i)&&!isNaN(i)?o=i:a[0]>0?o=a[0]:a[1]<0&&(o=a[1]),o),h=s.dim,p=l.dim,f=e.mapDimension(p),g=e.mapDimension(h),m=+("x"===p||"radius"===p),y=(0,c.Tj)(t.dimensions,function(t){return e.mapDimension(t)}),v=!1,_=e.getCalculationInfo("stackResultDimension");return(0,d.sJ)(e,y[0])&&(v=!0,y[0]=_),(0,d.sJ)(e,y[1])&&(v=!0,y[1]=_),{dataDimsForPoint:y,valueStart:u,valueAxisDim:p,baseAxisDim:h,stacked:!!v,valueDim:f,baseDim:g,baseDataOffset:m,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function g(t,e,r,n){var i=0/0;t.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=r.get(t.baseDim,n),a[1-o]=i,e.dataToPoint(a)}function m(t,e){return!isFinite(t)||!isFinite(e)}var y=r("YG"),v=r("Up"),_=r("W5"),x=r("s2"),b=r("xN"),A=r("BC"),w=r("Sv"),S=r("mq"),k=Math.min,T=Math.max;function C(t,e,r,n,i,o,a,s,l){for(var u,c,h,p,d,f,g=r,y=0;y<n;y++){var v=e[2*g],_=e[2*g+1];if(g>=i||g<0)break;if(m(v,_)){if(l){g+=o;continue}break}if(g===r)t[o>0?"moveTo":"lineTo"](v,_),h=v,p=_;else{var x=v-u,b=_-c;if(x*x+b*b<.5){g+=o;continue}if(a>0){for(var A=g+o,w=e[2*A],S=e[2*A+1];w===v&&S===_&&y<n;)y++,A+=o,g+=o,w=e[2*A],S=e[2*A+1],v=e[2*g],_=e[2*g+1],x=v-u,b=_-c;var C=y+1;if(l)for(;m(w,S)&&C<n;)C++,A+=o,w=e[2*A],S=e[2*A+1];var M=.5,I=0,D=0,P=void 0,O=void 0;if(C>=n||m(w,S))d=v,f=_;else{I=w-u,D=S-c;var L=v-u,R=w-v,E=_-c,B=S-_,N=void 0,z=void 0;if("x"===s){N=Math.abs(L),z=Math.abs(R);var F=I>0?1:-1;d=v-F*N*a,f=_,P=v+F*z*a,O=_}else if("y"===s){N=Math.abs(E),z=Math.abs(B);var $=D>0?1:-1;d=v,f=_-$*N*a,P=v,O=_+$*z*a}else N=Math.sqrt(L*L+E*E),d=v-I*a*(1-(M=(z=Math.sqrt(R*R+B*B))/(z+N))),f=_-D*a*(1-M),P=v+I*a*M,O=_+D*a*M,P=k(P,T(w,v)),O=k(O,T(S,_)),P=T(P,k(w,v)),O=T(O,k(S,_)),I=P-v,D=O-_,d=v-I*N/z,f=_-D*N/z,d=k(d,T(u,v)),f=k(f,T(c,_)),d=T(d,k(u,v)),f=T(f,k(c,_)),I=v-d,D=_-f,P=v+I*z/N,O=_+D*z/N}t.bezierCurveTo(h,p,d,f,v,_),h=P,p=O}else t.lineTo(v,_)}u=v,c=_,g+=o}return y}var M=function(){this.smooth=0,this.smoothConstraint=!0},I=function(t){function e(e){var r=t.call(this,e)||this;return r.type="ec-polyline",r}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:l.A.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new M},e.prototype.buildPath=function(t,e){var r=e.points,n=0,i=r.length/2;if(e.connectNulls){for(;i>0&&m(r[2*i-2],r[2*i-1]);i--);for(;n<i&&m(r[2*n],r[2*n+1]);n++);}for(;n<i;)n+=C(t,r,n,i,i,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var r,n,i=this.path.data,o=w.A.CMD,a="x"===e,s=[],l=0;l<i.length;){var u=i[l++],c=void 0,h=void 0,p=void 0,d=void 0,f=void 0,g=void 0,m=void 0;switch(u){case o.M:r=i[l++],n=i[l++];break;case o.L:if(c=i[l++],h=i[l++],(m=a?(t-r)/(c-r):(t-n)/(h-n))<=1&&m>=0){var y=a?(h-n)*m+n:(c-r)*m+r;return a?[t,y]:[y,t]}r=c,n=h;break;case o.C:c=i[l++],h=i[l++],p=i[l++],d=i[l++],f=i[l++],g=i[l++];var v=a?(0,S._E)(r,c,p,f,t,s):(0,S._E)(n,h,d,g,t,s);if(v>0)for(var _=0;_<v;_++){var x=s[_];if(x<=1&&x>=0){var y=a?(0,S.Yb)(n,h,d,g,x):(0,S.Yb)(r,c,p,f,x);return a?[t,y]:[y,t]}}r=f,n=g}}},e}(A.Ay),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e}(M),P=function(t){function e(e){var r=t.call(this,e)||this;return r.type="ec-polygon",r}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new D},e.prototype.buildPath=function(t,e){var r=e.points,n=e.stackedOnPoints,i=0,o=r.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&m(r[2*o-2],r[2*o-1]);o--);for(;i<o&&m(r[2*i],r[2*i+1]);i++);}for(;i<o;){var s=C(t,r,i,o,o,1,e.smooth,a,e.connectNulls);C(t,n,i+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),i+=s+1,t.closePath()}},e}(A.Ay),O=r("WN9"),L=r("hH"),R=r("mR"),E=r("LP"),B=r("F4"),N=r("g2"),z=r("FL"),F=r("s7"),$=r("x4z"),H=r("k4");function j(t,e){if(t.length===e.length){for(var r=0;r<t.length;r++)if(t[r]!==e[r])return;return!0}}function W(t){for(var e=b.X1(),r=b.X1(),n=0;n<t.length;){var i=t[n++],o=t[n++];m(i,o)||(b.vx(e,i),b.vx(r,o))}return[e,r]}function V(t,e){var r=W(t),n=r[0],i=r[1],o=W(e),a=o[0],s=o[1];return Math.max(Math.abs(n[0]-a[0]),Math.abs(i[0]-s[0]),Math.abs(n[1]-a[1]),Math.abs(i[1]-s[1]))}function Y(t){return c.Et(t)?t:.5*!!t}function X(t,e,r,n,i){var o=r.getBaseAxis(),a=+("x"!==o.dim&&"radius"!==o.dim),s=[],l=0,u=[],c=[],h=[],p=[];if(i){for(l=0;l<t.length;l+=2){var d=e||t;m(d[l],d[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(h[0]=t[l+2],h[1]=t[l+3],c[0]=t[l],c[1]=t[l+1],s.push(c[0],c[1]),n){case"end":u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1]);break;case"middle":var f=(c[a]+h[a])/2,g=[];u[a]=g[a]=f,u[1-a]=c[1-a],g[1-a]=h[1-a],s.push(u[0],u[1]),s.push(g[0],g[1]);break;default:u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function G(t,e){return[t[2*e],t[2*e+1]]}function U(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<E.BV.length;e++)if(t.get([E.BV[e],"endLabel","show"]))return!0;return!1}function Z(t,e,r,n){if(!(0,R.g)(e,"cartesian2d"))return(0,L.Mi)(e,r,n);var i=n.getModel("endLabel"),o=i.get("valueAnimation"),a=n.getData(),s={lastFrameIndex:0},l=U(n)?function(r,n){t._endLabelOnDuring(r,n,a,s,o,i,e)}:null,u=e.getBaseAxis().isHorizontal(),c=(0,L.SM)(e,r,n,function(){var e=t._endLabel;e&&r&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!n.get("clip",!0)){var h=c.shape,p=Math.max(h.width,h.height);u?(h.y-=p,h.height+=2*p):(h.x-=p,h.width+=2*p)}return l&&l(1,c),c}var q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.init=function(){var t=new s.A,e=new h.A;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=c.oI(this._changePolyState,this)},e.prototype.render=function(t,e,r){var n,i=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],h="polar"===i.type,d=this._coordSys,m=this._symbolDraw,x=this._polyline,b=this._polygon,A=this._lineGroup,w=!e.ssr&&t.get("animation"),S=!l.isEmpty(),k=l.get("origin"),T=f(i,a,k),C=S&&function(t,e,r){if(null==r.valueDim)return[];for(var n=e.count(),i=(0,y.Jk)(2*n),o=0;o<n;o++){var a=g(r,t,e,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}(i,a,T),M=t.get("showSymbol"),I=t.get("connectNulls"),D=M&&!h&&function(t,e,r){var n=t.get("showAllSymbol"),i="auto"===n;if(!n||i){var o=r.getAxesByScale("ordinal")[0];if(o&&!(i&&function(t,e){var r=t.getExtent(),n=Math.abs(r[1]-r[0])/t.scale.count();isNaN(n)&&(n=0);for(var i=e.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*p.A.getSymbolSize(e,a)[+!!t.isHorizontal()]>n)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return c.__(o.getViewLabels(),function(t){t.tick.offInterval||(s[(0,H.NQ)(o.scale,t.tick)]=1)}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}(t,a,i),P=this._data;P&&P.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),P.setItemGraphicEl(e,null))}),M||m.remove(),o.add(A);var O=!h&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(n=i.getArea()).width?(n.x-=.1,n.y-=.1,n.width+=.2,n.height+=.2):n.r0&&(n.r0-=.5,n.r+=.5)),this._clipShapeForSymbol=n;var L=function(t,e,r){var n,i,o=t.getVisual("visualMeta");if(o&&o.length&&t.count()){if("cartesian2d"!==e.type)return;for(var a=o.length-1;a>=0;a--){var s=t.getDimensionInfo(o[a].dimension);if("x"===(n=s&&s.coordDim)||"y"===n){i=o[a];break}}if(!i)return;var l=e.getAxis(n),u=c.Tj(i.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),h=u.length,p=i.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),p.reverse());var d=function(t,e){var r,n,i=[],o=t.length;function a(t,e,r){var n=t.coord,i=(r-n)/(e.coord-n);return{coord:r,color:(0,$.Cc)(i,[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)r=l;else if(u>e){n?i.push(a(n,l,e)):r&&i.push(a(r,l,0),a(r,l,e));break}else r&&(i.push(a(r,l,0)),r=null),i.push(l),n=l}return i}(u,"x"===n?r.getWidth():r.getHeight()),f=d.length;if(!f&&h)return u[0].coord<0?p[1]?p[1]:u[h-1].color:p[0]?p[0]:u[0].color;var g=d[0].coord-10,m=d[f-1].coord+10,y=m-g;if(y<.001)return"transparent";c.__(d,function(t){t.offset=(t.coord-g)/y}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var _=new v.A(0,0,0,0,d,!0);return _[n]=g,_[n+"2"]=m,_}}(a,i,r)||a.getVisual("style")[a.getVisual("drawType")];if(x&&d.type===i.type&&O===this._step){S&&!b?b=this._newPolygon(u,C):b&&!S&&(A.remove(b),b=this._polygon=null),h||this._initOrUpdateEndLabel(t,i,(0,F.he)(L));var R=A.getClipPath();if(R){var B=Z(this,i,!1,t);_.LW(R,{shape:B.shape},t)}else A.setClipPath(Z(this,i,!0,t));M&&m.updateData(a,{isIgnore:D,clipShape:n,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),j(this._stackedOnPoints,C)&&j(this._points,u)||(w?this._doUpdateAnimation(a,C,i,r,O,k,I):(O&&(C&&(C=X(C,u,i,O,I)),u=X(u,null,i,O,I)),x.setShape({points:u}),b&&b.setShape({points:u,stackedOnPoints:C})))}else M&&m.updateData(a,{isIgnore:D,clipShape:n,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),w&&this._initSymbolLabelAnimation(a,i,n),O&&(C&&(C=X(C,u,i,O,I)),u=X(u,null,i,O,I)),x=this._newPolyline(u),S?b=this._newPolygon(u,C):b&&(A.remove(b),b=this._polygon=null),h||this._initOrUpdateEndLabel(t,i,(0,F.he)(L)),A.setClipPath(Z(this,i,!0,t));var N=t.getModel("emphasis"),W=N.get("focus"),V=N.get("blurScope"),G=N.get("disabled");x.useStyle(c.NT(s.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"})),(0,E.Mx)(x,t,"lineStyle"),x.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(x.getState("emphasis").style.lineWidth=+x.style.lineWidth+1),(0,z.z)(x).seriesIndex=t.seriesIndex,(0,E.Lm)(x,W,V,G);var U=Y(t.get("smooth")),q=t.get("smoothMonotone");if(x.setShape({smooth:U,smoothMonotone:q,connectNulls:I}),b){var K=a.getCalculationInfo("stackedOnSeries"),Q=0;b.useStyle(c.NT(l.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),K&&(Q=Y(K.get("smooth"))),b.setShape({smooth:U,stackedOnSmooth:Q,smoothMonotone:q,connectNulls:I}),(0,E.Mx)(b,t,"areaStyle"),(0,z.z)(b).seriesIndex=t.seriesIndex,(0,E.Lm)(b,W,V,G)}var J=this._changePolyState;a.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=J)}),this._polyline.onHoverStateChange=J,this._data=a,this._coordSys=i,this._stackedOnPoints=C,this._points=u,this._step=O,this._valueOrigin=k;var tt=t.get("triggerEvent"),te=t.get("triggerLineEvent");this.packEventData(t,x,!0===te||!0===tt||"line"===tt),b&&this.packEventData(t,b,!0===te||!0===tt||"area"===tt)},e.prototype.packEventData=function(t,e,r){(0,z.z)(e).eventData=r?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},e.prototype.highlight=function(t,e,r,n){var i=t.getData(),o=b.le(i,n);if(this._changePolyState("emphasis"),o instanceof Array||null==o||!(o>=0))O.A.prototype.highlight.call(this,t,e,r,n);else{var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(m(l,u)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new p.A(i,o)).x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}},e.prototype.downplay=function(t,e,r,n){var i=t.getData(),o=b.le(i,n);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else O.A.prototype.downplay.call(this,t,e,r,n)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,E.Pk)(this._polyline,t),e&&(0,E.Pk)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new I({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var r=this._polygon;return r&&this._lineGroup.remove(r),r=new P({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(r),this._polygon=r,r},e.prototype._initSymbolLabelAnimation=function(t,e,r){var n,i,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(n=o.isHorizontal(),i=!1):"polar"===e.type&&(n="angle"===o.dim,i=!0);var s=t.hostModel,l=s.get("animationDuration");c.Tn(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=c.Tn(u)?u(null):u;t.eachItemGraphicEl(function(t,o){if(t){var s=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(r)if(i){var g=e.pointToCoord(s);n?(p=r.startAngle,d=r.endAngle,f=-g[1]/180*Math.PI):(p=r.r0,d=r.r,f=g[0])}else n?(p=r.x,d=r.x+r.width,f=t.x):(p=r.y+r.height,d=r.y,f=t.y);var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var y=c.Tn(u)?u(o):l*m+h,v=t.getSymbolPath(),_=v.getTextContent();t.attr({scaleX:0,scaleY:0}),t.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:y}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:y}),v.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,r){var n=t.getModel("endLabel");if(U(t)){var i,o,a,s=t.getData(),l=this._polyline,u=s.getLayout("points");if(!u){l.removeTextContent(),this._endLabel=null;return}var c=this._endLabel;c||((c=this._endLabel=new x.Ay({z2:200})).ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var h=function(t){for(var e=t.length/2;e>0&&m(t[2*e-2],t[2*e-1]);e--);return e-1}(u);h>=0&&((0,B.qM)(l,(0,B.lx)(t,"endLabel"),{inheritColor:r,labelFetcher:t,labelDataIndex:h,defaultText:function(t,e,r){return null!=r?(0,N.T)(s,r):(0,N.i)(s,t)},enableTextSetter:!0},(o=(i=e.getBaseAxis()).isHorizontal(),a=i.inverse,{normal:{align:n.get("align")||(o?a?"right":"left":"center"),verticalAlign:n.get("verticalAlign")||(o?"middle":a?"top":"bottom")}})),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,r,n,i,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==n.originalX&&(n.originalX=s.x,n.originalY=s.y);var u=r.getLayout("points"),c=r.hostModel,h=c.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,_=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),A=(g?0:-d)*(y?-1:1),w=g?"x":"y",S=function(t,e,r){for(var n,i,o=t.length/2,a=+("x"!==r),s=0,l=-1,u=0;u<o;u++)if(!m(i=t[2*u+a],t[2*u+1-a])){if(0===u){n=i;continue}if(n<=e&&i>=e||n>=e&&i<=e){l=u;break}s=u,n=i}return{range:[s,l],t:(e-n)/(i-n)}}(u,_,w),k=S.range,T=k[1]-k[0],C=void 0;if(T>=1){if(T>1&&!h){var M=G(u,k[0]);s.attr({x:M[0]+x,y:M[1]+A}),i&&(C=c.getRawValue(k[0]))}else{var M=l.getPointOn(_,w);M&&s.attr({x:M[0]+x,y:M[1]+A});var I=c.getRawValue(k[0]),D=c.getRawValue(k[1]);i&&(C=b.Il(r,p,I,D,S.t))}n.lastFrameIndex=k[0]}else{var P=1===t||n.lastFrameIndex>0?k[0]:0,M=G(u,P);i&&(C=c.getRawValue(P)),s.attr({x:M[0]+x,y:M[1]+A})}if(i){var O=(0,B.Lu)(s);"function"==typeof O.setLabelText&&O.setLabelText(C)}}},e.prototype._doUpdateAnimation=function(t,e,r,n,i,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,r,n,i,o){for(var a,s=(a=[],e.diff(t).add(function(t){a.push({cmd:"+",idx:t})}).update(function(t,e){a.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){a.push({cmd:"-",idx:t})}).execute(),a),l=[],u=[],c=[],h=[],p=[],d=[],m=[],v=f(i,e,o),_=t.getLayout("points")||[],x=e.getLayout("points")||[],b=0;b<s.length;b++){var A=s[b],w=!0,S=void 0,k=void 0;switch(A.cmd){case"=":S=2*A.idx,k=2*A.idx1;var T=_[S],C=_[S+1],M=x[k],I=x[k+1];(isNaN(T)||isNaN(C))&&(T=M,C=I),l.push(T,C),u.push(M,I),c.push(r[S],r[S+1]),h.push(n[k],n[k+1]),m.push(e.getRawIndex(A.idx1));break;case"+":var D=A.idx,P=v.dataDimsForPoint,O=i.dataToPoint([e.get(P[0],D),e.get(P[1],D)]);k=2*D,l.push(O[0],O[1]),u.push(x[k],x[k+1]);var L=g(v,i,e,D);c.push(L[0],L[1]),h.push(n[k],n[k+1]),m.push(e.getRawIndex(D));break;case"-":w=!1}w&&(p.push(A),d.push(d.length))}d.sort(function(t,e){return m[t]-m[e]});for(var R=l.length,E=(0,y.Jk)(R),B=(0,y.Jk)(R),N=(0,y.Jk)(R),z=(0,y.Jk)(R),F=[],b=0;b<d.length;b++){var $=d[b],H=2*b,j=2*$;E[H]=l[j],E[H+1]=l[j+1],B[H]=u[j],B[H+1]=u[j+1],N[H]=c[j],N[H+1]=c[j+1],z[H]=h[j],z[H+1]=h[j+1],F[b]=p[$]}return{current:E,next:B,stackedOnCurrent:N,stackedOnNext:z,status:F}}(this._data,t,this._stackedOnPoints,e,this._coordSys,this._valueOrigin),h=c.current,p=c.stackedOnCurrent,d=c.next,m=c.stackedOnNext;if(i&&(p=X(c.stackedOnCurrent,c.current,r,i,a),h=X(c.current,null,r,i,a),m=X(c.stackedOnNext,c.next,r,i,a),d=X(c.next,null,r,i,a)),V(h,d)>3e3||l&&V(p,m)>3e3){s.stopAnimation(),s.setShape({points:d}),l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:m}));return}s.shape.__points=c.current,s.shape.points=h;var v={shape:{points:d}};c.current!==h&&(v.shape.__points=c.next),s.stopAnimation(),_.oi(s,v,u),l&&(l.setShape({points:h,stackedOnPoints:p}),l.stopAnimation(),_.oi(l,{shape:{stackedOnPoints:m}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var x=[],b=c.status,A=0;A<b.length;A++)if("="===b[A].cmd){var w=t.getItemGraphicEl(b[A].idx1);w&&x.push({el:w,ptIdx:A})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<x.length;e++){var r=x[e].el,n=2*x[e].ptIdx;r.x=t[n],r.y=t[n+1],r.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,r=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),r&&r.eachItemGraphicEl(function(t,n){t.__temp&&(e.remove(t),r.setItemGraphicEl(n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(O.A),K=r("NC"),Q=r("LEV");function J(t){t.registerChartView(q),t.registerSeriesModel(u),t.registerLayout((0,K.A)("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",r)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,Q.A)("line"))}},FB(t,e,r){"use strict";r.d(e,{ts:()=>P,Ay:()=>U,Z0:()=>I,RC:()=>B,x:()=>R});var n=r("iY"),i=r("jZ"),o=r("xz"),a=r("w2"),s=r("s2"),l=r("Vb"),u=r("FL"),c=r("F4"),h=r("Sk"),p=r("MB"),d=r("up"),f=r("AT"),g=r("xy"),m=r("k4"),y=r("EV"),v=r("xN"),_=r("Dx"),x=r("xD"),b=r("Y8"),A=r("zM"),w=r("P7"),S=r("rG"),k=r("x2R"),T=Math.PI,C=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],M=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],I=(0,v.$r)(),D=(0,v.$r)(),P=function(){function t(t){this.recordMap={},this.resolveAxisNameOverlap=t}return t.prototype.ensureRecord=function(t){var e=t.axis.dim,r=t.componentIndex,n=this.recordMap,i=n[e]||(n[e]=[]);return i[r]||(i[r]={ready:{}})},t}(),O=f.vt(),L=new b.Ay(0,0,0,0),R=function(t,e,r,n,i,o){if((0,m.SS)(t.nameLocation)){var a=o.stOccupiedRect;a&&E((0,y.AS)({},a,o.transGroup.transform),n,i)}else B(o.labelInfoList,o.dirVec,n,i)};function E(t,e,r){var n=new A.A;(0,y.EA)(t,e,n,{direction:Math.atan2(r.y,r.x),bidirectional:!1,touchThreshold:.05})&&(0,y.Gm)(e,n)}function B(t,e,r,n){for(var i=A.A.dot(n,e)>=0,o=0,a=t.length;o<a;o++){var s=t[i?o:a-1-o];s.label.ignore||E(s,r,n)}}var N=function(){function t(t,e,r,n){this.group=new i.A,this._axisModel=t,this._api=e,this._local={},this._shared=n||new P(R),this._resetCfgDetermined(r)}return t.prototype.updateCfg=function(t){var e=this._cfg.raw;e.position=t.position,e.labelOffset=t.labelOffset,this._resetCfgDetermined(e)},t.prototype.__getRawCfg=function(){return this._cfg.raw},t.prototype._resetCfgDetermined=function(t){var e=this._axisModel,r=e.getDefaultOption?e.getDefaultOption():{},o=(0,n.bZ)(t.axisName,e.get("name")),a=e.get("nameMoveOverlap");(null==a||"auto"===a)&&(a=(0,n.bZ)(t.defaultNameMoveOverlap,!0));var s={raw:t,position:t.position,rotation:t.rotation,nameDirection:(0,n.bZ)(t.nameDirection,1),tickDirection:(0,n.bZ)(t.tickDirection,1),labelDirection:(0,n.bZ)(t.labelDirection,1),labelOffset:(0,n.bZ)(t.labelOffset,0),silent:(0,n.bZ)(t.silent,!0),axisName:o,nameLocation:(0,n.WV)(e.get("nameLocation"),r.nameLocation,"end"),shouldNameMoveOverlap:!!o&&a,optionHideOverlap:e.get(["axisLabel","hideOverlap"]),showMinorTicks:e.get(["minorTick","show"])};this._cfg=s;var l=new i.A({x:s.position[0],y:s.position[1],rotation:s.rotation});l.updateTransform(),this._transformGroup=l;var u=this._shared.ensureRecord(e);u.transGroup=this._transformGroup,u.dirVec=new A.A(Math.cos(-s.rotation),Math.sin(-s.rotation))},t.prototype.build=function(t,e){var r=this;return t||(t={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),(0,n.__)(z,function(n){t[n]&&F[n](r._cfg,r._local,r._shared,r._axisModel,r.group,r._transformGroup,r._api,e||{})}),this},t.innerTextLayout=function(t,e,r){var n,i,o=(0,p._7)(e-t);return(0,p.dh)(o)?(i=r>0?"top":"bottom",n="center"):(0,p.dh)(o-T)?(i=r>0?"bottom":"top",n="center"):(i="middle",n=o>0&&o<T?r>0?"right":"left":r>0?"left":"right"),{rotation:o,textAlign:n,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}(),z=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],F={axisLine:function(t,e,r,i,s,l,u){var c=i.get(["axisLine","show"]);if("auto"===c&&(c=!0,null!=t.raw.axisLineAutoShow&&(c=!!t.raw.axisLineAutoShow)),c){var h=i.axis.getExtent(),p=l.transform,f=[h[0],0],m=[h[1],0],y=f[0]>m[0];p&&((0,g.NW)(f,f,p),(0,g.NW)(m,m,p));var v=(0,n.X$)({lineCap:"round"},i.getModel(["axisLine","lineStyle"]).getLineStyle()),b={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:v};if(i.get(["axisLine","breakLine"])&&(0,x.Bd)(i.axis.scale))(0,_.D)().buildAxisBreakLine(i,s,l,b);else{var A=new o.A((0,n.X$)({shape:{x1:f[0],y1:f[1],x2:m[0],y2:m[1]}},b));a.subPixelOptimizeLine(A.shape,A.style.lineWidth),A.anid="line",s.add(A)}var w=i.get(["axisLine","symbol"]);if(null!=w){var S=i.get(["axisLine","symbolSize"]);(0,n.Kg)(w)&&(w=[w,w]),((0,n.Kg)(S)||(0,n.Et)(S))&&(S=[S,S]);var k=(0,d.hV)(i.get(["axisLine","symbolOffset"])||0,S),T=S[0],C=S[1];(0,n.__)([{rotate:t.rotation+Math.PI/2,offset:k[0],r:0},{rotate:t.rotation-Math.PI/2,offset:k[1],r:Math.sqrt((f[0]-m[0])*(f[0]-m[0])+(f[1]-m[1])*(f[1]-m[1]))}],function(e,r){if("none"!==w[r]&&null!=w[r]){var n=(0,d.v5)(w[r],-T/2,-C/2,T,C,v.stroke,!0),i=e.r+e.offset,o=y?m:f;n.attr({rotation:e.rotate,x:o[0]+i*Math.cos(t.rotation),y:o[1]-i*Math.sin(t.rotation),silent:!0,z2:11}),s.add(n)}})}}},axisTickLabelEstimate:function(t,e,r,n,i,o,a,s){W(e,i,s)&&$(t,e,r,n,i,o,a,S.fm.estimate)},axisTickLabelDetermine:function(t,e,r,i,o,a,s,l){W(e,o,l)&&$(t,e,r,i,o,a,s,S.fm.determine);var u,c,h,p=function(t,e,r,i){var o=i.axis,a=i.getModel("axisTick"),s=a.get("show");if("auto"===s&&(s=!0,null!=t.raw.axisTickAutoShow&&(s=!!t.raw.axisTickAutoShow)),!s||o.scale.isBlank())return[];for(var l=a.getModel("lineStyle"),u=t.tickDirection*a.get("length"),c=j(o.getTicksCoords(),r.transform,u,(0,n.NT)(l.getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)e.add(c[h]);return c}(t,o,a,i);u=t,c=e.labelLayoutList,h=p,u.showMinorTicks||(0,n.__)(c,function(t){if(t&&t.label.ignore)for(var e=0;e<h.length;e++){var r=h[e],n=D(r),i=I(t.label);if(null!=n.tickValue&&!n.onBand&&n.tickValue===i.labelInfo.tick.value)return void H(r)}}),function(t,e,r,i,o){var a=i.axis,s=i.getModel("minorTick");if(!(!t.showMinorTicks||a.scale.isBlank())){var l=a.getMinorTicksCoords();if(l.length)for(var u=s.getModel("lineStyle"),c=o*s.get("length"),h=(0,n.NT)(u.getLineStyle(),(0,n.NT)(i.getModel("axisTick").getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])})),p=0;p<l.length;p++)for(var d=j(l[p],r.transform,c,h,"minorticks_"+p),f=0;f<d.length;f++)e.add(d[f])}}(t,o,a,i,t.tickDirection)},axisName:function(t,e,r,i,o,l,h,d){var g,v,_=r.ensureRecord(i);e.nameEl&&(o.remove(e.nameEl),e.nameEl=_.nameLayout=_.nameLocation=null);var x=t.axisName;if(x){var b,w,S,k,I,D,P,O,L,R=t.nameLocation,E=t.nameDirection,B=i.getModel("nameTextStyle"),z=i.get("nameGap")||0,F=i.axis.getExtent(),$=i.axis.inverse?-1:1,H=new A.A(0,0),j=new A.A(0,0);"start"===R?(H.x=F[0]-$*z,j.x=-$):"end"===R?(H.x=F[1]+$*z,j.x=$):(H.x=(F[0]+F[1])/2,H.y=t.labelOffset+E*z,j.y=E);var W=f.vt();j.transform(f.e$(W,W,t.rotation));var V=i.get("nameRotate");null!=V&&(V=V*T/180),(0,m.SS)(R)?g=N.innerTextLayout(t.rotation,null!=V?V:t.rotation,E):(b=t.rotation,w=R,S=V||0,k=F,P=(0,p._7)(S-b),O=k[0]>k[1],L="start"===w&&!O||"start"!==w&&O,(0,p.dh)(P-T/2)?(D=L?"bottom":"top",I="center"):(0,p.dh)(P-1.5*T)?(D=L?"top":"bottom",I="center"):(D="middle",I=P<1.5*T&&P>T/2?L?"left":"right":L?"right":"left"),g={rotation:P,textAlign:I,textVerticalAlign:D},null!=(v=t.raw.axisNameAvailableWidth)&&(isFinite(v=Math.abs(v/Math.sin(g.rotation)))||(v=null)));var Y=B.getFont(),X=i.get("nameTruncate",!0)||{},G=X.ellipsis,U=(0,n.Je)(t.raw.nameTruncateMaxWidth,X.maxWidth,v),Z=d.nameMarginLevel||0,q=new s.Ay({x:H.x,y:H.y,rotation:g.rotation,silent:N.isLabelSilent(i),style:(0,c.VB)(B,{text:x,font:Y,overflow:"truncate",width:U,ellipsis:G,fill:B.getTextColor()||i.get(["axisLine","lineStyle","color"]),align:B.get("align")||g.textAlign,verticalAlign:B.get("verticalAlign")||g.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:q,componentModel:i,itemName:x}),q.__fullText=x,q.anid="name",i.get("triggerEvent")){var K=N.makeAxisEventDataBase(i);K.targetType="axisName",K.name=x,(0,u.z)(q).eventData=K}l.add(q),q.updateTransform(),e.nameEl=q;var Q=_.nameLayout=(0,y.jj)({label:q,priority:q.z2,defaultAttr:{ignore:q.ignore},marginDefault:(0,m.SS)(R)?C[Z]:M[Z]});if(_.nameLocation=R,o.add(q),q.decomposeTransform(),t.shouldNameMoveOverlap&&Q){var J=r.ensureRecord(i);r.resolveAxisNameOverlap(t,r,i,Q,j,J)}}}};function $(t,e,r,o,l,p,d,g){V(e)||function(t,e,r,o,l,p){var d=l.axis,f=(0,n.Je)(t.raw.axisLabelShow,l.get(["axisLabel","show"])),g=new i.A;r.add(g);var y=(0,S.eP)(o);if(!f||d.scale.isBlank())return Y(e,[],g,y);var v=l.getModel("axisLabel"),_=d.getViewLabels(y),x=((0,n.Je)(t.raw.labelRotate,v.get("rotate"))||0)*T/180,b=N.innerTextLayout(t.rotation,x,t.labelDirection),A=l.getCategories&&l.getCategories(!0),w=[],k=l.get("triggerEvent"),C=1/0,M=-1/0;(0,n.__)(_,function(t,e){var r,i=t.tick,o=t.formattedLabel,f=t.rawLabel,y=v,x=(0,m.NQ)(d.scale,i);if(A&&A[x]){var S=A[x];(0,n.Gv)(S)&&S.textStyle&&(y=new h.A(S.textStyle,v,l.ecModel))}var T=y.getTextColor()||l.get(["axisLine","lineStyle","color"]),D=y.getShallow("align",!0)||b.textAlign,P=(0,n.bZ)(y.getShallow("alignMinLabel",!0),D),O=(0,n.bZ)(y.getShallow("alignMaxLabel",!0),D),L=y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||b.textVerticalAlign,R=(0,n.bZ)(y.getShallow("verticalAlignMinLabel",!0),L),E=(0,n.bZ)(y.getShallow("verticalAlignMaxLabel",!0),L),B=10+((null==(r=i.time)?void 0:r.level)||0);C=Math.min(C,B),M=Math.max(M,B);var z=new s.Ay({x:0,y:0,rotation:0,silent:N.isLabelSilent(l),z2:B,style:(0,c.VB)(y,{text:o,align:0===e?P:e===_.length-1?O:D,verticalAlign:0===e?R:e===_.length-1?E:L,fill:(0,n.Tn)(T)?T("category"===d.type?f:"value"===d.type?x+"":x,e):T})});z.anid="label_"+x;var F=I(z);if(F.labelInfo=t,F.layoutRotation=b.rotation,a.setTooltipConfig({el:z,componentModel:l,itemName:o,formatterParamsExtra:{isTruncated:function(){return z.isTruncated},value:f,tickIndex:e}}),k){var $,H,j,W,V=N.makeAxisEventDataBase(l);V.targetType="axisLabel",V.value=f,V.tickIndex=e;var Y=t.tick.break;if(Y){var X=Y.parsedBreak;V.break={start:X.vmin,end:X.vmax}}"category"===d.type&&(V.dataIndex=x),(0,u.z)(z).eventData=V,Y&&($=l,H=p,j=z,W=Y,j.on("click",function(t){var e={type:"expandAxisBreak",breaks:[{start:W.parsedBreak.breakOption.start,end:W.parsedBreak.breakOption.end}]};e[$.axis.dim+"AxisIndex"]=$.componentIndex,H.dispatchAction(e)}))}w.push(z),g.add(z)}),Y(e,(0,n.Tj)(w,function(t){return{label:t,priority:I(t).labelInfo.tick.break?t.z2+(M-C+1):t.z2,defaultAttr:{ignore:t.ignore}}}),g,y)}(t,e,l,g,o,d);var v,A,C,M,D,P=e.labelLayoutList;v=t,A=o,C=P,M=p,D=A.get(["axisLabel","margin"]),(0,n.__)(C,function(t,e){var r=(0,y.jj)(t);if(r){var n=r.label,i=I(n);r.suggestIgnore=n.ignore,n.ignore=!1,(0,w.IT)(X,G);var o=A.axis;X.x=o.dataToCoord((0,m.NQ)(o.scale,i.labelInfo.tick)),X.y=v.labelOffset+v.labelDirection*D,X.rotation=i.layoutRotation,M.add(X),X.updateTransform(),M.remove(X),X.decomposeTransform(),(0,w.IT)(n,X),n.markRedraw(),(0,y.LC)(r,!0),(0,y.jj)(r)}}),function(t,e,r){var i=(0,x.mn)();if(i){var o=i.retrieveAxisBreakPairs(r,function(t){return t&&I(t.label).labelInfo.tick.break},!0),a=t.get(["breakLabelLayout","moveOverlap"],!0);(!0===a||"auto"===a)&&(0,n.__)(o,function(n){(0,_.D)().adjustBreakLabelPair(t.axis.inverse,e,[(0,y.jj)(r[n[0]]),(0,y.jj)(r[n[1]])])})}}(o,t.rotation,P);var R=t.optionHideOverlap;(function(t,e,r){var n=t.axis,i=t.get(["axisLabel","customValues"]);if(!(0,m.PJ)(n)){var o=t.get(["axisLabel","showMinLabel"]),a=t.get(["axisLabel","showMaxLabel"]),s=e.length;l(o,0,1),l(a,s-1,s-2)}function l(t,o,a){var s=(0,y.jj)(e[o]),l=(0,y.jj)(e[a]),u=n.scale;if(s&&l){if(null==t){if(!r&&i)return;var c=I(s.label).labelInfo.tick;if((0,k.oY)(u)&&c.notNice||(0,k.wl)(u)&&c.offInterval)return void H(s.label)}if(!1===t||s.suggestIgnore)return void H(s.label);if(l.suggestIgnore)return void H(l.label);if(!r){var h=[0,0,0,0];s=(0,y.PG)({marginForce:h},s),l=(0,y.PG)({marginForce:h},l)}(0,y.EA)(s,l,null,{touchThreshold:.1})&&(t?H(l.label):H(s.label))}}})(o,P,R),R&&(0,y.If)((0,n.pb)(P,function(t){return t&&!t.label.ignore})),function(t,e,r,i){var o,a=r.axis,s=e.ensureRecord(r),l=[],u=!!t.axisName&&(0,m.SS)(t.nameLocation);(0,n.__)(i,function(t){var e=(0,y.jj)(t);if(e&&!e.label.ignore){l.push(e);var r=s.transGroup;u&&(r.transform?f.B8(O,r.transform):f.D_(O),e.transform&&f.lK(O,O,e.transform),b.Ay.copy(L,e.localRect),L.applyTransform(O),o?o.union(L):b.Ay.copy(o=new b.Ay(0,0,0,0),L))}});var c=Math.abs(s.dirVec.x)>.1?"x":"y",h=s.transGroup[c];if(l.sort(function(t,e){return Math.abs(t.label[c]-h)-Math.abs(e.label[c]-h)}),u&&o){var p=a.getExtent(),d=Math.min(p[0],p[1]),g=Math.max(p[0],p[1])-d;o.union(new b.Ay(d,0,g,1))}s.stOccupiedRect=o,s.labelInfoList=l}(t,r,o,P)}function H(t){t&&(t.ignore=!0)}function j(t,e,r,n,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]=r,e&&((0,g.NW)(l,l,e),(0,g.NW)(u,u,e));var p=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:n,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=i+"_"+t[c].tickValue,s.push(p);var d=D(p);d.onBand=!!t[c].onBand,d.tickValue=t[c].tickValue}return s}function W(t,e,r){if(V(t)){var n=t.axisLabelsCreationContext.out.noPxChangeTryDetermine;if(r.noPxChange){for(var i=!0,o=0;o<n.length;o++)i=i&&n[o]();if(i)return!1}n.length&&(e.remove(t.labelGroup),Y(t,null,null,null))}return!0}function V(t){return!!t.labelLayoutList}function Y(t,e,r,n){t.labelLayoutList=e,t.labelGroup=r,t.axisLabelsCreationContext=n}var X=new l.A,G=new l.A,U=N},uJ(t,e,r){"use strict";var n=r("i4"),i=r("VN"),o=r("BP"),a={};e.A=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,n.C6)(e,t),e.prototype.render=function(e,r,n,o){this.axisPointerClass&&i.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,n,!0)},e.prototype.updateAxisPointer=function(t,e,r,n){this._doUpdateAxisPointerClass(t,r,!1)},e.prototype.remove=function(t,e){var r=this._axisPointer;r&&r.remove(e)},e.prototype.dispose=function(e,r){this._disposeAxisPointer(r),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,r,n){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=i.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,r,n):this._disposeAxisPointer(r)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},Dx(t,e,r){"use strict";r.d(e,{},{D:function(){return null}})},rR(t,e,r){"use strict";var n=r("iY"),i=r("xN");r.d(e,{},{A:function(t,e){var r,o=[],a=t.seriesIndex;if(null==a||!(r=e.getSeriesByIndex(a)))return{point:[]};var s=r.getData(),l=i.le(s,t);if(null==l||l<0||n.cy(l))return{point:[]};var u=s.getItemGraphicEl(l),c=r.coordinateSystem;if(r.getTooltipPosition)o=r.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(t.isStacked){var h=c.getBaseAxis(),p=c.getOtherAxis(h).dim,d=h.dim,f=+("x"===p||"radius"===p),g=s.mapDimension(d),m=[];m[f]=s.get(g,l),m[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=c.dataToPoint(m)||[]}else o=c.dataToPoint(s.getValues(n.Tj(c.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var y=u.getBoundingRect().clone();y.applyTransform(u.transform),o=[y.x+y.width/2,y.y+y.height/2]}return{point:o,el:u}}})},vF3(t,e,r){"use strict";var n=r("iY"),i=r("E3"),o=(0,r("xN").$r)(),a=n.__;function s(t,e,r){t.handler("leave",null,r)}function l(t,e,r,n){e.handler(t,r,n)}r.d(e,{},{h:function(t,e){if(!i.A.node){var r=e.getZr();(o(r).records||{})[t]&&(o(r).records[t]=null)}},k:function(t,e,r){if(!i.A.node){var u=e.getZr();o(u).records||(o(u).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,r("click",n.cF(l,"click")),r("mousemove",n.cF(l,"mousemove")),r("mousewheel",n.cF(l,"mousewheel")),r("globalout",s));function r(r,n){t.on(r,function(r){var i,s,l,u,c,h,p,d,f=(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&&n(t,r,f.dispatchAction)}),u=f.pendings,c=e,p=u.showTip.length,d=u.hideTip.length,p?h=u.showTip[p-1]:d&&(h=u.hideTip[d-1]),h&&(h.dispatchAction=null,c.dispatchAction(h))})}}(u,e),(o(u).records[t]||(o(u).records[t]={})).handler=r}}})},hJ(t,e,r){"use strict";r.d(e,{a:()=>W});var n=r("uJ"),i=r("i4"),o=r("iY"),a=r("jZ"),s=r("w2"),l=r("s2"),u=r("W5"),c=r("VN"),h=r("lX"),p=r("dd"),d=r("xN"),f=r("lN"),g=(0,d.$r)(),m=o.o8,y=o.oI,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,r,n){var i=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=r,n||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,r);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=h;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=o.cF(_,e,p);this.updatePointerEl(l,c,d),this.updateLabelEl(l,c,d,e)}else l=this._group=new a.A,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),r.getZr().add(l);A(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 r=e.get("animation"),n=t.axis,i="category"===n.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===r||null==r){var a=this.animationThreshold;if(i&&(0,f.D)(n).w>a)return!0;if(o){var s=c.Yc(t).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===r},t.prototype.makeElOption=function(t,e,r,n,i){},t.prototype.createPointerEl=function(t,e,r,n){var i=e.pointer;if(i){var o=g(t).pointerEl=new s[i.type](m(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,r,n){if(e.label){var i=g(t).labelEl=new l.Ay(m(e.label));t.add(i),x(i,n)}},t.prototype.updatePointerEl=function(t,e,r){var n=g(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),r(n,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,r,n){var i=g(t).labelEl;i&&(i.setStyle(e.label.style),r(i,{x:e.label.x,y:e.label.y}),x(i,n))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),l=r.get("status");if(!a.get("show")||!l||"hide"===l){i&&n.remove(i),this._handle=null;return}this._handle||(e=!0,i=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){h.ds(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),n.add(i)),A(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.cy(u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,p.N(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){_(this._axisPointerModel,!e&&this._moveAnimation,this._handle,b(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var r=this._handle;if(r){this._dragging=!0;var n=this.updateHandleTransform(b(r),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(b(n)),g(r).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(),r=this._group,n=this._handle;e&&r&&(this._lastGraphicKey=null,r&&e.remove(r),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),p.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,r){return{x:t[r=r||0],y:t[1-r],width:e[r],height:e[1-r]}},t}();function _(t,e,r,n){!function t(e,r){if(!(o.Gv(e)&&o.Gv(r)))return e===r;var n=!0;return o.__(r,function(r,i){n=n&&t(e[i],r)}),!!n}(g(r).lastProp,n)&&(g(r).lastProp=n,e?u.oi(r,n,t):(r.stopAnimation(),r.attr(n)))}function x(t,e){t[e.get(["label","show"])?"show":"hide"]()}function b(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function A(t,e,r){var n=e.get("z"),i=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i),t.silent=r)})}var w=r("lD"),S=r("sT"),k=r("MB"),T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.makeElOption=function(t,e,r,n,i){var o=r.axis,a=o.grid,s=n.get("type"),l=o.getGlobalExtent(),u=C(a,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=w.bY(n),p=M[s](o,c,l,u,n.get("seriesDataIndices"),n.ecModel);p.style=h,t.graphicKey=p.type,t.pointer=p}var d=S.Zp(a.getRect(),r);w.DA(e,t,d,r,n,i)},e.prototype.getHandleTransform=function(t,e,r){var n=S.Zp(e.axis.grid.getRect(),e,{labelInside:!1});n.labelMargin=r.get(["handle","margin"]);var i=w.Tc(e.axis,t,n);return{x:i[0],y:i[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,r,n){var i=r.axis,o=i.grid,a=i.getGlobalExtent(!0),s=C(o,i).getOtherAxis(i).getGlobalExtent(),l=+("x"!==i.dim),u=[t.x,t.y];u[l]+=e[l],u[l]=(0,k.rp)(a[1],u[l]),u[l]=(0,k.JB)(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 C(t,e){var r={};return r[e.dim+"AxisIndex"]=e.index,t.getCartesian(r)}var M={line:function(t,e,r,n){return{type:"Line",subPixelOptimize:!0,shape:w.MU([e,n[0]],[e,n[1]],I(t))}},shadow:function(t,e,r,n,i,o){var a=w.Z5(t,i,o),s=n[1]-n[0],l=w.YN(e,r,a),u=l[0],c=l[1];return{type:"Rect",shape:w.cU([u,n[0]],[c-u,s],I(t))}}};function I(t){return+("x"!==t.dim)}var D=r("wv"),P=r("g8"),O=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:P.A.color.border,width:1,type:"dashed"},shadowStyle:{color:P.A.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:P.A.color.neutral00,padding:[5,7,5,7],backgroundColor:P.A.color.accent60,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:P.A.color.accent40,throttle:40}},e}(D.A),L=r("vF3"),R=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),e.prototype.render=function(t,e,r){var n=e.getComponent("tooltip"),i=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click|mousewheel";L.k("axisPointer",r,function(t,e,r){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&r({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){L.h("axisPointer",e)},e.prototype.dispose=function(t,e){L.h("axisPointer",e)},e.type="axisPointer",e}(r("BP").A),E=r("rR"),B=(0,d.$r)();function N(t,e,r){var n=t.currTrigger,i=[t.x,t.y],a=t.dispatchAction||(0,o.oI)(r.dispatchAction,r),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){j(i)&&(i=(0,E.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,c,h=j(i),p=t.axesInfo,d=s.axesInfo,f="leave"===n||j(i),g={},m={},y={list:[],map:{}},v={showPointer:(0,o.cF)(F,m),showTooltip:(0,o.cF)($,y)};(0,o.__)(s.coordSysMap,function(t,e){var r=h||t.containPoint(i);(0,o.__)(s.coordSysAxesInfo[e],function(t,e){var n=t.axis,o=function(t,e){for(var r=0;r<(t||[]).length;r++){var n=t[r];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}(p,t);if(!f&&r&&(!p||o)){var a=o&&o.value;null!=a||h||(a=n.pointToData(i)),null!=a&&z(t,a,v,!1,g)}})});var _={};return(0,o.__)(d,function(t,e){var r=t.linkGroup;r&&!m[e]&&(0,o.__)(r.axesInfo,function(e,n){var i=m[n];if(e!==t&&i){var o=i.value;r.mapper&&(o=t.axis.scale.parse(r.mapper(o,H(e),H(t)))),_[t.key]=o}})}),(0,o.__)(_,function(t,e){z(d[e],t,v,!0,g)}),l=m,u=d,c=g.axesInfo=[],(0,o.__)(u,function(t,e){var r=t.axisPointerModel.option,n=l[e];n?(t.useHandle||(r.status="show"),r.value=n.value,r.seriesDataIndices=(n.payloadBatch||[]).slice()):t.useHandle||(r.status="hide"),"show"===r.status&&c.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})}),function(t,e,r,n){if(j(e)||!t.list.length)return n({type:"hideTip"});var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}(y,i,t,a),function(t,e){var r=e.getZr(),n="axisPointerLastHighlights",i=B(r)[n]||{},a=B(r)[n]={};(0,o.__)(t,function(t,e){var r=t.axisPointerModel.option;"show"===r.status&&t.triggerEmphasis&&(0,o.__)(r.seriesDataIndices,function(t){a[t.seriesIndex+"|"+t.dataIndex]=t})});var s=[],l=[];function u(t){return{seriesIndex:t.seriesIndex,dataIndex:t.dataIndex}}(0,o.__)(i,function(t,e){a[e]||l.push(u(t))}),(0,o.__)(a,function(t,e){i[e]||s.push(u(t))}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(d,r),g}}function z(t,e,r,n,i){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries)return void r.showPointer(t,e);var s,l,u,c,h,p,d,f,g=(s=e,c=(u=(l=t).axis).dim,h=s,p=[],d=Number.MAX_VALUE,f=-1,(0,o.__)(l.seriesModels,function(t,e){var r,n,i=t.getData().mapDimensionsAll(c);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(i,s,u);n=a.dataIndices,r=a.nestestValue}else{if(!(n=t.indicesOfNearest(c,i[0],s,"category"===u.type?.5:null)).length)return;r=t.getData().get(i[0],n[0])}if((0,k.YC)(r)){var l=s-r,g=Math.abs(l);g<=d&&((g<d||l>=0&&f<0)&&(d=g,f=l,h=r,p.length=0),(0,o.__)(n,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:h}),m=g.payloadBatch,y=g.snapToValue;m[0]&&null==i.seriesIndex&&(0,o.X$)(i,m[0]),!n&&t.snap&&a.containData(y)&&null!=y&&(e=y),r.showPointer(t,e,m),r.showTooltip(t,g,y)}}function F(t,e,r,n){t[e.key]={value:r,payloadBatch:n}}function $(t,e,r,n){var i=r.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var l=e.coordSys.model,u=c.og(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function H(t){var e=t.axis.model,r={},n=r.axisDim=t.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=e.componentIndex,r.axisName=r[n+"AxisName"]=e.name,r.axisId=r[n+"AxisId"]=e.id,r}function j(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function W(t){n.A.registerAxisPointerClass("CartesianAxisPointer",T),t.registerComponentModel(O),t.registerComponentView(R),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.cy)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,{overallReset:function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,c.Fo)(t,e)}}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},N)}},VN(t,e,r){"use strict";var n=r("Sk"),i=r("iY");function o(t,e){return"all"===t||(0,i.cy)(t)&&(0,i.qh)(t,e)>=0||t===e}function a(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[l(t)]}function s(t){return!!t.get(["handle","show"])}function l(t){return t.type+"||"+t.id}r.d(e,{},{Fo:function(t,e){var r,a,u,c,h,p,d,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return r=g,a=t,u=e,c=a.getComponent("tooltip"),p=(h=a.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,i.__)(u.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=l(t.model),u=r.coordSysAxesInfo[e]={};r.coordSysMap[e]=t;var f=t.model.getModel("tooltip",c);if((0,i.__)(t.getAxes(),(0,i.cF)(v,!1,null)),t.getTooltipAxes&&c&&f.get("show")){var g="axis"===f.get("trigger"),m="cross"===f.get(["axisPointer","type"]),y=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||m)&&(0,i.__)(y.baseAxes,(0,i.cF)(v,!m||"cross",g)),m&&(0,i.__)(y.otherAxes,(0,i.cF)(v,"cross",!1))}}function v(e,c,g){var m=g.model.getModel("axisPointer",h),y=m.get("show");if(y&&("auto"!==y||e||s(m))){null==c&&(c=m.get("triggerTooltip"));var v=(m=e?function(t,e,r,o,a,s){var l=e.getModel("axisPointer"),u={};(0,i.__)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,i.o8)(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 p=u.lineStyle=l.get("crossStyle");p&&(0,i.NT)(c,p.textStyle)}}return t.model.getModel("axisPointer",new n.A(u,r,o))}(g,f,h,a,e,c):m).get("snap"),_=m.get("triggerEmphasis"),x=l(g.model),b=c||v||"category"===g.type,A=r.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:m,triggerTooltip:c,triggerEmphasis:_,involveSeries:b,snap:v,useHandle:s(m),seriesModels:[],linkGroup:null};u[x]=A,r.seriesInvolved=r.seriesInvolved||b;var w=function(t,e){for(var r=e.model,n=e.dim,i=0;i<t.length;i++){var a=t[i]||{};if(o(a[n+"AxisId"],r.id)||o(a[n+"AxisIndex"],r.componentIndex)||o(a[n+"AxisName"],r.name))return i}}(p,g);if(null!=w){var S=d[w]||(d[w]={axesInfo:{}});S.axesInfo[x]=A,S.mapper=p[w].mapper,A.linkGroup=S}}}}),g.seriesInvolved&&(f=g,t.eachSeries(function(t){var e=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),n=t.get(["tooltip","show"],!0);e&&e.model&&"none"!==r&&!1!==r&&"item"!==r&&!1!==n&&!1!==t.get(["axisPointer","show"],!0)&&(0,i.__)(f.coordSysAxesInfo[l(e.model)],function(r){var n=r.axis;e.getAxis(n.dim)===n&&(r.seriesModels.push(t),null==r.seriesDataCount&&(r.seriesDataCount=0),r.seriesDataCount+=t.getData().count())})})),g},Yc:a,h_:function(t){var e=a(t);if(e){var r=e.axisPointerModel,n=e.axis.scale,i=r.option,o=r.get("status"),l=r.get("value");null!=l&&(l=n.parse(l));var u=s(r);null==o&&(i.status=u?"show":"hide");var c=n.getExtent();(null==l||l>c[1])&&(l=c[1]),l<c[0]&&(l=c[0]),i.value=l,u&&(i.status=e.axis.scale.isBlank()?"hide":"show")}},mg:function(t){var e=a(t);return e&&e.axisPointerModel},og:l})},lD(t,e,r){"use strict";var n=r("iY"),i=r("w2"),o=r("KO"),a=r("s7"),s=r("AT"),l=r("k4"),u=r("FB"),c=r("F4"),h=r("lN"),p=r("MB");function d(t,e,r,i,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.Dt(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};n.__(i,function(t){var e=r.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,i=e&&e.getDataParams(n);i&&u.seriesData.push(i)}),n.Kg(s)?a=s.replace("{value}",a):n.Tn(s)&&(a=s(u))}return a}function f(t,e,r){var n=s.vt();return s.e$(n,n,r.rotation),s.Tl(n,n,r.position),i.applyTransform([t.dataToCoord(e),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}r.d(e,{},{DA:function(t,e,r,n,i,s){var l,h,p,g,m,y,v,_,x,b,A,w,S,k,T,C,M,I,D=u.Ay.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),v={position:f(n.axis,t,r),align:D.textAlign,verticalAlign:D.textVerticalAlign},_=d(i.get("value"),n.axis,n.ecModel,i.get("seriesDataIndices"),{precision:i.get(["label","precision"]),formatter:i.get(["label","formatter"])}),x=i.getModel("label"),b=a.QX(x.get("padding")||0),A=x.getFont(),w=o.NO(_,A),S=v.position,k=w.width+b[1]+b[3],T=w.height+b[0]+b[2],"right"===(C=v.align)&&(S[0]-=k),"center"===C&&(S[0]-=k/2),"bottom"===(M=v.verticalAlign)&&(S[1]-=T),"middle"===M&&(S[1]-=T/2),l=S,h=k,p=T,m=(g=s).getWidth(),y=g.getHeight(),l[0]=Math.min(l[0]+h,m)-h,l[1]=Math.min(l[1]+p,y)-p,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(I=x.get("backgroundColor"))&&"auto"!==I||(I=n.get(["axisLine","lineStyle","color"])),e.label={x:S[0],y:S[1],style:(0,c.VB)(x,{text:_,font:A,fill:x.getTextColor(),padding:b,backgroundColor:I}),z2:10}},MU:function(t,e,r){return{x1:t[r=r||0],y1:t[1-r],x2:e[r],y2:e[1-r]}},Tc:f,YN:function(t,e,r){return[(0,p.JB)((0,p.rp)(e[0],e[1]),t-r/2),(0,p.rp)(t+r/2,(0,p.JB)(e[0],e[1]))]},Z5:function(t,e,r){return(0,h.D)(t,{fromStat:{sers:n.Tj(e,function(t){return r.getSeriesByIndex(t.seriesIndex)})},min:1}).w},_F:d,bY:function(t){var e,r=t.get("type"),n=t.getModel(r+"Style");return"line"===r?(e=n.getLineStyle()).fill=null:"shadow"===r&&((e=n.getAreaStyle()).stroke=null),e},cU:function(t,e,r){return{x:t[r=r||0],y:t[1-r],width:e[r],height:e[1-r]}}})},t4(t,e,r){"use strict";var n=r("yU"),i=r("hJ"),o=r("xNS");r.d(e,{},{a:function(t){(0,o.Y)(n.a),(0,o.Y)(i.a)}})},yU(t,e,r){"use strict";r.d(e,{a:()=>tx});var n,i=r("i4"),o=r("BP"),a=r("UG"),s=r("Vb"),l=r("iY"),u=r("wv"),c=function(){function t(){}return t.prototype.needIncludeZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),h=r("xN"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",h.US).models[0]},e.type="cartesian2dAxis",e}(u.A);l.co(p,c);var d=r("g8"),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:"auto",onZeroAxisIndex:null,lineStyle:{color:d.A.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},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,color:d.A.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:d.A.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[d.A.color.backgroundTint,d.A.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:d.A.color.neutral00,borderColor:d.A.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},g=l.h1({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},f),m=l.h1({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:d.A.color.axisMinorSplitLine,width:1}}},f),y=l.h1({splitNumber:6,axisLabel:{rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},m),v=l.NT({logBase:10},m),_={category:g,value:m,time:y,log:v},x=r("db"),b=r("di"),A=r("q3"),w=r("Dx");function S(t,e,r,n){(0,l.__)(A.U,function(o,a){var s=(0,l.h1)((0,l.h1)({},_[a],!0),n,!0),u=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e+"Axis."+a,r}return(0,i.C6)(r,t),r.prototype.mergeDefaultAndTheme=function(t,e){var r=(0,x.ad)(this),n=r?(0,x.vs)(t):{},i=e.getTheme();(0,l.h1)(t,i.get(a+"Axis")),(0,l.h1)(t,this.getDefaultOption()),t.type=k(t),r&&(0,x.YA)(t,n,r)},r.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=b.A.createByAxisModel(this))},r.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},r.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},r.prototype.updateAxisBreaks=function(t){var e=(0,w.D)();return e?e.updateModelAxisBreak(this,t):{breaks:[]}},r.type=e+"Axis."+a,r.defaultOption=s,r}(r);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",k)}function k(t){return t.type||(t.data?"category":"value")}var T=r("k4"),C=r("Y8"),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.Tj(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.pb(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}(),I=r("AT"),D=r("xy"),P=r("Zb"),O=r("xD"),L=["x","y"];function R(t){return("interval"===t.type||"time"===t.type)&&!(0,O.Bd)(t)}var E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=a.Tw,e.dimensions=L,e}return(0,i.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(R(t)&&R(e)){var r=(0,P.Gj)(t,null),n=(0,P.Gj)(e,null),i=this.dataToPoint([r[0],n[0]]),o=this.dataToPoint([r[1],n[1]]),a=r[1]-r[0],s=n[1]-n[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-r[0]*l,h=i[1]-n[0]*u,p=this._transform=[l,0,0,u,c,h];this._invTransform=(0,I.B8)([],p)}}},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"),r=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&r.contain(r.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 r=this.dataToPoint(t),n=this.dataToPoint(e),i=this.getArea(),o=new C.Ay(r[0],r[1],n[0]-r[0],n[1]-r[1]);return i.intersect(o)},e.prototype.dataToPoint=function(t,e,r){r=r||[];var n=t[0],i=t[1];if(this._transform&&null!=n&&isFinite(n)&&null!=i&&isFinite(i))return(0,D.NW)(r,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return r[0]=o.toGlobalCoord(o.dataToCoord(n,e)),r[1]=a.toGlobalCoord(a.dataToCoord(i,e)),r},e.prototype.clampData=function(t,e){var r=this.getAxis("x").scale,n=this.getAxis("y").scale,i=r.getExtent(),o=n.getExtent(),a=r.parse(t[0]),s=n.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,r){if(r=r||[],this._invTransform)return(0,D.NW)(r,t,this._invTransform);var n=this.getAxis("x"),i=this.getAxis("y");return r[0]=n.coordToData(n.toLocalCoord(t[0]),e),r[1]=i.coordToData(i.toLocalCoord(t[1]),e),r},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(),r=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1])-t,i=Math.min(r[0],r[1])-t,o=Math.max(e[0],e[1])-n+t,a=Math.max(r[0],r[1])-i+t;return new C.Ay(n,i,o,a)},e}(M),B=r("MB"),N=r("rG"),z=r("x2R"),F=r("lN"),$=[0,1];function H(t){var e=t.getExtent();if(t.onBand){var r=(e[1]-e[0])/t.scale.count()/2;e[0]+=r,e[1]-=r}return e}var j=function(t){function e(e,r,n,i,o){var a=t.call(this,e,r,n)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return(0,i.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(function(){function t(t,e,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=r||[0,0]}return t.prototype.contain=function(t){var e=this._extent,r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=r&&t<=n},t.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var r=this._extent;r[0]=t,r[1]=e},t.prototype.dataToCoord=function(t,e){var r=this.scale;return t=r.normalize(r.parse(t)),(0,B.Cb)(t,$,H(this),e)},t.prototype.coordToData=function(t,e){var r=(0,B.Cb)(t,H(this),$,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),r=(0,N.MI)(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),n=(0,l.Tj)(r.ticks,function(t){return{coord:this.dataToCoord((0,T.NQ)(this.scale,t)),tick:t}},this),i=function(t,e,r){var n=e.length;if(!t.onBand||r||!n)return!1;var i=(0,F.D)(t).w;if(!i)return!1;(0,l.__)(e,function(t){t.coord-=i/2});var o=t.scale.getExtent(),a=e[n-1];return a.tick.offInterval&&e.pop(),e.push({coord:a.coord+i,tick:{value:o[1]+1}}),!0}(this,n,e.get("alignWithLabel"));return(0,l.Tj)(n,function(t){return{coord:t.coord,tickValue:t.tick.value,onBand:i}})},t.prototype.getMinorTicksCoords=function(){if((0,z.wl)(this.scale))return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,l.Tj)(e,function(t){return(0,l.Tj)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(t){return t=t||(0,N.eP)(N.fm.determine),(0,N.vI)(this,t).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){return(0,F.D)(this,{min:1}).w},t.prototype.calculateCategoryInterval=function(t){return t=t||(0,N.eP)(N.fm.determine),(0,N.EO)(this,t)},t}()),W=r("sT"),V=r("uP"),Y=r("w2"),X=r("FB"),G=r("Ww");function U(t,e){var r,n,i,o,a,s,l,u,c,h,p,d,f,g,m,y,v,_,x=(0,z.F)(t),b=x?t.intervalStub:t,A=e.fixMinMax||[],w=x?t.getExtent():null,S=b.getExtent(),k=(0,z.Ob)(S,A,e.rawExtentResult);b.setExtent(k[0],k[1]),k=b.getExtent();var C=x?(r=b,n=e,i=(0,z.Ev)(n.splitNumber,10),o=r.getExtent(),a=(0,P.t5)(r),s=(0,B.JB)((0,B.au)(a),1),i/a*s<=.5&&(s*=10),l=(0,z.u$)(s),u=[(0,B.LI)((0,B.ih)(o[0]/s)*s,l),(0,B.LI)((0,B.Zr)(o[1]/s)*s,l)],{intervalPrecision:l,interval:s,niceExtent:u}):(c=b,h=e,p=(0,z.Ev)(h.splitNumber,5),d=(0,P.t5)(c),f=h.minInterval,g=h.maxInterval,m=(0,B.Cm)(d/p,!0),null!=f&&m<f&&(m=f),null!=g&&m>g&&(m=g),y=(0,z.u$)(m),v=c.getExtent(),_=[(0,B.LI)((0,B.ih)(v[0]/m)*m,y),(0,B.LI)((0,B.Zr)(v[1]/m)*m,y)],{interval:m,intervalPrecision:y,niceExtent:_}),M=C.intervalPrecision,I=C.interval,D=e.userInterval;null!=D&&(C.interval=D,C.intervalPrecision=(0,z.u$)(D)),A[0]||(k[0]=(0,B.LI)((0,B.Zr)(k[0]/I)*I,M)),A[1]||(k[1]=(0,B.LI)((0,B.ih)(k[1]/I)*I,M)),null!=D&&(C.niceExtent=k.slice()),(0,T.H1)(t,A,S,k,w,C)}function Z(t){var e,r,n,i,o,a,s,l,u=t.scale,c=t.model,h=c.axis,p=c.ecModel;e=u,r=c,n=h,i=p,o=(0,V.zT)(e,r,i,n,null),a=(0,z.Qw)(e)||(0,z.oY)(e),s=e,l={splitNumber:r.get("splitNumber"),fixMinMax:o.fixMM,userInterval:r.get("interval"),minInterval:a?r.get("minInterval"):null,maxInterval:a?r.get("maxInterval"):null,rawExtentResult:o},q[s.type](s,l),n&&i&&(0,V.Pu)(n,e,o,i)}var q={interval:U,log:U,time:r("gE").R,ordinal:l.lQ},K=r("Od"),Q=r("sn"),J=[[3,1],[0,2]],tt=function(){function t(t,e,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=L,this._initCartesian(t,e,r),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var r=this._axesMap;function n(t){for(var e=(0,l.HP)(t),r=[],n=e.length-1;n>=0;n--){var i=t[+e[n]];i.__alignTo?r.push(i):Z(i)}(0,l.__)(r,function(t){var e,r;(e=t,r=t.__alignTo,(0,O.Bd)(e.scale)||(0,O.Bd)(r.scale)||r.scale.getTicks().length<2)?Z(t):function(t,e){var r,n,i,o,a,s,l,u,c,h=t.scale,p=t.model,d=(0,V.zT)(h,p,p.ecModel,t,null),f=(0,z.F)(h),g=(0,z.F)(e)?e.intervalStub:e,m=f?h.intervalStub:h,y=h.base,v=g.getTicks(),_=g.getTicks({expandToNicedExtent:!0}),x=v.length-1;if(1===x)r=n=0,i=1;else if(2===x){var b=(0,B.NY)(v[0].value-v[1].value),A=(0,B.NY)(v[1].value-v[2].value);r=n=0,b===A?i=2:(i=1,b<A?r=b/A:n=A/b)}else{var w=g.getConfig().interval;r=(1-(v[0].value-_[0].value)/w)%1,n=(1-(_[x].value-v[x].value)/w)%1,i=x-!!r-!!n}var S=d.zoomFixMM,k=S[0]||S[1],C=[d.fixMM[0]||k,d.fixMM[1]||k],M=h.getExtent(),I=m.getExtent(),D=(0,z.Ob)(I,C);function P(t){for(var e=0;e<50&&!t();e++)s=f?s*(0,B.JB)(y,2):(0,z.kH)(s),l=(0,z.u$)(s)}function O(){o=(0,B.LI)(c-s*r,l)}function L(){a=(0,B.LI)(u+s*n,l)}function R(){c=r?(0,B.LI)(o+s*r,l):o}function E(){u=n?(0,B.LI)(a-s*n,l):a}if(C[0]&&C[1]){o=D[0],s=((a=D[1])-o)/(i+r+n);var N=t.getExtent(),F=(0,B.NY)(N[1]-N[0]);l=(0,B.EO)([a,o],F,.5/i),R(),E(),(0,B.YC)(l)&&(s=(0,B.LI)(s,l))}else{var $=D[1]-D[0];s=f?(0,B.JB)((0,B.au)($),1):(0,B.Cm)($/i,B.Dx),l=(0,z.u$)(s),C[0]?(o=D[0],P(function(){if(R(),u=(0,B.LI)(c+s*i,l),L(),a>=D[1])return!0})):C[1]?(a=D[1],P(function(){if(E(),c=(0,B.LI)(u-s*i,l),O(),o<=D[0])return!0})):P(function(){c=(0,B.LI)((0,B.ih)(D[0]/s)*s,l),u=(0,B.LI)((0,B.Zr)(D[1]/s)*s,l);var t=(0,B.jn)((u-c)/s);if(t<=i){var e=i-t,r=void 0,n=d.incl0||f;if(n&&0===D[0])r=[0,e];else if(n&&0===D[1])r=[e,0];else{var h=(0,B.Zr)(e/2);r=e%2==0?[h,h]:o+a<D[0]+D[1]?[h,h+1]:[h+1,h]}if(c=(0,B.LI)(c-s*r[0],l),u=(0,B.LI)(u+s*r[1],l),O(),L(),o<=D[0]&&a>=D[1])return!0}})}(0,T.H1)(h,C,I,[o,a],M,{interval:s,intervalCount:i,intervalPrecision:l,niceExtent:[c,u]})}(t,t.__alignTo.scale)})}(0,l.__)(this._axesList,function(t){(0,V.DT)(t,V.ex);var e=t.scale;(0,z.wl)(e)&&e.setSortInfo(t.model.get("categorySortInfo"))}),n(r.x),n(r.y);var i={};(0,l.__)(r.x,function(t){te(r,"y",t,i)}),(0,l.__)(r.y,function(t){te(r,"x",t,i)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,r){var i=(0,x.Lj)(t,e),o=this._rect=(0,x.dV)(t.getBoxLayoutParams(),i.refContainer),s=this._axesMap,u=this._coordsList,c=t.get("containLabel");if(ti(s,o),!r){var h=(d=o,f=u,g=s,m=c,y=e,v=new X.ts(tl),(0,l.__)(g,function(t){return(0,l.__)(t,function(t){(0,T.Qs)(t.model)&&(t.axisBuilder=(0,W.oj)(d,f,t.model,y,v,!m))})}),v),p=void 0;if(c)n?(n(this._axesList,o),ti(s,o)):p=ta(o.clone(),"axisLabel",null,o,s,h,i);else{var d,f,g,m,y,v,_,b,A,w,S,k,C=(_=t,b=o,A=i,"same"===(S=_.get("outerBoundsMode",!0))?w=b.clone():(null==S||"auto"===S)&&(w=(0,x.dV)(_.get("outerBounds",!0)||a.GH,A.refContainer)),{outerBoundsRect:w,parsedOuterBoundsContain:null==(k=_.get("outerBoundsContain",!0))||"auto"===k||0>(0,l.qh)(["all","axisLabel"],k)?"all":k,outerBoundsClamp:[(0,B.LQ)((0,l.bZ)(_.get("outerBoundsClampWidth",!0),a.MQ["0"]),b.width),(0,B.LQ)((0,l.bZ)(_.get("outerBoundsClampHeight",!0),a.MQ["1"]),b.height)]}),M=C.outerBoundsRect,I=C.parsedOuterBoundsContain,D=C.outerBoundsClamp;M&&(p=ta(M,I,D,o,s,h,i))}ts(o,s,N.fm.determine,null,p,i),(0,l.__)(this._coordsList,function(t){t.calcAffineTransform()})}},t.prototype.getAxis=function(t,e){var r=this._axesMap[t];if(null!=r)return r[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var r="x"+t+"y"+e;return this._coordsMap[r]}(0,l.Gv)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===t||i[n].getAxis("y").index===e)return i[n]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,r){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.dataToPoint(r):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(r)):null},t.prototype.convertFromPixel=function(t,e,r){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.pointToData(r):n.axis?n.axis.coordToData(n.axis.toLocalCoord(r)):null},t.prototype._findConvertTarget=function(t){var e,r,n=t.seriesModel,i=t.xAxisModel||n&&n.getReferringComponents("xAxis",h.US).models[0],o=t.yAxisModel||n&&n.getReferringComponents("yAxis",h.US).models[0],a=t.gridModel,s=this._coordsList;return n?(e=n.coordinateSystem,0>(0,l.qh)(s,e)&&(e=null)):i&&o?e=this.getCartesian(i.componentIndex,o.componentIndex):i?r=this.getAxis("x",i.componentIndex):o?r=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:r}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,r){var n=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(r,n){var l,u;if(l=r,u=t,l.getCoordSysModel()===u){var c=r.get("position");"x"===e?"top"!==c&&"bottom"!==c&&(c=o.bottom?"top":"bottom"):"left"!==c&&"right"!==c&&(c=o.left?"right":"left"),o[c]=!0;var h=(0,T.J5)(r),p=new j(e,(0,T.f$)(r,h,!0),[0,0],h,c);p.onBand=(0,T.M2)(p.scale,r),p.inverse=r.get("inverse"),r.axis=p,p.model=r,p.grid=i,p.index=n,i._axesList.push(p),a[e][n]=p,s[e]++}}}this._axesMap=a,(0,l.__)(a.x,function(e,r){(0,l.__)(a.y,function(i,o){var a="x"+r+"y"+o,s=new E(a);s.master=n,s.model=t,n._coordsMap[a]=s,n._coordsList.push(s),s.addAxis(e),s.addAxis(i)})}),tn(a.x),tn(a.y)},t.prototype.getTooltipAxes=function(t){var e=[],r=[];return(0,l.__)(this.getCartesians(),function(n){var i=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),o=n.getOtherAxis(i);0>(0,l.qh)(e,i)&&e.push(i),0>(0,l.qh)(r,o)&&r.push(o)}),{baseAxes:e,otherAxes:r}},t.create=function(e,r){var n=[];return e.eachComponent("grid",function(i,o){var a=new t(i,e,r);a.name="grid_"+o,a.resize(i,r,!0),i.coordinateSystem=a,n.push(a),(0,l.__)(a._axesList,function(e){(0,V.y)(e,t.dimIdxMap)})}),e.eachSeries(function(t){var e,r;(0,G.m7)({targetModel:t,coordSysType:a.Tw,coordSysProvider:function(){var n=(0,W.LR)(t),i=n.xAxisModel,o=n.yAxisModel;return e=i.axis,r=o.axis,i.getCoordSysModel().coordinateSystem.getCartesian(i.componentIndex,o.componentIndex)}}),e&&r&&((0,Q.Lb)(e,t,a.Tw),(0,Q.Lb)(r,t,a.Tw))},this),n},t.dimensions=L,t.dimIdxMap=(0,K.io)(L),t}();function te(t,e,r,n){r.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=t[e],a=r.model,s=a.get(["axisLine","onZero"]),u=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=u)tr(s,o[u])&&(i=o[u]);else for(var c in o)if((0,l.$3)(o,c)&&tr(s,o[c])&&!n[h(o[c])]){i=o[c];break}i&&(n[h(i)]=!0)}function h(t){return t.dim+"_"+t.index}}function tr(t,e){if(!e)return!1;var r=e.scale,n=(0,T.$h)(r,0,!1),i=e&&"category"!==e.type&&"time"!==e.type&&n!==T.M8;return i&&"auto"===t&&(0,T.P5)(e)&&(i=!1),i}function tn(t){for(var e,r=(0,l.HP)(t),n=[],i=r.length-1;i>=0;i--){var o=t[+r[i]];(0,z.rf)(o.scale)&&null==(0,T.PP)(o.model,o.type,!0)&&(o.model.get("alignTicks")&&null==o.model.get("interval")?n.push(o):e=o)}e||(e=n.pop()),e&&(0,l.__)(n,function(t){t.__alignTo=e})}function ti(t,e){(0,l.__)(t.x,function(t){return to(t,e.x,e.width)}),(0,l.__)(t.y,function(t){return to(t,e.y,e.height)})}function to(t,e,r){var n,i,o=[0,r],a=+!!t.inverse;t.setExtent(o[a],o[1-a]),i=(n=t.getExtent())[0]+n[1],t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}function ta(t,e,r,n,i,o,a){ts(n,i,N.fm.estimate,e,!1,a);var s=[0,0,0,0];c(0),c(1),h(n,0,0/0),h(n,1,0/0);var u=null==(0,l.I6)(s,function(t){return t>0});return(0,Y.expandOrShrinkRect)(n,s,!0,!0,r),ti(i,n),u;function c(t){(0,l.__)(i[Y.XY[t]],function(e){if((0,T.Qs)(e.model)){var r=o.ensureRecord(e.model),n=r.labelInfoList;if(n)for(var i=0;i<n.length;i++){var a=n[i],s=e.scale.normalize((0,T.NQ)(e.scale,(0,X.Z0)(a.label).labelInfo.tick));s=1===t?1-s:s,h(a.rect,t,s),h(a.rect,1-t,0/0)}var l=r.nameLayout;if(l){var s=(0,T.SS)(r.nameLocation)?.5:0/0;h(l.rect,t,s),h(l.rect,1-t,0/0)}}})}function h(e,r,n){var i=t[Y.XY[r]]-e[Y.XY[r]],o=e[Y.WH[r]]+e[Y.XY[r]]-(t[Y.WH[r]]+t[Y.XY[r]]);i=p(i,1-n),o=p(o,n);var a=J[r][0],l=J[r][1];s[a]=(0,B.JB)(s[a],i),s[l]=(0,B.JB)(s[l],o)}function p(t,e){return t>0&&!(0,l.Yp)(e)&&e>1e-4&&(t/=e),t}}function ts(t,e,r,n,i,o){var a=r===N.fm.determine;(0,l.__)(e,function(e){return(0,l.__)(e,function(e){(0,T.Qs)(e.model)&&((0,W.Pd)(e.axisBuilder,t,e.model),e.axisBuilder.build(a?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:i}))})});var s={x:0,y:0};function u(e){s[Y.XY[1-e]]=t[Y.WH[e]]<=.5*o.refContainer[Y.WH[e]]?0:1-e==1?2:1}u(0),u(1),(0,l.__)(e,function(t,e){return(0,l.__)(t,function(t){(0,T.Qs)(t.model)&&(("all"===n||a)&&t.axisBuilder.build({axisName:!0},{nameMarginLevel:s[e]}),a&&t.axisBuilder.build({axisLine:!0}))})})}var tl=function(t,e,r,n,i,o){var a="x"===r.axis.dim?"y":"x";(0,X.x)(t,e,r,n,i,o),(0,T.SS)(t.nameLocation)||(0,l.__)(e.recordMap[a],function(t){t&&t.labelInfoList&&t.dirVec&&(0,X.RC)(t.labelInfoList,t.dirVec,n,i)})},tu=r("jZ"),tc=r("xz"),th=r("uJ"),tp=(0,h.$r)(),td=["splitArea","splitLine","minorSplitLine","breakArea"],tf=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.axisPointerClass="CartesianAxisPointer",r}return(0,i.C6)(e,t),e.prototype.render=function(e,r,n,i){this.group.removeAll();var o=this._axisGroup;this._axisGroup=new tu.A,this.group.add(this._axisGroup),(0,T.Qs)(e)&&(this._axisGroup.add(e.axis.axisBuilder.group),l.__(td,function(t){e.get([t,"show"])&&tg[t](this,this._axisGroup,e,e.getCoordSysModel(),n)},this),i&&"changeAxisOrder"===i.type&&i.isInitSort||Y.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,r,n,i))},e.prototype.remove=function(){tp(this).splitAreaColors=null},e.type="cartesianAxis",e}(th.A),tg={splitLine:function(t,e,r,n,i){var o=r.axis;if(!o.scale.isBlank()){var a=r.getModel("splitLine"),s=a.getModel("lineStyle"),u=s.get("color"),c=!1!==a.get("showMinLine"),h=!1!==a.get("showMaxLine");u=l.cy(u)?u:[u];for(var p=n.coordinateSystem.getRect(),d=o.isHorizontal(),f=0,g=o.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),m=[],y=[],v=s.getLineStyle(),_=0;_<g.length;_++){var x=o.toGlobalCoord(g[_].coord);if((0!==_||c)&&(_!==g.length-1||h)){var b=g[_].tickValue;d?(m[0]=x,m[1]=p.y,y[0]=x,y[1]=p.y+p.height):(m[0]=p.x,m[1]=x,y[0]=p.x+p.width,y[1]=x);var A=f++%u.length,w=new tc.A({anid:null!=b?"line_"+b:null,autoBatch:!0,shape:{x1:m[0],y1:m[1],x2:y[0],y2:y[1]},style:l.NT({stroke:u[A]},v),silent:!0});Y.subPixelOptimizeLine(w.shape,v.lineWidth),e.add(w)}}}},minorSplitLine:function(t,e,r,n,i){var o=r.axis,a=r.getModel("minorSplitLine").getModel("lineStyle"),s=n.coordinateSystem.getRect(),l=o.isHorizontal(),u=o.getMinorTicksCoords();if(u.length)for(var c=[],h=[],p=a.getLineStyle(),d=0;d<u.length;d++)for(var f=0;f<u[d].length;f++){var g=o.toGlobalCoord(u[d][f].coord);l?(c[0]=g,c[1]=s.y,h[0]=g,h[1]=s.y+s.height):(c[0]=s.x,c[1]=g,h[0]=s.x+s.width,h[1]=g);var m=new tc.A({anid:"minor_line_"+u[d][f].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:p,silent:!0});Y.subPixelOptimizeLine(m.shape,p.lineWidth),e.add(m)}},splitArea:function(t,e,r,n,i){!function(t,e,r,n){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitArea"),a=o.getModel("areaStyle"),u=a.get("color"),c=n.coordinateSystem.getRect(),h=i.getTicksCoords({tickModel:o,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(h.length){var p=u.length,d=tp(t).splitAreaColors,f=l.nt(),g=0;if(d)for(var m=0;m<h.length;m++){var y=d.get(h[m].tickValue);if(null!=y){g=(y+(p-1)*m)%p;break}}var v=i.toGlobalCoord(h[0].coord),_=a.getAreaStyle();u=l.cy(u)?u:[u];for(var m=1;m<h.length;m++){var x=i.toGlobalCoord(h[m].coord),b=void 0,A=void 0,w=void 0,S=void 0;i.isHorizontal()?(b=v,A=c.y,w=x-b,S=c.height,v=b+w):(b=c.x,A=v,w=c.width,S=x-A,v=A+S);var k=h[m-1].tickValue;null!=k&&f.set(k,g),e.add(new s.A({anid:null!=k?"area_"+k:null,shape:{x:b,y:A,width:w,height:S},style:l.NT({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%p}tp(t).splitAreaColors=f}}}(t,e,r,n)},breakArea:function(t,e,r,n,i){var o=(0,w.D)(),a=r.axis.scale;o&&"ordinal"!==a.type&&o.rectCoordBuildBreakAxis(e,t,r,n.coordinateSystem.getRect(),i)}},tm=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),e.type="xAxis",e}(tf),ty=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=tm.type,e}return(0,i.C6)(e,t),e.type="yAxis",e}(tf),tv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.C6)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.A({shape:t.coordinateSystem.getRect(),style:(0,l.NT)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(o.A),t_={offset:0};function tx(t){t.registerComponentView(tv),t.registerComponentModel(a.Ay),t.registerCoordinateSystem("cartesian2d",tt),S(t,"x",p,t_),S(t,"y",p,t_),t.registerComponentView(tm),t.registerComponentView(ty),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}},zZ(t,e,r){"use strict";var n=r("OR"),i=r("s7"),o=r("iY"),a=r("Fy4"),s=r("MB"),l=r("g8");function u(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,n.Me)(e+"")+"px"}function c(t,e){var r=t.color||l.A.color.tertiary,i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||l.A.color.secondary,s=t.fontSize||14,u=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,n.Me)(i+"")+"px;color:"+(0,n.Me)(r)+";font-weight:"+(0,n.Me)(o+""),valueStyle:"font-size:"+(0,n.Me)(s+"")+"px;color:"+(0,n.Me)(a)+";font-weight:"+(0,n.Me)(u+"")}:{nameStyle:{fontSize:i,fill:r,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var h=[0,10,20,30],p=["","\n","\n\n","\n\n\n"];function d(t){return"section"===t.type}function f(t,e,r,s){var l,v=e.noHeader,_={html:h[l=function t(e){if(d(e)){var r=0,n=e.blocks.length,i=n>1||n>0&&!e.noHeader;return(0,o.__)(e.blocks,function(e){var n=t(e);n>=r&&(r=n+ +(i&&(!n||d(e)&&!e.noHeader)))}),r}return 0}(e)],richText:p[l]},x=[],b=e.blocks||[];(0,o.vA)(!b||(0,o.cy)(b)),b=b||[];var A=t.orderMode;if(e.sortBlocks&&A){b=b.slice();var w={valueAsc:"asc",valueDesc:"desc"};if((0,o.$3)(w,A)){var S=new a.Fl(w[A],null);b.sort(function(t,e){return S.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===A&&b.reverse()}(0,o.__)(b,function(r,n){var i=e.valueFormatter,a=(d(r)?f:g)(i?(0,o.X$)((0,o.X$)({},t),{valueFormatter:i}):t,r,n>0?_.html:0,s);null!=a&&x.push(a)});var k="richText"===t.renderMode?x.join(_.richText):m(s,x.join(""),v?r:_.html);if(v)return k;var T=(0,i.yC)(e.header,"ordinal",t.useUTC),C=c(s,t.renderMode).nameStyle,M=u(s);return"richText"===t.renderMode?y(t,T,C)+_.richText+k:m(s,'<div style="'+C+";"+M+';">'+(0,n.Me)(T)+"</div>"+k,r)}function g(t,e,r,a){var s=t.renderMode,u=e.noName,h=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.cy)(t)?t:[t],(0,o.Tj)(t,function(t,e){return(0,i.yC)(t,(0,o.cy)(D)?D[e]:D,f)})};if(!u||!h){var v,_,x,b,A,w,S,k,T,C,M=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||l.A.color.secondary,s),I=u?"":(0,i.yC)(d,"ordinal",f),D=e.valueType,P=h?[]:g(e.value,e.rawDataIndex),O=!p||!u,L=!p&&u,R=c(a,s),E=R.nameStyle,B=R.valueStyle;return"richText"===s?(p?"":M)+(u?"":y(t,I,E))+(h?"":(v=t,_=P,x=O,b=L,A=[B],x&&A.push({padding:[0,0,0,b?10:20],align:"right"}),v.markupStyleCreator.wrapRichTextStyle((0,o.cy)(_)?_.join(" "):_,A))):m(a,(p?"":M)+(u?"":(w=I,'<span style="'+E+";"+(p?"":"margin-left:2px")+'">'+(0,n.Me)(w)+"</span>"))+(h?"":(S=P,k=O,T=L,C=B,S=(0,o.cy)(S)?S:[S],'<span style="'+(k?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+C+'">'+(0,o.Tj)(S,function(t){return(0,n.Me)(t)}).join(" ")+"</span>")),r)}}function m(t,e,r){return'<div style="margin: '+r+"px 0 0;"+u(t)+';">'+e+'<div style="clear:both"></div></div>'}function y(t,e,r){return t.markupStyleCreator.wrapRichTextStyle(e,r)}var v=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,r){var n="richText"===r?this._generateStyleName():null,a=(0,i.qg)({color:e,type:t,renderMode:r,markerId:n});return(0,o.Kg)(a)?a:(this.richTextStyles[n]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var r={};(0,o.cy)(e)?(0,o.__)(e,function(t){return(0,o.X$)(r,t)}):(0,o.X$)(r,e);var n=this._generateStyleName();return this.richTextStyles[n]=r,"{"+n+"|"+t+"}"},t}();r.d(e,{},{CO:function(t,e){var r=t.get("padding");return null!=r?r:"richText"===e?[8,10]:10},Qx:function(t,e){return e.type=t,e},Yu:function(t,e,r,n,i,o){if(t)return(d(t)?f:g)({useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)},aw:function(t,e){var r=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.he)(r)},lb:v})},mR(t,e,r){"use strict";r.d(e,{},{L:function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]&&!!t.getViewRect},g:function(t,e){return t.type===e}})},lN(t,e,r){"use strict";var n=r("iY"),i=r("x2R"),o=r("MB"),a=r("sn"),s=r("Zb");r.d(e,{},{D:function(t,e){e=e||{};var r,l,u,c,h,p,d,f,g,m,y,v,_,x={w:0/0,w2:0/0},b=t.scale,A=e.fromStat,w=e.min,S=(0,s.N2)(b);(0,o.YC)(S)||(S=0/0);var k=t.getExtent(),T=(0,o.NY)(k[1]-k[0]);return(0,i.wl)(b)?(r=x,l=t,u=S,c=T,0===(p=u+ +!!(h=l.onBand))&&(p=1),r.w=c/p,!h&&u&&c&&(r.w2=r.w*u/c)):A&&(d=x,f=t,g=S,m=T,y=A,v=!1,_=-1/0,(0,n.__)(y.key?[(0,a.C6)(f,y.key)]:(0,a.O8)(f,y.sers||[]),function(t){var e=t.liPosMinGap;null!=e&&(e>0?(e>_&&(_=e),v=!1):e===a.e2&&(v=!0))}),(0,o.YC)(g)&&g>0&&(0,o.YC)(_)?(d.w=m/g*_,d.w2=_):v&&(d.w=.8*m,d.w2=d.w*g/m)),null!=w&&(x.w=(0,o.YC)(x.w)?(0,o.JB)(w,x.w):w),x}})},q3(t,e,r){"use strict";r.d(e,{},{U:{value:1,category:1,time:1,log:1}})},k4(t,e,r){"use strict";r.d(e,{M8:()=>D,f$:()=>T,J5:()=>k,n8:()=>P,Dt:()=>R,wq:()=>N,j2:()=>E,$h:()=>C,NQ:()=>j,M2:()=>W,SS:()=>z,P5:()=>O,ry:()=>L,PP:()=>$,Qs:()=>F,PJ:()=>B,H1:()=>H});var n=r("iY"),i=r("i4"),o=r("kP"),a=r("di"),s=r("MB"),l=r("Zb"),u=r("x2R"),c=function(t){function e(r){var i=t.call(this)||this;i.type="ordinal",i.parse=e.parse,(0,l.Z0)(i,e.decoratedMethods);var o=r.ordinalMeta;o||(o=new a.A({})),(0,n.cy)(o)&&(o=new a.A({categories:(0,n.Tj)(o,function(t){return(0,n.Gv)(t)?t.value:t})})),i._ordinalMeta=o;var s=(0,l.zk)(null,null,r.extent||[0,o.categories.length-1]);return i._mapper=s.mapper,(0,l.w2)(i,s.mapper),i}return(0,i.C6)(e,t),e.parse=function(t){return null==t?t=0/0:(0,n.Kg)(t)?null==(t=this._ordinalMeta.getOrdinal(t))&&(t=0/0):t=(0,s.jn)(t),t},e.prototype.getTicks=function(){var t=[];return(0,u.gQ)(this,0,function(e){t.push(e)}),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,r=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=(0,s.rp)(o,e.length);i<a;++i)n[r[i]=e[i]]=i;for(var l=0;i<o;++i){for(;null!=n[l];)l++;r[i]=l,n[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),r=this._ordinalMeta.categories[e];return null==r?"":r+""}},e.prototype.count=function(){var t=(0,l.nl)(this._mapper);return t[1]-t[0]+1},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.type="ordinal",e.decoratedMethods={needTransform:function(){return this._mapper.needTransform()},contain:function(t){return this._mapper.contain(this._getTickNumber(t))&&t>=0&&t<this._ordinalMeta.categories.length},normalize:function(t){return this._mapper.normalize(this._getTickNumber(t))},scale:function(t){return this.getRawOrdinalNumber((0,s.jn)(this._mapper.scale(t)))},transformIn:function(t,e){return this._mapper.transformIn(this._getTickNumber(t),e)},transformOut:function(t,e){return this.getRawOrdinalNumber(this._mapper.transformOut(t,e))},getExtent:function(){return this._mapper.getExtent()},getExtentUnsafe:function(t,e){return this._mapper.getExtentUnsafe(t,e)},setExtent:function(t,e){return this._mapper.setExtent(t,e)},setExtent2:function(t,e,r){return this._mapper.setExtent2(t,e,r)}},e}(o.A);o.A.registerClass(c);var h=r("s7"),p=r("xD"),d=r("F5"),f=function(t){function e(r){var n=t.call(this)||this;n.type="interval",n.parse=e.parse,r=r||{};var i=(0,p.yM)(n,r),o=(0,l.zk)(n,i,null);return n.brk=o.brk,n._cfg={interval:0,intervalPrecision:2,intervalCount:void 0,niceExtent:void 0},n}return(0,i.C6)(e,t),e.parse=function(t){return null==t||""===t?0/0:Number(t)},e.prototype.getConfig=function(){return(0,n.o8)(this._cfg)},e.prototype.setConfig=function(t){var e=(0,l.nl)(this);this._cfg=t=(0,n.o8)(t),null==t.niceExtent&&(t.niceExtent=e.slice()),null==t.intervalPrecision&&(t.intervalPrecision=(0,u.u$)(t.interval))},e.prototype.getTicks=function(t){t=t||{};var e=this._cfg,r=e.interval,n=(0,l.nl)(this),i=e.niceExtent,o=e.intervalPrecision,a=(0,p.mn)(),u=this.brk,c=a&&u,h=[];if(!r)return h;if("only_break"===t.breakTicks&&c)return a.addBreaksToTicks(h,u.breaks,n),h;n[0]<i[0]&&h.push({value:t.expandToNicedExtent?(0,s.LI)(i[0]-r,o):n[0]});for(var d=function(t,e){return(0,s.jn)((e-t)/r)},f=e.intervalCount,g=i[0],m=0;;m++){if(null==f){if(g>i[1]||!isFinite(g)||!isFinite(i[1]))break}else{if(m>f)break;g=(0,s.rp)(g,i[1]),m===f&&(g=i[1])}if(h.push({value:g}),g=(0,s.LI)(g+r,o),u){var y=u.calcNiceTickMultiple(g,d);y>=0&&(g=(0,s.LI)(g+y*r,o))}if(h.length>0&&g===h[h.length-1].value)break;if(h.length>3e3)return[]}var v=h.length?h[h.length-1].value:i[1];return n[1]>v&&h.push({value:t.expandToNicedExtent?(0,s.LI)(v+r,o):n[1]}),c&&a.pruneTicksByBreak(t.pruneByBreak,h,u.breaks,function(t){return t.value},e.interval,n),c&&"none"!==t.breakTicks&&a.addBreaksToTicks(h,u.breaks,n),h},e.prototype.getMinorTicks=function(t){return(0,d.a)(this,t,(0,p.DL)(this),this._cfg.interval)},e.prototype.getLabel=function(t,e){if(null==t)return"";var r=e&&e.precision;null==r?r=(0,s.XV)(t.value)||0:"auto"===r&&(r=this._cfg.intervalPrecision);var n=(0,s.LI)(t.value,r,!0);return(0,h.ob)(n)},e.type="interval",e}(o.A);o.A.registerClass(f);var g=r("gE"),m=r("xN"),y=function(t){function e(r){var n=t.call(this)||this;n.type="log",n.parse=f.parse,n.base=r.logBase||10;var i=[],o=[],a=n._lookup={from:i,to:o};i[0]=i[1]=o[0]=o[1]=0/0,(0,l.Z0)(n,e.mapperMethods);var s=(0,p.mn)(),u=r.breakOption,c={lookup:a};return s&&s.parseAxisBreakOptionInwardTransform(u,n,{noNegative:!0},2,c),n.powStub=new f({breakParsed:c.original}),n.intervalStub=new f({breakParsed:c.transformed}),(0,l.w2)(n,n.intervalStub),n}return(0,i.C6)(e,t),e.prototype.getTicks=function(t){var e=this.base,r=this.powStub,i=(0,p.mn)(),o=this.intervalStub,a={lookup:{from:o.getExtent(),to:r.getExtent()}};return(0,n.Tj)(o.getTicks(t||{}),function(t){var n,o=t.value,s=(0,u.Mj)(o,e,a);if(i){var l=i.getTicksBreakOutwardTransform(this,t,(0,p.DL)(r),this._lookup);l&&(n=l.vBreak,s=l.tickVal)}return{value:s,break:n}},this)},e.prototype.getMinorTicks=function(t){return(0,d.a)(this,t,(0,p.DL)(this.powStub),this.intervalStub.getConfig().interval)},e.prototype.getLabel=function(t,e){return this.intervalStub.getLabel(t,e)},e.type="log",e.mapperMethods={needTransform:function(){return!0},normalize:function(t){return this.intervalStub.normalize((0,u.qe)(t,this.base))},scale:function(t){return(0,u.Mj)(this.intervalStub.scale(t),this.base,null)},transformIn:function(t,e){return t=(0,u.qe)(t,this.base),e&&e.depth===l.QO?t:this.intervalStub.transformIn(t,e)},transformOut:function(t,e){var r=e?e.depth:null;return v.depth=r,_.lookup=this._lookup,(0,u.Mj)(r===l.QO?t:this.intervalStub.transformOut(t,v),this.base,_)},contain:function(t){return this.powStub.contain(t)},setExtent:function(t,e){this.setExtent2(l.fU,t,e)},setExtent2:function(t,e,r){if((0,m.Xe)(e,r)&&!(e<=0)&&!(r<=0)){var n=x,i=x;if(t===l.fU){var o=this._lookup;n=o.to,i=o.from}this.powStub.setExtent2(t,n[0]=e,n[1]=r);var a=this.base;this.intervalStub.setExtent2(t,i[0]=(0,u.qe)(e,a),i[1]=(0,u.qe)(r,a))}},getFilter:function(){return{g:0}},sanitize:function(t,e){return(0,m.Xe)(e[0],e[1])&&(0,s.YC)(t)&&t<=0&&(t=e[0]),t},getDefaultStartValue:function(){return 1},getExtent:function(){return this.powStub.getExtent()},getExtentUnsafe:function(t,e){return null===e?this.powStub.getExtentUnsafe(t,null):this.intervalStub.getExtentUnsafe(t,e)}},e}(o.A);o.A.registerClass(y);var v={},_={},x=[],b=r("q3"),A=r("pE"),w=r("MUM"),S=(0,m.$r)();function k(t){var e=t.get("type");return null!=e&&(n.$3(b.U,e)||o.A.getClass(e))||(e="value"),e}function T(t,e,r){var n;switch((0,p.mn)()&&(n=$(t,e,r)),e){case"category":return new c({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:(0,m.X1)()});case"time":return new g.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC"),breakOption:n});case"log":return new y({logBase:t.get("logBase"),breakOption:n});case"value":return new f({breakOption:n});default:return new(o.A.getClass(e)||f)({})}}function C(t,e,r){var n=r?(0,l.Gj)(t,null):t.getExtentUnsafe(l.fU,null),i=n[0],o=n[1];return(0,m.Xe)(i,o)?i===e||o===e?I:i<e&&o>e?M:D:D}var M=1,I=2,D=3;function P(t){S(t).noOnMyZero=!0}function O(t){return S(t).noOnMyZero}function L(t){var e=t.getLabelModel().get("formatter");if("time"===t.type){var r=(0,w._O)(e);return function(e,n){return t.scale.getFormattedLabel(e,n,r)}}if(n.Kg(e))return function(r){var n=t.scale.getLabel(r);return e.replace("{value}",null!=n?n:"")};if(!n.Tn(e))return function(e){return t.scale.getLabel(e)};if("category"===t.type)return function(r,n){return e(R(t,r),r.value-t.scale.getExtent()[0],null)};var i=(0,p.mn)();return function(r,n){var o=null;return i&&(o=i.makeAxisLabelFormatterParamBreak(o,r.break)),e(R(t,r),n,o)}}function R(t,e){var r=t.scale;return(0,u.wl)(r)?r.getLabel(e):e.value}function E(t){var e=t.get("interval");return null==e?"auto":e}function B(t){return"category"===t.type&&0===E(t.getLabelModel())}function N(t,e){var r={};return n.__(t.mapDimensionsAll(e),function(e){r[(0,A.me)(t,e)]=!0}),n.HP(r)}function z(t){return"middle"===t||"center"===t}function F(t){return t.getShallow("show")}function $(t,e,r){var n=t.get("breaks",!0);if(null!=n)return(0,p.mn)()&&r&&"category"!==e?n:void 0}function H(t,e,r,n,i,o){var a=(0,u.F)(t),s=a?t.intervalStub:t;if(s.setExtent(n[0],n[1]),a){var c=t.powStub,h={depth:l.QO},p=t.transformOut(n[0],h),d=t.transformOut(n[1],h),f=(0,u._v)(r,n);e[0]&&!f[0]&&(p=i[0]),e[1]&&!f[1]&&(d=i[1]),c.setExtent(p,d)}s.setConfig(o)}function j(t,e){return(0,u.wl)(t)?t.getRawOrdinalNumber(e.value):e.value}function W(t,e){return(0,u.wl)(t)&&!!e.get("boundaryGap")}},sn(t,e,r){"use strict";var n=r("iY"),i=r("xN"),o=r("oh"),a=(0,i.EV)(),s=(0,i.$r)(),l=(0,i.$r)();function u(t,e){var r=t.model,n=s((0,o.US)(r.ecModel)).keyed,i=n&&n.get(e);return i&&i.get(r.uid)}function c(t,e){var r=s((0,o.US)(t)).keyed;r&&r.each(function(t,r){t.each(function(t,n){e(t,r,n)})})}function h(t){return{liPosMinGap:t?t.liPosMinGap:void 0}}function p(t,e,r){if(e)for(var n=0;n<e.length;n++){var i=e[n];t.isSeriesFiltered(i)||r(i)}}function d(t){var e=l((0,o.jN)(t)),r=e.keyed||(e.keyed=(0,n.nt)());c(t,function(e,i,o){var a=r.get(i)||r.set(i,(0,n.nt)()),s=a.get(o)||a.set(o,{});e.metrics.liPosMinGap&&f.liPosMinGap(t,e,s)})}var f={};function g(t,e,r){return t+"|&"+(0,n.bZ)(e,!0)+"|&"+(r||"")}var m=(0,n.nt)();r.d(e,{},{BV:function(t,e){var r=t.model,i=s((0,o.US)(r.ecModel)).keys;i&&(0,n.__)(i.get(r.uid),function(t){e(t)})},B_:p,C6:function(t,e){return h(u(t,e))},DQ:function(t,e,r){var n=s((0,o.US)(t)).keyed,i=n&&n.get(e);i&&i.each(function(t){r(t.axis)})},Lb:function(t,e,r){if(t){var i=e.ecModel,a=s((0,o.US)(i)),l=t.model.uid,u=a.axSer||(a.axSer=(0,n.nt)());(u.get(l)||u.set(l,[])).push(e);var c=e.subType,h=e.getBaseAxis()===t,p=m.get(g(c,h,r))||m.get(g(c,h,null));if(p){var d=a.keyed||(a.keyed=(0,n.nt)()),f=a.keys||(a.keys=(0,n.nt)()),y=p.key,v=d.get(y)||d.set(y,(0,n.nt)()),_=v.get(l);_||((_=v.set(l,{axis:t,sers:[],serByIdx:[]})).metrics=p.getMetrics(t),(f.get(l)||f.set(l,[])).push(y)),_.sers.push(e),_.serByIdx[e.seriesIndex]=e}}},Lc:-1,O8:function(t,e){var r=[];return c(t.model.ecModel,function(t){for(var n=0;n<e.length;n++)e[n]&&t.serByIdx[e[n].seriesIndex]&&r.push(h(t))}),r},V0:"|&",e2:-2,pd:function(t,e,r){var n=u(t,e);n&&p(t.model.ecModel,n.sers,r)},ss:function(t,e){var r=g(e.seriesType,e.baseAxis,e.coordSysType);m.set(r,e),a(t,function(){t.registerProcessor(t.PRIORITY.PROCESSOR.AXIS_STATISTICS,{overallReset:d})})},tO:function(t,e){var r=t.model.ecModel,n=s((0,o.US)(r)).axSer;n&&p(r,n.get(t.model.uid),e)},wW:function(t,e){f[t]=e}})},rG(t,e,r){"use strict";var n=r("iY"),i=r("KO"),o=r("xN"),a=r("k4"),s=r("MB"),l=r("x2R"),u=(0,o.$r)(),c=(0,o.$r)(),h={estimate:1,determine:2};function p(t){return{out:{noPxChangeTryDetermine:[]},kind:t}}function d(t,e){var r=e.getExtent(),i=[];return n.__(t,function(t){(t=e.parse(t))>=r[0]&&t<=r[1]&&i.push(t)}),(0,o.R3)(i,o.cd,null),(0,s.Y6)(i),n.Tj(i,function(t){return{value:t}})}function f(t,e,r){var i,o,s=m(t),l=(0,a.j2)(e),u=r.kind===h.estimate;if(!u){var p=v(s,l);if(p)return p}n.Tn(l)?i=A(t,l,!1):(o="auto"===l?function(t,e){if(e.kind===h.estimate){var r=t.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return c(t).autoInterval=r,!0}),r}var n=c(t).autoInterval;return null!=n?n:c(t).autoInterval=t.calculateCategoryInterval(e)}(t,r):l,i=A(t,o,!1));var d={labels:i,labelCategoryInterval:o};return u?r.out.noPxChangeTryDetermine.push(function(){return _(s,l,d),!0}):_(s,l,d),d}var g=y("axisTick"),m=y("axisLabel");function y(t){return function(e){return c(e)[t]||(c(e)[t]={list:[]})}}function v(t,e){for(var r=0;r<t.list.length;r++)if(t.list[r].key===e)return t.list[r].value}function _(t,e,r){return t.list.push({key:e,value:r}),r}function x(t,e,r){return null==b(t,e,r)}function b(t,e,r){var n=u(t.model),i=t.getExtent(),o=n.lastAutoInterval,a=n.lastTickCount;if(null!=o&&null!=a&&1>=Math.abs(o-e)&&1>=Math.abs(a-r)&&o>e&&n.axisExtent0===i[0]&&n.axisExtent1===i[1])return o;n.lastTickCount=r,n.lastAutoInterval=e,n.axisExtent0=i[0],n.axisExtent1=i[1]}function A(t,e,r){var i=(0,a.ry)(t),o=t.scale,s=[],u=n.Tn(e);return(0,l.gQ)(o,u?0:e,function(t,n){var a=o.getLabel(t);if(u){var l=!!e(t.value,a);if(t.offInterval=!l,!l&&!n)return}s.push(r?t:{formattedLabel:i(t),rawLabel:a,tick:t})}),s}r.d(e,{},{EO:function(t,e){var r,o,s=e.kind,l=(o=(r=t).getLabelModel(),{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:o.get("rotate")||0,font:o.getFont()}),u=(0,a.ry)(t),c=(l.axisRotate-l.labelRotate)/180*Math.PI,p=t.scale,d=p.getExtent(),f=p.count();if(d[1]-d[0]<1)return 0;var g=1;f>40&&(g=Math.max(1,Math.floor(f/40)));for(var m=d[0],y=t.dataToCoord(m+1)-t.dataToCoord(m),v=Math.abs(y*Math.cos(c)),_=Math.abs(y*Math.sin(c)),A=0,w=0;m<=d[1];m+=g){var S=0,k=0,T=i.NO(u({value:m}),l.font,"center","top");S=1.3*T.width,k=1.3*T.height,A=Math.max(A,S,7),w=Math.max(w,k,7)}var C=A/v,M=w/_;isNaN(C)&&(C=1/0),isNaN(M)&&(M=1/0);var I=Math.max(0,Math.floor(Math.min(C,M)));if(s===h.estimate)return e.out.noPxChangeTryDetermine.push(n.oI(x,null,t,I,f)),I;var D=b(t,I,f);return null!=D?D:I},MI:function(t,e,r){var i=t.scale,o=t.getTickModel().get("customValues");return o?{ticks:d(o,i)}:"category"===t.type?function(t,e){var r,i,o=g(t),s=(0,a.j2)(e),l=v(o,s);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(r=[]),n.Tn(s))r=A(t,s,!0);else if("auto"===s){var u=f(t,t.getLabelModel(),p(h.determine));i=u.labelCategoryInterval,r=n.Tj(u.labels,function(t){return t.tick})}else r=A(t,i=s,!0);return _(o,s,{ticks:r,tickCategoryInterval:i})}(t,e):{ticks:i.getTicks(r)}},eP:p,fm:h,vI:function(t,e){var r,i,o,s,l,u,c,h=t.getLabelModel().get("customValues");if(h){var p=t.scale;return{labels:n.Tj(d(h,p),function(e,r){return{formattedLabel:(0,a.ry)(t)(e,r),rawLabel:p.getLabel(e),tick:e}})}}return"category"===t.type?(r=t,i=e,o=r.getLabelModel(),s=f(r,o,i),!o.get("show")||r.scale.isBlank()?{labels:[]}:s):(u=(l=t).scale.getTicks(),c=(0,a.ry)(l),{labels:n.Tj(u,function(t,e){return{formattedLabel:c(t,e),rawLabel:l.scale.getLabel(t),tick:t}})})}})},UG(t,e,r){"use strict";var n=r("i4"),i=r("wv"),o=r("db"),a=r("g8"),s={left:0,right:0,top:0,bottom:0},l=["25%","25%"];e.Ay=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.mergeDefaultAndTheme=function(e,r){var n=(0,o.vs)(e.outerBounds);t.prototype.mergeDefaultAndTheme.apply(this,arguments),n&&e.outerBounds&&(0,o.YA)(e.outerBounds,n)},e.prototype.mergeOption=function(e,r){t.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&e.outerBounds&&(0,o.YA)(this.option.outerBounds,e.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:s,outerBoundsContain:"all",outerBoundsClampWidth:l[0],outerBoundsClampHeight:l[1],backgroundColor:a.A.color.transparent,borderWidth:1,borderColor:a.A.color.neutral30},e}(i.A),r.d(e,{},{GH:s,MQ:l,Tw:"cartesian2d"})},sT(t,e,r){"use strict";var n=r("iY"),i=r("xN"),o=r("FB"),a=r("x2R");function s(t,e,r){r=r||{};var i=e.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=[t.x,t.x+t.width,t.y,t.y+t.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,d="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(a){var f=a.toGlobalCoord(a.dataToCoord(0));d[h.onZero]=Math.max(Math.min(f,d[1]),d[0])}o.position=["y"===u?d[h[l]]:c[0],"x"===u?d[h[l]]:c[3]],o.rotation=Math.PI/2*("x"!==u),o.labelDirection=o.tickDirection=o.nameDirection=({top:-1,bottom:1,left:-1,right:1})[s],o.labelOffset=a?d[h[s]]-d[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),n.Je(r.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var g=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-g:g,o.z2=1,o}r.d(e,{},{LR:function(t){var e={xAxisModel:null,yAxisModel:null};return n.__(e,function(r,n){var o=n.replace(/Model$/,""),a=t.getReferringComponents(o,i.US).models[0];e[n]=a}),e},Pd:function(t,e,r){var n=s(e,r);t.updateCfg(n)},Zp:s,bJ:function(t){return t.dim+"_"+t.index},oj:function(t,e,r,n,i,l){for(var u=s(t,r),c=!1,h=!1,p=0;p<e.length;p++)(0,a.rf)(e[p].getOtherAxis(r.axis).scale)&&(c=h=!0,"category"===r.axis.type&&r.axis.onBand&&(h=!1));return u.axisLineAutoShow=c,u.axisTickAutoShow=h,u.defaultNameMoveOverlap=l,new o.Ay(r,n,u,i)},ty:function(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}})},uP(t,e,r){"use strict";var n=r("iY"),i=r("KO"),o=r("x2R"),a=r("xN"),s=r("k4"),l=r("Ww"),u=r("MB"),c=r("Zb"),h=r("sn"),p=(0,a.$r)(),d=function(){function t(t,e,r,i,s){var l,c=(0,o.wl)(t),h=c?e.getCategories().length:null;if(c){var p=e.getCategories(!0);l=p&&!p.length}var d=r.slice();((0,o.Qw)(t)||(0,o.F)(t)||(0,o.oY)(t))&&((0,a.FM)(d,g(t,e.get("dataMin",!0))),(0,a.i_)(d,g(t,e.get("dataMax",!0)))),(0,a.o1)(d)||(d[0]=d[1]=0/0);var y=[],v=[!1,!1],_=e.get("min",!0);"dataMin"===_?(y[0]=d[0],v[0]=!0):(y[0]=g(t,(0,n.Tn)(_)?_({min:d[0],max:d[1]}):_),v[0]=null!=y[0]);var x=e.get("max",!0);"dataMax"===x?(y[1]=d[1],v[1]=!0):(y[1]=g(t,(0,n.Tn)(x)?x({min:d[0],max:d[1]}):x),v[1]=null!=y[1]);var b=function(t,e){var r;if((0,o.wl)(t))r=[0,0];else{var i=e.get("boundaryGap");"boolean"==typeof i&&(i=null),r=(0,n.cy)(i)?i:[i,i]}return[m(r[0]),m(r[1])]}(t,e),A=c?null:d[1]-d[0]||Math.abs(d[0]);null==y[0]&&(y[0]=c?l?d[0]:h?0:0/0:d[0]-b[0]*A),null==y[1]&&(y[1]=c?l?d[1]:h?h-1:0/0:d[1]+b[1]*A),(0,a.fA)(y[0])||(y[0]=0/0),(0,a.fA)(y[1])||(y[1]=0/0);var w=l||(0,n.Yp)(y[0])||(0,n.Yp)(y[1])||c&&!h,S=(0,o.Qw)(t),k=S&&e.needIncludeZero&&e.needIncludeZero();k&&(y[0]>0&&y[1]>0&&!v[0]&&(y[0]=0),y[0]<0&&y[1]<0&&!v[1]&&(y[1]=0));var T=!1;y[0]>y[1]&&(y.reverse(),T=!0);var C=g(t,e.get("startValue",!0)),M=null!=C;!(0,u.YC)(C)&&i&&(C=t.getDefaultStartValue?t.getDefaultStartValue():0),(0,u.YC)(C)&&(M||!S||k)&&(C<y[0]&&!v[0]?(y[0]=C,v[0]=!0):C>y[1]&&!v[1]&&(y[1]=C,v[1]=!0)),f(this._i={scale:t,dataMM:d,noZoomEffMM:y,zoomMM:[],fixMM:v,zoomFixMM:[!1,!1],startValue:C,isBlank:w,incl0:k,tggAxInv:T,ctnShp:s},y)}return t.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},t.prototype.makeFinal=function(){var t=this._i,e=t.zoomMM,r=t.noZoomEffMM,n=t.zoomFixMM,i=t.fixMM,o={fixMM:i,zoomFixMM:n,isBlank:t.isBlank,incl0:t.incl0,tggAxInv:t.tggAxInv,ctnShp:t.ctnShp,effMM:r.slice()},a=o.effMM;return null!=e[0]&&(a[0]=e[0],i[0]=n[0]=!0),null!=e[1]&&(a[1]=e[1],i[1]=n[1]=!0),f(t,a),o},t.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},t.prototype.setZoomMM=function(t,e){this._i.zoomMM[t]=e},t}();function f(t,e){var r=t.scale,n=t.dataMM;r.sanitize&&(e[0]=r.sanitize(e[0],n),e[1]=r.sanitize(e[1],n),(0,a.U2)(e))}function g(t,e){return null==e?null:(0,n.Yp)(e)?0/0:t.parse(e)}function m(t){return(0,i.lo)("boolean"==typeof t?0:t,1)||0}function y(t){var e=p(t.scale);return e.extent||(e.extent=(0,a.X1)()),e}function v(t,e,r){t.rawExtentInfo=e,e.from=r}var _=(0,n.nt)();r.d(e,{},{Cy:function(t,e){_.set(t,e)},DT:function(t,e){var r,i,o,u,c,p,f,g,m,x,b=t.scale,A=t.model,w=t.dim;b.rawExtentInfo||(r=b,i=t,o=w,u=A,c=e,f=(p=y(i)).extent,g=!1,(0,h.tO)(i,function(t){if(t.boxCoordinateSystem){var e=(0,l.fE)(t).coord,u=p.dimIdxInCoord;if(u>=0&&(0,n.cy)(e)){var c=e[u];null==c||(0,n.cy)(c)||(0,a.vx)(f,r.parse(c))}}else if(t.coordinateSystem){var h=t.getData();if(h){var d=r.getFilter?r.getFilter():null;(0,n.__)((0,s.wq)(h,o),function(t){(0,a.Ax)(f,h.getApproximateExtent(t,d))})}t.__requireStartValue&&t.__requireStartValue(i)&&(g=!0)}}),m=function(t,e,r){var n=(0,s.M2)(t,r),i=r.get("containShape",!0);if(null!=i||n||(i=!0),!i)return!1;var o=!1;return(0,h.BV)(e,function(t){o=!!_.get(t)||o}),o}(r,i,u),x=new d(r,u,f,g,m),v(r,x,c),p.extent=null)},Pu:function(t,e,r,n){if(r.ctnShp&&((0,h.BV)(t,function(e){var r=_.get(e);if(r){var o=r(t,n);o&&(i=i||[0,0],(0,a.FM)(i,o[0]),(0,a.i_)(i,o[1]),(0,s.n8)(t))}}),i)){var i,l=e.getExtent();if((0,o.wl)(e))t.onBand||e.setExtent2(c.GU,(0,u.rp)(l[0],l[0]+i[0]),(0,u.JB)(l[1],l[1]+i[1]));else{var p=l.slice();r.zoomFixMM[0]||(p[0]=(0,u.rp)(p[0],e.transformOut(e.transformIn(p[0],null)+i[0],null))),r.zoomFixMM[1]||(p[1]=(0,u.JB)(p[1],e.transformOut(e.transformIn(p[1],null)+i[1],null))),(p[0]<l[0]||p[1]>l[1])&&e.setExtent2(c.GU,p[0],p[1])}}},ex:1,fK:2,y:function(t,e){y(t).dimIdxInCoord=e.get(t.dim)},zT:function(t,e,r,n,i){t.rawExtentInfo||(o={scale:t,model:e},s=i||(0,a.X1)(),v(l=o.scale,new d(l,o.model,s,!1,!1),3));var o,s,l,u=t.rawExtentInfo.makeFinal(),c=u.effMM;return t.setExtent(c[0],c[1]),t.setBlank(u.isBlank),n&&u.tggAxInv&&r&&!r.get("legacyMinMaxDontInverseAxis")&&(n.inverse=!n.inverse),u}})},Ww(t,e,r){"use strict";var n=r("iY"),i={},o={},a=function(){function t(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return t.prototype.create=function(t,e){function r(r,i){var o=[];return n.__(r,function(r,n){var i=r.create(t,e);o=o.concat(i||[])}),o}this._nonSeriesBoxMasterList=r(i,!0),this._normalMasterList=r(o,!1)},t.prototype.update=function(t,e){n.__(this._normalMasterList,function(r){r.update&&r.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},t.register=function(t,e){if("matrix"===t||"calendar"===t){i[t]=e;return}o[t]=e},t.get=function(t){return o[t]||i[t]},t}(),s=n.nt();e.Ay=a,r.d(e,{},{Xf:2,fE:function(t){var e=t.getShallow("coord",!0),r=1;if(null==e){var n=s.get(t.type);n&&n.getCoord2&&(r=2,e=n.getCoord2(t))}return{coord:e,from:r}},kf:function(t){s.set(t.fullType,{getCoord2:void 0}).getCoord2=t.getCoord2},m7:function(t){var e=t.targetModel,r=t.coordSysType,n=t.coordSysProvider,o=t.isDefaultDataCoordSys;t.allowNotFound;var a=function(t){var e=t.getShallow("coordinateSystem"),r=t.getShallow("coordinateSystemUsage",!0),n=0;if(e){var o="series"===t.mainType;(null==r&&(r=o?"data":"box"),"data"===r)?(n=1,o||(n=0)):"box"!==r||(n=2,o||i[e])||(n=0)}return{coordSysType:e,kind:n}}(e),s=a.kind,l=a.coordSysType;if(o&&1!==s&&(s=1,l=r),0===s||l!==r)return 0;var u=n(r,e);return u?(1===s?e.coordinateSystem=u:e.boxCoordinateSystem=u,s):0}})},q0(t,e,r){"use strict";var n=r("iY"),i=r("No"),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];e.A=function(t){n.__(o,function(e){this[e]=n.oI(t[e],t)},this)},r.d(e,{},{k:function(t,e){return e.mainType===i.t7?t.getViewOfSeriesModel(e):t.getViewOfComponentModel(e)}})},Hr(t,e,r){"use strict";r.d(e,{FQ:()=>ev,Ng:()=>eG,Ts:()=>eX,OH:()=>eJ,pX:()=>e0,Oh:()=>e1,Ej:()=>e4,mz:()=>e6,cf:()=>eq,tb:()=>eK,lP:()=>eU,qg:()=>eZ,iY:()=>e8,xV:()=>eQ,AF:()=>e2});var n,i,o,a,s,l,u,c,h,p,d,f,g,m,y,v,_,x,b,A,w,S,k,T,C=r("i4"),M=r("L5"),I=r("iY"),D=r("E3"),P=r("Ly"),O=r("jp"),L=r("xN"),R=r("Sk"),E=r("wv"),B=r("x4z"),N=r("g8"),z="";"u">typeof navigator&&(z=navigator.platform||"");var F="rgba(0, 0, 0, 0.2)",$=N.A.color.theme["0"],H=(0,B.Yu)($,null,null,.9),j={darkMode:"auto",colorBy:"series",color:N.A.color.theme,gradientColor:[H,$],aria:{decal:{decals:[{color:F,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:F,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:F,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:F,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:F,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:F,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:z.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},W=r("rk"),V=r("PG"),Y=r("zW"),X="\0_ec_inner",G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e.prototype.init=function(t,e,r,n,i,o){n=n||{},this.option=null,this._theme=new R.A(n),this._locale=new R.A(i),this._optionManager=o},e.prototype.setOption=function(t,e,r){var n=q(e);this._optionManager.setOption(t,r,n),this._resetOption(null,n)},e.prototype.resetOption=function(t,e){return this._resetOption(t,q(e))},e.prototype._resetOption=function(t,e){var r=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):a(this,i),r=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(r=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var s=n.getMediaOption(this);s.length&&(0,I.__)(s,function(t){r=!0,this._mergeOption(t,e)},this)}return r},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var r=this.option,n=this._componentsMap,o=this._componentsCount,a=[],s=(0,I.nt)(),l=e&&e.replaceMergeMainTypeMap;(0,W.ps)(this),(0,I.__)(t,function(t,e){null!=t&&(E.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):r[e]=null==r[e]?(0,I.o8)(t):(0,I.h1)(r[e],t,!0))}),l&&l.each(function(t,e){E.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),E.A.topologicalTravel(a,E.A.getAllClassMainTypes(),function(e){var a,s=(0,V.a)(this,e,L.qB(t[e])),u=n.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=L.O2(u,s,c);L.GX(h,e,E.A),r[e]=null,n.set(e,null),o.set(e,0);var p=[],d=[],f=0;(0,I.__)(h,function(t,r){var n=t.existing,i=t.newOption;if(i){var o="series"===e,s=E.A.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(n&&n.constructor===s)n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1);else{var l=(0,I.X$)({componentIndex:r},t.keyInfo);n=new s(i,this,this,l),(0,I.X$)(n,l),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0)}}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(p.push(n.option),d.push(n),f++):(p.push(void 0),d.push(void 0))},this),r[e]=p,n.set(e,d),o.set(e,f),"series"===e&&i(this)},this),this._seriesIndices||i(this)},e.prototype.getOption=function(){var t=(0,I.o8)(this.option);return(0,I.__)(t,function(e,r){if(E.A.hasClass(r)){for(var n=L.qB(e),i=n.length,o=!1,a=i-1;a>=0;a--)n[a]&&!L.oh(n[a])?o=!0:(n[a]=null,!o&&i--);n.length=i,t[r]=n}}),delete t[X],t},e.prototype.setTheme=function(t){this._theme=new R.A(t),this._resetOption("recreate",null)},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 r=this._componentsMap.get(t);if(r){var n=r[e||0];if(n)return n;if(null==e){for(var i=0;i<r.length;i++)if(r[i])return r[i]}}},e.prototype.queryComponents=function(t){var e,r=t.mainType;if(!r)return[];var n=t.index,i=t.id,o=t.name,a=this._componentsMap.get(r);return a&&a.length?(null!=n?(e=[],(0,I.__)(L.qB(n),function(t){a[t]&&e.push(a[t])})):e=null!=i?U("id",i,a):null!=o?U("name",o,a):(0,I.pb)(a,function(t){return!!t}),Z(e,t)):[]},e.prototype.findComponents=function(t){var e,r,n,i,o,a=t.query,s=t.mainType,l=(e=a,r=s+"Index",n=s+"Id",i=s+"Name",e&&(null!=e[r]||null!=e[n]||null!=e[i])?{mainType:s,index:e[r],id:e[n],name:e[i]}:null);return o=Z(l?this.queryComponents(l):(0,I.pb)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.pb)(o,t.filter):o},e.prototype.eachComponent=function(t,e,r){var n=this._componentsMap;if((0,I.Tn)(t))n.each(function(r,n){for(var i=0;r&&i<r.length;i++){var o=r[i];o&&t.call(e,n,o,o.componentIndex)}});else for(var i=(0,I.Kg)(t)?n.get(t):(0,I.Gv)(t)?this.findComponents(t):null,o=0;i&&o<i.length;o++){var a=i[o];a&&e.call(r,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=L.vS(t,null);return(0,I.pb)(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,I.pb)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.pb)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){o(this),(0,I.__)(this._seriesIndices,function(r){var n=this._componentsMap.get("series")[r];t.call(e,n,r)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.__)(this._componentsMap.get("series"),function(r){r&&t.call(e,r,r.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,r){o(this),(0,I.__)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];i.subType===t&&e.call(r,i,n)},this)},e.prototype.eachRawSeriesByType=function(t,e,r){return(0,I.__)(this.getSeriesByType(t),e,r)},e.prototype.isSeriesFiltered=function(t){return o(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){o(this);var r=[];(0,I.__)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)&&r.push(n)},this),this._seriesIndices=r,this._seriesIndicesMap=(0,I.nt)(r)},e.prototype.restoreData=function(t){i(this);var e=this._componentsMap,r=[];e.each(function(t,e){E.A.hasClass(e)&&r.push(e)}),E.A.topologicalTravel(r,E.A.getAllClassMainTypes(),function(r){(0,I.__)(e.get(r),function(e){e&&("series"!==r||!function(t,e){if(e){var r=e.seriesIndex,n=e.seriesId,i=e.seriesName;return null!=r&&t.componentIndex!==r||null!=n&&t.id!==n||null!=i&&t.name!==i}}(e,t))&&e.restoreData()})})},e.internalField=void(i=function(t){var e=t._seriesIndices=[];(0,I.__)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.nt)(e)},o=function(t){},a=function(t,e){t.option={},t.option[X]=1,t._componentsMap=(0,I.nt)({series:[]}),t._componentsCount=(0,I.nt)();var r,n,i,o=e.aria;(0,I.Gv)(o)&&null==o.enabled&&(o.enabled=!0),r=e,n=t._theme.option,i=r.color&&!r.colorLayer,(0,I.__)(n,function(t,e){"colorLayer"===e&&i||"color"===e&&r.color||E.A.hasClass(e)||("object"==typeof t?r[e]=r[e]?(0,I.h1)(r[e],t,!1):(0,I.o8)(t):null==r[e]&&(r[e]=t))}),(0,I.h1)(e,j,!1),t._mergeOption(e,null)}),e}(R.A);function U(t,e,r){if((0,I.cy)(e)){var n=(0,I.nt)();return(0,I.__)(e,function(t){null!=t&&null!=L.vS(t,null)&&n.set(t,!0)}),(0,I.pb)(r,function(e){return e&&n.get(e[t])})}var i=L.vS(e,null);return(0,I.pb)(r,function(e){return e&&null!=i&&e[t]===i})}function Z(t,e){return e.hasOwnProperty("subType")?(0,I.pb)(t,function(t){return t&&t.subType===e.subType}):t}function q(t){var e=(0,I.nt)();return t&&(0,I.__)(L.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.co)(G,Y.X);var K=r("q0"),Q=r("Ww"),J=/^(min|max)?(.+)$/,tt=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,r){t&&((0,I.__)((0,L.qB)(t.series),function(t){t&&t.data&&(0,I.iu)(t.data)&&(0,I.En)(t.data)}),(0,I.__)((0,L.qB)(t.dataset),function(t){t&&t.source&&(0,I.iu)(t.source)&&(0,I.En)(t.source)})),t=(0,I.o8)(t);var n=this._optionBackup,i=function(t,e,r){var n,i,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);function p(t){(0,I.__)(e,function(e){e(t,r)})}return a?(i=a).timeline||(i.timeline=s):((h||c)&&(t.options=t.media=null),i=t),c&&(0,I.cy)(u)&&(0,I.__)(u,function(t){t&&t.option&&(t.query?o.push(t):n||(n=t))}),p(i),(0,I.__)(l,function(t){return p(t)}),(0,I.__)(o,function(t){return p(t.option)}),{baseOption:i,timelineOptions:l||[],mediaDefault:n,mediaList:o}}(t,e,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.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,I.o8)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,r=this._timelineOptions;if(r.length){var n=t.getComponent("timeline");n&&(e=(0,I.o8)(r[n.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,r,n=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,r){var n={width:e,height:r,aspectratio:e/r},i=!0;return(0,I.__)(t,function(t,e){var r=e.match(J);if(r&&r[1]&&r[2]){var o,a,s,l=r[1];o=n[r[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(i=!1)}}),i})(o[u].query,n,i)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,r=this._currentMediaIndices,e.join(",")!==r.join(","))&&(l=(0,I.Tj)(s,function(t){return(0,I.o8)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),te=I.__,tr=I.Gv,tn=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ti(t){var e=t&&t.itemStyle;if(e)for(var r=0,n=tn.length;r<n;r++){var i=tn[r],o=e.normal,a=e.emphasis;o&&o[i]&&(t[i]=t[i]||{},t[i].normal?I.h1(t[i].normal,o[i]):t[i].normal=o[i],o[i]=null),a&&a[i]&&(t[i]=t[i]||{},t[i].emphasis?I.h1(t[i].emphasis,a[i]):t[i].emphasis=a[i],a[i]=null)}}function to(t,e,r){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,i=t[e].emphasis;n&&(r?(t[e].normal=t[e].emphasis=null,I.NT(t[e],n)):t[e]=n),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function ta(t){to(t,"itemStyle"),to(t,"lineStyle"),to(t,"areaStyle"),to(t,"label"),to(t,"labelLine"),to(t,"upperLabel"),to(t,"edgeLabel")}function ts(t,e){var r=tr(t)&&t[e],n=tr(r)&&r.textStyle;if(n)for(var i=0,o=L.JS.length;i<o;i++){var a=L.JS[i];n.hasOwnProperty(a)&&(r[a]=n[a])}}function tl(t){t&&(ta(t),ts(t,"label"),t.emphasis&&ts(t.emphasis,"label"))}function tu(t){return I.cy(t)?t:t?[t]:[]}function tc(t){return(I.cy(t)?t[0]:t)||{}}function th(t){t&&(0,I.__)(tp,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var tp=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],td=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tf=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tg(t){var e=t&&t.itemStyle;if(e)for(var r=0;r<tf.length;r++){var n=tf[r][1],i=tf[r][0];null!=e[n]&&(e[i]=e[n])}}function tm(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function ty(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tv(t,e){var r;te(tu(t.series),function(t){tr(t)&&function(t){if(tr(t)){ti(t),ta(t),ts(t,"label"),ts(t,"upperLabel"),ts(t,"edgeLabel"),t.emphasis&&(ts(t.emphasis,"label"),ts(t.emphasis,"upperLabel"),ts(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(ti(e),tl(e));var r=t.markLine;r&&(ti(r),tl(r));var n=t.markArea;n&&tl(n);var i=t.data;if("graph"===t.type){i=i||t.nodes;var o=t.links||t.edges;if(o&&!I.iu(o))for(var a=0;a<o.length;a++)tl(o[a]);I.__(t.categories,function(t){ta(t)})}if(i&&!I.iu(i))for(var a=0;a<i.length;a++)tl(i[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tl(s[a]);if((r=t.markLine)&&r.data)for(var l=r.data,a=0;a<l.length;a++)I.cy(l[a])?(tl(l[a][0]),tl(l[a][1])):tl(l[a]);"gauge"===t.type?(ts(t,"axisLabel"),ts(t,"title"),ts(t,"detail")):"treemap"===t.type?(to(t.breadcrumb,"itemStyle"),I.__(t.levels,function(t){ta(t)})):"tree"===t.type&&ta(t.leaves)}}(t)}),r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),te(r,function(e){te(tu(t[e]),function(t){t&&(ts(t,"axisLabel"),ts(t.axisPointer,"label"))})}),te(tu(t.parallel),function(t){var e=t&&t.parallelAxisDefault;ts(e,"axisLabel"),ts(e&&e.axisPointer,"label")}),te(tu(t.calendar),function(t){to(t,"itemStyle"),ts(t,"dayLabel"),ts(t,"monthLabel"),ts(t,"yearLabel")}),te(tu(t.radar),function(t){ts(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)}),te(tu(t.geo),function(t){tr(t)&&(tl(t),te(tu(t.regions),function(t){tl(t)}))}),te(tu(t.timeline),function(t){tl(t),to(t,"label"),to(t,"itemStyle"),to(t,"controlStyle",!0);var e=t.data;I.cy(e)&&I.__(e,function(t){I.Gv(t)&&(to(t,"label"),to(t,"itemStyle"))})}),te(tu(t.toolbox),function(t){to(t,"iconStyle"),te(t.feature,function(t){to(t,"iconStyle")})}),ts(tc(t.axisPointer),"label"),ts(tc(t.tooltip).axisPointer,"label"),t.series=(0,L.qB)(t.series),(0,I.__)(t.series,function(t){if((0,I.Gv)(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),tm(t.label);var r=t.data;if(r&&!(0,I.iu)(r))for(var n=0;n<r.length;n++)tm(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var i=function(t,e){for(var r=e.split(","),n=t,i=0;i<r.length&&null!=(n=n&&n[r[i]]);i++);return n}(t,"pointer.color");null!=i&&function(t,e,r){for(var n,i=e.split(","),o=t,a=0;a<i.length-1;a++)null==o[n=i[a]]&&(o[n]={}),o=o[n];null==o[i[a]]&&(o[i[a]]=r)}(t,"itemStyle.color",i)}else if("bar"===e){tg(t),tg(t.backgroundStyle),tg(t.emphasis);var r=t.data;if(r&&!(0,I.iu)(r))for(var n=0;n<r.length;n++)"object"==typeof r[n]&&(tg(r[n]),tg(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),ty(t),function t(e,r){if(e)for(var n=0;n<e.length;n++)r(e[n]),e[n]&&t(e[n].children,r)}(t.data,ty)}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,I.NT)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),th(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.__)(td,function(e){var r=t[e];r&&((0,I.cy)(r)||(r=[r]),(0,I.__)(r,function(t){th(t)}))})}var t_=r("MB"),tx=(0,L.uQ)(function(t){var e=(0,I.nt)();t.eachSeries(function(t){var r=t.get("stack");if(r){var n=e.get(r)||e.set(r,[]),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;n.push(o)}}),e.each(function(t){var e;0!==t.length&&("seriesDesc"===(t[0].seriesModel.get("stackOrder")||"seriesAsc")&&t.reverse(),(0,I.__)(t,function(e,r){e.data.setCalculationInfo("stackedOnSeries",r>0?t[r-1].seriesModel:null)}),e=t,(0,I.__)(e,function(t,r){var n=[],i=[0/0,0/0],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,p,d=a.get(t.stackedDimension,c);if(isNaN(d))return i;s?p=a.getRawIndex(c):h=a.get(t.stackedByDimension,c);for(var f=0/0,g=r-1;g>=0;g--){var m=e[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,h)),p>=0){var y=m.data.getByRawIndex(m.stackResultDimension,p);if("all"===l||"positive"===l&&y>0||"negative"===l&&y<0||"samesign"===l&&d>=0&&y>0||"samesign"===l&&d<=0&&y<0){d=(0,t_.Tr)(d,y),f=y;break}}}return n[0]=d,n[1]=f,n})}))})}),tb=r("qL"),tA=r("BP"),tw=r("WN9"),tS=r("Vb"),tk=r("s5"),tT=r("W5"),tC=r("w2"),tM=r("BC"),tI=r("FL"),tD=r("LP"),tP=r("dd"),tO=r("Lc"),tL=r("BE"),tR=r("pf"),tE=(0,L.$r)(),tB={itemStyle:(0,tO.A)(tL.L,!0),lineStyle:(0,tO.A)(tR.m,!0)},tN={lineStyle:"stroke",itemStyle:"fill"};function tz(t,e){var r=t.visualStyleMapper||tB[e];return r||(console.warn("Unknown style type '"+e+"'."),tB.itemStyle)}function tF(t,e){var r=t.visualDrawType||tN[e];return r||(console.warn("Unknown style type '"+e+"'."),"fill")}var t$=new R.A,tH=r("jZ"),tj=r("s2"),tW=r("Wf"),tV=Math.PI,tY=r("Hq"),tX=r("Af"),tG=function(){function t(t,e,r,n){this._stageTaskMap=(0,I.nt)(),this.ecInstance=t,this.api=e,r=this._dataProcessorHandlers=r.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=r.concat(n)}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 r=this._pipelineMap.get(t.__pipeline.id),n=r.context,i=!e&&r.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>r.blockIndex?r.step:null,o=n&&n.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 r=this._pipelineMap.get(t.uid),n=t.__preparePipelineContext?t.__preparePipelineContext(e,r):(0,L.Zk)(t,e,r);t.pipelineContext=r.context=n},t.prototype.restorePipelines=function(t,e){var r=this,n=r._pipelineMap=(0,I.nt)();e.eachSeries(function(e){var i="canvas"===t.painter.type&&e.getProgressive(),o=e.uid;n.set(o,{id:o,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:i&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),r._pipe(e,e.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),r=this.api;(0,I.__)(this._allHandlers,function(n){var i=t.get(n.uid)||t.set(n.uid,{});(0,I.vA)(!(n.reset&&n.overallReset),""),n.reset&&this._createSeriesStageTask(n,i,e,r),n.overallReset&&this._createOverallStageTask(n,i,e,r)},this)},t.prototype.prepareView=function(t,e,r,n){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=r,o.api=n,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,r){this._performStageTasks(this._visualHandlers,t,e,r)},t.prototype._performStageTasks=function(t,e,r,n){n=n||{};var i=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,I.__)(t,function(t,s){if(!n.visualType||n.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,p=c.agentStubMap;p.each(function(t){a(n,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),o.updatePayload(c,r);var d=o.getPerformArgs(c,n.block);p.each(function(t){t.perform(d)}),c.perform(d)&&(i=!0)}else u&&u.each(function(s,l){a(n,s)&&s.dirty();var u=o.getPerformArgs(s,n.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,r),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,r,n){var i=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,I.nt)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tY.U)({plan:tQ,reset:tJ,count:t2}));l.context={model:e,ecModel:r,api:n,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,l)}t.createOnAllSeries?r.eachRawSeries(u):s?r.eachRawSeriesByType(s,u):l&&l(r,n).each(u)},t.prototype._createOverallStageTask=function(t,e,r,n){var i=this,o=e.overallTask=e.overallTask||(0,tY.U)({reset:tU});o.context={ecModel:r,api:n,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=(0,I.nt)(),l=t.seriesType,u=t.getTargetSeries,c=t.dirtyOnOverallProgress,h=!1;function p(t){var e=t.uid,r=s.set(e,a&&a.get(e)||(h=!0,(0,tY.U)({reset:tZ,onDirty:tK})));r.context={model:t,dirtyOnOverallProgress:c},r.agent=o,r.__block=c,i._pipe(t,r)}(0,I.vA)(!t.createOnAllSeries,""),l?r.eachRawSeriesByType(l,p):u?u(r,n).each(p):(0,I.__)(r.getSeries(),p),h&&o.dirty()},t.prototype._pipe=function(t,e){var r=t.uid,n=this._pipelineMap.get(r);n.head||(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return(0,I.Tn)(t)&&(t={overallReset:t,seriesType:function(t){s=null;try{t(t5,t3)}catch(t){}return s}(t)}),t.uid=(0,tX.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tU(t){t.overallReset(t.ecModel,t.api,t.payload)}function tZ(t){return t.dirtyOnOverallProgress&&tq}function tq(){this.agent.dirty(),this.getDownstream().dirty()}function tK(){this.agent&&this.agent.dirty()}function tQ(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tJ(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,L.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.Tj)(e,function(t,e){return t1(e)}):t0}var t0=t1(0);function t1(t){return function(e,r){var n=r.data,i=r.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o<e.end;o++)i.dataEach(n,o);else i&&i.progress&&i.progress(e,n)}}function t2(t){return t.data.count()}var t5={},t3={};function t4(t,e){for(var r in e.prototype)t[r]=I.lQ}t4(t5,G),t4(t3,K.A),t5.eachSeriesByType=t5.eachRawSeriesByType=function(t){s=t},t5.eachComponent=function(t){"series"===t.mainType&&t.subType&&(s=t.subType)};var t6=N.A.darkColor,t8=t6.background,t7=function(){return{axisLine:{lineStyle:{color:t6.axisLine}},splitLine:{lineStyle:{color:t6.axisSplitLine}},splitArea:{areaStyle:{color:[t6.backgroundTint,t6.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:t6.axisMinorSplitLine}},axisLabel:{color:t6.axisLabel},axisName:{}}},t9={label:{color:t6.secondary},itemStyle:{borderColor:t6.borderTint},dividerLineStyle:{color:t6.border}},et={darkMode:!0,color:t6.theme,backgroundColor:t8,axisPointer:{lineStyle:{color:t6.border},crossStyle:{color:t6.borderShade},label:{color:t6.tertiary}},legend:{textStyle:{color:t6.secondary},pageTextStyle:{color:t6.tertiary}},textStyle:{color:t6.secondary},title:{textStyle:{color:t6.primary},subtextStyle:{color:t6.quaternary}},toolbox:{iconStyle:{borderColor:t6.accent50},feature:{dataView:{backgroundColor:t8,textColor:t6.primary,textareaColor:t6.background,textareaBorderColor:t6.border,buttonColor:t6.accent50,buttonTextColor:t6.neutral00}}},tooltip:{backgroundColor:t6.neutral20,defaultBorderColor:t6.border,textStyle:{color:t6.tertiary}},dataZoom:{borderColor:t6.accent10,textStyle:{color:t6.tertiary},brushStyle:{color:t6.backgroundTint},handleStyle:{color:t6.neutral00,borderColor:t6.accent20},moveHandleStyle:{color:t6.accent40},emphasis:{handleStyle:{borderColor:t6.accent50}},dataBackground:{lineStyle:{color:t6.accent30},areaStyle:{color:t6.accent20}},selectedDataBackground:{lineStyle:{color:t6.accent50},areaStyle:{color:t6.accent30}}},visualMap:{textStyle:{color:t6.secondary},handleStyle:{borderColor:t6.neutral30}},timeline:{lineStyle:{color:t6.accent10},label:{color:t6.tertiary},controlStyle:{color:t6.accent30,borderColor:t6.accent30}},calendar:{itemStyle:{color:t6.neutral00,borderColor:t6.neutral20},dayLabel:{color:t6.tertiary},monthLabel:{color:t6.secondary},yearLabel:{color:t6.secondary}},matrix:{x:t9,y:t9,backgroundColor:{borderColor:t6.axisLine},body:{itemStyle:{borderColor:t6.borderTint}}},timeAxis:t7(),logAxis:t7(),valueAxis:t7(),categoryAxis:t7(),line:{symbol:"circle"},graph:{color:t6.theme},gauge:{title:{color:t6.secondary},axisLine:{lineStyle:{color:[[1,t6.neutral05]]}},axisLabel:{color:t6.axisLabel},detail:{color:t6.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:t6.background}},radar:((n=t7()).axisName={color:t6.axisLabel},n.axisLine.lineStyle.color=t6.neutral20,n),treemap:{breadcrumb:{itemStyle:{color:t6.neutral20,textStyle:{color:t6.secondary}},emphasis:{itemStyle:{color:t6.neutral30}}}},sunburst:{itemStyle:{borderColor:t6.background}},map:{itemStyle:{borderColor:t6.border,areaColor:t6.neutral10},label:{color:t6.tertiary},emphasis:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}},select:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}}},geo:{itemStyle:{borderColor:t6.border,areaColor:t6.neutral10},emphasis:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}},select:{label:{color:t6.primary},itemStyle:{color:t6.highlight}}}};et.categoryAxis.splitLine.show=!1;var ee=r("MD"),er=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},r={},n={};if(I.Kg(t)){var i=(0,ee.CC)(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.__(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)&&(r[i]=t,s=!0),s||(n[i]=t)})}return{cptQuery:e,dataQuery:r,otherQuery:n}},t.prototype.filter=function(t,e){var r=this.eventInfo;if(!r)return!0;var n=r.targetEl,i=r.packedEvent,o=r.model,a=r.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,n,i));function u(t,e,r,n){return null==t[r]||e[n||r]===t[r]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),en=r("No"),ei=["symbol","symbolSize","symbolRotate","symbolOffset"],eo=ei.concat(["symbolKeepAspect"]),ea=r("N1e"),es=r("nXY"),el=r("GN"),eu=r("B9"),ec=r("o03"),eh=r("u1"),ep=new O.A,ed=r("mZ"),ef=r("jQ"),eg=r("oh"),em=r("Upd"),ey=(0,L.uQ)(function(t,e){t.eachRawSeries(function(r){if(!t.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each(function(t){var r=n.getItemVisual(t,"decal");r&&(n.ensureUniqueItemVisual(t,"style").decal=(0,em.w)(r,e))});var i=n.getVisual("decal");i&&(n.getVisual("style").decal=(0,em.w)(i,e))}})}),ev={PROCESSOR:{SERIES_FILTER:800,AXIS_STATISTICS:920,FILTER:1e3,STATISTIC:5e3,STATISTICS: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}},e_="__flagInMainProcess",ex="__mainProcessVersion",eb="__pendingUpdate",eA="__needsUpdateStatus",ew=/^[a-zA-Z0-9_]+$/,eS="__connectUpdateStatus";function ek(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return this.isDisposed()?void this.id:eC(this,t,e)}}function eT(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return eC(this,t,e)}}function eC(t,e,r){return r[0]=r[0]&&r[0].toLowerCase(),O.A.prototype[e].apply(t,r)}var eM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e}(O.A),eI=eM.prototype;eI.on=eT("on"),eI.off=eT("off");var eD=function(t){function e(e,r,n){var i=t.call(this,new er)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},i.__v_skip=!0,i._dom=e,i[ex]=1,n.ssr&&M.jW(function(t){var e=(0,tI.z)(t),r=e.dataIndex;if(null!=r){var n=(0,I.nt)();return n.set("series_index",e.seriesIndex),n.set("data_index",r),e.ssrType&&n.set("ssr_type",e.ssrType),n}});var o=i._zr=M.Ts(e,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:(0,I.bZ)(n.useDirtyRect,!1),useCoarsePointer:(0,I.bZ)(n.useCoarsePointer,"auto"),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=(0,tP.nF)((0,I.oI)(o.flush,o),17),i._updateTheme(r),i._locale=(0,ec.A$)(n.locale||ec.Lv),i._coordSysMgr=new Q.Ay;var a=i._api=A(i);function s(t,e){return t.__prio-e.__prio}return(0,P.A)(ez,s),(0,P.A)(eB,s),i._scheduler=new tG(i,a,eB,ez),i._messageCenter=new eM,i._initEvents(),i.resize=(0,I.oI)(i.resize,i),o.animation.on("frame",i._onframe,i),y(o,i),v(o,i),(0,I.En)(i),i}return(0,C.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){var t=this._scheduler,e=this._model,r=this._api;if(k(this),this[eb]){var n=this[eb].silent;this[e_]=!0,T(this);try{l(this),h.update.call(this,null,this[eb].updateParams)}catch(t){throw this[e_]=!1,this[eb]=null,t}this._zr.flush(),this[e_]=!1,this[eb]=null,g.call(this,n),m.call(this,n)}else if(t.unfinished){var i=1;do{t.unfinished=!1;var o=ed.yh.getTime();t.performSeriesTasks(e),t.performDataProcessorTasks(e),d(this,e),t.performVisualTasks(e),b(this,this._model,r,"remain",{}),i-=ed.yh.getTime()-o}while(i>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,r){if(!this[e_]){if(this._disposed)return void this.id;if((0,I.Gv)(e)&&(r=e.lazyUpdate,n=e.silent,i=e.replaceMerge,o=e.transition,e=e.notMerge),this[e_]=!0,T(this),!this._model||e){var n,i,o,a=new tt(this._api),s=this._theme,u=this._model=new G;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:i},eN);var c={seriesTransition:o,optionChanged:!0};if(r)this[eb]={silent:n,updateParams:c},this[e_]=!1,this.getZr().wakeUp();else{try{l(this),h.update.call(this,null,c)}catch(t){throw this[eb]=null,this[e_]=!1,t}this._ssr||this._zr.flush(),this[eb]=null,this[e_]=!1,g.call(this,n),m.call(this,n)}}},e.prototype.setTheme=function(t,e){if(!this[e_]){if(this._disposed)return void this.id;var r=this._model;if(r){var n=e&&e.silent,i=null;this[eb]&&(null==n&&(n=this[eb].silent),i=this[eb].updateParams,this[eb]=null),this[e_]=!0,T(this);try{this._updateTheme(t),r.setTheme(this._theme),l(this),h.update.call(this,{type:"setTheme"},i)}catch(t){throw this[e_]=!1,t}this[e_]=!1,g.call(this,n),m.call(this,n)}}},e.prototype._updateTheme=function(t){(0,I.Kg)(t)&&(t=eF[t]),t&&((t=(0,I.o8)(t))&&tv(t,!0),this._theme=t)},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||D.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){var t=this._zr,e=t.storage.getDisplayList();return(0,I.__)(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,r=this._model,n=[],i=this;(0,I.__)(e,function(t){r.eachComponent({mainType:t},function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(n.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,I.__)(n,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,r=this.group,n=Math.min,i=Math.max;if(!ej[r])return this.getDataURL(t);var o=1/0,a=1/0,s=-1/0,l=-1/0,u=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.__)(eH,function(c,h){if(c.group===r){var p=e?c.getZr().painter.getSvgDom().innerHTML:c.renderToCanvas((0,I.o8)(t)),d=c.getDom().getBoundingClientRect();o=n(d.left,o),a=n(d.top,a),s=i(d.right,s),l=i(d.bottom,l),u.push({dom:p,left:d.left,top:d.top})}}),o*=c,a*=c,s*=c,l*=c;var h=s-o,p=l-a,d=ed.yh.createCanvas(),f=M.Ts(d,{renderer:e?"svg":"canvas"});if(f.resize({width:h,height:p}),!e)return t.connectedBackgroundColor&&f.add(new tS.A({shape:{x:0,y:0,width:h,height:p},style:{fill:t.connectedBackgroundColor}})),(0,I.__)(u,function(t){var e=new tk.Ay({style:{x:t.left*c-o,y:t.top*c-a,image:t.dom}});f.add(e)}),f.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"));var g="";return(0,I.__)(u,function(t){var e=t.left-o,r=t.top-a;g+='<g transform="translate('+e+","+r+')">'+t.dom+"</g>"}),f.painter.getSvgRoot().innerHTML=g,t.connectedBackgroundColor&&f.painter.setBackgroundColor(t.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()},e.prototype.convertToPixel=function(t,e,r){return p(this,"convertToPixel",t,e,r)},e.prototype.convertToLayout=function(t,e,r){return p(this,"convertToLayout",t,e,r)},e.prototype.convertFromPixel=function(t,e,r){return p(this,"convertFromPixel",t,e,r)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var r,n=this._model,i=L._e(n,t);return(0,I.__)(i,function(t,n){n.indexOf("Models")>=0&&(0,I.__)(t,function(t){var i=t.coordinateSystem;if(i&&i.containPoint)r=r||!!i.containPoint(e);else if("seriesModels"===n){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(r=r||o.containPoint(e,t))}},this)},this),!!r},e.prototype.getVisual=function(t,e){var r=this._model,n=L._e(r,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=o?(0,ea.Ez)(i,o,e):(0,ea.rI)(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=this;(0,I.__)(eO,function(e){var r=function(r){var n,i=t.getModel(),o=r.target;if("globalout"===e?n={}:o&&(0,eh.R)(o,function(t){var e=(0,tI.z)(t);if(e&&null!=e.dataIndex){var r=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return n=r&&r.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=(0,I.X$)({},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&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=r,n.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},t.trigger(e,n)}};r.zrEventfulCallAtLast=!0,t._zr.on(e,r,t)});var e=this._messageCenter;(0,I.__)(eE,function(r,n){e.on(n,function(e){t.trigger(n,e)})}),(0,el.l)(e,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&L.Bq(this.getDom(),eY,"");var t=this._api,e=this._model;(0,I.__)(this._componentsViews,function(r){r.dispose(e,t)}),(0,I.__)(this._chartsViews,function(r){r.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 eH[this.id]},e.prototype.resize=function(t){if(!this[e_]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var r=e.resetOption("media"),n=t&&t.silent;this[eb]&&(null==n&&(n=this[eb].silent),r=!0,this[eb]=null),this[e_]=!0,T(this);try{r&&l(this),h.update.call(this,{type:"resize",animation:(0,I.X$)({duration:0},t&&t.animation)})}catch(t){throw this[e_]=!1,t}this[e_]=!1,g.call(this,n),m.call(this,n)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,I.Gv)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),e$[t]){var r=e$[t](this._api,e),n=this._zr;this._loadingFX=r,n.add(r)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,I.X$)({},t);return e.type=eR[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,I.Gv)(e)||(e={silent:!!e}),eL[t.type])&&this._model){if(this[e_])return void this._pendingActions.push(t);var r=e.silent;f.call(this,t,r);var n=e.flush;n?this._zr.flush():!1!==n&&D.A.browser.weChat&&this._throttledZrFlush(),g.call(this,r),m.call(this,r)}},e.prototype.updateLabelLayout=function(){ep.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=[],r=t.currentStates,n=0;n<r.length;n++){var i=r[n];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tD.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===tD.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function r(t,e){if(!t.preventAutoZ){var r=tC.retrieveZInfo(t);e.eachRendered(function(t){return tC.traverseUpdateZ(t,r.z,r.zlevel),!0})}}function n(t,e){e.eachRendered(function(t){if(!tT.LR(t)){var e=t.getTextContent(),r=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),r&&r.stateTransition&&(r.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function i(t,r){var n=t.getModel("stateAnimation"),i=t.isAnimationEnabled(),o=n.get("duration"),a=o>0?{duration:o,delay:n.get("delay"),easing:n.get("easing")}:null;r.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tT.LR(t)){if(t instanceof tM.Ay&&(0,tD.fz)(t),t.__dirty){var r=t.prevStates;r&&t.useStates(r)}if(i){t.stateTransition=a;var n=t.getTextContent(),o=t.getTextGuideLine();n&&(n.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}l=function(t){(0,eg.Q3)(t._model);var e=t._scheduler;e.restorePipelines(t._zr,t._model),e.prepareStageTasks(),u(t,!0),u(t,!1),e.plan()},u=function(t,e){for(var r=t._model,n=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,ee.CC)(t.type);(c=new(e?tA.A.getClass(h.main,h.sub):tw.A.getClass(h.sub))).init(r,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||n.prepareView(c,t,r,s)}e?r.eachComponent(function(t,e){"series"!==t&&u(e)}):r.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(r,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},c=function(t,e,r,n,i){var o,a=t._model;if(a.setUpdatePayload(r),!n)return void(0,I.__)([].concat(t._componentsViews).concat(t._chartsViews),u);var s=L.dr(r,n,i),l=r.excludeSeriesId;function u(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,r)}null!=l&&(o=(0,I.nt)(),(0,I.__)(L.qB(l),function(t){var e=L.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(s,function(e){if(!(o&&null!=o.get(e.id)))if((0,tD.T$)(r))if(e instanceof tb.A)r.type!==tD.h5||r.notBlur||e.get(["emphasis","disabled"])||(0,tD.lV)(e,r,t._api);else{var n=(0,tD.Tl)(e.mainType,e.componentIndex,r.name,t._api),i=n.focusSelf,a=n.dispatchers;r.type===tD.h5&&i&&!r.notBlur&&(0,tD.Du)(e.mainType,e.componentIndex,t._api),a&&(0,I.__)(a,function(t){r.type===tD.h5?(0,tD.HY)(t):(0,tD.SD)(t)})}else(0,tD.Lx)(r)&&e instanceof tb.A&&((0,tD.t6)(e,r,t._api),(0,tD.jA)(e),S(t))},t),a&&a.eachComponent(s,function(e){o&&null!=o.get(e.id)||u(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)},h={prepareAndUpdate:function(t){l(this),h.update.call(this,t,t&&{optionChanged:null!=t.newOption})},update:function(e,r){var n=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(n){(0,eg.n$)(n),n.setUpdatePayload(e),s.restoreData(n,e),s.performSeriesTasks(n),a.create(n,i),ep.trigger("coordsys:aftercreate",n,i),s.performDataProcessorTasks(n,e),d(this,n),a.update(n,i),t(n),s.performVisualTasks(n,e);var l=n.get("backgroundColor")||"transparent";o.setBackgroundColor(l);var u=n.get("darkMode");null!=u&&"auto"!==u&&o.setDarkMode(u),_(this,n,i,e,r),ep.trigger("afterupdate",n,i)}},updateTransform:function(t){var e=this,r=e._model,n=e._api;if(r){r.setUpdatePayload(t);var i=[];r.eachComponent(function(o,a){if(o!==en.t7){var s=e.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,n,t);l&&l.update&&i.push(s)}else i.push(s)}});var o=(0,I.nt)();r.eachSeries(function(i){var a=e._chartsMap[i.__viewId],s=i.pipelineContext;if(a.updateTransform&&!s.progressiveRender){var l=a.updateTransform(i,r,n,t);l&&l.update&&o.set(i.uid,1)}else o.set(i.uid,1)}),e._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:o}),b(e,r,n,t,{},o),ep.trigger("afterupdate",r,n)}},updateView:function(e){var r=this._model;r&&(r.setUpdatePayload(e),tw.A.markUpdateMethod(e,"updateView"),t(r),this._scheduler.performVisualTasks(r,e,{setDirty:!0}),_(this,r,this._api,e,{}),ep.trigger("afterupdate",r,this._api))},updateVisual:function(e){var r=this,n=this._model;n&&(n.setUpdatePayload(e),n.eachSeries(function(t){t.getData().clearAllVisual()}),tw.A.markUpdateMethod(e,"updateVisual"),t(n),this._scheduler.performVisualTasks(n,e,{visualType:"visual",setDirty:!0}),n.eachComponent(function(t,i){if("series"!==t){var o=r.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,n,r._api,e)}}),n.eachSeries(function(t){r._chartsMap[t.__viewId].updateVisual(t,n,r._api,e)}),ep.trigger("afterupdate",n,this._api))},updateLayout:function(t){h.update.call(this,t)}},p=function(t,e,r,n,i){if(t._disposed)return void t.id;for(var o,a=t._model,s=t._coordSysMgr.getCoordinateSystems(),l=L._e(a,r),u=0;u<s.length;u++){var c=s[u];if(c[e]&&null!=(o=c[e](a,l,n,i)))return o}},d=function(t,e){var r=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,r[t.__viewId])})},f=function(t,e){var r,n=this,i=this.getModel(),o=t.type,a=t.escapeConnect,s=eL[o],u=(s.update||"update").split(":"),p=u.pop(),d=null!=u[0]&&(0,ee.CC)(u[0]);this[e_]=!0,T(this);var f=[t],g=!1;t.batch&&(g=!0,f=(0,I.Tj)(t.batch,function(e){return(e=(0,I.NT)((0,I.X$)({},e),t)).batch=null,e}));var m=[],y=[],v=s.nonRefinedEventType,_=(0,tD.Lx)(t),x=(0,tD.T$)(t);if(x&&(0,tD.qR)(this._api),(0,I.__)(f,function(e){var o=s.action(e,i,n._api);if(s.refineEvent?y.push(o):r=o,(r=r||(0,I.X$)({},e)).type=v,m.push(r),x){var a=L.HB(t),l=a.queryOptionMap;c(n,p,e,a.mainTypeSpecified?l.keys()[0]:"series"),S(n)}else _?(c(n,p,e,"series"),S(n)):d&&c(n,p,e,d.main,d.sub)}),"none"!==p&&!x&&!_&&!d)try{this[eb]?(l(this),h.update.call(this,t),this[eb]=null):h[p].call(this,t)}catch(t){throw this[e_]=!1,t}if(r=g?{type:v,escapeConnect:a,batch:m}:m[0],this[e_]=!1,!e){var b=void 0;if(s.refineEvent){var A=s.refineEvent(y,t,i,this._api).eventContent;(0,I.vA)((0,I.Gv)(A)),(b=(0,I.NT)({type:s.refinedEventType},A)).fromAction=t.type,b.fromActionPayload=t,b.escapeConnect=!0}var w=this._messageCenter;w.trigger(r.type,r),b&&w.trigger(b.type,b)}},g=function(t){for(var e=this._pendingActions;e.length;){var r=e.shift();f.call(this,r,t)}},m=function(t){t||this.trigger("updated")},y=function(t,e){t.on("rendered",function(r){e.trigger("rendered",r),!t.animation.isFinished()||e[eb]||e._scheduler.unfinished||e._pendingActions.length?t.refresh():e.trigger("finished")})},v=function(t,e){t.on("mouseover",function(t){var r=t.target,n=(0,eh.R)(r,tD.u6);n&&((0,tD._m)(n,t,e._api),S(e))}).on("mouseout",function(t){var r=t.target,n=(0,eh.R)(r,tD.u6);n&&((0,tD.Iz)(n,t,e._api),S(e))}).on("click",function(t){var r=t.target,n=(0,eh.R)(r,function(t){return null!=(0,tI.z)(t).dataIndex},!0);if(n){var i=n.selected?"unselect":"select",o=(0,tI.z)(n);e._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},_=function(t,e,r,n,i){!function(t){var e=[],r=[],n=!1;if(t.eachComponent(function(t,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();n=n||!!s,("series"===t?r:e).push({zlevel:o,z:a,idx:i.componentIndex,type:t,key:s})}),n){var i,o,a=e.concat(r);(0,P.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.__)(a,function(e){var r=t.getComponent(e.type,e.idx),n=e.zlevel,a=e.key;null!=i&&(n=Math.max(i,n)),a?(n===i&&a!==o&&n++,o=a):o&&(n===i&&n++,o=""),i=n,r.setZLevel(n)})}}(e),x(t,e,r,n,i),(0,I.__)(t._chartsViews,function(t){t.__alive=!1}),b(t,e,r,n,i),(0,I.__)(t._chartsViews,function(t){t.__alive||t.remove(e,r)})},x=function(t,e,o,a,s,l){(0,I.__)(l||t._componentsViews,function(t){var s=t.__model;n(s,t),t.render(s,e,o,a),r(s,t),i(s,t)})},b=function(t,e,o,a,s,l){var u=t._scheduler;s=(0,I.X$)(s||{},{updatedSeries:e.getSeries()}),ep.trigger("series:beforeupdate",e,o,s);var c=!1;e.eachSeries(function(e){var r,i,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var h=s.renderTask;u.updatePayload(h,a),n(e,s),l&&l.get(e.uid)&&h.dirty(),h.perform(u.getPerformArgs(h))&&(c=!0),s.group.silent=!!e.get("silent"),r=e,i=s,o=r.get("blendMode")||null,i.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tD.jA)(e)}),u.unfinished=c||u.unfinished,ep.trigger("series:layoutlabels",e,o,s),ep.trigger("series:transition",e,o,s),e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];r(e,n),i(e,n)}),function(t,e){var r=t._zr;if("canvas"===r.painter.type){var n=r.storage,i=0;n.traverse(function(t){!t.isGroup&&i++});var o=i>(0,I.bZ)(e.get("hoverLayerThreshold"),j.hoverLayerThreshold)&&!D.A.node&&!D.A.worker;(t._usingTHL||o)&&(e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var r=t._chartsMap[e.__viewId];r.__alive&&r.eachRendered(function(t){var e=t.states.emphasis;e&&e.hoverLayer!==tC.HOVER_LAYER_FOR_INCREMENTAL&&(e.hoverLayer=o?tC.HOVER_LAYER_FROM_THRESHOLD:tC.HOVER_LAYER_NO)})}}),t._usingTHL=o)}}(t,e),ep.trigger("series:afterupdate",e,o,s)},S=function(t){t[eA]=!0,t.getZr().wakeUp()},T=function(t){t[ex]=(t[ex]+1)%1e6},k=function(t){t[eA]&&(t.getZr().storage.traverse(function(t){tT.LR(t)||e(t)}),t[eA]=!1)},A=function(t){return new(function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return(0,C.C6)(r,e),r.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},r.prototype.getComponentByElement=function(e){for(;e;){var r=e.__ecComponentInfo;if(null!=r)return t._model.getComponent(r.mainType,r.index);e=e.parent}},r.prototype.enterEmphasis=function(e,r){(0,tD.HY)(e,r),S(t)},r.prototype.leaveEmphasis=function(e,r){(0,tD.SD)(e,r),S(t)},r.prototype.enterBlur=function(e){(0,tD.QX)(e),S(t)},r.prototype.leaveBlur=function(e){(0,tD.JC)(e),S(t)},r.prototype.enterSelect=function(e){(0,tD.JI)(e),S(t)},r.prototype.leaveSelect=function(e){(0,tD.gd)(e),S(t)},r.prototype.getModel=function(){return t.getModel()},r.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},r.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},r.prototype.getECUpdateCycleVersion=function(){return t[ex]},r.prototype.usingTHL=function(){return t._usingTHL},r}(K.A))(t)},w=function(t){function e(t,e){for(var r=0;r<t.length;r++)t[r][eS]=e}(0,I.__)(eR,function(r,n){t._messageCenter.on(n,function(r){if(ej[t.group]&&0!==t[eS]&&(!r||!r.escapeConnect)){var n=t.makeActionFromEvent(r),i=[];(0,I.__)(eH,function(e){e!==t&&e.group===t.group&&i.push(e)}),e(i,0),(0,I.__)(i,function(t){1!==t[eS]&&t.dispatchAction(n)}),e(i,2)}})})}}(),e}(O.A),eP=eD.prototype;eP.on=ek("on"),eP.off=ek("off"),eP.one=function(t,e,r){var n=this;(0,es.aT)("ECharts#one is deprecated."),this.on.call(this,t,function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];e&&e.apply&&e.apply(this,i),n.off(t,r)},r)};var eO=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],eL={},eR={},eE={},eB=[],eN=[],ez=[],eF={},e$={},eH={},ej={},eW=new Date-0,eV=new Date-0,eY="_echarts_instance_";function eX(t,e,r){var n=!(r&&r.ssr);if(n){var i,o=(i=t,eH[L.D$(i,eY)]);if(o)return o}var a=new eD(t,e,r);return a.id="ec_"+eW++,eH[a.id]=a,n&&L.Bq(t,eY,a.id),w(a),ep.trigger("afterinit",a),a}function eG(t){if((0,I.cy)(t)){var e=t;t=null,(0,I.__)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eV++,(0,I.__)(e,function(e){e.group=t})}return ej[t]=!0,t}function eU(t){0>(0,I.qh)(eN,t)&&eN.push(t)}function eZ(t,e){e3(eB,t,e,2e3)}function eq(t){eQ("afterinit",t)}function eK(t){eQ("afterupdate",t)}function eQ(t,e){ep.on(t,e)}function eJ(t,e,r){function n(t){return t.toLowerCase()}(0,I.Tn)(e)&&(r=e,e=""),(0,I.Gv)(t)?(i=t.type,l=t.event,a=t.update,s=t.publishNonRefinedEvent,r||(r=t.action),o=t.refineEvent):(i=t,l=e);var i,o,a,s,l=n(l||i),u=o?n(i):l;eL[i]||((0,I.vA)(ew.test(i)&&ew.test(l)),o&&(0,I.vA)(l!==i),eL[i]={actionType:i,refinedEventType:l,nonRefinedEventType:u,update:a,action:r,refineEvent:o},eE[l]=1,o&&s&&(eE[u]=1),eR[u]=i)}function e0(t,e){Q.Ay.register(t,e)}function e1(t,e){e3(ez,t,e,1e3,"layout",!0)}function e2(t,e){e3(ez,t,e,3e3,"visual",!0)}var e5=[];function e3(t,e,r,n,i,o){if(((0,I.Tn)(e)||(0,I.Gv)(e))&&(r=e,e=n),!((0,I.qh)(e5,r)>=0)){e5.push(r);var a=tG.wrapStageHandler(r,i);a.__prio=e,a.__raw=r,t.push(a)}}function e4(t,e){e$[t]=e}function e6(t,e,r){var n=(0,ef.v)("registerMap");n&&n(t,e,r)}var e8=eu.v5;function e7(t,e,r,n){return{eventContent:{selected:(0,tD.mc)(r),isFromClick:e.isFromClick||!1}}}e2(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=t.getModel(n),o=tz(t,n)(i),a=i.getShallow("decal");a&&(r.setVisual("decal",a),a.dirty=!0);var s=tF(t,n),l=o[s],u=(0,I.Tn)(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,r.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,I.Tn)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,I.Tn)(o.stroke)?h:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return r.setVisual("colorFromPalette",!1),{dataEach:function(e,r){var n=t.getDataParams(r),i=(0,I.X$)({},o);i[s]=u(n),e.setItemVisual(r,"style",i)}}}}),e2(4500,{createOnAllSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=tz(t,n),o=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(t,e){var r=t.getRawDataItem(e);if(r&&r[n]){t$.option=r[n];var a=i(t$),s=t.ensureUniqueItemVisual(e,"style");(0,I.X$)(s,a),t$.option.decal&&(t.setItemVisual(e,"decal",t$.option.decal),t$.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),e2(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.nt)();t.eachSeries(function(t){if(!t.isColorBySeries()){var r=t.type+"-"+t.getColorBy();tE(t).scope=e.get(r)||e.set(r,{})}}),t.eachSeries(function(t){if(!t.isColorBySeries()){var e=t.getRawData(),r={},n=t.getData(),i=tE(t).scope,o=t.visualStyleAccessPath||"itemStyle",a=tF(t,o);n.each(function(t){r[n.getRawIndex(t)]=t}),e.each(function(o){var s=r[o];if(n.getItemVisual(s,"colorFromPalette")){var l=n.ensureUniqueItemVisual(s,"style"),u=e.getName(o)||o+"",c=e.count();l[a]=t.getColorFromPalette(u,i,c)}})}})}}),e2(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData();if(t.legendIcon&&r.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var n={},i={},o=!1,a=0;a<ei.length;a++){var s=ei[a],l=t.get(s);(0,I.Tn)(l)?(o=!0,i[s]=l):n[s]=l}if(n.symbol=n.symbol||t.defaultSymbol,r.setVisual((0,I.X$)({legendIcon:t.legendIcon||n.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},n)),!e.isSeriesFiltered(t)){var u=(0,I.HP)(i);return{dataEach:o?function(e,r){for(var n=t.getRawValue(r),o=t.getDataParams(r),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(r,s,i[s](n,o))}}:null}}}}}),e2(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 r=t.getItemModel(e),n=0;n<eo.length;n++){var i=eo[n],o=r.getShallow(i,!0);null!=o&&t.setItemVisual(e,i,o)}}:null}}}),e2(7e3,ey),eU(tv),eZ(900,tx),e$.default=function(t,e){e=e||{},I.NT(e,{text:"loading",textColor:N.A.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:N.A.color.theme["0"],spinnerRadius:10,lineWidth:5,zlevel:0});var r,n=new tH.A,i=new tS.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var o=new tj.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new tS.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new tW.A({shape:{startAngle:-tV/2,endAngle:-tV/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*tV/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*tV/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.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()})},n.resize(),n},eJ({type:tD.h5,event:tD.h5,update:tD.h5},I.lQ),eJ({type:tD.PW,event:tD.PW,update:tD.PW},I.lQ),eJ({type:tD.Lv,event:tD.gM,update:tD.Lv,action:I.lQ,refineEvent:e7,publishNonRefinedEvent:!0}),eJ({type:tD.U2,event:tD.gM,update:tD.U2,action:I.lQ,refineEvent:e7,publishNonRefinedEvent:!0}),eJ({type:tD.Q6,event:tD.gM,update:tD.Q6,action:I.lQ,refineEvent:e7,publishNonRefinedEvent:!0}),eF.default={},eF.dark=et},jQ(t,e,r){"use strict";var n={};r.d(e,{},{m:function(t,e){n[t]=e},v:function(t){return n[t]}})},o03(t,e,r){"use strict";r.d(e,{Lv:()=>l,A$:()=>c,pr:()=>p,A4:()=>h});var n=r("Sk"),i=r("E3"),o=r("iY"),a={},s={},l=i.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new n.A(e),a[t]=e}function c(t){if(!(0,o.Kg)(t))return(0,o.h1)((0,o.o8)(t),(0,o.o8)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.o8)(e):(0,o.h1)((0,o.o8)(e),(0,o.o8)(a.EN),!1)}function h(t){return s[t]}function p(){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:""}}}})},Hq(t,e,r){"use strict";var n=r("iY"),i=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,r,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=((r=t&&t.modBy)>=1||(r=1),r),p=t&&t.modDataCount||0;(u!==h||c!==p)&&(i="reset"),(this._dirty||"reset"===i)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=h,this._modDataCount=p;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||f<g)){var m=this._progress;if((0,n.cy)(m))for(var y=0;y<m.length;y++)this._doProgress(m[y],f,g,h,p);else this._doProgress(m,f,g,h,p)}this._dueIndex=g;var v=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=v}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,r,n,i){o.reset(e,r,n,i),this._callingProgress=t,this._callingProgress({start:e,end:r,count:r-e,next:o.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&&(r=e.forceFirstProgress,e=e.progress),(0,n.cy)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,r,i=this._downstream;return i&&i.dirty(),r},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}(),o=function(){var t,e,r,n,i,o={reset:function(l,u,c,h){e=l,t=u,r=c,i=Math.ceil((n=h)/r),o.next=r>1&&n>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%i*r+Math.ceil(e/i),a=e>=t?null:o<n?o:e;return e++,a}}();r.d(e,{},{U:function(t){return new i(t)}})},YQ(t,e){"use strict";function r(t){return null==t?0:t.length||1}function n(t){return t}e.A=function(){function t(t,e,r,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=r||n,this._newKeyGetter=i||n,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),p=r(c);if(h>1&&1===p)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===h&&p>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===h&&1===p)this._update&&this._update(c,u),i[l]=null;else if(h>1&&p>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}()},FX(t,e,r){"use strict";var n,i=r("iY"),o=r("No"),a=r("Fy4"),s=r("oa"),l=r("xN"),u=r("MB"),c=typeof Uint32Array===o.nk?Array:Uint32Array,h=typeof Uint16Array===o.nk?Array:Uint16Array,p=typeof Int32Array===o.nk?Array:Int32Array,d=typeof Float64Array===o.nk?Array:Float64Array,f={float:d,int:p,ordinal:Array,number:Array,time:d};function g(t){return t>65535?c:h}function m(t,e,r,n,i){var o=f[r||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==n){for(var l=new o(n),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(n)}e.Ay=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,i.nt)()}return t.prototype.initData=function(t,e,r){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),a=this.defaultDimValueGetter=n[o.sourceFormat];this._dimValueGetter=r||a,this._rawExtent=[],(0,s.O0)(o),this._dimensions=(0,i.Tj)(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 r=this._calcDimNameToIdx,n=this._dimensions,i=r.get(t);if(null!=i){if(n[i].type===e)return i}else i=n.length;return n[i]={type:e},r.set(t,i),this._chunks[i]=new f[e||"float"](this._rawCount),this._rawExtent[i]=(0,l.X1)(),i},t.prototype.collectOrdinalMeta=function(t,e){var r=this._chunks[t],n=this._dimensions[t],i=this._rawExtent,o=n.ordinalOffset||0,a=r.length;0===o&&(i[t]=(0,l.X1)());for(var s=i[t],u=o;u<a;u++){var c=r[u]=e.parseAndCollect(r[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}n.ordinalMeta=e,n.ordinalOffset=a,n.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,r=this.count();e.appendData(t);var n=e.count();return e.persistent||(n+=r),r<n&&this._initDataFromProvider(r,n,!0),[r,n]},t.prototype.appendValues=function(t,e){for(var r=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];m(r,u,c.type,l,!0)}for(var h=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var c=i[f],g=n.arrayRows.call(this,t[d]||h,c.property,d,f);r[f][p]=g;var y=a[f];g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,r){for(var n=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,c=(0,i.Tj)(a,function(t){return t.property}),h=0;h<s;h++){var p=a[h];u[h]||(u[h]=(0,l.X1)()),m(o,h,p.type,e,r)}if(n.fillStorage)n.fillStorage(t,e,o,u);else for(var d=[],f=t;f<e;f++){d=n.getItem(f,d);for(var g=0;g<s;g++){var y=o[g],v=this._dimValueGetter(d,c[g],f,g);y[f]=v;var _=u[g];v<_[0]&&(_[0]=v),v>_[1]&&(_[1]=v)}}!n.persistent&&n.clean&&n.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 0/0;var r=this._chunks[t];return r?r[this.getRawIndex(e)]:0/0},t.prototype.getValues=function(t,e){var r=[],n=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=t;for(var i=0,o=n.length;i<o;i++)r.push(this.get(n[i],e));return r},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return 0/0;var r=this._chunks[t];return r?r[e]:0/0},t.prototype.getSum=function(t){var e=this._chunks[t],r=0;if(e)for(var n=0,i=this.count();n<i;n++){var o=this.get(t,n);isNaN(o)||(r+=o)}return r},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)}),(0,u.Y6)(e);var r=this.count();return 0===r?0:r%2==1?e[(r-1)/2]:(e[r/2]+e[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,r=e[t];if(null!=r&&r<this._count&&r===t)return t;for(var n=0,i=this._count-1;n<=i;){var o=(n+i)/2|0;if(e[o]<t)n=o+1;else{if(!(e[o]>t))return o;i=o-1}}return -1},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var r=e.constructor,n=this._count;if(r===Array){t=new r(n);for(var i=0;i<n;i++)t[i]=e[i]}else t=new r(e.buffer,0,n)}else{var r=g(this._rawCount);t=new r(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 r=this.clone(),n=r.count(),i=new(g(r._rawCount))(n),o=[],a=t.length,s=0,l=t[0],u=r._chunks,c=0;c<n;c++){var h=void 0,p=r.getRawIndex(c);if(0===a)h=e(c);else if(1===a)h=e(u[l][p],c);else{for(var d=0;d<a;d++)o[d]=u[t[d]][p];o[d]=c,h=e.apply(null,o)}h&&(i[s++]=p)}return s<n&&(r._indices=i),r._count=s,r._extent=[],r._updateGetRawIdx(),r},t.prototype.selectRange=function(t){var e=this.clone(),r=e._count;if(!r)return this;var n=(0,i.HP)(t),o=n.length;if(!o)return this;var a=e.count(),s=new(g(e._rawCount))(a),l=0,u=n[0],c=t[u][0],h=t[u][1],p=e._chunks,d=!1;if(!e._indices){var f=0;if(1===o){for(var m=p[n[0]],y=0;y<r;y++){var v=m[y];(v>=c&&v<=h||isNaN(v))&&(s[l++]=f),f++}d=!0}else if(2===o){for(var m=p[n[0]],_=p[n[1]],x=t[n[1]][0],b=t[n[1]][1],y=0;y<r;y++){var v=m[y],A=_[y];(v>=c&&v<=h||isNaN(v))&&(A>=x&&A<=b||isNaN(A))&&(s[l++]=f),f++}d=!0}}if(!d)if(1===o)for(var y=0;y<a;y++){var w=e.getRawIndex(y),v=p[n[0]][w];(v>=c&&v<=h||isNaN(v))&&(s[l++]=w)}else for(var y=0;y<a;y++){for(var S=!0,w=e.getRawIndex(y),k=0;k<o;k++){var T=n[k],v=p[T][w];(v<t[T][0]||v>t[T][1])&&(S=!1)}S&&(s[l++]=e.getRawIndex(y))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var r=this.clone(t);return this._updateDims(r,t,e),r},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,r){for(var n=t._chunks,i=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=(0,l.X1)();for(var h=0;h<a;h++){for(var p=t.getRawIndex(h),d=0;d<o;d++)s[d]=n[e[d]][p];s[o]=h;var f=r&&r.apply(null,s);if(null!=f){"object"!=typeof f&&(i[0]=f,f=i);for(var c=0;c<f.length;c++){var g=e[c],m=f[c],y=u[g],v=n[g];v&&(v[p]=m),m<y[0]&&(y[0]=m),m>y[1]&&(y[1]=m)}}}},t.prototype.lttbDownSample=function(t,e){var r,n,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(g(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));h[l++]=c;for(var p=1;p<s-1;p+=u){for(var d=Math.min(p+u,s-1),f=Math.min(p+2*u,s),m=(f+d)/2,y=0,v=d;v<f;v++){var _=this.getRawIndex(v),x=a[_];isNaN(x)||(y+=x)}y/=f-d;var b=p,A=Math.min(p+u,s),w=p-1,S=a[c];r=-1,i=b;for(var k=-1,T=0,v=b;v<A;v++){var _=this.getRawIndex(v),x=a[_];if(isNaN(x)){T++,k<0&&(k=_);continue}(n=Math.abs((w-m)*(x-S)-(w-v)*(y-S)))>r&&(r=n,i=_)}T>0&&T<A-b&&(h[l++]=Math.min(k,i),i=Math.max(k,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 r=this.clone([t],!0),n=r._chunks,i=Math.floor(1/e),o=n[t],a=this.count(),s=new(g(this._rawCount))(2*Math.ceil(a/i)),l=0,u=0;u<a;u+=i){var c=u,h=o[this.getRawIndex(c)],p=u,d=o[this.getRawIndex(p)],f=i;u+i>a&&(f=a-u);for(var m=0;m<f;m++){var y=o[this.getRawIndex(u+m)];y<h&&(h=y,c=u+m),y>d&&(d=y,p=u+m)}var v=this.getRawIndex(c),_=this.getRawIndex(p);c<p?(s[l++]=v,s[l++]=_):(s[l++]=_,s[l++]=v)}return r._count=l,r._indices=s,r._updateGetRawIdx(),r},t.prototype.downSample=function(t,e,r,n){for(var i=this.clone([t],!0),o=i._chunks,a=[],s=Math.floor(1/e),u=o[t],c=this.count(),h=i._rawExtent[t]=(0,l.X1)(),p=new(g(this._rawCount))(Math.ceil(c/s)),d=0,f=0;f<c;f+=s){s>c-f&&(a.length=s=c-f);for(var m=0;m<s;m++){var y=this.getRawIndex(f+m);a[m]=u[y]}var v=r(a),_=this.getRawIndex(Math.min(f+n(a,v)||0,c-1));u[_]=v,v<h[0]&&(h[0]=v),v>h[1]&&(h[1]=v),p[d++]=_}return i._count=d,i._indices=p,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var r=t.length,n=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(r){case 0:e(i);break;case 1:e(n[t[0]][a],i);break;case 2:e(n[t[0]][a],n[t[1]][a],i);break;default:for(var s=0,l=[];s<r;s++)l[s]=n[t[s]][a];l[s]=i,e.apply(null,l)}}},t.prototype.getDataExtent=function(t,e){var r=this._chunks[t],n=(0,l.X1)();if(!r)return n;var i=this.count();if(!this._indices&&!e)return this._rawExtent[t].slice();var o=this._extent,s=o[t]||(o[t]={}),u=(0,a.$6)(e),c=u.key,h=s[c];if(h)return h.slice();for(var p=n[0],d=n[1],f=0;f<i;f++){var g=r[this.getRawIndex(f)];(!e||(0,a.V7)(u,g))&&(g<p&&(p=g),g>d&&(d=g))}return s[c]=[p,d]},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var r=[],n=this._chunks,i=0;i<n.length;i++)r.push(n[i][e]);return r},t.prototype.clone=function(e,r){var n=new t,o=this._chunks,a=e&&(0,i.TS)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)n._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else n._chunks=o;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},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.o8)(this._extent),t._rawExtent=(0,i.o8)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var r=this._indices.length;e=new t(r);for(var n=0;n<r;n++)e[n]=this._indices[n]}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,r,n){return(0,a.Pn)(t[n],this._dimensions[n])}n={arrayRows:t,objectRows:function(t,e,r,n){return(0,a.Pn)(t[e],this._dimensions[n])},keyedColumns:t,original:function(t,e,r,n){var i=t&&(null==t.value?t:t.value);return(0,a.Pn)(i instanceof Array?i[n]:i,this._dimensions[n])},typedArray:function(t,e,r,n){return t[n]}}}(),t}(),r.d(e,{},{A_:p})},di(t,e,r){"use strict";var n=r("iY"),i=0;function o(t){return(0,n.Gv)(t)&&null!=t.value?t.value:t+""}e.A=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++i,this._onCollect=t.onCollect}return t.createByAxisModel=function(e){var r=e.option,i=r.data,a=i&&(0,n.Tj)(i,o);return new t({categories:a,needCollect:!a,deduplication:!1!==r.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,r=this._needCollect;if(!(0,n.Kg)(t)&&!r)return t;if(r&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,this._onCollect&&this._onCollect(t,e),e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(r?(e=this.categories.length,this.categories[e]=t,i.set(t,e),this._onCollect&&this._onCollect(t,e)):e=0/0),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,n.nt)(this.categories))},t}()},oo(t,e,r){"use strict";var n,i,o,a,s,l,u,c=r("iY"),h=r("Sk"),p=r("YQ"),d=r("iL"),f=r("B6"),g=r("MC"),m=r("No"),y=r("xN"),v=r("FL"),_=r("oa"),x=r("FX"),b=r("Od"),A=c.Gv,w=c.Tj,S="u"<typeof Int32Array?Array:Int32Array,k=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],T=["_approximateExtent"];e.A=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 r,n=!1;(0,b.fg)(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(n=!0,r=t),r=r||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u<r.length;u++){var h=r[u],p=c.Kg(h)?new g.A({name:h}):h instanceof g.A?h:new g.A(h),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var f=p.otherDims=p.otherDims||{};o.push(d),i[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]),n&&(p.storeDimIndex=u),0===f.itemName&&(this._nameDimIdx=p.storeDimIndex),0===f.itemId&&(this._idDimIdx=p.storeDimIndex)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var m=this._dimIdxToName=c.nt();c.__(o,function(t){m.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 r=this._dimIdxToName.get(e);if(null!=r)return r;var n=this._schema.getSourceDimension(e);if(n)return n.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var r=this._getDimInfo(t);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(c.Et(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 r=this._dimSummary;if(null==e)return r.encodeFirstDimNotExtra[t];var n=r.encode[t];return n?n[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,r){var n,i=this;if(t instanceof x.Ay&&(n=t),!n){var o=this.dimensions,a=(0,_.tP)(t)||c.Xj(t)?new d.d1(t,o.length):t;n=new x.Ay;var s=w(o,function(t){return{type:i._dimInfos[t].type,property:t}});n.initData(a,s,r)}this._store=n,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,n.count()),this._dimSummary=(0,f.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var r=this._store.appendValues(t,e&&e.length),n=r.start,i=r.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=n;a<i;a++){var s=a-n;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,r=0;r<e.length;r++){var n=this._dimInfos[e[r]];n.ordinalMeta&&t.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==m.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var r=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList;if(r.getSource().sourceFormat===m.mK&&!r.pure)for(var a=[],s=t;s<e;s++){var l=r.getItem(s,a);if(!this.hasItemOption&&(0,y.zu)(l)&&(this.hasItemOption=!0),l){var c=l.name;null==i[s]&&null!=c&&(i[s]=(0,y.vS)(c,null));var h=l.id;null==o[s]&&null!=h&&(o[s]=(0,y.vS)(h,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);n(this)}},t.prototype.getApproximateExtent=function(t,e){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t),e)},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){A(t)?c.X$(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),r=this._nameList[e];return null==r&&null!=this._nameDimIdx&&(r=o(this,this._nameDimIdx,e)),null==r&&(r=""),r},t.prototype._getCategory=function(t,e){var r=this._store.get(t,e),n=this._store.getOrdinalMeta(t);return n?n.categories[r]:r},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 r=this._store,n=this._dimInfos[t];if(n)return r.get(n.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var r=this._store,n=this._dimInfos[t];if(n)return r.getByRawIndex(n.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t),null)},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 r=this,n=this._store;return c.cy(t)?n.getValues(w(t,function(t){return r._getStoreDimIndex(t)}),e):n.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,r=0,n=e.length;r<n;r++)if(isNaN(this._store.get(e[r],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,r=this._store.count();e<r;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 r=t&&this._invertedIndicesMap[t],n=r&&r[e];return null==n||isNaN(n)?-1:n},t.prototype.each=function(t,e,r){c.Tn(t)&&(r=e,e=t,t=[]);var n=r||this,i=w(a(t),this._getStoreDimIndex,this);this._store.each(i,n?c.oI(e,n):e)},t.prototype.filterSelf=function(t,e,r){c.Tn(t)&&(r=e,e=t,t=[]);var n=r||this,i=w(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,n?c.oI(e,n):e),this},t.prototype.selectRange=function(t){var e=this,r={},n=c.HP(t),i=[];return c.__(n,function(n){var o=e._getStoreDimIndex(n);r[o]=t[n],i.push(o)}),this._store=this._store.selectRange(r),this},t.prototype.mapArray=function(t,e,r){c.Tn(t)&&(r=e,e=t,t=[]),r=r||this;var n=[];return this.each(t,function(){n.push(e&&e.apply(this,arguments))},r),n},t.prototype.map=function(t,e,r,n){var i=r||n||this,o=w(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,i?c.oI(e,i):e),s},t.prototype.modify=function(t,e,r,n){var i=r||n||this,o=w(a(t),this._getStoreDimIndex,this);this._store.modify(o,i?c.oI(e,i):e)},t.prototype.downSample=function(t,e,r,n){var i=l(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,r,n),i},t.prototype.minmaxDownSample=function(t,e){var r=l(this);return r._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),r},t.prototype.lttbDownSample=function(t,e){var r=l(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),r},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,r=this.getRawDataItem(t);return new h.A(r,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return i(t,e)},function(t){return i(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},A(t)?c.X$(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var r=this._itemVisuals[t],n=r&&r[e];return null==n?this.getVisual(e):n},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var r=this._itemVisuals,n=r[t];n||(n=r[t]={});var i=n[e];return null==i&&(i=this.getVisual(e),c.cy(i)?i=i.slice():A(i)&&(i=c.X$({},i)),n[e]=i),i},t.prototype.setItemVisual=function(t,e,r){var n=this._itemVisuals[t]||{};this._itemVisuals[t]=n,A(e)?c.X$(n,e):n[e]=r},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){A(t)?c.X$(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,r){this._itemLayouts[t]=r?c.X$(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var r=this.hostModel&&this.hostModel.seriesIndex;(0,v.a)(r,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.__(this._graphicEls,function(r,n){r&&t&&t.call(e,r,n)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:w(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var r=this[t];c.Tn(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=r.apply(this,arguments);return e.apply(this,[t].concat(c.di(arguments)))})},t.internalField=void(n=function(t){var e=t._invertedIndicesMap;c.__(e,function(r,n){var i=t._dimInfos[n],o=i.ordinalMeta,a=t._store;if(o){r=e[n]=new S(o.categories.length);for(var s=0;s<r.length;s++)r[s]=-1;for(var s=0;s<a.count();s++)r[a.get(i.storeDimIndex,s)]=s}})},o=function(t,e,r){return(0,y.vS)(t._getCategory(e,r),null)},i=function(t,e){var r=t._idList[e];return null==r&&null!=t._idDimIdx&&(r=o(t,t._idDimIdx,e)),null==r&&(r="e\0\0"+e),r},a=function(t){return c.cy(t)||(t=null!=t?[t]:[]),t},l=function(e){var r=new t(e._schema?e._schema:w(e.dimensions,e._getDimInfo,e),e.hostModel);return s(r,e),r},s=function(t,e){c.__(k.concat(e.__wrappedMethods||[]),function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t.__wrappedMethods=e.__wrappedMethods,c.__(T,function(r){t[r]=c.o8(e[r])}),t._calculationInfo=c.X$({},e._calculationInfo)},u=function(t,e){var r=t._nameList,n=t._idList,i=t._nameDimIdx,a=t._idDimIdx,s=r[e],l=n[e];if(null==s&&null!=i&&(r[e]=s=o(t,i,e)),null==l&&null!=a&&(n[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),n[e]=l}}),t}()},MC(t,e,r){"use strict";var n=r("iY");e.A=function(t){this.otherDims={},null!=t&&n.X$(this,t)}},oa(t,e,r){"use strict";var n=r("iY"),i=r("No"),o=r("xN"),a=r("rk"),s=function(t){this.data=t.data||(t.sourceFormat===i.t1?{}:[]),this.sourceFormat=t.sourceFormat||i.vm,this.seriesLayoutBy=t.seriesLayoutBy||i.i_,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var r=0;r<e.length;r++){var n=e[r];null==n.type&&(0,a.PU)(this,r)===a.sc.Must&&(n.type="ordinal")}};function l(t){var e=i.vm;if((0,n.iu)(t))e=i.XO;else if((0,n.cy)(t)){0===t.length&&(e=i.Km);for(var r=0,o=t.length;r<o;r++){var a=t[r];if(null!=a){if((0,n.cy)(a)||(0,n.iu)(a)){e=i.Km;break}else if((0,n.Gv)(a)){e=i.Wk;break}}}}else if((0,n.Gv)(t)){for(var s in t)if((0,n.$3)(t,s)&&(0,n.Xj)(t[s])){e=i.t1;break}}return e}function u(t){if(t){var e=(0,n.nt)();return(0,n.Tj)(t,function(t,r){var i={name:(t=(0,n.Gv)(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 c(t,e,r,n){if(e===i.oC)for(var o=0;o<r.length&&o<n;o++)t(r[o]?r[o][0]:null,o);else for(var a=r[0]||[],o=0;o<a.length&&o<n;o++)t(a[o],o)}r.d(e,{},{AF:function(t){return new s({data:t,sourceFormat:(0,n.iu)(t)?i.XO:i.mK})},BE:function(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,n.o8)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})},O0:function(t){var e=t.sourceFormat;return e===i.Wk||e===i.t1},gV:function(t,e,r){r=r||l(t);var a=e.seriesLayoutBy,h=function(t,e,r,a,s){if(!t)return{dimensionsDefine:u(s),startIndex:h,dimensionsDetectedCount:l};if(e===i.Km){var l,h;"auto"===a||null==a?c(function(t){null!=t&&"-"!==t&&((0,n.Kg)(t)?null==h&&(h=1):h=0)},r,t,10):h=(0,n.Et)(a)?a:+!!a,s||1!==h||(s=[],c(function(t,e){s[e]=null!=t?t+"":""},r,t,1/0)),l=s?s.length:r===i.oC?t.length:t[0]?t[0].length:null}else if(e===i.Wk)s||(s=function(t){for(var e,r=0;r<t.length&&!(e=t[r++]););if(e)return(0,n.HP)(e)}(t));else if(e===i.t1)s||(s=[],(0,n.__)(t,function(t,e){s.push(e)}));else if(e===i.mK){var p=(0,o.vj)(t[0]);l=(0,n.cy)(p)&&p.length||1}else i.XO;return{startIndex:h,dimensionsDefine:u(s),dimensionsDetectedCount:l}}(t,r,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:r,seriesLayoutBy:a,dimensionsDefine:h.dimensionsDefine,startIndex:h.startIndex,dimensionsDetectedCount:h.dimensionsDetectedCount,metaRawOption:(0,n.o8)(e)})},tP:function(t){return t instanceof s},wZ:l})},Od(t,e,r){"use strict";var n=r("iY"),i=r("xN"),o=r("oa"),a=(0,i.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,n.bZ)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),r=!h(t),n="",i=[],a=0,l=0;a<t;a++){var u=void 0,c=void 0,p=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,c=d.type,p=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,c=f.type)}i.push({property:u,type:c,ordinalMeta:p}),!e||null==u||d&&d.isCalculationCoord||(n+=r?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),n+="$",n+=s[c]||"f",p&&(n+=p.uid),n+="$"}var g=this.source;return{dimensions:i,hash:[g.seriesLayoutBy,g.startIndex,n].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,r=0;e<this._fullDimCount;e++){var n=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(n=i.name),r++;else{var o=this.getSourceDimension(e);o&&(n=o.name)}t.push(n)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){for(var e=(0,n.nt)(),r=0;r<(t||[]).length;r++){var i=t[r],o=(0,n.Gv)(i)?i.name:i;null!=o&&null==e.get(o)&&e.set(o,r)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=u(t.dimensionsDefine))}function h(t){return t>30}r.d(e,{},{Tc:l,eS:h,fg:function(t){return t instanceof l},io:u,j_:c})},CG(t,e,r){"use strict";var n=r("No"),i=r("MC"),o=r("iY"),a=r("oa"),s=r("FX"),l=r("xN"),u=r("rk"),c=r("Od");r.d(e,{},{A:function(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var r,h,p,d,f,g=(e=e||{}).coordDimensions||[],m=e.dimensionsDefine||t.dimensionsDefine||[],y=(0,o.nt)(),v=[],_=(r=t,h=g,p=m,d=e.dimensionsCount,f=Math.max(r.dimensionsDetectedCount||1,h.length,p.length,d||0),(0,o.__)(h,function(t){var e;(0,o.Gv)(t)&&(e=t.dimsDef)&&(f=Math.max(f,e.length))}),f),x=e.canOmitUnusedDimensions&&(0,c.eS)(_),b=m===t.dimensionsDefine,A=b?(0,c.j_)(t):(0,c.io)(m),w=e.encodeDefine;!w&&e.encodeDefaulter&&(w=e.encodeDefaulter(t,_));for(var S=(0,o.nt)(w),k=new s.A_(_),T=0;T<k.length;T++)k[T]=-1;function C(t){var e=k[t];if(e<0){var r=m[t],n=(0,o.Gv)(r)?r:{name:r},a=new i.A,s=n.name;null!=s&&null!=A.get(s)&&(a.name=a.displayName=s),null!=n.type&&(a.type=n.type),null!=n.displayName&&(a.displayName=n.displayName);var l=v.length;return k[t]=l,a.storeDimIndex=t,v.push(a),a}return v[e]}if(!x)for(var T=0;T<_;T++)C(T);S.each(function(t,e){var r=(0,l.qB)(t).slice();if(1===r.length&&!(0,o.Kg)(r[0])&&r[0]<0)return void S.set(e,!1);var n=S.set(e,[]);(0,o.__)(r,function(t,r){var i=(0,o.Kg)(t)?A.get(t):t;null!=i&&i<_&&(n[r]=i,I(C(i),e,r))})});var M=0;function I(t,e,r){null!=n.Pe.get(e)?t.otherDims[e]=r:(t.coordDim=e,t.coordDimIndex=r,y.set(e,!0))}(0,o.__)(g,function(t){if((0,o.Kg)(t))i=t,n={};else{var e,r,n,i=(n=t).name,a=n.ordinalMeta;n.ordinalMeta=null,(n=(0,o.X$)({},n)).ordinalMeta=a,e=n.dimsDef,r=n.otherDims,n.name=n.coordDim=n.coordDimIndex=n.dimsDef=n.otherDims=null}var s=S.get(i);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;M<_&&null!=C(M).coordDim;)M++;M<_&&s.push(M++)}(0,o.__)(s,function(t,a){var s=C(t);if(b&&null!=n.type&&(s.type=n.type),I((0,o.NT)(s,n),i,a),null==s.name&&e){var l=e[a];(0,o.Gv)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}r&&(0,o.NT)(s.otherDims,r)})}});var D=e.generateCoord,P=e.generateCoordCount,O=null!=P;P=D?P||1:0;var L=D||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.__)(v,function(t){R(t)}),v.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var E=0;E<_;E++){var B=C(E);null==B.coordDim&&(B.coordDim=function(t,e,r){if(r||e.hasKey(t)){for(var n=0;e.hasKey(t+n);)n++;t+=n}return e.set(t,!0),t}(L,y,O),B.coordDimIndex=0,(!D||P<=0)&&(B.isExtraCoord=!0),P--),R(B),null==B.type&&((0,u.PU)(t,E)===u.sc.Must||B.isExtraCoord&&(null!=B.otherDims.itemName||null!=B.otherDims.seriesName))&&(B.type="ordinal")}return(0,l.R3)(v,function(t){return t.name},function(t,e){e>0&&(t.name=t.name+(e-1))}),new c.Tc({source:t,dimensions:v,fullDimensionCount:_,dimensionOmitted:x})}})},iL(t,e,r){"use strict";var n,i,o,a,s,l,u=r("iY"),c=r("xN"),h=r("oa"),p=r("No"),d=r("nXY"),f=function(){var t;function e(t,e){var r=(0,h.tP)(t)?t:(0,h.AF)(t);this._source=r;var n=this._data=r.data,i=r.sourceFormat;r.seriesLayoutBy,i===p.XO&&(this._offset=0,this._dimSize=e,this._data=n),l(this,n,r)}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(){l=function(t,i,o){var a=o.sourceFormat,l=o.seriesLayoutBy,c=o.startIndex,h=o.dimensionsDefine,d=s[k(a,l)];if((0,u.X$)(t,d),a===p.XO)t.getItem=e,t.count=n,t.fillStorage=r;else{var f=v(a,l);t.getItem=(0,u.oI)(f,null,i,c,h);var g=b(a,l);t.count=(0,u.oI)(g,null,i,c,h)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var r=this._data,n=this._dimSize,i=n*t,o=0;o<n;o++)e[o]=r[i+o];return e},r=function(t,e,r,n){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=n[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=r[a],p=0;p<c;p++){var d=i[p*o+a];h[t+p]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},n=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={})[p.Km+"_"+p.i_]={pure:!0,appendData:i},t[p.Km+"_"+p.oC]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[p.Wk]={pure:!0,appendData:i},t[p.t1]={pure:!0,appendData:function(t){var e=this._data;(0,u.__)(t,function(t,r){for(var n=e[r]||(e[r]=[]),i=0;i<(t||[]).length;i++)n.push(t[i])})}},t[p.mK]={appendData:i},t[p.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},s=t}(),e}(),g=function(t){(0,u.cy)(t)||(0,d.z3)("series.data or dataset.source must be an array.")};(n={})[p.Km+"_"+p.i_]=g,n[p.Km+"_"+p.oC]=g,n[p.Wk]=g,n[p.t1]=function(t,e){for(var r=0;r<e.length;r++)null==e[r].name&&(0,d.z3)("dimension name must not be null/undefined.")},n[p.mK]=g;var m=function(t,e,r,n){return t[n]},y=((i={})[p.Km+"_"+p.i_]=function(t,e,r,n){return t[n+e]},i[p.Km+"_"+p.oC]=function(t,e,r,n,i){n+=e;for(var o=i||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[n]:null}return o},i[p.Wk]=m,i[p.t1]=function(t,e,r,n,i){for(var o=i||[],a=0;a<r.length;a++){var s=r[a].name,l=null!=s?t[s]:null;o[a]=l?l[n]:null}return o},i[p.mK]=m,i);function v(t,e){return y[k(t,e)]}var _=function(t,e,r){return t.length},x=((o={})[p.Km+"_"+p.i_]=function(t,e,r){return Math.max(0,t.length-e)},o[p.Km+"_"+p.oC]=function(t,e,r){var n=t[0];return n?Math.max(0,n.length-e):0},o[p.Wk]=_,o[p.t1]=function(t,e,r){var n=r[0].name,i=null!=n?t[n]:null;return i?i.length:0},o[p.mK]=_,o);function b(t,e){return x[k(t,e)]}var A=function(t,e,r){return t[e]},w=((a={})[p.Km]=A,a[p.Wk]=function(t,e,r){return t[r]},a[p.t1]=A,a[p.mK]=function(t,e,r){var n=(0,c.vj)(t);return n instanceof Array?n[e]:n},a[p.XO]=A,a);function S(t){return w[t]}function k(t,e){return t===p.Km?t+"_"+e:t}r.d(e,{},{Kd:b,QE:function(t,e,r){if(t){var n=t.getRawDataItem(e);if(null!=n){var i=t.getStore(),o=i.getSource().sourceFormat;if(null!=r){var a=t.getDimensionIndex(r),s=i.getDimensionProperty(a);return S(o)(n,a,s)}var l=n;return o===p.mK&&(l=(0,c.vj)(n)),l}}},d1:f,sC:v,uQ:S})},pE(t,e,r){"use strict";var n=r("iY"),i=r("Od");function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}r.d(e,{},{iJ:function(t,e,r){var o,a,s,l,u,c,h,p,d=(r=r||{}).byIndex,f=r.stackedCoordDimension;(o=e,(0,i.fg)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack")),m=!0;function y(t){return"ordinal"!==t.type&&"time"!==t.type}if((0,n.__)(a,function(t,e){(0,n.Kg)(t)&&(a[e]=t={name:t}),y(t)||(m=!1)}),(0,n.__)(a,function(t,e){g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),!c&&y(t)&&(!m||"x"!==t.coordDim&&"angle"!==t.coordDim)&&(!f||f===t.coordDim)&&(c=t))}),!c||d||u||(d=!0),c){h="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var v=c.coordDim,_=c.type,x=0;(0,n.__)(a,function(t){t.coordDim===v&&x++});var b={name:h,coordDim:v,coordDimIndex:x,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},A={name:p,coordDim:p,coordDimIndex:x+1,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(b.storeDimIndex=l.ensureCalculationDimension(p,_),A.storeDimIndex=l.ensureCalculationDimension(h,_)),s.appendCalculationDimension(b),s.appendCalculationDimension(A)):(a.push(b),a.push(A))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:h}},me:function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e},sJ:o})},Fy4(t,e,r){"use strict";var n=r("MB"),i=r("iY"),o=r("nXY");(0,i.nt)({number:function(t){return parseFloat(t)},time:function(t){return+(0,n._U)(t)},trim:function(t){return(0,i.Kg)(t)?(0,i.Bq)(t):t}});var a={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.Et)(e)||(0,o.$8)(""),this._opFn=a[t],this._rvalFloat=(0,n.Sm)(e)}).prototype.evaluate=function(t){return(0,i.Et)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,n.Sm)(t),this._rvalFloat)};var s=function(){function t(t,e){var r="desc"===t;this._resultLT=r?1:-1,null==e&&(e=r?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var r=(0,i.Et)(t)?t:(0,n.Sm)(t),o=(0,i.Et)(e)?e:(0,n.Sm)(e),a=isNaN(r),s=isNaN(o);if(a&&(r=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,i.Kg)(t),u=(0,i.Kg)(e);l&&(r=u?t:0),u&&(o=l?e:0)}return r<o?this._resultLT:r>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,n.Sm)(e)}).prototype.evaluate=function(t){var e=t===this._rval;if(!e){var r=typeof t;r!==this._rvalTypeof&&("number"===r||"number"===this._rvalTypeof)&&(e=(0,n.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e},r.d(e,{},{$6:function(t){var e="",r=-1/0,n=-1/0,i=1/0,o=1/0;return t&&(null!=t.g&&(e+="G"+t.g,r=t.g),null!=t.ge&&(e+="GE"+t.ge,n=t.ge),null!=t.l&&(e+="L"+t.l,i=t.l),null!=t.le&&(e+="LE"+t.le,o=t.le)),{key:e,g:r,ge:n,l:i,le:o}},Fl:s,Pn:function(t,e){var r=e&&e.type;return"ordinal"===r?t:("time"!==r||(0,i.Et)(t)||null==t||"-"===t||(t=+(0,n._U)(t)),null==t||""===t?0/0:Number(t))},V7:function(t,e){return e>t.g&&e>=t.ge&&e<t.l&&e<=t.le}})},B6(t,e,r){"use strict";var n=r("iY"),i=r("No"),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){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}r.d(e,{},{B:function(t){return"category"===t?"ordinal":"time"===t?"time":"float"},l:function(t,e){var r={},s=r.encode={},l=(0,n.nt)(),u=[],c=[],h={};(0,n.__)(t.dimensions,function(e){var r=t.getDimensionInfo(e),n=r.coordDim;if(n){var o,p=r.coordDimIndex;a(s,n)[p]=e,r.isExtraCoord||(l.set(n,1),"ordinal"!==(o=r.type)&&"time"!==o&&(u[0]=e),a(h,n)[p]=t.getDimensionIndex(r.name)),r.defaultTooltip&&c.push(e)}i.Pe.each(function(t,e){var n=a(s,e),i=r.otherDims[e];null!=i&&!1!==i&&(n[i]=r.name)})});var p=[],d={};l.each(function(t,e){var r=s[e];d[e]=r[0],p=p.concat(r)}),r.dataDimsOnCoord=p,r.dataDimIndicesOnCoord=(0,n.Tj)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),r.encodeFirstDimNotExtra=d;var f=s.label;f&&f.length&&(u=f.slice());var g=s.tooltip;return g&&g.length?c=g.slice():c.length||(c=u.slice()),s.defaultedLabel=u,s.defaultedTooltip=c,r.userOutput=new o(h,e),r}})},rk(t,e,r){"use strict";var n=r("xN"),i=r("iY"),o=r("No"),a={Must:1,Might:2,Not:3},s=(0,n.$r)();function l(t){if(!t.get("data",!0))return(0,n.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},n.US).models[0]}function u(t,e,r,s,l,u){var c,h,p;if((0,i.iu)(t))return a.Not;if(s){var d=s[u];(0,i.Gv)(d)?(h=d.name,p=d.type):(0,i.Kg)(d)&&(h=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.Km)if(r===o.oC){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(c=_(f[l+g])))return c}else for(var g=0;g<t.length&&g<5;g++){var m=t[l+g];if(m&&null!=(c=_(m[u])))return c}else if(e===o.Wk){if(!h)return a.Not;for(var g=0;g<t.length&&g<5;g++){var y=t[g];if(y&&null!=(c=_(y[h])))return c}}else if(e===o.t1){if(!h)return a.Not;var f=t[h];if(!f||(0,i.iu)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(c=_(f[g])))return c}else if(e===o.mK)for(var g=0;g<t.length&&g<5;g++){var y=t[g],v=(0,n.vj)(y);if(!(0,i.cy)(v))return a.Not;if(null!=(c=_(v[u])))return c}function _(t){var e=(0,i.Kg)(t);return null!=t&&isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}r.d(e,{},{G9:l,Gt:function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,n.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},n.US).models:[]},OC:function(t,e,r){var n,o,a={},u=l(e);if(!u||!t)return a;var c=[],h=[],p=s(e.ecModel).datasetMap,d=u.uid+"_"+r.seriesLayoutBy;t=t.slice(),(0,i.__)(t,function(e,r){var s=(0,i.Gv)(e)?e:t[r]={name:e};"ordinal"===s.type&&null==n&&(n=r,o=m(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,r){for(var n=0;n<r;n++)t.push(e+n)}function m(t){var e=t.dimsDef;return e?e.length:1}return(0,i.__)(t,function(t,e){var r=t.name,i=m(t);if(null==n){var o=f.valueWayDim;g(a[r],o,i),g(h,o,i),f.valueWayDim+=i}else if(n===e)g(a[r],0,i),g(c,0,i);else{var o=f.categoryWayDim;g(a[r],o,i),g(h,o,i),f.categoryWayDim+=i}}),c.length&&(a.itemName=c),h.length&&(a.seriesName=h),a},PU:function(t,e){return u(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)},ln:function(t,e,r){var n,s={};if(!l(t))return s;var c=e.sourceFormat,h=e.dimensionsDefine;(c===o.Wk||c===o.t1)&&(0,i.__)(h,function(t,e){((0,i.Gv)(t)?t.name:t)==="name"&&(n=e)});var p=function(){for(var t={},i={},o=[],s=0,l=Math.min(5,r);s<l;s++){var p=u(e.data,c,e.seriesLayoutBy,h,e.startIndex,s);o.push(p);var d=p===a.Not;if(d&&null==t.v&&s!==n&&(t.v=s),null!=t.n&&t.n!==t.v&&(d||o[t.n]!==a.Not)||(t.n=s),f(t)&&o[t.n]!==a.Not)return t;d||(p===a.Might&&null==i.v&&s!==n&&(i.v=s),(null==i.n||i.n===i.v)&&(i.n=s))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(i)?i:null}();if(p){s.value=[p.v];var d=null!=n?n:p.n;s.itemName=[d],s.seriesName=[d]}return s},ps:function(t){s(t).datasetMap=(0,i.nt)()},sc:a})},ox2(t,e,r){"use strict";var n=r("iY"),i=r("oa"),o=r("No"),a=r("rk"),s=r("B9"),l=r("FX"),u=r("iL"),c=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,r=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(h(r)){var l=void 0,u=void 0,c=void 0;if(s){var p=a[0];p.prepareSource(),l=(c=p.getSource()).data,u=c.sourceFormat,e=[p._getVersionSign()]}else l=r.get("data",!0),u=(0,n.iu)(l)?o.XO:o.mK,e=[];var d=this._getSourceMetaRawOption()||{},f=c&&c.metaRawOption||{},g=(0,n.bZ)(d.seriesLayoutBy,f.seriesLayoutBy)||null,m=(0,n.bZ)(d.sourceHeader,f.sourceHeader),y=(0,n.bZ)(d.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!m!=!!f.sourceHeader||y?[(0,i.gV)(l,{seriesLayoutBy:g,sourceHeader:m,dimensions:y},u)]:[]}else if(s){var v=this._applyTransform(a);t=v.sourceList,e=v.upstreamSignList}else{var _=r.get("source",!0);t=[(0,i.gV)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,r=this._sourceHost,o=r.get("transform",!0),a=r.get("fromTransformResult",!0);null!=a&&1!==t.length&&p("");var l=[],u=[];return(0,n.__)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||p(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.py)(o,l,{datasetIndex:r.componentIndex}):null!=a&&(e=[(0,i.BE)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var r=t[e];if(r._isDirty()||this._upstreamSignList[e]!==r._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var r=this._getUpstreamSourceManagers();return r[0]&&r[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,r){var n=this._storeList,i=n[0];i||(i=n[0]={});var o=i[r];if(!o){var a=this._getUpstreamSourceManagers()[0];h(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,r):(o=new l.Ay).initData(new u.d1(e,t.length),t),i[r]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!h(t))return(0,n.Tj)((0,a.Gt)(t),function(t){return t.getSourceManager()});var e=(0,a.G9)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,r,n=this._sourceHost;return h(n)?(t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),r=n.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),r=n.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:r}},t}();function h(t){return"series"===t.mainType}function p(t){throw Error(t)}r.d(e,{},{A:function(t){t.option.transform&&(0,n.En)(t.option.transform)},R:c})},B9(t,e,r){"use strict";var n=r("No"),i=r("xN"),o=r("iY"),a=r("iL"),s=r("Fy4"),l=r("nXY"),u=r("oa"),c=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function h(t){return m(t.sourceFormat)||(0,l.$8)(""),t.data}function p(t){var e=t.sourceFormat,r=t.data;if(m(e)||(0,l.$8)(""),e===n.Km){for(var i=[],a=0,s=r.length;a<s;a++)i.push(r[a].slice());return i}if(e===n.Wk){for(var i=[],a=0,s=r.length;a<s;a++)i.push((0,o.X$)({},r[a]));return i}}function d(t,e,r){if(null!=r){if((0,o.Et)(r)||!isNaN(r)&&!(0,o.$3)(e,r))return t[r];else if((0,o.$3)(e,r))return e[r]}}function f(t){return(0,o.o8)(t)}var g=(0,o.nt)();function m(t){return t===n.Km||t===n.Wk}r.d(e,{},{py:function(t,e,r){var s=(0,i.qB)(t),y=s.length;y||(0,l.$8)("");for(var v=0;v<y;v++)e=function(t,e){e.length||(0,l.$8)(""),(0,o.Gv)(t)||(0,l.$8)("");var r=t.type,s=g.get(r);s||(0,l.$8)("");var y=(0,o.Tj)(e,function(t){return function(t,e){var r=new c,i=t.data,s=r.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==n.i_&&(0,l.$8)("");var g=[],m={},y=t.dimensionsDefine;if(y)(0,o.__)(y,function(t,e){var r=t.name,n={index:e,name:r,displayName:t.displayName};g.push(n),null!=r&&((0,o.$3)(m,r)&&(0,l.$8)(""),m[r]=n)});else for(var v=0;v<t.dimensionsDetectedCount||0;v++)g.push({index:v});var _=(0,a.sC)(s,n.i_);e.__isBuiltIn&&(r.getRawDataItem=function(t){return _(i,u,g,t)},r.getRawData=(0,o.oI)(h,null,t)),r.cloneRawData=(0,o.oI)(p,null,t);var x=(0,a.Kd)(s,n.i_);r.count=(0,o.oI)(x,null,i,u,g);var b=(0,a.uQ)(s);r.retrieveValue=function(t,e){return A(_(i,u,g,t),e)};var A=r.retrieveValueFromItem=function(t,e){if(null!=t){var r=g[e];if(r)return b(t,e,r.name)}};return r.getDimensionInfo=(0,o.oI)(d,null,g,m),r.cloneAllDimensionInfo=(0,o.oI)(f,null,g),r}(t,s)}),v=(0,i.qB)(s.transform({upstream:y[0],upstreamList:y,config:(0,o.o8)(t.config)}));return(0,o.Tj)(v,function(t,r){(0,o.Gv)(t)||(0,l.$8)(""),t.data||(0,l.$8)(""),m((0,u.wZ)(t.data))||(0,l.$8)("");var i,a=e[0];if(a&&0===r&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),i={seriesLayoutBy:n.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:n.i_,sourceHeader:0,dimensions:t.dimensions};return(0,u.gV)(t.data,i,null)})}(s[v],e),v!==y-1&&(e.length=Math.max(e.length,1));return e},v5:function(t){var e=(t=(0,o.o8)(t)).type;e||(0,l.$8)("");var r=e.split(":");2!==r.length&&(0,l.$8)("");var n=!1;"echarts"===r[0]&&(e=r[1],n=!0),t.__isBuiltIn=n,g.set(e,t)}})},xNS(t,e,r){"use strict";var n=r("Hr"),i=r("BP"),o=r("WN9"),a=r("wv"),s=r("qL"),l=r("iY"),u=r("jQ"),c=r("L5"),h=r("LV"),p=[],d={registerPreprocessor:n.lP,registerProcessor:n.qg,registerPostInit:n.cf,registerPostUpdate:n.tb,registerUpdateLifecycle:n.xV,registerAction:n.OH,registerCoordinateSystem:n.pX,registerLayout:n.Oh,registerVisual:n.AF,registerTransform:n.iY,registerLoading:n.Ej,registerMap:n.mz,registerImpl:u.m,PRIORITY:n.FQ,ComponentModel:a.A,ComponentView:i.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){i.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerCustomSeries:function(t,e){(0,h.m)(t,e)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.fI)(t,e)}};r.d(e,{},{Y:function t(e){(0,l.cy)(e)?(0,l.__)(e,function(e){t(e)}):(0,l.qh)(p,e)>=0||(p.push(e),(0,l.Tn)(e)&&(e={install:e}),e.install(d))}})},EV(t,e,r){"use strict";var n=r("w2"),i=r("Mg"),o=r("F4"),a=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"];function s(t,e,r){r=r||3,e?t.dirty|=r:t.dirty&=~r}function l(t,e){return e=e||3,null==t.dirty||!!(t.dirty&e)}function u(t){if(t)return l(t)&&c(t,t.label,t),t}function c(t,e,r){var i=e.getComputedTransform();t.transform=(0,n.ensureCopyTransform)(t.transform,i);var a=t.localRect=(0,n.ensureCopyRect)(t.localRect,e.getBoundingRect()),l=e.style,u=l.margin,c=r&&r.marginForce,p=r&&r.minMarginForce,d=r&&r.marginDefault,f=l.__marginType;null==f&&d&&(u=d,f=o.Br.textMargin);for(var g=0;g<4;g++)h[g]=f===o.Br.minMargin&&p&&null!=p[g]?p[g]:c&&null!=c[g]?c[g]:u?u[g]:0;f===o.Br.textMargin&&(0,n.expandOrShrinkRect)(a,h,!1,!1);var m=t.rect=(0,n.ensureCopyRect)(t.rect,a);return i&&m.applyTransform(i),f===o.Br.minMargin&&(0,n.expandOrShrinkRect)(m,h,!1,!1),t.axisAligned=(0,n.isBoundingRectAxisAligned)(i),(t.label=t.label||{}).ignore=e.ignore,s(t,!1),s(t,!0,2),t}var h=[0,0,0,0];function p(t){var e=t.obb;return(!e||l(t,2))&&(t.obb=e=e||new i.A,e.fromBoundingRect(t.localRect,t.transform),s(t,!1,2)),e}function d(t,e,r,n){return!!t&&!!e&&(!t.label||!t.label.ignore)&&(!e.label||!e.label.ignore)&&!!t.rect.intersect(e.rect,r,n)&&(!!t.axisAligned&&!!e.axisAligned||p(t).intersect(p(e),r,n))}r.d(e,{},{AS:function(t,e,r){return t.transform=(0,n.ensureCopyTransform)(t.transform,r),t.localRect=(0,n.ensureCopyRect)(t.localRect,e),t.rect=(0,n.ensureCopyRect)(t.rect,e),r&&t.rect.applyTransform(r),t.axisAligned=(0,n.isBoundingRectAxisAligned)(r),t.obb=void 0,(t.label=t.label||{}).ignore=!1,t},EA:d,Gm:function(t,e){if(t){t.label.x+=e.x,t.label.y+=e.y,t.label.markRedraw();var r=t.transform;r&&(r[4]+=e.x,r[5]+=e.y);var n=t.rect;n&&(n.x+=e.x,n.y+=e.y);var i=t.obb;i&&i.fromBoundingRect(t.localRect,r)}},If:function(t){var e=[];function r(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}t.sort(function(t,e){return!!e.suggestIgnore-!!t.suggestIgnore||e.priority-t.priority});for(var n=0;n<t.length;n++){var i=u(t[n]);if(!i.label.ignore){for(var o=i.label,a=i.labelLine,s=!1,l=0;l<e.length;l++)if(d(i,e[l],null,{touchThreshold:.05})){s=!0;break}s?(r(o),a&&r(a)):e.push(i)}}},LC:s,PG:function(t,e){for(var r=0;r<a.length;r++){var n=a[r];null==t[n]&&(t[n]=e[n])}return u(t)},Wy:c,Zv:function(t,e,r,i,o){var a,s,l,u=t.length,c=n.XY[e],h=n.WH[e];if(u<2)return!1;t.sort(function(t,e){return t.rect[c]-e.rect[c]});for(var p=0,d=!1,f=0,g=0;g<u;g++){var m=t[g],y=m.rect;(a=y[c]-p)<0&&(y[c]-=a,m.label[c]-=a,d=!0),f+=Math.max(-a,0),p=y[c]+y[h]}f>0&&o&&A(-f/u,0,u);var v=t[0],_=t[u-1];function x(){s=v.rect[c]-r,l=i-_.rect[c]-_.rect[h]}function b(t,e,r){if(t<0){var n=Math.min(e,-t);if(n>0){A(n*r,0,u);var i=n+t;i<0&&w(-i*r,1)}else w(-t*r,1)}}function A(e,r,n){0!==e&&(d=!0);for(var i=r;i<n;i++){var o=t[i],a=o.rect;a[c]+=e,o.label[c]+=e}}function w(e,r){for(var n=[],i=0,o=1;o<u;o++){var a=t[o-1].rect,s=Math.max(t[o].rect[c]-a[c]-a[h],0);n.push(s),i+=s}if(i){var l=Math.min(Math.abs(e)/i,r);if(e>0)for(var o=0;o<u-1;o++){var p=n[o]*l;A(p,0,o+1)}else for(var o=u-1;o>0;o--){var p=n[o-1]*l;A(-p,o,u)}}}function S(t){for(var e=t<0?-1:1,r=Math.ceil((t=Math.abs(t))/(u-1)),n=0;n<u-1;n++)if(e>0?A(r,0,n+1):A(-r,u-n-1,u),(t-=r)<=0)return}return x(),s<0&&w(-s,.8),l<0&&w(l,.8),x(),b(s,l,1),b(l,s,-1),x(),s<0&&S(-s),l<0&&S(l),d},jj:u})},F4(t,e,r){"use strict";var n=r("s2"),i=r("iY"),o=r("LP"),a=r("xN"),s=r("W5"),l={};function u(t,e){for(var r=0;r<o.BV.length;r++){var n=o.BV[r],i=e[n],a=t.ensureState(n);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,r){var n,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(n=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=r?{interpolatedValue:r}:null)),null==n&&(n=(0,i.Tn)(t.defaultText)?t.defaultText(s,t,r):t.defaultText);for(var c={normal:n},h=0;h<o.BV.length;h++){var p=o.BV[h],d=e[p];c[p]=(0,i.bZ)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,n)}return c}function h(t,e,r,n,o){var a={};return function(t,e,r,n,o){r=r||l;var a,s=e.ecModel,u=s&&s.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var r=(t.option||l).rich;if(r){e=e||{};for(var n=(0,i.HP)(r),o=0;o<n.length;o++)e[n[o]]=1}t=t.parentModel}return e}(e);if(c){a={};var h="richInheritPlainLabel",p=(0,i.bZ)(e.get(h),s?s.get(h):void 0);for(var d in c)if(c.hasOwnProperty(d)){var f=e.getModel(["rich",d]);m(a[d]={},f,u,e,p,r,n,o,!1,!0)}}a&&(t.rich=a);var g=e.get("overflow");g&&(t.overflow=g);var y=e.get("lineOverflow");y&&(t.lineOverflow=y);var _=e.get("minMargin");if(null!=_)t.margin=[_=(0,i.Et)(_)?_/2:0,_,_,_],t.__marginType=v.minMargin;else{var x=e.get("textMargin");null!=x&&(t.margin=(0,i.QX)(x),t.__marginType=v.textMargin)}m(t,e,u,null,null,r,n,o,!0,!1)}(a,t,r,n,o),e&&(0,i.X$)(a,e),a}function p(t,e,r){e=e||{};var n,o={},a=t.getShallow("rotate"),s=(0,i.bZ)(t.getShallow("distance"),r?null:5),l=t.getShallow("offset");return"outside"===(n=t.getShallow("position")||(r?null:"inside"))&&(n=e.defaultOutsidePosition||"top"),null!=n&&(o.position=n),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",null!=e.autoOverflowArea&&(o.autoOverflowArea=e.autoOverflowArea),null!=e.layoutRect&&(o.layoutRect=e.layoutRect),o}var d=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],f=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],g=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,r,n,o,a,s,u,c,h){r=!s&&r||l;var p=a&&a.inheritColor,m=e.getShallow("color"),y=e.getShallow("textBorderColor"),v=(0,i.bZ)(e.getShallow("opacity"),r.opacity);("inherit"===m||"auto"===m)&&(m=p||null),("inherit"===y||"auto"===y)&&(y=p||null),u||(m=m||r.color,y=y||r.textBorderColor),null!=m&&(t.fill=m),null!=y&&(t.stroke=y);var _=(0,i.bZ)(e.getShallow("textBorderWidth"),r.textBorderWidth);null!=_&&(t.lineWidth=_);var x=(0,i.bZ)(e.getShallow("textBorderType"),r.textBorderType);null!=x&&(t.lineDash=x);var b=(0,i.bZ)(e.getShallow("textBorderDashOffset"),r.textBorderDashOffset);null!=b&&(t.lineDashOffset=b),s||null!=v||h||(v=a&&a.defaultOpacity),null!=v&&(t.opacity=v),s||u||null!=t.fill||!a.inheritColor||(t.fill=a.inheritColor);for(var A=0;A<d.length;A++){var w=d[A],S=!1!==o&&n?(0,i.WV)(e.getShallow(w),n.getShallow(w),r[w]):(0,i.bZ)(e.getShallow(w),r[w]);null!=S&&(t[w]=S)}for(var A=0;A<f.length;A++){var w=f[A],S=e.getShallow(w);null!=S&&(t[w]=S)}if(null==t.verticalAlign){var k=e.getShallow("baseline");null!=k&&(t.verticalAlign=k)}if(!c||!a.disableBox){for(var A=0;A<g.length;A++){var w=g[A],S=e.getShallow(w);null!=S&&(t[w]=S)}var T=e.getShallow("borderType");null!=T&&(t.borderDash=T),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&p&&(t.backgroundColor=p),("auto"===t.borderColor||"inherit"===t.borderColor)&&p&&(t.borderColor=p)}}var y=(0,a.$r)(),v={minMargin:1,textMargin:2};r.d(e,{},{Br:v,Lu:y,Oh:function(t,e,r,n){if(t){var i=y(t);i.prevValue=i.value,i.value=r;var o=e.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=n,i.statesModels=e)}},VB:h,c8:function(t,e){var r=e&&e.getModel("textStyle");return(0,i.Bq)([t.fontStyle||r&&r.getShallow("fontStyle")||"",t.fontWeight||r&&r.getShallow("fontWeight")||"",(t.fontSize||r&&r.getShallow("fontSize")||12)+"px",t.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))},lx:function(t,e){e=e||"label";for(var r={normal:t.getModel(e)},n=0;n<o.BV.length;n++){var i=o.BV[n];r[i]=t.getModel([i,e])}return r},qM:function(t,e,r,a){r=r||l;for(var s=t instanceof n.Ay,d=!1,f=0;f<o.wV.length;f++){var g=e[o.wV[f]];if(g&&g.getShallow("show")){d=!0;break}}var m=s?t:t.getTextContent();if(d){!s&&(m||(m=new n.Ay,t.setTextContent(m)),t.stateProxy&&(m.stateProxy=t.stateProxy));var v=c(r,e),_=e.normal,x=!!_.getShallow("show"),b=h(_,a&&a.normal,r,!1,!s);b.text=v.normal,s||t.setTextConfig(p(_,r,!1));for(var f=0;f<o.BV.length;f++){var A=o.BV[f],g=e[A];if(g){var w=m.ensureState(A),S=!!(0,i.bZ)(g.getShallow("show"),x);S!==x&&(w.ignore=!S),w.style=h(g,a&&a[A],r,!0,!s),w.style.text=v[A],s||(t.ensureState(A).textConfig=p(g,r,!0))}}m.silent=!!_.getShallow("silent"),null!=m.style.x&&(b.x=m.style.x),null!=m.style.y&&(b.y=m.style.y),m.ignore=!x,m.useStyle(b),m.dirty(),r.enableTextSetter&&(y(m).setLabelText=function(t){var n=c(r,e,t);u(m,n)})}else m&&(m.ignore=!0);t.dirty()},sD:p,xb:function(t,e,r,n,o){var l=y(t);if(l.valueAnimation&&l.prevValue!==l.value){var h=l.defaultInterpolatedText,p=(0,i.bZ)(l.interpolatedValue,l.prevValue),d=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},n,e,null,function(n){var i=(0,a.Il)(r,l.precision,p,d,n);l.interpolatedValue=1===n?null:i,u(t,c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(i):i+""},l.statesModels,i))})}}})},NC(t,e,r){"use strict";var n=r("iY"),i=r("yM"),o=r("pE"),a=r("YG");r.d(e,{},{A:function(t,e){return{seriesType:t,plan:(0,i.A)(),reset:function(t){var r=t.getData(),i=t.coordinateSystem,s=t.pipelineContext,l=e||s.large;if(i){var u=(0,n.Tj)(i.dimensions,function(t){return r.mapDimension(t)}).slice(0,2),c=u.length,h=r.getCalculationInfo("stackResultDimension");(0,o.sJ)(r,u[0])&&(u[0]=h),(0,o.sJ)(r,u[1])&&(u[1]=h);var p=r.getStore(),d=r.getDimensionIndex(u[0]),f=r.getDimensionIndex(u[1]);return c&&{progress:function(t,e){for(var r=t.end-t.start,n=l&&(0,a.Jk)(r*c),o=[],s=[],u=t.start,h=0;u<t.end;u++){var g=void 0;if(1===c){var m=p.get(d,u);g=i.dataToPoint(m,null,s)}else o[0]=p.get(d,u),o[1]=p.get(f,u),g=i.dataToPoint(o,null,s);l?(n[h++]=g[0],n[h++]=g[1]):e.setItemLayout(u,g.slice())}l&&(e.setLayout("points",n),e.setLayout("pointsRange",{start:t.start,end:t.end}))}}}}}}})},GN(t,e,r){"use strict";var n=r("iY"),i=r("xN");function o(t,e,r,o,a){var s=t+e;r.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var c=t.getData(),h=(0,i.le)(c,a.fromActionPayload);r.trigger(s,{type:s,seriesId:t.id,name:(0,n.cy)(h)?c.getName(h[0]):c.getName(h),selected:(0,n.Kg)(o)?o:(0,n.X$)({},o)})}})}r.d(e,{},{I:function(t,e){(0,n.__)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(r){e(r[0],function(e,i,o){var a,s;e=(0,n.X$)({},e),o.dispatchAction((0,n.X$)(e,{type:r[1],seriesIndex:(a=e,s=[],i.eachComponent({mainType:"series",subType:t,query:a},function(t){s.push(t.seriesIndex)}),s)}))})})},l:function(t,e,r){t.on("selectchanged",function(t){var n=r.getModel();t.isFromClick?(o("map","selectchanged",e,n,t),o("pie","selectchanged",e,n,t)):"select"===t.fromAction?(o("map","selected",e,n,t),o("pie","selected",e,n,t)):"unselect"===t.fromAction&&(o("map","unselected",e,n,t),o("pie","unselected",e,n,t))})}})},wv(t,e,r){"use strict";var n=r("i4"),i=r("iY"),o=r("Sk"),a=r("Af"),s=r("MD"),l=r("xN"),u=r("db"),c=(0,l.$r)(),h=function(t){var e;function r(e,r,n){var i=t.call(this,e,r,n)||this;return i.uid=a.$Q("ec_cpt_model"),i}return(0,n.C6)(r,t),r.prototype.init=function(t,e,r){this.mergeDefaultAndTheme(t,r)},r.prototype.mergeDefaultAndTheme=function(t,e){var r=u.ad(this),n=r?u.vs(t):{},o=e.getTheme();i.h1(t,o.get(this.mainType)),i.h1(t,this.getDefaultOption()),r&&u.YA(t,n,r)},r.prototype.mergeOption=function(t,e){i.h1(this.option,t,!0);var r=u.ad(this);r&&u.YA(this.option,t,r)},r.prototype.optionUpdated=function(t,e){},r.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){for(var r=[],n=t;n;){var o=n.prototype.defaultOption;o&&r.push(o),n=n.superClass}for(var a={},l=r.length-1;l>=0;l--)a=i.h1(a,r[l],!0);e.defaultOption=a}return e.defaultOption},r.prototype.getReferringComponents=function(t,e){return(0,l.JO)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},r.prototype.getBoxLayoutParams=function(){return u.io(this,!1)},r.prototype.getZLevelKey=function(){return""},r.prototype.setZLevel=function(t){this.option.zlevel=t},r.protoInitialize=void((e=r.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),r}(o.A);(0,s.q7)(h,o.A),(0,s.tQ)(h),a.A6(h),a.vf(h,function(t){var e=[];return i.__(h.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=i.Tj(e,function(t){return(0,s.CC)(t).main}),"dataset"!==t&&0>=i.qh(e,"dataset")&&e.unshift("dataset"),e}),e.A=h},Sk(t,e,r){"use strict";r.d(e,{A:()=>y});var n=r("E3"),i=r("MD"),o=(0,r("Lc").A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=r("F4"),l=r("s2"),u=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new l.Ay,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<c.length;r++)e[c[r]]=this.getShallow(c[r]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),d=r("pf"),f=r("BE"),g=r("iY"),m=function(){function t(t,e,r){this.parentModel=e,this.ecModel=r,this.option=t}return t.prototype.init=function(t,e,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){(0,g.h1)(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 r=this.option,n=null==r?r:r[t];if(null==n&&!e){var i=this.parentModel;i&&(n=i.getShallow(t))}return n},t.prototype.getModel=function(e,r){var n=null!=e,i=n?this.parsePath(e):null;return new t(n?this._doGet(i):this.option,r=r||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.o8)(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(!n.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var r=this.option;if(!t)return r;for(var n=0;n<t.length&&(!t[n]||null!=(r=r&&"object"==typeof r?r[t[n]]:null));n++);return null==r&&e&&(r=e._doGet(this.resolveParentPath(t),e.parentModel)),r},t}();(0,i.gq)(m),(0,i.Od)(m),(0,g.co)(m,d.J),(0,g.co)(m,f.s),(0,g.co)(m,a),(0,g.co)(m,p);var y=m},qL(t,e,r){"use strict";r.d(e,{A:()=>T});var n=r("i4"),i=r("iY"),o=r("E3"),a=r("xN"),s=r("wv"),l=r("zW"),u=r("lZ"),c=r("db"),h=r("Hq"),p=r("MD"),d=r("ox2"),f=r("zZ"),g=r("iL"),m=a.$r();function y(t,e){return t.getName(e)||t.getId(e)}var v=function(t){var e;function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,n.C6)(r,t),r.prototype.init=function(t,e,r){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.U)({count:x,reset:b}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,r),(m(this).sourceManager=new d.R(this)).prepareSource();var n=this.getInitialData(t,r);w(n,this),this.dataTask.context.data=n,m(this).dataBeforeProcessed=n,_(this),this._initSelectedMapFromData(n)},r.prototype.mergeDefaultAndTheme=function(t,e){var r=(0,c.ad)(this),n=r?(0,c.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),i.h1(t,e.getTheme().get(this.subType)),i.h1(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),r&&(0,c.YA)(t,n,r)},r.prototype.mergeOption=function(t,e){t=i.h1(this.option,t,!0),this.fillDataTextStyle(t.data);var r=(0,c.ad)(this);r&&(0,c.YA)(this.option,t,r);var n=m(this).sourceManager;n.dirty(),n.prepareSource();var o=this.getInitialData(t,e);w(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,m(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},r.prototype.fillDataTextStyle=function(t){if(t&&!i.iu(t))for(var e=["show"],r=0;r<t.length;r++)t[r]&&t[r].label&&a.M5(t[r],"label",e)},r.prototype.getInitialData=function(t,e){},r.prototype.appendData=function(t){this.getRawData().appendData(t.data)},r.prototype.getData=function(t){var e=k(this);if(!e)return m(this).data;var r=e.context.data;return null!=t&&r.getLinkedData?r.getLinkedData(t):r},r.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},r.prototype.setData=function(t){var e=k(this);if(e){var r=e.context;r.outputData=t,e!==this.dataTask&&(r.data=t)}m(this).data=t},r.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return i.nt(t)},r.prototype.getSourceManager=function(){return m(this).sourceManager},r.prototype.getSource=function(){return this.getSourceManager().getSource()},r.prototype.getRawData=function(){return m(this).dataBeforeProcessed},r.prototype.getColorBy=function(){return this.get("colorBy")||"series"},r.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},r.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},r.prototype.indicesOfNearest=function(t,e,r,n){var i=this.getData(),o=this.coordinateSystem,a=o&&o.getAxis(t);if(!o||!a)return[];var s=a.dataToCoord(r);null==n&&(n=1/0);for(var l=[],u=1/0,c=-1,h=0,p=i.getDimensionIndex(e),d=i.getStore(),f=0,g=d.count();f<g;f++){var m=d.get(p,f),y=s-a.dataToCoord(m),v=Math.abs(y);v<=n&&((v<u||v===u&&y>=0&&c<0)&&(u=v,c=y,h=0),y===c&&(l[h++]=f))}return l.length=h,l},r.prototype.formatTooltip=function(t,e,r){return function(t){var e,r,n,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,c=s.getData(),h=c.mapDimensionsAll("defaultedTooltip"),p=h.length,d=s.getRawValue(l),m=(0,i.cy)(d),y=(0,f.aw)(s,l);if(p>1||m&&!p){var v=function(t,e,r,n,o){var a=e.getData(),s=(0,i.TS)(t,function(t,e,r){var n=a.getDimensionInfo(r);return t||n&&!1!==n.tooltip&&null!=n.displayName},!1),l=[],u=[],c=[];function h(t,e){var r=a.getDimensionInfo(e);r&&!1!==r.otherDims.tooltip&&(s?c.push((0,f.Qx)("nameValue",{markerType:"subItem",markerColor:o,name:r.displayName,value:t,valueType:r.type})):(l.push(t),u.push(r.type)))}return n.length?(0,i.__)(n,function(t){h((0,g.QE)(a,r,t),t)}):(0,i.__)(t,h),{inlineValues:l,inlineValueTypes:u,blocks:c}}(d,s,l,h,y);e=v.inlineValues,r=v.inlineValueTypes,n=v.blocks,o=v.inlineValues[0]}else if(p){var _=c.getDimensionInfo(h[0]);o=e=(0,g.QE)(c,l,h[0]),r=_.type}else o=e=m?d[0]:d;var x=(0,a.O0)(s),b=x&&s.name||"",A=c.getName(l),w=u?b:A;return(0,f.Qx)("section",{header:b,noHeader:u||!x,sortParam:o,blocks:[(0,f.Qx)("nameValue",{markerType:"item",markerColor:y,name:w,noName:!(0,i.Bq)(w),value:e,valueType:r,rawDataIndex:c.getRawIndex(l)})].concat(n||[])})}({series:this,dataIndex:t,multipleSeries:e})},r.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(t,e,r){var n=this.ecModel,i=l.X.prototype.getColorFromPalette.call(this,t,e,r);return i||(i=n.getColorFromPalette(t,e,r)),i},r.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},r.prototype.unselect=function(t,e){var r=this.option.selectedMap;if(r){var n=this.option.selectedMode,i=this.getData(e);if("series"===n||"all"===r){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=y(i,t[o]);r[a]=!1,this._selectedDataIndicesMap[a]=-1}}},r.prototype.toggleSelect=function(t,e){for(var r=[],n=0;n<t.length;n++)r[0]=t[n],this.isSelected(t[n],e)?this.unselect(r,e):this.select(r,e)},r.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=i.HP(t),r=[],n=0;n<e.length;n++){var o=t[e[n]];o>=0&&r.push(o)}return r},r.prototype.isSelected=function(t,e){var r=this.option.selectedMap;if(!r)return!1;var n=this.getData(e);return("all"===r||r[y(n,t)])&&!n.getItemModel(t).get(["select","disabled"])},r.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},r.prototype._innerSelect=function(t,e){var r,n,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){i.Gv(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var c=e[u],h=y(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var p=e[s-1],h=y(t,p);(r={})[h]=!0,o.selectedMap=r,this._selectedDataIndicesMap=((n={})[h]=t.getRawIndex(p),n)}}},r.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(r){var n=t.getRawDataItem(r);n&&n.selected&&e.push(r)}),e.length>0&&this._innerSelect(t,e)}},r.registerClass=function(t){return s.A.registerClass(t)},r.protoInitialize=void((e=r.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),r}(s.A);function _(t){var e,r,n,o=t.name;a.O0(t)||(t.name=(r=(e=t.getRawData()).mapDimensionsAll("seriesName"),n=[],i.__(r,function(t){var r=e.getDimensionInfo(t);r.displayName&&n.push(r.displayName)}),n.join(" ")||o))}function x(t){return t.model.getRawData().count()}function b(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 w(t,e){i.__(i.yB(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(r){t.wrapMethod(r,i.cF(S,e))})}function S(t,e){var r=k(t);return r&&r.setOutputEnd((e||this).count()),e}function k(t){var e=(t.ecModel||{}).scheduler,r=e&&e.getPipeline(t.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(t.uid))}return n}}i.co(v,u.J),i.co(v,l.X),(0,p.q7)(v,s.A);var T=v},PG(t,e,r){"use strict";var n=r("iY"),i=(0,n.nt)();r.d(e,{},{S:function(t,e){(0,n.vA)(null==i.get(t)&&e),i.set(t,e)},a:function(t,e,r){var n=i.get(e);if(!n)return r;var o=n(t);return o?r.concat(o):r}})},lZ(t,e,r){"use strict";var n=r("iY"),i=r("iL"),o=r("s7"),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var r=this.getData(e),n=this.getRawValue(t,e),i=r.getRawIndex(t),o=r.getName(t),a=r.getRawDataItem(t),s=r.getItemVisual(t,"style"),l=s&&s[r.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,p=r.userOutput&&r.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:n,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,r,s,l,u){e=e||"normal";var c=this.getData(r),h=this.getDataParams(t,r);return(u&&(h.value=u.interpolatedValue),null!=s&&n.cy(h.value)&&(h.value=h.value[s]),l||(l=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),n.Tn(l))?(h.status=e,h.dimensionIndex=s,l(h)):n.Kg(l)?(0,o.YK)(l,h).replace(a,function(e,r){var o=r.length,a=r;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,i.QE)(c,t,a);if(u&&n.cy(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,i.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,r){},t}();r.d(e,{},{J:s,L:function(t){var e,r;return n.Gv(t)?t.type&&(r=t):e=t,{text:e,frag:r}}})},BE(t,e,r){"use strict";var n=r("Lc"),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,n.A)(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}();r.d(e,{},{L:i,s:a})},pf(t,e,r){"use strict";var n=r("Lc"),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,n.A)(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}();r.d(e,{},{J:a,m:i})},Lc(t,e,r){"use strict";var n=r("iY");r.d(e,{},{A:function(t,e){for(var r=0;r<t.length;r++)t[r][1]||(t[r][1]=t[r][0]);return e=e||!1,function(r,i,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(i&&n.qh(i,l)>=0||o&&0>n.qh(o,l))){var u=r.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}})},zW(t,e,r){"use strict";var n=r("xN"),i=(0,n.$r)();(0,n.$r)();var o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,r){return function(t,e,r,n,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&&n?function(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n].length>e)return t[n];return t[r-1]}(n,a):r;if((c=c||r)&&c.length){var h=c[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%c.length,h}}(this,i,(0,n.qB)(this.get("color",!0)),this.get("colorLayer",!0),t,e,r)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=i)(t).paletteIdx=0,e(t).paletteNameMap={}},t}();r.d(e,{},{X:o})},LEV(t,e,r){"use strict";var n=r("iY"),i={average:function(t){for(var e=0,r=0,n=0;n<t.length;n++)!isNaN(t[n])&&(e+=t[n],r++);return 0===r?0/0:e/r},sum:function(t){for(var e=0,r=0;r<t.length;r++)e+=t[r]||0;return e},max:function(t){for(var e=-1/0,r=0;r<t.length;r++)t[r]>e&&(e=t[r]);return isFinite(e)?e:0/0},min:function(t){for(var e=1/0,r=0;r<t.length;r++)t[r]<e&&(e=t[r]);return isFinite(e)?e:0/0},nearest:function(t){return t[0]}},o=function(t){return Math.round(t.length/2)};r.d(e,{},{A:function(t){return{seriesType:t,reset:function(t,e,r){var a=t.getData(),s=t.get("sampling"),l=t.coordinateSystem,u=a.count();if(u>10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),h=l.getOtherAxis(c),p=c.getExtent(),d=r.getDevicePixelRatio(),f=Math.round(u/(Math.abs(p[1]-p[0])*(d||1)));if(isFinite(f)&&f>1){"lttb"===s?t.setData(a.lttbDownSample(a.mapDimension(h.dim),1/f)):"minmax"===s&&t.setData(a.minmaxDownSample(a.mapDimension(h.dim),1/f));var g=void 0;(0,n.Kg)(s)?g=i[s]:(0,n.Tn)(s)&&(g=s),g&&t.setData(a.downSample(a.mapDimension(h.dim),1/f,g,o))}}}}}})},YO(t,e,r){"use strict";r.d(e,{a:()=>I});var n=r("Yo"),i=r("iY"),o=r("SJG"),a=r("qY"),s=r("jp"),l=r("BH"),u=r("NY"),c=r("Y8"),h=r("ke"),p=r("mZ");function d(t,e,r){var n=p.yh.createCanvas(),i=e.getWidth(),o=e.getHeight(),a=n.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=i*r,n.height=o*r,n}function f(t){return!t.__cursors.get(a.$z)}function g(t){var e=t.__cursors.get(a.$z);return{startIdx:e?e.startIdx:0,endIdx:e?e.endIdx:0}}var m=function(t){function e(e,r,o){var s,l=t.call(this)||this;l.motionBlur=!1,l.lastFrameAlpha=.7,l.dpr=1,l.virtual=!1,l.config={},l.zlevel=0,l.zlevel2=a.r4,l.maxRepaintRectCount=5,l.__dirty=!0,l.__firstTimePaint=!0,l.__prevIdx={startIdx:0,endIdx:0},o=o||n.Y5,"string"==typeof e?s=d(e,r,o):i.Gv(e)&&(e=(s=e).id),l.id=e,l.dom=s;var u=s.style;return u&&(i.iq(s),s.onselectstart=function(){return!1},u.padding="0",u.margin="0",u.borderWidth="0"),l.painter=r,l.dpr=o,l}return(0,o.C6)(e,t),e.prototype.afterBrush=function(){this.__prevIdx=g(this)},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=d("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,r,n){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new c.Ay(0,0,0,0);function u(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}else{for(var r=!1,n=1/0,i=0,u=0;u<o.length;++u){var h=o[u];if(h.intersect(t)){var p=new c.Ay(0,0,0,0);p.copy(h),p.union(t),o[u]=p,r=!0;break}if(s){l.copy(t),l.union(h);var d=t.width*t.height,f=h.width*h.height,g=l.width*l.height-d-f;g<n&&(n=g,i=u)}}if(s&&(o[i].union(t),r=!0),!r){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var p=g(this),d=p.startIdx;d<p.endIdx;++d){var f=t[d];if(f){var m=f.shouldBePainted(r,n,!0,!0),y=f.__isRendered&&(f.__dirty&h.M||!m)?f.getPrevPaintRect():null;y&&u(y);var v=m&&(f.__dirty&h.M||!f.__isRendered)?f.getPaintRect():null;v&&u(v)}}for(var _=this.__prevIdx,d=_.startIdx;d<_.endIdx;++d){var f=e[d],m=f&&f.shouldBePainted(r,n,!0,!0);if(f&&(!m||!f.__zr)&&f.__isRendered){var y=f.getPrevPaintRect();y&&u(y)}}do{i=!1;for(var d=0;d<o.length;){if(o[d].isZero()){o.splice(d,1);continue}for(var x=d+1;x<o.length;)o[d].intersect(o[x])?(i=!0,o[d].union(o[x]),o.splice(x,1)):x++;d++}}while(i)return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var r=this.dpr,n=this.dom,i=n.style,o=this.domBack;i&&(i.width=t+"px",i.height=e+"px"),n.width=t*r,n.height=e*r,o&&(o.width=t*r,o.height=e*r,1!==r&&this.ctxBack.scale(r,r))},e.prototype.clear=function(t,e,r){var n=this.dom,o=this.ctx,a=n.width,s=n.height;e=e||this.clearColor;var c=this.motionBlur&&!t,h=this.lastFrameAlpha,p=this.dpr,d=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,a/p,s/p));var f=this.domBack;function g(t,r,n,a){if(o.clearRect(t,r,n,a),e&&"transparent"!==e){var s=void 0;i.C7(e)?(s=(e.global||e.__width===n&&e.__height===a)&&e.__canvasGradient||(0,l.Ff)(o,e,{x:0,y:0,width:n,height:a}),e.__canvasGradient=s,e.__width=n,e.__height=a):i.HE(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,s=(0,u.ZQ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=s||e,o.fillRect(t,r,n,a),o.restore()}c&&(o.save(),o.globalAlpha=h,o.drawImage(f,t,r,n,a),o.restore())}!r||c?g(0,0,a,s):r.length&&i.__(r,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(s.A),y=r("JV"),v=r("E3"),_=void 0;function x(t,e,r,n){var i=new m(t,e,e.dpr);return i.zlevel=r,i.zlevel2=n,i.__builtin__=!0,b(i),i}function b(t){t.__cursorStack=[],t.__cursors=i.nt()}function A(t,e){for(var r=t.__cursorStack,n=0;n<r.length;n++)e(t.__cursors.get(r[n]))}function w(t,e){var r=t.layers;return r[e]||(r[e]=[,,,])}function S(t,e,r){for(var n=t.layerStack,i=0;i<n.length;i++){var o=n[i].zl,a=n[i].zl2,s=t.layers[o][a];r&&(r&k&&!s.__builtin__||r&T&&s.__builtin__||r&C&&s===t.hoverlayer)||e(s,o,a,i)}}var k=1,T=2,C=4,M=function(){function t(t,e,r,o){this.type="canvas",this._prevDisplayList=[],this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas",this._i={layerStack:[],layers:[]};var s=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();if(this._opts=r=i.X$({},r||{}),this.dpr=r.devicePixelRatio||n.Y5,this._singleCanvas=s,this.root=t,t.style&&(i.iq(t),t.innerHTML=""),this.storage=e,this._prevDisplayList=[],s){var u=t.width,c=t.height;null!=r.width&&(u=r.width),null!=r.height&&(c=r.height),this.dpr=r.devicePixelRatio||1,t.width=u*this.dpr,t.height=c*this.dpr,this._width=u,this._height=c;var h=x(t,this,314159,a.r4);h.initContext(),this._insertLayer(h,314159,a.r4,!0),this._domRoot=t}else{this._width=(0,l.YC)(t,0,r),this._height=(0,l.YC)(t,1,r);var p,d,f,g=this._domRoot=(p=this._width,d=this._height,(f=document.createElement("div")).style.cssText=["position:relative","width:"+p+"px","height:"+d+"px","padding:0;margin:0;border-width:0"].join(";")+";",f);t.appendChild(g)}}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=t&&!i.Gv(t)?{paintAll:!!t}:t||{},r=i.bZ(e.refresh,!0),n=i.bZ(e.refreshHover,!1);if(n&&(this._hoverLayerDirty=2),!r)return n&&this._paintHoverList(this.storage.getDisplayList(!1)),this;var o=this.storage.getDisplayList(!0);this._updateLayerStatus(o,e.paintAll),this._redrawId=Math.random();var a=this._prevDisplayList;this._paintList(o,a,this._redrawId);var s=this._backgroundColor;return S(this._i,function(t,e,r,n){t.refresh&&t.refresh(0===n?s:null)},T),this._opts.useDirtyRect&&(this._prevDisplayList=o.slice()),this},t.prototype._paintHoverList=function(t){var e,r=this._i.hoverlayer,n=this._hoverLayerDirty;if((this._hoverLayerDirty=_,n!==_)&&(r||2!==n||(r=this._i.hoverlayer=this._ensureLayer(1e5)),r)){r.clear();for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},o=0,a=t.length;o<a;o++){var s=t[o];if(s.__inHover){e||(e=r.ctx).save();var l=s.__hoverStyle,c=void 0;l&&(c=s.style,s.style=l),(0,u.V$)(e,s,i),l&&(s.style=c)}}e&&((0,u.v6)(e,i),e.restore())}},t.prototype.getHoverLayer=function(){return this._ensureLayer(1e5)},t.prototype.paintOne=function(t,e){(0,u.Xi)(t,e)},t.prototype._paintList=function(t,e,r){if(this._redrawId===r){var n=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),n)S(this._i,function(t){t.afterBrush&&t.afterBrush()},5),this._paintHoverList(t);else{var i=this;(0,y.A)(function(){i._paintList(t,e,r)})}}},t.prototype._compositeManually=function(){var t=this._ensureLayer(314159).ctx,e=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,e,r),S(this._i,function(n){n.virtual&&t.drawImage(n.dom,0,0,e,r)},k)},t.prototype._doPaintList=function(t,e){var r=this,n=!0;return S(this._i,function(i){var o=!1;if(A(i,function(t){(t.drawIdx<t.endIdx||t.notClearIdx>=0)&&(o=!0)}),o||i.__dirty){var a=r._opts.useDirtyRect&&!f(i)?i.createRepaintRects(t,e,r._width,r._height):null,s=r._i.layerStack[0],l=!0;if(i.__dirty){l=!1,i.__dirty=!1;var u=i.zlevel===s.zl&&i.zlevel2===s.zl2?r._backgroundColor:null;i.clear(!1,u,a)}A(i,function(e){var o=r._paintPerCursor(i,e,t,a,l);n=n&&o})}},5),v.A.wxa&&S(this._i,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),n},t.prototype._paintPerCursor=function(t,e,r,n,i){var o=t.ctx;if(n)if(n.length)for(var a=this.dpr,s=0;s<n.length;++s){var l=n[s];o.save(),o.beginPath(),o.rect(l.x*a,l.y*a,l.width*a,l.height*a),o.clip(),this._paintPerCursorInRect(t,e,r,l,i),o.restore()}else e.drawIdx=e.endIdx;else o.save(),this._paintPerCursorInRect(t,e,r,null,i),o.restore();return e.drawIdx>=e.endIdx},t.prototype._paintPerCursorInRect=function(t,e,r,n,i){for(var o={inHover:!1,allClipped:!1,prevEl:null,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{contentRetained:i}},a=t.ctx,s=f(t),l=s&&p.yh.getTime(),c=e.drawIdx,h=e.notClearIdx,d=h>=0?Math.min(h,c):c;d<e.endIdx;d++){var g=r[d];if(!(d<c)||g.notClear){if(g.__inHover&&(this._hoverLayerDirty=2),null!=n){var m=g.getPaintRect();m&&m.intersect(n)&&((0,u.V$)(a,g,o),g.setPrevPaintRect(m))}else(0,u.V$)(a,g,o);if(s&&p.yh.getTime()-l>15){d++;break}}}(0,u.v6)(a,o),e.drawIdx=Math.max(d,c)},t.prototype.getLayer=function(t,e){return this._ensureLayer(t,0,e)},t.prototype._ensureLayer=function(t,e,r){e=e||0;var n=this._singleCanvas;n&&!this._needsManuallyCompositing&&(t=314159,e=0);var o=w(this._i,t)[e];return o||(o=x("zr_"+t+"."+e,this,t,e),this._layerConfig[t]&&i.h1(o,this._layerConfig[t],!0),(r||n&&314159!==t)&&(o.virtual=!0),this._insertLayer(o,t,e,!1),o.initContext()),o},t.prototype.insertLayer=function(t,e){this._insertLayer(e,t,0,!1)},t.prototype._insertLayer=function(t,e,r,n){var i=this._i,o=i.layers,a=i.layerStack,s=this._domRoot,l=null;if(!o[e]||!o[e][r]){if(t&&(t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh&&1)){for(var u=a.length,c=0;c<u&&(a[c].zl<e||a[c].zl===e&&a[c].zl2<r);)c++;if(c>0&&(l=w(i,a[c-1].zl)[a[c-1].zl2]),a.splice(c,0,{zl:e,zl2:r}),w(i,e)[r]=t,!n&&!t.virtual)if(l){var h=l.dom;h.nextSibling?s.insertBefore(t.dom,h.nextSibling):s.appendChild(t.dom)}else s.firstChild?s.insertBefore(t.dom,s.firstChild):s.appendChild(t.dom);t.painter||(t.painter=this)}}},t.prototype.eachLayer=function(t,e){return S(this._i,function(r,n){t.call(e,r,n)})},t.prototype.eachBuiltinLayer=function(t,e){return S(this._i,function(r,n){t.call(e,r,n)},k)},t.prototype.eachOtherLayer=function(t,e){return S(this._i,function(r,n){t.call(e,r,n)},T)},t.prototype.getLayers=function(){var t={};return S(this._i,function(e,r,n){t[e.id]=e}),t},t.prototype._updateLayerStatus=function(t,e){var r,n=this;if(n._singleCanvas)for(var o=1;o<t.length;o++){var s=t[o];if(s.zlevel!==t[o-1].zlevel||s.incremental){n._needsManuallyCompositing=!0;break}}S(n._i,function(t){t.__dirty=!1,A(t,function(t){t.used=!1,t.endIdxNew=0,t.notClearIdx=-1})},5);for(var l=null,u=null,c=!1,p=0,d=t.length;p<d;p++){var s=t[p],g=s.zlevel,m=s.incremental,y=void 0;if(r!==g&&(r=g,c=!1),m?(c=!0,y=a.cw):y=c?a.XM:a.r4,(!l||g!==l.zlevel||y!==l.zlevel2)&&(l=n._ensureLayer(g,y),u=null,!l.__builtin__)){i.vV("ZLevel "+g+" has been used by unknown layer "+l.id);continue}if((!u||m!==u.key)&&!(u=function(t,e){var r,n=t.__cursors,i=+e;return n.get(i)||(t.__cursorStack.push(i),n.set(i,((r={key:i}).startIdx=r.drawIdx=r.endIdx=r.endIdxNew=0,r.used=!1,r.first=r.last=0/0,r.notClearIdx=-1,r)))}(l,m)).used)if(u.used=!0,e||u.first!==s.id)l.__dirty=!0,u.first=s.id,u.startIdx=u.drawIdx=p,u.endIdx=p+1;else{var v=p-u.startIdx;u.startIdx=p,u.drawIdx+=v,u.endIdx+=v}u.endIdxNew=p+1,s.__dirty&h.M&&!s.__inHover&&(m&&(s.notClear||!(p<u.drawIdx))||(l.__dirty=!0),m&&s.notClear&&u.notClearIdx<0&&(u.notClearIdx=p))}S(n._i,function(e){for(var r=e.__cursorStack,i=e.__cursors,o=r.length-1;o>=0;o--){var a=i.get(r[o]);if(a.used){var s=a.endIdxNew;(f(e)?s<a.drawIdx:s!==a.endIdx||!s||t[s-1].id!==a.last)&&(e.__dirty=!0),a.endIdx=a.endIdxNew,a.last=s?t[s-1].id:0/0}else e.__dirty=!0,i.removeKey(r[o]),r.splice(o,1)}e.__dirty&&(A(e,function(t){t.drawIdx=t.startIdx}),n._hoverLayerDirty===_&&(n._hoverLayerDirty=1))},5)},t.prototype.clear=function(){return S(this._i,function(t){t.clear(),b(t)},k),this},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,S(this._i,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var r=this._layerConfig;r[t]?i.h1(r[t],e,!0):r[t]=e,S(this._i,function(t,e){i.h1(t,r[e],!0)})}},t.prototype.delLayer=function(t){for(var e=this._i.layerStack,r=this._i.layers,n=e.length-1;n>=0;n--){var i=e[n];if(i.zl===t){var o=r[t][i.zl2];if(o.__builtin__)continue;if(e.splice(n,1),r[t][i.zl2]=void 0,!o.virtual){var a=o.dom.parentNode;a&&a.removeChild(o.dom)}}}},t.prototype.resize=function(t,e){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var n=this._opts,i=this.root;null!=t&&(n.width=t),null!=e&&(n.height=e),t=(0,l.YC)(i,0,n),e=(0,l.YC)(i,1,n),r.style.display="",(this._width!==t||e!==this._height)&&(r.style.width=t+"px",r.style.height=e+"px",S(this._i,function(r){r.resize(t,e)}),this.refresh({paintAll:!0})),this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this._ensureLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){i.__(this._i.layers[t],function(t){t&&!t.__builtin__&&t.clear()})},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._i=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._i.layers[314159][0].dom;var e=new m("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var r=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height;S(this._i,function(t){t.__builtin__?r.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(r.save(),t.renderToCanvas(r),r.restore())})}else{for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var c=a[s];(0,u.V$)(r,c,o)}(0,u.v6)(r,o)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function I(t){t.registerPainter("canvas",M)}},kP(t,e,r){"use strict";var n=r("MD"),i=function(){function t(){}return t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();n.tQ(i),e.A=i},gE(t,e,r){"use strict";var n=r("i4"),i=r("MB"),o=r("MUM"),a=r("x2R"),s=r("kP"),l=r("iY"),u=r("xD"),c=r("F5"),h=r("Zb"),p=r("xN"),d=function(t,e,r,n){for(;r<n;){var i=r+n>>>1;t[i][1]<e?r=i+1:n=i}return r},f=function(t){function e(r){var n=t.call(this)||this;n.type="time",n.parse=e.parse,n._locale=r.locale,n._useUTC=r.useUTC,n._interval=0;var i=(0,u.yM)(n,r),o=(0,h.zk)(n,i,null);return n.brk=o.brk,n}return(0,n.C6)(e,t),e.prototype.getLabel=function(t){return(0,o.GP)(t.value,o.Lm[(0,o.$9)((0,o.ym)(this._minLevelUnit))]||o.Lm.second,this._useUTC,this._locale)},e.prototype.getFormattedLabel=function(t,e,r){return(0,o.X_)(t,e,r,this._locale,this._useUTC)},e.prototype.getTicks=function(t){t=t||{};var e=this._interval,r=(0,h.nl)(this),n=(0,u.mn)(),a=this.brk,s=n&&a,c=[];if(!e)return c;var d=this._useUTC;if(s&&"only_break"===t.breakTicks)return(0,u.mn)().addBreaksToTicks(c,a.breaks,r),c;c=function(t,e,r,n,a,s){for(var u=o.F7,c=0,h=[],d=[],f=0,g=0,v=0;v<u.length;++v){var _=(0,o.ym)(u[v]);if((0,o.ce)(u[v])&&(!function(t,a,u){var h=[],p=!a.length;if(!m((0,o.ym)(t),n[0],n[1],r)){p&&(a=[{value:(v=n[0],_=Math.max(0,(0,l.qh)(o.vy,t)-1),(0,o._l)(new Date(v),o.vy[_],r).getTime())},{value:n[1]}]);for(var d=0;d<a.length-1;d++){var f=a[d].value,g=a[d+1].value;if(f!==g){var v,_,x,b,A,w=void 0,S=void 0,k=void 0;switch(t){case"year":w=Math.max(1,Math.round(e/o.CZ/365)),S=(0,o.hY)(r),k=(0,o.tM)(r);break;case"half-year":case"quarter":case"month":w=(x=e/(30*o.CZ))>6?6:x>3?3:x>2?2:1,S=(0,o.jJ)(r),k=(0,o.xu)(r);break;case"week":case"half-week":case"day":w=(b=e/o.CZ)>16?16:b>7.5?7:b>3.5?4:b>1.5?2:1,S=(0,o.bP)(r),k=(0,o.ti)(r);break;case"half-day":case"quarter-day":case"hour":w=(A=e/o.MA)>12?12:A>6?6:A>3.5?4:A>2?2:1,S=(0,o.iC)(r),k=(0,o.Yd)(r);break;case"minute":w=y(e,!0),S=(0,o.yB)(r),k=(0,o.KF)(r);break;case"second":w=y(e,!1),S=(0,o.Wf)(r),k=(0,o.ww)(r);break;case"millisecond":w=i.JB(i.Cm(e,!0),1),S=(0,o.Zz)(r),k=(0,o.FP)(r)}g>=n[0]&&f<=n[1]&&function(t,e,r,i,o,a){for(var l,u,h,p=((l=new Date(0))[o](1),u=l.getTime(),l[o](1+t),h=l.getTime()-u,function(t,e){return Math.max(0,Math.round((e-t)/h))}),d=e,f=new Date(d);d<r&&d<=n[1]&&(a.push({value:d}),!(c++>3e3));)if(f[o](f[i]()+t),d=f.getTime(),s){var g=s.calcNiceTickMultiple(d,p);g>0&&(f[o](f[i]()+g*t),d=f.getTime())}a.push({value:d,notAdd:d>n[1]})}(w,f,g,S,k,h),"year"===t&&u.length>1&&0===d&&u.unshift({value:u[0].value-w})}}for(var d=0;d<h.length;d++)u.push(h[d])}}(u[v],h[h.length-1]||[],d),_!==(u[v+1]?(0,o.ym)(u[v+1]):null))){if(d.length){g=f,d.sort(function(t,e){return t.value-e.value});for(var x=[],b=0;b<d.length;++b){var A=d[b].value;(0===b||d[b-1].value!==A)&&(x.push(d[b]),A>=n[0]&&A<=n[1]&&f++)}var w=a/e;if(f>1.5*w&&g>w/1.5||(h.push(x),f>w||t===u[v]))break}d=[]}}for(var S=(0,l.pb)((0,l.Tj)(h,function(t){return(0,l.pb)(t,function(t){return t.value>=n[0]&&t.value<=n[1]&&!t.notAdd})}),function(t){return t.length>0}),k=S.length-1,T=[],v=0;v<S.length;++v)for(var C=S[v],M=0;M<C.length;++M){var I=(0,o.WD)(C[M].value,r);T.push({value:C[M].value,time:{level:k-v,upperTimeUnit:I,lowerTimeUnit:I}})}(0,p.R3)(T,p.qQ,null),T.sort(function(t,e){return t.value-e.value});var D=T[0],P=T[T.length-1],O=(0,o.WD)(n[0],r),L=(0,o.WD)(n[1],r);return(!D||D.value>n[0])&&T.unshift({value:n[0],time:{level:0,upperTimeUnit:O,lowerTimeUnit:O},notNice:!0}),(!P||P.value<n[1])&&T.push({value:n[1],time:{level:0,upperTimeUnit:L,lowerTimeUnit:L},notNice:!0}),T}(this._minLevelUnit,this._approxInterval,d,r,(0,h.t5)(this),a);var f=o.vy.length-1,g=0;return(0,l.__)(c,function(t){t.time&&(f=Math.min(f,(0,l.qh)(o.vy,t.time.upperTimeUnit)),g=Math.max(g,t.time.level))}),s&&(0,u.mn)().pruneTicksByBreak(t.pruneByBreak,c,a.breaks,function(t){return t.value},this._approxInterval,r),s&&"none"!==t.breakTicks&&(0,u.mn)().addBreaksToTicks(c,a.breaks,r,function(t){for(var e=Math.max((0,l.qh)(o.vy,(0,o.WD)(t.vmin,d)),(0,l.qh)(o.vy,(0,o.WD)(t.vmax,d))),r=0,n=0;n<o.vy.length;n++)if(!m(o.vy[n],t.vmin,t.vmax,d)){r=n;break}var i=Math.min(r,f),a=Math.max(i,e);return{level:g,lowerTimeUnit:o.vy[a],upperTimeUnit:o.vy[i]}}),c},e.prototype.getMinorTicks=function(t){return(0,c.a)(this,t,(0,u.DL)(this),this._interval)},e.prototype.setTimeInterval=function(t){this._interval=t.interval,this._approxInterval=t.approxInterval,this._minLevelUnit=t.minLevelUnit},e.parse=function(t){return(0,l.Et)(t)?Math.round(t):+i._U(t)},e.type="time",e}(s.A),g=[["second",o.OY],["minute",o.iW],["hour",o.MA],["quarter-day",6*o.MA],["half-day",12*o.MA],["day",1.2*o.CZ],["half-week",3.5*o.CZ],["week",7*o.CZ],["month",31*o.CZ],["quarter",95*o.CZ],["half-year",o.$H/2],["year",o.$H]];function m(t,e,r,n){return(0,o._l)(new Date(e),t,n).getTime()===(0,o._l)(new Date(r),t,n).getTime()}function y(t,e){return(t/=e?o.iW:o.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}s.A.registerClass(f),e.A=f,r.d(e,{},{R:function(t,e){var r=t.getExtent();if(r[0]===r[1]&&(r[0]-=o.CZ,r[1]+=o.CZ),-1/0===r[1]&&1/0===r[0]){var n=new Date;r[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),r[0]=r[1]-o.CZ}t.setExtent(r[0],r[1]);var i=(0,a.Ev)(e.splitNumber,10),s=(0,h.t5)(t)/i,l=e.minInterval,u=e.maxInterval;null!=l&&s<l&&(s=l),null!=u&&s>u&&(s=u);var c=g.length,p=Math.min(d(g,s,0,c),c-1),f=g[p][1],m=g[Math.max(p-1,0)][0];t.setTimeInterval({approxInterval:s,interval:f,minLevelUnit:m})}})},xD(t,e,r){"use strict";function n(){return null}r.d(e,{},{Bd:function(t){var e=t.brk;return!!e&&e.hasBreaks()},DL:function(t){var e=t.brk;return e?e.breaks:[]},mn:n,yM:function(t,e){var r=n(),i=e.breakOption,o=e.breakParsed;return!o&&r&&(o=r.parseAxisBreakOption(i,t)),o}})},x2R(t,e,r){"use strict";var n=r("MB"),i=r("xN"),o=r("Zb");function a(t){return"interval"===t.type}function s(t){return"log"===t.type}r.d(e,{},{Ev:function(t,e){return t=t||e,(0,n.jn)((0,n.JB)(t,1))},F:s,Mj:function(t,e,r){var i=r&&r.lookup;if(i){for(var o=0;o<i.from.length;o++)if(t===i.from[o])return i.to[o]}return(0,n.z4)(e,t)},Ob:function(t,e,r){var o=t.slice();if(o[0]===o[1]){var a=r&&r.ctnShp;if(0!==o[0]){var s=(0,n.NY)(o[0]);e[1]||(o[1]+=s/2),o[0]-=s/2}else a&&(o[0]=-1),o[1]=1}return(0,i.fA)(o[0])&&(0,i.fA)(o[1])||(o[0]=0,o[1]=1),o[1]<o[0]&&o.reverse(),o},Qw:a,_v:function(t,e){return[t[0]!==e[0],t[1]!==e[1]]},gQ:function(t,e,r){var n=(0,o.nl)(t),i=n[0],a=t.count(),s=Math.max((e||0)+1,1);0!==i&&s>1&&a/s>2&&(i=Math.round(Math.ceil(i/s)*s)),i!==n[0]&&u(n[0],!0,!0);for(var l=i;l<=n[1];l+=s)u(l,!1,l===n[0]||l===n[1]);function u(t,e,n){r({value:t,offInterval:e},n)}l-s!==n[1]&&u(n[1],!0,!0)},kH:function(t){var e=(0,n.NX)(t),r=(0,n.z4)(10,e),i=(0,n.jn)(t/r);return i?2===i?i=3:3===i?i=5:i*=2:i=1,(0,n.LI)(i*r,-e)},oY:function(t){return"time"===t.type},qe:function(t,e){return(0,n.tV)(t)/(0,n.tV)(e)},rf:function(t){return a(t)||s(t)},u$:function(t){return(0,n.XV)(t)+2},wl:function(t){return"ordinal"===t.type}})},F5(t,e,r){"use strict";var n=r("MB"),i=r("xD"),o=r("x2R");r.d(e,{},{a:function(t,e,r,a){for(var s=t.getTicks({expandToNicedExtent:!0}),l=[],u=t.getExtent(),c=1;c<s.length;c++){var h=s[c],p=s[c-1];if(!p.break&&!h.break){for(var d=0,f=[],g=(h.value-p.value)/e,m=(0,o.u$)(g);d<e-1;){var y=(0,n.LI)(p.value+(d+1)*g,m);y>u[0]&&y<u[1]&&f.push(y),d++}var v=(0,i.mn)();v&&v.pruneTicksByBreak("auto",f,r,function(t){return t},a,u),l.push(f)}}return l}})},Zb(t,e,r){"use strict";var n=r("iY"),i=r("xN"),o=r("xD"),a=(0,n.HP)({needTransform:1,normalize:1,scale:1,transformIn:1,transformOut:1,contain:1,getExtent:1,getExtentUnsafe:1,setExtent:1,setExtent2:1,getFilter:1,sanitize:1,getDefaultStartValue:1,freeze:1});function s(t,e){return t.getExtentUnsafe(1,e)||t.getExtentUnsafe(0,e)}var l={needTransform:function(){return!1},normalize:function(t){var e=this._extents[1]||this._extents[0];return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},scale:function(t){var e=this._extents[1]||this._extents[0];return t*(e[1]-e[0])+e[0]},transformIn:function(t){return t},transformOut:function(t){return t},contain:function(t){var e=s(this,null);return t>=e[0]&&t<=e[1]},getExtent:function(){return this._extents[0].slice()},getExtentUnsafe:function(t){return this._extents[t]},setExtent:function(t,e){u(this._extents,0,t,e)},setExtent2:function(t,e,r){var n=this._extents;n[t]||(n[t]=n[0].slice()),u(n,t,e,r)},freeze:function(){}};function u(t,e,r,n){(0,i.Xe)(r,n)&&(t[e][0]=r,t[e][1]=n)}r.d(e,{},{GU:1,Gj:s,N2:function(t){var e=s(t,3);return e[1]-e[0]},QO:2,Z0:function(t,e){(0,n.__)(a,function(r){t[r]=e[r]})},fU:0,nl:function(t){return t.getExtentUnsafe(0,2)},t5:function(t){var e=t.getExtentUnsafe(0,3);return e[1]-e[0]},w2:function(t,e){t.freeze=n.lQ},zk:function(t,e,r){t=t||{};var s,u,c,h,p,d=(0,o.mn)();if(d){var f=d.createBreakScaleMapper(e,r);f.hasBreaks()&&((0,n.__)(a,function(e){f[e]&&(t[e]=(0,n.oI)(f[e],f))}),p=f)}return null==p&&(s=t,u=r,h=[],(c=s||{})._extents=h,h[0]=u?u.slice():(0,i.X1)(),(0,n.X$)(c,l)),{brk:p,mapper:t}}})},MD(t,e,r){"use strict";var n=r("i4"),i=r("iY"),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var r=t.split(".");e.main=r[0]||"",e.sub=r[1]||""}return e}var l=Math.round(10*Math.random());function u(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[e].apply(t,r)}function c(t,e,r){return this.superClass.prototype[e].apply(t,r)}r.d(e,{},{CC:s,Od:function(t){var e=["__\0is_clz",l++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}},_E:function(t){return!!(t&&t[a])},gq:function(t,e){t.$constructor=t,t.extend=function(t){var e,r,o=this;return(e=o,i.Tn(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?r=function(t){function e(){return t.apply(this,arguments)||this}return(0,n.C6)(e,t),e}(o):(r=function(){(t.$constructor||o).apply(this,arguments)},i.B(r,this)),i.X$(r.prototype,t),r[a]=!0,r.extend=this.extend,r.superCall=u,r.superApply=c,r.superClass=o,r}},q7:function(t,e){t.extend=e.extend},tQ:function(t){var e={};t.registerClass=function(t){var r=t.type||t.prototype.type;if(r){i.vA(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal'),t.prototype.type=r;var n,a,l=s(r);l.sub?l.sub!==o&&(((a=e[(n=l).main])&&a[o]||((a=e[n.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,r,n){var i=e[t];if(i&&i[o]&&(i=r?i[r]:null),n&&!i)throw Error(r?"Component "+t+"."+(r||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var r=s(t),n=[],a=e[r.main];return a&&a[o]?i.__(a,function(t,e){e!==o&&n.push(t)}):n.push(a),n},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return i.__(e,function(e,r){t.push(r)}),t},t.hasSubTypes=function(t){var r=e[s(t).main];return r&&r[o]}}})},Af(t,e,r){"use strict";var n=r("iY"),i=r("MD"),o=Math.round(10*Math.random());r.d(e,{},{$Q:function(t){return[t||"",o++].join("_")},A6:function(t){var e={};t.registerSubTypeDefaulter=function(t,r){e[(0,i.CC)(t).main]=r},t.determineSubType=function(r,n){var o=n.type;if(!o){var a=(0,i.CC)(r).main;t.hasSubTypes(r)&&e[a]&&(o=e[a](n))}return o}},G_:function(t,e){return n.h1(n.h1({},t,!0),e,!0)},vf:function(t,e){t.topologicalTravel=function(t,i,o,a){if(t.length){var s,l,u,c=(s=i,l={},u=[],n.__(s,function(t){var i,o,a,c=r(l,t),h=(i=c.originalDeps=e(t),o=s,a=[],n.__(i,function(t){n.qh(o,t)>=0&&a.push(t)}),a);c.entryCount=h.length,0===c.entryCount&&u.push(t),n.__(h,function(e){0>n.qh(c.predecessor,e)&&c.predecessor.push(e);var i=r(l,e);0>n.qh(i.successor,e)&&i.successor.push(t)})}),{graph:l,noEntryList:u}),h=c.graph,p=c.noEntryList,d={};for(n.__(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=h[f],m=!!d[f];m&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),n.__(g.successor,m?v:y)}n.__(d,function(){throw Error("")})}function y(t){h[t].entryCount--,0===h[t].entryCount&&p.push(t)}function v(t){d[t]=!0,y(t)}};function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}})},oh(t,e,r){"use strict";var n=(0,r("xN").$r)();r.d(e,{},{Q3:function(t){n(t).prepare={}},US:function(t){return n(t).fullUpdate},jN:function(t){return n(t).prepare},n$:function(t){n(t).fullUpdate={}}})},Upd(t,e,r){"use strict";r.d(e,{w:()=>g});var n=Math.round(9*Math.random()),i="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+n++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var r=this._guard(t);return i?Object.defineProperty(r,this._id,{value:e,enumerable:!1,configurable:!0}):r[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=r("B5"),s=r("iY"),l=r("MB"),u=r("up"),c=r("NY"),h=r("mZ"),p=new o,d=new a.Ay(100),f=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var r=e.getDevicePixelRatio(),n=e.getZr(),i="svg"===n.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.NT)(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,p,g=[r],y=!0,v=0;v<f.length;++v){var _=a[f[v]];if(null!=_&&!(0,s.cy)(_)&&!(0,s.Kg)(_)&&!(0,s.Et)(_)&&"boolean"!=typeof _){y=!1;break}g.push(_)}if(y){o=g.join(",")+(i?"-svg":"");var x=d.get(o);x&&(i?t.svgElement=x:t.image=x)}var b=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.Et)(e)){var r=Math.ceil(e);return[[r,r]]}for(var n=!0,i=0;i<e.length;++i)if(!(0,s.Et)(e[i])){n=!1;break}if(n)return t([e]);for(var o=[],i=0;i<e.length;++i)if((0,s.Et)(e[i])){var r=Math.ceil(e[i]);o.push([r,r])}else{var r=(0,s.Tj)(e[i],function(t){return Math.ceil(t)});r.length%2==1?o.push(r.concat(r)):o.push(r)}return o}(a.dashArrayX),A=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.Et)(t)){var e=Math.ceil(t);return[e,e]}var r=(0,s.Tj)(t,function(t){return Math.ceil(t)});return t.length%2?r.concat(r):r}(a.dashArrayY),w=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.Kg)(e))return[[e]];for(var r=!0,n=0;n<e.length;++n)if(!(0,s.Kg)(e[n])){r=!1;break}if(r)return t([e]);for(var i=[],n=0;n<e.length;++n)(0,s.Kg)(e[n])?i.push([e[n]]):i.push(e[n]);return i}(a.symbol),S=(e=b,(0,s.Tj)(e,function(t){return m(t)})),k=m(A),T=!i&&h.yh.createCanvas(),C=i&&{tag:"g",attrs:{},key:"dcl",children:[]},M=function(){for(var t=1,e=0,r=S.length;e<r;++e)t=(0,l.lQ)(t,S[e]);for(var n=1,e=0,r=w.length;e<r;++e)n=(0,l.lQ)(n,w[e].length);t*=n;var i=k*S.length*w.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();T&&(T.width=M.width*r,T.height=M.height*r,p=T.getContext("2d")),function(){p&&(p.clearRect(0,0,T.width,T.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,T.width,T.height)));for(var t=0,e=0;e<A.length;++e)t+=A[e];if(!(t<=0))for(var o=-k,s=0,l=0,h=0;o<M.height;){if(s%2==0){for(var d=l/2%w.length,f=0,g=0,m=0;f<2*M.width;){for(var y=0,e=0;e<b[h].length;++e)y+=b[h][e];if(y<=0)break;if(g%2==0){var v=(1-a.symbolSize)*.5,_=f+b[h][g]*v,x=o+A[s]*v,S=b[h][g]*a.symbolSize,I=A[s]*a.symbolSize,D=m/2%w[d].length;!function(t,e,o,s,l){var h=i?1:r,d=(0,u.v5)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(i){var f=n.painter.renderOneToVNode(d);f&&C.children.push(f)}else(0,c.Xi)(p,d)}(_,x,S,I,w[d][D])}f+=b[h][g],++m,++g===b[h].length&&(g=0)}++h===b.length&&(h=0)}o+=A[s],++l,++s===A.length&&(s=0)}}(),y&&d.put(o,T||C),t.image=T,t.svgElement=C,t.svgWidth=M.width,t.svgHeight=M.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=i?1:1/r,p.set(t,g),t.dirty=!1,g}function m(t){for(var e=0,r=0;r<t.length;++r)e+=t[r];return t.length%2==1?2*e:e}},u1(t,e,r){"use strict";r.d(e,{},{R:function(t,e,r){for(var n;t&&(!e(t)||(n=t,!r));)t=t.__hostTarget||t.parent;return n}})},s7(t,e,r){"use strict";var n=r("iY"),i=r("OR"),o=r("MB"),a=r("MUM");function s(t){if(!(0,o.kf)(t))return n.Kg(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}var l=n.QX,u=["a","b","c","d","e","f","g"],c=function(t,e){return"{"+t+(null==e?"":e)+"}"};r.d(e,{},{Cb:function(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},JW:function(t,e){if("_blank"===e||"blank"===e){var r=window.open();r.opener=null,r.location.href=t}else window.open(t,e)},QX:l,YK:function(t,e,r){n.cy(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=u[s];t=t.replace(c(l),c(l,0))}for(var h=0;h<o;h++)for(var p=0;p<a.length;p++){var d=e[h][a[p]];t=t.replace(c(u[p],h),r?(0,i.Me)(d):d)}return t},he:function(t,e){return e=e||"transparent",n.Kg(t)?t:n.Gv(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e},ob:s,qg:function(t,e){var r=n.Kg(t)?{color:t,extraCssText:e}:t||{},o=r.color,a=r.type;e=r.extraCssText;var s=r.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,i.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(r.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""},yC:function(t,e,r){function i(t){return t&&n.Bq(t)?t:"-"}var l="time"===e,u=t instanceof Date;if(l||u){var c=l?(0,o._U)(t):t;if(!isNaN(+c))return(0,a.GP)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",r);if(u)return"-"}if("ordinal"===e)return n.Lh(t)?i(t):n.Et(t)&&(0,o.YC)(t)?t+"":"-";var h=(0,o.Sm)(t);return(0,o.YC)(h)?s(h):n.Lh(t)?i(t):"boolean"==typeof t?t+"":"-"}})},w2(t,e,r){"use strict";r.r(e),r.d(e,{Arc:()=>W.A,BezierCurve:()=>j.A,BoundingRect:()=>G.Ay,Circle:()=>D.A,CompoundPath:()=>V.A,Ellipse:()=>L,Group:()=>M.A,HOVER_LAYER_FOR_INCREMENTAL:()=>tu,HOVER_LAYER_FROM_THRESHOLD:()=>tl,HOVER_LAYER_NO:()=>ts,Image:()=>C.Ay,IncrementalDisplayable:()=>J,Line:()=>H.A,LinearGradient:()=>Y.A,OrientedBoundingRect:()=>U.A,Path:()=>i.Ay,Point:()=>Z.A,Polygon:()=>z.A,Polyline:()=>F.A,RadialGradient:()=>X,Rect:()=>$.A,Ring:()=>N,Sector:()=>R.A,Text:()=>I.Ay,WH:()=>ta,XY:()=>to,applyTransform:()=>tS,calcZ2Range:()=>tW,clipPointsByRect:()=>tC,clipRectByRect:()=>tM,createIcon:()=>tI,decomposeTransform:()=>tX,ensureCopyRect:()=>t$,ensureCopyTransform:()=>tH,expandOrShrinkRect:()=>tO,extendPath:()=>tp,extendShape:()=>tc,getCurrentCanvasPainter:()=>tU,getShapeClass:()=>tf,getTransform:()=>tw,groupTransition:()=>tT,initProps:()=>tr.LW,isBoundingRectAxisAligned:()=>tz,isElementRemoved:()=>tr.LR,lineLineIntersect:()=>tP,linePolygonIntersect:()=>tD,makeImage:()=>tm,makePath:()=>tg,mergePath:()=>tv,payloadDisableAnimation:()=>tY,registerShape:()=>td,removeElement:()=>tr.Nz,removeElementWithFadeOut:()=>tr.t5,resizePath:()=>t_,retrieveZInfo:()=>tj,setTooltipConfig:()=>tE,subPixelOptimize:()=>tA,subPixelOptimizeLine:()=>tx,subPixelOptimizeRect:()=>tb,transformDirection:()=>tk,traverseElements:()=>tN,traverseUpdateZ:()=>tV,updateProps:()=>tr.oi});var n=r("SJG"),i=r("BC"),o=r("Sv"),a=r("xy"),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2,h=r("iY"),p=Math.sqrt,d=Math.sin,f=Math.cos,g=Math.PI;function m(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function y(t,e){return(t[0]*e[0]+t[1]*e[1])/(m(t)*m(e))}function v(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(y(t,e))}function _(t,e,r,n,i,o,a,s,l,u,c){var h=g/180*l,m=f(h)*(t-r)/2+d(h)*(e-n)/2,_=-1*d(h)*(t-r)/2+f(h)*(e-n)/2,x=m*m/(a*a)+_*_/(s*s);x>1&&(a*=p(x),s*=p(x));var b=(i===o?-1:1)*p((a*a*(s*s)-a*a*(_*_)-s*s*(m*m))/(a*a*(_*_)+s*s*(m*m)))||0,A=b*a*_/s,w=-(b*s)*m/a,S=(t+r)/2+f(h)*A-d(h)*w,k=(e+n)/2+d(h)*A+f(h)*w,T=v([1,0],[(m-A)/a,(_-w)/s]),C=[(m-A)/a,(_-w)/s],M=[(-1*m-A)/a,(-1*_-w)/s],I=v(C,M);if(-1>=y(C,M)&&(I=g),y(C,M)>=1&&(I=0),I<0){var D=Math.round(I/g*1e6)/1e6;I=2*g+D%2*g}c.addData(u,S,k,a,s,T,I,h,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,b=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.applyTransform=function(t){},e}(i.Ay);function w(t){return null!=t.setData}function S(t,e){var r=function(t){var e,r=new o.A;if(!t)return r;var n=0,i=0,a=0,s=0,l=o.A.CMD,u=t.match(x);if(!u)return r;for(var c=0;c<u.length;c++){for(var h=u[c],p=h.charAt(0),d=void 0,f=h.match(b)||[],g=f.length,m=0;m<g;m++)f[m]=parseFloat(f[m]);for(var y=0;y<g;){var v=void 0,A=void 0,w=void 0,S=void 0,k=void 0,T=void 0,C=void 0,M=n,I=i,D=void 0,P=void 0;switch(p){case"l":n+=f[y++],i+=f[y++],d=l.L,r.addData(d,n,i);break;case"L":n=f[y++],i=f[y++],d=l.L,r.addData(d,n,i);break;case"m":n+=f[y++],i+=f[y++],d=l.M,r.addData(d,n,i),a=n,s=i,p="l";break;case"M":n=f[y++],i=f[y++],d=l.M,r.addData(d,n,i),a=n,s=i,p="L";break;case"h":n+=f[y++],d=l.L,r.addData(d,n,i);break;case"H":n=f[y++],d=l.L,r.addData(d,n,i);break;case"v":i+=f[y++],d=l.L,r.addData(d,n,i);break;case"V":i=f[y++],d=l.L,r.addData(d,n,i);break;case"C":d=l.C,r.addData(d,f[y++],f[y++],f[y++],f[y++],f[y++],f[y++]),n=f[y-2],i=f[y-1];break;case"c":d=l.C,r.addData(d,f[y++]+n,f[y++]+i,f[y++]+n,f[y++]+i,f[y++]+n,f[y++]+i),n+=f[y-2],i+=f[y-1];break;case"S":v=n,A=i,D=r.len(),P=r.data,e===l.C&&(v+=n-P[D-4],A+=i-P[D-3]),d=l.C,M=f[y++],I=f[y++],n=f[y++],i=f[y++],r.addData(d,v,A,M,I,n,i);break;case"s":v=n,A=i,D=r.len(),P=r.data,e===l.C&&(v+=n-P[D-4],A+=i-P[D-3]),d=l.C,M=n+f[y++],I=i+f[y++],n+=f[y++],i+=f[y++],r.addData(d,v,A,M,I,n,i);break;case"Q":M=f[y++],I=f[y++],n=f[y++],i=f[y++],d=l.Q,r.addData(d,M,I,n,i);break;case"q":M=f[y++]+n,I=f[y++]+i,n+=f[y++],i+=f[y++],d=l.Q,r.addData(d,M,I,n,i);break;case"T":v=n,A=i,D=r.len(),P=r.data,e===l.Q&&(v+=n-P[D-4],A+=i-P[D-3]),n=f[y++],i=f[y++],d=l.Q,r.addData(d,v,A,n,i);break;case"t":v=n,A=i,D=r.len(),P=r.data,e===l.Q&&(v+=n-P[D-4],A+=i-P[D-3]),n+=f[y++],i+=f[y++],d=l.Q,r.addData(d,v,A,n,i);break;case"A":w=f[y++],S=f[y++],k=f[y++],T=f[y++],C=f[y++],M=n,I=i,n=f[y++],_(M,I,n,i=f[y++],T,C,w,S,k,d=l.A,r);break;case"a":w=f[y++],S=f[y++],k=f[y++],T=f[y++],C=f[y++],M=n,I=i,n+=f[y++],_(M,I,n,i+=f[y++],T,C,w,S,k,d=l.A,r)}}("z"===p||"Z"===p)&&(d=l.Z,r.addData(d),n=a,i=s),e=d}return r.toStatic(),r}(t),n=(0,h.X$)({},e);return n.buildPath=function(t){var e=w(t);if(e&&t.canSave()){t.appendPath(r);var n=t.getContext();n&&t.rebuildPath(n,1)}else{var n=e?t.getContext():t;n&&r.rebuildPath(n,1)}},n.applyTransform=function(t){!function(t,e){if(e){var r,n,i,o,h,p,d=t.data,f=t.len(),g=s.M,m=s.C,y=s.L,v=s.R,_=s.A,x=s.Q;for(i=0,o=0;i<f;){switch(r=d[i++],o=i,n=0,r){case g:case y:n=1;break;case m:n=3;break;case x:n=2;break;case _:var b=e[4],A=e[5],w=u(e[0]*e[0]+e[1]*e[1]),S=u(e[2]*e[2]+e[3]*e[3]),k=c(-e[1]/S,e[0]/w);d[i]*=w,d[i++]+=b,d[i]*=S,d[i++]+=A,d[i++]*=w,d[i++]*=S,d[i++]+=k,d[i++]+=k,i+=2,o=i;break;case v:p[0]=d[i++],p[1]=d[i++],(0,a.NW)(p,p,e),d[o++]=p[0],d[o++]=p[1],p[0]+=d[i++],p[1]+=d[i++],(0,a.NW)(p,p,e),d[o++]=p[0],d[o++]=p[1]}for(h=0;h<n;h++){var T=l[h];T[0]=d[i++],T[1]=d[i++],(0,a.NW)(T,T,e),d[o++]=T[0],d[o++]=T[1]}}t.increaseVersion()}}(r,t),this.dirtyShape()},n}var k=r("AT"),T=r("P7"),C=r("s5"),M=r("jZ"),I=r("s2"),D=r("vH"),P=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},O=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new P},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,i=e.rx,o=e.ry,a=.5522848*i,s=.5522848*o;t.moveTo(r-i,n),t.bezierCurveTo(r-i,n-s,r-a,n-o,r,n-o),t.bezierCurveTo(r+a,n-o,r+i,n-s,r+i,n),t.bezierCurveTo(r+i,n+s,r+a,n+o,r,n+o),t.bezierCurveTo(r-a,n+o,r-i,n+s,r-i,n),t.closePath()},e}(i.Ay);O.prototype.type="ellipse";var L=O,R=r("Qz"),E=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},B=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new E},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,i=2*Math.PI;t.moveTo(r+e.r,n),t.arc(r,n,e.r,0,i,!1),t.moveTo(r+e.r0,n),t.arc(r,n,e.r0,0,i,!0)},e}(i.Ay);B.prototype.type="ring";var N=B,z=r("hC"),F=r("Jx"),$=r("Vb"),H=r("xz"),j=r("QO"),W=r("Wf"),V=r("zY"),Y=r("Up"),X=function(t){function e(e,r,n,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==r?.5:r,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return(0,n.C6)(e,t),e}(r("b8").A),G=r("Y8"),U=r("Mg"),Z=r("zM"),q=r("el"),K=r("qY"),Q=[],J=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=K.jP,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,n.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype._useHoverStyle=function(){this.__hoverStyle=null},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 r=0;r<t.length;r++)this.addDisplayable(t[r],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 G.Ay(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var r=this._displayables[e],n=r.getBoundingRect().clone();r.needLocalTransform()&&n.applyTransform(r.getLocalTransform(Q)),t.union(n)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(r[0],r[1])){for(var n=0;n<this._displayables.length;n++)if(this._displayables[n].contain(t,e))return!0}return!1},e}(q.Ay),tt=r("JU"),te=r("FL"),tr=r("W5"),tn=r("MB"),ti={},to=["x","y"],ta=["width","height"],ts=0,tl=1,tu=2;function tc(t){return i.Ay.extend(t)}var th=function(t,e){var r=S(t,e),i=A;function o(t){var e=i.call(this,t)||this;return e.applyTransform=r.applyTransform,e.buildPath=r.buildPath,e}return(0,n.C6)(o,i),o};function tp(t,e){return th(t,e)}function td(t,e){ti[t]=e}function tf(t){if(ti.hasOwnProperty(t))return ti[t]}function tg(t,e,r,n){var i=new A(S(t,e));return r&&("center"===n&&(r=ty(r,i.getBoundingRect())),t_(i,r)),i}function tm(t,e,r){var n=new C.Ay({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===r){var i={width:t.width,height:t.height};n.setStyle(ty(e,i))}}});return n}function ty(t,e){var r,n=e.width/e.height,i=t.height*n;return r=i<=t.width?t.height:(i=t.width)/n,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-r/2,width:i,height:r}}var tv=function(t,e){for(var r=[],n=t.length,o=0;o<n;o++){var a=t[o];r.push(a.getUpdatedPathProxy(!0))}var s=new i.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(w(t)){t.appendPath(r);var e=t.getContext();e&&t.rebuildPath(e,1)}},s};function t_(t,e){if(t.applyTransform){var r=t.getBoundingRect().calculateTransform(e);t.applyTransform(r)}}function tx(t,e){return tt.eB(t,t,{lineWidth:e}),t}function tb(t,e){return tt.Op(t,t,e),t}var tA=tt.M7;function tw(t,e){for(var r=k.D_([]);t&&t!==e;)k.lK(r,t.getLocalTransform(),r),t=t.parent;return r}function tS(t,e,r){return e&&!(0,h.Xj)(e)&&(e=T.Ay.getLocalTransform(e)),r&&(e=k.B8([],e)),a.NW([],t,e)}function tk(t,e,r){var n=0===e[4]||0===e[5]||0===e[0]?1:(0,tn.NY)(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:(0,tn.NY)(2*e[4]/e[2]),o=["left"===t?-n:"right"===t?n:0,"top"===t?-i:"bottom"===t?i:0];return o=tS(o,e,r),(0,tn.NY)(o[0])>(0,tn.NY)(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tT(t,e,r){if(t&&e){var n,i=(n={},t.traverse(function(t){!t.isGroup&&t.anid&&(n[t.anid]=t)}),n);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=i[t.anid];if(e){var n=o(t);t.attr(o(e)),(0,tr.oi)(t,n,r,(0,te.z)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,h.o8)(t.shape)),e}}function tC(t,e){return(0,h.Tj)(t,function(t){var r=t[0];r=(0,tn.JB)(r,e.x),r=(0,tn.rp)(r,e.x+e.width);var n=t[1];return n=(0,tn.JB)(n,e.y),[r,n=(0,tn.rp)(n,e.y+e.height)]})}function tM(t,e){var r=(0,tn.JB)(t.x,e.x),n=(0,tn.rp)(t.x+t.width,e.x+e.width),i=(0,tn.JB)(t.y,e.y),o=(0,tn.rp)(t.y+t.height,e.y+e.height);if(n>=r&&o>=i)return{x:r,y:i,width:n-r,height:o-i}}function tI(t,e,r){var n=(0,h.X$)({rectHover:!0},e),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),(0,h.NT)(i,r),new C.Ay(n)):tg(t.replace("path://",""),n,r,"center")}function tD(t,e,r,n,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(tP(t,e,r,n,s[0],s[1],a[0],a[1]))return!0;a=s}}function tP(t,e,r,n,i,o,a,s){var l,u=r-t,c=n-e,h=a-i,p=s-o,d=h*c-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-i,g=e-o,m=(f*c-u*g)/d;if(m<0||m>1)return!1;var y=(f*p-h*g)/d;return!(y<0)&&!(y>1)}function tO(t,e,r,n,i){return null==e||((0,h.Et)(e)?tL[0]=tL[1]=tL[2]=tL[3]=e:(tL[0]=e[0],tL[1]=e[1],tL[2]=e[2],tL[3]=e[3]),n&&(tL[0]=(0,tn.JB)(0,tL[0]),tL[1]=(0,tn.JB)(0,tL[1]),tL[2]=(0,tn.JB)(0,tL[2]),tL[3]=(0,tn.JB)(0,tL[3])),r&&(tL[0]=-tL[0],tL[1]=-tL[1],tL[2]=-tL[2],tL[3]=-tL[3]),tR(t,tL,"x","width",3,1,i&&i[0]||0),tR(t,tL,"y","height",0,2,i&&i[1]||0)),t}var tL=[0,0,0,0];function tR(t,e,r,n,i,o,a){var s=e[o]+e[i],l=t[n];t[n]+=s,a=(0,tn.JB)(0,(0,tn.rp)(a,l)),t[n]<a?(t[n]=a,t[r]+=e[i]>=0?-e[i]:e[o]>=0?l+e[o]:(0,tn.NY)(s)>1e-8?(l-a)*e[i]/s:0):t[r]-=e[i]}function tE(t){var e=t.itemTooltipOption,r=t.componentModel,n=t.itemName,i=(0,h.Kg)(e)?{formatter:e}:e,o=r.mainType,a=r.componentIndex,s={componentType:o,name:n,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,h.__)((0,h.HP)(l),function(t){(0,h.$3)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,te.z)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:n,option:(0,h.NT)({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function tB(t,e){var r;t.isGroup&&(r=e(t)),r||t.traverse(e)}function tN(t,e){if(t)if((0,h.cy)(t))for(var r=0;r<t.length;r++)tB(t[r],e);else tB(t,e)}function tz(t){return!t||(0,tn.NY)(t[1])<tF&&(0,tn.NY)(t[2])<tF||(0,tn.NY)(t[0])<tF&&(0,tn.NY)(t[3])<tF}var tF=1e-5;function t$(t,e){return t?G.Ay.copy(t,e):e.clone()}function tH(t,e){return e?k.C(t||k.vt(),e):void 0}function tj(t){return{z:t.get("z")||0,zlevel:t.get("zlevel")||0}}function tW(t){var e=-1/0,r=1/0;function n(t){if(t&&!t.isGroup){var e=t.currentStates;if(e.length)for(var r=0;r<e.length;r++)i(t.states[e[r]]);i(t)}}function i(t){if(t){var n=t.z2;n>e&&(e=n),n<r&&(r=n)}}return tB(t,function(t){n(t),n(t.getTextContent()),n(t.getTextGuideLine())}),r>e&&(r=e=0),{min:r,max:e}}function tV(t,e,r){!function t(e,r,n,i){if(e.ignoreModelZ)return i;var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)i=(0,tn.JB)(t(s[l],r,n,i),i);else e.z=r,e.zlevel=n,i=(0,tn.JB)(e.z2||0,i);if(o&&(o.z=r,o.zlevel=n,isFinite(i)&&(o.z2=i+2)),a){var u=e.textGuideLineConfig;a.z=r,a.zlevel=n,isFinite(i)&&(a.z2=i+(u&&u.showAbove?1:-1))}return i}(t,e,r,-1/0)}function tY(t){return t.animation={duration:0},t}function tX(t,e){return e?k.C(tG.transform,e):k.D_(tG.transform),tG.decomposeTransform(),(0,T.IT)(t,tG),t}var tG=new T.Ay;function tU(t){var e=t.getZr().painter;return"canvas"===e.getType()?e:null}tG.transform=k.vt(),ti.circle=D.A,ti.ellipse=L,ti.sector=R.A,ti.ring=N,ti.polygon=z.A,ti.polyline=F.A,ti.rect=$.A,ti.line=H.A,ti.bezierCurve=j.A,ti.arc=W.A},FL(t,e,r){"use strict";var n=(0,r("xN").$r)();r.d(e,{},{a:function(t,e,r,i){if(i){var o=n(i);o.dataIndex=r,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===i.type&&i.traverse(function(i){var o=n(i);o.seriesIndex=t,o.dataIndex=r,o.dataType=e,o.ssrType="chart"})}},z:n})},db(t,e,r){"use strict";var n=r("iY"),i=r("Y8"),o=r("MB"),a=r("s7"),s=r("Ww"),l=n.__,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(t,e,r,n,i){var o=0,a=0;null==n&&(n=1/0),null==i&&(i=1/0);var s=0;e.eachChild(function(l,u){var c,h,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(c=o+g)>n||l.newline?(o=0,c=g,a+=s+r,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(f?-f.y+p.y:0);(h=a+m)>i||l.newline?(o+=s+r,a=0,h=m,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+r:a=h+r)})}function p(t,e,r){r=a.QX(r||0);var n=e.width,s=e.height,l=(0,o.lo)(t.left,n),u=(0,o.lo)(t.top,s),c=(0,o.lo)(t.right,n),h=(0,o.lo)(t.bottom,s),p=(0,o.lo)(t.width,n),d=(0,o.lo)(t.height,s),f=r[2]+r[0],g=r[1]+r[3],m=t.aspect;switch(isNaN(p)&&(p=n-c-g-l),isNaN(d)&&(d=s-h-f-u),null!=m&&(isNaN(p)&&isNaN(d)&&(m>n/s?p=.8*n:d=.8*s),isNaN(p)&&(p=m*d),isNaN(d)&&(d=p/m)),isNaN(l)&&(l=n-c-p-g),isNaN(u)&&(u=s-h-d-f),t.left||t.right){case"center":l=n/2-p/2-r[3];break;case"right":l=n-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-r[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=n-g-l-(c||0)),isNaN(d)&&(d=s-f-u-(h||0));var y=new i.Ay((e.x||0)+l+r[3],(e.y||0)+u+r[0],p,d);return y.margin=r,y}n.cF(h,"vertical"),n.cF(h,"horizontal");var d=1,f=2;function g(t,e,r){var n,i,o,a,l=t.boxCoordinateSystem;if(l){var u=(0,s.fE)(t),c=u.coord,h=u.from;if(l.dataToLayout){o=d,a=h;var p=l.dataToLayout(c);n=p.contentRect||p.rect}else r&&r.enableLayoutOnlyByCenter&&l.dataToPoint&&(o=f,a=h,i=l.dataToPoint(c))}return null==o&&(o=d),o===d&&(n||(n={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),i=[n.x+n.width/2,n.y+n.height/2]),{type:o,refContainer:n,refPoint:i,boxCoordFrom:a}}r.d(e,{},{Lj:g,YA:function(t,e,r){var i=r&&r.ignoreSize;n.cy(i)||(i=[i,i]);var o=s(c[0],0),a=s(c[1],1);function s(r,o){var a={},s=0,c={},h=0;if(l(r,function(e){c[e]=t[e]}),l(r,function(t){n.$3(e,t)&&(a[t]=c[t]=e[t]),u(a,t)&&s++,u(c,t)&&h++}),i[o])return u(e,r[1])?c[r[2]]=null:u(e,r[2])&&(c[r[1]]=null),c;if(2===h||!s)return c;if(s>=2)return a;for(var p=0;p<r.length;p++){var d=r[p];if(!n.$3(a,d)&&n.$3(t,d)){a[d]=t[d];break}}return a}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function h(t,e,r){l(t,function(t){e[t]=r[t]})}h(c[0],t,o),h(c[1],t,a)},aP:h,ad:function(t){var e=t.layoutMode||t.constructor.layoutMode;return n.Gv(e)?e:e?{type:e}:null},dV:p,io:function(t,e){return{left:t.getShallow("left",e),top:t.getShallow("top",e),right:t.getShallow("right",e),bottom:t.getShallow("bottom",e),width:t.getShallow("width",e),height:t.getShallow("height",e)}},m$:function(t,e,r,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.Ay(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 f=p(n.NT({width:l.width,height:l.height},e),r,o),g=u?f.x-l.x:0,m=c?f.y-l.y:0;return"raw"===h?(s.x=g,s.y=m):(s.x+=g,s.y+=m),s===t&&t.markRedraw(),!0},vs:function(t){var e,r;return e={},(r=t)&&e&&l(u,function(t){n.$3(r,t)&&(e[t]=r[t])}),e},zH:function(t,e){var r=function(t,e){var r,i,a=g(t,e,{enableLayoutOnlyByCenter:!0}),l=t.getBoxLayoutParams();if(a.type===f)i=a.refPoint,r=p(l,{width:e.getWidth(),height:e.getHeight()});else{var u=t.get("center"),c=n.cy(u)?u:[u,u];r=p(l,a.refContainer),i=a.boxCoordFrom===s.Xf?a.refPoint:[(0,o.lo)(c[0],r.width)+r.x,(0,o.lo)(c[1],r.height)+r.y]}return{viewRect:r,center:i}}(t,e),i=r.viewRect,a=r.center,l=t.get("radius");n.cy(l)||(l=[0,l]);var u=Math.min((0,o.lo)(i.width,e.getWidth()),(0,o.lo)(i.height,e.getHeight())),c=(0,o.lo)(l[0],u/2),h=(0,o.lo)(l[1],u/2);return{cx:a[0],cy:a[1],r0:c,r:h,viewRect:i}}})},nXY(t,e,r){"use strict";var n={},i="u">typeof console&&console.warn&&console.log;r.d(e,{},{$8:function(t){throw Error(t)},aT:function(t){},z3:function(t,e){!function(t,e,r){if(i){if(r){if(n[e])return;n[e]=!0}console[t]("[ECharts] "+e)}}("error",t,e)}})},xN(t,e,r){"use strict";var n=r("iY"),i=r("E3"),o=r("MB"),a="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,r){var n=h(e[t],null),i=h(r[t],null);return null!=n&&null!=i&&n===i}function c(t){return h(t,"")}function h(t,e){return null==t?e:(0,n.Kg)(t)?t:(0,n.Et)(t)||(0,n.Lh)(t)?t+"":e}function p(t){return t&&null!=t.id&&0===c(t.id).indexOf(s)}var d=(0,o.IH)();function f(t,e){if((0,n.Kg)(t)){var r,i={};i[t+"Index"]=0,r=i}else r=t;var o=(0,n.nt)(),a={},s=!1;return(0,n.__)(r,function(t,r){if("dataIndex"===r||"dataIndexInside"===r){a[r]=t;return}var i=r.match(/^(\w+)(Index|Id|Name)$/)||[],l=i[1],u=(i[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,n.qh)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var g={useDefault:!0,enableAll:!1,enableNone:!1};function m(t,e,r,n){n=n||g;var i=r.index,o=r.id,a=r.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=t.getComponent(e))?[l]:[],s}if("none"===i||!1===i)if(n.enableNone)return s.models=[],s;else i=-1;return"all"===i&&(i=n.enableAll?o=a=null:-1),s.models=t.queryComponents({mainType:e,index:i,id:o,name:a}),s}function y(){}function v(t){return null!=t&&isFinite(t)}function _(t,e){return v(t)&&v(e)&&t<=e}y.prototype.reset=function(t,e,r,n){return this._list=t,this._step=n=n||1,this._idx=e,this._end=null!=r?r:n>0?t.length:0,this.item=null,this.key=0/0,this},y.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)&&(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0)};var x=(0,o.IH)();r.d(e,{},{$r:function(){var t="__ec_inner_"+d++;return function(e){return e[t]||(e[t]={})}},Ax:function(t,e){_(e[0],e[1])&&(e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]))},Bq:function(t,e,r){t.setAttribute?t.setAttribute(e,r):t[e]=r},D$:function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},D6:function(t,e){var r={},n={};return i(t||[],r),i(e||[],n,r),[o(r),o(n)];function i(t,e,r){for(var n=0,i=t.length;n<i;n++){var o=h(t[n].seriesId,null);if(null==o)return;for(var a=l(t[n].dataIndex),s=r&&r[o],u=0,c=a.length;u<c;u++){var p=a[u];s&&s[p]?s[p]=null:(e[o]||(e[o]={}))[p]=1}}}function o(t,e){var r=[];for(var n in t)if(t.hasOwnProperty(n)&&null!=t[n])if(e)r.push(+n);else{var i=o(t[n],!0);i.length&&r.push({seriesId:n,dataIndex:i})}return r}},EV:function(){var t="__ec_once_"+x++;return function(e,r){(0,n.$3)(e,t)||(e[t]=1,r())}},FM:function(t,e){v(e)&&e<t[0]&&(t[0]=e)},GX:function(t,e,r){(0,n.__)(t,function(t){var i,o,a,s,l=t.newOption;(0,n.Gv)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(i=e,o=l,a=t.existing,s=r,o.type?o.type:a?a.subType:s.determineSubType(i,o)))})},HB:f,Il:function(t,e,r,i,a){var s=null==e||"auto"===e;if(null==i)return i;if((0,n.Et)(i)){var l,u=(i-(l=r||0))*a+l;return(0,o.LI)(u,s?Math.max((0,o.XV)(r||0),(0,o.XV)(i)):e)}if((0,n.Kg)(i))return a<1?r:i;for(var c=[],h=Math.max(r?r.length:0,i.length),p=0;p<h;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)c[p]=(a<1&&r?r:i)[p];else{var f=r&&r[p]?r[p]:0,g=i[p],u=(g-f)*a+f;c[p]=(0,o.LI)(u,s?Math.max((0,o.XV)(f),(0,o.XV)(g)):e)}}return c},JO:m,JS:["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"],M5:function(t,e,r){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,i=r.length;n<i;n++){var o=r[n];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}},O0:function(t){var e=t.name;return!!(e&&e.indexOf(a))},O2:function(t,e,r){var i,o,s,l,h,d,f,g,m,y,v,_,x,b="normalMerge"===r,A="replaceMerge"===r,w="replaceAll"===r;t=t||[],e=(e||[]).slice();var S=(0,n.nt)();(0,n.__)(e,function(t,r){if(!(0,n.Gv)(t)){e[r]=null;return}});var k=function(t,e,r){var n=[];if("replaceAll"===r)return n;for(var i=0;i<t.length;i++){var o=t[i];o&&null!=o.id&&e.set(o.id,i),n.push({existing:"replaceMerge"===r||p(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return n}(t,S,r);return(b||A)&&(i=k,o=t,s=S,l=e,(0,n.__)(l,function(t,e){if(t&&null!=t.id){var r=c(t.id),a=s.get(r);if(null!=a){var u=i[a];(0,n.vA)(!u.newOption,'Duplicated option on id "'+r+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),b&&(h=k,d=e,(0,n.__)(d,function(t,e){if(t&&null!=t.name)for(var r=0;r<h.length;r++){var n=h[r].existing;if(!h[r].newOption&&n&&(null==n.id||null==t.id)&&!p(t)&&!p(n)&&u("name",n,t)){h[r].newOption=t,d[e]=null;return}}})),b||A?(f=k,g=e,m=A,(0,n.__)(g,function(t){if(t){for(var e,r=0;(e=f[r])&&(e.newOption||p(e.existing)||e.existing&&null!=t.id&&!u("id",t,e.existing));)r++;e?(e.newOption=t,e.brandNew=m):f.push({newOption:t,brandNew:m,existing:null,keyInfo:null}),r++}})):w&&(y=k,v=e,(0,n.__)(v,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=k,x=(0,n.nt)(),(0,n.__)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,n.__)(_,function(t){var e=t.newOption;(0,n.vA)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,n.__)(_,function(t,e){var r=t.existing,i=t.newOption,o=t.keyInfo;if((0,n.Gv)(i)){if(o.name=null!=i.name?c(i.name):r?r.name:a+e,r)o.id=c(r.id);else if(null!=i.id)o.id=c(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),k},O9:function(t,e){return{seriesType:t,overallReset:e}},R3:function(t,e,r){var i=(0,n.nt)(),o=0;(0,n.__)(t,function(n){var a=e(n),s=i.get(a)||0;r&&r(n,s),s||r||(t[o++]=n),i.set(a,s+1)}),r||(t.length=o)},S_:function(t){return s+t},U2:function(t){_(t[0],t[1])&&t[0]>t[1]&&(t[0]=t[1])},US:g,UW:{useDefault:!1,enableAll:!0,enableNone:!0},X1:function(){return[1/0,-1/0]},XJ:function(t){return"auto"===t?i.A.domSupported?"html":"richText":t||"html"},Xe:_,Zk:function(t,e,r){var n=t.getData().count();return{progressiveRender:r.progressiveEnabled&&e.incrementalPrepareRender&&n>=r.threshold,large:t.get("large")&&n>=t.get("largeThreshold"),modDataCount:"mod"===t.get("progressiveChunkMode")?t.getData().count():null}},_e:function(t,e,r){var n=f(e,r),i=n.mainTypeSpecified,o=n.queryOptionMap,a=n.others,s=r?r.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each(function(e,n){var i=m(t,n,e,{useDefault:s===n,enableAll:!r||null==r.enableAll||r.enableAll,enableNone:!r||null==r.enableNone||r.enableNone});a[n+"Models"]=i.models,a[n+"Model"]=i.models[0]}),a},cd:function(t){return t+""},dr:function(t,e,r){var n={};n[e+"Id"]=t[e+"Id"],n[e+"Index"]=t[e+"Index"],n[e+"Name"]=t[e+"Name"];var i={mainType:e,query:n};return r&&(i.subType=r),i},fA:v,i2:function(t,e){return(0,n.bZ)(e,!0)?t.seriesIndex+2:0},i_:function(t,e){v(e)&&e>t[1]&&(t[1]=e)},le:function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,n.cy)(e.dataIndex)?(0,n.Tj)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,n.cy)(e.name)?(0,n.Tj)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0},o1:function(t){var e=t[1]-t[0];return isFinite(e)&&e>=0},oh:p,qB:l,qQ:function(t){return t.value+""},uQ:function(t){return{overallReset:t}},vS:h,vj:function(t){return!(0,n.Gv)(t)||(0,n.cy)(t)||t instanceof Date?t:t.value},vx:function(t,e){v(e)&&(e<t[0]&&(t[0]=e),e>t[1]&&(t[1]=e))},zu:function(t){return(0,n.Gv)(t)&&!(t instanceof Array)}})},MB(t,e,r){"use strict";var n=r("iY"),i=Math.min,o=Math.max,a=Math.abs,s=Math.round,l=Math.floor,u=Math.ceil,c=Math.pow,h=Math.log,p=Math.LN10,d=Math.PI,f=Math.random;function g(t,e,r){if(n.Kg(t))return t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e+(r||0):parseFloat(t);return null==t?0/0:+t}function m(t,e,r){return isNaN(e)?r?""+t:+t:(e=i(o(0,e),20),t=(+t).toFixed(e),r?t:+t)}function y(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e,r,n,i,a,l=1,u=0;u<15;u++,l*=10)if(s(t*l)/l===t)return u}return n=(r=(e=t.toString().toLowerCase()).indexOf("e"))>0?+e.slice(r+1):0,i=r>0?r:e.length,o(0,((a=e.indexOf("."))<0?0:i-1-a)-n)}var v=c(2,53)-1,_=/^(?:(\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 x(t){if(0===t)return 0;var e=l(h(t)/p);return t/c(10,e)>=10&&e++,e}function b(t){var e=parseFloat(t);return e==t&&(0!==e||!n.Kg(t)||0>=t.indexOf("x"))?e:0/0}r.d(e,{},{Cb:function(t,e,r,n){var i=e[0],o=e[1],a=r[0],s=r[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(n){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},Cm:function(t,e){var r=x(t),n=c(10,r),i=t/n;return m(t=(2===e?1: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)*n,-r)},Dx:2,EO:function(t,e,r){var n=a(t[1]-t[0]);if(!isFinite(n)||0===n)return 0/0;var i=o(0,u(-(h(2*a(r||1)*a(n))/p)+h(a(e))/p));return isFinite(i)||(i=0/0),i},IH:function(){return s(9*f())},Is:v,JB:o,LI:m,LQ:g,NX:x,NY:a,Rl:14,Sm:b,Tr:function(t,e){var r=o(y(t),y(e)),n=t+e;return r>20?n:m(n,r)},XV:y,Y6:function(t){return t.sort(function(t,e){return t-e}),t},YC:function(t){return null!=t&&isFinite(t)},Zr:l,_7:function(t){var e=2*d;return(t%e+e)%e},_U:function(t){if(t instanceof Date)return t;if(n.Kg(t)){var e=_.exec(t);if(!e)return new Date(0/0);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 r=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(r-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,r,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(0/0):new Date(s(t))},au:function(t){return c(10,x(t))},dh:function(t){return t>-1e-4&&t<1e-4},ih:u,jn:s,kM:function(t,e){var r=n.TS(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===r)return[];for(var i=c(10,e),o=n.Tj(t,function(t){return(isNaN(t)?0:t)/r*i*100}),a=100*i,s=n.Tj(o,function(t){return l(t)}),u=n.TS(s,function(t,e){return t+e},0),h=n.Tj(o,function(t,e){return t-s[e]});u<a;){for(var p=-1/0,d=null,f=0,g=h.length;f<g;++f)h[f]>p&&(p=h[f],d=f);++s[d],h[d]=0,++u}return n.Tj(s,function(t){return t/i})},kf:function(t){return!isNaN(b(t))},lQ:function(t,e){return null==t?e:null==e?t:t*e/function t(e,r){return 0===r?e:t(r,e%r)}(t,e)},lo:function(t,e,r){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return g(t,e,r)},rp:i,sL:function(t){t.sort(function(t,e){return!function t(e,r,n){return e.interval[n]<r.interval[n]||e.interval[n]===r.interval[n]&&(e.close[n]-r.close[n]==(n?-1:1)||!n&&t(e,r,1))}(t,e,0)?1:-1});for(var e=-1/0,r=1,n=0;n<t.length;){for(var i=t[n].interval,o=t[n].close,a=0;a<2;a++)i[a]<=e&&(i[a]=e,o[a]=a?1:1-r),e=i[a],r=o[a];i[0]===i[1]&&o[0]*o[1]!=1?t.splice(n,1):n++}return t},tV:h,z4:c})},LP(t,e,r){"use strict";var n=r("iY"),i=r("FL"),o=r("x4z"),a=r("xN"),s=r("BC"),l=r("q0"),u=1,c={},h=(0,a.$r)(),p=(0,a.$r)(),d="highlight",f="downplay",g="select",m="unselect",y="toggleSelect";function v(t){return null!=t&&"none"!==t}function _(t,e,r){t.onHoverStateChange&&(t.hoverState||0)!==r&&t.onHoverStateChange(e),t.hoverState=r}function x(t){_(t,"emphasis",2)}function b(t){2===t.hoverState&&_(t,"normal",0)}function A(t){_(t,"blur",1)}function w(t){1===t.hoverState&&_(t,"normal",0)}function S(t){t.selected=!0}function k(t){t.selected=!1}function T(t,e,r){e(t,r),t.isGroup&&t.traverse(function(t){e(t,r)})}function C(t,e){var r,i,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,r){var i=e&&(0,n.qh)(e,"select")>=0,a=!1;if(t instanceof s.Ay){var l=h(t),u=i&&l.selectFill||l.normalFill,c=i&&l.selectStroke||l.normalStroke;if(v(u)||v(c)){var p=(r=r||{}).style||{};"inherit"===p.fill?(a=!0,r=(0,n.X$)({},r),(p=(0,n.X$)({},p)).fill=u):!v(p.fill)&&v(u)?(a=!0,r=(0,n.X$)({},r),(p=(0,n.X$)({},p)).fill=(0,o.P)(u)):!v(p.stroke)&&v(c)&&(a||(r=(0,n.X$)({},r),p=(0,n.X$)({},p)),p.stroke=(0,o.P)(c)),r.style=p}}if(r&&null==r.z2){a||(r=(0,n.X$)({},r));var d=t.z2EmphasisLift;r.z2=t.z2+(null!=d?d:10)}return r}(this,e,c);else if("blur"===t)return r=c,i=(0,n.qh)(this.currentStates,t)>=0,a=this.style.opacity,l=i?null:function(t,e,r,n){for(var i=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=i[s];o[s]=null==l?n&&n[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(r)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(r=r||{}).style||{}).opacity&&(r=(0,n.X$)({},r),u=(0,n.X$)({opacity:i?a:.1*l.opacity},u),r.style=u),r;else if("select"===t){var p=c;if(p&&null==p.z2){p=(0,n.X$)({},p);var d=this.z2SelectLift;p.z2=this.z2+(null!=d?d:9)}return p}}return c}function M(t){t.stateProxy=C;var e=t.getTextContent(),r=t.getTextGuideLine();e&&(e.stateProxy=C),r&&(r.stateProxy=C)}function I(t,e){R(t,e)||t.__highByOuter||T(t,x)}function D(t,e){R(t,e)||t.__highByOuter||T(t,b)}function P(t){T(t,w)}function O(t){T(t,S)}function L(t){T(t,k)}function R(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function E(t){var e=t.getModel(),r=[],i=[];e.eachComponent(function(e,n){var o=p(n),a=(0,l.k)(t,n),s="series"===e;s||i.push(a),o.isBlured&&(a.group.traverse(function(t){w(t)}),s&&r.push(n)),o.isBlured=!1}),(0,n.__)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(r,!1,e)})}function B(t,e,r,i){var o=i.getModel();function a(t,e){for(var r=0;r<e.length;r++){var n=t.getItemGraphicEl(e[r]);n&&P(n)}}if((r=r||"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 h=c&&l?c===l:o;if(!("series"===r&&!o||"coordinateSystem"===r&&!h||"series"===e&&o)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||A(t)}),(0,n.Xj)(e))a(t.getData(),e);else if((0,n.Gv)(e))for(var d=(0,n.HP)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),p(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var r=i.getViewOfComponentModel(e);r&&r.toggleBlurSeries&&r.toggleBlurSeries(u,!0,o)}})}}function N(t,e,r){if(null!=t&&null!=e){var n=r.getModel().getComponent(t,e);if(n){p(n).isBlured=!0;var i=r.getViewOfComponentModel(n);i&&i.focusBlurEnabled&&i.group.traverse(function(t){A(t)})}}}function z(t,e,r,n){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==r)return a;var s=n.getModel().getComponent(t,e);if(!s)return a;var l=n.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(r),c=0;c<u.length;c++)if("self"===(0,i.z)(u[c]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function F(t,e,r){var n,o,a,s;j(t,!0),T(t,M),n=t,o=e,a=r,s=(0,i.z)(n),null!=o?(s.focus=o,s.blurScope=a):s.focus&&(s.focus=null)}var $=["emphasis","blur","select"],H={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function j(t,e){var r=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!r||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!r)}function W(t){var e=t.type;return e===g||e===m||e===y}r.d(e,{},{BV:["emphasis","blur","select"],DW:M,Du:N,HY:function(t,e){t.__highByOuter|=1<<(e||0),T(t,x)},Iz:function(t,e,r){E(r);var o=(0,i.z)(t),a=z(o.componentMainType,o.componentIndex,o.componentHighDownName,r).dispatchers;a?(0,n.__)(a,function(t){return D(t,e)}):D(t,e)},JC:P,JI:O,Lm:function(t,e,r,n){n?j(t,!1):F(t,e,r)},Lv:g,Lx:W,Mx:function(t,e,r,n){r=r||"itemStyle";for(var i=0;i<$.length;i++){var o=$[i],a=e.getModel([o,r]);t.ensureState(o).style=n?n(a):a[H[r]]()}},PW:f,Pk:function(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}},Q6:y,QX:function(t){T(t,A)},SD:function(t,e){(t.__highByOuter&=~(1<<(e||0)))||T(t,b)},T$:function(t){var e=t.type;return e===d||e===f},Tl:z,U2:m,_m:function(t,e,r){var o=(0,i.z)(t),a=z(o.componentMainType,o.componentIndex,o.componentHighDownName,r),s=a.dispatchers,l=a.focusSelf;s?(l&&N(o.componentMainType,o.componentIndex,r),(0,n.__)(s,function(t){return I(t,e)})):(B(o.seriesIndex,o.focus,o.blurScope,r),"self"===o.focus&&N(o.componentMainType,o.componentIndex,r),I(t,e))},_n:function(t){var e=c[t];return null==e&&u<=32&&(e=c[t]=u++),e},e3:2,fz:function(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var r=t.states.select||{};e.selectFill=r.style&&r.style.fill||null,e.selectStroke=r.style&&r.style.stroke||null},gM:"selectchanged",gd:L,h5:d,iJ:F,ix:j,jA:function(t){var e=t.getAllData();(0,n.__)(e,function(e){var r=e.data,n=e.type;r.eachItemGraphicEl(function(e,r){t.isSelected(r,n)?O(e):L(e)})})},lV:function(t,e,r){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.le)(s,e);l=((0,n.cy)(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 p=(0,i.z)(u);B(o,p.focus,p.blurScope,r)}else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&B(o,d,f,r)}}},mc:function(t){var e=[];return t.eachSeries(function(t){var r=t.getAllData();(0,n.__)(r,function(r){r.data;var n=r.type,i=t.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=n&&(o.dataType=n),e.push(o)}})}),e},qR:E,t6:function(t,e,r){if(W(e)){var i=e.dataType,o=t.getData(i),s=(0,a.le)(o,e);(0,n.cy)(s)||(s=[s]),t[e.type===y?"toggleSelect":e.type===g?"select":"unselect"](s,i)}},u6:function(t){return!!(t&&t.__highDownDispatcher)},wV:["normal","emphasis","blur","select"],zX:1})},up(t,e,r){"use strict";var n=r("iY"),i=r("BC"),o=r("xz"),a=r("Vb"),s=r("vH"),l=r("w2"),u=r("Y8"),c=r("KO"),h=r("MB"),p=r("g8"),d=i.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var r=e.cx,n=e.cy,i=e.width/2,o=e.height/2;t.moveTo(r,n-o),t.lineTo(r+i,n+o),t.lineTo(r-i,n+o),t.closePath()}}),f=i.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var r=e.cx,n=e.cy,i=e.width/2,o=e.height/2;t.moveTo(r,n-o),t.lineTo(r+i,n),t.lineTo(r,n+o),t.lineTo(r-i,n),t.closePath()}}),g=i.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var r=e.x,n=e.y,i=e.width/5*3,o=Math.max(i,e.height),a=i/2,s=a*a/(o-a),l=n-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(r-c,l+s),t.arc(r,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(r+c-h*d,l+s+p*d,r,n-f,r,n),t.bezierCurveTo(r,n-f,r-c+h*d,l+s+p*d,r-c,l+s),t.closePath()}}),m=i.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var r=e.height,n=e.width,i=e.x,o=e.y,a=n/3*2;t.moveTo(i,o),t.lineTo(i+a,o+r),t.lineTo(i,o+r/4*3),t.lineTo(i-a,o+r),t.lineTo(i,o),t.closePath()}}),y={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:f,pin:g,arrow:m,triangle:d},v={line:function(t,e,r,n,i){i.x1=t,i.y1=e+n/2,i.x2=t+r,i.y2=e+n/2},rect:function(t,e,r,n,i){i.x=t,i.y=e,i.width=r,i.height=n},roundRect:function(t,e,r,n,i){i.x=t,i.y=e,i.width=r,i.height=n,i.r=Math.min(r,n)/4},square:function(t,e,r,n,i){var o=Math.min(r,n);i.x=t,i.y=e,i.width=o,i.height=o},circle:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.r=Math.min(r,n)/2},diamond:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.width=r,i.height=n},pin:function(t,e,r,n,i){i.x=t+r/2,i.y=e+n/2,i.width=r,i.height=n},arrow:function(t,e,r,n,i){i.x=t+r/2,i.y=e+n/2,i.width=r,i.height=n},triangle:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.width=r,i.height=n}},_={};(0,n.__)(y,function(t,e){_[e]=new t});var x=i.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,r){var n=(0,c.X4)(t,e,r),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(n.y=r.y+.4*r.height),n},buildPath:function(t,e,r){var n=e.symbolType;if("none"!==n){var i=_[n];i||(i=_[n="rect"]),v[n](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,r)}}});function b(t,e){if("image"!==this.type){var r=this.style;this.__isEmptyBrush?(r.stroke=t,r.fill=e||p.A.color.neutral00,r.lineWidth=2):"line"===this.shape.symbolType?r.stroke=t:r.fill=t,this.markRedraw()}}r.d(e,{},{$V:_,hV:function(t,e){if(null!=t)return(0,n.cy)(t)||(t=[t,t]),[(0,h.lo)(t[0],e[0])||0,(0,h.lo)((0,n.bZ)(t[1],t[0]),e[1])||0]},v5:function(t,e,r,n,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.Ay(e,r,n,i),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Ay(e,r,n,i),a?"center":"cover"):new x({shape:{symbolType:t,x:e,y:r,width:n,height:i}})).__isEmptyBrush=c,s.setColor=b,o&&s.setColor(o),s},xU:function(t){return(0,n.cy)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}})},dd(t,e,r){"use strict";var n="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(t,e,r){var n,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 p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];n=new Date().getTime(),o=this,a=t;var d=s||e,f=s||r;s=null,i=n-(f?l:u)-d,clearTimeout(c),f?c=setTimeout(h,d):i>=0?h():c=setTimeout(h,-i),l=n};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(t){s=t},p}r.d(e,{},{IU:function(t,e){var r=t[e];r&&r[n]&&(r.clear&&r.clear(),t[e]=r[n])},N:function(t,e,r,s){var l=t[e];if(l){var u=l[n]||l,c=l[o];if(l[i]!==r||c!==s){if(null==r||!s)return t[e]=u;(l=t[e]=a(u,r,"debounce"===s))[n]=u,l[o]=s,l[i]=r}return l}},nF:a})},MUM(t,e,r){"use strict";var n=r("iY"),i=r("MB"),o=r("o03"),a=r("Sk"),s=r("xD"),l={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},u={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},c="{yyyy}-{MM}-{dd}",h={year:"{yyyy}",month:"{yyyy}-{MM}",day:c,hour:c+" "+u.hour,minute:c+" "+u.minute,second:c+" "+u.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},p=["year","month","day","hour","minute","second","millisecond"];function d(t,e){return t+="","0000".substr(0,e-t.length)+t}function f(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 g(t,e,r,n){var s=i._U(t),l=s[y(r)](),u=s[v(r)]()+1,c=Math.floor((u-1)/3)+1,h=s[_(r)](),p=s["get"+(r?"UTC":"")+"Day"](),f=s[x(r)](),g=(f-1)%12+1,m=s[b(r)](),S=s[A(r)](),k=s[w(r)](),T=f>=12?"pm":"am",C=T.toUpperCase(),M=(n instanceof a.A?n:(0,o.A4)(n||o.Lv)||(0,o.pr)()).getModel("time"),I=M.get("month"),D=M.get("monthAbbr"),P=M.get("dayOfWeek"),O=M.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,T+"").replace(/{A}/g,C+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,d(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,I[u-1]).replace(/{MMM}/g,D[u-1]).replace(/{MM}/g,d(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,d(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,P[p]).replace(/{ee}/g,O[p]).replace(/{e}/g,p+"").replace(/{HH}/g,d(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,d(g+"",2)).replace(/{h}/g,g+"").replace(/{mm}/g,d(m,2)).replace(/{m}/g,m+"").replace(/{ss}/g,d(S,2)).replace(/{s}/g,S+"").replace(/{SSS}/g,d(k,3)).replace(/{S}/g,k+"")}function m(t,e){var r=i._U(t),n=r[v(e)]()+1,o=r[_(e)](),a=r[x(e)](),s=r[b(e)](),l=r[A(e)](),u=0===r[w(e)](),c=u&&0===l,h=c&&0===s,p=h&&0===a,d=p&&1===o;if(d&&1===n)return"year";if(d)return"month";if(p)return"day";if(h)return"hour";if(c)return"minute";else if(u)return"second";else return"millisecond"}function y(t){return t?"getUTCFullYear":"getFullYear"}function v(t){return t?"getUTCMonth":"getMonth"}function _(t){return t?"getUTCDate":"getDate"}function x(t){return t?"getUTCHours":"getHours"}function b(t){return t?"getUTCMinutes":"getMinutes"}function A(t){return t?"getUTCSeconds":"getSeconds"}function w(t){return t?"getUTCMilliseconds":"getMilliseconds"}function S(t){return t?"setUTCMonth":"setMonth"}function k(t){return t?"setUTCDate":"setDate"}function T(t){return t?"setUTCHours":"setHours"}function C(t){return t?"setUTCMinutes":"setMinutes"}function M(t){return t?"setUTCSeconds":"setSeconds"}function I(t){return t?"setUTCMilliseconds":"setMilliseconds"}r.d(e,{},{$9:function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}},$H:31536e6,CZ:864e5,F7:["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"],FP:I,GP:g,KF:C,Lm:h,MA:36e5,OY:1e3,WD:m,Wf:A,X_:function(t,e,r,i,o){var a=null;if(n.Kg(r))a=r;else if(n.Tn(r)){var l={time:t.time,level:t.time?t.time.level:0},u=(0,s.mn)();u&&u.makeAxisLabelFormatterParamBreak(l,t.break),a=r(t.value,e,l)}else{var c=t.time;if(c){var h=r[c.lowerTimeUnit][c.upperTimeUnit];a=h[Math.min(c.level,h.length-1)]||""}else{var p=m(t.value,o);a=r[p][p][0]}}return g(new Date(t.value),a,o,i)},Yd:T,Zz:w,_O:function(t){var e,r,i;return n.Kg(t)||n.Tn(t)?t:(e=(e=t)||{},r={},i=!0,n.__(p,function(t){i&&(i=null==e[t])}),n.__(p,function(t,o){var a=e[t];r[t]={};for(var s=null,c=o;c>=0;c--){var h=p[c],d=n.Gv(a)&&!n.cy(a)?a[h]:a,f=void 0;n.cy(d)?s=(f=d.slice())[0]||"":n.Kg(d)?f=[s=d]:(null==s?s=u[t]:l[h].test(s)||(s=r[h][h][0]+" "+s),f=[s],i&&(f[1]="{primary|"+s+"}")),r[t][h]=f}}),r)},_l:function(t,e,r){switch(e){case"year":t[S(r)](0);case"month":t[k(r)](1);case"day":t[T(r)](0);case"hour":t[C(r)](0);case"minute":t[M(r)](0);case"second":t[I(r)](0)}return t},bP:_,ce:function(t){return t===f(t)},hY:y,iC:x,iW:6e4,jJ:v,tM:function(t){return t?"setUTCFullYear":"setFullYear"},ti:k,vy:p,ww:M,xu:S,yB:b,ym:f})},No(t,e,r){"use strict";var n=(0,r("iY").nt)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]);r.d(e,{},{Km:"arrayRows",Pe:n,Wk:"objectRows",XO:"typedArray",i_:"column",mK:"original",nk:"undefined",oC:"row",t1:"keyedColumns",t7:"series",vm:"unknown"})},YG(t,e,r){"use strict";var n=r("No"),i=r("MB"),o=typeof Float32Array!==n.nk?Float32Array:void 0,a=typeof Float64Array!==n.nk?Float64Array:void 0;function s(t,e){var r=t.arr,n=t.ctor;if(e>i.Is&&(e=i.Is),!r||t.typed&&r.length<e){var o=void 0;if(n)try{o=new n(e),t.typed=!0,r&&o.set(r)}catch(t){}if(!o&&(o=[],t.typed=!1,r))for(var a=0,s=r.length;a<s;a++)o[a]=r[a];t.arr=o}return t}r.d(e,{},{Jk:function(t){return s({ctor:o},t).arr},MO:a,Zi:s})},WN9(t,e,r){"use strict";var n=r("iY"),i=r("jZ"),o=r("Af"),a=r("MD"),s=r("xN"),l=r("LP"),u=r("Hq"),c=r("yM"),h=r("w2"),p=s.$r(),d=(0,c.A)(),f=function(){function t(){this.group=new i.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,u.U)({plan:y,reset:v}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,r,n){},t.prototype.highlight=function(t,e,r,n){var i=t.getData(n&&n.dataType);i&&m(i,n,"emphasis")},t.prototype.downplay=function(t,e,r,n){var i=t.getData(n&&n.dataType);i&&m(i,n,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,r,n){this.render(t,e,r,n)},t.prototype.updateVisual=function(t,e,r,n){this.render(t,e,r,n)},t.prototype.eachRendered=function(t){(0,h.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,r){t&&(0,l.u6)(t)&&("emphasis"===e?l.HY:l.SD)(t,r)}function m(t,e,r){var i=s.le(t,e),o=e&&null!=e.highlightKey?(0,l._n)(e.highlightKey):null;null!=i?(0,n.__)(s.qB(i),function(e){g(t.getItemGraphicEl(e),r,o)}):t.eachItemGraphicEl(function(t){g(t,r,o)})}function y(t){return d(t.model)}function v(t){var e=t.model,r=t.ecModel,n=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&p(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,r,n,i),_[l]}a.gq(f,["dispose"]),a.tQ(f);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};e.A=f},BP(t,e,r){"use strict";var n=r("jZ"),i=r("Af"),o=r("MD"),a=function(){function t(){this.group=new n.A,this.uid=i.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,r,n){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,r,n){},t.prototype.updateLayout=function(t,e,r,n){},t.prototype.updateVisual=function(t,e,r,n){},t.prototype.toggleBlurSeries=function(t,e,r){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a),e.A=a},N1e(t,e,r){"use strict";r.d(e,{},{Ez:function(t,e,r){switch(r){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,r)}},oZ:function(t,e,r,n){switch(r){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=n,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,r,n)}},rI: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)}}})},g8(t,e,r){"use strict";var n=r("iY"),i=r("x4z"),o={color:{},darkColor:{},size:{}},a=o.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};for(var s in(0,n.X$)(a,{primary:a.neutral80,secondary:a.neutral70,tertiary:a.neutral60,quaternary:a.neutral50,disabled:a.neutral20,border:a.neutral30,borderTint:a.neutral20,borderShade:a.neutral40,background:a.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:a.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:a.neutral70,axisLineTint:a.neutral40,axisTick:a.neutral70,axisTickMinor:a.neutral60,axisLabel:a.neutral70,axisSplitLine:a.neutral15,axisMinorSplitLine:a.neutral05}),a)if(a.hasOwnProperty(s)){var l=a[s];"theme"===s?o.darkColor.theme=a.theme.slice():"highlight"===s?o.darkColor.highlight="rgba(255,231,130,0.4)":0===s.indexOf("accent")?o.darkColor[s]=(0,i.Yu)(l,null,function(t){return .5*t},function(t){return Math.min(1,1.3-t)}):o.darkColor[s]=(0,i.Yu)(l,null,function(t){return .9*t},function(t){return 1-Math.pow(t,1.5)})}o.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50},e.A=o},Qc(t,e,r){"use strict";var n=r("P7"),i=r("FUz"),o=r("Y8"),a=r("jp"),s=r("KO"),l=r("iY"),u=r("Yo"),c=r("x4z"),h=r("ke"),p=r("AT"),d="__zr_normal__",f=n.Wx.concat(["ignore"]),g=(0,l.TS)(n.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),m={},y=new o.Ay(0,0,0,0),v=[],_=function(){function t(t){this.id=(0,l.Os)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,r){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[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 r=this.textConfig,n=r.local,i=e.innerTransformable,a=void 0,l=void 0,u=!1;i.parent=n?this:null;var c=!1;i.copyTransform(e);var d=null!=r.position,f=r.autoOverflowArea,g=void 0;if((f||d)&&(g=y,r.layoutRect?g.copy(r.layoutRect):g.copy(this.getBoundingRect()),n||g.applyTransform(this.transform)),d){this.calculateTextPosition?this.calculateTextPosition(m,r,g):(0,s.X4)(m,r,g),i.x=m.x,i.y=m.y,a=m.align,l=m.verticalAlign;var _=r.origin;if(_&&null!=r.rotation){var x=void 0,b=void 0;"center"===_?(x=.5*g.width,b=.5*g.height):(x=(0,s.lo)(_[0],g.width),b=(0,s.lo)(_[1],g.height)),c=!0,i.originX=-i.x+x+(n?0:g.x),i.originY=-i.y+b+(n?0:g.y)}}null!=r.rotation&&(i.rotation=r.rotation);var A=r.offset;A&&(i.x+=A[0],i.y+=A[1],c||(i.originX=-A[0],i.originY=-A[1]));var w=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(f){var S=w.overflowRect=w.overflowRect||new o.Ay(0,0,0,0);i.getLocalTransform(v),(0,p.B8)(v,v),o.Ay.copy(S,g),S.applyTransform(v)}else w.overflowRect=null;var k=null==r.inside?"string"==typeof r.position&&r.position.indexOf("inside")>=0:r.inside,T=void 0,C=void 0,M=void 0;k&&this.canBeInsideText()?(T=r.insideFill,C=r.insideStroke,(null==T||"auto"===T)&&(T=this.getInsideTextFill()),(null==C||"auto"===C)&&(C=this.getInsideTextStroke(T),M=!0)):(T=r.outsideFill,C=r.outsideStroke,(null==T||"auto"===T)&&(T=this.getOutsideFill()),(null==C||"auto"===C)&&(C=this.getOutsideStroke(T),M=!0)),((T=T||"#000")!==w.fill||C!==w.stroke||M!==w.autoStroke||a!==w.align||l!==w.verticalAlign)&&(u=!0,w.fill=T,w.stroke=C,w.autoStroke=M,w.align=a,w.verticalAlign=l,e.setDefaultTextStyle(w)),e.__dirty|=h.M,u&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.el:u._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),r="string"==typeof e&&(0,c.qg)(e);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*n+255*!i*(1-n);return r[3]=1,(0,c.As)(r,"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.X$)(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.Gv)(t))for(var r=(0,l.HP)(t),n=0;n<r.length;n++){var i=r[n];this.attrKV(i,t[i])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],i=n.__fromStateTransition;if(!n.getLoop()&&(!i||i===d)){var o=n.targetName,a=o?e[o]:e;n.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,f)},t.prototype._savePrimaryToNormal=function(t,e,r){for(var n=0;n<r.length;n++){var i=r[n];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(d,!1,t)},t.prototype.useState=function(t,e,r,n){var i,o=t===d;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.qh)(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.vV)("State "+t+" not exists.");o||this.saveCurrentToNormalState(i);var u=this._textContent,c=A(this,u,i,n);c&&!this.__inHover&&(this.__inHover=c),this._applyStateObj(t,i,this._normalState,e,S(this,r,s),s);var p=this._textGuide;return u&&u.useState(t,e,r,!!c),p&&p.useState(t,e,r,!!c),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M),i}}},t.prototype.useStates=function(t,e,r){if(t.length){var n=[],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&&n.push(u)}var c=n[o-1],p=this._textContent,d=A(this,p,c,r);d&&!this.__inHover&&(this.__inHover=d);var f=this._mergeStates(n),g=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,S(this,e,g),g);var m=this._textGuide;p&&p.useStates(t,e,!!d),m&&m.useStates(t,e,!!d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var e=t.__hostTarget;t=e?t.ignoreHostSilent?null:e:t.parent}return!1},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.qh)(this.currentStates,t);if(e>=0){var r=this.currentStates.slice();r.splice(e,1),this.useStates(r)}},t.prototype.replaceState=function(t,e,r){var n=this.currentStates.slice(),i=(0,l.qh)(n,t),o=(0,l.qh)(n,e)>=0;i>=0?o?n.splice(i,1):n[i]=e:r&&!o&&n.push(e),this.useStates(n)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,r={},n=0;n<t.length;n++){var i=t[n];(0,l.X$)(r,i),i.textConfig&&(e=e||{},(0,l.X$)(e,i.textConfig))}return e&&(r.textConfig=e),r},t.prototype._applyStateObj=function(t,e,r,n,i,o){if(1!==this.__inHover){var a=!(e&&n);e&&e.textConfig?(this.textConfig=(0,l.X$)({},n?this.textConfig:r.textConfig),(0,l.X$)(this.textConfig,e.textConfig)):a&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},u=!1,c=0;c<f.length;c++){var h=f[c],p=i&&g[h];e&&null!=e[h]?p?(u=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=r[h]&&(p?(u=!0,s[h]=r[h]):this[h]=r[h])}if(!i)for(var c=0;c<this.animators.length;c++){var d=this.animators[c],m=d.targetName;d.getLoop()||d.__changeFinalValue(m?(e||r)[m]:e||r)}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 n.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.X$)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=h.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.addAnimator(e[r]);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 r=0;r<e.length;r++)t.animation.removeAnimator(e[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,r){var n=t?this[t]:this,o=new i.A(n,e,r);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var r=this.__zr,n=this;t.during(function(){n.updateDuringAnimation(e)}).done(function(){var e=n.animators,r=(0,l.qh)(e,t);r>=0&&e.splice(r,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var r=this.animators,n=r.length,i=[],o=0;o<n;o++){var a=r[o];t&&t!==a.scope?i.push(a):a.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,r){x(this,t,e,r)},t.prototype.animateFrom=function(t,e,r){x(this,t,e,r,!0)},t.prototype._transitionState=function(t,e,r,n){for(var i=x(this,e,r,n),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 r(t,r,n,i){Object.defineProperty(e,t,{get:function(){return this[r]||o(this,this[r]=[]),this[r]},set:function(t){this[n]=t[0],this[i]=t[1],this[r]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[n]},set:function(e){t[n]=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.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=!1,e.__inHover=0,e.__dirty=h.M,Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function x(t,e,r,n,o){var a=[];!function t(e,r,n,o,a,s,u,c){for(var h=(0,l.HP)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,m=!(0,l.Gv)(s),y=e.animators,v=[],_=0;_<h.length;_++){var x=h[_],A=o[x];if(null!=A&&null!=n[x]&&(m||s[x]))if(!(0,l.Gv)(A)||(0,l.Xj)(A)||(0,l.C7)(A))v.push(x);else{if(r){c||(n[x]=A,e.updateDuringAnimation(r));continue}t(e,x,n[x],A,a,s&&s[x],u,c)}else c||(n[x]=A,e.updateDuringAnimation(r),v.push(x))}var w=v.length;if(!f&&w)for(var S=0;S<y.length;S++){var k=y[S];if(k.targetName===r&&k.stopTracks(v)){var T=(0,l.qh)(y,k);y.splice(T,1)}}if(a.force||(w=(v=(0,l.pb)(v,function(t){var e,r;return!((e=o[t])===(r=n[t])||(0,l.Xj)(e)&&(0,l.Xj)(r)&&function(t,e){var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}(e,r))})).length),w>0||a.force&&!u.length){var C=void 0,M=void 0,I=void 0;if(c){M={},g&&(C={});for(var S=0;S<w;S++){var x=v[S];M[x]=n[x],g?C[x]=o[x]:n[x]=o[x]}}else if(g){I={};for(var S=0;S<w;S++){var x=v[S];I[x]=(0,i.F)(n[x]),function(t,e,r){if((0,l.Xj)(e[r]))if((0,l.Xj)(t[r])||(t[r]=[]),(0,l.iu)(e[r])){var n=e[r].length;t[r].length!==n&&(t[r]=new e[r].constructor(n),b(t[r],e[r],n))}else{var i=e[r],o=t[r],a=i.length;if((0,l.Xj)(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[r]=e[r]}(n,o,x)}}var k=new i.A(n,!1,!1,f?(0,l.pb)(y,function(t){return t.targetName===r}):null);k.targetName=r,a.scope&&(k.scope=a.scope),g&&C&&k.whenWithKeys(0,C,v),I&&k.whenWithKeys(0,I,v),k.whenWithKeys(null==p?500:p,c?M:o,v).delay(d||0),e.addAnimator(k,r),u.push(k)}}(t,"",t,e,r=r||{},n,a,o);var s=a.length,u=!1,c=r.done,h=r.aborted,p=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&&r.during&&a[0].during(function(t,e){r.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),r.force&&g.duration(r.duration),g.start(r.easing)}return a}function b(t,e,r){for(var n=0;n<r;n++)t[n]=e[n]}function A(t,e,r,n){return!(r&&r.hoverLayer||n)||w(t)||e&&w(e)?0:1}function w(t){return"text"===t.type||"tspan"===t.type}function S(t,e,r){return!e&&!t.__inHover&&r&&r.duration>0}(0,l.co)(_,a.A),(0,l.co)(_,n.Ay),e.Ay=_,r.d(e,{},{yx:1})},FUz(t,e,r){"use strict";r.d(e,{F:()=>f,A:()=>x});var n={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,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),(t*=2)<1)?-.5*(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):r*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-n.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*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},i=r("iY"),o=r("mq"),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var r=e[1].split(","),n=+(0,i.Bq)(r[0]),s=+(0,i.Bq)(r[1]),l=+(0,i.Bq)(r[2]),u=+(0,i.Bq)(r[3]);if(isNaN(n+s+l+u))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,o._E)(0,n,l,1,t,c)&&(0,o.Yb)(0,s,u,1,c[0])}}}var l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||i.lQ,this.ondestroy=t.ondestroy||i.lQ,this.onrestart=t.onrestart||i.lQ,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 r=this._life,n=t-this._startTime-this._pausedTime,i=n/r;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-n%r,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.Tn)(t)?t:n[t]||s(t)},t}(),u=r("x4z");"u">typeof Buffer&&Buffer.from;var c=Array.prototype.slice;function h(t,e,r,n){for(var i,o=e.length,a=0;a<o;a++)t[a]=(i=e[a],(r[a]-i)*n+i);return t}function p(t,e,r,n){for(var i=e.length,o=0;o<i;o++)t[o]=e[o]+r[o]*n;return t}function d(t,e,r,n){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]+r[a][s]*n}return t}function f(t){if((0,i.Xj)(t)){var e=t.length;if((0,i.Xj)(t[0])){for(var r=[],n=0;n<e;n++)r.push(c.call(t[n]));return r}return c.call(t)}return t}function g(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 y(t){return 1===t||2===t}var v=[0,0,0,0],_=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,r){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,c=6,h=e;if((0,i.Xj)(e)){var p=(0,i.Xj)(e&&e[0])?2:1;c=p,(1!==p||(0,i.Et)(e[0]))&&(2!==p||(0,i.Et)(e[0][0]))||(l=!0)}else if((0,i.Et)(e)&&!(0,i.Yp)(e))c=0;else if((0,i.Kg)(e))if(isNaN(+e)){var d=u.qg(e);d&&(h=d,c=3)}else c=0;else if((0,i.C7)(e)){var f=(0,i.X$)({},h);(f.colorStops=(0,i.Tj)(e.colorStops,function(t){return{offset:t.offset,color:u.qg(t.color)}}),"linear"===e.type)?c=4:"radial"===e.type&&(c=5),h=f}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 r&&(g.easing=r,g.easingFunc=(0,i.Tn)(r)?r:n[r]||s(r)),o.push(g),g},t.prototype.prepare=function(t,e){var r=this.keyframes;this._needsSort&&r.sort(function(t,e){return t.time-e.time});for(var n=this.valType,i=r.length,o=r[i-1],a=this.discrete,s=y(n),l=m(n),u=0;u<i;u++){var h=r[u],f=h.value,g=o.value;h.percent=h.time/t,!a&&(s&&u!==i-1?function(t,e,r){if(t.push&&e.push){var n=t.length,i=e.length;if(n!==i)if(n>i)t.length=i;else for(var o=n;o<i;o++)t.push(1===r?e[o]:c.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===r)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])}}(f,g,n):l&&function(t,e){for(var r=t.length,n=e.length,i=r>n?e:t,o=Math.min(r,n),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(r,n);s++)i.push({offset:a.offset,color:a.color.slice()})}(f.colorStops,g.colorStops))}if(!a&&5!==n&&e&&this.needsAnimate()&&e.needsAnimate()&&n===e.valType&&!e._finished){this._additiveTrack=e;for(var v=r[0].value,u=0;u<i;u++)0===n?r[u].additiveValue=r[u].value-v:3===n?r[u].additiveValue=p([],r[u].value,v,-1):y(n)&&(r[u].additiveValue=1===n?p([],r[u].value,v,-1):d([],r[u].value,v,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r,n,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,p=this.propName,d=3===l,f=this._lastFr,_=Math.min;if(1===c)n=o=u[0];else{if(e<0)r=0;else if(e<this._lastFrP){for(r=_(f+1,c-1);r>=0&&!(u[r].percent<=e);r--);r=_(r,c-2)}else{for(r=f;r<c&&!(u[r].percent>e);r++);r=_(r-1,c-2)}o=u[r+1],n=u[r]}if(n&&o){this._lastFr=r,this._lastFrP=e;var x=o.percent-n.percent,b=0===x?1:_((e-n.percent)/x,1);o.easingFunc&&(b=o.easingFunc(b));var A=a?this._additiveValue:d?v:t[p];if((y(l)||d)&&!A&&(A=this._additiveValue=[]),this.discrete)t[p]=b<1?n.rawValue:o.rawValue;else if(y(l))1===l?h(A,n[s],o[s],b):function(t,e,r,n){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],(r[a][l]-s)*n+s)}}(A,n[s],o[s],b);else if(m(l)){var w,S,k,T,C,M=n[s],I=o[s],D=4===l;(t[p]={type:D?"linear":"radial",x:(w=M.x,(I.x-w)*b+w),y:(S=M.y,(I.y-S)*b+S),colorStops:(0,i.Tj)(M.colorStops,function(t,e){var r,n=I.colorStops[e];return{offset:(r=t.offset,(n.offset-r)*b+r),color:g(h([],t.color,n.color,b))}}),global:I.global},D)?(t[p].x2=(k=M.x2,(I.x2-k)*b+k),t[p].y2=(T=M.y2,(I.y2-T)*b+T)):t[p].r=(C=M.r,(I.r-C)*b+C)}else if(d)h(A,n[s],o[s],b),a||(t[p]=g(A));else{var P,O=(P=n[s],(o[s]-P)*b+P);a?this._additiveValue=O:t[p]=O}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,r=this.propName,n=this._additiveValue;0===e?t[r]=t[r]+n:3===e?(u.qg(t[r],v),p(v,v,n,1),t[r]=g(v)):1===e?p(t[r],t[r],n,1):2===e&&d(t[r],t[r],n,1)},t}(),x=function(){function t(t,e,r,n){(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n)?(0,i.vV)("Can' use additive animation on looped animation."):(this._additiveAnimators=n,this._allowDiscrete=r)}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,r){return this.whenWithKeys(t,e,(0,i.HP)(e),r)},t.prototype.whenWithKeys=function(t,e,r,n){for(var i=this._tracks,o=0;o<r.length;o++){var a=r[o],s=i[a];if(!s){s=i[a]=new _(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=g(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,f(l),n),this._trackKeys.push(a)}s.addKeyframe(t,f(e[a]),n)}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,r=0;r<e;r++)t[r].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 r=0;r<e.length;r++)e[r].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,r=0;r<e.length;r++)t[e[r]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,r=this._additiveAnimators;if(r)for(var n=0;n<r.length;n++){var i=r[n].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,r=[],n=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(n,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var h=u[c-1];h&&(e._target[a.propName]=h.rawValue),a.setFinished()}else r.push(a)}if(r.length||this._force){var p=new l({life:n,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var n=e._additiveAnimators;if(n){for(var i=!1,o=0;o<n.length;o++)if(n[o]._clip){i=!0;break}i||(e._additiveAnimators=null)}for(var o=0;o<r.length;o++)r[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=p,this.animation&&this.animation.addClip(p),t&&p.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.Tj)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var r=this._tracks,n=this._trackKeys,i=0;i<t.length;i++){var o=r[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<n.length;i++)if(!r[n[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,r){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[r?0:a.length-1];s&&(t[i]=f(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,i.HP)(t);for(var r=0;r<e.length;r++){var n=e[r],o=this._tracks[n];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[n]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},JV(t,e,r){"use strict";e.A=r("E3").A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},NY(t,e,r){"use strict";r.d(e,{V$:()=>M,v6:()=>I,Xi:()=>C,ZQ:()=>x});var n=r("el"),i=r("Sv"),o=r("T0"),a=r("BH"),s=r("BC"),l=r("s5"),u=r("Ne"),c=r("iY");function h(t){var e,r,n=t.style,i=n.lineDash&&n.lineWidth>0&&(e=n.lineDash,r=n.lineWidth,e&&"solid"!==e&&r>0?"dashed"===e?[4*r,2*r]:"dotted"===e?[r]:(0,c.Et)(e)?[e]:(0,c.cy)(e)?e:null:null),o=n.lineDashOffset;if(i){var a=n.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(i=(0,c.Tj)(i,function(t){return t/a}),o/=a)}return[i,o]}var p=r("ke"),d=r("mZ"),f=new i.A(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function m(t){return"string"==typeof t&&"none"!==t}function y(t){var e=t.fill;return null!=e&&"none"!==e}function v(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var r=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=r}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var r=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=r}else t.stroke()}function x(t,e,r){var n=(0,o.OD)(e.image,e.__image,r);if((0,o.xA)(n)){var i=t.createPattern(n,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.lI),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}var b=["shadowBlur","shadowOffsetX","shadowOffsetY"],A=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function w(t,e,r,i,o){var a=!1;if(!i&&e===(r=r||{}))return!1;if(i||e.opacity!==r.opacity){T(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?n.oN.opacity:s}(i||e.blend!==r.blend)&&(a||(T(t,o),a=!0),t.globalCompositeOperation=e.blend||n.oN.blend);for(var l=0;l<b.length;l++){var u=b[l];(i||e[u]!==r[u])&&(a||(T(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(i||e.shadowColor!==r.shadowColor)&&(a||(T(t,o),a=!0),t.shadowColor=e.shadowColor||n.oN.shadowColor),a}function S(t,e,r,n,i){var o=e.style,a=n?null:r&&r.style||{};if(o===a)return!1;var s=w(t,o,a,n,i);if((n||o.fill!==a.fill)&&(s||(T(t,i),s=!0),m(o.fill)&&(t.fillStyle=o.fill)),(n||o.stroke!==a.stroke)&&(s||(T(t,i),s=!0),m(o.stroke)&&(t.strokeStyle=o.stroke)),(n||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<A.length;u++){var c=A[u],h=c[0];(n||o[h]!==a[h])&&(s||(T(t,i),s=!0),t[h]=o[h]||c[1])}return s}function k(t,e){var r=e.transform,n=t.dpr||1;r?t.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):t.setTransform(n,0,0,n,0,0)}function T(t,e){e.batchFill&&(e.batchFill=!1,t.fill()),e.batchStroke&&(e.batchStroke=!1,t.stroke())}function C(t,e){var r={inHover:!1,viewWidth:0,viewHeight:0,beforeBrushParam:{}};M(t,e,r),I(t,r)}function M(t,e,r){var n,i=e.transform;if(!e.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){e.__dirty&=~p.M,e.__isRendered=!1;return}var c=e.__clipPaths,m=r.prevElClipPaths,b=e.style,A=!1,C=!1;if((!m||(0,a.KU)(c,m))&&(m&&(T(t,r),t.restore(),C=A=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),c&&c.length)){T(t,r),t.save();for(var D=!1,P=0;P<c.length;P++){var O=c[P];D=D||O.isZeroArea(),k(t,O),t.beginPath(),O.buildPath(t,O.shape),t.clip()}r.allClipped=D,A=!0,r.prevElClipPaths=c}if(r.allClipped){e.__dirty&=~p.M,e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(r.beforeBrushParam),e.innerBeforeBrush();var L=r.prevEl;L||(C=A=!0);var R=e instanceof s.Ay&&e.autoBatch&&(E=y(b),B=g(b),!(b.lineDash||!(E^B)||E&&"string"!=typeof b.fill||B&&"string"!=typeof b.stroke||b.strokePercent<1||b.strokeOpacity<1||b.fillOpacity<1));if(!A&&(N=L.transform,i&&N?i[0]===N[0]&&i[1]===N[1]&&i[2]===N[2]&&i[3]===N[3]&&i[4]===N[4]&&i[5]===N[5]:+(!i&&!N))?R||T(t,r):(T(t,r),k(t,e)),e instanceof s.Ay)1!==r.lastDrawType&&(C=!0,r.lastDrawType=1),S(t,e,L,C,r),R&&(r.batchFill||r.batchStroke)||t.beginPath(),function(t,e,r,n,i){var o,s,l,u=g(r),c=y(r),d=r.strokePercent,m=d<1,b=!e.path;(!e.silent||m)&&b&&e.createPathProxy();var A=e.path||f,w=e.__dirty;if(!n){var S=r.fill,k=r.stroke,T=c&&!!S.colorStops,C=u&&!!k.colorStops,M=c&&!!S.image,I=u&&!!k.image,D=void 0,P=void 0,O=void 0,L=void 0,R=void 0;(T||C)&&(R=e.getBoundingRect()),T&&(D=w?(0,a.Ff)(t,S,R):e.__canvasFillGradient,e.__canvasFillGradient=D),C&&(P=w?(0,a.Ff)(t,k,R):e.__canvasStrokeGradient,e.__canvasStrokeGradient=P),M&&(O=w||!e.__canvasFillPattern?x(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=O),I&&(L=w||!e.__canvasStrokePattern?x(t,k,e):e.__canvasStrokePattern,e.__canvasStrokePattern=L),T?t.fillStyle=D:M&&(O?t.fillStyle=O:c=!1),C?t.strokeStyle=P:I&&(L?t.strokeStyle=L:u=!1)}var E=e.getGlobalScale();A.setScale(E[0],E[1],e.segmentIgnoreThreshold),t.setLineDash&&r.lineDash&&(s=(o=h(e))[0],l=o[1]);var B=!0;(b||w&p.Dl)&&(A.setDPR(t.dpr),m?A.setContext(null):(A.setContext(t),B=!1),A.reset(),e.buildPath(A,e.shape,n),A.toStatic(),e.pathUpdated()),B&&A.rebuildPath(t,m?d:1),s&&(t.setLineDash(s),t.lineDashOffset=l),n?(i.batchFill=c,i.batchStroke=u):r.strokeFirst?(u&&_(t,r),c&&v(t,r)):(c&&v(t,r),u&&_(t,r)),s&&t.setLineDash([])}(t,e,b,R,r);else if(e instanceof u.A){3!==r.lastDrawType&&(C=!0,r.lastDrawType=3),S(t,e,L,C,r);var E,B,N,z,F=b.text;if(null!=F&&(F+=""),F){t.font=b.font||d.OH,t.textAlign=b.textAlign,t.textBaseline=b.textBaseline;var $=void 0,H=void 0;t.setLineDash&&b.lineDash&&($=(z=h(e))[0],H=z[1]),$&&(t.setLineDash($),t.lineDashOffset=H),b.strokeFirst?(g(b)&&t.strokeText(F,b.x,b.y),y(b)&&t.fillText(F,b.x,b.y)):(y(b)&&t.fillText(F,b.x,b.y),g(b)&&t.strokeText(F,b.x,b.y)),$&&t.setLineDash([])}}else e instanceof l.Ay?(2!==r.lastDrawType&&(C=!0,r.lastDrawType=2),n=C,w(t,e.style,L&&L.style,n,r),function(t,e,r){var n=e.__image=(0,o.OD)(r.image,e.__image,e,e.onload);if(n&&(0,o.xA)(n)){var i=r.x||0,a=r.y||0,s=e.getWidth(),l=e.getHeight(),u=n.width/n.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=n.width,l=n.height),r.sWidth&&r.sHeight){var c=r.sx||0,h=r.sy||0;t.drawImage(n,c,h,r.sWidth,r.sHeight,i,a,s,l)}else if(r.sx&&r.sy){var c=r.sx,h=r.sy,p=s-c,d=l-h;t.drawImage(n,c,h,p,d,i,a,s,l)}else t.drawImage(n,i,a,s,l)}}(t,e,b)):e.getTemporalDisplayables&&(4!==r.lastDrawType&&(C=!0,r.lastDrawType=4),function(t,e,r){var n,i,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover,beforeBrushParam:{}};for(n=e.getCursor(),i=o.length;n<i;n++){var l=o[n];l.beforeBrush&&l.beforeBrush(r.beforeBrushParam),l.innerBeforeBrush(),M(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}I(t,s);for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(r.beforeBrushParam),l.innerBeforeBrush(),M(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}I(t,s),e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,r));e.innerAfterBrush(),e.afterBrush&&(R&&T(t,r),e.afterBrush()),r.prevEl=e,e.__dirty=0,e.__isRendered=!0}function I(t,e){T(t,e),e.prevElClipPaths&&t.restore()}},BH(t,e,r){"use strict";function n(t){return isFinite(t)}function i(t){return parseInt(t,10)}r.d(e,{},{Ff:function(t,e,r){for(var i,o,a,s,l,u,c,h,p,d,f="radial"===e.type?(a=Math.min(i=r.width,o=r.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+r.x,l=l*o+r.y,u*=a),s=n(s)?s:.5,l=n(l)?l:.5,u=u>=0&&n(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,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(c=c*r.width+r.x,h=h*r.width+r.x,p=p*r.height+r.y,d=d*r.height+r.y),c=n(c)?c:0,h=n(h)?h:1,p=n(p)?p:0,d=n(d)?d:0,t.createLinearGradient(c,p,h,d)),g=e.colorStops,m=0;m<g.length;m++)f.addColorStop(g[m].offset,g[m].color);return f},KU:function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!0;return!1},YC:function(t,e,r){var n=["width","height"][e],o=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=r[n]&&"auto"!==r[n])return parseFloat(r[n]);var l=document.defaultView.getComputedStyle(t);return(t[o]||i(l[n])||i(t.style[n]))-(i(l[a])||0)-(i(l[s])||0)||0}})},Yo(t,e,r){"use strict";var n=r("E3"),i=1;n.A.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i;r.d(e,{},{Y5:o,_S:"#333",el:"#ccc",ps:.4,tY:"#eee"})},KO(t,e,r){"use strict";var n,i=r("Y8"),o=r("B5"),a=r("mZ");function s(t){n||(n=new o.Ay(100)),t=t||a.OH;var e=n.get(t);return e||(e={font:t,strWidthCache:new o.Ay(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:a.yh.measureText("国",t).width,asciiCharWidth:a.yh.measureText("a",t).width},n.put(t,e)),e}var l=0;function u(t,e){var r=t.strWidthCache,n=r.get(e);return null==n&&(n=a.yh.measureText(e,t.font).width,r.put(e,n)),n}function c(t,e,r,n){var o=u(s(e),t),a=d(e),l=h(0,o,r),c=p(0,a,n);return new i.Ay(l,c,o,a)}function h(t,e,r,n){return"right"===r?n?t+=e:t-=e:"center"===r&&(n?t+=e/2:t-=e/2),t}function p(t,e,r,n){return"middle"===r?n?t+=e/2:t-=e/2:"bottom"===r&&(n?t+=e:t-=e),t}function d(t){return s(t).stWideCharWidth}function f(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}r.d(e,{},{JK:function(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(l>=5)){t=t||a.OH;for(var e=[],r=+new Date,n=0;n<=127;n++)e[n]=a.yh.measureText(String.fromCharCode(n),t).width;var i=new Date-r;return i>16?l=5:i>2&&l++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth},NO:function(t,e,r,n){var o=((t||"")+"").split("\n");if(1===o.length)return c(o[0],e,r,n);for(var a=new i.Ay(0,0,0,0),s=0;s<o.length;s++){var l=c(o[s],e,r,n);0===s?a.copy(l):a.union(l)}return a},Qw:s,X4:function(t,e,r){var n=e.position||"inside",i=null!=e.distance?e.distance:5,o=r.height,a=r.width,s=o/2,l=r.x,u=r.y,c="left",h="top";if(n instanceof Array)l+=f(n[0],r.width),u+=f(n[1],r.height),c=null,h=null;else switch(n){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},ks:d,l8:u,ll:h,lo:f,sZ:p})},Y8(t,e,r){"use strict";var n=r("AT"),i=r("xy"),o=r("zM"),a=Math.min,s=Math.max,l=Math.abs,u=["x","y"],c=["width","height"],h=new o.A,p=new o.A,d=new o.A,f=new o.A,g=D(),m=g.minTv,y=g.maxTv,v=[0,0],_=function(){function t(t,e,r,n){b(this,t,e,r,n)}return t.set=function(t,e,r,n,i){return n<0&&(e+=n,n=-n),i<0&&(r+=i,i=-i),t.x=e,t.y=r,t.width=n,t.height=i,t},t.prototype.union=function(t){var e=a(t.x,this.x),r=a(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=s(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=s(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=e,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){return w(n.vt(),this,t)},t.prototype.intersect=function(e,r,n){return t.intersect(this,e,r,n)},t.intersect=function(e,r,n,i){n&&o.A.set(n,0,0);var a=i&&i.outIntersectRect||null,s=i&&i.clamp;if(a&&(a.x=a.y=a.width=a.height=0/0),!e||!r)return!1;e instanceof t||(e=b(T,e.x,e.y,e.width,e.height)),r instanceof t||(r=b(C,r.x,r.y,r.width,r.height));var l=!!n;g.reset(i,l);var u=g.touchThreshold,c=e.x+u,h=e.x+e.width-u,p=e.y+u,d=e.y+e.height-u,f=r.x+u,_=r.x+r.width-u,x=r.y+u,A=r.y+r.height-u;if(c>h||p>d||f>_||x>A)return!1;var w=!(h<f||_<c||d<x||A<p);return(l||a)&&(v[0]=1/0,v[1]=0,I(c,h,f,_,0,l,a,s),I(p,d,x,A,1,l,a,s),l&&o.A.copy(n,w?g.useDir?g.dirMinTv:m:y)),w},t.contain=function(t,e,r){return e>=t.x&&e<=t.x+t.width&&r>=t.y&&r<=t.y+t.height},t.prototype.contain=function(e,r){return t.contain(this,e,r)},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){A(this,t)},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?e.x:0,e?e.y:0,e?e.width:0,e?e.height:0)},t.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},t.applyTransform=function(t,e,r){if(!r){t!==e&&A(t,e);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],i=r[3],o=r[4],l=r[5];t.x=e.x*n+o,t.y=e.y*i+l,t.width=e.width*n,t.height=e.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}h.x=d.x=e.x,h.y=f.y=e.y,p.x=f.x=e.x+e.width,p.y=d.y=e.y+e.height,h.transform(r),f.transform(r),p.transform(r),d.transform(r),t.x=a(h.x,p.x,d.x,f.x),t.y=a(h.y,p.y,d.y,f.y);var u=s(h.x,p.x,d.x,f.x),c=s(h.y,p.y,d.y,f.y);t.width=u-t.x,t.height=c-t.y},t.calculateTransform=function(t,e,r){var o=r.width/e.width,a=r.height/e.height;return t=n.D_(t||[]),n.Tl(t,t,i.hZ(M,-e.x,-e.y)),n.hs(t,t,i.hZ(M,o,a)),n.Tl(t,t,i.hZ(M,r.x,r.y)),t},t}(),x=_.create,b=_.set,A=_.copy,w=_.calculateTransform,S=_.applyTransform,k=_.contain,T=new _(0,0,0,0),C=new _(0,0,0,0),M=[];function I(t,e,r,n,i,o,h,p){var d=l(e-r),f=l(n-t),_=a(d,f),x=u[i],b=u[1-i],A=c[i];e<r||n<t?d<f?(o&&(y[x]=-d),p&&(h[x]=e,h[A]=0)):(o&&(y[x]=f),p&&(h[x]=t,h[A]=0)):(h&&(h[x]=s(t,r),h[A]=a(e,n)-h[x]),o&&(_<v[0]||g.useDir)&&(v[0]=a(_,v[0]),(d<f||!g.bidirectional)&&(m[x]=d,m[b]=0,g.useDir&&g.calcDirMTV()),(d>=f||!g.bidirectional)&&(m[x]=-f,m[b]=0,g.useDir&&g.calcDirMTV())))}function D(){var t=0,e=new o.A,r=new o.A,n={minTv:new o.A,maxTv:new o.A,useDir:!1,dirMinTv:new o.A,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,o){n.touchThreshold=0,i&&null!=i.touchThreshold&&(n.touchThreshold=s(0,i.touchThreshold)),n.negativeSize=!1,o&&(n.minTv.set(1/0,1/0),n.maxTv.set(0,0),n.useDir=!1,i&&null!=i.direction&&(n.useDir=!0,n.dirMinTv.copy(n.minTv),r.copy(n.minTv),t=i.direction,n.bidirectional=null==i.bidirectional||!!i.bidirectional,n.bidirectional||e.set(Math.cos(t),Math.sin(t))))},calcDirMTV:function(){var o=n.minTv,a=n.dirMinTv,s=o.y*o.y+o.x*o.x,l=Math.sin(t),u=Math.cos(t),c=l*o.y+u*o.x;if(i(c)){i(o.x)&&i(o.y)&&a.set(0,0);return}(r.x=s*u/c,r.y=s*l/c,i(r.x)&&i(r.y))?a.set(0,0):(n.bidirectional||e.dot(r)>0)&&r.len()<a.len()&&a.copy(r)}};function i(t){return 1e-10>l(t)}return n}e.Ay=_,r.d(e,{},{bV:D,iZ:A,r_:x,rd:k,zQ:S})},jp(t,e){"use strict";e.A=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(n=r,r=e,e=null),!r||!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===r)return this;var s={h:r,query:e,ctx:n||this,callAtLast:r.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 r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(e){if(r[t]){for(var n=[],i=0,o=r[t].length;i<o;i++)r[t][i].h!==e&&n.push(r[t][i]);r[t]=n}r[t]&&0===r[t].length&&delete r[t]}else delete r[t];return this},t.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],i=this._$eventProcessor;if(n)for(var o=e.length,a=n.length,s=0;s<a;s++){var l=n[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=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],i=this._$eventProcessor;if(n)for(var o=e.length,a=e[o-1],s=n.length,l=0;l<s;l++){var u=n[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}()},B5(t,e){"use strict";var r=function(t){this.value=t},n=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,r=t.next;e?e.next=r:this.head=r,r?r.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}();e.Ay=function(){function t(t){this._list=new n,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],r=this._list;if(null!=e)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},Mg(t,e,r){"use strict";var n=r("zM"),i=r("Y8"),o=Math.min,a=Math.max,s=Math.abs,l=[0,0],u=[0,0],c=(0,i.bV)(),h=c.minTv,p=c.maxTv;e.A=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new n.A;for(var r=0;r<2;r++)this._axes[r]=new n.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var r=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,l),r[3].set(o,l),e)for(var u=0;u<4;u++)r[u].transform(e);n.A.sub(i[0],r[1],r[0]),n.A.sub(i[1],r[3],r[0]),i[0].normalize(),i[1].normalize();for(var u=0;u<2;u++)this._origin[u]=i[u].dot(r[0])},t.prototype.intersect=function(t,e,r){var i=!0,o=!e;return(e&&n.A.set(e,0,0),c.reset(r,!o),!this._intersectCheckOneSide(this,t,o,1)&&(i=!1,o)||!this._intersectCheckOneSide(t,this,o,-1)&&(i=!1,o))?i:(o||c.negativeSize||n.A.copy(e,i?c.useDir?c.dirMinTv:h:p),i)},t.prototype._intersectCheckOneSide=function(t,e,r,i){for(var a=!0,d=0;d<2;d++){var f=t._axes[d];if(t._getProjMinMaxOnAxis(d,t._corners,l),t._getProjMinMaxOnAxis(d,e._corners,u),c.negativeSize||l[1]<u[0]||l[0]>u[1]){if(a=!1,c.negativeSize||r)return a;var g=s(u[0]-l[1]),m=s(l[0]-u[1]);o(g,m)>p.len()&&(g<m?n.A.scale(p,f,-g*i):n.A.scale(p,f,m*i))}else if(!r){var g=s(u[0]-l[1]),m=s(l[0]-u[1]);(c.useDir||o(g,m)<h.len())&&((g<m||!c.bidirectional)&&(n.A.scale(h,f,g*i),c.useDir&&c.calcDirMTV()),(g>=m||!c.bidirectional)&&(n.A.scale(h,f,-m*i),c.useDir&&c.calcDirMTV()))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var n=this._axes[t],i=this._origin,s=e[0].dot(n)+i[t],l=s,u=s,h=1;h<e.length;h++){var p=e[h].dot(n)+i[t];l=o(p,l),u=a(p,u)}r[0]=l+c.touchThreshold,r[1]=u-c.touchThreshold,c.negativeSize=r[1]<r[0]},t}()},Sv(t,e,r){"use strict";r.d(e,{A:()=>B,q:()=>E});var n=r("xy"),i=r("Y8"),o=r("Yo"),a=r("mq"),s=Math.min,l=Math.max,u=Math.sin,c=Math.cos,h=2*Math.PI,p=n.vt(),d=n.vt(),f=n.vt();function g(t,e,r,n,i,o){i[0]=s(t,r),i[1]=s(e,n),o[0]=l(t,r),o[1]=l(e,n)}var m=[],y=[],v={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],x=[],b=[],A=[],w=[],S=[],k=Math.min,T=Math.max,C=Math.cos,M=Math.sin,I=Math.abs,D=Math.PI,P=2*D,O="u">typeof Float32Array,L=[];function R(t){return Math.round(t/D*1e8)/1e8%2*D}function E(t,e){var r=R(t[0]);r<0&&(r+=P);var n=r-t[0],i=t[1];i+=n,!e&&i-r>=P?i=r+P:e&&r-i>=P?i=r-P:!e&&r>i?i=r+(P-R(r-i)):e&&r<i&&(i=r-(P-R(i-r))),t[0]=r,t[1]=i}var B=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,r){(r=r||0)>0&&(this._ux=I(r/o.Y5/t)||0,this._uy=I(r/o.Y5/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(v.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 r=I(t-this._xi),n=I(e-this._yi),i=r>this._ux||n>this._uy;if(this.addData(v.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=r*r+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,r,n,i,o){return this._drawPendingPt(),this.addData(v.C,t,e,r,n,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,r,n,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,r,n){return this._drawPendingPt(),this.addData(v.Q,t,e,r,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,n),this._xi=r,this._yi=n,this},e.prototype.arc=function(t,e,r,n,i,o){this._drawPendingPt(),L[0]=n,L[1]=i,E(L,o),n=L[0];var a=(i=L[1])-n;return this.addData(v.A,t,e,r,r,n,a,0,+!o),this._ctx&&this._ctx.arc(t,e,r,n,i,o),this._xi=C(i)*r+t,this._yi=M(i)*r+e,this},e.prototype.arcTo=function(t,e,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,n,i),this},e.prototype.rect=function(t,e,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,n),this.addData(v.R,t,e,r,n),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(v.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,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){if(this._saveData){var e=t.length;!(this.data&&this.data.length===e)&&O&&(this.data=new Float32Array(e));for(var r=0;r<e;r++)this.data[r]=t[r];this._len=e}},e.prototype.appendPath=function(t){if(this._saveData){t instanceof Array||(t=[t]);for(var e=t.length,r=0,n=this._len,i=0;i<e;i++)r+=t[i].len();var o=this.data;if(O&&(o instanceof Float32Array||!o)&&(this.data=new Float32Array(n+r),n>0&&o))for(var a=0;a<n;a++)this.data[a]=o[a];for(var i=0;i<e;i++)for(var s=t[i].data,a=0;a<s.length;a++)this.data[n++]=s[a];this._len=n}},e.prototype.addData=function(t,e,r,n,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,O&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){b[0]=b[1]=w[0]=w[1]=Number.MAX_VALUE,A[0]=A[1]=S[0]=S[1]=-Number.MAX_VALUE;var t,e=this.data,r=0,o=0,_=0,x=0;for(t=0;t<this._len;){var k=e[t++],T=1===t;switch(T&&(r=e[t],o=e[t+1],_=r,x=o),k){case v.M:r=_=e[t++],o=x=e[t++],w[0]=_,w[1]=x,S[0]=_,S[1]=x;break;case v.L:g(r,o,e[t],e[t+1],w,S),r=e[t++],o=e[t++];break;case v.C:!function(t,e,r,n,i,o,u,c,h,p){var d=a.lX,f=a.Yb,g=d(t,r,i,u,m);h[0]=1/0,h[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var v=0;v<g;v++){var _=f(t,r,i,u,m[v]);h[0]=s(_,h[0]),p[0]=l(_,p[0])}g=d(e,n,o,c,y);for(var v=0;v<g;v++){var x=f(e,n,o,c,y[v]);h[1]=s(x,h[1]),p[1]=l(x,p[1])}h[0]=s(t,h[0]),p[0]=l(t,p[0]),h[0]=s(u,h[0]),p[0]=l(u,p[0]),h[1]=s(e,h[1]),p[1]=l(e,p[1]),h[1]=s(c,h[1]),p[1]=l(c,p[1])}(r,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],w,S),r=e[t++],o=e[t++];break;case v.Q:!function(t,e,r,n,i,o,u,c){var h=a.gC,p=a.k3,d=l(s(h(t,r,i),1),0),f=l(s(h(e,n,o),1),0),g=p(t,r,i,d),m=p(e,n,o,f);u[0]=s(t,i,g),u[1]=s(e,o,m),c[0]=l(t,i,g),c[1]=l(e,o,m)}(r,o,e[t++],e[t++],e[t],e[t+1],w,S),r=e[t++],o=e[t++];break;case v.A:var I=e[t++],D=e[t++],P=e[t++],O=e[t++],L=e[t++],R=e[t++]+L;t+=1;var E=!e[t++];T&&(_=C(L)*P+I,x=M(L)*O+D),function(t,e,r,i,o,a,s,l,g){var m=n.jk,y=n.T9,v=Math.abs(o-a);if(v%h<1e-4&&v>1e-4){l[0]=t-r,l[1]=e-i,g[0]=t+r,g[1]=e+i;return}if(p[0]=c(o)*r+t,p[1]=u(o)*i+e,d[0]=c(a)*r+t,d[1]=u(a)*i+e,m(l,p,d),y(g,p,d),(o%=h)<0&&(o+=h),(a%=h)<0&&(a+=h),o>a&&!s?a+=h:o<a&&s&&(o+=h),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(f[0]=c(x)*r+t,f[1]=u(x)*i+e,m(l,f,l),y(g,f,g))}(I,D,P,O,L,R,E,w,S),r=C(R)*P+I,o=M(R)*O+D;break;case v.R:g(_=r=e[t++],x=o=e[t++],_+e[t++],x+e[t++],w,S);break;case v.Z:r=_,o=x}n.jk(b,b,w),n.T9(A,A,S)}return 0===t&&(b[0]=b[1]=A[0]=A[1]=0),new i.Ay(b[0],b[1],A[0]-b[0],A[1]-b[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,r=this._ux,n=this._uy,i=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,h=0,p=0;p<e;){var d=t[p++],f=1===p;f&&(i=t[p],o=t[p+1],s=i,l=o);var g=-1;switch(d){case v.M:i=s=t[p++],o=l=t[p++];break;case v.L:var m=t[p++],y=t[p++],_=m-i,x=y-o;(I(_)>r||I(x)>n||p===e-1)&&(g=Math.sqrt(_*_+x*x),i=m,o=y);break;case v.C:var b=t[p++],A=t[p++],m=t[p++],y=t[p++],w=t[p++],S=t[p++];g=(0,a.h0)(i,o,b,A,m,y,w,S,10),i=w,o=S;break;case v.Q:var b=t[p++],A=t[p++],m=t[p++],y=t[p++];g=(0,a.d8)(i,o,b,A,m,y,10),i=m,o=y;break;case v.A:var D=t[p++],O=t[p++],L=t[p++],R=t[p++],E=t[p++],B=t[p++],N=B+E;p+=1,f&&(s=C(E)*L+D,l=M(E)*R+O),g=T(L,R)*k(P,Math.abs(B)),i=C(N)*L+D,o=M(N)*R+O;break;case v.R:s=i=t[p++],l=o=t[p++],g=2*t[p++]+2*t[p++];break;case v.Z:var _=s-i,x=l-o;g=Math.sqrt(_*_+x*x),i=s,o=l}g>=0&&(u[h++]=g,c+=g)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,e){var r,n,i,o,s,l,u,c,h,p,d=this.data,f=this._ux,g=this._uy,m=this._len,y=e<1,b=0,A=0,w=0;if(!y||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,c=e*this._pathLen))e:for(var S=0;S<m;){var D=d[S++],P=1===S;switch(P&&(i=d[S],o=d[S+1],r=i,n=o),D!==v.L&&w>0&&(t.lineTo(h,p),w=0),D){case v.M:r=i=d[S++],n=o=d[S++],t.moveTo(i,o);break;case v.L:s=d[S++],l=d[S++];var O=I(s-i),L=I(l-o);if(O>f||L>g){if(y){var R=u[A++];if(b+R>c){var E=(c-b)/R;t.lineTo(i*(1-E)+s*E,o*(1-E)+l*E);break e}b+=R}t.lineTo(s,l),i=s,o=l,w=0}else{var B=O*O+L*L;B>w&&(h=s,p=l,w=B)}break;case v.C:var N=d[S++],z=d[S++],F=d[S++],$=d[S++],H=d[S++],j=d[S++];if(y){var R=u[A++];if(b+R>c){var E=(c-b)/R;(0,a.YT)(i,N,F,H,E,_),(0,a.YT)(o,z,$,j,E,x),t.bezierCurveTo(_[1],x[1],_[2],x[2],_[3],x[3]);break e}b+=R}t.bezierCurveTo(N,z,F,$,H,j),i=H,o=j;break;case v.Q:var N=d[S++],z=d[S++],F=d[S++],$=d[S++];if(y){var R=u[A++];if(b+R>c){var E=(c-b)/R;(0,a.kx)(i,N,F,E,_),(0,a.kx)(o,z,$,E,x),t.quadraticCurveTo(_[1],x[1],_[2],x[2]);break e}b+=R}t.quadraticCurveTo(N,z,F,$),i=F,o=$;break;case v.A:var W=d[S++],V=d[S++],Y=d[S++],X=d[S++],G=d[S++],U=d[S++],Z=d[S++],q=!d[S++],K=Y>X?Y:X,Q=I(Y-X)>.001,J=G+U,tt=!1;if(y){var R=u[A++];b+R>c&&(J=G+U*(c-b)/R,tt=!0),b+=R}if(Q&&t.ellipse?t.ellipse(W,V,Y,X,Z,G,J,q):t.arc(W,V,K,G,J,q),tt)break e;P&&(r=C(G)*Y+W,n=M(G)*X+V),i=C(J)*Y+W,o=M(J)*X+V;break;case v.R:r=i=d[S],n=o=d[S+1],s=d[S++],l=d[S++];var te=d[S++],tr=d[S++];if(y){var R=u[A++];if(b+R>c){var tn=c-b;t.moveTo(s,l),t.lineTo(s+k(tn,te),l),(tn-=te)>0&&t.lineTo(s+te,l+k(tn,tr)),(tn-=tr)>0&&t.lineTo(s+T(te-tn,0),l+tr),(tn-=te)>0&&t.lineTo(s,l+T(tr-tn,0));break e}b+=R}t.rect(s,l,te,tr);break;case v.Z:if(y){var R=u[A++];if(b+R>c){var E=(c-b)/R;t.lineTo(i*(1-E)+r*E,o*(1-E)+n*E);break e}b+=R}t.closePath(),i=r,o=n}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.prototype.canSave=function(){return!!this._saveData},e.CMD=v,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},zM(t,e){"use strict";e.A=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,r=this.y-t.y;return Math.sqrt(e*e+r*r)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,r=this.y-t.y;return e*e+r*r},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,r=this.y;return this.x=t[0]*e+t[2]*r+t[4],this.y=t[1]*e+t[3]*r+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,r){t.x=e,t.y=r},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,r){t.x=e.x+r.x,t.y=e.y+r.y},t.sub=function(t,e,r){t.x=e.x-r.x,t.y=e.y-r.y},t.scale=function(t,e,r){t.x=e.x*r,t.y=e.y*r},t.scaleAndAdd=function(t,e,r,n){t.x=e.x+r.x*n,t.y=e.y+r.y*n},t.lerp=function(t,e,r,n){var i=1-n;t.x=i*e.x+n*r.x,t.y=i*e.y+n*r.y},t}()},P7(t,e,r){"use strict";var n=r("AT"),i=r("iY"),o=r("xy"),a=n.D_;function s(t){return t>5e-5||t<-5e-5}var l=[],u=[],c=n.vt(),h=Math.abs,p=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return d(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 s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;if(!(e||t)){r&&(a(r),this.invTransform=null);return}r=r||n.vt(),e?this.getLocalTransform(r):a(r),t&&(e?n.lK(r,t,r):n.C(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r),this.invTransform=this.invTransform||n.vt(),n.B8(this.invTransform,r)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var r=l[0]<0?-1:1,n=l[1]<0?-1:1,i=((l[0]-r)*e+r)/l[0]||0,o=((l[1]-n)*e+n)/l[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}},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],r=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),i=Math.PI/2+n-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,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||n.vt(),n.lK(u,t.invTransform,e),e=u);var r=this.originX,i=this.originY;(r||i)&&(c[4]=r,c[5]=i,n.lK(u,e,c),u[4]-=r,u[5]-=i,e=u),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 r=[t,e],n=this.invTransform;return n&&o.NW(r,r,n),r},e.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&o.NW(r,r,n),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){g(this,t)},e.getLocalTransform=function(t,e){e=e||[];var r=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,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||l){var f=r+s,g=i+l;e[4]=-f*o-p*g*a,e[5]=-g*a-d*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=p*a,u&&n.e$(e,e,u),e[4]+=r+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}(),d=p.getLocalTransform,f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function g(t,e){return(0,i.Ac)(t,e,f)}e.Ay=p,r.d(e,{},{Ed:d,IT:g,Rd:function(){return new p},Wx:f})},mq(t,e,r){"use strict";var n=r("xy"),i=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,n.vt)(),u=(0,n.vt)(),c=(0,n.vt)();function h(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(t,e,r,n,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*n+3*o*r)}function f(t,e,r,n){var i=1-n;return i*(i*t+2*n*e)+n*n*r}r.d(e,{},{Et:function(t,e,r,i,a,s,h,p,f,g,m){var y,v,_,x,b,A=.005,w=1/0;l[0]=f,l[1]=g;for(var S=0;S<1;S+=.05)u[0]=d(t,r,a,h,S),u[1]=d(e,i,s,p,S),(x=(0,n.oi)(l,u))<w&&(y=S,w=x);w=1/0;for(var k=0;k<32&&!(A<1e-4);k++)v=y-A,_=y+A,u[0]=d(t,r,a,h,v),u[1]=d(e,i,s,p,v),x=(0,n.oi)(u,l),v>=0&&x<w?(y=v,w=x):(c[0]=d(t,r,a,h,_),c[1]=d(e,i,s,p,_),b=(0,n.oi)(c,l),_<=1&&b<w?(y=_,w=b):A*=.5);return m&&(m[0]=d(t,r,a,h,y),m[1]=d(e,i,s,p,y)),o(w)},YT:function(t,e,r,n,i,o){var a=(e-t)*i+t,s=(r-e)*i+e,l=(n-r)*i+r,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]=n},Yb:d,_E:function(t,e,r,n,l,u){var c=n+3*(e-r)-t,p=3*(r-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*c*d,m=p*d-9*c*f,y=d*d-3*p*f,v=0;if(h(g)&&h(m))if(h(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[v++]=_)}else{var x=m*m-4*g*y;if(h(x)){var b=m/g,_=-p/c+b,A=-b/2;_>=0&&_<=1&&(u[v++]=_),A>=0&&A<=1&&(u[v++]=A)}else if(x>0){var w=o(x),S=g*p+1.5*c*(-m+w),k=g*p+1.5*c*(-m-w),_=(-p-((S=S<0?-i(-S,s):i(S,s))+(k=k<0?-i(-k,s):i(k,s))))/(3*c);_>=0&&_<=1&&(u[v++]=_)}else{var T=Math.acos((2*g*p-3*c*m)/(2*o(g*g*g)))/3,C=o(g),M=Math.cos(T),_=(-p-2*C*M)/(3*c),A=(-p+C*(M+a*Math.sin(T)))/(3*c),I=(-p+C*(M-a*Math.sin(T)))/(3*c);_>=0&&_<=1&&(u[v++]=_),A>=0&&A<=1&&(u[v++]=A),I>=0&&I<=1&&(u[v++]=I)}}return v},d8:function(t,e,r,n,i,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var p=h*c,d=f(t,r,i,p),g=f(e,n,o,p),m=d-s,y=g-l;u+=Math.sqrt(m*m+y*y),s=d,l=g}return u},gC:function(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n},h0:function(t,e,r,n,i,o,a,s,l){for(var u=t,c=e,h=0,p=1/l,f=1;f<=l;f++){var g=f*p,m=d(t,r,i,a,g),y=d(e,n,o,s,g),v=m-u,_=y-c;h+=Math.sqrt(v*v+_*_),u=m,c=y}return h},k3:f,kh:function(t,e,r,i,a,s,h,p,d){var g,m=.005,y=1/0;l[0]=h,l[1]=p;for(var v=0;v<1;v+=.05){u[0]=f(t,r,a,v),u[1]=f(e,i,s,v);var _=(0,n.oi)(l,u);_<y&&(g=v,y=_)}y=1/0;for(var x=0;x<32&&!(m<1e-4);x++){var b=g-m,A=g+m;u[0]=f(t,r,a,b),u[1]=f(e,i,s,b);var _=(0,n.oi)(u,l);if(b>=0&&_<y)g=b,y=_;else{c[0]=f(t,r,a,A),c[1]=f(e,i,s,A);var w=(0,n.oi)(c,l);A<=1&&w<y?(g=A,y=w):m*=.5}}return d&&(d[0]=f(t,r,a,g),d[1]=f(e,i,s,g)),o(y)},kx:function(t,e,r,n,i){var o=(e-t)*n+t,a=(r-e)*n+e,s=(a-o)*n+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=r},lX:function(t,e,r,n,i){var a=6*r-12*e+6*t,s=9*e+3*n-3*t-9*r,l=3*e-3*t,u=0;if(h(s)){if(p(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 f=o(d),c=(-a+f)/(2*s),g=(-a-f)/(2*s);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u},qY:function(t,e,r,n,i){var a=t-2*e+r,s=2*(e-t),l=t-n,u=0;if(h(a)){if(p(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 f=o(d),c=(-s+f)/(2*a),g=(-s-f)/(2*a);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u},rD:function(t,e,r,n,i){var o=1-i;return 3*(((e-t)*o+2*(r-e)*i)*o+(n-r)*i*i)},z7:function(t,e,r,n){return 2*((1-n)*(e-t)+n*(r-e))}})},OR(t,e,r){"use strict";r.d(e,{Me:()=>m,ot:()=>d,oq:()=>p,lJ:()=>c,Yn:()=>h});var n=r("E3"),i=Math.log(2);function o(t,e,r,n,a,s){var l=n+"-"+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[r][c]}for(var h=n|1<<r,p=r+1;n&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var m=1<<f;!(m&a)&&(d+=(g%2?-1:1)*t[r][f]*o(t,e-1,p,h,a|m,s),g++)}return s[l]=d,d}function a(t,e){var r=[[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]]],n={},i=o(r,8,0,0,0,n);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(r,7,+(0===s),1<<s,1<<l,n)/i*e[s];return function(t,e,r){var n=e*a[6]+r*a[7]+1;t[0]=(e*a[0]+r*a[1]+a[2])/n,t[1]=(e*a[3]+r*a[4]+a[5])/n}}}var s=r("iY"),l="___zrEVENTSAVED",u=[];function c(t,e,r,n,i){return p(u,e,n,i,!0)&&p(t,r,u[0],u[1])}function h(t,e){function r(t){var e=t[l];e&&(e.clearMarkers&&e.clearMarkers(),delete t[l])}t&&r(t),e&&r(e)}function p(t,e,r,i,o){if(e.getBoundingClientRect&&n.A.domSupported&&!d(e)){var u=e[l]||(e[l]={}),c=function(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],o=e.srcCoords,s=[],l=[],u=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),p=2*c,d=h.left,f=h.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[c].offsetLeft,t[c].offsetTop)}return u&&i?i:(e.srcCoords=s,e[n]=r?a(l,s):a(s,l))}(function(t,e){var r=e.markers;if(r)return r;r=e.markers=[];for(var n=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),l=a.style,u=o%2,c=(o>>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",i[c]+":0",n[1-u]+":auto",i[1-c]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return e.clearMarkers=function(){(0,s.__)(r,function(t){t.parentNode&&t.parentNode.removeChild(t)})},r}(e,u),u,o);if(c)return c(t,r,i),!0}return!1}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,g={"&":"&","<":"<",">":">",'"':""","'":"'"};function m(t){return null==t?"":(t+"").replace(f,function(t,e){return g[e]})}},E3(t,e){"use strict";var r=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},n=new function(){this.browser=new r,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="u">typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(n.wxa=!0,n.touchEventsSupported=!0):"u"<typeof document&&"u">typeof self?n.worker=!0:!n.hasGlobalWindow||"Deno"in window||"u">typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Node.js")>-1?(n.node=!0,n.svgSupported=!0):function(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);if(n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),o&&(r.edge=!0,r.version=o[1],r.newEdge=+o[1].split(".")[0]>18),a&&(r.weChat=!0),e.svgSupported="u">typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported="u">typeof document){var s=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}}(navigator.userAgent,n),e.A=n},lX(t,e,r){"use strict";var n=r("E3"),i=r("OR"),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=n.A.browser.firefox&&39>+n.A.browser.version.split(".")[0];function l(t,e,r,n){return r=r||{},n?u(t,e,r):s&&null!=e.layerX&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):null!=e.offsetX?(r.zrX=e.offsetX,r.zrY=e.offsetY):u(t,e,r),r}function u(t,e,r){if(n.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,i.ot)(t)){var l=t.getBoundingClientRect();r.zrX=o-l.left,r.zrY=s-l.top;return}if((0,i.oq)(a,t,o,s)){r.zrX=a[0],r.zrY=a[1];return}}r.zrX=r.zrY=0}function c(t){return t||window.event}r.d(e,{},{W5:function(t){return 2===t.which||3===t.which},Yo:l,ds:function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},e0:function(t,e,r){if(null!=(e=c(e)).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var i="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];i&&l(t,i,e,r)}else{l(t,e,e,r);var a=function(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;return null==r||null==n?e:3*(0!==n?Math.abs(n):Math.abs(r))*(n>0?-1:n<0?1:r>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},f:function(t,e,r,n){t.removeEventListener(e,r,n)},mK:c,q2:function(t,e,r,n){t.addEventListener(e,r,n)}})},AT(t,e,r){"use strict";r.d(e,{},{B8:function(t,e){var r=e[0],n=e[2],i=e[4],o=e[1],a=e[3],s=e[5],l=r*a-o*n;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-n*l,t[3]=r*l,t[4]=(n*s-a*i)*l,t[5]=(o*i-r*s)*l,t):null},C:function(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},D_:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},Tl:function(t,e,r){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+r[0],t[5]=e[5]+r[1],t},e$:function(t,e,r,n){void 0===n&&(n=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(r),h=Math.cos(r);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-n[0])+c*(u-n[1])+n[0],t[5]=h*(u-n[1])-c*(a-n[0])+n[1],t},hs:function(t,e,r){var n=r[0],i=r[1];return t[0]=e[0]*n,t[1]=e[1]*i,t[2]=e[2]*n,t[3]=e[3]*i,t[4]=e[4]*n,t[5]=e[5]*i,t},lK:function(t,e,r){var n=e[0]*r[0]+e[2]*r[1],i=e[1]*r[0]+e[3]*r[1],o=e[0]*r[2]+e[2]*r[3],a=e[1]*r[2]+e[3]*r[3],s=e[0]*r[4]+e[2]*r[5]+e[4],l=e[1]*r[4]+e[3]*r[5]+e[5];return t[0]=n,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},vt:function(){return[1,0,0,1,0,0]}})},mZ(t,e,r){"use strict";var n,i,o="12px sans-serif",a=function(t){var e={};if("u"<typeof JSON)return e;for(var r=0;r<t.length;r++){var n=String.fromCharCode(r+32),i=(t.charCodeAt(r)-20)/100;e[n]=i}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),s={createCanvas:function(){return"u">typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!n){var r=s.createCanvas();n=r&&r.getContext("2d")}if(n)return i!==e&&(i=n.font=e||o),n.measureText(t);t=t||"",e=e||o;var l=/((?:\d+)?\.?\d*)px/.exec(e),u=l&&+l[1]||12,c=0;if(e.indexOf("mono")>=0)c=u*t.length;else for(var h=0;h<t.length;h++){var p=a[t[h]];c+=null==p?u:p*u}return{width:c}},loadImage:function(t,e,r){var n=new Image;return n.onload=e,n.onerror=r,n.src=t,n},getTime:function(){return Date.now?Date.now():+new Date}};r.d(e,{},{OH:o,gI:12,yh:s})},Ly(t,e,r){"use strict";function n(t,e,r,n){var i=e+1;if(i===r)return 1;if(0>n(t[i++],t[e])){for(;i<r&&0>n(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<r&&n(t[i],t[i-1])>=0;)i++;return i-e}function i(t,e,r,n,i){for(n===e&&n++;n<r;n++){for(var o,a=t[n],s=e,l=n;s<l;)0>i(a,t[o=s+l>>>1])?l=o:s=o+1;var u=n-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,r,n,i,o){var a=0,s=0,l=1;if(o(t,e[r+i])>0){for(s=n-i;l<s&&o(t,e[r+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[r+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[r+c])>0?a=c+1:l=c}return l}function a(t,e,r,n,i,o){var a=0,s=0,l=1;if(0>o(t,e[r+i])){for(s=i+1;l<s&&0>o(t,e[r+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=n-i;l<s&&o(t,e[r+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[r+c])?l=c:a=c+1}return l}r.d(e,{},{A:function(t,e,r,s){r||(r=0),s||(s=t.length);var l=s-r;if(!(l<2)){var u=0;if(l<32){u=n(t,r,s,e),i(t,r,s,r+u,e);return}var c=function(t,e){var r,n,i=7,s=0,l=[];function u(u){var c=r[u],h=n[u],p=r[u+1],d=n[u+1];n[u]=h+d,u===s-3&&(r[u+1]=r[u+2],n[u+1]=n[u+2]),s--;var f=a(t[p],t,c,h,0,e);c+=f,0==(h-=f)||0!==(d=o(t[c+h-1],t,p,d,d-1,e))&&(h<=d?function(r,n,s,u){var c,h,p,d=0;for(d=0;d<n;d++)l[d]=t[r+d];var f=0,g=s,m=r;if(t[m++]=t[g++],0==--u){for(d=0;d<n;d++)t[m+d]=l[f+d];return}if(1===n){for(d=0;d<u;d++)t[m+d]=t[g+d];t[m+u]=l[f];return}for(var y=i;;){c=0,h=0,p=!1;do if(0>e(t[g],l[f])){if(t[m++]=t[g++],h++,c=0,0==--u){p=!0;break}}else if(t[m++]=l[f++],c++,h=0,1==--n){p=!0;break}while((c|h)<y)if(p)break;do{if(0!==(c=a(t[g],l,f,n,0,e))){for(d=0;d<c;d++)t[m+d]=l[f+d];if(m+=c,f+=c,(n-=c)<=1){p=!0;break}}if(t[m++]=t[g++],0==--u){p=!0;break}if(0!==(h=o(l[f],t,g,u,0,e))){for(d=0;d<h;d++)t[m+d]=t[g+d];if(m+=h,g+=h,0==(u-=h)){p=!0;break}}if(t[m++]=l[f++],1==--n){p=!0;break}y--}while(c>=7||h>=7)if(p)break;y<0&&(y=0),y+=2}if((i=y)<1&&(i=1),1===n){for(d=0;d<u;d++)t[m+d]=t[g+d];t[m+u]=l[f]}else if(0===n)throw Error();else for(d=0;d<n;d++)t[m+d]=l[f+d]}(c,h,p,d):function(r,n,s,u){var c=0;for(c=0;c<u;c++)l[c]=t[s+c];var h=r+n-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[h--],0==--n){for(f=d-(u-1),c=0;c<u;c++)t[f+c]=l[c];return}if(1===u){for(d-=n,h-=n,g=d+1,f=h+1,c=n-1;c>=0;c--)t[g+c]=t[f+c];t[d]=l[p];return}for(var m=i;;){var y=0,v=0,_=!1;do if(0>e(l[p],t[h])){if(t[d--]=t[h--],y++,v=0,0==--n){_=!0;break}}else if(t[d--]=l[p--],v++,y=0,1==--u){_=!0;break}while((y|v)<m)if(_)break;do{if(0!=(y=n-a(l[p],t,r,n,n-1,e))){for(d-=y,h-=y,n-=y,g=d+1,f=h+1,c=y-1;c>=0;c--)t[g+c]=t[f+c];if(0===n){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(v=u-o(t[h],l,0,u,u-1,e))){for(d-=v,p-=v,u-=v,g=d+1,f=p+1,c=0;c<v;c++)t[g+c]=l[f+c];if(u<=1){_=!0;break}}if(t[d--]=t[h--],0==--n){_=!0;break}m--}while(y>=7||v>=7)if(_)break;m<0&&(m=0),m+=2}if((i=m)<1&&(i=1),1===u){for(d-=n,h-=n,g=d+1,f=h+1,c=n-1;c>=0;c--)t[g+c]=t[f+c];t[d]=l[p]}else if(0===u)throw Error();else for(f=d-(u-1),c=0;c<u;c++)t[f+c]=l[c]}(c,h,p,d))}return r=[],n=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]<n[t+1]&&t--;else if(n[t]>n[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&n[t-1]<n[t+1]&&t--,u(t)}},pushRun:function(t,e){r[s]=t,n[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=n(t,r,s,e))<h){var p=l;p>h&&(p=h),i(t,r,r+p,r+u,e),u=p}c.pushRun(r,u),c.mergeRuns(),l-=u,r+=u}while(0!==l)c.forceMergeRuns()}}})},qY(t,e,r){"use strict";r.d(e,{},{$z:0,XM:2,cw:1,jP:1,r4:0})},iY(t,e,r){"use strict";var n=r("mZ"),i=b(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=b(["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,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function m(t){if(null==t||"object"!=typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!t[D]){e=[];for(var n=0,s=t.length;n<s;n++)e[n]=m(t[n])}}else if(o[r]){if(!t[D]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var n=0,s=t.length;n<s;n++)e[n]=t[n]}}}else if(!i[r]&&!t[D]&&!M(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=m(t[u]));return e}function y(t,e,r){if(!T(e)||!T(t))return r?m(e):t;for(var n in e)if(e.hasOwnProperty(n)&&n!==f){var i=t[n],o=e[n];!(T(o)&&T(i))||S(o)||S(i)||M(o)||M(i)||C(o)||C(i)||o[D]||i[D]?!r&&n in t||(t[n]=m(e[n])):y(i,o,r)}return t}function v(t,e){if(Object.assign)Object.assign(t,e);else for(var r in e)e.hasOwnProperty(r)&&r!==f&&(t[r]=e[r]);return t}function _(t,e,r){for(var n=A(e),i=0,o=n.length;i<o;i++){var a=n[i];(r?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}function x(t,e,r){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,r);else if(t.length===+t.length)for(var n=0,i=t.length;n<i;n++)e.call(r,t[n],n,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(r,t[o],o,t)}function b(t,e,r,n){if(t&&e){for(var i=0,o=t.length;i<o;i++)r=e.call(n,r,t[i],i,t);return r}}function A(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}n.yh.createCanvas;var w=d&&k(d.bind)?d.call.bind(d.bind):function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return t.apply(e,r.concat(c.call(arguments)))}};function S(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function k(t){return"function"==typeof t}function T(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function C(t){return!!i[a.call(t)]}function M(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function I(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return c.apply(t,e)}var D="__ec_primitive__",P=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 A(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)},t}(),O="function"==typeof Map,L=function(){function t(e){var r=S(e);this.data=O?new Map:new P;var n=this;function i(t,e){r?n.set(t,e):n.set(e,t)}e instanceof t?e.each(i):e&&x(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(r,n){t.call(e,r,n)})},t.prototype.keys=function(){var t=this.data.keys();return O?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}(),R=180/Math.PI;r.d(e,{},{$3:function(t,e){return t.hasOwnProperty(e)},Ac:function(t,e,r){t=t||{};for(var n=0;n<r.length;n++){var i=r[n];t[i]=e[i]}return t},B:function(t,e){var r=t.prototype;function n(){}for(var i in n.prototype=e.prototype,t.prototype=new n,r)r.hasOwnProperty(i)&&(t.prototype[i]=r[i]);t.prototype.constructor=t,t.superClass=e},Bq:function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},C7:function(t){return null!=t.colorStops},En:function(t){t[D]=!0},Et:function(t){return"number"==typeof t},Gv:T,HE:function(t){return null!=t.image},HP:A,I6:function(t,e,r){if(t&&e){for(var n=0,i=t.length;n<i;n++)if(e.call(r,t[n],n,t))return t[n]}},Je:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0,n=t.length;r<n;r++)if(null!=t[r])return t[r]},Kg:function(t){return"string"==typeof t},Lh:function(t){return"[object String]"===a.call(t)},NT:_,Os:function(){return g>=0x1fffffffffffff&&(g=0),g++},QX:function(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},TS:b,Tj:function(t,e,r){if(!t)return[];if(!e)return I(t);if(t.map&&t.map===h)return t.map(e,r);for(var n=[],i=0,o=t.length;i<o;i++)n.push(e.call(r,t[i],i,t));return n},Tn:k,Um:function(t,e){for(var r=t[0],n=1,i=t.length;n<i;n++)r=y(r,t[n],e);return r},WV:function(t,e,r){return null!=t?t:null!=e?e:r},X$:v,Xj:function(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length},Yp:function(t){return t!=t},__:x,bZ:function(t,e){return null!=t?t:e},cF:function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return function(){return t.apply(this,e.concat(c.call(arguments)))}},co:function(t,e,r){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var o=n[i];"constructor"!==o&&(r?null!=e[o]:null==t[o])&&(t[o]=e[o])}else _(t,e,r)},cy:S,di:I,ed:function(t,e){var r;if(Object.create)r=Object.create(t);else{var n=function(){};n.prototype=t,r=new n}return e&&v(r,e),r},h1:y,iq:function(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"},iu:function(t){return!!o[a.call(t)]},lI:R,lQ:function(){},n_:M,nt:function(t){return new L(t)},o8:m,oI:w,pb:function(t,e,r){if(!t)return[];if(!e)return I(t);if(t.filter&&t.filter===u)return t.filter(e,r);for(var n=[],i=0,o=t.length;i<o;i++)e.call(r,t[i],i,t)&&n.push(t[i]);return n},qh:function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r}return -1},vA:function(t,e){if(!t)throw Error(e)},vV:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"u">typeof console&&console.error.apply(console,t)},yB:function(t,e){for(var r=new t.constructor(t.length+e.length),n=0;n<t.length;n++)r[n]=t[n];for(var i=t.length,n=0;n<e.length;n++)r[n+i]=e[n];return r}})},xy(t,e,r){"use strict";function n(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}r.d(e,{},{C:function(t,e){return t[0]=e[0],t[1]=e[1],t},Cc:function(t,e,r,n){return t[0]=e[0]+n*(r[0]-e[0]),t[1]=e[1]+n*(r[1]-e[1]),t},Io:n,NW:function(t,e,r){var n=e[0],i=e[1];return t[0]=r[0]*n+r[2]*i+r[4],t[1]=r[1]*n+r[3]*i+r[5],t},S8:function(t,e){var r,n=Math.sqrt((r=e)[0]*r[0]+r[1]*r[1]);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},T9:function(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t},WQ:function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t},hZ:function(t,e,r){return t[0]=e,t[1]=r,t},hs:function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t},jb:function(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t},jk:function(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t},o8:function(t){return[t[0],t[1]]},oi:function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])},vt:function(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]},xg:n})},zY(t,e,r){"use strict";var n=r("SJG"),i=r("BC");e.A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,n.C6)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),r=0;r<t.length;r++)e=e||t[r].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),r=0;r<t.length;r++)t[r].path||t[r].createPathProxy(),t[r].path.setScale(e[0],e[1],t[r].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var r=e.paths||[],n=0;n<r.length;n++)r[n].buildPath(t,r[n].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),i.Ay.prototype.getBoundingRect.call(this)},e}(i.Ay)},el(t,e,r){"use strict";var n=r("SJG"),i=r("Qc"),o=r("Y8"),a=r("iY"),s=r("ke"),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"],p=["invisible"],d=function(t){var e;function r(e){return t.call(this,e)||this}return(0,n.C6)(r,t),r.prototype._init=function(e){for(var r=(0,a.HP)(e),n=0;n<r.length;n++){var i=r[n];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},r.prototype.beforeBrush=function(t){},r.prototype.afterBrush=function(){},r.prototype.innerBeforeBrush=function(){},r.prototype.innerAfterBrush=function(){},r.prototype.shouldBePainted=function(t,e,r,n){var i,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(i=this,o=t,a=e,f.copy(i.getBoundingRect()),i.transform&&f.applyTransform(i.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(r&&this.__clipPaths&&this.__clipPaths.length){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(n&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},r.prototype.contain=function(t,e){return this.rectContain(t,e)},r.prototype.traverse=function(t,e){t.call(e,this)},r.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(r[0],r[1])},r.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,r=this.getBoundingRect(),n=this.style,i=n.shadowBlur||0,a=n.shadowOffsetX||0,s=n.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Ay(0,0,0,0)),e?o.Ay.applyTransform(t,r,e):t.copy(r),(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},r.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Ay(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},r.prototype.getPrevPaintRect=function(){return this._prevPaintRect},r.prototype.animateStyle=function(t){return this.animate("style",t)},r.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},r.prototype.attrKV=function(e,r){"style"!==e?t.prototype.attrKV.call(this,e,r):this.style?this.setStyle(r):this.useStyle(r)},r.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.X$)(this.style,t),this.dirtyStyle(),this},r.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},r.prototype.dirty=function(){this.dirtyStyle()},r.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},r.prototype.styleUpdated=function(){this.__dirty&=~s.pO},r.prototype.createStyle=function(t){return(0,a.ed)(u,t)},r.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.style=t,this.dirtyStyle()},r.prototype._useHoverStyle=function(t){this.__hoverStyle=t},r.prototype.isStyleObject=function(t){return t[l]},r.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,r,h)},r.prototype._applyStateObj=function(e,r,n,o,s,l){t.prototype._applyStateObj.call(this,e,r,n,o,s,l);var u,c=!(r&&o),d=this.__inHover===i.yx;if(r&&r.style?s?o?u=r.style:(u=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(u,r.style)):(u=this._mergeStyle(this.createStyle(),o?this.style:n.style),this._mergeStyle(u,r.style)):c&&(u=n.style),u)if(s){var f=this.style;if(this.style=this.createStyle(c?{}:f),c)for(var g=(0,a.HP)(f),m=0;m<g.length;m++){var y=g[m];y in u&&(u[y]=u[y],this.style[y]=f[y])}for(var v=(0,a.HP)(u),m=0;m<v.length;m++){var y=v[m];this.style[y]=this.style[y]}this._transitionState(e,{style:u},l,this.getAnimationStyleProps())}else d?this._useHoverStyle(u):this.useStyle(u);if(!d)for(var _=this.__inHover?p:h,m=0;m<_.length;m++){var y=_[m];r&&null!=r[y]?this[y]=r[y]:c&&null!=n[y]&&(this[y]=n[y])}},r.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(n.style=r),n},r.prototype._mergeStyle=function(t,e){return(0,a.X$)(t,e),t},r.prototype.getAnimationStyleProps=function(){return c},r.initDefaultProps=void((e=r.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=0,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),r}(i.Ay),f=new o.Ay(0,0,0,0),g=new o.Ay(0,0,0,0);e.Ay=d,r.d(e,{},{oN:u,sW:c})},b8(t,e){"use strict";e.A=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},jZ(t,e,r){"use strict";var n=r("SJG"),i=r("iY"),o=r("Qc"),a=r("Y8"),s=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return(0,n.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,r=0;r<e.length;r++)if(e[r].name===t)return e[r]},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 r=this._children,n=r.indexOf(e);n>=0&&(r.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var r=i.qh(this._children,t);return r>=0&&this.replaceAt(e,r),this},e.prototype.replaceAt=function(t,e){var r=this._children,n=r[e];if(t&&t!==this&&t.parent!==this&&t!==n){r[e]=t,n.parent=null;var i=this.__zr;i&&n.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,r=this._children,n=i.qh(r,t);return n<0||(r.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,r=0;r<t.length;r++){var n=t[r];e&&n.removeSelfFromZr(e),n.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var r=this._children,n=0;n<r.length;n++){var i=r[n];t.call(e,i,n)}return this},e.prototype.traverse=function(t,e){for(var r=0;r<this._children.length;r++){var n=this._children[r],i=t.call(e,n);n.isGroup&&!i&&n.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Ay(0,0,0,0),r=t||this._children,n=[],i=null,o=0;o<r.length;o++){var s=r[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(n);u?(a.Ay.applyTransform(e,l,u),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(o.Ay);s.prototype.type="group",e.A=s},s5(t,e,r){"use strict";var n=r("SJG"),i=r("el"),o=r("Y8"),a=r("iY"),s=(0,a.NT)({x:0,y:0},i.oN),l={style:(0,a.NT)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.sW.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.createStyle=function(t){return(0,a.ed)(s,t)},e.prototype._getSize=function(t){var e,r=this.style,n=r[t];if(null!=n)return n;var i=(e=r.image)&&"string"!=typeof e&&e.width&&e.height?r.image:this.__image;if(!i)return 0;var o="width"===t?"height":"width",a=r[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.Ay(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.Ay);u.prototype.type="image",e.Ay=u},Up(t,e,r){"use strict";var n=r("SJG");e.A=function(t){function e(e,r,n,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==r?0:r,s.x2=null==n?1:n,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return(0,n.C6)(e,t),e}(r("b8").A)},BC(t,e,r){"use strict";r.d(e,{MW:()=>w,Ay:()=>T});var n=r("SJG"),i=r("el"),o=r("Qc"),a=r("Sv");function s(t,e,r,n,i,o,a){if(0===i)return!1;var s=0,l=t;if(a>e+i&&a>n+i||a<e-i&&a<n-i||o>t+i&&o>r+i||o<t-i&&o<r-i)return!1;if(t===r)return Math.abs(o-t)<=i/2;s=(e-n)/(t-r);var u=s*o-a+(l=(t*n-r*e)/(t-r));return u*u/(s*s+1)<=i/2*i/2}var l=r("mq"),u=2*Math.PI;function c(t){return(t%=u)<0&&(t+=u),t}var h=2*Math.PI;function p(t,e,r,n,i,o){if(o>e&&o>n||o<e&&o<n||n===e)return 0;var a=(o-e)/(n-e),s=n<e?1:-1;(1===a||0===a)&&(s=n<e?.5:-.5);var l=a*(r-t)+t;return l===i?1/0:l>i?s:0}var d=a.A.CMD,f=2*Math.PI,g=[-1,-1,-1],m=[-1,-1];function y(t,e,r,n,i){for(var o,a,u=t.data,y=t.len(),v=0,_=0,x=0,b=0,A=0,w=0;w<y;){var S,k,T,C,M,I,D,P,O,L,R,E,B,N,z=u[w++],F=1===w;switch(z===d.M&&w>1&&!r&&(v+=p(_,x,b,A,n,i)),F&&(_=u[w],x=u[w+1],b=_,A=x),z){case d.M:b=u[w++],A=u[w++],_=b,x=A;break;case d.L:if(r){if(s(_,x,u[w],u[w+1],e,n,i))return!0}else v+=p(_,x,u[w],u[w+1],n,i)||0;_=u[w++],x=u[w++];break;case d.C:if(r){if(S=_,k=x,T=u[w++],C=u[w++],M=u[w++],I=u[w++],D=u[w],P=u[w+1],0!==e&&(!(i>k+e)||!(i>C+e)||!(i>I+e)||!(i>P+e))&&(!(i<k-e)||!(i<C-e)||!(i<I-e)||!(i<P-e))&&(!(n>S+e)||!(n>T+e)||!(n>M+e)||!(n>D+e))&&(!(n<S-e)||!(n<T-e)||!(n<M-e)||!(n<D-e))&&l.Et(S,k,T,C,M,I,D,P,n,i,null)<=e/2)return!0}else v+=function(t,e,r,n,i,o,a,s,u,c){if(c>e&&c>n&&c>o&&c>s||c<e&&c<n&&c<o&&c<s)return 0;var h=l._E(e,n,o,s,c,g);if(0===h)return 0;for(var p=0,d=-1,f=void 0,y=void 0,v=0;v<h;v++){var _=g[v],x=0===_||1===_?.5:1;l.Yb(t,r,i,a,_)<u||(d<0&&(d=l.lX(e,n,o,s,m),m[1]<m[0]&&d>1&&function(){var t=m[0];m[0]=m[1],m[1]=t}(),f=l.Yb(e,n,o,s,m[0]),d>1&&(y=l.Yb(e,n,o,s,m[1]))),2===d?_<m[0]?p+=f<e?x:-x:_<m[1]?p+=y<f?x:-x:p+=s<y?x:-x:_<m[0]?p+=f<e?x:-x:p+=s<f?x:-x)}return p}(_,x,u[w++],u[w++],u[w++],u[w++],u[w],u[w+1],n,i)||0;_=u[w++],x=u[w++];break;case d.Q:if(r){if(O=_,L=x,R=u[w++],E=u[w++],B=u[w],N=u[w+1],0!==e&&(!(i>L+e)||!(i>E+e)||!(i>N+e))&&(!(i<L-e)||!(i<E-e)||!(i<N-e))&&(!(n>O+e)||!(n>R+e)||!(n>B+e))&&(!(n<O-e)||!(n<R-e)||!(n<B-e))&&(0,l.kh)(O,L,R,E,B,N,n,i,null)<=e/2)return!0}else v+=function(t,e,r,n,i,o,a,s){if(s>e&&s>n&&s>o||s<e&&s<n&&s<o)return 0;var u=l.qY(e,n,o,s,g);if(0===u)return 0;var c=l.gC(e,n,o);if(c>=0&&c<=1){for(var h=0,p=l.k3(e,n,o,c),d=0;d<u;d++){var f=0===g[d]||1===g[d]?.5:1,m=l.k3(t,r,i,g[d]);m<a||(g[d]<c?h+=p<e?f:-f:h+=o<p?f:-f)}return h}var f=0===g[0]||1===g[0]?.5:1,m=l.k3(t,r,i,g[0]);return m<a?0:o<e?f:-f}(_,x,u[w++],u[w++],u[w],u[w+1],n,i)||0;_=u[w++],x=u[w++];break;case d.A:var $=u[w++],H=u[w++],j=u[w++],W=u[w++],V=u[w++],Y=u[w++];w+=1;var X=!!(1-u[w++]);o=Math.cos(V)*j+$,a=Math.sin(V)*W+H,F?(b=o,A=a):v+=p(_,x,o,a,n,i);var G=(n-$)*W/j+$;if(r){if(function(t,e,r,n,i,o,a,s,l){if(0===a)return!1;var u=Math.sqrt((s-=t)*s+(l-=e)*l);if(u-a>r||u+a<r)return!1;if(Math.abs(n-i)%h<1e-4)return!0;if(o){var p=n;n=c(i),i=c(p)}else n=c(n),i=c(i);n>i&&(i+=h);var d=Math.atan2(l,s);return d<0&&(d+=h),d>=n&&d<=i||d+h>=n&&d+h<=i}($,H,W,V,V+Y,X,e,G,i))return!0}else v+=function(t,e,r,n,i,o,a,s){if((s-=e)>r||s<-r)return 0;var l=Math.sqrt(r*r-s*s);g[0]=-l,g[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=f-1e-4){n=0,i=f;var c=o?1:-1;return a>=g[0]+t&&a<=g[1]+t?c:0}if(n>i){var h=n;n=i,i=h}n<0&&(n+=f,i+=f);for(var p=0,d=0;d<2;d++){var m=g[d];if(m+t>a){var y=Math.atan2(s,m),c=o?1:-1;y<0&&(y=f+y),(y>=n&&y<=i||y+f>=n&&y+f<=i)&&(y>Math.PI/2&&y<1.5*Math.PI&&(c=-c),p+=c)}}return p}($,H,W,V,V+Y,X,G,i);_=Math.cos(V+Y)*j+$,x=Math.sin(V+Y)*W+H;break;case d.R:b=_=u[w++],A=x=u[w++];var U=u[w++],Z=u[w++];if(o=b+U,a=A+Z,r){if(s(b,A,o,A,e,n,i)||s(o,A,o,a,e,n,i)||s(o,a,b,a,e,n,i)||s(b,a,b,A,e,n,i))return!0}else v+=p(o,A,o,a,n,i),v+=p(b,a,b,A,n,i);break;case d.Z:if(r){if(s(_,x,b,A,e,n,i))return!0}else v+=p(_,x,b,A,n,i);_=b,x=A}}return r||1e-4>Math.abs(x-A)||(v+=p(_,x,b,A,n,i)||0),0!==v}var v=r("iY"),_=r("x4z"),x=r("Yo"),b=r("ke"),A=r("P7"),w=(0,v.NT)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.oN),S={style:(0,v.NT)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.sW.style)},k=A.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]),T=function(t){var e;function r(e){return t.call(this,e)||this}return(0,n.C6)(r,t),r.prototype.update=function(){var e=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new r;i.buildPath===r.prototype.buildPath&&(i.buildPath=function(t){e.buildPath(t,e.shape)}),i.silent=!0;var o=i.style;for(var a in n)o[a]!==n[a]&&(o[a]=n[a]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var s=0;s<k.length;++s)i[k[s]]=this[k[s]];i.__dirty|=b.M}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(e){var r=(0,v.HP)(e);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var o=r[i],a=e[o];"style"===o?this.style?(0,v.X$)(this.style,a):this.useStyle(a):"shape"===o?(0,v.X$)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.Kg)(t)){var e=(0,_.fN)(t,0);return e>.5?x._S:e>.2?x.tY:x.el}else if(t)return x.el}return x._S},r.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.Kg)(e)){var r=this.__zr;if(!!(r&&r.isDarkMode())==(0,_.fN)(t,0)<x.ps)return e}},r.prototype.buildPath=function(t,e,r){},r.prototype.pathUpdated=function(){this.__dirty&=~b.Dl},r.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},r.prototype.createPathProxy=function(){this.path=new a.A(!1)},r.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},r.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},r.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,r=!t;if(r){var n=!1;this.path||(n=!0,this.createPathProxy());var i=this.path;(n||this.__dirty&b.Dl)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||r){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},r.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),i=this.style;if(t=r[0],e=r[1],n.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)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=b.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(t){return this.animate("shape",t)},r.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(e,r){"shape"===e?this.setShape(r):t.prototype.attrKV.call(this,e,r)},r.prototype.setShape=function(t,e){var r=this.shape;return r||(r=this.shape={}),"string"==typeof t?r[t]=e:(0,v.X$)(r,t),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&b.Dl)},r.prototype.createStyle=function(t){return(0,v.ed)(w,t)},r.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=(0,v.X$)({},this.shape))},r.prototype._applyStateObj=function(e,r,n,i,a,s){if(t.prototype._applyStateObj.call(this,e,r,n,i,a,s),this.__inHover!==o.yx){var l,u=!(r&&i);if(r&&r.shape?a?i?l=r.shape:(l=(0,v.X$)({},n.shape),(0,v.X$)(l,r.shape)):(l=(0,v.X$)({},i?this.shape:n.shape),(0,v.X$)(l,r.shape)):u&&(l=n.shape),l)if(a){this.shape=(0,v.X$)({},this.shape);for(var c={},h=(0,v.HP)(l),p=0;p<h.length;p++){var d=h[p];"object"==typeof l[d]?this.shape[d]=l[d]:c[d]=l[d]}this._transitionState(e,{shape:c},s)}else this.shape=l,this.dirtyShape()}},r.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(n.shape=r),n},r.prototype.getAnimationStyleProps=function(){return S},r.prototype.isZeroArea=function(){return!1},r.extend=function(t){var e=function(e){function r(r){var n=e.call(this,r)||this;return t.init&&t.init.call(n,r),n}return(0,n.C6)(r,e),r.prototype.getDefaultStyle=function(){return(0,v.o8)(t.style)},r.prototype.getDefaultShape=function(){return(0,v.o8)(t.shape)},r}(r);for(var i in t)"function"==typeof t[i]&&(e.prototype[i]=t[i]);return e},r.initDefaultProps=void((e=r.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=b.M|b.pO|b.Dl),r}(i.Ay)},Ne(t,e,r){"use strict";var n=r("SJG"),i=r("el"),o=r("BC"),a=r("iY"),s=r("mZ"),l=r("JQ"),u=(0,a.NT)({strokeFirst:!0,font:s.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.hasStroke=function(){return(0,l.n7)(this.style)},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,a.ed)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=(0,l.Xf)(this.style)),this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.Ay);c.prototype.type="tspan",e.A=c},s2(t,e,r){"use strict";var n=r("SJG"),i=r("JQ"),o=r("Ne"),a=r("iY"),s=r("KO"),l=r("s5"),u=r("Vb"),c=r("Y8"),h=r("el"),p=r("mZ"),d={fill:"#000"},f={},g={style:(0,a.NT)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},h.sW.style)},m=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=d,r.attr(e),r}return(0,n.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var r=this._children[e];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.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 r=this.innerTransformable;return r?r.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,b(t=this.style),(0,a.__)(t.rich,b),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new c.Ay(0,0,0,0),e=this._children,r=[],n=null,i=0;i<e.length;i++){var o=e[i],a=o.getBoundingRect(),s=o.getLocalTransform(r);s?(t.copy(a),t.applyTransform(s),(n=n||t.clone()).union(t)):(n=n||a.clone()).union(a)}this._rect=n||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 r=e.rich,n=t.rich||r&&{};return(0,a.X$)(t,e),r&&n?(this._mergeRich(n,r),t.rich=n):n&&(t.rich=n),t},e.prototype._mergeRich=function(t,e){for(var r=(0,a.HP)(e),n=0;n<r.length;n++){var i=r[n];t[i]=t[i]||{},(0,a.X$)(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return g},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||p.OH,r=t.padding,n=this._defaultStyle,a=t.x||0,l=t.y||0,u=t.align||n.align||"left",c=t.verticalAlign||n.verticalAlign||"top";(0,i.Ss)(f,n.overflowRect,a,l,u,c),a=f.baseX,l=f.baseY;var h=k(t),d=(0,i.j_)(h,t,f.outerWidth,f.outerHeight),g=T(t),m=!!t.backgroundColor,y=d.outerHeight,v=d.outerWidth,_=d.lines,b=d.lineHeight;this.isTruncated=!!d.isTruncated;var C=a,M=(0,s.sZ)(l,d.contentHeight,c);if(g||r){var I=(0,s.ll)(a,v,u),D=(0,s.sZ)(l,y,c);g&&this._renderBackground(t,t,I,D,v,y)}M+=b/2,r&&(C=S(a,u,r),"top"===c?M+=r[0]:"bottom"===c&&(M-=r[2]));for(var P=0,O=!1,L=!1,R=w("fill"in t?t.fill:(L=!0,n.fill)),E=A("stroke"in t?t.stroke:m||n.autoStroke&&!L?null:(P=2,O=!0,n.stroke)),B=t.textShadowBlur>0,N=0;N<_.length;N++){var z=this._getOrCreateChild(o.A),F=z.createStyle();z.useStyle(F),F.text=_[N],F.x=C,F.y=M,u&&(F.textAlign=u),F.textBaseline="middle",F.opacity=t.opacity,F.strokeFirst=!0,B&&(F.shadowBlur=t.textShadowBlur||0,F.shadowColor=t.textShadowColor||"transparent",F.shadowOffsetX=t.textShadowOffsetX||0,F.shadowOffsetY=t.textShadowOffsetY||0),F.stroke=E,F.fill=R,E&&(F.lineWidth=t.lineWidth||P,F.lineDash=t.lineDash,F.lineDashOffset=t.lineDashOffset||0),F.font=e,x(F,t),M+=b,z.setBoundingRect((0,i.xu)(F,d.contentWidth,d.calculatedLineHeight,O?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,e=this._defaultStyle,r=t.align||e.align,n=t.verticalAlign||e.verticalAlign,o=t.x||0,a=t.y||0;(0,i.Ss)(f,e.overflowRect,o,a,r,n),o=f.baseX,a=f.baseY;var l=k(t),u=(0,i.FQ)(l,t,f.outerWidth,f.outerHeight,r),c=u.width,h=u.outerWidth,p=u.outerHeight,d=t.padding;this.isTruncated=!!u.isTruncated;var g=(0,s.ll)(o,h,r),m=(0,s.sZ)(a,p,n),y=g,v=m;d&&(y+=d[3],v+=d[0]);var _=y+c;T(t)&&this._renderBackground(t,t,g,m,h,p);for(var x=!!t.backgroundColor,b=0;b<u.lines.length;b++){for(var A=u.lines[b],w=A.tokens,S=w.length,C=A.lineHeight,M=A.width,I=0,D=y,P=_,O=S-1,L=void 0;I<S&&(!(L=w[I]).align||"left"===L.align);)this._placeToken(L,t,C,v,D,"left",x),M-=L.width,D+=L.width,I++;for(;O>=0&&"right"===(L=w[O]).align;)this._placeToken(L,t,C,v,P,"right",x),M-=L.width,P-=L.width,O--;for(D+=(c-(D-y)-(_-P)-M)/2;I<=O;)L=w[I],this._placeToken(L,t,C,v,D+L.width/2,"center",x),D+=L.width,I++;v+=C}},e.prototype._placeToken=function(t,e,r,n,s,l,u){var c=e.rich[t.styleName]||{};c.text=t.text;var h=t.verticalAlign,d=n+r/2;"top"===h?d=n+t.height/2:"bottom"===h&&(d=n+r-t.height/2),!t.isLineHolder&&T(c)&&this._renderBackground(c,e,"right"===l?s-t.width:"center"===l?s-t.width/2:s,d-t.height/2,t.width,t.height);var f=!!c.backgroundColor,g=t.textPadding;g&&(s=S(s,l,g),d-=t.height/2-g[0]-t.innerHeight/2);var m=this._getOrCreateChild(o.A),y=m.createStyle();m.useStyle(y);var v=this._defaultStyle,_=!1,b=0,k=!1,C=w("fill"in c?c.fill:"fill"in e?e.fill:(_=!0,v.fill)),M=A("stroke"in c?c.stroke:"stroke"in e?e.stroke:f||u||v.autoStroke&&!_?null:(b=2,k=!0,v.stroke)),I=c.textShadowBlur>0||e.textShadowBlur>0;y.text=t.text,y.x=s,y.y=d,I&&(y.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,y.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",y.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,y.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),y.textAlign=l,y.textBaseline="middle",y.font=t.font||p.OH,y.opacity=(0,a.WV)(c.opacity,e.opacity,1),x(y,c),M&&(y.lineWidth=(0,a.WV)(c.lineWidth,e.lineWidth,b),y.lineDash=(0,a.bZ)(c.lineDash,e.lineDash),y.lineDashOffset=e.lineDashOffset||0,y.stroke=M),C&&(y.fill=C),m.setBoundingRect((0,i.xu)(y,t.contentWidth,t.contentHeight,k?0:null))},e.prototype._renderBackground=function(t,e,r,n,i,o){var s,c,h=t.backgroundColor,p=t.borderWidth,d=t.borderColor,f=h&&h.image,g=h&&!f,m=t.borderRadius,y=this;if(g||t.lineHeight||p&&d){(s=this._getOrCreateChild(u.A)).useStyle(s.createStyle()),s.style.fill=null;var v=s.shape;v.x=r,v.y=n,v.width=i,v.height=o,v.r=m,s.dirtyShape()}if(g){var _=s.style;_.fill=h||null,_.fillOpacity=(0,a.bZ)(t.fillOpacity,1)}else if(f){(c=this._getOrCreateChild(l.Ay)).onload=function(){y.dirtyStyle()};var x=c.style;x.image=h.image,x.x=r,x.y=n,x.width=i,x.height=o}if(p&&d){var _=s.style;_.lineWidth=p,_.stroke=d,_.strokeOpacity=(0,a.bZ)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var b=(s||c).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||"transparent",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=(0,a.WV)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,r,n="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(n=[t.fontStyle,t.fontWeight,"string"==typeof(r=t.fontSize)&&(-1!==r.indexOf("px")||-1!==r.indexOf("rem")||-1!==r.indexOf("em"))?r:isNaN(+r)?p.gI+"px":r+"px",t.fontFamily||"sans-serif"].join(" ")),n&&(0,a.Bq)(n)||t.textFont||t.font},e}(h.Ay),y={left:!0,right:1,center:1},v={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function x(t,e){for(var r=0;r<_.length;r++){var n=_[r],i=e[n];null!=i&&(t[n]=i)}}function b(t){if(t){t.font=m.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||y[e]?e:"left";var r=t.verticalAlign;"center"===r&&(r="middle"),t.verticalAlign=null==r||v[r]?r:"top",t.padding&&(t.padding=(0,a.QX)(t.padding))}}function A(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,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function k(t){var e=t.text;return null!=e&&(e+=""),e}function T(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}e.Ay=m},ke(t,e,r){"use strict";r.d(e,{},{Dl:4,M:1,pO:2})},T0(t,e,r){"use strict";var n=r("B5"),i=r("mZ"),o=new n.Ay(50);function a(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var r=t.pending[e],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}t.pending.length=0}function s(t){return t&&t.width&&t.height}r.d(e,{},{OD:function(t,e,r,n,l){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!r)return e;var u=o.get(t),c={hostEl:r,cb:n,cbPayload:l};return u?s(e=u.image)||u.pending.push(c):((e=i.yh.loadImage(t,a,a)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e},SR:function(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image},xA:s})},JQ(t,e,r){"use strict";var n=r("T0"),i=r("iY"),o=r("KO"),a=r("Y8"),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,r,n){n=n||{};var a=(0,i.X$)({},n);r=(0,i.bZ)(r,"..."),a.maxIterations=(0,i.bZ)(n.maxIterations,2);var s=a.minChar=(0,i.bZ)(n.minChar,0),l=a.fontMeasureInfo=(0,o.Qw)(e),u=l.asciiCharWidth;a.placeholder=(0,i.bZ)(n.placeholder,"");for(var c=t=Math.max(0,t-1),h=0;h<s&&c>=u;h++)c-=u;var p=(0,o.l8)(l,r);return p>c&&(r="",p=0),c=t-p,a.ellipsis=r,a.ellipsisWidth=p,a.contentWidth=c,a.containerWidth=t,a}function u(t,e,r){var n=r.containerWidth,i=r.contentWidth,a=r.fontMeasureInfo;if(!n){t.textLine="",t.isTruncated=!1;return}var s=(0,o.l8)(a,e);if(s<=n){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=i||l>=r.maxIterations){e+=r.ellipsis;break}var u=0===l?function(t,e,r){for(var n=0,i=0,a=t.length;i<a&&n<e;i++)n+=(0,o.JK)(r,t.charCodeAt(i));return i}(e,i,a):s>0?Math.floor(e.length*i/s):0;e=e.substr(0,u),s=(0,o.l8)(a,e)}""===e&&(e=r.placeholder),t.textLine=e,t.isTruncated=!0}var c=function(){},h=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 d(t,e,r,n,i){var a,s,l=""===e,u=i&&r.rich[i]||{},p=t.lines,d=u.font||r.font,f=!1;if(n){var m=u.padding,y=m?m[1]+m[3]:0;if(null!=u.width&&"auto"!==u.width){var v=(0,o.lo)(u.width,n.width)+y;p.length>0&&v+n.accumWidth>n.width&&(a=e.split("\n"),f=!0),n.accumWidth=v}else{var _=g(e,d,n.width,n.breakAll,n.accumWidth);n.accumWidth=_.accumWidth+y,s=_.linesWidths,a=_.lines}}a||(a=e.split("\n"));for(var x=(0,o.Qw)(d),b=0;b<a.length;b++){var A=a[b],w=new c;if(w.styleName=i,w.text=A,w.isLineHolder=!A&&!l,"number"==typeof u.width?w.width=u.width:w.width=s?s[b]:(0,o.l8)(x,A),b||f)p.push(new h([w]));else{var S=(p[p.length-1]||(p[0]=new h)).tokens,k=S.length;1===k&&S[0].isLineHolder?S[0]=w:(A||!k||l)&&S.push(w)}}}var f=(0,i.TS)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function g(t,e,r,n,i){for(var a=[],s=[],l="",u="",c=0,h=0,p=(0,o.Qw)(e),d=0;d<t.length;d++){var g=t.charAt(d);if("\n"===g){u&&(l+=u,h+=c),a.push(l),s.push(h),l="",u="",c=0,h=0;continue}var m=(0,o.JK)(p,g.charCodeAt(0)),y=!n&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!f[t]}(g);if(a.length?h+m>r:i+h+m>r){h?(l||u)&&(y?(l||(l=u,u="",h=c=0),a.push(l),s.push(h-c),u+=g,c+=m,l="",h=c):(u&&(l+=u,u="",c=0),a.push(l),s.push(h),l=g,h=m)):y?(a.push(u),s.push(c),u=g,c=m):(a.push(g),s.push(m));continue}h+=m,y?(u+=g,c+=m):(u&&(l+=u,u="",c=0),l+=g)}return u&&(l+=u),l&&(a.push(l),s.push(h)),1===a.length&&(h+=i),{accumWidth:h,lines:a,linesWidths:s}}var m=new a.Ay(0,0,0,0),y={outIntersectRect:{},clamp:!0};function v(t){return null!=t?t+="":t=""}function _(t,e,r,n){var i=new a.Ay((0,o.ll)(t.x||0,e,t.textAlign),(0,o.sZ)(t.y||0,r,t.textBaseline),e,r),s=null!=n?n:x(t)?t.lineWidth:0;return s>0&&(i.x-=s/2,i.y-=s/2,i.width+=s,i.height+=s),i}function x(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}r.d(e,{},{FQ:function(t,e,r,a,c){var h,f=new p,g=v(t);if(!g)return f;var m=e.padding,y=m?m[1]+m[3]:0,_=m?m[0]+m[2]:0,x=e.width;null==x&&null!=r&&(x=r-y);var b=e.height;null==b&&null!=a&&(b=a-_);for(var A=e.overflow,w=("break"===A||"breakAll"===A)&&null!=x?{width:x,accumWidth:0,breakAll:"breakAll"===A}:null,S=s.lastIndex=0;null!=(h=s.exec(g));){var k=h.index;k>S&&d(f,g.substring(S,k),e,w),d(f,h[2],e,w,h[1]),S=s.lastIndex}S<g.length&&d(f,g.substring(S,g.length),e,w);var T=[],C=0,M=0,I="truncate"===A,D="truncate"===e.lineOverflow,P={};function O(t,e,r){t.width=e,t.lineHeight=r,C+=r,M=Math.max(M,e)}r:for(var L=0;L<f.lines.length;L++){for(var R=f.lines[L],E=0,B=0,N=0;N<R.tokens.length;N++){var z=R.tokens[N],F=z.styleName&&e.rich[z.styleName]||{},$=z.textPadding=F.padding,H=$?$[1]+$[3]:0,j=z.font=F.font||e.font;z.contentHeight=(0,o.ks)(j);var W=(0,i.bZ)(F.height,z.contentHeight);if(z.innerHeight=W,$&&(W+=$[0]+$[2]),z.height=W,z.lineHeight=(0,i.WV)(F.lineHeight,e.lineHeight,W),z.align=F&&F.align||c,z.verticalAlign=F&&F.verticalAlign||"middle",D&&null!=b&&C+z.lineHeight>b){var V=f.lines.length;N>0?(R.tokens=R.tokens.slice(0,N),O(R,B,E),f.lines=f.lines.slice(0,L+1)):f.lines=f.lines.slice(0,L),f.isTruncated=f.isTruncated||f.lines.length<V;break r}var Y=F.width,X=null==Y||"auto"===Y;if("string"==typeof Y&&"%"===Y.charAt(Y.length-1))z.percentWidth=Y,T.push(z),z.contentWidth=(0,o.l8)((0,o.Qw)(j),z.text);else{if(X){var G=F.backgroundColor,U=G&&G.image;U&&(U=n.SR(U),n.xA(U)&&(z.width=Math.max(z.width,U.width*W/U.height)))}var Z=I&&null!=x?x-B:null;null!=Z&&Z<z.width?!X||Z<H?(z.text="",z.width=z.contentWidth=0):(!function(t,e,r,n,i,o){if(!r){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=l(r,n,i,o);for(var s=!1,c={},h=0,p=a.length;h<p;h++)u(c,a[h],o),a[h]=c.textLine,s=s||c.isTruncated;t.text=a.join("\n"),t.isTruncated=s}(P,z.text,Z-H,j,e.ellipsis,{minChar:e.truncateMinChar}),z.text=P.text,f.isTruncated=f.isTruncated||P.isTruncated,z.width=z.contentWidth=(0,o.l8)((0,o.Qw)(j),z.text)):z.contentWidth=(0,o.l8)((0,o.Qw)(j),z.text)}z.width+=H,B+=z.width,F&&(E=Math.max(E,z.lineHeight))}O(R,B,E)}f.outerWidth=f.width=(0,i.bZ)(x,M),f.outerHeight=f.height=(0,i.bZ)(b,C),f.contentHeight=C,f.contentWidth=M,f.outerWidth+=y,f.outerHeight+=_;for(var L=0;L<T.length;L++){var z=T[L],q=z.percentWidth;z.width=parseInt(q,10)/100*f.width}return f},Ss:function(t,e,r,n,i,s){if(t.baseX=r,t.baseY=n,t.outerWidth=t.outerHeight=null,e){var l=2*e.width,u=2*e.height;a.Ay.set(m,(0,o.ll)(r,l,i),(0,o.sZ)(n,u,s),l,u),a.Ay.intersect(e,m,null,y);var c=y.outIntersectRect;t.outerWidth=c.width,t.outerHeight=c.height,t.baseX=(0,o.ll)(c.x,c.width,i,!0),t.baseY=(0,o.sZ)(c.y,c.height,s,!0)}},Xf:function(t){var e=v(t.text),r=t.font;return _(t,(0,o.l8)((0,o.Qw)(r),e),(0,o.ks)(r),null)},j_:function(t,e,r,n){var a,s=v(t),c=e.overflow,h=e.padding,p=h?h[1]+h[3]:0,d=h?h[0]+h[2]:0,f=e.font,m=(0,o.ks)(f),y=(0,i.bZ)(e.lineHeight,m),_="truncate"===e.lineOverflow,x=!1,b=e.width;null==b&&null!=r&&(b=r-p);var A=e.height;null==A&&null!=n&&(A=n-d);var w=(a=null!=b&&("break"===c||"breakAll"===c)?s?g(s,e.font,b,"breakAll"===c,0).lines:[]:s?s.split("\n"):[]).length*y;if(null==A&&(A=w),w>A&&_){var S=Math.floor(A/y);x=x||a.length>S,w=(a=a.slice(0,S)).length*y}if(s&&"truncate"===c&&null!=b)for(var k=l(b,f,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),T={},C=0;C<a.length;C++)u(T,a[C],k),a[C]=T.textLine,x=x||T.isTruncated;for(var M=A,I=0,D=(0,o.Qw)(f),C=0;C<a.length;C++)I=Math.max((0,o.l8)(D,a[C]),I);null==b&&(b=I);var P=b;return M+=d,{lines:a,height:A,outerWidth:P+=p,outerHeight:M,lineHeight:y,calculatedLineHeight:m,contentWidth:I,contentHeight:w,width:b,isTruncated:x}},n7:x,xu:_})},mg(t,e,r){"use strict";r.d(e,{U:()=>i});var n=r("xy");function i(t,e,r){var i=e.smooth,o=e.points;if(o&&o.length>=2){if(i){var a=function(t,e,r,i){var o,a,s,l,u=[],c=[],h=[],p=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,n.jk)(s,s,t[d]),(0,n.T9)(l,l,t[d]);(0,n.jk)(s,s,i[0]),(0,n.T9)(l,l,i[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(r)o=t[d?d-1:f-1],a=t[(d+1)%f];else if(0===d||d===f-1){u.push((0,n.o8)(t[d]));continue}else o=t[d-1],a=t[d+1];(0,n.jb)(c,a,o),(0,n.hs)(c,c,e);var m=(0,n.Io)(g,o),y=(0,n.Io)(g,a),v=m+y;0!==v&&(m/=v,y/=v),(0,n.hs)(h,c,-m),(0,n.hs)(p,c,y);var _=(0,n.WQ)([],g,h),x=(0,n.WQ)([],g,p);i&&((0,n.T9)(_,_,s),(0,n.jk)(_,_,l),(0,n.T9)(x,x,s),(0,n.jk)(x,x,l)),u.push(_),u.push(x)}return r&&u.push(u.shift()),u}(o,i,r,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(r?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,p=o.length;l<p;l++)t.lineTo(o[l][0],o[l][1])}r&&t.closePath()}}},JU(t,e,r){"use strict";var n=Math.round;function i(t,e,r){if(!e)return t;var i=n(2*t);return(i+n(e))%2==0?i/2:(i+(r?1:-1))/2}r.d(e,{},{M7:i,Op:function(t,e,r){if(e){var n=e.x,o=e.y,a=e.width,s=e.height;t.x=n,t.y=o,t.width=a,t.height=s;var l=r&&r.lineWidth;return l&&(t.x=i(n,l,!0),t.y=i(o,l,!0),t.width=Math.max(i(n+a,l,!1)-t.x,+(0!==a)),t.height=Math.max(i(o+s,l,!1)-t.y,+(0!==s))),t}},eB:function(t,e,r){if(e){var o=e.x1,a=e.x2,s=e.y1,l=e.y2;t.x1=o,t.x2=a,t.y1=s,t.y2=l;var u=r&&r.lineWidth;return u&&(n(2*o)===n(2*a)&&(t.x1=t.x2=i(o,u,!0)),n(2*s)===n(2*l)&&(t.y1=t.y2=i(s,u,!0))),t}}})},Wf(t,e,r){"use strict";var n=r("SJG"),i=r("BC"),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,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,n=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+r,u*i+n),t.arc(r,n,i,o,a,!s)},e}(i.Ay);a.prototype.type="arc",e.A=a},QO(t,e,r){"use strict";var n=r("SJG"),i=r("BC"),o=r("xy"),a=r("mq"),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,r){var n=t.cpx2,i=t.cpy2;return null!=n||null!=i?[(r?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(r?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var r=e.x1,n=e.y1,i=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,p=e.percent;0!==p&&(t.moveTo(r,n),null==c||null==h?(p<1&&((0,a.kx)(r,l,i,p,s),l=s[1],i=s[2],(0,a.kx)(n,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,i,o)):(p<1&&((0,a.YT)(r,l,c,i,p,s),l=s[1],c=s[2],i=s[3],(0,a.YT)(n,u,h,o,p,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.S8(e,e)},e}(i.Ay);c.prototype.type="bezier-curve",e.A=c},vH(t,e,r){"use strict";var n=r("SJG"),i=r("BC"),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,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(i.Ay);a.prototype.type="circle",e.A=a},xz(t,e,r){"use strict";var n=r("SJG"),i=r("BC"),o=r("JU"),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,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var r,n,i,s,l=(0,o.eB)(a,e,this.style);r=l.x1,n=l.y1,i=l.x2,s=l.y2}else r=e.x1,n=e.y1,i=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(r,n),u<1&&(i=r*(1-u)+i*u,s=n*(1-u)+s*u),t.lineTo(i,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(i.Ay);l.prototype.type="line",e.A=l},hC(t,e,r){"use strict";var n=r("SJG"),i=r("BC"),o=r("mg"),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,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(i.Ay);s.prototype.type="polygon",e.A=s},Jx(t,e,r){"use strict";var n=r("SJG"),i=r("BC"),o=r("mg"),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,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(i.Ay);s.prototype.type="polyline",e.A=s},Vb(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r("SJG"),i=r("BC"),o=r("JU"),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,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var r,n,i,a,l,u,c,h,p,d,f,g,m,y,v,_=(0,o.Op)(s,e,this.style);g=_.x,m=_.y,y=_.width,v=_.height,_.r=e.r,e=_}else g=e.x,m=e.y,y=e.width,v=e.height;e.r?(c=(r=e).x,h=r.y,p=r.width,d=r.height,f=r.r,p<0&&(c+=p,p=-p),d<0&&(h+=d,d=-d),"number"==typeof f?n=i=a=l=f:f instanceof Array?1===f.length?n=i=a=l=f[0]:2===f.length?(n=a=f[0],i=l=f[1]):3===f.length?(n=f[0],i=l=f[1],a=f[2]):(n=f[0],i=f[1],a=f[2],l=f[3]):n=i=a=l=0,n+i>p&&(u=n+i,n*=p/u,i*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),i+a>d&&(u=i+a,i*=d/u,a*=d/u),n+l>d&&(u=n+l,n*=d/u,l*=d/u),t.moveTo(c+n,h),t.lineTo(c+p-i,h),0!==i&&t.arc(c+p-i,h+i,i,-Math.PI/2,0),t.lineTo(c+p,h+d-a),0!==a&&t.arc(c+p-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+n),0!==n&&t.arc(c+n,h+n,n,Math.PI,1.5*Math.PI),t.closePath()):t.rect(g,m,y,v)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.Ay);l.prototype.type="rect";var u=l},Qz(t,e,r){"use strict";r.d(e,{A:()=>_});var n=r("SJG"),i=r("BC"),o=r("iY"),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,h=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function m(t,e,r,n,i,o,a){var s=t-r,l=e-n,u=(a?o:-o)/d(s*s+l*l),c=u*l,h=-u*s,p=t+c,g=e+h,m=r+c,y=n+h,v=(p+m)/2,_=(g+y)/2,x=m-p,b=y-g,A=x*x+b*b,w=i-o,S=p*y-m*g,k=(b<0?-1:1)*d(f(0,w*w*A-S*S)),T=(S*b-x*k)/A,C=(-S*x-b*k)/A,M=(S*b+x*k)/A,I=(-S*x+b*k)/A,D=T-v,P=C-_,O=M-v,L=I-_;return D*D+P*P>O*O+L*L&&(T=M,C=I),{cx:T,cy:C,x0:-c,y0:-h,x1:T*(i/w-1),y1:C*(i/w-1)}}var y=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},v=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new y},e.prototype.buildPath=function(t,e){!function(t,e){var r,n=f(e.r,0),i=f(e.r0||0,0),y=n>0,v=i>0;if(y||v){if(y||(n=i,i=0),i>n){var _=n;n=i,i=_}var x=e.startAngle,b=e.endAngle;if(!(isNaN(x)||isNaN(b))){var A=e.cx,w=e.cy,S=!!e.clockwise,k=p(b-x),T=k>s&&k%s;if(T>1e-4&&(k=T),n>1e-4)if(k>s-1e-4)t.moveTo(A+n*u(x),w+n*l(x)),t.arc(A,w,n,x,b,!S),i>1e-4&&(t.moveTo(A+i*u(b),w+i*l(b)),t.arc(A,w,i,b,x,S));else{var C=void 0,M=void 0,I=void 0,D=void 0,P=void 0,O=void 0,L=void 0,R=void 0,E=void 0,B=void 0,N=void 0,z=void 0,F=void 0,$=void 0,H=void 0,j=void 0,W=n*u(x),V=n*l(x),Y=i*u(b),X=i*l(b),G=k>1e-4;if(G){var U=e.cornerRadius;U&&(C=(r=function(t){var e;if((0,o.cy)(t)){var r=t.length;if(!r)return t;e=1===r?[t[0],t[0],0,0]:2===r?[t[0],t[0],t[1],t[1]]:3===r?t.concat(t[2]):t}else e=[t,t,t,t];return e}(U))[0],M=r[1],I=r[2],D=r[3]);var Z=p(n-i)/2;if(P=g(Z,I),O=g(Z,D),L=g(Z,C),R=g(Z,M),N=E=f(P,O),z=B=f(L,R),(E>1e-4||B>1e-4)&&(F=n*u(b),$=n*l(b),H=i*u(x),j=i*l(x),k<a)){var q=function(t,e,r,n,i,o,a,s){var l=r-t,u=n-e,c=a-i,h=s-o,p=h*l-c*u;if(!(p*p<1e-4))return p=(c*(e-o)-h*(t-i))/p,[t+p*l,e+p*u]}(W,V,H,j,F,$,Y,X);if(q){var K=W-q[0],Q=V-q[1],J=F-q[0],tt=$-q[1],te=1/l(c((K*J+Q*tt)/(d(K*K+Q*Q)*d(J*J+tt*tt)))/2),tr=d(q[0]*q[0]+q[1]*q[1]);N=g(E,(n-tr)/(te+1)),z=g(B,(i-tr)/(te-1))}}}if(G)if(N>1e-4){var tn=g(I,N),ti=g(D,N),to=m(H,j,W,V,n,tn,S),ta=m(F,$,Y,X,n,ti,S);t.moveTo(A+to.cx+to.x0,w+to.cy+to.y0),N<E&&tn===ti?t.arc(A+to.cx,w+to.cy,N,h(to.y0,to.x0),h(ta.y0,ta.x0),!S):(tn>0&&t.arc(A+to.cx,w+to.cy,tn,h(to.y0,to.x0),h(to.y1,to.x1),!S),t.arc(A,w,n,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),!S),ti>0&&t.arc(A+ta.cx,w+ta.cy,ti,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!S))}else t.moveTo(A+W,w+V),t.arc(A,w,n,x,b,!S);else t.moveTo(A+W,w+V);if(i>1e-4&&G)if(z>1e-4){var tn=g(C,z),ti=g(M,z),to=m(Y,X,F,$,i,-ti,S),ta=m(W,V,H,j,i,-tn,S);t.lineTo(A+to.cx+to.x0,w+to.cy+to.y0),z<B&&tn===ti?t.arc(A+to.cx,w+to.cy,z,h(to.y0,to.x0),h(ta.y0,ta.x0),!S):(ti>0&&t.arc(A+to.cx,w+to.cy,ti,h(to.y0,to.x0),h(to.y1,to.x1),!S),t.arc(A,w,i,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),S),tn>0&&t.arc(A+ta.cx,w+ta.cy,tn,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!S))}else t.lineTo(A+Y,w+X),t.arc(A,w,i,b,x,S);else t.lineTo(A+Y,w+X)}else t.moveTo(A,w);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i.Ay);v.prototype.type="sector";var _=v},x4z(t,e,r){"use strict";var n=r("B5"),i=r("iY"),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,r){return(r<0?r+=1:r>1&&(r-=1),6*r<1)?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function h(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new n.Ay(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function m(t,e){if(t){e=e||[];var r=d.get(t);if(r)return p(e,r);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in o)return p(e,o[n]),g(t,e),e;var i=n.length;if("#"===n.charAt(0)){if(4===i||5===i){var a=parseInt(n.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(n.slice(4),16)/15:1),g(t,e),e):void h(e,0,0,0,1)}if(7===i||9===i){var a=parseInt(n.slice(1,7),16);return a>=0&&a<=0xffffff?(h(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===i?parseInt(n.slice(7),16)/255:1),g(t,e),e):void h(e,0,0,0,1)}return}var s=n.indexOf("("),c=n.indexOf(")");if(-1!==s&&c+1===i){var f=n.substr(0,s),m=n.substr(s+1,c-(s+1)).split(","),v=1;switch(f){case"rgba":if(4!==m.length)return 3===m.length?h(e,+m[0],+m[1],+m[2],1):h(e,0,0,0,1);v=u(m.pop());case"rgb":if(m.length>=3)return h(e,l(m[0]),l(m[1]),l(m[2]),3===m.length?v:u(m[3])),g(t,e),e;return void h(e,0,0,0,1);case"hsla":if(4!==m.length)return void h(e,0,0,0,1);return m[3]=u(m[3]),y(m,e),g(t,e),e;case"hsl":if(3!==m.length)return void h(e,0,0,0,1);return y(m,e),g(t,e),e;default:return}}h(e,0,0,0,1)}}function y(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),i=u(t[2]),o=i<=.5?i*(n+1):i+n-i*n,s=2*i-o;return h(e=e||[],a(255*c(s,o,r+1/3)),a(255*c(s,o,r)),a(255*c(s,o,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e){var r=m(t);if(r){for(var n=0;n<3;n++)e<0?r[n]=r[n]*(1-e)|0:r[n]=(255-r[n])*e+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return _(r,4===r.length?"rgba":"rgb")}}function _(t,e){if(t&&t.length){var r=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(r+=","+t[3]),e+"("+r+")"}}var x=new n.Ay(100);r.d(e,{},{As:_,Cc:function(t,e,r){if(e&&e.length&&t>=0&&t<=1){var n,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=m(e[c]),d=m(e[h]),f=u-c,g=_([a((n=p[0],n+(d[0]-n)*f)),a((i=p[1],i+(d[1]-i)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return r?{color:g,leftIndex:c,rightIndex:h,value:u}:g}},P:function(t){if((0,i.Kg)(t)){var e=x.get(t);return e||(e=v(t,-.1),x.put(t,e)),e}if((0,i.C7)(t)){var r=(0,i.X$)({},t);return r.colorStops=(0,i.Tj)(t.colorStops,function(t){return{offset:t.offset,color:v(t.color,-.1)}}),r}return t},Yu:function(t,e,r,n){var o,a=m(t);if(t)return a=function(t){if(t){var e,r,n=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=(s+a)/2;if(0===l)e=0,r=0;else{r=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,h=((s-i)/6+l/2)/l,p=((s-o)/6+l/2)/l;n===s?e=p-h:i===s?e=1/3+c-p:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,r,u];return null!=t[3]&&d.push(t[3]),d}}(a),null!=e&&(a[0]=(o=Math.round(o=(0,i.Tn)(e)?e(a[0]):e))<0?0:o>360?360:o),null!=r&&(a[1]=u((0,i.Tn)(r)?r(a[1]):r)),null!=n&&(a[2]=u((0,i.Tn)(n)?n(a[2]):n)),_(y(a),"rgba")},ad:function(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var n,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=e[c],d=e[h],f=u-c;return r[0]=a((n=p[0],n+(d[0]-n)*f)),r[1]=a((i=p[1],i+(d[1]-i)*f)),r[2]=a((o=p[2],o+(d[2]-o)*f)),r[3]=s((l=p[3],l+(d[3]-l)*f)),r}},fN:function(t,e){var r=m(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0},hm:function(t,e){var r=m(t);if(r&&null!=e)return r[3]=s(e),_(r,"rgba")},qg:m})},L5(t,e,r){"use strict";r.d(e,{Ts:()=>ti,fI:()=>to,jW:()=>ta});var n,i,o,a=r("E3"),s=r("iY"),l=r("SJG"),u=r("xy"),c=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},h=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 c(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,n=t.offsetY,i=r-this._x,o=n-this._y;this._x=r,this._y=n,e.drift(i,o,t),this.handler.dispatchToElement(new c(e,t),"drag",t.event);var a=this.handler.findHover(r,n,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new c(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new c(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new c(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new c(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=r("jp"),d=r("lX"),f=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,r){return this._doTrack(t,e,r),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,r){var n=t.touches;if(n){for(var i={points:[],touches:[],target:e,event:t},o=0,a=n.length;o<a;o++){var s=n[o],l=d.Yo(r,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 m)if(m.hasOwnProperty(e)){var r=m[e](this._track,t);if(r)return r}},t}();function g(t){var e=t[1][0]-t[0][0],r=t[1][1]-t[0][1];return Math.sqrt(e*e+r*r)}var m={pinch:function(t,e){var r=t.length;if(r){var n=(t[r-1]||{}).points,i=(t[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var o=g(n)/g(i);isFinite(o)||(o=1),e.pinchScale=o;var a=[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},y=r("Y8"),v="silent";function _(){d.ds(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,l.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.A),b=function(t,e){this.x=t,this.y=e},A=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],w=new y.Ay(0,0,0,0),S=function(t){function e(e,r,n,i,o){var a=t.call(this)||this;return a._hovered=new b(0,0),a.storage=e,a.painter=r,a.painterRoot=i,a._pointerSize=o,n=n||new x,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new h(a),a}return(0,l.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s.__(A,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,r=t.zrY,n=T(this,e,r),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=n?new b(e,r):this.findHover(e,r),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 b(0,0)},e.prototype.dispatch=function(t,e){var r=this[t];r&&r.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,r){var n=(t=t||{}).target;if(!n||!n.silent){for(var i,o="on"+e,a={type:e,event:r,target:(i=t).target,topTarget:i.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:_};n&&(n[o]&&(a.cancelBubble=!!n[o].call(n,a)),n.trigger(e,a),n=n.__hostTarget?n.__hostTarget:n.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,r){var n=this.storage.getDisplayList(),i=new b(t,e);if(k(n,i,t,e,r),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new y.Ay(t-s,e-s,a,a),u=n.length-1;u>=0;u--){var c=n[u];c===r||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(w.copy(c.getBoundingRect()),c.transform&&w.applyTransform(c.transform),w.intersect(l)&&o.push(c))}if(o.length){for(var h=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=h)if(k(o,i,t+d*Math.cos(f),e+d*Math.sin(f),r),i.target)return i}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);var r=this._gestureMgr;"start"===e&&r.clear();var n=r.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&r.clear(),n){var i=n.type;t.gestureEvent=i;var o=new b;o.target=n.target,this.dispatchToElement(o,i,n.event)}},e}(p.A);function k(t,e,r,n,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,r){if(t[t.rectHover?"rectContain":"contain"](e,r)){for(var n=t,i=void 0,o=!1;n;){if(n.ignoreClip&&(o=!0),!o){var a=n.getClipPath();if(a&&!a.contain(e,r))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s?n.ignoreHostSilent?null:s:n.parent}return!i||v}return!1}(a,r,n))&&(e.topTarget||(e.topTarget=a),s!==v)){e.target=a;break}}}function T(t,e,r){var n=t.painter;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}s.__(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){S.prototype[t]=function(e){var r,n,i=e.zrX,o=e.zrY,a=T(this,i,o);if("mouseup"===t&&a||(n=(r=this.findHover(i,o)).target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||u.xg(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,t,e)}});var C=r("Ly"),M=r("ke"),I=!1;function D(){I||(I=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var O=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var r=this._displayList;return(t||!r.length)&&this.updateDisplayList(e),r},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,r=this._displayList,n=0,i=e.length;n<i;n++)this._updateAndAddDisplayable(e[n],null,t);r.length=this._displayListLen,(0,C.A)(r,P)},t.prototype._updateAndAddDisplayable=function(t,e,r){if(!t.ignore||r){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath(),i=e&&e.length,o=0,a=t.__clipPaths;if(!t.ignoreClip&&(i||n)){if(a||(a=t.__clipPaths=[]),i)for(var s=0;s<e.length;s++)a[o++]=e[s];for(var l=n,u=t;l;)l.parent=u,l.updateTransform(),a[o++]=l,u=l,l=l.getClipPath()}if(a&&(a.length=o),t.childrenRef){for(var c=t.childrenRef(),h=0;h<c.length;h++){var p=c[h];t.__dirty&&(p.__dirty|=M.M),this._updateAndAddDisplayable(p,a,r)}t.__dirty=0}else isNaN(t.z)&&(D(),t.z=0),isNaN(t.z2)&&(D(),t.z2=0),isNaN(t.zlevel)&&(D(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,a,r);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,a,r);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,a,r)}},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,r=t.length;e<r;e++)this.delRoot(t[e]);return}var n=s.qh(this._roots,t);n>=0&&this._roots.splice(n,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=r("JV"),R=r("FUz");function E(){return new Date().getTime()}var B=function(t){function e(e){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,r.stage=(e=e||{}).stage||{},r}return(0,l.C6)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,r=t.next;e?e.next=r:this._head=r,r?r.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=E()-this._pausedTime,r=e-this._time,n=this._head;n;){var i=n.next;n.step(e,r)&&(n.ondestroy(),this.removeClip(n)),n=i}this._time=e,!t&&(this.trigger("frame",r),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,L.A)(function e(){t._running&&((0,L.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=E(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=E(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=E()-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 r=new R.A(t,e.loop);return this.addAnimator(r),r},e}(p.A),N=a.A.domSupported,z=(n=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=s.Tj(n,function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}),{mouse:n,touch:["touchstart","touchend","touchmove"],pointer:o}),F=["mousemove","mouseup"],$=["pointermove","pointerup"],H=!1;function j(t){var e=t.pointerType;return"pen"===e||"touch"===e}function W(t){t&&(t.zrByTouch=!0)}function V(t,e){for(var r=e,n=!1;r&&9!==r.nodeType&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return n}var Y=function(t,e){this.stopPropagation=s.lQ,this.stopImmediatePropagation=s.lQ,this.preventDefault=s.lQ,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},X={mousedown:function(t){t=(0,d.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.e0)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,d.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){V(this,(t=(0,d.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){H=!0,t=(0,d.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){H||(t=(0,d.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){W(t=(0,d.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),X.mousemove.call(this,t),X.mousedown.call(this,t)},touchmove:function(t){W(t=(0,d.e0)(this.dom,t)),this.handler.processGesture(t,"change"),X.mousemove.call(this,t)},touchend:function(t){W(t=(0,d.e0)(this.dom,t)),this.handler.processGesture(t,"end"),X.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&X.click.call(this,t)},pointerdown:function(t){X.mousedown.call(this,t)},pointermove:function(t){j(t)||X.mousemove.call(this,t)},pointerup:function(t){X.mouseup.call(this,t)},pointerout:function(t){j(t)||X.mouseout.call(this,t)}};s.__(["click","dblclick","contextmenu"],function(t){X[t]=function(e){e=(0,d.e0)(this.dom,e),this.trigger(t,e)}});var G={pointermove:function(t){j(t)||G.mousemove.call(this,t)},pointerup:function(t){G.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 U(t,e,r,n){t.mounted[e]=r,t.listenerOpts[e]=n,(0,d.q2)(t.domTarget,e,r,n)}function Z(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&(0,d.f)(t.domTarget,r,e[r],t.listenerOpts[r]);t.mounted={}}var q=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},K=function(t){function e(e,r){var n,i,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=r,o._localHandlerScope=new q(e,X),N&&(o._globalHandlerScope=new q(document,G)),i=(n=o._localHandlerScope).domHandlers,a.A.pointerEventsSupported?s.__(z.pointer,function(t){U(n,t,function(e){i[t].call(o,e)})}):(a.A.touchEventsSupported&&s.__(z.touch,function(t){U(n,t,function(e){i[t].call(o,e),n.touching=!0,null!=n.touchTimer&&(clearTimeout(n.touchTimer),n.touchTimer=null),n.touchTimer=setTimeout(function(){n.touching=!1,n.touchTimer=null},700)})}),s.__(z.mouse,function(t){U(n,t,function(e){e=(0,d.mK)(e),n.touching||i[t].call(o,e)})})),o}return(0,l.C6)(e,t),e.prototype.dispose=function(){Z(this._localHandlerScope),N&&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,N&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){a.A.pointerEventsSupported?s.__($,r):a.A.touchEventsSupported||s.__(F,r);function r(r){U(e,r,function(n){if(!V(t,(n=(0,d.mK)(n)).target)){var i;i=n,n=(0,d.e0)(t.dom,new Y(t,i),!0),e.domHandlers[r].call(t,n)}},{capture:!0})}}(this,e):Z(e)}},e}(p.A),Q=r("x4z"),J=r("Yo"),tt=r("jZ"),te={},tr={},tn=function(){function t(t,e,r){var n,i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,r=r||{},this.dom=e,this.id=t;var o=new O,l=r.renderer||"canvas";te[l]||(l=s.HP(te)[0]),r.useDirtyRect=null!=r.useDirtyRect&&r.useDirtyRect;var u=new te[l](e,o,r,t),c=r.ssr||u.ssrOnly;this.storage=o,this.painter=u;var h=a.A.node||a.A.worker||c?null:new K(u.getViewportRoot(),u.root),p=r.useCoarsePointer;(null==p||"auto"===p?a.A.touchEventsSupported:!!p)&&(n=s.bZ(r.pointerSize,44)),this.handler=new S(o,u,h,u.root,n),this.animation=new B({stage:{update:c?null:function(){return i._flush(!1)}}}),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.fN)(t,1)<J.ps;if(t.colorStops){for(var e=t.colorStops,r=0,n=e.length,i=0;i<n;i++)r+=(0,Q.fN)(e[i].color,1);return(r/=n)<J.ps}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},t.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!0)},t.prototype._flush=function(t){var e,r=E(),n=this._needsRefresh,i=this._needsRefreshHover;(n||i)&&(e=!0,this._refresh({animUpdate:t,refresh:n,refreshHover:i}));var o=E();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:o-r})):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._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},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,r){return this._disposed||this.handler.on(t,e,r),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 tt.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete tr[t]}},t}();function ti(t,e){var r=new tn(s.Os(),t,e);return tr[r.id]=r,r}function to(t,e){te[t]=e}function ta(t){}}}]);
|