PageSourceSearch

https://static.cdn.btcdirect.eu/_next/static/chunks/3982.e859b8258746b055.js

js btcdirect.eu collected 2026-10-01 11:33:45 UTC 604,999 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3982],{276:(t,e,n)=>{n.d(e,{A:()=>f});var i=n(32471),r=n(21947),o=n(11374),a=n(61998),s=n(67966),l=n(59565),u=n(48630),h=n(45874),c=n(23694),p=n(9496);function d(t,e){this.parent.drift(t,e)}let f=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.C6)(e,t),e.prototype._createSymbol=function(t,e,n,i,o,a){this.removeAll();var s=(0,r.v5)(t,-1,-1,2,2,null,a);s.attr({z2:(0,h.retrieve2)(o,100),culling:!0,scaleX:i[0]/2,scaleY:i[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 n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var a=t.getItemVisual(n,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,n),u=e.getSymbolZ2(t,n),h=a!==this._symbolType,c=r&&r.disableAnimation;if(h){var p=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,t,n,l,u,p)}else{var d=this.childAt(0);d.silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};c?d.attr(f):o.oi(d,f,s,n),(0,o.ap)(d)}if(this._updateCommon(t,n,l,i,r),h){var d=this.childAt(0);if(!c){var f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,o.LW(d,f,s,n)}}c&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,o){var a,s,d,f,g,y,v,m,_,x=this.childAt(0),b=t.hostModel;if(i&&(a=i.emphasisItemStyle,s=i.blurItemStyle,d=i.selectItemStyle,f=i.focus,g=i.blurScope,v=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,y=i.emphasisDisabled),!i||t.hasItemOption){var w=i&&i.itemModel?i.itemModel:t.getItemModel(e),S=w.getModel("emphasis");a=S.getModel("itemStyle").getItemStyle(),d=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),f=S.get("focus"),g=S.get("blurScope"),y=S.get("disabled"),v=(0,c.lx)(w),m=S.getShallow("scale"),_=w.getShallow("cursor")}var M=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(M||0)*Math.PI/180||0);var A=(0,r.hV)(t.getItemVisual(e,"symbolOffset"),n);A&&(x.x=A[0],x.y=A[1]),_&&x.attr("cursor",_);var T=t.getItemVisual(e,"style"),C=T.fill;if(x instanceof p.Ay){var k=x.style;x.useStyle((0,h.extend)({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},T))}else x.__isEmptyBrush?x.useStyle((0,h.extend)({},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 O=o&&o.useNameLabel;(0,c.qM)(x,v,{labelFetcher:b,labelDataIndex:e,defaultText:function(e){return O?t.getName(e):(0,u.i)(t,e)},inheritColor:C,defaultOpacity:T.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=x.ensureState("emphasis");L.style=a,x.ensureState("select").style=d,x.ensureState("blur").style=s;var P=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*P,L.scaleY=this._sizeY*P,this.setSymbolScale(1),(0,l.Lm)(this,f,g,y)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,s.z)(this).dataIndex,a=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&o.Nz(l,{style:{opacity:0}},e,{dataIndex:r,removeOpt:a,cb:function(){i.removeTextContent()}})}else i.removeTextContent();o.Nz(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:a})},e.getSymbolSize=function(t,e){return(0,r.xU)(t.getItemVisual(e,"symbolSize"))},e.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},e}(a.A)},588:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(45874);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.indexOf(r,l)>=0||o&&0>i.indexOf(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},1054:(t,e,n)=>{n.d(e,{$Q:()=>a,A6:()=>s,G_:()=>u,vf:()=>l});var i=n(45874),r=n(36363),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,r.CC)(t).main]=n}
1,t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.CC)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function l(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,h=(s=r,l={},u=[],i.each(s,function(t){var r,o,a,h=n(l,t),c=(r=h.originalDeps=e(t),o=s,a=[],i.each(r,function(t){i.indexOf(o,t)>=0&&a.push(t)}),a);h.entryCount=c.length,0===h.entryCount&&u.push(t),i.each(c,function(e){0>i.indexOf(h.predecessor,e)&&h.predecessor.push(e);var r=n(l,e);0>i.indexOf(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),c=h.graph,p=h.noEntryList,d={};for(i.each(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=c[f],y=!!d[f];y&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),i.each(g.successor,y?m:v)}i.each(d,function(){throw Error("")})}function v(t){c[t].entryCount--,0===c[t].entryCount&&p.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return i.merge(i.merge({},t,!0),e,!0)}},3327:(t,e,n)=>{function i(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function r(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)}}n.d(e,{Ez:()=>i,rI:()=>r})},4507:(t,e,n)=>{n.d(e,{A:()=>i});let i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},6379:(t,e,n)=>{n.d(e,{Lq:()=>c,Yc:()=>h,fY:()=>p,vz:()=>d,xx:()=>u});var i=n(10558),r=n(12224),o=n(45874),a=n(93773);function s(t,e,n,o,a,s,l){var u=[],h=(0,r.sJ)(e,a)?e.getCalculationInfo("stackResultDimension"):a,c=d(e,h,t),p=e.hostModel.indicesOfNearest(n,h,c)[0];u[s]=e.get(o,p),u[l]=e.get(h,p);var f=e.get(a,p),g=i.XV(e.get(a,p));return(g=Math.min(g,20))>=0&&(u[l]=+u[l].toFixed(g)),[u,f]}var l={min:(0,o.curry)(s,"min"),max:(0,o.curry)(s,"max"),average:(0,o.curry)(s,"average"),median:(0,o.curry)(s,"median")};function u(t,e){if(e){var n,i=t.getData(),r=t.coordinateSystem,a=r&&r.dimensions;if(!(!isNaN(parseFloat((n=e).x))&&!isNaN(parseFloat(n.y)))&&!(0,o.isArray)(e.coord)&&(0,o.isArray)(a)){var s=h(e,i,r,t);if((e=(0,o.clone)(e)).type&&l[e.type]&&s.baseAxis&&s.valueAxis){var u=(0,o.indexOf)(a,s.baseAxis.dim),c=(0,o.indexOf)(a,s.valueAxis.dim),p=l[e.type](i,s.valueAxis.dim,s.baseDataDim,s.valueDataDim,u,c);e.coord=p[0],e.value=p[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&(0,o.isArray)(a))for(var f=e.coord,g=0;g<2;g++)l[f[g]]&&(f[g]=d(i,i.mapDimension(a[g]),f[g]));else{e.coord=[];var y=t.getBaseAxis();if(y&&e.type&&l[e.type]){var v=r.getOtherAxis(y);v&&(e.value=d(i,i.mapDimension(v.dim),e.type))}}return e}}function h(t,e,n,i){var r,o,a,s={};return null!=t.valueIndex||null!=t.valueDim?(s.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,s.valueAxis=n.getAxis((r=i,o=s.valueDataDim,(a=r.getData().getDimensionInfo(o))&&a.coordDim)),s.baseAxis=n.getOtherAxis(s.valueAxis),s.baseDataDim=e.mapDimension(s.baseAxis.dim)):(s.baseAxis=i.getBaseAxis(),s.valueAxis=n.getOtherAxis(s.baseAxis),s.baseDataDim=e.mapDimension(s.baseAxis.dim),s.valueDataDim=e.mapDimension(s.valueAxis.dim)),s}function c(t,e){return!t||!t.containData||!e.coord||!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))||t.containData(e.coord)}function p(t,e){return t?function(t,n,i,r){var o=r<2?t.coord&&t.coord[r]:t.value;return(0,a.Pn)(o,e[r])}:function(t,n,i,r){return(0,a.Pn)(t.value,e[r])}}function d(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){!isNaN(t)&&(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)[+("max"===n)]}},6713:(t,e,n)=>{n.d(e,{A:()=>a});var i=n(45874),r=0;function o(t){return(0,i.isObject)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r,this._onCollect=t.onCollect}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.map)(r,o);return new t({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.isString)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,this._onCollect&&this._onCollect(t,e),e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e),this._onCollect&&this._onCollect(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.createHashMap)(this.categories))},t}()},6907:(t,e,n)=>{n.d(e,{Ay:()=>y,oN:()=>u,sW:()=>h});var i=n(32471),r=n(71478),o=n(10504),a=n(45874),s=n(17667),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var c=["z","z2","invisible"],p=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.C6)(n,t),n.prototype._init=function(e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,i){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,f.copy(r.getBoundingRect
1()),r.transform&&f.applyTransform(r.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths&&this.__clipPaths.length){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.A(0,0,0,0)),e?o.A.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.A(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},n.prototype.styleUpdated=function(){this.__dirty&=~s.pO},n.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},n.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var l,u=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var h=this.style;if(this.style=this.createStyle(u?{}:h),u)for(var d=(0,a.keys)(h),f=0;f<d.length;f++){var g=d[f];g in l&&(l[g]=l[g],this.style[g]=h[g])}for(var y=(0,a.keys)(l),f=0;f<y.length;f++){var g=y[f];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var v=this.__inHover?p:c,f=0;f<v.length;f++){var g=v[f];n&&null!=n[g]?this[g]=n[g]:u&&null!=i[g]&&(this[g]=i[g])}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},n.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},n.prototype.getAnimationStyleProps=function(){return h},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),n}(r.A),f=new o.A(0,0,0,0),g=new o.A(0,0,0,0);let y=d},7e3:(t,e,n)=>{n.d(e,{Y5:()=>o,_S:()=>s,el:()=>l,ps:()=>a,tY:()=>u});var i=n(98573),r=1;i.A.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",l="#ccc",u="#eee"},8795:(t,e,n)=>{n.d(e,{$8:()=>s,aT:()=>a,z3:()=>o});var i={},r="u">typeof console&&console.warn&&console.log;function o(t,e){!function(t,e,n){if(r){if(n){if(i[e])return;i[e]=!0}console[t]("[ECharts] "+e)}}("error",t,e)}function a(t){}function s(t){throw Error(t)}},9184:(t,e,n)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var i=n(78067),r=n(58806);e.createSensor="u">typeof ResizeObserver?r.createSensor:i.createSensor},9496:(t,e,n)=>{n.d(e,{Ay:()=>h});var i=n(32471),r=n(6907),o=n(10504),a=n(45874),s=(0,a.defaults)({x:0,y:0},r.oN),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.sW.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,i=n[t];if(null!=i)return i;var r=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=n[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.A(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.Ay);u.prototype.type="image";let h=u},10313:(t,e,n)=>{n.d(e,{CO:()=>b,Qx:()=>d,Yu:()=>v,aw:()=>x,lb:()=>w});var i=n(46330),r=n(89572),o=n(45874),a=n(93773),s=n(10558),l=n(74873);function u(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,i.Me)(e+"")+"px"}function h(t,e){var n=t.color||l.A.color.tertiary,r=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,i.Me)(r+"")+"px;color:"+(0,i.Me)(n)+";font-weight:"+(0,i.Me)(o+""),valueStyle:"font-size:"+(0,i.Me)(s+"")+"px;color:"+(0,i.Me)(a)+";font-weight:"+(0,i.Me)(u+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var c=[0,10,20,30],p=["","\n","\n\n","\n\n\n"];function d(t,e){return e.type=t,e}function f(t){return"section"===t.type}function g(t,e,n,s){var l,d=e.noHeader,v={html:c[l=function t(e){if(f(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return(0,o.each)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||f(e)&&!e.noHeader)))}),n}return 0}(e)],richText:p[l]},x=[],b=e.blocks||[];(0,o.assert)(!b||(0,o.isArray)(b)),b=b||[];var w=t.orderMode;if(e.sortBlocks&&w){b=b.slice();var S={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(S,w)){var M=new a.Fl(S[w],null);b.sort(function(t,e){return M.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&b.reverse()}(0,o.each)(b,function(n,i){var r=e.valueFormatter,a=(f(n)?g:y)(r?(0,o.extend)((0,o.extend)({},t),{valueFormatter:r}):t,n,i>0?v.html:0,s);null!=a&&x.push(a)});var A="richText"===t.renderMode?x.join(v.richText):m(s,x.join(""),d?n:v.html);if(d)return A;var T=(0,r.yC)(e.header,"ordinal",t.useUTC),C=h(s,t.renderMode).nameStyle,k=u(s);return"richText"===t.renderMode?_(t,T,C)+v.richText+A:m(s,'<div style="'+C+";"+k+';">'+(0,i.Me)(T)+"</div>"+A,n)}function y(t,e,n,a){var s=t.renderMode,u=e.noName,c=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,function(t,e){return(0,r.yC)(t,(0,o.isArray)(D)?D[e]:D,f)})};if(!u||!c){var y,v,x,b,w,S,M,A,T,C,k=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||l.A.color.secondary,s),I=u?"":(0,r.yC)(d,"ordinal",f),D=e.valueType,O=c?[]:g(e.value,e.dataIndex),L=!p||!u,P=!p&&u,R=h(a,s),N=R.nameStyle,B=R.valueStyle;return"richText"===s?(p?"":k)+(u?"":_(t,I,N))+(c?"":(y=t,v=O,x=L,b=P,w=[B],x&&w.push({padding:[0,0,0,b?10:20],align:"right"}),y.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(v)?v.join("  "):v,w))):m(a,(p?"":k)+(u?"":(S=I,'<span style="'+N+";"+(p?"":"margin-left:2px")+'">'+(0,i.Me)(S)+"</span>"))+(c?"":(M=O,A=L,T=P,C=B,M=(0,o.isArray)(M)?M:[M],'<span style="'+(A?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+C+'">'+(0,o.map)(M,function(t){return(0,i.Me)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function v(t,e,n,i,r,o){if(t)return(f(t)?g:y)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function m(t,e,n){return'<div style="margin: '+n+"px 0 0;"+u(t)+';">'+e+'<div style="clear:both"></div></div>'}function _(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function x(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.he)(n)}function b(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var w=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.qg)({color:e,type:t,renderMode:n,markerId:i});return(0,o.isString)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.isArray)(e)?(0,o.each)(e,function(t){return(0,o.extend)(n,t)}):(0,o.extend)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},10504:(t,e,n)=>{n.d(e,{A:()=>S,b:()=>w});var i=n(34707),r=n(82912),o=Math.min,a=Math.max,s=Math.abs,l=["x","y"],u=["width","height"],h=new r.A,c=new r.A,p=new r.A,d=new r.A,f=w(),g=f.minTv,y=f.maxTv,v=[0,0],m=function(){function t(e,n,i,r){t.set(this,e,n,i,r)}return t.set=function(t,e,n,i,r){return i<0&&(e+=i,i=-i),r<0&&(n+=r,r=-r),t.x=e,t.y=n,t.width=i,t.height=r,t},t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,n=t.height/this.height,r=i.create();return i.translate(r,r,[-this.x,-this.y]),i.scale(r,r,[e,n]),i.translate(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n,i){return t.intersect(this,e,n,i)},t.intersect=function(e,n,i,o){i&&r.A.set(i,0,0);var a=o&&o.outIntersectRect||null,s=o&&o.clamp;
1if(a&&(a.x=a.y=a.width=a.height=NaN),!e||!n)return!1;e instanceof t||(e=t.set(_,e.x,e.y,e.width,e.height)),n instanceof t||(n=t.set(x,n.x,n.y,n.width,n.height));var l=!!i;f.reset(o,l);var u=f.touchThreshold,h=e.x+u,c=e.x+e.width-u,p=e.y+u,d=e.y+e.height-u,m=n.x+u,w=n.x+n.width-u,S=n.y+u,M=n.y+n.height-u;if(h>c||p>d||m>w||S>M)return!1;var A=!(c<m||w<h||d<S||M<p);return(l||a)&&(v[0]=1/0,v[1]=0,b(h,c,m,w,0,l,a,s),b(p,d,S,M,1,l,a,s),l&&r.A.copy(i,A?f.useDir?f.dirMinTv:g:y)),A},t.contain=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},t.prototype.contain=function(e,n){return t.contain(this,e,n)},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},t.applyTransform=function(e,n,i){if(!i){e!==n&&t.copy(e,n);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],s=i[3],l=i[4],u=i[5];e.x=n.x*r+l,e.y=n.y*s+u,e.width=n.width*r,e.height=n.height*s,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}h.x=p.x=n.x,h.y=d.y=n.y,c.x=d.x=n.x+n.width,c.y=p.y=n.y+n.height,h.transform(i),d.transform(i),c.transform(i),p.transform(i),e.x=o(h.x,c.x,p.x,d.x),e.y=o(h.y,c.y,p.y,d.y);var f=a(h.x,c.x,p.x,d.x),g=a(h.y,c.y,p.y,d.y);e.width=f-e.x,e.height=g-e.y},t}(),_=new m(0,0,0,0),x=new m(0,0,0,0);function b(t,e,n,i,r,h,c,p){var d=s(e-n),m=s(i-t),_=o(d,m),x=l[r],b=l[1-r],w=u[r];e<n||i<t?d<m?(h&&(y[x]=-d),p&&(c[x]=e,c[w]=0)):(h&&(y[x]=m),p&&(c[x]=t,c[w]=0)):(c&&(c[x]=a(t,n),c[w]=o(e,i)-c[x]),h&&(_<v[0]||f.useDir)&&(v[0]=o(_,v[0]),(d<m||!f.bidirectional)&&(g[x]=d,g[b]=0,f.useDir&&f.calcDirMTV()),(d>=m||!f.bidirectional)&&(g[x]=-m,g[b]=0,f.useDir&&f.calcDirMTV())))}function w(){var t=0,e=new r.A,n=new r.A,i={minTv:new r.A,maxTv:new r.A,useDir:!1,dirMinTv:new r.A,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(r,o){i.touchThreshold=0,r&&null!=r.touchThreshold&&(i.touchThreshold=a(0,r.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,r&&null!=r.direction&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),n.copy(i.minTv),t=r.direction,i.bidirectional=null==r.bidirectional||!!r.bidirectional,i.bidirectional||e.set(Math.cos(t),Math.sin(t))))},calcDirMTV:function(){var r=i.minTv,a=i.dirMinTv,s=r.y*r.y+r.x*r.x,l=Math.sin(t),u=Math.cos(t),h=l*r.y+u*r.x;if(o(h)){o(r.x)&&o(r.y)&&a.set(0,0);return}(n.x=s*u/h,n.y=s*l/h,o(n.x)&&o(n.y))?a.set(0,0):(i.bidirectional||e.dot(n)>0)&&n.len()<a.len()&&a.copy(n)}};function o(t){return 1e-10>s(t)}return i}let S=m},10558:(t,e,n)=>{n.d(e,{Cb:()=>s,Cm:()=>M,IH:()=>I,Is:()=>v,JB:()=>o,LI:()=>h,LQ:()=>u,NX:()=>S,NY:()=>a,Sm:()=>C,Tr:()=>y,XV:()=>p,Y6:()=>c,YV:()=>A,_7:()=>m,_U:()=>b,au:()=>w,dh:()=>_,hb:()=>f,kf:()=>k,lQ:()=>D,lo:()=>l,rp:()=>r,sL:()=>T,wp:()=>g,y6:()=>d});var i=n(45874),r=Math.min,o=Math.max,a=Math.abs;function s(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i){if(l>0){if(t<=r)return a;else if(t>=o)return s}else if(t>=r)return a;else if(t<=o)return s}else{if(t===r)return a;
1if(t===o)return s}return(t-r)/l*u+a}var l=function(t,e,n){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return u(t,e,n)};function u(t,e,n){return i.isString(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e+(n||0):parseFloat(t):null==t?NaN:+t}function h(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function c(t){return t.sort(function(t,e){return t-e}),t}function p(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n}return d(t)}function d(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf(".");return Math.max(0,(o<0?0:r-1-o)-i)}function f(t,e){var n=Math.log,i=Math.LN10,r=Math.min(Math.max(-Math.floor(n(t[1]-t[0])/i)+Math.round(n(a(e[1]-e[0]))/i),0),20);return isFinite(r)?r:20}function g(t,e,n){return t[e]&&function(t,e){var n=i.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var r=Math.pow(10,e),o=i.map(t,function(t){return(isNaN(t)?0:t)/n*r*100}),a=100*r,s=i.map(o,function(t){return Math.floor(t)}),l=i.reduce(s,function(t,e){return t+e},0),u=i.map(o,function(t,e){return t-s[e]});l<a;){for(var h=-1/0,c=null,p=0,d=u.length;p<d;++p)u[p]>h&&(h=u[p],c=p);++s[c],u[c]=0,++l}return i.map(s,function(t){return t/r})}(t,n)[e]||0}function y(t,e){var n=Math.max(p(t),p(e)),i=t+e;return n>20?i:h(i,n)}var v=0x1fffffffffffff;function m(t){var e=2*Math.PI;return(t%e+e)%e}function _(t){return t>-1e-4&&t<1e-4}var x=/^(?:(\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 b(t){if(t instanceof Date)return t;if(i.isString(t)){var e=x.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function w(t){return Math.pow(10,S(t))}function S(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function M(t,e){var n=S(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function A(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function T(t){t.sort(function(t,e){return!function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?1:-1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t}function C(t){var e=parseFloat(t);return e==t&&(0!==e||!i.isString(t)||0>=t.indexOf("x"))?e:NaN}function k(t){return!isNaN(C(t))}function I(){return Math.round(9*Math.random())}function D(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}},11374:(t,e,n)=>{n.d(e,{Jw:()=>o,LR:()=>u,LW:()=>l,Nz:()=>h,ap:()=>d,oi:()=>s,t5:()=>p});var i=n(45874),r=(0,n(76172).$r)();function o(t,e,n,r,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 h=void 0,c=void 0,p=void 0;return r?(h=(0,i.retrieve2)(r.duration,200),c=(0,i.retrieve2)(r.easing,"cubicOut"),p=0):(h=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(p=a.delay)),(0,i.isFunction)(p)&&(p=p(n,o)),(0,i.isFunction)(h)&&(h=h(n)),{duration:h||0,delay:p,easing:c}}function a(t,e,n,r,a,s,l){var u,h=!1;(0,i.isFunction)(a)?(l=s,s=a,a=null):(0,i.isObject)(a)&&(s=a.cb,l=a.during,h=a.isFrom,u=a.removeOpt,a=a.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var p=o(t,r,a,c?u||{}:null,r&&r.getAnimationDelayParams?r.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,setTo
1Final:!c,scope:t,during:l};h?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),h||e.attr(n),l&&l(1),s&&s()}function s(t,e,n,i,r,o){a("update",t,e,n,i,r,o)}function l(t,e,n,i,r,o){a("enter",t,e,n,i,r,o)}function u(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 h(t,e,n,i,r,o){u(t)||a("leave",t,e,n,i,r,o)}function c(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),h(t,{style:{opacity:0}},e,n,i)}function p(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||c(t,e,n,i)}):c(t,e,n,i)}function d(t){r(t).oldStyle=t.style}},12224:(t,e,n)=>{n.d(e,{iJ:()=>o,me:()=>s,sJ:()=>a});var i=n(45874),r=n(60522);function o(t,e,n){var o,a,s,l,u,h,c,p,d=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.fg)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,i.each)(a,function(t,e){(0,i.isString)(t)&&(a[e]=t={name:t}),g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),h||"ordinal"===t.type||"time"===t.type||f&&f!==t.coordDim||(h=t))}),!h||d||u||(d=!0),h){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=h.coordDim,v=h.type,m=0;(0,i.each)(a,function(t){t.coordDim===y&&m++});var _={name:c,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:p,coordDim:p,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(p,v),x.storeDimIndex=l.ensureCalculationDimension(c,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(x)):(a.push(_),a.push(x))}return{stackedDimension:h&&h.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:c}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},13157:(t,e,n)=>{n.d(e,{J:()=>s,L:()=>l});var i=n(45874),r=n(32045),o=n(89572),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,p=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);return(u&&(c.value=u.interpolatedValue),null!=s&&i.isArray(c.value)&&(c.value=c.value[s]),l||(l=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),i.isFunction(l))?(c.status=e,c.dimensionIndex=s,l(c)):i.isString(l)?(0,o.YK)(l,c).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.QE)(h,t,a);if(u&&i.isArray(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return i.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},13775:(t,e,n)=>{n.d(e,{A:()=>u});var i=n(32471),r=n(37848),o=n(25861),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,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,s,l=(0,o.eB)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,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}(r.Ay);l.prototype.type="line";let u=l},14445:(t,e,n)=>{n.d(e,{R:()=>i});function i(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}},14490:(t,e,n)=>{n.d(e,{ts:()=>D,Ay:()=>j,Z0:()=>k,RC:()=>N,x:()=>P});var i=n(45874),r=n(61998),o=n(13775),a=n(84295),s=n(52236),l=n(52121),u=n(67966),h=n(23694),c=n(39020),p=n(10558),d=n(21947),f=n(34707),g=n(58221),y=n(77841),v=n(56847),m=n(76172),_=n(34916),x=n(99856),b=n(10504),w=n(82912),S=n(28010),M=n(58805),A=Math.PI,T=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],C=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],k=(0,m.$r)(),I=(0,m.$r)(),D=function(){function t(t){this.recordMap={},this.resolveAxisNameOverlap=t}return t.prototype.ensureRecord=function(t){var e=t.axis.dim,n=t.componentIndex,i=this.recordMap,r=i[e]||(i[e]=[]);return r[n]||(r[n]={ready:{}})},t}(),O=f.create(),L=new b.A(0,0,0,0),P=function(t,e,n,i,r,o){if((0,y.SS)(t.nameLocation)){var a=o.stOccupiedRect;a&&R((0,v.AS)({},a,o.transGroup.transform),i,r)}else N(o.labelInfoList,o.dirVec,i,r)};function R(t,e,n){var i=new w.A;(0,v.EA)(t,e,i,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&(0,v.Gm)(e,i)}function N(t,e,n,i){for(var r=w.A.dot(i,e)>=0,o=0,a=t.length;o<a;o++){var s=t[r?o:a-1-o];s.label.ignore||R(s,n,i)}}var B=function(){function t(t,e,n,i){this.group=new r.A,this._axisModel=t,this._api=e,this._local={},this._shared=i||new D(P),this._resetCfgDetermined(n)}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,n=e.getDefaultOption?e.getDefaultOption():{},o=(0,i.retrieve2)(t.axisName,e.get("name")),a=e.get("nameMoveOverlap");(null==a||"auto"===a)&&(a=(0,i.retrieve2)(t.defaultNameMoveOverlap,!0));var s={raw:t,position:t.position,rotation:t.rotation,nameDirection:(0,i.retrieve2)(t.nameDirection,1),tickDirection:(0,i.retrieve2)(t.tickDirection,1),labelDirection:(0,i.retrieve2)(t.labelDirection,1),labelOffset:(0,i.retrieve2)(t.labelOffset,0),silent:(0,i.retrieve2)(t.silent,!0),axisName:o,nameLocation:(0,i.retrieve3)(e.get("nameLocation"),n.nameLocation,"end"),shouldNameMoveOverlap:!!o&&a,optionHideOverlap:e.get(["axisLabel","hideOverlap"]),showMinorTicks:e.get(["minorTick","show"])};this._cfg=s;var l=new r.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 w.A(Math.cos(-s.rotation),Math.sin(-s.rotation))},t.prototype.build=function(t,e){var n=this;
1return t||(t={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),(0,i.each)(z,function(i){t[i]&&E[i](n._cfg,n._local,n._shared,n._axisModel,n.group,n._transformGroup,n._api,e||{})}),this},t.innerTextLayout=function(t,e,n){var i,r,o=(0,p._7)(e-t);return(0,p.dh)(o)?(r=n>0?"top":"bottom",i="center"):(0,p.dh)(o-A)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<A?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},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"],E={axisLine:function(t,e,n,r,s,l,u){var h=r.get(["axisLine","show"]);if("auto"===h&&(h=!0,null!=t.raw.axisLineAutoShow&&(h=!!t.raw.axisLineAutoShow)),h){var c=r.axis.getExtent(),p=l.transform,f=[c[0],0],y=[c[1],0],v=f[0]>y[0];p&&((0,g.applyTransform)(f,f,p),(0,g.applyTransform)(y,y,p));var m=(0,i.extend)({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),x={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:m};if(r.get(["axisLine","breakLine"])&&r.axis.scale.hasBreaks())(0,_.D)().buildAxisBreakLine(r,s,l,x);else{var b=new o.A((0,i.extend)({shape:{x1:f[0],y1:f[1],x2:y[0],y2:y[1]}},x));a.subPixelOptimizeLine(b.shape,b.style.lineWidth),b.anid="line",s.add(b)}var w=r.get(["axisLine","symbol"]);if(null!=w){var S=r.get(["axisLine","symbolSize"]);(0,i.isString)(w)&&(w=[w,w]),((0,i.isString)(S)||(0,i.isNumber)(S))&&(S=[S,S]);var M=(0,d.hV)(r.get(["axisLine","symbolOffset"])||0,S),A=S[0],T=S[1];(0,i.each)([{rotate:t.rotation+Math.PI/2,offset:M[0],r:0},{rotate:t.rotation-Math.PI/2,offset:M[1],r:Math.sqrt((f[0]-y[0])*(f[0]-y[0])+(f[1]-y[1])*(f[1]-y[1]))}],function(e,n){if("none"!==w[n]&&null!=w[n]){var i=(0,d.v5)(w[n],-A/2,-T/2,A,T,m.stroke,!0),r=e.r+e.offset,o=v?y:f;i.attr({rotation:e.rotate,x:o[0]+r*Math.cos(t.rotation),y:o[1]-r*Math.sin(t.rotation),silent:!0,z2:11}),s.add(i)}})}}},axisTickLabelEstimate:function(t,e,n,i,r,o,a,s){W(e,r,s)&&F(t,e,n,i,r,o,a,M.fm.estimate)},axisTickLabelDetermine:function(t,e,n,r,o,a,s,l){W(e,o,l)&&F(t,e,n,r,o,a,s,M.fm.determine);var u,h,c,p=function(t,e,n,r){var o=r.axis,a=r.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"),h=H(o.getTicksCoords(),n.transform,u,(0,i.defaults)(l.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<h.length;c++)e.add(h[c]);return h}(t,o,a,r);u=t,h=e.labelLayoutList,c=p,u.showMinorTicks||(0,i.each)(h,function(t){if(t&&t.label.ignore)for(var e=0;e<c.length;e++){var n=c[e],i=I(n),r=k(t.label);if(null!=i.tickValue&&!i.onBand&&i.tickValue===r.tickValue)return void V(n)}}),function(t,e,n,r,o){var a=r.axis,s=r.getModel("minorTick");if(!(!t.showMinorTicks||a.scale.isBlank())){var l=a.getMinorTicksCoords();if(l.length)for(var u=s.getModel("lineStyle"),h=o*s.get("length"),c=(0,i.defaults)(u.getLineStyle(),(0,i.defaults)(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),p=0;p<l.length;p++)for(var d=H(l[p],n.transform,h,c,"minorticks_"+p),f=0;f<d.length;f++)e.add(d[f])}}(t,o,a,r,t.tickDirection)},axisName:function(t,e,n,r,o,l,c,d){var g,m,_=n.ensureRecord(r);e.nameEl&&(o.remove(e.nameEl),e.nameEl=_.nameLayout=_.nameLocation=null);var x=t.axisName;if(x){var b,S,M,k,I,D,O,L,P,R=t.nameLocation,N=t.nameDirection,z=r.getModel("nameTextStyle"),E=r.get("nameGap")||0,F=r.axis.getExtent(),V=r.axis.inverse?-1:1,H=new w.A(0,0),W=new w.A(0,0);"start"===R?(H.x=F[0]-V*E,W.x=-V):"end"===R?(H.x=F[1]+V*E,W.x=V):(H.x=(F[0]+F[1])/2,H.y=t.labelOffset+N*E,W.y=N);var G=f.create();W.transform(f.rotate(G,G,t.rotation));var Y=r.get("nameRotate");null!=Y&&(Y=Y*A/180),(0,y.SS)(R)?g=B.innerTextLayout(t.rotation,null!=Y?Y:t.rotation,N):(b=t.rotation,S=R,M=Y||0,k=F,O=(0,p._7)(M-b),L=k[0]>k[1],P="start"===S&&!L||"start"!==S&&L,(0,p.dh)(O-A/2)?(D=P?"bottom":"top",I="center"):(0,p.dh)(O-1.5*A)?(D=P?"top":"bottom",I="center"):(D="middle",I=O<1.5*A&&O>
1A/2?P?"left":"right":P?"right":"left"),g={rotation:O,textAlign:I,textVerticalAlign:D},null!=(m=t.raw.axisNameAvailableWidth)&&(isFinite(m=Math.abs(m/Math.sin(g.rotation)))||(m=null)));var U=z.getFont(),X=r.get("nameTruncate",!0)||{},j=X.ellipsis,Z=(0,i.retrieve)(t.raw.nameTruncateMaxWidth,X.maxWidth,m),q=d.nameMarginLevel||0,K=new s.Ay({x:H.x,y:H.y,rotation:g.rotation,silent:B.isLabelSilent(r),style:(0,h.VB)(z,{text:x,font:U,overflow:"truncate",width:Z,ellipsis:j,fill:z.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:z.get("align")||g.textAlign,verticalAlign:z.get("verticalAlign")||g.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:K,componentModel:r,itemName:x}),K.__fullText=x,K.anid="name",r.get("triggerEvent")){var $=B.makeAxisEventDataBase(r);$.targetType="axisName",$.name=x,(0,u.z)(K).eventData=$}l.add(K),K.updateTransform(),e.nameEl=K;var Q=_.nameLayout=(0,v.jj)({label:K,priority:K.z2,defaultAttr:{ignore:K.ignore},marginDefault:(0,y.SS)(R)?T[q]:C[q]});if(_.nameLocation=R,o.add(K),K.decomposeTransform(),t.shouldNameMoveOverlap&&Q){var J=n.ensureRecord(r);n.resolveAxisNameOverlap(t,n,r,Q,W,J)}}}};function F(t,e,n,o,l,p,d,g){G(e)||function(t,e,n,o,l,p){var d=l.axis,f=(0,i.retrieve)(t.raw.axisLabelShow,l.get(["axisLabel","show"])),g=new r.A;n.add(g);var y=(0,M.eP)(o);if(!f||d.scale.isBlank())return Y(e,[],g,y);var v=l.getModel("axisLabel"),m=d.getViewLabels(y),_=((0,i.retrieve)(t.raw.labelRotate,v.get("rotate"))||0)*A/180,x=B.innerTextLayout(t.rotation,_,t.labelDirection),b=l.getCategories&&l.getCategories(!0),w=[],S=l.get("triggerEvent"),T=1/0,C=-1/0;(0,i.each)(m,function(t,e){var n,r="ordinal"===d.scale.type?d.scale.getRawOrdinalNumber(t.tickValue):t.tickValue,o=t.formattedLabel,f=t.rawLabel,y=v;if(b&&b[r]){var _=b[r];(0,i.isObject)(_)&&_.textStyle&&(y=new c.A(_.textStyle,v,l.ecModel))}var M=y.getTextColor()||l.get(["axisLine","lineStyle","color"]),A=y.getShallow("align",!0)||x.textAlign,I=(0,i.retrieve2)(y.getShallow("alignMinLabel",!0),A),D=(0,i.retrieve2)(y.getShallow("alignMaxLabel",!0),A),O=y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||x.textVerticalAlign,L=(0,i.retrieve2)(y.getShallow("verticalAlignMinLabel",!0),O),P=(0,i.retrieve2)(y.getShallow("verticalAlignMaxLabel",!0),O),R=10+((null==(n=t.time)?void 0:n.level)||0);T=Math.min(T,R),C=Math.max(C,R);var N=new s.Ay({x:0,y:0,rotation:0,silent:B.isLabelSilent(l),z2:R,style:(0,h.VB)(y,{text:o,align:0===e?I:e===m.length-1?D:A,verticalAlign:0===e?L:e===m.length-1?P:O,fill:(0,i.isFunction)(M)?M("category"===d.type?f:"value"===d.type?r+"":r,e):M})});N.anid="label_"+r;var z=k(N);if(z.break=t.break,z.tickValue=r,z.layoutRotation=x.rotation,a.setTooltipConfig({el:N,componentModel:l,itemName:o,formatterParamsExtra:{isTruncated:function(){return N.isTruncated},value:f,tickIndex:e}}),S){var E,F,V,H,W=B.makeAxisEventDataBase(l);W.targetType="axisLabel",W.value=f,W.tickIndex=e,t.break&&(W.break={start:t.break.parsedBreak.vmin,end:t.break.parsedBreak.vmax}),"category"===d.type&&(W.dataIndex=r),(0,u.z)(N).eventData=W,t.break&&(E=l,F=p,V=N,H=t.break,V.on("click",function(t){var e={type:"expandAxisBreak",breaks:[{start:H.parsedBreak.breakOption.start,end:H.parsedBreak.breakOption.end}]};e[E.axis.dim+"AxisIndex"]=E.componentIndex,F.dispatchAction(e)}))}w.push(N),g.add(N)}),Y(e,(0,i.map)(w,function(t){return{label:t,priority:k(t).break?t.z2+(C-T+1):t.z2,defaultAttr:{ignore:t.ignore}}}),g,y)}(t,e,l,g,o,d);var m,w,T,C,I,D=e.labelLayoutList;m=t,w=o,T=D,C=p,I=w.get(["axisLabel","margin"]),(0,i.each)(T,function(t,e){var n=(0,v.jj)(t);if(n){var i=n.label,r=k(i);n.suggestIgnore=i.ignore,i.ignore=!1,(0,S.IT)(U,X),U.x=w.axis.dataToCoord(r.tickValue),U.y=m.labelOffset+m.labelDirection*I,U.rotation=r.layoutRotation,C.add(U),U.updateTransform(),C.remove(U),U.decomposeTransform(),(0,S.IT)(i,U),i.markRedraw(),(0,v.LC)(n,!0),(0,v.jj)(n)}}),function(t,e,n){var r=(0,x.m)();if(r){var o=r.retrieveAxisBreakPairs(n,function(t){return t&&k(t.label).break},!0),a=t.get(["breakLabelLayout","moveOverlap"],!0);(!0===a||"auto"===a)&&(0,i.each)(o,function(i){(0,_.D)().adjustBreakLabelPair(t.axis.inverse,e,[(0,v.jj)(n[i[0]]),(0,v.jj)(n[i[1]])])})}}(o,t.rotation,D);var P=t.optionHideOverlap;(function(t,e,n){if(!(0,y.PJ)(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]),o=e.length;a(i,0,1),a(r,o-1,o-2)}function a(t,i,r){var o=(0,v.jj)(e[i]),a=(0,v.jj)(e[r]);if(o&&a){if(!1===t||o.suggestIgnore)return void V(o.label);if(a.suggestIgnore)return void V(a.label);if(!n){var s=[0,0,0,0];o=(0,v.PG)({marginForce:s},o),a=(0,v.PG)({marginForce:s},a)}(0,v.EA)(o,a,null,{touchThreshold:.1})&&(t?V(a.label):V(o.label))}}})(o,D,P),P&&(0,v.If)((0,i.filter)(D,function(t){return t&&!t.label.ignore})),function(t,e,n,r){var o,a=n.axis,s=e.ensureRecord(n),l=[],u=!!t.axisName&&(0,y.SS)(t.nameLocation);(0,i.each)(r,function(t){var e=(0,v.jj)(t);if(e&&!e.label.ignore){l.push(e);var n=s.transGroup;u&&(n.transform?f.invert(O,n.transform):f.identity(O),e.transform&&f.mul(O,O,e.transform),b.A.copy(L,e.localRect),L.applyTransform(O),o?o.union(L):b.A.copy(o=new b.A(0,0,0,0),L))}});var h=Math.abs(s.dirVec.x)>.1?"x":"y",c=s.transGroup[h];if(l.sort(function(t,e){return Math.abs(t.label[h]-c)-Math.abs(e.label[h]-c)}),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.A(d,0,g,1))}s.stOccupiedRect=o,s.labelInfoList=l}(t,n,o,D)}function V(t){t&&(t.ignore=!0)}function H(t,e,n,i,r){for(var s=[],l=[],u=[],h=0;h<t.length;h++){var c=t[h].coord;l[0]=c,l[1]=0,u[0]=c,u[1]=n,e&&((0,g.applyTransform)(l,l,e),(0,g.applyTransform)(u,u,e));var p=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]}
1,style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[h].tickValue,s.push(p);var d=I(p);d.onBand=!!t[h].onBand,d.tickValue=t[h].tickValue}return s}function W(t,e,n){if(G(t)){var i=t.axisLabelsCreationContext.out.noPxChangeTryDetermine;if(n.noPxChange){for(var r=!0,o=0;o<i.length;o++)r=r&&i[o]();if(r)return!1}i.length&&(e.remove(t.labelGroup),Y(t,null,null,null))}return!0}function G(t){return!!t.labelLayoutList}function Y(t,e,n,i){t.labelLayoutList=e,t.labelGroup=n,t.axisLabelsCreationContext=i}var U=new l.A,X=new l.A;let j=B},14501:(t,e,n)=>{var i=n(31604),r=i.__importStar(n(42049)),o=n(89676),a=n(94454),s=n(63726),l=n(24443),u=n(78238);e.A=function(t){function e(e){var n=t.call(this,e)||this;return n.echarts=e.echarts,n.ele=null,n.isInitialResize=!0,n.eventHandlerRefs={},n}return i.__extends(e,t),e.prototype.componentDidMount=function(){this.renderNewEcharts()},e.prototype.componentDidUpdate=function(t){var e=this.props.shouldSetOption;if(!(0,s.isFunction)(e)||e(t,this.props)){if(!(0,u.isEqual)(t.theme,this.props.theme)||!(0,u.isEqual)(t.o
1pts,this.props.opts)){this.dispose(),this.renderNewEcharts();return}var n=this.getEchartsInstance();(0,u.isEqual)(t.onEvents,this.props.onEvents)||(this.unbindEvents(n),this.bindEvents(n,this.props.onEvents));var i=["option","notMerge","replaceMerge","lazyUpdate","showLoading","loadingOption"];(0,u.isEqual)((0,a.pick)(this.props,i),(0,a.pick)(t,i))||this.updateEChartsOption(),(0,u.isEqual)(t.style,this.props.style)&&(0,u.isEqual)(t.className,this.props.className)||this.resize()}},e.prototype.componentWillUnmount=function(){this.dispose()},e.prototype.initEchartsInstance=function(){return i.__awaiter(this,void 0,void 0,function(){var t=this;return i.__generator(this,function(e){return[2,new Promise(function(e){t.echarts.init(t.ele,t.props.theme,t.props.opts),t.getEchartsInstance().on("finished",function(){var n=t.ele.clientWidth,r=t.ele.clientHeight;t.echarts.dispose(t.ele);var o=i.__assign({width:n,height:r},t.props.opts);e(t.echarts.init(t.ele,t.props.theme,o))})})]})})},e.prototype.getEchartsInstance=function(){return this.echarts.getInstanceByDom(this.ele)},e.prototype.dispose=function(){if(this.ele){try{(0,o.clear)(this.ele)}catch(t){console.warn(t)}this.echarts.dispose(this.ele)}},e.prototype.renderNewEcharts=function(){return i.__awaiter(this,void 0,void 0,function(){var t,e,n,r,a,l,u=this;return i.__generator(this,function(i){switch(i.label){case 0:return e=(t=this.props).onEvents,n=t.onChartReady,a=void 0===(r=t.autoResize)||r,[4,this.initEchartsInstance()];case 1:return i.sent(),l=this.updateEChartsOption(),this.bindEvents(l,e||{}),(0,s.isFunction)(n)&&n(l),this.ele&&a&&(0,o.bind)(this.ele,function(){u.resize()}),[2]}})})},e.prototype.bindEvents=function(t,e){var n=this,i=function(e,i){if((0,l.isString)(e)&&(0,s.isFunction)(i)){var r=function(e){i(e,t)};t.on(e,r),n.eventHandlerRefs[e]=r}};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&i(r,e[r])},e.prototype.unbindEvents=function(t){for(var e=0,n=Object.entries(this.eventHandlerRefs);e<n.length;e++){var i=n[e],r=i[0],o=i[1];t.off(r,o)}this.eventHandlerRefs={}},e.prototype.updateEChartsOption=function(){var t=this.props,e=t.option,n=t.notMerge,i=t.replaceMerge,r=t.lazyUpdate,o=t.showLoading,a=t.loadingOption,s=this.getEchartsInstance();return s.setOption(e,{notMerge:void 0!==n&&n,replaceMerge:void 0===i?null:i,lazyUpdate:void 0!==r&&r}),o?s.showLoading(void 0===a?null:a):s.hideLoading(),s},e.prototype.resize=function(){var t=this.getEchartsInstance();if(!this.isInitialResize)try{t.resize({width:"auto",height:"auto"})}catch(t){console.warn(t)}this.isInitialResize=!1},e.prototype.render=function(){var t=this,e=this.props,n=e.style,o=e.className,a=(e.echarts,e.option,e.theme,e.notMerge,e.replaceMerge,e.lazyUpdate,e.showLoading,e.loadingOption,e.opts,e.onChartReady,e.onEvents,e.shouldSetOption,e.autoResize,i.__rest(e,["style","className","echarts","option","theme","notMerge","replaceMerge","lazyUpdate","showLoading","loadingOption","opts","onChartReady","onEvents","shouldSetOption","autoResize"])),s=i.__assign({height:300},n);return r.default.createElement("div",i.__assign({ref:function(e){t.ele=e},style:s,className:"echarts-for-react ".concat(void 0===o?"":o)},a))},e}(r.PureComponent)},14799:(t,e,n)=>{n.d(e,{A:()=>_});var i=n(32471),r=n(37848),o=n(45874),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/d(s*s+l*l),h=u*l,c=-u*s,p=t+h,g=e+c,y=n+h,v=i+c,m=(p+y)/2,_=(g+v)/2,x=y-p,b=v-g,w=x*x+b*b,S=r-o,M=p*v-y*g,A=(b<0?-1:1)*d(f(0,S*S*w-M*M)),T=(M*b-x*A)/w,C=(-M*x-b*A)/w,k=(M*b+x*A)/w,I=(-M*x+b*A)/w,D=T-m,O=C-_,L=k-m,P=I-_;return D*D+O*O>L*L+P*P&&(T=k,C=I),{cx:T,cy:C,x0:-h,y0:-c,x1:T*(r/S-1),y1:C*(r/S-1)}}var v=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},m=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=f(e.r,0),r=f(e.r0||0,0),v=i>0,m=r>0;if(v||m){if(v||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,b=e.endAngle;if(!(isNaN(x)||isNaN(b))){var w=e.cx,S=e.cy,M=!!e.clockwise,A=p(b-x),T=A>s&&A%s;if(T>1e-4&&(A=T),i>1e-4)if(A>s-1e-4)t.moveTo(w+i*u(x),S+i*l(x)),t.arc(w,S,i,x,b,!M),r>1e-4&&(t.moveTo(w+r*u(b),S+r*l(b)),t.arc(w,S,r,b,x,M));else{var C=void 0,k=void 0,I=void 0,D=void 0,O=void 0,L=void 0,P=void 0,R=void 0,N=void 0,B=void 0,z=void 0,E=void 0,F=void 0,V=void 0,H=void 0,W=void 0,G=i*u(x),Y=i*l(x),U=r*u(b),X=r*l(b),j=A>1e-4;if(j){var Z=e.cornerRadius;Z&&(C=(n=function(t){var e;if((0,o.isArray)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(Z))[0],k=n[1],I=n[2],D=n[3]);var q=p(i-r)/2;if(O=g(q,I),L=g(q,D),P=g(q,C),R=g(q,k),z=N=f(O,L),E=B=f(P,R),(N>1e-4||B>1e-4)&&(F=i*u(b),V=i*l(b),H=r*u(x),W=r*l(x),A<a)){var K=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<1e-4))return p=(h*(e-o)-c*(t-r))/p,[t+p*l,e+p*u]}(G,Y,H,W,F,V,U,X);
1if(K){var $=G-K[0],Q=Y-K[1],J=F-K[0],tt=V-K[1],te=1/l(h(($*J+Q*tt)/(d($*$+Q*Q)*d(J*J+tt*tt)))/2),tn=d(K[0]*K[0]+K[1]*K[1]);z=g(N,(i-tn)/(te+1)),E=g(B,(r-tn)/(te-1))}}}if(j)if(z>1e-4){var ti=g(I,z),tr=g(D,z),to=y(H,W,G,Y,i,ti,M),ta=y(F,V,U,X,i,tr,M);t.moveTo(w+to.cx+to.x0,S+to.cy+to.y0),z<N&&ti===tr?t.arc(w+to.cx,S+to.cy,z,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(ti>0&&t.arc(w+to.cx,S+to.cy,ti,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,S,i,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),!M),tr>0&&t.arc(w+ta.cx,S+ta.cy,tr,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.moveTo(w+G,S+Y),t.arc(w,S,i,x,b,!M);else t.moveTo(w+G,S+Y);if(r>1e-4&&j)if(E>1e-4){var ti=g(C,E),tr=g(k,E),to=y(U,X,F,V,r,-tr,M),ta=y(G,Y,H,W,r,-ti,M);t.lineTo(w+to.cx+to.x0,S+to.cy+to.y0),E<B&&ti===tr?t.arc(w+to.cx,S+to.cy,E,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(tr>0&&t.arc(w+to.cx,S+to.cy,tr,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,S,r,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),M),ti>0&&t.arc(w+ta.cx,S+ta.cy,ti,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.lineTo(w+U,S+X),t.arc(w,S,r,b,x,M);else t.lineTo(w+U,S+X)}else t.moveTo(w,S);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.Ay);m.prototype.type="sector";let _=m},15912:(t,e,n)=>{n.d(e,{a:()=>K});var i=n(62211),r=n(32471),o=n(95264),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(o.A),s=n(40093),l=n(10558),u=n(6379),h=n(61998),c=n(84295),p=n(45874),d=n(58221),f=n(21947),g=n(13775),y=n(51973),v=n(37848),m=n(74873),_=g.A.prototype,x=y.A.prototype,b=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function w(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}(0,r.C6)(function(){return null!==b&&b.apply(this,arguments)||this},b);var S=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return(0,r.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:m.A.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new b},e.prototype.buildPath=function(t,e){w(e)?_.buildPath.call(this,t,e):x.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return w(this.shape)?_.pointAt.call(this,t):x.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=w(e)?[e.x2-e.x1,e.y2-e.y1]:x.tangentAt.call(this,t);return d.normalize(n,n)},e}(v.Ay),M=n(11374),A=n(59565),T=n(23694),C=["fromSymbol","toSymbol"];function k(t){return"_"+t+"Type"}function I(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=f.xU(r),u=f.hV(a||0,l);return i+l+u+(o||"")+(s||"")}function D(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=f.xU(r),u=f.hV(a||0,l),h=f.v5(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return h.__specifiedRotation=null==o||isNaN(o)?void 0:o*Math.PI/180||0,h.name=t,h}}function O(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var L=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return(0,r.C6)(e,t),e.prototype._createLine=function(t,e,n){var i,r=t.hostModel,o=t.getItemLayout(e),a=t.getItemVisual(e,"z2"),s=(O((i=new S({name:"line",subPixelOptimize:!0})).shape,o),i);s.shape.percent=0,M.LW(s,{z2:(0,p.retrieve2)(a,0),shape:{percent:1}},r,e),this.add(s),(0,p.each)(C,function(n){var i=D(n,t,e);this.add(i),this[k(n)]=I(n,t,e)},this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};O(a.shape,o),M.oi(r,a,i,e),(0,p.each)(C,function(n){var i=I(n,t,e),r=k(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=D(n,t,e);this.add(o)}this[r]=i},this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,u=n&&n.labelStatesModels,h=n&&n.emphasisDisabled,c=n&&n.focus,d=n&&n.blurScope;if(!n||t.hasItemOption){var f=t.getItemModel(e),g=f.getModel("emphasis");o=g.getModel("lineStyle").getLineStyle(),a=f.getModel(["blur","lineStyle"]).getLineStyle(),s=f.getModel(["select","lineStyle"]).getLineStyle(),h=g.get("disabled"),c=g.get("focus"),d=g.get("blurScope"),u=(0,T.lx)(f)}var y=t.getItemVisual(e,"style"),v=y.stroke;r.useStyle(y),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,(0,p.each)(C,function(t){var e=this.childOfName(t);if(e){e.setColor(v),e.style.opacity=y.opacity;for(var n=0;n<A.BV.length;n++){var i=A.BV[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}},this);var _=i.getRawValue(e);(0,T.qM)(this,u,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:v||m.A.color.neutral99,defaultOpacity:y.opacity,defaultText:(null==_?t.getName(e):isFinite(_)?(0,l.LI)(_):_)+""});var x=this.getTextContent();if(x){var b=u.normal;
1x.__align=x.style.align,x.__verticalAlign=x.style.verticalAlign,x.__position=b.get("position")||"middle";var w=b.get("distance");(0,p.isArray)(w)||(w=[w,w]),x.__labelDistance=w}this.setTextConfig({position:null,local:!0,inside:!1}),(0,A.Lm)(this,c,d,h)},e.prototype.highlight=function(){(0,A.HY)(this)},e.prototype.downplay=function(){(0,A.SD)(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");O(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.getTextContent();if(t||e||n&&!n.ignore){for(var i=1,r=this.parent;r;)r.scaleX&&(i/=r.scaleX),r=r.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var a=o.shape.percent,s=o.pointAt(0),l=o.pointAt(a),u=d.sub([],l,s);if(d.normalize(u,u),t&&(t.setPosition(s),S(t,0),t.scaleX=t.scaleY=i*a,t.markRedraw()),e&&(e.setPosition(l),S(e,1),e.scaleX=e.scaleY=i*a,e.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var h=void 0,c=void 0,p=n.__labelDistance,f=p[0]*i,g=p[1]*i,y=a/2,v=o.tangentAt(y),m=[v[1],-v[0]],_=o.pointAt(y);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]);var x=v[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var b=-Math.atan2(v[1],v[0]);l[0]<s[0]&&(b=Math.PI+b),n.rotation=b}var w=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,c="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,c="top";break;default:w=0,c="middle"}switch(n.__position){case"end":n.x=u[0]*f+l[0],n.y=u[1]*g+l[1],h=u[0]>.8?"left":u[0]<-.8?"right":"center",c=u[1]>.8?"top":u[1]<-.8?"bottom":"middle";break;case"start":n.x=-u[0]*f+s[0],n.y=-u[1]*g+s[1],h=u[0]>.8?"right":u[0]<-.8?"left":"center",c=u[1]>.8?"bottom":u[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=f*x+s[0],n.y=s[1]+w,h=v[0]<0?"right":"left",n.originX=-f*x,n.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=_[0],n.y=_[1]+w,h="center",n.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-f*x+l[0],n.y=l[1]+w,h=v[0]>=0?"right":"left",n.originX=f*x,n.originY=-w}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||c,align:n.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=o.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(h.A),P=function(){function t(t){this.group=new h.A,this._LineCtor=t||L}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this.group,i=this._lineData;this._lineData=t,i||n.removeAll();var r=R(t);
1t.diff(i).add(function(n){e._doAdd(t,n,r)}).update(function(n,o){e._doUpdate(i,t,o,n,r)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=R(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){var e;t.isGroup||(e=t).animators&&e.animators.length>0||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++)if(B(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){c.traverseElements(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(B(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);B(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}();function R(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:(0,T.lx)(e)}}function N(t){return isNaN(t[0])||isNaN(t[1])}function B(t){return t&&!N(t[0])&&!N(t[1])}var z=n(67890),E=n(12224),F=n(52843),V=n(67966),H=n(76172),W=n(3327),G=(0,H.$r)(),Y=function(t,e,n,i){var r,o=t.getData();if((0,p.isArray)(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=(0,p.retrieve)(i.yAxis,i.xAxis);else{var h=u.Yc(i,o,e,t);s=h.valueAxis;var c=(0,E.me)(o,h.valueDataDim);l=u.vz(o,c,a)}var d=+("x"!==s.dim),f=1-d,g=(0,p.clone)(i),y={coord:[]};g.type=null,g.coord=[],g.coord[f]=-1/0,y.coord[f]=1/0;var v=n.get("precision");v>=0&&(0,p.isNumber)(l)&&(l=+l.toFixed(Math.min(v,20))),g.coord[d]=y.coord[d]=l,r=[g,y,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var m=[u.xx(t,r[0]),u.xx(t,r[1]),(0,p.extend)({},r[2])];return m[2].type=m[2].type||null,(0,p.merge)(m[2],m[0]),(0,p.merge)(m[2],m[1]),m};function U(t){return!isNaN(t)&&!isFinite(t)}function X(t,e,n,i){var r=1-t,o=i.dimensions[t];return U(e[r])&&U(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function j(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(X(1,n,i,t)||X(0,n,i,t)))return!0}return u.Lq(t,e[0])&&u.Lq(t,e[1])}function Z(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),u=l.lo(s.get("x"),r.getWidth()),h=l.lo(s.get("y"),r.getHeight());if(isNaN(u)||isNaN(h)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,p=t.get(c[0],e),d=t.get(c[1],e);o=a.dataToPoint([p,d])}if((0,F.g)(a,"cartesian2d")){var f=a.getAxis("x"),g=a.getAxis("y"),c=a.dimensions;U(t.get(c[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[+!n]):U(t.get(c[1],e))&&(o[1]=g.toGlobalCoord(g.getExtent()[+!n]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];t.setItemLayout(e,o)}var q=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=G(e).from,a=G(e).to;r.each(function(e){Z(r,e,!0,t,n),Z(a,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r,o,a,l,h,c,d,f,g,y=t.coordinateSystem,v=t.id,m=t.getData(),_=this.markerGroupMap,x=_.get(v)||_.set(v,new P);this.group.add(x.group);var b=(r=y,o=t,a=e,l=r?(0,p.map)(r&&r.dimensions,function(t){var e=o.getData().getDimensionInfo(o.getData().mapDimension(t))||{};return(0,p.extend)((0,p.extend)({},e),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new s.A(l,a),c=new s.A(l,a),d=new s.A([],a),f=(0,p.map)(a.get("data"),(0,p.curry)(Y,o,r,a)),r&&(f=(0,p.filter)(f,(0,p.curry)(j,r))),g=u.fY(!!r,l),h.initData((0,p.map)(f,function(t){return t[0]}),null,g),c.initData((0,p.map)(f,function(t){return t[1]}),null,g),d.initData((0,p.map)(f,function(t){return t[2]})),d.hasItemOption=!0,{from:h,to:c,line:d}),w=b.from,S=b.to,M=b.line;G(e).from=w,G(e).to=S,e.setData(M);var A=e.get("symbol"),T=e.get("symbolSize"),C=e.get("symbolRotate"),k=e.get("symbolOffset");function I(e,n,r){var o=e.getItemModel(n);Z(e,n,r,t,i);var a=o.getModel("itemStyle").getItemStyle();null==a.fill&&(a.fill=(0,W.rI)(m,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:(0,p.retrieve2)(o.get("symbolOffset",!0),k[+!r]),symbolRotate:(0,p.retrieve2)(o.get("symbolRotate",!0),C[+!r]),symbolSize:(0,p.retrieve2)(o.get("symbolSize"),T[+!r]),symbol:(0,p.retrieve2)(o.get("symbol",!0),A[+!r]),style:a})}(0,p.isArray)(A)||(A=[A,A]),(0,p.isArray)(T)||(T=[T,T]),(0,p.isArray)(C)||(C=[C,C]),(0,p.isArray)(k)||(k=[k,k]),b.from.each(function(t){I(w,t,!0),I(S,t,!1)}),M.each(function(t){var e=M.getItemModel(t),n=e.getModel("lineStyle").getLineStyle();M.setItemLayout(t,[w.getItemLayout(t),S.getItemLayout(t)]);var i=e.get("z2");null==n.stroke&&(n.stroke=w.getItemVisual(t,"style").fill),M.setItemVisual(t,{z2:(0,p.retrieve2)(i,0),fromSymbolKeepAspect:w.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:w.getItemVisual(t,"symbolOffset"),fromSymbolRotate:w.getItemVisual(t,"symbolRotate"),fromSymbolSize:w.getItemVisual(t,"symbolSize"),fromSymbol
1:w.getItemVisual(t,"symbol"),toSymbolKeepAspect:S.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:S.getItemVisual(t,"symbolOffset"),toSymbolRotate:S.getItemVisual(t,"symbolRotate"),toSymbolSize:S.getItemVisual(t,"symbolSize"),toSymbol:S.getItemVisual(t,"symbol"),style:n})}),x.updateData(M),b.line.eachItemGraphicEl(function(t){(0,V.z)(t).dataModel=e,t.traverse(function(t){(0,V.z)(t).dataModel=e})}),this.markKeep(x),x.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(z.A);function K(t){t.registerComponentModel(a),t.registerComponentView(q),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markLine")&&(t.markLine=t.markLine||{})})}},15971:(t,e,n)=>{n.d(e,{A:()=>p});var i=n(32471),r=n(45874),o=n(39020),a=n(1054),s=n(36363),l=n(76172),u=n(61293),h=(0,l.$r)(),c=function(t){var e;function n(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.$Q("ec_cpt_model"),r}return(0,i.C6)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.ad(this),i=n?u.vs(t):{},o=e.getTheme();r.merge(t,o.get(this.mainType)),r.merge(t,this.getDefaultOption()),n&&u.YA(t,i,n)},n.prototype.mergeOption=function(t,e){r.merge(this.option,t,!0);var n=u.ad(this);n&&u.YA(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.merge(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.JO)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return u.io(this,!1)},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.A);(0,s.q7)(c,o.A),(0,s.tQ)(c),a.A6(c),a.vf(c,function(t){var e=[];return r.each(c.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.depen
1dencies||[])}),e=r.map(e,function(t){return(0,s.CC)(t).main}),"dataset"!==t&&0>=r.indexOf(e,"dataset")&&e.unshift("dataset"),e});let p=c},17067:(t,e,n)=>{n.d(e,{n:()=>r});var i=2*Math.PI;function r(t){return(t%=i)<0&&(t+=i),t}},17323:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(32471),r=n(37848),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,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=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*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.Ay);a.prototype.type="arc";let s=a},17667:(t,e,n)=>{n.d(e,{Dl:()=>o,M:()=>i,pO:()=>r});var i=1,r=2,o=4},18398:(t,e,n)=>{n.d(e,{a:()=>K});var i=n(32471),r=n(45874),o=n(15971),a=["x","y","radius","angle","single"],s=["cartesian2d","polar","singleAxis"];function l(t){return t+"Axis"}var u=n(76172),h=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){var i=p(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=p(t);(0,r.merge)(this.option,t,!0),(0,r.merge)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,r.createHashMap)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,r.each)(a,function(n){var i=this.getReferringComponents(l(n),u.UW);if(i.specified){e=!0;var o=new h;(0,r.each)(i.models,function(t){o.add(t.componentIndex)}),t.set(n,o)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0,o="vertical"===e?"y":"x",s=n.findComponents({mainType:o+"Axis"});if(c(s,o),i){var s=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});c(s,"single")}function c(e,n){var o=e[0];if(o){var a=new h;
1if(a.add(o.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var s=o.getReferringComponents("grid",u.US).models[0];s&&(0,r.each)(e,function(t){o.componentIndex!==t.componentIndex&&s===t.getReferringComponents("grid",u.US).models[0]&&a.add(t.componentIndex)})}}}i&&(0,r.each)(a,function(e){if(i){var r=n.findComponents({mainType:l(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new h;o.add(r[0].componentIndex),t.set(e,o),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,r.each)([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;
1return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(l(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){(0,r.each)(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(l(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(i){(null!=t[i[0]]||null!=t[i[1]])&&(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,r.each)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(o.A);function p(t){var e={};return(0,r.each)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var d=n(1054),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,d.G_)(c.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(c),g=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(n(53623).A);function y(t,e,n,i,r,o){t=t||0;var a,s=n[1]-n[0];if(null!=r&&(r=m(r,[0,s])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var l=Math.abs(e[1]-e[0]);l=m(l,[0,s]),r=o=m(l,[r,o]),i=0}e[0]=m(e[0],n),e[1]=m(e[1],n);var u=v(e,i);e[i]+=t;var h=r||0,c=n.slice();return u.sign<0?c[0]+=h:c[1]-=h,e[i]=m(e[i],c),a=v(e,i),null!=r&&(a.sign!==u.sign||a.span<r)&&(e[1-i]=e[i]+u.sign*r),a=v(e,i),null!=o&&a.span>o&&(e[1-i]=e[i]+a.sign*o),e}function v(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function m(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var _=n(24009),x=n(98998),b=n(64447),w=(0,u.$r)();b.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},r.noop);var S=n(84295),M={axisPointer:1,tooltip:1,brush:1},A=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=(0,r.bind)(n._mousedownHandler,n),o=(0,r.bind)(n._mousemoveHandler,n),a=(0,r.bind)(n._mouseupHandler,n),s=(0,r.bind)(n._mousewheelHandler,n),l=(0,r.bind)(n._pinchHandler,n);return n.enable=function(t,n){var u=n.zInfo,h=(0,S.retrieveZInfo)(u.component),c=h.z,p=h.zlevel,d={component:u.component,z:c,zlevel:p,z2:(0,r.retrieve2)(u.z2,-1/0)},f=(0,r.extend)({},n.triggerInfo);this._opt=(0,r.defaults)((0,r.extend)({},n),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:d,triggerInfo:f}),null==t&&(t=!0),this._enabled&&this._controlType===t||(this._enabled=!0,this.disable(),(!0===t||"move"===t||"pan"===t)&&(I(e,"mousedown",i,d),I(e,"mousemove",o,d),I(e,"mouseup",a,d)),(!0===t||"scale"===t||"zoom"===t)&&(I(e,"mousewheel",s,d),I(e,"pinch",l,d)))},n.disable=function(){this._enabled=!1,D(e,"mousedown",i),D(e,"mousemove",o),D(e,"mouseup",a),D(e,"mousewheel",s),D(e,"pinch",l)},n}return(0,i.C6)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype._checkPointer=function(t,e,n){var i=this._opt,r=i.zInfoParsed;
1if(function(t,e,n){var i=e.getComponentByElement(t.topTarget);if(!i||i===n||M.hasOwnProperty(i.mainType))return!1;var r=i.coordinateSystem;if(!r||r.model===n)return!1;var o=(0,S.retrieveZInfo)(i),a=(0,S.retrieveZInfo)(n);return!(0>=(o.zlevel-a.zlevel||o.z-a.z))}(t,i.api,r.component))return!1;var o=i.triggerInfo,a=o.roamTrigger,s=!1;return"global"===a&&(s=!0),s||(s=o.isInSelf(t,e,n)),s&&o.isInClip&&!o.isInClip(t,e,n)&&(s=!1),s},e.prototype._decideCursorStyle=function(t,e,n,i){var r=t.target;return!r&&this._checkPointer(t,e,n)?"grab":i?r&&r.cursor||"default":void 0},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(x.W5(t)||T(t))){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this._checkPointer(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var e=this._zr;if(!("pinch"===t.gestureEvent||w(e).globalPan||T(t))){var n=t.offsetX,i=t.offsetY;if(!this._dragging||!L("moveOnMouseMove",t,this._opt)){var r=this._decideCursorStyle(t,n,i,!1);r&&e.setCursorStyle(r);return}e.setCursorStyle("grabbing");var o=this._x,a=this._y,s=n-o,l=i-a;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&x.ds(t.event),t.__ecRoamConsumed=!0,O(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:o,oldY:a,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!T(t)){var e=this._zr;if(!x.W5(t)){this._dragging=!1;var n=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);n&&e.setCursorStyle(n)}}},e.prototype._mousewheelHandler=function(t){if(!T(t)){var e=L("zoomOnMouseWheel",t,this._opt),n=L("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!(w(this._zr).globalPan||T(t))){var e=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,e,n,i,r){t._checkPointer(i,r.originX,r.originY)&&(x.ds(i.event),i.__ecRoamConsumed=!0,O(t,e,n,i,r))},e}(_.A);function T(t){return t.__ecRoamConsumed}var C=(0,u.$r)();function k(t){var e=C(t);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function I(t,e,n,i){for(var r,o,a,s=k(t).roam,l=s[e]=s[e]||[],u=0;u<l.length;u++){var h=l[u].zInfoParsed;
1if(0>=(h.zlevel-i.zlevel||h.z-i.z||h.z2-i.z2))break}l.splice(u,0,{listener:n,zInfoParsed:i}),r=t,o=e,(a=k(r)).uniform[o]||r.on(o,a.uniform[o]=function(t){var e=a.roam[o];if(e)for(var n=0;n<e.length;n++)e[n].listener(t)})}function D(t,e,n){for(var i=k(t).roam[e]||[],r=0;r<i.length;r++)if(i[r].listener===n){i.splice(r,1),i.length||function(t,e){var n=k(t).uniform;n[e]&&(t.off(e,n[e]),n[e]=null)}(t,e);return}}function O(t,e,n,i,o){o.isAvailableBehavior=(0,r.bind)(L,null,n,i),t.trigger(e,o)}function L(t,e,n){var i=n[t];return!t||i&&(!(0,r.isString)(i)||e.event[i+"Key"])}var P=n(75407),R=(0,u.$r)();function N(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function B(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function z(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}var E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i){var o;(t.prototype.render.apply(this,arguments),e.noTarget())?this._clear():(this.range=e.getPercentRange(),o={pan:(0,r.bind)(F.pan,this),zoom:(0,r.bind)(F.zoom,this),scrollMove:(0,r.bind)(F.scrollMove,this)},R(i).coordSysRecordMap.each(function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=o)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=R(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||N(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(g),F={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=H[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(y(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1])return o}},pan:V(function(t,e,n,i,r,o){var a=H[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:V(function(t,e,n,i,r,o){return H[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function V(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s&&(y(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]))return a}}var H={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},W=n(10558),G=n(77841),Y=n(37064),U=r.each,X=W.Y6,j=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(n=e.get("coordinateSystem"),(0,r.indexOf)(s,n)>=0){var n,i=l(this._dimName),o=e.getReferringComponents(i,u.US).models[0];o&&this._axisIndex===o.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return r.clone(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,
1i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];U(["start","end"],function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(W.Cb(h,o,n))):(e=!0,c=null==c?n[u]:i.parse(c),h=W.Cb(c,n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h}),X(s),X(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";y(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=W.Cb(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e,n,i,r,o,a=this.getTargetSeriesModels();this._dataExtent=(e=this,n=this._dimName,i=[1/0,-1/0],U(a,function(t){(0,G.PN)(i,t.getData(),n)}),r=e.getAxisModel(),[(o=(0,Y.Tc)(r.axis.scale,r,i).calculate()).min,o.max]),this._updateMinMaxSpan();var s=this.calculateDataWindow(t.settledOption);this._valueWindow=s.valueWindow,this._percentWindow=s.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._valueWindow;"none"!==o&&U(i,function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===o){var s=e.getStore(),l=r.map(i,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,r,o=0;o<i.length;o++){var u=s.get(l[o],t),h=!isNaN(u),c=u<a[0],p=u>a[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n})}else U(i,function(n){if("empty"===o)t.setData(e=e.map(n,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:NaN}));else{var i={};i[n]=a,e.selectRange(i)}});U(i,function(t){e.setApproximateExtent(a,t)}
1)}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;U(["min","max"],function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=W.Cb(n[0]+o,n,[0,100],!0):null!=r&&(o=W.Cb(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=W.hb(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();let Z={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,r){var o=t.getComponent(l(i),r);e(i,r,o,n)})})}e(function(t,e,n,i){n.__dzAxisProxy=null});var n=[];e(function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new j(e,i,o,t),n.push(r.__dzAxisProxy))});var i=(0,r.createHashMap)();return(0,r.each)(n,function(t){(0,r.each)(t.getTargetSeriesModels(),function(t){i.set(t.uid,t)})}),i},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};var q=!1;function K(t){q||(q=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,Z),t.registerAction("dataZoom",function(t,e){var n=function(t,e){var n,i=(0,r.createHashMap)(),o=[],a=(0,r.createHashMap)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do n=!1,t.eachComponent("dataZoom",s);while(n);function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)}),e)&&(l(t),n=!0)}function l(t){a.set(t.uid,!0),o.push(t),t.eachTargetAxis(function(t,e){(i.get(t)||i.set(t,[]))[e]=!0})}return o}(e,t);(0,r.each)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"})),t.registerComponentModel(f),t.registerComponentView(E),t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=R(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=(0,r.createHashMap)());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n,o,a=(n=t.ecModel,o={infoList:[],infoMap:(0,r.createHashMap)()},t.eachTargetAxis(function(t,e){var i=n.getComponent(l(t),e);if(i){var r=i.getCoordSysModel();if(r){var a=r.uid,s=o.infoMap.get(a);s||(s={model:r,axisModels:[]},o.infoList.push(s),o.infoMap.set(a,s)),s.axisModels.push(i)}}}),o);(0,r.each)(a.infoList,function(n){var o,a,s,l=n.model.uid,u=i.get(l)||i.set(l,(s=(a={model:o=n.model,containsPoint:(0,r.curry)(z,o),dispatchAction:(0,r.curry)(B,e),dataZoomInfoMap:null,controller:null}).controller=new A(e.getZr()),(0,r.each)(["pan","zoom","scrollMove"],function(t){s.on(t,function(e){var n=[];a.dataZoomInfoMap.each(function(i){if(e.isAvailableBehavior(i.model.option)){var r=(i.getRange||{})[t],o=r&&r(i.dzReferCoordSysInfo,a.model.mainType,a.controller,e);!i.model.get("disabled",!0)&&o&&n.push({dataZoomId:i.model.id,start:o[0],end:o[1]})}}),n.length&&a.dispatchAction(n)})}),a));(u.dataZoomInfoMap||(u.dataZoomInfoMap=(0,r.createHashMap)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var n,r,o,a,s,l=t.controller,u=t.dataZoomInfoMap;if(u){var h=u.keys()[0];null!=h&&(s=u.get(h))}if(!s)return void N(i,t);var c=(r="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0,u.each(function(t){var e=t.model,i=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");o[r+i]>o[r+n]&&(n=i),a=a&&e.get("preventDefaultMouseMove",!0)}),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a,api:e,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint}}});l.enable(c.controlType,c.opt),P.N(t,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}},19937:(t,e,n)=>{n.d(e,{A:()=>l});var i=n(36363),r=n(67493),o=n(45874),a=n(99856),s=function(){function t(t){this._calculator=new r.R8,this._setting=t||{},this._extent=[1/0,-1/0];var e=(0,a.m)();e&&(this._brkCtx=e.createScaleBreakContext(),this._brkCtx.update(this._extent))}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent(t[0]<e[0]?t[0]:e[0],t[1]>e[1]?t[1]:e[1])},t.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},t.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},t.prototype.setBreaksFromOption=function(t){var e=(0,a.m)();e&&this._innerSetBreak(e.parseAxisBreakOption(t,(0,o.bind)(this.parse,this)))},t.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},t.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},t.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},t.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();i.tQ(s);let l=s},21369:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(32471),r=n(37848),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-s,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-s,n+r,i),t.bezierCurveTo(n+r,i+s,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+s,n-r,i),t.closePath()},e}(r.Ay);a.prototype.type="ellipse";let s=a},21947:(t,e,n)=>{n.d(e,{hV:()=>M,v5:()=>w,xU:()=>S});var i=n(45874),r=n(37848),o=n(13775),a=n(52121),s=n(54581),l=n(84295),u=n(10504),h=n(65184),c=n(10558),p=n(74873),d=r.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),f=r.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),g=r.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-h+c*d,l+s+p*d,n-h,l+s),t.closePath()}}),y=r.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),v={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:f,pin:g,arrow:y,tri
1angle:d},m={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},_={};(0,i.each)(v,function(t,e){_[e]=new t});var x=r.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,h.X4)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=_[i];r||(r=_[i="rect"]),m[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function b(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||p.A.color.neutral00,n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function w(t,e,n,i,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.A(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.A(e,n,i,r),a?"center":"cover"):new x({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=h,s.setColor=b,o&&s.setColor(o),s}function S(t){return(0,i.isArray)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function M(t,e){if(null!=t)return(0,i.isArray)(t)||(t=[t,t]),[(0,c.lo)(t[0],e[0])||0,(0,c.lo)((0,i.retrieve2)(t[1],t[0]),e[1])||0]}},22030:(t,e,n)=>{n.d(e,{R:()=>l});var i=n(10504),r=n(45874),o=n(84815),a=n(63718),s=n(77841);function l(){(0,o.v)(u)}function u(t,e){(0,r.each)(t,function(t){if(!t.model.get(["axisLabel","inside"])){var n=function(t){var e,n,r,o=t.model,l=t.scale;if(!(!o.get(["axisLabel","show"])||l.isBlank())){var u=l.getExtent();n=l instanceof a.A?l.count():(e=l.getTicks()).length;var h=t.getLabelModel(),c=(0,s.ry)(t),p=1;n>40&&(p=Math.ceil(n/40));for(var d=0;d<n;d+=p){var f=c(e?e[d]:{value:u[0]+d},d),g=function(t,e){var n=e*Math.PI/180,r=t.width,o=t.height,a=r*Math.abs(Math.cos(n))+Math.abs(o*Math.sin(n)),s=r*Math.abs(Math.sin(n))+Math.abs(o*Math.cos(n));return new i.A(t.x,t.y,a,s)}(h.getTextRect(f),h.get("rotate")||0);r?r.union(g):r=g}return r}}(t);if(n){var r=t.isHorizontal()?"height":"width",o=t.model.get(["axisLabel","margin"]);e[r]-=n[r]+o,"top"===t.position?e.y+=n.height+o:"left"===t.position&&(e.x+=n.width+o)}}})}},22182:(t,e,n)=>{n.r(e),n.d(e,{dispose:()=>ta,disposeAll:()=>ts,getElementSSRData:()=>th,getInstance:()=>tl,init:()=>to,registerPainter:()=>tu,registerSSRDataGetter:()=>tc,version:()=>tp});var i,r,o,a,s=n(98573),l=n(45874),u=n(32471),h=n(58221),c=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},p=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 n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new c(e,t),"drag",t.event);var a=this.handler.findHover(n,i,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}(),d=n(24009),f=n(98998),g=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=f.Yo(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in v)if(v.hasOwnProperty(e)){var n=v[e](this._track,t);if(n)return n}},t}();function y(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var v={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=y(i)/y(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];
1return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},m=n(10504),_="silent";function x(){f.ds(this.event)}var b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,u.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(d.A),w=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],M=new m.A(0,0,0,0),A=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new w(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new b,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new p(a),a}return(0,u.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(l.each(S,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=C(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new w(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new w(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r,o="on"+e,a={type:e,event:n,target:(r=t).target,topTarget:r.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:x};i&&(i[o]&&(a.cancelBubble=!!i[o].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new w(t,e);if(T(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.A(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(M.copy(h.getBoundingRect()),h.transform&&M.applyTransform(h.transform),M.intersect(l)&&o.push(h))}if(o.length){for(var c=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=c)if(T(o,r,t+d*Math.cos(f),e+d*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new g);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);
1if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new w;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(d.A);function T(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s?i.ignoreHostSilent?null:s:i.parent}return!r||_}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==_)){e.target=a;break}}}function C(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}l.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){A.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=C(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||h.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var k=n(86960),I=n(17667),D=!1;function O(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var P=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,k.A)(n,L)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath(),r=e&&e.length,o=0,a=t.__clipPaths;if(!t.ignoreClip&&(r||i)){if(a||(a=t.__clipPaths=[]),r)for(var s=0;s<e.length;s++)a[o++]=e[s];for(var l=i,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 h=t.childrenRef(),c=0;c<h.length;c++){var p=h[c];t.__dirty&&(p.__dirty|=I.M),this._updateAndAddDisplayable(p,a,n)}t.__dirty=0}else isNaN(t.z)&&(O(),t.z=0),isNaN(t.z2)&&(O(),t.z2=0),isNaN(t.zlevel)&&(O(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,a,n);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,a,n);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,a,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);return}var i=l.indexOf(this._roots,t);i>=0&&this._roots.splice(i,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}(),R=n(24177),N=n(57833);function B(){return new Date().getTime()}var z=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,n.stage=(e=e||{}).stage||{},n}return(0,u.C6)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=B()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)&&(i.ondestroy(),this.removeClip(i)),i=r}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update(
1))},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,R.A)(function e(){t._running&&((0,R.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=B(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=B(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=B()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new N.A(t,e.loop);return this.addAnimator(n),n},e}(d.A),E=s.A.domSupported,F=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=l.map(i,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),V=["mousemove","mouseup"],H=["pointermove","pointerup"],W=!1;function G(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Y(t){t&&(t.zrByTouch=!0)}function U(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var X=function(t,e){this.stopPropagation=l.noop,this.stopImmediatePropagation=l.noop,this.preventDefault=l.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},j={mousedown:function(t){t=(0,f.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,f.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,f.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){U(this,(t=(0,f.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){W=!0,t=(0,f.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){W||(t=(0,f.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Y(t=(0,f.e0)(this.dom,t)),this.__lastTouchMoment=ne
1w Date,this.handler.processGesture(t,"start"),j.mousemove.call(this,t),j.mousedown.call(this,t)},touchmove:function(t){Y(t=(0,f.e0)(this.dom,t)),this.handler.processGesture(t,"change"),j.mousemove.call(this,t)},touchend:function(t){Y(t=(0,f.e0)(this.dom,t)),this.handler.processGesture(t,"end"),j.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&j.click.call(this,t)},pointerdown:function(t){j.mousedown.call(this,t)},pointermove:function(t){G(t)||j.mousemove.call(this,t)},pointerup:function(t){j.mouseup.call(this,t)},pointerout:function(t){G(t)||j.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],function(t){j[t]=function(e){e=(0,f.e0)(this.dom,e),this.trigger(t,e)}});var Z={pointermove:function(t){G(t)||Z.mousemove.call(this,t)},pointerup:function(t){Z.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 q(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,f.q2)(t.domTarget,e,n,i)}function K(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,f.f)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var $=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Q=function(t){function e(e,n){var i,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new $(e,j),E&&(o._globalHandlerScope=new $(document,Z)),r=(i=o._localHandlerScope).domHandlers,s.A.pointerEventsSupported?l.each(F.pointer,function(t){q(i,t,function(e){r[t].call(o,e)})}):(s.A.touchEventsSupported&&l.each(F.touch,function(t){q(i,t,function(e){r[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),l.each(F.mouse,function(t){q(i,t,function(e){e=(0,f.mK)(e),i.touching||r[t].call(o,e)})})),o}return(0,u.C6)(e,t),e.prototype.dispose=function(){K(this._localHandlerScope),E&&K(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,E&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.A.pointerEventsSupported?l.each(H,n):s.A.touchEventsSupported||l.each(V,n);function n(n){q(e,n,function(i){if(!U(t,(i=(0,f.mK)(i)).target)){var r;r=i,i=(0,f.e0)(t.dom,new X(t,r),!0),e.domHandlers[n].call(t,i)}},{capture:!0})}}(this,e):K(e)}},e}(d.A),J=n(40520),tt=n(7e3),te=n(61998),tn={},ti={},tr=function(){function t(t,e,n){var i,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new P,a=n.renderer||"canvas";tn[a]||(a=l.keys(tn)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tn[a](e,o,n,t),h=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var c=s.A.node||s.A.worker||h?null:new Q(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?s.A.touchEventsSupported:!!p)&&(i=l.retrieve2(n.pointerSize,44)),this.handler=new A(o,u,c,u.root,i),this.animation=new z({stage:{update:h?null:function(){return r._flush(!0)}}}),h||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,J.lum)(t,1)<tt.ps;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,J.lum)(e[r].color,1);return(n/=i)<tt.ps}return!1}(t))}
1,t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=B();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=B();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof te.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete ti[t]}},t}();function to(t,e){var n=new tr(l.guid(),t,e);return ti[n.id]=n,n}function ta(t){t.dispose()}function ts(){for(var t in ti)ti.hasOwnProperty(t)&&ti[t].dispose();ti={}}function tl(t){return ti[t]}function tu(t,e){tn[t]=e}function th(t){if("function"==typeof a)return a(t)}function tc(t){a=t}var tp="6.0.0"},22557:(t,e,n)=>{n.d(e,{A:()=>l});var i=n(32471),r=n(37848),o=n(81312),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,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(r.Ay);s.prototype.type="polygon";let l=s},23537:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=1;e.default=function(){return"".concat(n++)}},23694:(t,e,n)=>{n.d(e,{Br:()=>w,Lu:()=>x,VB:()=>d,c8:()=>_,lx:()=>p,qM:()=>c,xb:()=>b});var i=n(52236),r=n(45874),o=n(59565),a=n(76172),s=n(11374),l={};function u(t,e){for(var n=0;n<o.BV.length;n++){var i=o.BV[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function h(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.isFunction)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:i},c=0;c<o.BV.length;c++){var p=o.BV[c],d=e[p];h[p]=(0,r.retrieve2)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,i)}return h}function c(t,e,n,a){n=n||l;for(var s=t instanceof i.Ay,c=!1,p=0;p<o.wV.length;p++){var g=e[o.wV[p]];if(g&&g.getShallow("show")){c=!0;break}}var y=s?t:t.getTextContent();if(c){!s&&(y||(y=new i.Ay,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=h(n,e),m=e.normal,_=!!m.getShallow("show"),b=d(m,a&&a.normal,n,!1,!s);b.text=v.normal,s||t.setTextConfig(f(m,n,!1));for(var p=0;p<o.BV.length;p++){var w=o.BV[p],g=e[w];if(g){var S=y.ensureState(w),M=!!(0,r.retrieve2)(g.getShallow("show"),_);M!==_&&(S.ignore=!M),S.style=d(g,a&&a[w],n,!0,!s),S.style.text=v[w],s||(t.ensureState(w).textConfig=f(g,n,!0))}}y.silent=!!m.getShallow("silent"),null!=y.style.x&&(b.x=y.style.x),null!=y.style.y&&(b.y=y.style.y),y.ignore=!_,y.useStyle(b),y.dirty(),n.enableTextSetter&&(x(y).setLabelText=function(t){var i=h(n,e,t);u(y,i)})}else y&&(y.ignore=!0);t.dirty()}function p(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.BV.length;i++){var r=o.BV[i];n[r]=t.getModel([r,e])}return n}function d(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||l;var a,s=e.ecModel,u=s&&s.option.textStyle,h=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||l).rich;if(n){e=e||{};for(var i=(0,r.keys)(n),o=0;o<i.length;o++)e[i[o]]=1}t=t.parentModel}return e}(e);if(h){a={};var c="richInheritPlainLabel",p=(0,r.retrieve2)(e.get(c),s?s.get(c):void 0);for(var d in h)if(h.hasOwnProperty(d)){var f=e.getModel(["rich",d]);m(a[d]={},f,u,e,p,n,i,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 v=e.get("minMargin");if(null!=v)t.margin=[v=(0,r.isNumber)(v)?v/2:0,v,v,v],t.__marginType=w.minMargin;else{var _=e.get("textMargin");null!=_&&(t.margin=(0,r.normalizeCssArray)(_),t.__marginType=w.textMargin)}m(t,e,u,null,null,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.extend)(a,e),a}function f(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.retrieve2)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),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 g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],v=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,n,i,o,a,s,u,h,c){n=!s&&n||l;var p=a&&a.inheritColor,d=e.getShallow("color"),f=e.getShallow("textBorderColor"),m=(0,r.retrieve2)(e.getShallow("opacity"),n.opacity);("inherit"===d||"auto"===d)&&(d=p||null),("inherit"===f||"auto"===f)&&(f=p||null),u||(d=d||n.color,f=f||n.textBorderColor),null!=d&&(t.fill=d),null!=f&&(t.stroke=f);var _=(0,r.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=_&&(t.lineWidth=_);var x=(0,r.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=x&&(t.lineDash=x);var b=(0,r.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=b&&(t.lineDashOffset=b),s||null!=m||c||(m=a&&a.defaultOpacity),null!=m&&(t.opacity=m),s||u||null!=t.fill||!a.inheritColor||(t.fill=a.inheritColor);for(var w=0;w<g.length;w++){var S=g[w],M=!1!==o&&i?(0,r.retrieve3)(e.getShallow(S),i.getShallow(S),n[S]):(0,r.retrieve2)(e.getShallow(S),n[S]);null!=M&&(t[S]=M)}for(var w=0;w<y.length;w++){var S=y[w],M=e.getShallow(S);null!=M&&(t[S]=M)}if(null==t.verticalAlign){var A=e.getShallow("baseline");null!=A&&(t.verticalAlign=A)}if(!h||!a.disableBox){for(var w=0;w<v.length;w++){var S=v[w],M=e.getShallow(S);null!=M&&(t[S]=M)}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)}}function _(t,e){var n=e&&e.getModel("textStyle");return(0,r.trim)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var x=(0,a.$r)();function b(t,e,n,i,o){var l=x(t);if(l.valueAnimation&&l.prevValue!==l.value){var c=l.defaultInterpolatedText,p=(0,r.retrieve2)(l.interpolatedValue,l.prevValue),d=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},i,e,null,function(i){var r=(0,a.Il)(n,l.precision,p,d,i);l.interpolatedValue=1===i?null:r,u(t,h({labelDataIndex:e,labelFetcher:o,defaultText:c?c(r):r+""},l.statesModels,r))})}}var w={minMargin:1,textMargin:2}},24009:(t,e,n)=>{n.d(e,{A:()=>i});let i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.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 r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.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 r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},24177:(t,e,n)=>{n.d(e,{A:()=>i});let i=n(98573).A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},24187:(t,e,n)=>{n.d(e,{U:()=>r});var i=n(45874);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,r,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&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),h=this._modDataCount||0,c=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==c||h!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=c,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 y=this._progress;if((0,i.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],f,g,c,p);else this._doProgress(y,f,g,c,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(l,u,h,c){e=l,t=u,n=h,r=Math.ceil((i=c)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},24216:(t,e,n)=>{n.d(e,{L:()=>i});var i=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},24443:(t,e)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.isString=void 0,e.isString=function(t){return"string"==typeof t}},25861:(t,e,n)=>{n.d(e,{M7:()=>a,Op:()=>o,eB:()=>r});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=a(i,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(i+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(r+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2==0?r/2:(r+(n?1:-1))/2}},26984:(t,e,n)=>{n.d(e,{EJ:()=>l,FQ:()=>y,Ss:()=>x,Xf:()=>M,j_:()=>p,n7:()=>T,xu:()=>A});var i=n(63557),r=n(45874),o=n(65184),a=n(10504),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i,r){var o={};return u(o,t,e,n,i,r),o.text}function u(t,e,n,i,r,o){if(!n){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=h(n,i,r,o);for(var s=!1,l={},u=0,p=a.length;u<p;u++)c(l,a[u],o),a[u]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function h(t,e,n,i){i=i||{};var a=(0,r.extend)({},i);n=(0,r.retrieve2)(n,"..."),a.maxIterations=(0,r.retrieve2)(i.maxIterations,2);var s=a.minChar=(0,r.retrieve2)(i.minChar,0),l=a.fontMeasureInfo=(0,o.Qw)(e),u=l.asciiCharWidth;a.placeholder=(0,r.retrieve2)(i.placeholder,"");for(var h=t=Math.max(0,t-1),c=0;c<s&&h>=u;c++)h-=u;var p=(0,o.l8)(l,n);return p>h&&(n="",p=0),h=t-p,a.ellipsis=n,a.ellipsisWidth=p,a.contentWidth=h,a.containerWidth=t,a}function c(t,e,n){var i=n.containerWidth,r=n.contentWidth,a=n.fontMeasureInfo;if(!i){t.textLine="",t.isTruncated=!1;return}var s=(0,o.l8)(a,e);if(s<=i){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=r||l>=n.maxIterations){e+=n.ellipsis;break}var u=0===l?function(t,e,n){for(var i=0,r=0,a=t.length;r<a&&i<e;r++)i+=(0,o.JK)(n,t.charCodeAt(r));return r}(e,r,a):s>0?Math.floor(e.length*r/s):0;e=e.substr(0,u),s=(0,o.l8)(a,e)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function p(t,e,n,i){var a,s=S(t),l=e.overflow,u=e.padding,p=u?u[1]+u[3]:0,d=u?u[0]+u[2]:0,f=e.font,g=(0,o.ks)(f),y=(0,r.retrieve2)(e.lineHeight,g),v="truncate"===e.lineOverflow,m=!1,x=e.width;null==x&&null!=n&&(x=n-p);var b=e.height;null==b&&null!=i&&(b=i-d);var w=(a=null!=x&&("break"===l||"breakAll"===l)?s?_(s,e.font,x,"breakAll"===l,0).lines:[]:s?s.split("\n"):[]).length*y;if(null==b&&(b=w),w>b&&v){var M=Math.floor(b/y);m=m||a.length>M,w=(a=a.slice(0,M)).length*y}if(s&&"truncate"===l&&null!=x)for(var A=h(x,f,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),T={},C=0;C<a.length;C++)c(T,a[C],A),a[C]=T.textLine,m=m||T.isTruncated;for(var k=b,I=0,D=(0,o.Qw)(f),C=0;C<a.length;C++)I=Math.max((0,o.l8)(D,a[C]),I);null==x&&(x=I);var O=x;return k+=d,{lines:a,height:b,outerWidth:O+=p,outerHeight:k,lineHeight:y,calculatedLineHeight:g,contentWidth:I,contentHeight:w,width:x,isTruncated:m}}var d=function(){},f=function(t){this.tokens=[],t&&(this.tokens=t)},g=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 y(t,e,n,a,l){var h,c=new g,p=S(t);if(!p)return c;var d=e.padding,f=d?d[1]+d[3]:0,y=d?d[0]+d[2]:0,m=e.width;null==m&&null!=n&&(m=n-f);var _=e.height;null==_&&null!=a&&(_=a-y);for(var x=e.overflow,b=("break"===x||"breakAll"===x)&&null!=m?{width:m,accumWidth:0,breakAll:"breakAll"===x}:null,w=s.lastIndex=0;null!=(h=s.exec(p));){var M=h.index;M>w&&v(c,p.substring(w,M),e,b),v(c,h[2],e,b,h[1]),w=s.lastIndex}w<p.length&&v(c,p.substring(w,p.length),e,b);var A=[],T=0,C=0,k="truncate"===x,I="truncate"===e.lineOverflow,D={};function O(t,e,n){t.width=e,t.lineHeight=n,T+=n,C=Math.max(C,e)}t:for(var L=0;L<c.lines.length;L++){for(var P=c.lines[L],R=0,N=0,B=0;B<P.tokens.length;B++){var z=P.tokens[B],E=z.styleName&&e.rich[z.styleName]||{},F=z.textPadding=E.padding,V=F?F[1]+F[3]:0,H=z.font=E.font||e.font;z.contentHeight=(0,o.ks)(H);var W=(0,r.retrieve2)(E.height,z.contentHeight);
1if(z.innerHeight=W,F&&(W+=F[0]+F[2]),z.height=W,z.lineHeight=(0,r.retrieve3)(E.lineHeight,e.lineHeight,W),z.align=E&&E.align||l,z.verticalAlign=E&&E.verticalAlign||"middle",I&&null!=_&&T+z.lineHeight>_){var G=c.lines.length;B>0?(P.tokens=P.tokens.slice(0,B),O(P,N,R),c.lines=c.lines.slice(0,L+1)):c.lines=c.lines.slice(0,L),c.isTruncated=c.isTruncated||c.lines.length<G;break t}var Y=E.width,U=null==Y||"auto"===Y;if("string"==typeof Y&&"%"===Y.charAt(Y.length-1))z.percentWidth=Y,A.push(z),z.contentWidth=(0,o.l8)((0,o.Qw)(H),z.text);else{if(U){var X=E.backgroundColor,j=X&&X.image;j&&(j=i.SR(j),i.xA(j)&&(z.width=Math.max(z.width,j.width*W/j.height)))}var Z=k&&null!=m?m-N:null;null!=Z&&Z<z.width?!U||Z<V?(z.text="",z.width=z.contentWidth=0):(u(D,z.text,Z-V,H,e.ellipsis,{minChar:e.truncateMinChar}),z.text=D.text,c.isTruncated=c.isTruncated||D.isTruncated,z.width=z.contentWidth=(0,o.l8)((0,o.Qw)(H),z.text)):z.contentWidth=(0,o.l8)((0,o.Qw)(H),z.text)}z.width+=V,N+=z.width,E&&(R=Math.max(R,z.lineHeight))}O(P,N,R)}c.outerWidth=c.width=(0,r.retrieve2)(m,C),c.outerHeight=c.height=(0,r.retrieve2)(_,T),c.contentHeight=T,c.contentWidth=C,c.outerWidth+=f,c.outerHeight+=y;for(var L=0;L<A.length;L++){var z=A[L],q=z.percentWidth;z.width=parseInt(q,10)/100*c.width}return c}function v(t,e,n,i,r){var a,s,l=""===e,u=r&&n.rich[r]||{},h=t.lines,c=u.font||n.font,p=!1;if(i){var g=u.padding,y=g?g[1]+g[3]:0;if(null!=u.width&&"auto"!==u.width){var v=(0,o.lo)(u.width,i.width)+y;h.length>0&&v+i.accumWidth>i.width&&(a=e.split("\n"),p=!0),i.accumWidth=v}else{var m=_(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+y,s=m.linesWidths,a=m.lines}}a||(a=e.split("\n"));for(var x=(0,o.Qw)(c),b=0;b<a.length;b++){var w=a[b],S=new d;if(S.styleName=r,S.text=w,S.isLineHolder=!w&&!l,"number"==typeof u.width?S.width=u.width:S.width=s?s[b]:(0,o.l8)(x,w),b||p)h.push(new f([S]));else{var M=(h[h.length-1]||(h[0]=new f)).tokens,A=M.length;1===A&&M[0].isLineHolder?M[0]=S:(w||!A||l)&&M.push(S)}}}var m=(0,r.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function _(t,e,n,i,r){for(var a=[],s=[],l="",u="",h=0,c=0,p=(0,o.Qw)(e),d=0;d<t.length;d++){var f=t.charAt(d);if("\n"===f){u&&(l+=u,c+=h),a.push(l),s.push(c),l="",u="",h=0,c=0;continue}var g=(0,o.JK)(p,f.charCodeAt(0)),y=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!m[t]}(f);if(a.length?c+g>n:r+c+g>n){c?(l||u)&&(y?(l||(l=u,u="",c=h=0),a.push(l),s.push(c-h),u+=f,h+=g,l="",c=h):(u&&(l+=u,u="",h=0),a.push(l),s.push(c),l=f,c=g)):y?(a.push(u),s.push(h),u=f,h=g):(a.push(f),s.push(g));continue}c+=g,y?(u+=f,h+=g):(u&&(l+=u,u="",h=0),l+=f)}return u&&(l+=u),l&&(a.push(l),s.push(c)),1===a.length&&(c+=r),{accumWidth:c,lines:a,linesWidths:s}}function x(t,e,n,i,r,s){if(t.baseX=n,t.baseY=i,t.outerWidth=t.outerHeight=null,e){var l=2*e.width,u=2*e.height;a.A.set(b,(0,o.ll)(n,l,r),(0,o.sZ)(i,u,s),l,u),a.A.intersect(e,b,null,w);var h=w.outIntersectRect;t.outerWidth=h.width,t.outerHeight=h.height,t.baseX=(0,o.ll)(h.x,h.width,r,!0),t.baseY=(0,o.sZ)(h.y,h.height,s,!0)}}var b=new a.A(0,0,0,0),w={outIntersectRect:{},clamp:!0};function S(t){return null!=t?t+="":t=""}function M(t){var e=S(t.text),n=t.font;return A(t,(0,o.l8)((0,o.Qw)(n),e),(0,o.ks)(n),null)}function A(t,e,n,i){var r=new a.A((0,o.ll)(t.x||0,e,t.textAlign),(0,o.sZ)(t.y||0,n,t.textBaseline),e,n),s=null!=i?i:T(t)?t.lineWidth:0;return s>0&&(r.x-=s/2,r.y-=s/2,r.width+=s,r.height+=s),r}function T(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}},28010:(t,e,n)=>{n.d(e,{Ay:()=>f,IT:()=>d,Wx:()=>p});var i=n(34707),r=n(58221),o=i.identity;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=i.create(),h=Math.abs,c=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(o(n),this.invTransform=null);return}n=n||i.create(),e?this.getLocalTransform(n):o(n),t&&(e?i.mul(n,t,n):i.copy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var n=s[0]<0?-1:1,r=s[1]<0?-1:1,o=((s[0]-n)*e+n)/s[0]||0,a=((s[1]-r)*e+r)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);
1n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.create(),i.mul(l,t.invTransform,e),e=l);var n=this.originX,r=this.originY;(n||r)&&(u[4]=n,u[5]=r,i.mul(l,e,u),l[4]-=n,l[5]-=r,e=l),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.applyTransform(n,n,i),n},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){d(this,t)},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,h=t.x,c=t.y,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var f=n+s,g=r+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&&i.rotate(e,e,u),e[4]+=n+h,e[5]+=r+c,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}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function d(t,e){for(var n=0;n<p.length;n++){var i=p[n];t[i]=e[i]}}let f=c},28568:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(76172);function r(){var t=(0,i.$r)();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!!(i&&i.large),s=n.progressiveRender=!!(i&&i.progressiveRender);return(r!==a||o!==s)&&"reset"}}},28748:(t,e,n)=>{n.d(e,{Km:()=>o,Pe:()=>i,Wk:()=>a,XO:()=>l,i_:()=>h,mK:()=>r,oC:()=>c,t1:()=>s,vm:()=>u});var i=(0,n(45874).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",h="column",c="row"},29105:(t,e,n)=>{n.d(e,{Et:()=>m,YT:()=>v,Yb:()=>d,_E:()=>g,d8:()=>T,gC:()=>S,h0:()=>_,k3:()=>x,kh:()=>A,kx:()=>M,lX:()=>y,qY:()=>w,rD:()=>f,z7:()=>b});var i=n(58221),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,i.create)(),u=(0,i.create)(),h=(0,i.create)();function c(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function f(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function g(t,e,n,i,l,u){var h=i+3*(e-n)-t,p=3*(n-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*h*d,y=p*d-9*h*f,v=d*d-3*p*f,m=0;if(c(g)&&c(y))if(c(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[m++]=_)}else{var x=y*y-4*g*v;if(c(x)){var b=y/g,_=-p/h+b,w=-b/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(x>0){var S=o(x),M=g*p+1.5*h*(-y+S),A=g*p+1.5*h*(-y-S),_=(-p-((M=M<0?-r(-M,s):r(M,s))+(A=A<0?-r(-A,s):r(A,s))))/(3*h);_>=0&&_<=1&&(u[m++]=_)}else{var T=Math.acos((2*g*p-3*h*y)/(2*o(g*g*g)))/3,C=o(g),k=Math.cos(T),_=(-p-2*C*k)/(3*h),w=(-p+C*(k+a*Math.sin(T)))/(3*h),I=(-p+C*(k-a*Math.sin(T)))/(3*h);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),I>=0&&I<=1&&(u[m++]=I)}}return m}function y(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(c(s)){if(p(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var d=a*a-4*s*l;if(c(d))r[0]=-a/(2*s);else if(d>0){var f=o(d),h=(-a+f)/(2*s),g=(-a-f)/(2*s);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function v(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function m(t,e,n,r,a,s,c,p,f,g,y){var v,m,_,x,b,w=.005,S=1/0;l[0]=f,l[1]=g;for(var M=0;M<1;
1M+=.05)u[0]=d(t,n,a,c,M),u[1]=d(e,r,s,p,M),(x=(0,i.distSquare)(l,u))<S&&(v=M,S=x);S=1/0;for(var A=0;A<32&&!(w<1e-4);A++)m=v-w,_=v+w,u[0]=d(t,n,a,c,m),u[1]=d(e,r,s,p,m),x=(0,i.distSquare)(u,l),m>=0&&x<S?(v=m,S=x):(h[0]=d(t,n,a,c,_),h[1]=d(e,r,s,p,_),b=(0,i.distSquare)(h,l),_<=1&&b<S?(v=_,S=b):w*=.5);return y&&(y[0]=d(t,n,a,c,v),y[1]=d(e,r,s,p,v)),o(S)}function _(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,f=1;f<=l;f++){var g=f*p,y=d(t,n,r,a,g),v=d(e,i,o,s,g),m=y-u,_=v-h;c+=Math.sqrt(m*m+_*_),u=y,h=v}return c}function x(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function b(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function w(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(c(a)){if(p(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var d=s*s-4*a*l;if(c(d)){var h=-s/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(d>0){var f=o(d),h=(-s+f)/(2*a),g=(-s-f)/(2*a);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function S(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function M(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function A(t,e,n,r,a,s,c,p,d){var f,g=.005,y=1/0;l[0]=c,l[1]=p;for(var v=0;v<1;v+=.05){u[0]=x(t,n,a,v),u[1]=x(e,r,s,v);var m=(0,i.distSquare)(l,u);m<y&&(f=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var b=f-g,w=f+g;u[0]=x(t,n,a,b),u[1]=x(e,r,s,b);var m=(0,i.distSquare)(u,l);if(b>=0&&m<y)f=b,y=m;else{h[0]=x(t,n,a,w),h[1]=x(e,r,s,w);var S=(0,i.distSquare)(h,l);w<=1&&S<y?(f=w,y=S):g*=.5}}return d&&(d[0]=x(t,n,a,f),d[1]=x(e,r,s,f)),o(y)}function T(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=x(t,n,r,p),f=x(e,i,o,p),g=d-s,y=f-l;u+=Math.sqrt(g*g+y*y),s=d,l=f}return u}},30154:(t,e,n)=>{n.d(e,{L:()=>r,s:()=>a});var i=n(588),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},31396:(t,e,n)=>{n.d(e,{m:()=>r,v:()=>o});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},32045:(t,e,n)=>{n.d(e,{Kd:()=>b,QE:()=>T,d1:()=>f,sC:()=>m,uQ:()=>M});var i,r,o,a,s,l,u=n(45874),h=n(76172),c=n(74410),p=n(28748),d=n(8795),f=function(){var t;function e(t,e){var n=(0,c.tP)(t)?t:(0,c.AF)(t);this._source=n;var i=this._data=n.data,r=n.sourceFormat;n.seriesLayoutBy,r===p.XO&&(this._offset=0,this._dimSize=e,this._data=i),l(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){l=function(t,r,o){var a=o.sourceFormat,l=o.seriesLayoutBy,h=o.startIndex,c=o.dimensionsDefine,d=s[A(a,l)];if((0,u.extend)(t,d),a===p.XO)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=m(a,l);t.getItem=(0,u.bind)(f,null,r,h,c);var g=b(a,l);t.count=(0,u.bind)(g,null,r,h,c)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=n[a],p=0;p<h;p++){var d=r[p*o+a];c[t+p]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[p.Km+"_"+p.i_]={pure:!0,appendData:r},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:r},t[p.t1]={pure:!0,appendData:function(t){var e=this._data;(0,u.each)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[p.mK]={appendData:r},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.isArray)(t)||(0,d.z3)("series.data or dataset.source must be an array.")};(i={})[p.Km+"_"+p.i_]=g,i[p.Km+"_"+p.oC]=g,i[p.Wk]=g,i[p.t1]=function(t,e){for(var n=0;n<e.length;n++)null==e[n].name&&(0,d.z3)("dimension name must not be null/undefined.")},i[p.mK]=g;var y=function(t,e,n,i){return t[i]},v=((r={})[p.Km+"_"+p.i_]=function(t,e,n,i){return t[i+e]},r[p.Km+"_"+p.oC]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},r[p.Wk]=y,r[p.t1]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name,l=null!=s?t[s]:null;o[a]=l?l[i]:null}return o},r[p.mK]=y,r);function m(t,e){return v[A(t,e)]}var _=function(t,e,n){return t.length},x=((o={})[p.Km+"_"+p.i_]=function(t,e,n){return Math.max(0,t.length-e)},o[p.Km+"_"+p.oC]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},o[p.Wk]=_,o[p.t1]=function(t,e,n){var i=n[0].name,r=null!=i?t[i]:null;return r?r.length:0},o[p.mK]=_,o);function b(t,e){return x[A(t,e)]}var w=function(t,e,n){return t[e]},S=((a={})[p.Km]=w,a[p.Wk]=function(t,e,n){return t[n]},a[p.t1]=w,a[p.mK]=function(t,e,n){var i=(0,h.vj)(t);return i instanceof Array?i[e]:i},a[p.XO]=w,a);function M(t){return S[t]}function A(t,e){return t===p.Km?t+"_"+e:t}function T(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return S[o](i,a,s)}var l=i;
1return o===p.mK&&(l=(0,h.vj)(i)),l}}}},32426:(t,e,n)=>{n.d(e,{h:()=>h,k:()=>s});var i=n(45874),r=n(98573),o=(0,n(76172).$r)(),a=i.each;function s(t,e,n){if(!r.A.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,n("click",i.curry(u,"click")),n("mousemove",i.curry(u,"mousemove")),n("globalout",l));function n(n,i){t.on(n,function(n){var r,s,l,u,h,c,p,d,f=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&i(t,n,f.dispatchAction)}),u=f.pendings,h=e,p=u.showTip.length,d=u.hideTip.length,p?c=u.showTip[p-1]:d&&(c=u.hideTip[d-1]),c&&(c.dispatchAction=null,h.dispatchAction(c))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function l(t,e,n){t.handler("leave",null,n)}function u(t,e,n,i){e.handler(t,n,i)}function h(t,e){if(!r.A.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},32471:(t,e,n)=>{n.d(e,{C6:()=>r});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},33936:(t,e,n)=>{n.d(e,{Ay:()=>u,GH:()=>s,MQ:()=>l});var i=n(32471),r=n(15971),o=n(61293),a=n(74873),s={left:0,right:0,top:0,bottom:0},l=["25%","25%"];let u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.mergeDefaultAndTheme=function(e,n){var i=(0,o.vs)(e.outerBounds);t.prototype.mergeDefaultAndTheme.apply(this,arguments),i&&e.outerBounds&&(0,o.YA)(e.outerBounds,i)},e.prototype.mergeOption=function(e,n){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}(r.A)},34707:(t,e,n)=>{function i(){return[1,0,0,1,0,0]}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function u(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function h(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function c(t){var e=i();return o(e,t),e}n.r(e),n.d(e,{clone:()=>c,copy:()=>o,create:()=>i,identity:()=>r,invert:()=>h,mul:()=>a,rotate:()=>l,scale:()=>u,translate:()=>s})},34828:(t,e,n)=>{n.d(e,{py:()=>v,v5:()=>y});var i=n(28748),r=n(76172),o=n(45874),a=n(32045),s=n(93773),l=n(8795),u=n(74410),h=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 c(t){return m(t.sourceFormat)||(0,l.$8)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(m(e)||(0,l.$8)(""),e===i.Km){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.Wk){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.extend)({},n[a]));return r}}function d(t,e,n){if(null!=n){if((0,o.isNumber)(n)||!isNaN(n)&&!(0,o.hasOwn)(e,n))return t[n];else if((0,o.hasOwn)(e,n))return e[n]}}function f(t){return(0,o.clone)(t)}var g=(0,o.createHashMap)();function y(t){var e=(t=(0,o.clone)(t)).type;e||(0,l.$8)("");var n=e.split(":");2!==n.length&&(0,l.$8)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}function v(t,e,n){var s=(0,r.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.isObject)(t)||(0,l.$8)("");var n=t.type,s=g.get(n);s||(0,l.$8)("");var y=(0,o.map)(e,function(t){return function(t,e){var n=new h,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==i.i_&&(0,l.$8)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.each)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.hasOwn)(y,n)&&(0,l.$8)(""),y[n]=i)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a.sC)(s,i.i_);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,u,g,t)},n.getRawData=(0,o.bind)(c,null,t)),n.cloneRawData=(0,o.bind)(p,null,t);var x=(0,a.Kd)(s,i.i_);n.count=(0,o.bind)(x,null,r,u,g);var b=(0,a.uQ)(s);n.retrieveValue=function(t,e){return w(_(r,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return b(t,e,n.name)}};return n.getDimensionInfo=(0,o.bind)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.bind)(f,null,g),n}(t,s)}),v=(0,r.qB)(s.transform({upstream:y[0],upstreamList:y,config:(0,o.clone)(t.config)}));return(0,o.map)(v,function(t,n){(0,o.isObject)(t)||(0,l.$8)(""),t.data||(0,l.$8)(""),m((0,u.
1wZ)(t.data))||(0,l.$8)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.i_,sourceHeader:0,dimensions:t.dimensions};return(0,u.gV)(t.data,r,null)})}(s[v],e),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===i.Km||t===i.Wk}},34879:(t,e,n)=>{n.r(e),n.d(e,{Axis:()=>tC.A,ChartView:()=>d.A,ComponentModel:()=>h.A,ComponentView:()=>c.A,List:()=>f.A,Model:()=>M.A,PRIORITY:()=>u.FQ,SeriesModel:()=>p.A,color:()=>_,connect:()=>u.Ng,dataTool:()=>u.p5,dependencies:()=>u.El,disConnect:()=>u.zm,disconnect:()=>u.Zf,dispose:()=>u.AS,env:()=>tT.A,extendChartView:()=>tL,extendComponentModel:()=>tI,extendComponentView:()=>tD,extendSeriesModel:()=>tO,format:()=>s,getCoordinateSystemDimensions:()=>u.Bo,getInstanceByDom:()=>u.FP,getInstanceById:()=>u.aQ,getMap:()=>u.ZB,graphic:()=>a,helper:()=>i,init:()=>u.Ts,innerDrawElementOnCanvas:()=>tk.Xi,matrix:()=>y,number:()=>r,parseGeoJSON:()=>tt,parseGeoJson:()=>tt,registerAction:()=>u.OH,registerCoordinateSystem:()=>u.pX,registerCustomSeries:()=>u.mx,registerLayout:()=>u.Oh,registerLoading:()=>u.Ej,registerLocale:()=>u.E,registerMap:()=>u.mz,registerPostInit:()=>u.cf,registerPostUpdate:()=>u.tb,registerPreprocessor:()=>u.lP,registerProcessor:()=>u.qg,registerTheme:()=>u.bf,registerTransform:()=>u.iY,registerUpdateLifecycle:()=>u.xV,registerVisual:()=>u.AF,setCanvasCreator:()=>u.vV,setPlatformAPI:()=>E.Gs,throttle:()=>x.nF,time:()=>o,use:()=>z.Y,util:()=>l,vector:()=>v,version:()=>u.rE,zrUtil:()=>m,zrender:()=>g});var i={};n.r(i),n.d(i,{createDimensions:()=>I.M,createList:()=>L,createScale:()=>R,createSymbol:()=>D.v5,createTextStyle:()=>B,dataStack:()=>P,enableHoverEmphasis:()=>O.iJ,getECData:()=>C.z,getLayoutRect:()=>A.dV,mixinAxisModelCommonMethods:()=>N});var r={};n.r(r),n.d(r,{MAX_SAFE_INTEGER:()=>te.Is,asc:()=>te.Y6,getPercentWithPrecision:()=>te.wp,getPixelPrecision:()=>te.hb,getPrecision:()=>te.XV,getPrecisionSafe:()=>te.y6,isNumeric:()=>te.kf,isRadianAroundZero:()=>te.dh,linearMap:()=>te.Cb,nice:()=>te.Cm,numericToNumber:()=>te.Sm,parseDate:()=>te._U,parsePercent:()=>te.lo,quantile:()=>te.YV,quantity:()=>te.au,quantityExponent:()=>te.NX,reformIntervals:()=>te.sL,remRadian:()=>te._7,round:()=>te.LI});var o={};n.r(o),n.d(o,{format:()=>tn.GP,parse:()=>te._U,roundTime:()=>tn._l});var a={};n.r(a),n.d(a,{Arc:()=>tv.A,BezierCurve:()=>ty.A,BoundingRect:()=>V.A,Circle:()=>tl.A,CompoundPath:()=>t_.A,Ellipse:()=>tu.A,Group:()=>to.A,Image:()=>ta.Ay,IncrementalDisplayable:()=>tm.A,Line:()=>tg.A,LinearGradient:()=>tx.A,Polygon:()=>tp.A,Polyline:()=>td.A,RadialGradient:()=>tb.A,Rect:()=>tf.A,Ring:()=>tc.A,Sector:()=>th.A,Text:()=>ts.Ay,clipPointsByRect:()=>ti.clipPointsByRect,clipRectByRect:()=>ti.clipRectByRect,createIcon:()=>ti.createIcon,extendPath:()=>ti.extendPath,extendShape:()=>ti.extendShape,getShapeClass:()=>ti.getShapeClass,getTransform:()=>ti.getTransform,initProps:()=>tr.LW,makeImage:()=>ti.makeImage,makePath:()=>ti.makePath,mergePath:()=>ti.mergePath,registerShape:()=>ti.registerShape,resizePath:()=>ti.resizePath,updateProps:()=>tr.oi});var s={};n.r(s),n.d(s,{addCommas:()=>tw.ob,capitalFirst:()=>tw.x5,encodeHTML:()=>tS.Me,formatTime:()=>tw.fU,formatTpl:()=>tw.YK,getTextRect:()=>tA,getTooltipMarker:()=>tw.qg,normalizeCssArray:()=>tw.QX,toCamelCase:()=>tw.Cb,truncateText:()=>tM.EJ});var l={};n.r(l),n.d(l,{bind:()=>m.bind,clone:()=>m.clone,curry:()=>m.curry,defaults:()=>m.defaults,each:()=>m.each,extend:()=>m.extend,filter:()=>m.filter,indexOf:()=>m.indexOf,inherits:()=>m.inherits,isArray:()=>m.isArray,isFunction:()=>m.isFunction,isObject:()=>m.isObject,isString:()=>m.isString,map:()=>m.map,merge:()=>m.merge,reduce:()=>m.reduce});var u=n(64447),h=n(15971),c=n(53623),p=n(94316),d=n(44956),f=n(40093),g=n(22182),y=n(34707),v=n(58221),m=n(45874),_=n(40520),x=n(75407),b=n(97123),w=n(77841),S=n(24216),M=n(39020),A=n(61293),T=n(12224),C=n(67966),k=n(23694),I=n(66525),D=n(21947),O=n(59565);function L(t){return(0,b.A)(null,t)}var P={isDimensionStacked:T.sJ,enableDataStack:T.iJ,getStackedDimension:T.me};function R(t,e){var n=e;e instanceof M.A||(n=new M.A(e));var i=w.f$(n);return i.setExtent(t[0],t[1]),w.af(i,n),i}function N(t){m.mixin(t,S.L)}function B(t,e){return e=e||{},(0,k.VB)(t,null,null,"normal"!==e.state)}var z=n(62451),E=n(60609),F=n(32471),V=n(10504),H=n(69801);function W(t,e){return 1e-8>Math.abs(t-e)}function G(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=(0,H.A)(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];
1return W(r[0],s[0])&&W(r[1],s[1])||(i+=(0,H.A)(r[0],r[1],s[0],s[1],e,n)),0!==i}var Y=[];function U(t,e){for(var n=0;n<t.length;n++)v.applyTransform(t[n],t[n],e)}function X(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(v.min(e,e,o),v.max(n,n,o))}}var j=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),Z=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},q=function(t){this.type="linestring",this.points=t},K=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return(0,F.C6)(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],h=o*u-l*a;e+=h,n+=(o+l)*h,i+=(a+u)*h,o=l,a=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return(0,m.each)(r,function(e){"polygon"===e.type?X(e.exterior,n,i,t):(0,m.each)(e.points,function(e){X(e,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new V.A(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;e:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(G(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(G(s[l],t[0],t[1]))continue e;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new V.A(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var h=l[u];"polygon"===h.type?(U(h.exterior,s),(0,m.each)(h.interiors,function(t){U(t,s)})):(0,m.each)(h.points,function(t){U(t,s)})}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(j);function $(t,e){var n=j.call(this,t)||this;return n.type="geoSVG",n._elOnlyForCalculate=e,n}function Q(t,e,n){for(var i=0;i<t.length;i++)t[i]=J(t[i],e[i],n)}function J(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;l=l>>1^-(1&l),s=(s>>1^-(1&s))+r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function tt(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);var n=t.features;return m.each(n,function(t){var n=t.geometry,i=n.encodeOffsets,r=n.coordinates;if(i)switch(n.type){case"LineString":n.coordinates=J(r,i,e);break;case"Polygon":case"MultiLineString":Q(r,i,e);break;case"MultiPolygon":m.each(r,function(t,n){return Q(t,i[n],e)})}}),t.UTF8Encoding=!1,t}(t),m.map(m.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new Z(o[0],o.slice(1)));break;case"MultiPolygon":m.each(i.coordinates,function(t){t[0]&&r.push(new Z(t[0],t.slice(1)))});break;case"LineString":r.push(new q([i.coordinates]));break;case"MultiLineString":r.push(new q(i.coordinates))}var a=new K(n[e||"name"],r,n.cp);return a.properties=n,a})}(0,F.C6)($,j),$.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=y.identity(Y),r=t;r&&!r.isGeoSVGGraphicRoot;)y.mul(i,r.getLocalTransform(),i),r=r.parent;return y.invert(i,i),v.applyTransform(n,n,i),n};var te=n(10558),tn=n(55210),ti=n(84295),tr=n(11374),to=n(61998),ta=n(9496),ts=n(52236),tl=n(54581),tu=n(21369),th=n(14799),tc=n(73355),tp=n(22557),td=n(43653),tf=n(52121),tg=n(13775),ty=n(51973),tv=n(17323),tm=n(75345),t_=n(60629),tx=n(96138),tb=n(87488),tw=n(89572),tS=n(46330),tM=n(26984);function tA(t,e,n,i,r,o,a,s){return new ts.Ay({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}
1).getBoundingRect()}var tT=n(98573),tC=n(75833),tk=n(42680);function tI(t){var e=h.A.extend(t);return h.A.registerClass(e),e}function tD(t){var e=c.A.extend(t);return c.A.registerClass(e),e}function tO(t){var e=p.A.extend(t);return p.A.registerClass(e),e}function tL(t){var e=d.A.extend(t);return d.A.registerClass(e),e}var tP=n(76172),tR=n(28010),tN=n(82912),tB=n(37848),tz=n(68581),tE=n(17067),tF=n(29105),tV=2*Math.PI,tH=tz.A.CMD,tW=["top","right","bottom","left"];function tG(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=Math.sqrt(l*l+u*u),c=((r-t)*(l/=h)+(o-e)*(u/=h))/h;s&&(c=Math.min(Math.max(c,0),1)),c*=h;var p=a[0]=t+c*l,d=a[1]=e+c*u;return Math.sqrt((p-r)*(p-r)+(d-o)*(d-o))}function tY(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),h=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(h-o)*(h-o))}var tU=[],tX=new tN.A,tj=new tN.A,tZ=new tN.A,tq=new tN.A,tK=new tN.A;function t$(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||tW,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,h=t.getComputedTransform(),c=h&&(0,y.invert)([],h),p=e.get("length2")||0;u&&tZ.copy(u);for(var d=0;d<a.length;d++){!function(t,e,n,i){var r=e.width,o=e.height;switch(t){case"top":n.set(e.x+r/2,e.y-0),i.set(0,-1);break;case"bottom":n.set(e.x+r/2,e.y+o+0),i.set(0,1);break;case"left":n.set(e.x-0,e.y+o/2),i.set(-1,0);break;case"right":n.set(e.x+r+0,e.y+o/2),i.set(1,0)}}(a[d],s,tX,tq),tN.A.scaleAndAdd(tj,tX,tq,p),tj.transform(c);var f=t.getBoundingRect(),g=u?u.distance(tj):t instanceof tB.Ay?function(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,h=e.data,c=t.x,p=t.y,d=0;d<h.length;){var f=h[d++];1===d&&(o=h[d],a=h[d+1],s=o,l=a);var g=u;switch(f){case tH.M:s=h[d++],l=h[d++],o=s,a=l;break;case tH.L:g=tG(o,a,h[d],h[d+1],c,p,tU,!0),o=h[d++],a=h[d++];break;case tH.C:g=(0,tF.Et)(o,a,h[d++],h[d++],h[d++],h[d++],h[d],h[d+1],c,p,tU),o=h[d++],a=h[d++];break;case tH.Q:g=(0,tF.kh)(o,a,h[d++],h[d++],h[d],h[d+1],c,p,tU),o=h[d++],a=h[d++];break;case tH.A:var y=h[d++],v=h[d++],m=h[d++],_=h[d++],x=h[d++],b=h[d++];d+=1;var w=!!(1-h[d++]);i=Math.cos(x)*m+y,r=Math.sin(x)*_+v,d<=1&&(s=i,l=r);var S=(c-y)*_/m+y;g=function(t,e,n,i,r,o,a,s,l){var u=Math.sqrt((a-=t)*a+(s-=e)*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%tV<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=(0,tE.n)(r),r=(0,tE.n)(p)}else i=(0,tE.n)(i),r=(0,tE.n)(r);i>r&&(r+=tV);var d=Math.atan2(s,a);if(d<0&&(d+=tV),d>=i&&d<=r||d+tV>=i&&d+tV<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),_=(y-a)*(y-a)+(v-s)*(v-s);return m<_?(l[0]=f,l[1]=g,Math.sqrt(m)):(l[0]=y,l[1]=v,Math.sqrt(_))}(y,v,_,x,x+b,w,S,p,tU),o=Math.cos(x+b)*m+y,a=Math.sin(x+b)*_+v;break;case tH.R:g=tY(s=o=h[d++],l=a=h[d++],h[d++],h[d++],c,p,tU);break;case tH.Z:g=tG(o,a,s,l,c,p,tU,!0),o=s,a=l}g<u&&(u=g,n.set(tU[0],tU[1]))}return u}(tj,t.path,tZ):function(t,e,n){var i=tY(e.x,e.y,e.width,e.height,t.x,t.y,tU);return n.set(tU[0],tU[1]),i}(tj,f,tZ);g<l&&(l=g,tj.transform(h),tZ.transform(h),tZ.toArray(o[0]),tj.toArray(o[1]),tX.toArray(o[2]))}(function(t,e){if(e<=180&&e>0){e=e/180*Math.PI,tX.fromArray(t[0]),tj.fromArray(t[1]),tZ.fromArray(t[2]),tN.A.sub(tq,tX,tj),tN.A.sub(tK,tZ,tj);var n=tq.len(),i=tK.len();if(!(n<.001)&&!(i<.001)&&(tq.scale(1/n),tK.scale(1/i),Math.cos(e)<tq.dot(tK))){var r=tG(tj.x,tj.y,tZ.x,tZ.y,tX.x,tX.y,tQ,!1);tJ.fromArray(tQ),tJ.scaleAndAdd(tK,r/Math.tan(Math.PI-e));var o=tZ.x!==tj.x?(tJ.x-tj.x)/(tZ.x-tj.x):(tJ.y-tj.y)/(tZ.y-tj.y);if(isNaN(o))return;o<0?tN.A.copy(tJ,tj):o>1&&tN.A.copy(tJ,tZ),tJ.toArray(t[1])}}})(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var tQ=[],tJ=new tN.A;function t0(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function t1(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=v.dist(i[0],i[1]),o=v.dist(i[1],i[2]);if(!r||!o){t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]);return}var a=Math.min(r,o)*n,s=v.lerp([],i[1],i[0],a/r),l=v.lerp([],i[1],i[2],a/o),u=v.lerp([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h<i.length;h++)t.lineTo(i[h][0],i[h][1])}var t2=n(56847),t5=["align","verticalAlign","width","height","fontSize"],t4=new tR.Ay,t3=(0,tP.$r)(),t7=(0,tP.$r)();function t8(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var t6=["x","y","rotation"],t9=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o,a=i.style,s=i.__hostTarget.textConfig||{}
1,l=i.getComputedTransform(),u=i.getBoundingRect().plain();V.A.applyTransform(u,u,l),l?t4.setLocalTransform(l):(t4.x=t4.y=t4.rotation=t4.originX=t4.originY=0,t4.scaleX=t4.scaleY=1),t4.rotation=(0,tE.n)(t4.rotation);var h=i.__hostTarget;if(h){o=h.getBoundingRect().plain();var c=h.getComputedTransform();V.A.applyTransform(o,o,c)}var p=o&&h.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOptionOrCb:r,layoutOption:null,rect:u,hostRect:o,priority:o?o.width*o.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:t4.x,y:t4.y,scaleX:t4.scaleX,scaleY:t4.scaleY,rotation:t4.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:i.cursor,attachedPos:s.position,attachedRot:s.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");((0,m.isFunction)(i)||(0,m.keys)(i).length)&&t.group.traverse(function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=(0,C.z)(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)})},t.prototype.updateLayoutConfig=function(t){for(var e=t.getWidth(),n=t.getHeight(),i=0;i<this._labelList.length;i++){var r=this._labelList[i],o=r.label,a=o.__hostTarget,s=r.defaultAttr,l=void 0;l=(l=(0,m.isFunction)(r.layoutOptionOrCb)?r.layoutOptionOrCb(function(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:function(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}(i&&i.shape.points)}}(r,a)):r.layoutOptionOrCb)||{},r.layoutOption=l;var u=Math.PI/180;a&&a.setTextConfig({local:!1,position:null!=l.x||null!=l.y?null:s.attachedPos,rotation:null!=l.rotate?l.rotate*u:s.attachedRot,offset:[l.dx||0,l.dy||0]});var h=!1;if(null!=l.x?(o.x=(0,te.lo)(l.x,e),o.setStyle("x",0),h=!0):(o.x=s.x,o.setStyle("x",s.style.x)),null!=l.y?(o.y=(0,te.lo)(l.y,n),o.setStyle("y",0),h=!0):(o.y=s.y,o.setStyle("y",s.style.y)),l.labelLinePoints){var c=a.getTextGuideLine();c&&(c.setShape({points:l.labelLinePoints}),h=!1)}t3(o).needsUpdateLabelLine=h,o.rotation=null!=l.rotate?l.rotate*u:s.rotation,o.scaleX=s.scaleX,o.scaleY=s.scaleY;for(var p=0;p<t5.length;p++){var d=t5[p];
1o.setStyle(d,null!=l[d]?l[d]:s.style[d])}if(l.draggable){if(o.draggable=!0,o.cursor="move",a){var f=r.seriesModel;null!=r.dataIndex&&(f=r.seriesModel.getData(r.dataType).getItemModel(r.dataIndex)),o.on("drag",function(t,e){return function(){t$(t,e)}}(a,f.getModel("labelLine")))}}else o.off("drag"),o.cursor=s.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=[];(0,m.each)(this._labelList,function(t){t.defaultAttr.ignore||i.push((0,t2.PG)({},t))});var r=(0,m.filter)(i,function(t){return"shiftX"===t.layoutOption.moveOverlap}),o=(0,m.filter)(i,function(t){return"shiftY"===t.layoutOption.moveOverlap});(0,t2.Zv)(r,0,0,e),(0,t2.Zv)(o,1,0,n);var a=(0,m.filter)(i,function(t){return t.layoutOption.hideOverlap});(0,t2.vS)(a),(0,t2.If)(a)},t.prototype.processLabelsOverall=function(){var t=this;(0,m.each)(this._chartViewList,function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse(function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=t3(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)})})},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=(0,C.z)(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style");l&&(s.stroke=l[o.getVisual("drawType")]);var u=a.getModel("labelLine");!function(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(!r){i&&t.removeTextGuideLine();return}for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<O.wV.length;l++){var u=O.wV[l],h=e[u],c="normal"===u;if(h){var p=h.get("show");if((c?s:(0,m.retrieve2)(r.states[u]&&r.states[u].ignore,s))||!(0,m.retrieve2)(p,a)){var d=c?i:i&&i.states[u];d&&(d.ignore=!0),i&&t0(i,!0,u,h);continue}!i&&(i=new td.A,t.setTextGuideLine(i),c||!s&&a||t0(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),t0(i,!1,u,h)}}if(i){(0,m.defaults)(i.style,n),i.style.fill=null;var f=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=f||!1,i.buildPath=t1}}(t,function(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<O.BV.length;i++){var r=O.BV[i];n[r]=t.getModel([r,e])}return n}(a),s),t$(t,u)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!(0,tr.LR)(t))){var r=t3(n),o=r.oldLayout,a=(0,C.z)(t),s=a.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},u=e.getData(a.dataType);if(o){n.attr(o);var h=t.prevStates;h&&((0,m.indexOf)(h,"select")>=0&&n.attr(r.oldLayoutSelect),(0,m.indexOf)(h,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),(0,tr.oi)(n,l,e,s)}else if(n.attr(l),!(0,k.Lu)(n).valueAnimation){var c=(0,m.retrieve2)(n.style.opacity,1);n.style.opacity=0,(0,tr.LW)(n,{style:{opacity:c}},e,s)}if(r.oldLayout=l,n.states.select){var p=r.oldLayoutSelect={};t8(p,l,t6),t8(p,n.states.select,t6)}if(n.states.emphasis){var d=r.oldLayoutEmphasis={};t8(d,l,t6),t8(d,n.states.emphasis,t6)}(0,k.xb)(n,s,u,e,e)}if(i&&!i.ignore&&!i.invisible){var r=t7(i),o=r.oldLayout,f={points:i.shape.points};o?(i.attr({shape:o}),(0,tr.oi)(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,(0,tr.LW)(i,{style:{strokePercent:1}},e)),r.oldLayout=f}},t}(),et=(0,tP.$r)();(0,z.Y)(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var i=et(e).labelManager;i||(i=et(e).labelManager=new t9),i.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=et(e).labelManager;n.updatedSeries.forEach(function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})})},34916:(t,e,n)=>{n.d(e,{D:()=>i});function i(){return null}},34978:(t,e,n)=>{n.d(e,{m:()=>r});var i={};function r(t,e){i[t]=e}},35481:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(45874);let r=function(t){this.otherDims={},null!=t&&i.extend(this,t)}},36363:(t,e,n)=>{n.d(e,{CC:()=>s,Od:()=>p,_E:()=>l,gq:()=>u,q7:()=>h,tQ:()=>g});var i=n(32471),r=n(45874),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,r.isFunction(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.C6)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},r.inherits(n,this)),r.extend(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=d,n.superApply=f,n.superClass=o,n}}function h(t,e){t.extend=e.extend}var c=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",c++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function d(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function f(t,e,n){return this.superClass.prototype[e].apply(t,n)}function g(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var i,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(i=l).main])&&a[o]||((a=e[i.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[o]&&(r=n?r[n]:null),i&&!r)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=s(t),i=[],a=e[n.main];return a&&a[o]?r.each(a,function(t,e){e!==o&&i.push(t)}):i.push(a),i},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.each(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}},36484:(t,e,n)=>{n.d(e,{Ay:()=>o});var i=function(t){this.value=t},r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();let o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},36598:(t,e,n)=>{n.d(e,{a:()=>Q});var i=n(77916),r=n(62451),o=n(32471),a=n(15971),s=n(74873),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:s.A.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:s.A.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:s.A.color.borderShade,width:1,type:"dashed",textStyle:{}}}
1,textStyle:{color:s.A.color.tertiary,fontSize:14}},e}(a.A),u=n(45874),h=n(98573),c=n(98998),p=n(46330),d=n(89572);function f(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function g(t){if(h.A.domSupported){for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}}var y=g(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),v=g(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function m(t,e){if(!t)return e;e=(0,d.Cb)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var _=n(10313),x=m(v,"transition"),b=m(y,"transform"),w="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(h.A.transform3dSupported?"will-change:transform;":"");function S(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!h.A.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=h.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+b+":"+a+";":[["top",0],["left",0],[y,a]]}function M(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,p.lJ)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var A=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,h.A.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,u.isString)(r)?document.querySelector(r):(0,u.isDom)(r)?r:(0,u.isFunction)(r)&&r(t.getDom()));M(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,c.e0)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,i=this._api.getDom(),r=(e="position",(n=i.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(i))?e?n[e]:n:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,i,r,o,a,s,l,c,p,f,g,y,v,m,M,A,T,C,k,I,D,O,L,P,R=this.el,N=R.style,B=this._styleCoord;R.innerHTML?N.cssText=w+(n=!this._firstShow,i=this._longHide,r=this._enableDisplayTransition,o=[],a=t.get("transitionDuration"),s=t.get("backgroundColor"),l=t.get("shadowBlur"),c=t.get("shadowColor"),p=t.get("shadowOffsetX"),f=t.get("shadowOffsetY"),g=t.getModel("textStyle"),y=(0,_.CO)(t,"html"),v=p+"px "+f+"px "+l+"px "+c,o.push("box-shadow:"+v),n&&a>0&&o.push((m="cubic-bezier(0.23,1,0.32,1)",M="",A="",r&&(A="opacity"+(M=" "+a/2+"s "+m)+",visibility"+M),i||(M=" "+a+"s "+m,A+=(A.length?",":"")+(h.A.transformSupported?""+b+M:",left"+M+",top"+M)),x+":"+A)),s&&o.push("background-color:"+s),(0,u.each)(["width","color","radius"],function(e){var n="border-"+e,i=(0,d.Cb)(n),r=t.get(i);null!=r&&o.push(n+":"+r+("color"===e?"":"px"))}),o.push((T=[],C=g.get("fontSize"),(k=g.getTextColor())&&T.push("color:"+k),T.push("font:"+g.getFont()),I=(0,u.retrieve2)(g.get("lineHeight"),Math.round(3*C/2)),C&&T.push("line-height:"+I+"px"),D=g.get("textShadowColor"),O=g.get("textShadowBlur")||0,L=g.get("textShadowOffsetX")||0,P=g.get("textShadowOffsetY")||0,D&&O&&T.push("text-shadow:"+L+"px "+P+"px "+O+"px "+D),(0,u.each)(["decoration","align"],function(t){var e=g.get(t);e&&T.push("text-"+t+":"+e)}
1),T.join(";"))),null!=y&&o.push("padding:"+(0,d.QX)(y).join("px ")+"px"),o.join(";")+";")+S(B[0],B[1],!0)+"border-color:"+(0,d.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):N.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,u.isString)(r)&&"item"===n.get("trigger")&&!f(n)&&(a=function(t,e,n){if(!(0,u.isString)(n)||"inside"===n)return"";var i,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,d.he)(e);var s=i="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",l=Math.max(1.5*Math.round(a),6),h="",c=b+":";(0,u.indexOf)(["left","right"],s)>-1?(h+="top:50%",c+="translateY(-50%) rotate("+(r="left"===s?-225:-45)+"deg)"):(h+="left:50%",c+="translateX(-50%) rotate("+(r="top"===s?225:45)+"deg)");var p=r*Math.PI/180,f=l+a,g=f*Math.abs(Math.cos(p))+f*Math.abs(Math.sin(p));h+=";"+s+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-f)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",h+";"+c+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,i,r)),(0,u.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,u.isArray)(t)||(t=[t]);for(var s=0;s<t.length;s++)(0,u.isDom)(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(M(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=S(n[0],n[1]);(0,u.each)(r,function(t){i[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;this._enableDisplayTransition?(e.visibility="hidden",e.opacity="0"):e.display="none",h.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,u.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this._zr;(0,p.Yn)(t&&t.painter&&t.painter.getViewportRoot(),this._container);var e=this.el;if(e){e.onmouseenter=e.onmousemove=e.onmouseleave=null;var n=e.parentNode;n&&n.removeChild(e)}this.el=this._container=null},t}(),T=n(52236),C=n(8795),k=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),O(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;u.isObject(t)&&(0,C.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new T.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,_.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),u.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),u.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect
1(),n=D(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;O(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=I(r.borderWidth||0),a=D(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(u.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function I(t){return Math.max(0,t)}function D(t){var e=I(t.shadowBlur||0),n=I(t.shadowOffsetX||0),i=I(t.shadowOffsetY||0);return{left:I(e-n),right:I(e+n),top:I(e-i),bottom:I(e+i)}}function O(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var L=n(10558),P=n(52121),R=n(38725),N=n(61293),B=n(39020),z=n(32426),E=n(77841),F=n(61640),V=n(76172),H=n(53623),W=n(55210),G=n(67966),Y=n(13157),U=n(14445),X=n(75407),j=new P.A({shape:{x:-1,y:-1,width:2,height:2}}),Z=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.prototype.init=function(t,e){if(!h.A.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,V.XJ)(n.get("renderMode"));this._tooltipContent="richText"===i?new k(e):new A(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!h.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,X.N)(this,"_updatePosition",50,"fixRate"):(0,X.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");z.k("itemTooltip",this._api,(0,u.bind)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.isDisposed()||r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!h.A.node&&n.getDom()){var r=K(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i,r=(0,V.HB)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,V.JO)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,G.z)(e).tooltipConfig;if(n&&n.name===t.name)return i=e,!0}),i))return{componentMainType:o,componentIndex:a.componentIndex,el:i}}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y)j.x=i.x,j.y=i.y,j.update(),(0,G.z)(j).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:j},r);else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=(0,R.A)(i,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,target:l.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(K(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===q([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i,r,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){if("legend"===(0,G.z)(n).ssrType)return;this._lastDataByCoordSys=null,(0,U.R)(n,function(t){if(t.tooltipDisabled)return i=r=null,!0;i||r||(null!=(0,G.z)(t).dataIndex?i=t:null!=(0,G.z)(t).tooltipConfig&&(r=t))},!0),i?this._showSeriesItemTooltip(t,i,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,u.bind)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=q([e.tooltipOption],i),a=this._renderMode,s=[],l=(0,_.Qx)("section",{blocks:[],noHeader:!0}),h=[],c=new _.lb;
1(0,u.each)(t,function(t){(0,u.each)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=F._F(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),p=(0,_.Qx)("section",{header:o,noHeader:!(0,u.trim)(o),sortBlocks:!0,blocks:[]});l.blocks.push(p),(0,u.each)(t.seriesDataIndices,function(l){var f=n.getSeriesByIndex(l.seriesIndex),g=l.dataIndexInside,y=f.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=E.Dt(e.axis,{value:r}),y.axisValueLabel=o,y.marker=c.makeTooltipMarker("item",(0,d.he)(y.color),a);var v=(0,Y.L)(f.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=q([f],i).get("valueFormatter");p.blocks.push(_?(0,u.extend)({valueFormatter:_},m):m)}v.text&&h.push(v.text),s.push(y)}})}})}),l.blocks.reverse(),h.reverse();var p=e.position,f=o.get("order"),g=(0,_.Yu)(l,c,a,f,n.get("useUTC"),o.get("textStyle"));g&&h.unshift(g);var y="richText"===a?"\n\n":"<br/>",v=h.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,p,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,v,s,Math.random()+"",r[0],r[1],p,null,c)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,G.z)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,h=r.dataType,c=s.getData(h),p=this._renderMode,f=t.positionDefault,g=q([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),y=g.get("trigger");if(null==y||"item"===y){var v=s.getDataParams(l,h),m=new _.lb;v.marker=m.makeTooltipMarker("item",(0,d.he)(v.color),p);var x=(0,Y.L)(s.formatTooltip(l,!1,h)),b=g.get("order"),w=g.get("valueFormatter"),S=x.frag,M=S?(0,_.Yu)(w?(0,u.extend)({valueFormatter:w},S):S,m,p,b,i.get("useUTC"),g.get("textStyle")):x.text,A="item_"+s.name+"_"+l;this._showOrMove(g,function(){this._showTooltipContent(g,M,v,A,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,G.z)(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,u.isString)(o)){var s=o;o={content:s,formatter:s},a=!0}a&&i&&o.content&&((o=(0,u.clone)(o)).content=(0,p.Me)(o.content));var l=[o],h=this._ecModel.getComponent(r.componentMainType,r.componentIndex);h&&l.push(h),l.push({formatter:o.content});var c=t.positionDefault,d=q(l,this._tooltipModel,c?{position:c}:null),f=d.get("content"),g=Math.random()+"",y=new _.lb;this._showOrMove(d,function(){var n=(0,u.clone)(d.get("formatterParams")||{});this._showTooltipContent(d,f,n,g,t.offsetX,t.offsetY,t.position,e,y)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var p=e,f=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)).color;if(c)if((0,u.isString)(c)){var g=t.ecModel.get("useUTC"),y=(0,u.isArray)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;p=c,v&&(p=(0,W.GP)(y.axisValue,p,g)),p=(0,d.YK)(p,n,!0)}else if((0,u.isFunction)(c)){var m=(0,u.bind)(function(e,i){e===this._ticket&&(h.setContent(i,l,t,f,a),this._updatePosition(t,a,r,o,h,n,s))},this);this._ticket=i,p=c(n,i,m)}else p=c;h.setContent(p,l,t,f,a),h.show(t,f),this._updatePosition(t,a,r,o,h,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||(0,u.isArray)(e)?{color:i||r}:(0,u.isArray)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),(0,u.isFunction)(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:h.slice()})),(0,u.isArray)(e))n=(0,L.lo)(e[0],s),i=(0,L.lo)(e[1],l);else if((0,u.isObject)(e)){var g=e;g.width=h[0],g.height=h[1];var y=(0,N.dV)(g,{width:s,height:l});n=y.x,i=y.y,c=null,p=null}else if((0,u.isString)(e)&&a){var v=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,h,t.get("borderWidth"));n=v[0],i=v[1]}else{var m,_,x,b,w,S,M,A,T,C,v=(m=n,_=i,x=r,b=s,w=l,S=c?null:20,M=p?null:20,T=(A=x.getSize())[0],C=A[1],null!=S&&(m+T+S+2>b?m-=T+S:m+=S),null!=M&&(_+C+M>w?_-=C+M:_+=M),[m,_]);n=v[0],i=v[1]}if(c&&(n-=$(c)?h[0]/2:"right"===c?h[0]:0),p&&(i-=$(p)?h[1]/2:"bottom"===p?h[1]:0),f(t)){var k,I,D,O,P,R,B,z,v=(k=n,I=i,D=r,O=s,P=l,B=(R=D.getSize())[0],z=R[1],k=Math.min(k+B,O)-B,I=Math.min(I+z,P)-z,[k=Math.max(k,0),I=Math.max(I,0)]);n=v[0],i=v[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParam
1sList,r=!!n&&n.length===t.length;return r&&(0,u.each)(n,function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&(0,u.each)(a,function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&(0,u.each)(a,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,u.each)(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!h.A.node&&e.getDom()&&((0,X.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),z.h("itemTooltip",e))},e.type="tooltip",e}(H.A);function q(t,e,n){var i,r=e.ecModel;n?(i=new B.A(n,r,r),i=new B.A(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof B.A&&(a=a.get("tooltip",!0)),(0,u.isString)(a)&&(a={formatter:a}),a&&(i=new B.A(a,i,r)))}return i}function K(t,e){return t.dispatchAction||(0,u.bind)(e.dispatchAction,e)}function $(t){return"center"===t||"middle"===t}function Q(t){(0,r.Y)(i.a),t.registerComponentModel(l),t.registerComponentView(Z),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},u.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},u.noop)}},37064:(t,e,n)=>{n.d(e,{Tc:()=>l});var i=n(45874),r=n(65184),o=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=e.get("min",!0);null==a&&(a=e.get("startValue",!0));var s=this._modelMinRaw=a;(0,i.isFunction)(s)?this._modelMinNum=u(t,s({min:n[0],max:n[1]})):"dataMin"!==s&&(this._modelMinNum=u(t,s));var l=this._modelMaxRaw=e.get("max",!0);if((0,i.isFunction)(l)?this._modelMaxNum=u(t,l({min:n[0],max:n[1]})):"dataMax"!==l&&(this._modelMaxNum=u(t,l)),o)this._axisDataLen=e.getCategories().length;else{var h=e.get("boundaryGap"),c=(0,i.isArray)(h)?h:[h||0,h||0];"boolean"==typeof c[0]||"boolean"==typeof c[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,r.lo)(c[0],1),(0,r.lo)(c[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=s,h=null!=l;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==l&&(l=t?r?r-1:NaN:n+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var c=(0,i.eqNaN)(s)||(0,i.eqNaN)(l)||t&&!r;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!h&&(l=0));var p=this._determinedMin,d=this._determinedMax;return null!=p&&(s=p,u=!0),null!=d&&(l=d,h=!0),{min:s,max:l,minFixed:u,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,n){var i=t.rawExtentInfo;return i||(i=new o(t,e,n),t.rawExtentInfo=i),i}function u(t,e){return null==e?null:(0,i.eqNaN)(e)?NaN:t.parse(e)}},37848:(t,e,n)=>{n.d(e,{MW:()=>b,Ay:()=>M});var i=n(32471),r=n(6907),o=n(68581);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>i+r||a<e-r&&a<i-r||o>t+r&&o>n+r||o<t-r&&o<n-r)return!1;if(t===n)return Math.abs(o-t)<=r/2;s=(e-i)/(t-n);var u=s*o-a+(l=(t*i-n*e)/(t-n));return u*u/(s*s+1)<=r/2*r/2}var s=n(29105),l=n(17067),u=2*Math.PI,h=n(69801),c=o.A.CMD,p=2*Math.PI,d=[-1,-1,-1],f=[-1,-1];function g(t,e,n,i,r){for(var o,g,y=t.data,v=t.len(),m=0,_=0,x=0,b=0,w=0,S=0;S<v;){var M,A,T,C,k,I,D,O,L,P,R,N,B,z,E=y[S++],F=1===S;switch(E===c.M&&S>1&&!n&&(m+=(0,h.A)(_,x,b,w,i,r)),F&&(_=y[S],x=y[S+1],b=_,w=x),E){case c.M:b=y[S++],w=y[S++],_=b,x=w;break;case c.L:if(n){if(a(_,x,y[S],y[S+1],e,i,r))return!0}else m+=(0,h.A)(_,x,y[S],y[S+1],i,r)||0;_=y[S++],x=y[S++];break;case c.C:if(n){if(M=_,A=x,T=y[S++],C=y[S++],k=y[S++],I=y[S++],D=y[S],O=y[S+1],0!==e&&(!(r>A+e)||!(r>C+e)||!(r>I+e)||!(r>O+e))&&(!(r<A-e)||!(r<C-e)||!(r<I-e)||!(r<O-e))&&(!(i>M+e)||!(i>T+e)||!(i>k+e)||!(i>D+e))&&(!(i<M-e)||!(i<T-e)||!(i<k-e)||!(i<D-e))&&s.Et(M,A,T,C,k,I,D,O,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l,u,h){if(h>e&&h>i&&h>o&&h>l||h<e&&h<i&&h<o&&h<l)return 0;var c=s._E(e,i,o,l,h,d);if(0===c)return 0;for(var p=0,g=-1,y=void 0,v=void 0,m=0;m<c;m++){var _=d[m],x=0===_||1===_?.5:1;s.Yb(t,n,r,a,_)<u||(g<0&&(g=s.lX(e,i,o,l,f),f[1]<f[0]&&g>1&&function(){var t=f[0];f[0]=f[1],f[1]=t}(),y=s.Yb(e,i,o,l,f[0]),g>1&&(v=s.Yb(e,i,o,l,f[1]))),2===g?_<f[0]?p+=y<e?x:-x:_<f[1]?p+=v<y?x:-x:p+=l<v?x:-x:_<f[0]?p+=y<e?x:-x:p+=l<y?x:-x)}return p}(_,x,y[S++],y[S++],y[S++],y[S++],y[S],y[S+1],i,r)||0;_=y[S++],x=y[S++];break;case c.Q:if(n){if(L=_,P=x,R=y[S++],N=y[S++],B=y[S],z=y[S+1],0!==e&&(!(r>P+e)||!(r>N+e)||!(r>z+e))&&(!(r<P-e)||!(r<N-e)||!(r<z-e))&&(!(i>L+e)||!(i>R+e)||!(i>B+e))&&(!(i<L-e)||!(i<R-e)||!(i<B-e))&&(0,s.kh)(L,P,R,N,B,z,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l){if(l>e&&l>i&&l>o||l<e&&l<i&&l<o)return 0;var u=s.qY(e,i,o,l,d);if(0===u)return 0;var h=s.gC(e,i,o);if(h>=0&&h<=1){for(var c=0,p=s.k3(e,i,o,h),f=0;f<u;f++){var g=0===d[f]||1===d[f]?.5:1,y=s.k3(t,n,r,d[f]);y<a||(d[f]<h?c+=p<e?g:-g:c+=o<p?g:-g)}return c}var g=0===d[0]||1===d[0]?.5:1,y=s.k3(t,n,r,d[0]);return y<a?0:o<e?g:-g}(_,x,y[S++],y[S++],y[S],y[S+1],i,r)||0;_=y[S++],x=y[S++];break;case c.A:var V=y[S++],H=y[S++],W=y[S++],G=y[S++],Y=y[S++],U=y[S++];S+=1;var X=!!(1-y[S++]);o=Math.cos(Y)*W+V,g=Math.sin(Y)*G+H,F?(b=o,w=g):m+=(0,h.A)(_,x,o,g,i,r);var j=(i-V)*G/W+V;
1if(n){if(function(t,e,n,i,r,o,a,s,h){if(0===a)return!1;var c=Math.sqrt((s-=t)*s+(h-=e)*h);if(c-a>n||c+a<n)return!1;if(Math.abs(i-r)%u<1e-4)return!0;if(o){var p=i;i=(0,l.n)(r),r=(0,l.n)(p)}else i=(0,l.n)(i),r=(0,l.n)(r);i>r&&(r+=u);var d=Math.atan2(h,s);return d<0&&(d+=u),d>=i&&d<=r||d+u>=i&&d+u<=r}(V,H,G,Y,Y+U,X,e,j,r))return!0}else m+=function(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);d[0]=-l,d[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=p-1e-4){i=0,r=p;var h=o?1:-1;return a>=d[0]+t&&a<=d[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=p,r+=p);for(var f=0,g=0;g<2;g++){var y=d[g];if(y+t>a){var v=Math.atan2(s,y),h=o?1:-1;v<0&&(v=p+v),(v>=i&&v<=r||v+p>=i&&v+p<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),f+=h)}}return f}(V,H,G,Y,Y+U,X,j,r);_=Math.cos(Y+U)*W+V,x=Math.sin(Y+U)*G+H;break;case c.R:b=_=y[S++],w=x=y[S++];var Z=y[S++],q=y[S++];if(o=b+Z,g=w+q,n){if(a(b,w,o,w,e,i,r)||a(o,w,o,g,e,i,r)||a(o,g,b,g,e,i,r)||a(b,g,b,w,e,i,r))return!0}else m+=(0,h.A)(o,w,o,g,i,r),m+=(0,h.A)(b,g,b,w,i,r);break;case c.Z:if(n){if(a(_,x,b,w,e,i,r))return!0}else m+=(0,h.A)(_,x,b,w,i,r);_=b,x=w}}return n||1e-4>Math.abs(x-w)||(m+=(0,h.A)(_,x,b,w,i,r)||0),0!==m}var y=n(45874),v=n(40520),m=n(7e3),_=n(17667),x=n(28010),b=(0,y.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.oN),w={style:(0,y.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.sW.style)},S=x.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]);let M=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.C6)(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<S.length;++s)r[S[s]]=this[S[s]];r.__dirty|=_.M}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,y.keys)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,y.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,y.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,y.isString)(t)){var e=(0,v.lum)(t,0);return e>.5?m._S:e>.2?m.tY:m.el}else if(t)return m.el}return m._S},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,y.isString)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,v.lum)(t,0)<m.ps)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~_.Dl},n.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new o.A(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&_.Dl)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect
1(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),g(o,a/s,!0,t,e)))return!0}if(this.hasFill())return g(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=_.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,y.extend)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&_.Dl)},n.prototype.createStyle=function(t){return(0,y.createObject)(b,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,y.extend)({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=(0,y.extend)({},i.shape),(0,y.extend)(s,n.shape)):(s=(0,y.extend)({},r?this.shape:i.shape),(0,y.extend)(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=(0,y.extend)({},this.shape);for(var u={},h=(0,y.keys)(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},n.prototype.getAnimationStyleProps=function(){return w},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.C6)(n,e),n.prototype.getDefaultStyle=function(){return(0,y.clone)(t.style)},n.prototype.getDefaultShape=function(){return(0,y.clone)(t.shape)},n}(n);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=_.M|_.pO|_.Dl),n}(r.Ay)},38460:(t,e,n)=>{n.d(e,{a:()=>ti});var i=n(32471),r=n(97123),o=n(94316),a=n(21947),s=n(61998),l=n(74873),u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,i.C6)(e,t),e.prototype.getInitialData=function(t){return(0,r.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.A,n=(0,a.v5)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,u=.8*t.itemHeight,h=(0,a.v5)(o,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);return e.add(h),h.setStyle(t.itemStyle),h.rotation=("inherit"===t.iconRotate?r:t.iconRotate||0)*Math.PI/180,h.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(h.style.stroke=h.style.fill,h.style.fill=l.A.color.neutral00,h.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},e}(o.A),h=n(45874),c=n(48370),p=n(276),d=n(12224);function f(t,e,n){var i,r,o,a,s=t.getBaseAxis(),l=t.getOtherAxis(s),u=(i=l,r=n,o=0,a=i.scale.getExtent(),"start"===r?o=a[0]:"end"===r?o=a[1]:(0,h.isNumber)(r)&&!isNaN(r)?o=r:a[0]>0?o=a[0]:a[1]<0&&(o=a[1]),o),c=s.dim,p=l.dim,f=e.mapDimension(p),g=e.mapDimension(c),y=+("x"===p||"radiu
1s"===p),v=(0,h.map)(t.dimensions,function(t){return e.mapDimension(t)}),m=!1,_=e.getCalculationInfo("stackResultDimension");return(0,d.sJ)(e,v[0])&&(m=!0,v[0]=_),(0,d.sJ)(e,v[1])&&(m=!0,v[1]=_),{dataDimsForPoint:v,valueStart:u,valueAxisDim:p,baseAxisDim:c,stacked:!!m,valueDim:f,baseDim:g,baseDataOffset:y,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function g(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var y="u">typeof Float32Array,v=y?Float32Array:Array;function m(t){return(0,h.isArray)(t)?y?new Float32Array(t):t:new v(t)}var _=n(96138),x=n(11374),b=n(52236),w=n(76172),S=n(37848),M=n(68581),A=n(29105),T=Math.min,C=Math.max;function k(t,e){return isNaN(t)||isNaN(e)}function I(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y<i;y++){var v=e[2*g],m=e[2*g+1];if(g>=r||g<0)break;if(k(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var _=v-u,x=m-h;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y<i;)y++,b+=o,g+=o,w=e[2*b],S=e[2*b+1],v=e[2*g],m=e[2*g+1],_=v-u,x=m-h;var M=y+1;if(l)for(;k(w,S)&&M<i;)M++,b+=o,w=e[2*b],S=e[2*b+1];var A=.5,I=0,D=0,O=void 0,L=void 0;if(M>=i||k(w,S))d=v,f=m;else{I=w-u,D=S-h;var P=v-u,R=w-v,N=m-h,B=S-m,z=void 0,E=void 0;if("x"===s){z=Math.abs(P),E=Math.abs(R);var F=I>0?1:-1;d=v-F*z*a,f=m,O=v+F*E*a,L=m}else if("y"===s){z=Math.abs(N),E=Math.abs(B);var V=D>0?1:-1;d=v,f=m-V*z*a,O=v,L=m+V*E*a}else z=Math.sqrt(P*P+N*N),d=v-I*a*(1-(A=(E=Math.sqrt(R*R+B*B))/(E+z))),f=m-D*a*(1-A),O=v+I*a*A,L=m+D*a*A,O=T(O,C(w,v)),L=T(L,C(S,m)),O=C(O,T(w,v)),L=C(L,T(S,m)),I=O-v,D=L-m,d=v-I*z/E,f=m-D*z/E,d=T(d,C(u,v)),f=T(f,C(h,m)),d=C(d,T(u,v)),f=C(f,T(h,m)),I=v-d,D=m-f,O=v+I*E/z,L=m+D*E/z}t.bezierCurveTo(c,p,d,f,v,m),c=O,p=L}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var D=function(){this.smooth=0,this.smoothConstraint=!0},O=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:l.A.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new D},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&k(n[2*r-2],n[2*r-1]);r--);for(;i<r&&k(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=I(t,n,i,r,r,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 n,i,r=this.path.data,o=M.A.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=r[l++],h=void 0,c=void 0,p=void 0,d=void 0,f=void 0,g=void 0,y=void 0;
1switch(u){case o.M:n=r[l++],i=r[l++];break;case o.L:if(h=r[l++],c=r[l++],(y=a?(t-n)/(h-n):(t-i)/(c-i))<=1&&y>=0){var v=a?(c-i)*y+i:(h-n)*y+n;return a?[t,v]:[v,t]}n=h,i=c;break;case o.C:h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++],g=r[l++];var m=a?(0,A._E)(n,h,p,f,t,s):(0,A._E)(i,c,d,g,t,s);if(m>0)for(var _=0;_<m;_++){var x=s[_];if(x<=1&&x>=0){var v=a?(0,A.Yb)(i,c,d,g,x):(0,A.Yb)(n,h,p,f,x);return a?[t,v]:[v,t]}}n=f,i=g}}},e}(S.Ay),L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e}(D),P=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new L},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&k(n[2*o-2],n[2*o-1]);o--);for(;r<o&&k(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=I(t,n,r,o,o,1,e.smooth,a,e.connectNulls);I(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(S.Ay),R=n(44956),N=n(52121),B=n(14799),z=n(10558),E=n(52843),F=n(59565),V=n(23694),H=n(48630),W=n(67966),G=n(89572),Y=n(40520);function U(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function X(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function j(t,e){var n=X(t),i=n[0],r=n[1],o=X(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function Z(t){return h.isNumber(t)?t:.5*!!t}function q(t,e,n,i,r){var o=n.getBaseAxis(),a=+("x"!==o.dim&&"radius"!==o.dim),s=[],l=0,u=[],h=[],c=[],p=[];if(r){for(l=0;l<t.length;l+=2){var d=e||t;isNaN(d[l])||isNaN(d[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(c[0]=t[l+2],c[1]=t[l+3],h[0]=t[l],h[1]=t[l+1],s.push(h[0],h[1]),i){case"end":u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1]);break;case"middle":var f=(h[a]+c[a])/2,g=[];u[a]=g[a]=f,u[1-a]=h[1-a],g[1-a]=c[1-a],s.push(u[0],u[1]),s.push(g[0],g[1]);break;default:u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function K(t,e){return[t[2*e],t[2*e+1]]}function $(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<F.BV.length;e++)if(t.get([F.BV[e],"endLabel","show"]))return!0;return!1}function Q(t,e,n,i){if((0,E.g)(e,"cartesian2d")){var r,o,a,s,l=i.getModel("endLabel"),u=l.get("valueAnimation"),c=i.getData(),p={lastFrameIndex:0},d=$(i)?function(n,i){t._endLabelOnDuring(n,i,c,p,u,l,e)}:null,f=e.getBaseAxis().isHorizontal(),g=function(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||0;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var p=new N.A({shape:{x:a,y:s,width:l,height:u}});if(e){var d=t.getBaseAxis(),f=d.isHorizontal(),g=d.inverse;f?(g&&(p.shape.x+=l),p.shape.width=0):(g||(p.shape.y+=u),p.shape.height=0);var y=(0,h.isFunction)(r)?function(t){r(t,p)}:null;x.LW(p,{shape:{width:l,height:u,x:a,y:s}},n,null,i,y)}return p}(e,n,i,function(){var e=t._endLabel;e&&n&&null!=p.originalX&&e.attr({x:p.originalX,y:p.originalY})},d);if(!i.get("clip",!0)){var y=g.shape,v=Math.max(y.width,y.height);f?(y.y-=v,y.height+=2*v):(y.x-=v,y.width+=2*v)}return d&&d(1,g),g}return r=e.getArea(),o=(0,z.LI)(r.r0,1),a=(0,z.LI)(r.r,1),s=new B.A({shape:{cx:(0,z.LI)(e.cx,1),cy:(0,z.LI)(e.cy,1),r0:o,r:a,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}),n&&("angle"===e.getBaseAxis().dim?s.shape.endAngle=r.startAngle:s.shape.r=o,x.LW(s,{shape:{endAngle:r.endAngle,r:a}},i)),s}var J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.init=function(){var t=new s.A,e=new c.A;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=h.bind(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],c="polar"===r.type,d=this._coordSys,y=this._symbolDraw,v=this._polyline,b=this._polygon,w=this._lineGroup,S=!e.ssr&&t.get("animation"),M=!l.isEmpty(),A=l.get("origin"),T=f(r,a,A),C=M&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=m(2*i),o=0;o<i;o++){var a=g(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,T),k=t.get("showSymbol"),I=t.get("connectNulls"),D=k&&!c&&function(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&!(r&&function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*p.A.getSymbolSize(e,a)[+!!t.isHorizontal()]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return h.each(o.getViewLabels(),function(t){s[o.scale.getRawOrdinalNumber(t.tickValue)]=1}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}(t,a,r),O=this._data;O&&O.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),O.setItemGraphicEl(e,null))}),k||y.remove(),o.add(w);var L=!c&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(i=r.getArea()).width?(i.x-=.1,i.y-=.1,i.width+=.2,i.height+=.2):i.r0&&(i.r0-=.5,i.r+=.5)),this._clipShapeForSymbol=i;var P=function(t,e,n){var i,r,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"===(i=s&&s.coordDim)||"y"===i){r=o[a];break}}if(!r)return;var l=e.getAxis(i),u=h.map(r.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),c=u.length,p=r.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),p.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:(0,Y.lerp)(r,[t.color,e.color])}}for(var s=0;s<o;
1s++){var l=t[s],u=l.coord;if(u<0)n=l;else if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}else n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}return r}(u,"x"===i?n.getWidth():n.getHeight()),f=d.length;if(!f&&c)return u[0].coord<0?p[1]?p[1]:u[c-1].color:p[0]?p[0]:u[0].color;var g=d[0].coord-10,y=d[f-1].coord+10,v=y-g;if(v<.001)return"transparent";h.each(d,function(t){t.offset=(t.coord-g)/v}),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 m=new _.A(0,0,0,0,d,!0);return m[i]=g,m[i+"2"]=y,m}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(v&&d.type===r.type&&L===this._step){M&&!b?b=this._newPolygon(u,C):b&&!M&&(w.remove(b),b=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,(0,G.he)(P));var R=w.getClipPath();if(R){var N=Q(this,r,!1,t);x.LW(R,{shape:N.shape},t)}else w.setClipPath(Q(this,r,!0,t));k&&y.updateData(a,{isIgnore:D,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),U(this._stackedOnPoints,C)&&U(this._points,u)||(S?this._doUpdateAnimation(a,C,r,n,L,A,I):(L&&(C&&(C=q(C,u,r,L,I)),u=q(u,null,r,L,I)),v.setShape({points:u}),b&&b.setShape({points:u,stackedOnPoints:C})))}else k&&y.updateData(a,{isIgnore:D,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),S&&this._initSymbolLabelAnimation(a,r,i),L&&(C&&(C=q(C,u,r,L,I)),u=q(u,null,r,L,I)),v=this._newPolyline(u),M?b=this._newPolygon(u,C):b&&(w.remove(b),b=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,(0,G.he)(P)),w.setClipPath(Q(this,r,!0,t));var B=t.getModel("emphasis"),z=B.get("focus"),E=B.get("blurScope"),V=B.get("disabled");v.useStyle(h.defaults(s.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"})),(0,F.Mx)(v,t,"lineStyle"),v.style.lineWidth>
10&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(v.getState("emphasis").style.lineWidth=+v.style.lineWidth+1),(0,W.z)(v).seriesIndex=t.seriesIndex,(0,F.Lm)(v,z,E,V);var H=Z(t.get("smooth")),X=t.get("smoothMonotone");if(v.setShape({smooth:H,smoothMonotone:X,connectNulls:I}),b){var j=a.getCalculationInfo("stackedOnSeries"),K=0;b.useStyle(h.defaults(l.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),j&&(K=Z(j.get("smooth"))),b.setShape({smooth:H,stackedOnSmooth:K,smoothMonotone:X,connectNulls:I}),(0,F.Mx)(b,t,"areaStyle"),(0,W.z)(b).seriesIndex=t.seriesIndex,(0,F.Lm)(b,z,E,V)}var $=this._changePolyState;a.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=$)}),this._polyline.onHoverStateChange=$,this._data=a,this._coordSys=r,this._stackedOnPoints=C,this._points=u,this._step=L,this._valueOrigin=A,t.get("triggerLineEvent")&&(this.packEventData(t,v),b&&this.packEventData(t,b))},e.prototype.packEventData=function(t,e){(0,W.z)(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=w.le(r,i);if(this._changePolyState("emphasis"),o instanceof Array||null==o||!(o>=0))R.A.prototype.highlight.call(this,t,e,n,i);else{var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new p.A(r,o)).x=l,s.y=u,s.setZ(h,c);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=h,d.z=c,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=w.le(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else R.A.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,F.Pk)(this._polyline,t),e&&(0,F.Pk)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new O({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new P({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");h.isFunction(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=h.isFunction(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(n)if(r){var g=e.pointToCoord(s);i?(p=n.startAngle,d=n.endAngle,f=-g[1]/180*Math.PI):(p=n.r0,d=n.r,f=g[0])}else i?(p=n.x,d=n.x+n.width,f=t.x):(p=n.y+n.height,d=n.y,f=t.y);var y=d===p?0:(f-p)/(d-p);a&&(y=1-y);var v=h.isFunction(u)?u(o):l*y+c,m=t.getSymbolPath(),_=m.getTextContent();t.attr({scaleX:0,scaleY:0}),t.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:v}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:v}),m.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if($(t)){var r,o,a,s=t.getData(),l=this._polyline,u=s.getLayout("points");if(!u){l.removeTextContent(),this._endLabel=null;return}var h=this._endLabel;h||((h=this._endLabel=new b.Ay({z2:200})).ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var c=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(u);c>=0&&((0,V.qM)(l,(0,V.lx)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:c,defaultText:function(t,e,n){return null!=n?(0,H.T)(s,n):(0,H.i)(s,t)},enableTextSetter:!0},(o=(r=e.getBaseAxis()).isHorizontal(),a=r.inverse,{normal:{align:i.get("align")||(o?a?"right":"left":"center"),verticalAlign:i.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,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,_=(g?d:0)*(y?-1:1),x=(g?0:-d)*(y?-1:1),b=g?"x":"y",S=function(t,e,n){for(var i,r,o=t.length/2,a=+("x"!==n),s=0,l=-1,u=0;u<o;u++)if(!(isNaN(r=t[2*u+a])||isNaN(t[2*u+1-a]))){if(0===u){i=r;continue}if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),M=S.range,A=M[1]-M[0],T=void 0;if(A>=1){if(A>1&&!c){var C=K(u,M[0]);s.attr({x:C[0]+_,y:C[1]+x}),r&&(T=h.getRawValue(M[0]))}else{var C=l.getPointOn(m,b);C&&s.attr({x:C[0]+_,y:C[1]+x});var k=h.getRawValue(M[0]),I=h.getRawValue(M[1]);r&&(T=w.Il(n,p,k,I,S.t))}i.lastFrameIndex=M[0]}else{var D=1===t||i.lastFrameIndex>0?M[0]:0,C=K(u,D);r&&(T=h.getRawValue(D)),s.attr({x:C[0]+_,y:C[1]+x})}if(r){var O=(0,V.Lu)(s);"function"==typeof O.setLabelText&&O.setLabelText(T)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,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=[],h=[],c=[],p=[],d=[],y=[],v=f(r,e,o),_=t.getLayout("points")||[],x=e.getLayout("points")||[],b=0;b<s.length;b++){var w=s[b],S=!0,M=void 0,A=void 0;switch(w.cmd){case"=":M=2*w.idx,A=2*w.idx1;var T=_[M],C=_[M+1],k=x[A],I=x[A+1];(isNaN(T)||isNaN(C))&&(T=k,C=I),l.push(T,C),u.push(k,I),h.push(n[M],n[M+1]),c.push(i[A],i[A+1]),y.push(e.getRawIndex(w.idx1));break;
1case"+":var D=w.idx,O=v.dataDimsForPoint,L=r.dataToPoint([e.get(O[0],D),e.get(O[1],D)]);A=2*D,l.push(L[0],L[1]),u.push(x[A],x[A+1]);var P=g(v,r,e,D);h.push(P[0],P[1]),c.push(i[A],i[A+1]),y.push(e.getRawIndex(D));break;case"-":S=!1}S&&(p.push(w),d.push(d.length))}d.sort(function(t,e){return y[t]-y[e]});for(var R=l.length,N=m(R),B=m(R),z=m(R),E=m(R),F=[],b=0;b<d.length;b++){var V=d[b],H=2*b,W=2*V;N[H]=l[W],N[H+1]=l[W+1],B[H]=u[W],B[H+1]=u[W+1],z[H]=h[W],z[H+1]=h[W+1],E[H]=c[W],E[H+1]=c[W+1],F[b]=p[V]}return{current:N,next:B,stackedOnCurrent:z,stackedOnNext:E,status:F}}(this._data,t,this._stackedOnPoints,e,this._coordSys,this._valueOrigin),c=h.current,p=h.stackedOnCurrent,d=h.next,y=h.stackedOnNext;if(r&&(p=q(h.stackedOnCurrent,h.current,n,r,a),c=q(h.current,null,n,r,a),y=q(h.stackedOnNext,h.next,n,r,a),d=q(h.next,null,n,r,a)),j(c,d)>3e3||l&&j(p,y)>3e3){s.stopAnimation(),s.setShape({points:d}),l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:y}));return}s.shape.__points=h.current,s.shape.points=c;var v={shape:{points:d}};h.current!==c&&(v.shape.__points=h.next),s.stopAnimation(),x.oi(s,v,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),x.oi(l,{shape:{stackedOnPoints:y}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var _=[],b=h.status,w=0;w<b.length;w++)if("="===b[w].cmd){var S=t.getItemGraphicEl(b[w].idx1);S&&_.push({el:S,ptIdx:w})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<_.length;e++){var n=_[e].el,i=2*_[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(R.A),tt=n(28568),te={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)!isNaN(t[i])&&(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},tn=function(t){return Math.round(t.length/2)};function ti(t){t.registerChartView(J),t.registerSeriesModel(u),t.registerLayout({seriesType:"line",plan:(0,tt.A)(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext,r=!0;if(n){var o=(0,h.map)(n.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),a=o.length,s=e.getCalculationInfo("stackResultDimension");(0,d.sJ)(e,o[0])&&(o[0]=s),(0,d.sJ)(e,o[1])&&(o[1]=s);var l=e.getStore(),u=e.getDimensionIndex(o[0]),c=e.getDimensionIndex(o[1]);return a&&{progress:function(t,e){for(var i=t.end-t.start,o=r&&m(i*a),s=[],h=[],p=t.start,d=0;p<t.end;p++){var f=void 0;if(1===a){var g=l.get(u,p);f=n.dataToPoint(g,null,h)}else s[0]=l.get(u,p),s[1]=l.get(c,p),f=n.dataToPoint(s,null,h);r?(o[d++]=f[0],o[d++]=f[1]):e.setItemLayout(p,f.slice())}r&&e.setLayout("points",o)}}}}}),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,{seriesType:"line",reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),p=Math.round(a/(Math.abs(u[1]-u[0])*(c||1)));if(isFinite(p)&&p>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/p));var d=void 0;(0,h.isString)(r)?d=te[r]:(0,h.isFunction)(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,tn))}}}})}},38725:(t,e,n)=>{n.d(e,{A:()=>o});var i=n(45874),r=n(76172);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.le(s,t);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)if(t.isStacked){var c=h.getBaseAxis(),p=h.getOtherAxis(c).dim,d=c.dim,f=+("x"===p||"radiu
1s"===p),g=s.mapDimension(d),y=[];y[f]=s.get(g,l),y[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=h.dataToPoint(y)||[]}else o=h.dataToPoint(s.getValues(i.map(h.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},38795:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var i=this,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout(function(){t.apply(i,o)},e)}}},39020:(t,e,n)=>{n.d(e,{A:()=>v});var i=n(98573),r=n(36363),o=(0,n(588).A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(23694),l=n(52236),u=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=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")},n=0;n<h.length;n++)e[h[n]]=this.getShallow(h[n]);return c.useStyle(e),c.update(),c.getBoundingRect()},t}(),d=n(44409),f=n(30154),g=n(45874),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.gq)(y),(0,r.Od)(y),(0,g.mixin)(y,d.J),(0,g.mixin)(y,f.s),(0,g.mixin)(y,a),(0,g.mixin)(y,p);let v=y},40024:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.removeSensor=e.getSensor=e.Sensors=void 0;var i,r=(i=n(23537))&&i.__esModule?i:{default:i},o=n(9184),a=n(45480),s=e.Sensors={};function l(t){t&&s[t]&&delete s[t]}e.getSensor=function(t){var e=t.getAttribute(a.SizeSensorId);if(e&&s[e])return s[e];var n=(0,r.default)();t.setAttribute(a.SizeSensorId,n);var i=(0,o.createSensor)(t,function(){return l(n)});return s[n]=i,i},e.removeSensor=function(t){var e=t.element.getAttribute(a.SizeSensorId);t.destroy(),l(e)}},40093:(t,e,n)=>{n.d(e,{A:()=>I});var i,r,o,a,s,l,u,h=n(45874),c=n(39020);function p(t){return null==t?0:t.length||1}function d(t){return t}var f=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||d,this._newKeyGetter=i||d,this.context=r,this._diffModeMultiple="multiple"===o}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),r=Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=p(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;
1a++){var s=r[a],l=n[s],u=i[s],h=p(l),c=p(u);if(h>1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var d=0;d<h;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=p(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=p(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),g=n(32045),y=n(46472),v=n(35481),m=n(28748),_=n(76172),x=n(67966),b=n(74410),w=n(66484),S=n(60522),M=h.isObject,A=h.map,T="u"<typeof Int32Array?Array:Int32Array,C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],k=["_approximateExtent"];let I=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;(0,S.fg)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],p=h.isString(c)?new v.A({name:c}):c instanceof v.A?c:new v.A(c),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),r[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]);var g=u;h.isNumber(p.storeDimIndex)&&(g=p.storeDimIndex),0===f.itemName&&(this._nameDimIdx=g),0===f.itemId&&(this._idDimIdx=g),i&&(p.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=h.createHashMap();h.each(o,function(t){y.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof w.Ay&&(i=t),!i){var o=this.dimensions,a=(0,b.tP)(t)||h.isArrayLike(t)?new g.d1(t,o.length):t;i=new w.Ay;var s=A(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=(0,y.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.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 n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===m.mK&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,_.zu)(l)&&(this.hasItemOption=!0),l){var h=l.name;null==r[s]&&null!=h&&(r[s]=(0,_.vS)(h,null));var c=l.id;null==o[s]&&null!=c&&(o[s]=(0,_.vS)(c,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){M(t)?h.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return h.isArray(t)?i.getValues(A(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.each=function(t,e,n){h.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=A(a(t),this._getStoreDimIndex,this);this._store.each(r,i?h.bind(e,i):e)},t.prototype.filterSelf=function(t,e,n){h.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=A(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?h.bind(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=h.keys(t),r=[];
1return h.each(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){h.isFunction(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=A(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?h.bind(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=A(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?h.bind(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=l(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new c.A(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(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||{},M(t)?h.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),h.isArray(r)?r=r.slice():M(r)&&(r=h.extend({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,M(e)?h.extend(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){M(t)?h.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?h.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,x.a)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:A(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];h.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.slice(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;h.each(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new T(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,_.vS)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return h.isArray(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:A(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){h.each(C.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,h.each(k,function(n){t[n]=h.clone(e[n])}),t._calculationInfo=h.extend({},e._calculationInfo)},u=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==l&&null!=a&&(i[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,h=u[s]=(u[s]||0)+1;l=s,h>1&&(l+="__ec__"+h),i[e]=l}}),t}()},40520:(t,e,n)=>{n.r(e),n.d(e,{fastLerp:()=>x,fastMapToColor:()=>b,lerp:()=>w,lift:()=>m,liftColor:()=>D,lum:()=>C,mapToColor:()=>S,modifyAlpha:()=>A,modifyHSL:()=>M,parse:()=>y,parseCssFloat:()=>u,parseCssInt:()=>l,random:()=>k,stringify:()=>T,toHex:()=>_});var i=n(36484),r=n(45874),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 h(t,e,n){return(n<0?n+=1:n>1&&(n-=1),6*n<1)?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,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 i.Ay(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return p(e,o[i]),g(t,e),e;var r=i.length;if("#"===i.charAt(0)){if(4===r||5===r){var a=parseInt(i.slice(1,4),16);return a>=0&&a<=4095?(c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e):void c(e,0,0,0,1)}if(7===r||9===r){var a=parseInt(i.slice(1,7),16);return a>=0&&a<=0xffffff?(c(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e):void c(e,0,0,0,1)}return}var s=i.indexOf("("),h=i.indexOf(")");if(-1!==s&&h+1===r){var f=i.substr(0,s),y=i.substr(s+1,h-(s+1)).split(","),m=1;switch(f){case"rgba":if(4!==y.length)return 3===y.length?c(e,+y[0],+y[1],+y[2],1):c(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return c(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void c(e,0,0,0,1);case"hsla":if(4!==y.length)return void c(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void c(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}c(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return c(e=e||[],a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return T(n,4===n.length?"rgba":"rgb")}}function _(t){var e=y(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=e[h],d=e[c],f=u-h;return n[0]=a((i=p[0],i+(d[0]-i)*f)),n[1]=a((r=p[1],r+(d[1]-r)*f)),n[2]=a((o=p[2],o+(d[2]-o)*f)),n[3]=s((l=p[3],l+(d[3]-l)*f)),n}}var b=x;function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=y(e[h]),d=y(e[c]),f=u-h,g=T([a((i=p[0],i+(d[0]-i)*f)),a((r=p[1],r+(d[1]-r)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return n?{color:g,leftIndex:h,rightIndex:c,value:u}:g}}var S=w;function M(t,e,n,i){var o,a=y(t);if(t)return a=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(a),null!=e&&(a[0]=(o=Math.round(o=(0,r.isFunction)(e)?e(a[0]):e))<0?0:o>360?360:o),null!=n&&(a[1]=u((0,r.isFunction)(n)?n(a[1]):n)),null!=i&&(a[2]=u((0,r.isFunction)(i)?i(a[2]):i)),T(v(a),"rgba")}function A(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),T(n,"rgba")}function T(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];
1return("rgba"===e||"hsva"===e||"hsla"===e)&&(n+=","+t[3]),e+"("+n+")"}}function C(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function k(){return T([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var I=new i.Ay(100);function D(t){if((0,r.isString)(t)){var e=I.get(t);return e||(e=m(t,-.1),I.put(t,e)),e}if((0,r.isGradientObject)(t)){var n=(0,r.extend)({},t);return n.colorStops=(0,r.map)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t}},42680:(t,e,n)=>{n.d(e,{V$:()=>I,Xi:()=>k,ZQ:()=>x});var i=n(6907),r=n(68581),o=n(63557),a=n(66275),s=n(37848),l=n(9496),u=n(64505),h=n(45874);function c(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,h.isNumber)(e)?[e]:(0,h.isArray)(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=(0,h.map)(r,function(t){return t/a}),o/=a)}return[r,o]}var p=n(17667),d=n(60609),f=new r.A(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var i=(0,o.OD)(e.image,e.__image,n);if((0,o.xA)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var b=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){T(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.oN.opacity:s}(r||e.blend!==n.blend)&&(a||(T(t,o),a=!0),t.globalCompositeOperation=e.blend||i.oN.blend);for(var l=0;l<b.length;l++){var u=b[l];(r||e[u]!==n[u])&&(a||(T(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(T(t,o),a=!0),t.shadowColor=e.shadowColor||i.oN.shadowColor),a}function M(t,e,n,i,r){var o=C(e,r.inHover),a=i?null:n&&C(n,r.inHover)||{};if(o===a)return!1;var s=S(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(T(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(T(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(T(t,r),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,r),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var h=w[u],c=h[0];(i||o[c]!==a[c])&&(s||(T(t,r),s=!0),t[c]=o[c]||h[1])}return s}function A(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function T(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function C(t,e){return e&&t.__hoverStyle||t.style}function k(t,e){I(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function I(t,e,n,i){var r,h=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.M,e.__isRendered=!1;return}var y=e.__clipPaths,b=n.prevElClipPaths,w=!1,k=!1;if(!b||(0,a.KU)(y,b)){if(b&&b.length&&(T(t,n),t.restore(),k=w=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),y&&y.length){T(t,n),t.save();for(var D=!1,O=0;O<y.length;O++){var L=y[O];D=D||L.isZeroArea(),A(t,L),t.beginPath(),L.buildPath(t,L.shape),t.clip()}n.allClipped=D,w=!0}n.prevElClipPaths=y}if(n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var P=n.prevEl;P||(k=w=!0);var R=e instanceof s.Ay&&e.autoBatch&&(z=v(B=e.style),E=g(B),!(B.lineDash||!(z^E)||z&&"string"!=typeof B.fill||E&&"string"!=typeof B.stroke||B.strokePercent<1||B.strokeOpacity<1||B.fillOpacity<1));!w&&(F=P.transform,h&&F?h[0]===F[0]&&h[1]===F[1]&&h[2]===F[2]&&h[3]===F[3]&&h[4]===F[4]&&h[5]===F[5]:+(!h&&!F))?R||T(t,n):(T(t,n),A(t,e));var N=C(e,n.inHover);if(e instanceof s.Ay)1!==n.lastDrawType&&(k=!0,n.lastDrawType=1),M(t,e,P,k,n),R&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o,s,l=g(n),u=v(n),h=n.strokePercent,d=h<1,y=!e.path;(!e.silent||d)&&y&&e.createPathProxy();var b=e.path||f,w=e.__dirty;if(!i){var S=n.fill,M=n.stroke,A=u&&!!S.colorStops,T=l&&!!M.colorStops,C=u&&!!S.image,k=l&&!!M.image,I=void 0,D=void 0,O=void 0,L=void 0,P=void 0;
1(A||T)&&(P=e.getBoundingRect()),A&&(I=w?(0,a.Ff)(t,S,P):e.__canvasFillGradient,e.__canvasFillGradient=I),T&&(D=w?(0,a.Ff)(t,M,P):e.__canvasStrokeGradient,e.__canvasStrokeGradient=D),C&&(O=w||!e.__canvasFillPattern?x(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=O),k&&(L=w||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=L),A?t.fillStyle=I:C&&(O?t.fillStyle=O:u=!1),T?t.strokeStyle=D:k&&(L?t.strokeStyle=L:l=!1)}var R=e.getGlobalScale();b.setScale(R[0],R[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(o=(r=c(e))[0],s=r[1]);var N=!0;(y||w&p.Dl)&&(b.setDPR(t.dpr),d?b.setContext(null):(b.setContext(t),N=!1),b.reset(),e.buildPath(b,e.shape,i),b.toStatic(),e.pathUpdated()),N&&b.rebuildPath(t,d?h:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!i&&(n.strokeFirst?(l&&_(t,n),u&&m(t,n)):(u&&m(t,n),l&&_(t,n))),o&&t.setLineDash([])}(t,e,N,R),R&&(n.batchFill=N.fill||"",n.batchStroke=N.stroke||"");else if(e instanceof u.A){3!==n.lastDrawType&&(k=!0,n.lastDrawType=3),M(t,e,P,k,n);var B,z,E,F,V,H=N.text;if(null!=H&&(H+=""),H){t.font=N.font||d.OH,t.textAlign=N.textAlign,t.textBaseline=N.textBaseline;var W=void 0,G=void 0;t.setLineDash&&N.lineDash&&(W=(V=c(e))[0],G=V[1]),W&&(t.setLineDash(W),t.lineDashOffset=G),N.strokeFirst?(g(N)&&t.strokeText(H,N.x,N.y),v(N)&&t.fillText(H,N.x,N.y)):(v(N)&&t.fillText(H,N.x,N.y),g(N)&&t.strokeText(H,N.x,N.y)),W&&t.setLineDash([])}}else e instanceof l.Ay?(2!==n.lastDrawType&&(k=!0,n.lastDrawType=2),r=k,S(t,C(e,n.inHover),P&&C(P,n.inHover),r,n),function(t,e,n){var i=e.__image=(0,o.OD)(n.image,e.__image,e,e.onload);if(i&&(0,o.xA)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var h=n.sx,c=n.sy,p=s-h,d=l-c;t.drawImage(i,h,c,p,d,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,N)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(k=!0,n.lastDrawType=4),function(t,e,n){var i,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(i=e.getCursor(),r=o.length;i<r;i++){var l=o[i];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,i===r-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,h=a.length;u<h;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,u===h-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n));R&&i&&T(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},43653:(t,e,n)=>{n.d(e,{A:()=>l});var i=n(32471),r=n(37848),o=n(81312),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,i.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}(r.Ay);s.prototype.type="polyline";let l=s},44409:(t,e,n)=>{n.d(e,{J:()=>a,m:()=>r});var i=n(588),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},44956:(t,e,n)=>{n.d(e,{A:()=>x});var i=n(45874),r=n(61998),o=n(1054),a=n(36363),s=n(76172),l=n(59565),u=n(24187),h=n(28568),c=n(84295),p=s.$r(),d=(0,h.A)(),f=function(){function t(){this.group=new r.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,u.U)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,c.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,n){t&&(0,l.u6)(t)&&("emphasis"===e?l.HY:l.SD)(t,n)}function y(t,e,n){var r=s.le(t,e),o=e&&null!=e.highlightKey?(0,l._n)(e.highlightKey):null;null!=r?(0,i.each)(s.qB(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRen
1der,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[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)}}};let x=f},45480:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SizeSensorId=e.SensorTabIndex=e.SensorClassName=void 0,e.SizeSensorId="size-sensor-id",e.SensorClassName="size-sensor-object",e.SensorTabIndex="-1"},45847:(t,e,n)=>{n.d(e,{a:()=>W});var i=n(32471),r=n(53623),o=n(33936),a=n(52121),s=n(45874),l=n(15971),u=n(24216),h=n(76172),c=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}(l.A);s.mixin(c,u.L);var p=n(74873),d={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:p.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:p.A.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:p.A.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[p.A.color.backgroundTint,p.A.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:p.A.color.neutral00,borderColor:p.A.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},f=s.merge({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},d),g=s.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:p.A.color.axisMinorSplitLine,width:1}}},d),y=s.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},g),v=s.defaults({logBase:10},g);let m={category:f,value:g,time:y,log:v};var _=n(61293),x=n(6713),b={value:1,category:1,time:1,log:1},w=n(34916);function S(t,e,n,r){(0,s.each)(b,function(o,a){var l=(0,s.merge)((0,s.merge)({},m[a],!0),r,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return(0,i.C6)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,_.ad)(this),i=n?(0,_.vs)(t):{},r=e.getTheme();(0,s.merge)(t,r.get(a+"Axis")),(0,s.merge)(t,this.getDefaultOption()),t.type=M(t),n&&(0,_.YA)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=x.A.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.prototype.updateAxisBreaks=function(t){var e=(0,w.D)();return e?e.updateModelAxisBreak(this,t):{breaks:[]}},n.type=e+"Axis."+a,n.defaultOption=l,n}(n);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",M)}function M(t){return t.type||(t.data?"category":"value")}var A=n(84815),T=n(61998),C=n(84295),k=n(13775),I=n(62720),D=(0,h.$r)(),O=n(77841),L=["splitArea","splitLine","minorSplitLine","breakArea"],P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;this._axisGroup=new T.A,this.group.add(this._axisGroup),(0,O.Qs)(e)&&(this._axisGroup.add(e.axis.axisBuilder.group),s.each(L,function(t){e.get([t,"show"])&&R[t](this,this._axisGroup,e,e.getCoordSysModel(),i)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||C.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r))},e.prototype.remove=function(){D(this).splitAreaColors=null},e.type="cartesianAxis",e}(I.A),R={splitLine:function(t,e,n,i,r){var o=n.axis;if(!o.scale.isBlank()){var a=n.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),h=!1!==a.get("showMinLine"),c=!1!==a.get("showMaxLine");u=s.isArray(u)?u:[u];for(var p=i.coordinateSystem.getRect(),d=o.isHorizontal(),f=0,g=o.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),y=[],v=[],m=l.getLineStyle(),_=0;_<g.length;_++){var x=o.toGlobalCoord(g[_].coord);if((0!==_||h)&&(_!==g.length-1||c)){var b=g[_].tickValue;d?(y[0]=x,y[1]=p.y,v[0]=x,v[1]=p.y+p.height):(y[0]=p.x,y[1]=x,v[0]=p.x+p.width,v[1]=x);var w=f++%u.length,S=new k.A({anid:null!=b?"line_"+b:null,autoBatch:!0,shape:{x1:y[0],y1:y[1],x2:v[0],y2:v[1]},style:s.defaults({stroke:u[w]},m),silent:!0});C.subPixelOptimizeLine(S.shape,m.lineWidth),e.add(S)}}}},minorSplitLine:function(t,e,n,i,r){var o=n.axis,a=n.getModel("minorSplitLine").getModel("lineStyle"),s=i.coordinateSystem.getRect(),l=o.isHorizontal(),u=o.getMinorTicksCoords();if(u.length)for(var h=[],c=[],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?(h[0]=g,h[1]=s.y,c[0]=g,c[1]=s.y+s.height):(h[0]=s.x,h[1]=g,c[0]=s.x+s.width,c[1]=g);var y=new k.A({anid:"minor_line_"+u[d][f].tickValue,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:p,silent:!0});C.subPixelOptimizeLine(y.shape,p.lineWidth),e.add(y)}},splitArea:function(t,e,n,i,r){!function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),l=o.getModel("areaStyle"),u=l.get("color"),h=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(c.length){var p=u.length,d=D(t).splitAreaColors,f=s.createHashMap(),g=0;if(d)for(var y=0;y<c.length;y++){var v=d.get(c[y].tickValue);
1if(null!=v){g=(v+(p-1)*y)%p;break}}var m=r.toGlobalCoord(c[0].coord),_=l.getAreaStyle();u=s.isArray(u)?u:[u];for(var y=1;y<c.length;y++){var x=r.toGlobalCoord(c[y].coord),b=void 0,w=void 0,S=void 0,M=void 0;r.isHorizontal()?(b=m,w=h.y,S=x-b,M=h.height,m=b+S):(b=h.x,w=m,S=h.width,M=x-w,m=w+M);var A=c[y-1].tickValue;null!=A&&f.set(A,g),e.add(new a.A({anid:null!=A?"area_"+A:null,shape:{x:b,y:w,width:S,height:M},style:s.defaults({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%p}D(t).splitAreaColors=f}}}(t,e,n,i)},breakArea:function(t,e,n,i,r){var o=(0,w.D)(),a=n.axis.scale;o&&"ordinal"!==a.type&&o.rectCoordBuildBreakAxis(e,t,n,i.coordinateSystem.getRect(),r)}},N=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="xAxis",e}(P),B=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=N.type,e}return(0,i.C6)(e,t),e.type="yAxis",e}(P),z=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 a.A({shape:t.coordinateSystem.getRect(),style:(0,s.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.A),E={offset:0};function F(t){t.registerComponentView(z),t.registerComponentModel(o.Ay),t.registerCoordinateSystem("cartesian2d",A.A),S(t,"x",c,E),S(t,"y",c,E),t.registerComponentView(N),t.registerComponentView(B),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var V=n(77916),H=n(62451);function W(t){(0,H.Y)(F),(0,H.Y)(V.a)}},45874:(t,e,n)=>{n.r(e),n.d(e,{EPSILON:()=>tg,HashMap:()=>ts,RADIAN_TO_DEGREE:()=>tf,assert:()=>tt,bind:()=>R,clone:()=>m,concatArray:()=>tu,createCanvas:()=>S,createHashMap:()=>tl,createObject:()=>th,curry:()=>N,defaults:()=>w,disableUserSelect:()=>tc,each:()=>k,eqNaN:()=>Z,extend:()=>b,filter:()=>O,find:()=>L,guid:()=>y,hasOwn:()=>tp,indexOf:()=>M,inherits:()=>A,isArray:()=>B,isArrayLike:()=>C,isBuiltInObject:()=>W,isDom:()=>Y,isFunction:()=>z,isGradientObject:()=>U,isImagePatternObject:()=>X,isNumber:()=>V,isObject:()=>H,isPrimitive:()=>tr,isRegExp:()=>j,isString:()=>E,isStringSafe:()=>F,isTypedArray:()=>G,keys:()=>P,logError:()=>v,map:()=>I,merge:()=>_,mergeAll:()=>x,mixin:()=>T,noop:()=>td,normalizeCssArray:()=>J,reduce:()=>D,retrieve:()=>q,retrieve2:()=>K,retrieve3:()=>$,setAsPrimitive:()=>ti,slice:()=>Q,trim:()=>te});var i=n(60609),r=D(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=D(["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,h=s.slice,c=s.map,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"u">typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!t[tn]){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!t[tn]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!t[tn]&&!Y(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=m(t[u]));return e}function _(t,e,n){if(!H(e)||!H(t))return n?m(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==f){var r=t[i],o=e[i];!(H(o)&&H(r))||B(o)||B(r)||Y(o)||Y(r)||W(o)||W(r)||o[tn]||r[tn]?!n&&i in t||(t[i]=m(e[i])):_(r,o,n)}return t}function x(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=_(n,t[i],e);return n}function b(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function w(t,e,n){for(var i=P(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var S=i.yh.createCanvas;function M(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return -1}function A(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function T(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];
vendor: 6,384 bytes, line 1
1"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,n)}function C(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function k(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function I(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function D(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function O(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function L(t,e,n){if(t&&e){for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}}function P(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var R=d&&z(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(h.call(arguments)))}};function N(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function B(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function z(t){return"function"==typeof t}function E(t){return"string"==typeof t}function F(t){return"[object String]"===a.call(t)}function V(t){return"number"==typeof t}function H(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function W(t){return!!r[a.call(t)]}function G(t){return!!o[a.call(t)]}function Y(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function U(t){return null!=t.colorStops}function X(t){return null!=t.image}function j(t){return"[object RegExp]"===a.call(t)}function Z(t){return t!=t}function q(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function K(t,e){return null!=t?t:e}function $(t,e,n){return null!=t?t:null!=e?e:n}function Q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function J(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw Error(e)}function te(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var tn="__ec_primitive__";function ti(t){t[tn]=!0}function tr(t){return t[tn]}var to=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return P(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),ta="function"==typeof Map,ts=function(){function t(e){var n=B(e);this.data=ta?new Map:new to;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&k(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return ta?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tl(t){return new ts(t)}function tu(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n}function th(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&b(n,e),n}function tc(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tp(t,e){return t.hasOwnProperty(e)}function td(){}var tf=180/Math.PI,tg=Number.EPSILON||2220446049250313e-31},46330:(t,e,n)=>{n.d(e,{Me:()=>y,ot:()=>d,oq:()=>p,lJ:()=>h,Yn:()=>c});var i=n(98573),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][h]}for(var c=i|1<<n,p=n+1;i&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var y=1<<f;!(y&a)&&(d+=(g%2?-1:1)*t[n][f]*o(t,e-1,p,c,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s=n(45874),l="___zrEVENTSAVED",u=[];function h(t,e,n,i,r){return p(u,e,i,r,!0)&&p(t,n,u[0],u[1])}function c(t,e){function n(t){var e=t[l];e&&(e.clearMarkers&&e.clearMarkers(),delete t[l])}t&&n(t),e&&n(e)}function p(t,e,n,r,o){if(e.getBoundingClientRect&&i.A.domSupported&&!d(e)){var u=e[l]||(e[l]={}),h=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),p=2*h,d=c.left,f=c.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),l=a.style,u=o%2,h=(o>>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[u]+":0",r[h]+":0",i[1-u]+":auto",r[1-h]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return e.clearMarkers=function(){(0,s.each)(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})},n}(e,u),u,o);
1if(h)return h(t,n,r),!0}return!1}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function y(t){return null==t?"":(t+"").replace(f,function(t,e){return g[e]})}},46362:(t,e,n)=>{n.d(e,{Lv:()=>l,A$:()=>h,pr:()=>p,A4:()=>c,E:()=>u});var i=n(39020),r=n(98573),o=n(45874),a={},s={},l=r.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 i.A(e),a[t]=e}function h(t){if(!(0,o.isString)(t))return(0,o.merge)((0,o.clone)(t),(0,o.clone)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(a.EN),!1)}function c(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}
1,",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},46472:(t,e,n)=>{n.d(e,{B:()=>l,l:()=>a});var i=n(45874),r=n(28748),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},l=(0,i.createHashMap)(),u=[],h=[],c={};(0,i.each)(t.dimensions,function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){var o,p=n.coordDimIndex;s(a,i)[p]=e,n.isExtraCoord||(l.set(i,1),"ordinal"!==(o=n.type)&&"time"!==o&&(u[0]=e),s(c,i)[p]=t.getDimensionIndex(n.name)),n.defaultTooltip&&h.push(e)}r.Pe.each(function(t,e){var i=s(a,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)})});var p=[],d={};l.each(function(t,e){var n=a[e];d[e]=n[0],p=p.concat(n)}),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.map)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=d;var f=a.label;f&&f.length&&(u=f.slice());var g=a.tooltip;return g&&g.length?h=g.slice():h.length||(h=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=h,n.userOutput=new o(c,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},48370:(t,e,n)=>{n.d(e,{A:()=>p});var i=n(61998),r=n(11374),o=n(84295),a=n(276),s=n(45874),l=n(23694);function u(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function h(t){return null==t||(0,s.isObject)(t)||(t={isIgnore:t}),t||{}}function c(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,l.lx)(e),cursorStyle:e.get("cursor")}}let p=function(){function t(t){this.group=new i.A,this._SymbolCtor=t||a.A}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=h(e);var n=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=e.disableAnimation,l=c(t),p={disableAnimation:s},d=e.getSymbolPoint||function(e){return t.getItemLayout(e)};o||n.removeAll(),t.diff(o).add(function(i){var r=d(i);if(u(t,r,i,e)){var o=new a(t,i,l,p);o.setPosition(r),t.setItemGraphicEl(i,o),n.add(o)}}).update(function(h,c){var f=o.getItemGraphicEl(c),g=d(h);if(!u(t,g,h,e))return void n.remove(f);var y=t.getItemVisual(h,"symbol")||"circle",v=f&&f.getSymbolType&&f.getSymbolType();if(!f||v&&v!==y)n.remove(f),(f=new a(t,h,l,p)).setPosition(g);else{f.updateData(t,h,l,p);var m={x:g[0],y:g[1]};s?f.attr(m):r.oi(f,m,i)}n.add(f),t.setItemGraphicEl(h,f)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=d,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=h(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(u(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){o.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}()},48630:(t,e,n)=>{n.d(e,{T:()=>a,i:()=>o});var i=n(32045),r=n(45874);function o(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var o=(0,i.QE)(t,e,n[0]);return null!=o?o+"":null}if(r){for(var a=[],s=0;s<n.length;s++)a.push((0,i.QE)(t,e,n[s]));return a.join(" ")}}function a(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,r.isArray)(e))return e+"";for(var i=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&i.push(e[a])}return i.join(" ")}},51580:(t,e,n)=>{n.d(e,{A:()=>c});var i=n(32471),r=n(10558),o=n(89572),a=n(19937),s=n(67493),l=n(99856),u=r.LI,h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,i.C6)(e,t),e.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},e.prototype.contain=function(t){return s.lP(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.u$(t)},e.prototype.getTicks=function(t){t=t||{};var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=(0,l.m)(),a=[];if(!e)return a;
1if("only_break"===t.breakTicks&&o)return o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent),a;n[0]<i[0]&&(t.expandToNicedExtent?a.push({value:u(i[0]-e,r)}):a.push({value:n[0]}));for(var s=function(t,n){return Math.round((n-t)/e)},h=i[0];h<=i[1];){if(a.push({value:h}),h=u(h+e,r),this._brkCtx){var c=this._brkCtx.calcNiceTickMultiple(h,s);c>=0&&(h=u(h+c*e,r))}if(a.length>0&&h===a[a.length-1].value)break;if(a.length>1e4)return[]}var p=a.length?a[a.length-1].value:i[1];return n[1]>p&&(t.expandToNicedExtent?a.push({value:u(p+e,r)}):a.push({value:n[1]})),o&&o.pruneTicksByBreak(t.pruneByBreak,a,this._brkCtx.breaks,function(t){return t.value},this._interval,this._extent),"none"!==t.breakTicks&&o&&o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent),a},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),r=1;r<e.length;r++){var o=e[r],a=e[r-1];if(!a.break&&!o.break){for(var h=0,c=[],p=(o.value-a.value)/t,d=s.u$(p);h<t-1;){var f=u(a.value+(h+1)*p,d);f>i[0]&&f<i[1]&&c.push(f),h++}var g=(0,l.m)();g&&g.pruneTicksByBreak("auto",c,this._getNonTransBreaks(),function(t){return t},this._interval,i),n.push(c)}}return n},e.prototype._getNonTransBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=r.XV(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=u(t.value,n,!0);return o.ob(i)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent.slice(),r=this._getExtentSpanWithBreaks();if(isFinite(r)){r<0&&(r=-r,i.reverse(),this._innerSetExtent(i[0],i[1]),i=this._extent.slice());var o=s.xh(i,r,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent.slice();if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this._innerSetExtent(e[0],e[1]),e=this._extent.slice(),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval,r=this._intervalPrecision;t.fixMin||(e[0]=u(Math.floor(e[0]/i)*i,r)),t.fixMax||(e[1]=u(Math.ceil(e[1]/i)*i,r)),this._innerSetExtent(e[0],e[1])},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.A);a.A.registerClass(h);let c=h},51973:(t,e,n)=>{n.d(e,{A:()=>c});var i=n(32471),r=n(37848),o=n(58221),a=n(29105),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(n?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,p=e.percent;0!==p&&(t.moveTo(n,i),null==h||null==c?(p<1&&((0,a.kx)(n,l,r,p,s),l=s[1],r=s[2],(0,a.kx)(i,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,r,o)):(p<1&&((0,a.YT)(n,l,h,r,p,s),l=s[1],h=s[2],r=s[3],(0,a.YT)(i,u,c,o,p,s),u=s[1],c=s[2],o=s[3]),t.bezierCurveTo(l,u,h,c,r,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.normalize(e,e)},e}(r.Ay);h.prototype.type="bezier-curve";let c=h},52121:(t,e,n)=>{n.d(e,{A:()=>u});var i=n(32471),r=n(37848),o=n(25861),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,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,a,l,u,h,c,p,d,f,g,y,v,m,_=(0,o.Op)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(h=(n=e).x,c=n.y,p=n.width,d=n.height,f=n.r,p<0&&(h+=p,p=-p),d<0&&(c+=d,d=-d),"number"==typeof f?i=r=a=l=f:f instanceof Array?1===f.length?
1i=r=a=l=f[0]:2===f.length?(i=a=f[0],r=l=f[1]):3===f.length?(i=f[0],r=l=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],l=f[3]):i=r=a=l=0,i+r>p&&(u=i+r,i*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>d&&(u=r+a,r*=d/u,a*=d/u),i+l>d&&(u=i+l,i*=d/u,l*=d/u),t.moveTo(h+i,c),t.lineTo(h+p-r,c),0!==r&&t.arc(h+p-r,c+r,r,-Math.PI/2,0),t.lineTo(h+p,c+d-a),0!==a&&t.arc(h+p-a,c+d-a,a,0,Math.PI/2),t.lineTo(h+l,c+d),0!==l&&t.arc(h+l,c+d-l,l,Math.PI/2,Math.PI),t.lineTo(h,c+i),0!==i&&t.arc(h+i,c+i,i,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.Ay);l.prototype.type="rect";let u=l},52236:(t,e,n)=>{n.d(e,{Ay:()=>C});var i=n(32471),r=n(26984),o=n(64505),a=n(45874),s=n(65184),l=n(9496),u=n(52121),h=n(10504),c=n(6907),p=n(60609),d={fill:"#000"},f={},g={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},c.sW.style)},y=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=d,n.attr(e),n}return(0,i.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,b(t=this.style),(0,a.each)(t.rich,b),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new h.A(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||d},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,a.extend)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,a.extend)(t[r],e[r])}},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,n=t.padding,i=this._defaultStyle,a=t.x||0,l=t.y||0,u=t.align||i.align||"left",h=t.verticalAlign||i.verticalAlign||"top";(0,r.Ss)(f,i.overflowRect,a,l,u,h),a=f.baseX,l=f.baseY;var c=A(t),d=(0,r.j_)(c,t,f.outerWidth,f.outerHeight),g=T(t),y=!!t.backgroundColor,v=d.outerHeight,m=d.outerWidth,_=d.lines,b=d.lineHeight;this.isTruncated=!!d.isTruncated;var C=a,k=(0,s.sZ)(l,d.contentHeight,h);if(g||n){var I=(0,s.ll)(a,m,u),D=(0,s.sZ)(l,v,h);
1g&&this._renderBackground(t,t,I,D,m,v)}k+=b/2,n&&(C=M(a,u,n),"top"===h?k+=n[0]:"bottom"===h&&(k-=n[2]));for(var O=0,L=!1,P=!1,R=S("fill"in t?t.fill:(P=!0,i.fill)),N=w("stroke"in t?t.stroke:y||i.autoStroke&&!P?null:(O=2,L=!0,i.stroke)),B=t.textShadowBlur>0,z=0;z<_.length;z++){var E=this._getOrCreateChild(o.A),F=E.createStyle();E.useStyle(F),F.text=_[z],F.x=C,F.y=k,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=N,F.fill=R,N&&(F.lineWidth=t.lineWidth||O,F.lineDash=t.lineDash,F.lineDashOffset=t.lineDashOffset||0),F.font=e,x(F,t),k+=b,E.setBoundingRect((0,r.xu)(F,d.contentWidth,d.calculatedLineHeight,L?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,e=this._defaultStyle,n=t.align||e.align,i=t.verticalAlign||e.verticalAlign,o=t.x||0,a=t.y||0;(0,r.Ss)(f,e.overflowRect,o,a,n,i),o=f.baseX,a=f.baseY;var l=A(t),u=(0,r.FQ)(l,t,f.outerWidth,f.outerHeight,n),h=u.width,c=u.outerWidth,p=u.outerHeight,d=t.padding;this.isTruncated=!!u.isTruncated;var g=(0,s.ll)(o,c,n),y=(0,s.sZ)(a,p,i),v=g,m=y;d&&(v+=d[3],m+=d[0]);var _=v+h;T(t)&&this._renderBackground(t,t,g,y,c,p);for(var x=!!t.backgroundColor,b=0;b<u.lines.length;b++){for(var w=u.lines[b],S=w.tokens,M=S.length,C=w.lineHeight,k=w.width,I=0,D=v,O=_,L=M-1,P=void 0;I<M&&(!(P=S[I]).align||"left"===P.align);)this._placeToken(P,t,C,m,D,"left",x),k-=P.width,D+=P.width,I++;for(;L>=0&&"right"===(P=S[L]).align;)this._placeToken(P,t,C,m,O,"right",x),k-=P.width,O-=P.width,L--;for(D+=(h-(D-v)-(_-O)-k)/2;I<=L;)P=S[I],this._placeToken(P,t,C,m,D+P.width/2,"center",x),D+=P.width,I++;m+=C}},e.prototype._placeToken=function(t,e,n,i,s,l,u){var h=e.rich[t.styleName]||{};h.text=t.text;var c=t.verticalAlign,d=i+n/2;"top"===c?d=i+t.height/2:"bottom"===c&&(d=i+n-t.height/2),!t.isLineHolder&&T(h)&&this._renderBackground(h,e,"right"===l?s-t.width:"center"===l?s-t.width/2:s,d-t.height/2,t.width,t.height);var f=!!h.backgroundColor,g=t.textPadding;g&&(s=M(s,l,g),d-=t.height/2-g[0]-t.innerHeight/2);var y=this._getOrCreateChild(o.A),v=y.createStyle();y.useStyle(v);var m=this._defaultStyle,_=!1,b=0,A=!1,C=S("fill"in h?h.fill:"fill"in e?e.fill:(_=!0,m.fill)),k=w("stroke"in h?h.stroke:"stroke"in e?e.stroke:f||u||m.autoStroke&&!_?null:(b=2,A=!0,m.stroke)),I=h.textShadowBlur>0||e.textShadowBlur>0;v.text=t.text,v.x=s,v.y=d,I&&(v.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,v.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",v.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,v.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),v.textAlign=l,v.textBaseline="middle",v.font=t.font||p.OH,v.opacity=(0,a.retrieve3)(h.opacity,e.opacity,1),x(v,h),k&&(v.lineWidth=(0,a.retrieve3)(h.lineWidth,e.lineWidth,b),v.lineDash=(0,a.retrieve2)(h.lineDash,e.lineDash),v.lineDashOffset=e.lineDashOffset||0,v.stroke=k),C&&
1(v.fill=C),y.setBoundingRect((0,r.xu)(v,t.contentWidth,t.contentHeight,A?0:null))},e.prototype._renderBackground=function(t,e,n,i,r,o){var s,h,c=t.backgroundColor,p=t.borderWidth,d=t.borderColor,f=c&&c.image,g=c&&!f,y=t.borderRadius,v=this;if(g||t.lineHeight||p&&d){(s=this._getOrCreateChild(u.A)).useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=n,m.y=i,m.width=r,m.height=o,m.r=y,s.dirtyShape()}if(g){var _=s.style;_.fill=c||null,_.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(f){(h=this._getOrCreateChild(l.Ay)).onload=function(){v.dirtyStyle()};var x=h.style;x.image=c.image,x.x=n,x.y=i,x.width=r,x.height=o}if(p&&d){var _=s.style;_.lineWidth=p,_.stroke=d,_.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var b=(s||h).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.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,n,i="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(i=[t.fontStyle,t.fontWeight,"string"==typeof(n=t.fontSize)&&(-1!==n.indexOf("px")||-1!==n.indexOf("rem")||-1!==n.indexOf("em"))?n:isNaN(+n)?p.gI+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),i&&(0,a.trim)(i)||t.textFont||t.font},e}(c.Ay),v={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function x(t,e){for(var n=0;n<_.length;n++){var i=_[n],r=e[i];null!=r&&(t[i]=r)}}function b(t){if(t){t.font=y.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||v[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||m[n]?n:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function w(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function S(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function M(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function A(t){var e=t.text;return null!=e&&(e+=""),e}function T(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let C=y},52843:(t,e,n)=>{n.d(e,{g:()=>i});function i(t,e){return t.type===e}},53623:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(61998),r=n(1054),o=n(36363),a=function(){function t(){this.group=new i.A,this.uid=r.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a);let s=a},54169:(t,e,n)=>{n.d(e,{Ay:()=>h,I4:()=>l,m7:()=>u});var i=n(45874),r={},o={},a=function(){function t(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return t.prototype.create=function(t,e){function n(n,r){var o=[];return i.each(n,function(n,i){var r=n.create(t,e);o=o.concat(r||[])}),o}this._nonSeriesBoxMasterList=n(r,!0),this._normalMasterList=n(o,!1)},t.prototype.update=function(t,e){i.each(this._normalMasterList,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},t.register=function(t,e){if("matrix"===t||"calendar"===t){r[t]=e;return}o[t]=e},t.get=function(t){return o[t]||r[t]},t}(),s=i.createHashMap();function l(t){var e=t.getShallow("coord",!0),n=1;if(null==e){var i=s.get(t.type);i&&i.getCoord2&&(n=2,e=i.getCoord2(t))}return{coord:e,from:n}}function u(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,o=t.isDefaultDataCoordSys;t.allowNotFound;var a=function(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=0;if(e){var o="series"===t.mainType;(null==n&&(n=o?"data":"box"),"data"===n)?(i=1,o||(i=0)):"box"!==n||(i=2,o||r[e])||(i=0)}return{coordSysType:e,kind:i}}(e),s=a.kind,l=a.coordSysType;if(o&&1!==s&&(s=1,l=n),0===s||l!==n)return!1;var u=i(n,e);return!!u&&(1===s?e.coordinateSystem=u:e.boxCoordinateSystem=u,!0)}let h=a},54581:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(32471),r=n(37848),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,i.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}(r.Ay);a.prototype.type="circle";let s=a},55210:(t,e,n)=>{n.d(e,{$9:()=>S,$H:()=>p,CZ:()=>c,F7:()=>m,FP:()=>H,GP:()=>M,KF:()=>F,Lm:()=>y,MA:()=>h,OY:()=>l,WD:()=>T,Wf:()=>P,X_:()=>A,Yd:()=>E,Zz:()=>R,_O:()=>_,_l:()=>C,bP:()=>D,ce:()=>w,eV:()=>x,hY:()=>k,iC:()=>O,iW:()=>u,jJ:()=>I,tM:()=>N,ti:()=>z,vy:()=>v,ww:()=>V,xu:()=>B,yB:()=>L,ym:()=>b});var i=n(45874),r=n(10558),o=n(46362),a=n(39020),s=n(99856),l=1e3,u=6e4,h=36e5,c=864e5,p=31536e6,d={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})/},f={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},g="{yyyy}-{MM}-{dd}",y={year:"{yyyy}",month:"{yyyy}-{MM}",day:g,hour:g+" "+f.hour,minute:g+" "+f.minute,second:g+" "+f.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},v=["year","month","day","hour","minute","second","millisecond"],m=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function _(t){var e,n,r;
1return i.isString(t)||i.isFunction(t)?t:(e=(e=t)||{},n={},r=!0,i.each(v,function(t){r&&(r=null==e[t])}),i.each(v,function(t,o){var a=e[t];n[t]={};for(var s=null,l=o;l>=0;l--){var u=v[l],h=i.isObject(a)&&!i.isArray(a)?a[u]:a,c=void 0;i.isArray(h)?s=(c=h.slice())[0]||"":i.isString(h)?c=[s=h]:(null==s?s=f[t]:d[u].test(s)||(s=n[u][u][0]+" "+s),c=[s],r&&(c[1]="{primary|"+s+"}")),n[t][u]=c}}),n)}function x(t,e){return t+="","0000".substr(0,e-t.length)+t}function b(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 w(t){return t===b(t)}function S(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function M(t,e,n,i){var s=r._U(t),l=s[k(n)](),u=s[I(n)]()+1,h=Math.floor((u-1)/3)+1,c=s[D(n)](),p=s["get"+(n?"UTC":"")+"Day"](),d=s[O(n)](),f=(d-1)%12+1,g=s[L(n)](),y=s[P(n)](),v=s[R(n)](),m=d>=12?"pm":"am",_=m.toUpperCase(),b=(i instanceof a.A?i:(0,o.A4)(i||o.Lv)||(0,o.pr)()).getModel("time"),w=b.get("month"),S=b.get("monthAbbr"),M=b.get("dayOfWeek"),A=b.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,m+"").replace(/{A}/g,_+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,x(l%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,w[u-1]).replace(/{MMM}/g,S[u-1]).replace(/{MM}/g,x(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,x(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,M[p]).replace(/{ee}/g,A[p]).replace(/{e}/g,p+"").replace(/{HH}/g,x(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,x(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,x(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,x(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,x(v,3)).replace(/{S}/g,v+"")}function A(t,e,n,r,o){var a=null;if(i.isString(n))a=n;else if(i.isFunction(n)){var l={time:t.time,level:t.time.level},u=(0,s.m)();u&&u.makeAxisLabelFormatterParamBreak(l,t.break),a=n(t.value,e,l)}else{var h=t.time;
1if(h){var c=n[h.lowerTimeUnit][h.upperTimeUnit];a=c[Math.min(h.level,c.length-1)]||""}else{var p=T(t.value,o);a=n[p][p][0]}}return M(new Date(t.value),a,o,r)}function T(t,e){var n=r._U(t),i=n[I(e)]()+1,o=n[D(e)](),a=n[O(e)](),s=n[L(e)](),l=n[P(e)](),u=0===n[R(e)](),h=u&&0===l,c=h&&0===s,p=c&&0===a,d=p&&1===o;if(d&&1===i)return"year";if(d)return"month";if(p)return"day";if(c)return"hour";if(h)return"minute";else if(u)return"second";else return"millisecond"}function C(t,e,n){switch(e){case"year":t[B(n)](0);case"month":t[z(n)](1);case"day":t[E(n)](0);case"hour":t[F(n)](0);case"minute":t[V(n)](0);case"second":t[H(n)](0)}return t}function k(t){return t?"getUTCFullYear":"getFullYear"}function I(t){return t?"getUTCMonth":"getMonth"}function D(t){return t?"getUTCDate":"getDate"}function O(t){return t?"getUTCHours":"getHours"}function L(t){return t?"getUTCMinutes":"getMinutes"}function P(t){return t?"getUTCSeconds":"getSeconds"}function R(t){return t?"getUTCMilliseconds":"getMilliseconds"}function N(t){return t?"setUTCFullYear":"setFullYear"}function B(t){return t?"setUTCMonth":"setMonth"}function z(t){return t?"setUTCDate":"setDate"}function E(t){return t?"setUTCHours":"setHours"}function F(t){return t?"setUTCMinutes":"setMinutes"}function V(t){return t?"setUTCSeconds":"setSeconds"}function H(t){return t?"setUTCMilliseconds":"setMilliseconds"}},55889:(t,e,n)=>{n.d(e,{G9:()=>h,Gt:()=>c,OC:()=>u,PU:()=>p,ps:()=>l,sc:()=>a});var i=n(76172),r=n(45874),o=n(28748),a={Must:1,Might:2,Not:3},s=(0,i.$r)();function l(t){s(t).datasetMap=(0,r.createHashMap)()}function u(t,e,n){var i,o,a={},l=h(e);if(!l||!t)return a;var u=[],c=[],p=s(e.ecModel).datasetMap,d=l.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.each)(t,function(e,n){var s=(0,r.isObject)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=y(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.each)(t,function(t,e){var n=t.name,r=y(t);if(null==i){var o=f.valueWayDim;g(a[n],o,r),g(c,o,r),f.valueWayDim+=r}else if(i===e)g(a[n],0,r),g(u,0,r);else{var o=f.categoryWayDim;g(a[n],o,r),g(c,o,r),f.categoryWayDim+=r}}),u.length&&(a.itemName=u),c.length&&(a.seriesName=c),a}function h(t){if(!t.get("data",!0))return(0,i.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.US).models[0]}function c(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.US).models:[]}function p(t,e){return function(t,e,n,s,l,u){var h,c,p;if((0,r.isTypedArray)(t))return a.Not;if(s){var d=s[u];(0,r.isObject)(d)?(c=d.name,p=d.type):(0,r.isString)(d)&&(c=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.Km)if(n===o.oC){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(h=_(f[l+g])))return h}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(h=_(y[u])))return h}else if(e===o.Wk){if(!c)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(h=_(v[c])))return h}}else if(e===o.t1){if(!c)return a.Not;var f=t[c];if(!f||(0,r.isTypedArray)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(h=_(f[g])))return h}else if(e===o.mK)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,i.vj)(v);if(!(0,r.isArray)(m))return a.Not;if(null!=(h=_(m[u])))return h}function _(t){var e=(0,r.isString)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},56847:(t,e,n)=>{n.d(e,{AS:()=>c,EA:()=>m,Gm:()=>p,If:()=>v,LC:()=>s,PG:()=>d,Zv:()=>g,jj:()=>u,vS:()=>y});var i=n(84295),r=n(81632),o=n(23694),a=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"];function s(t,e,n){n=n||3,e?t.dirty|=n:t.dirty&=~n}function l(t,e){return e=e||3,null==t.dirty||!!(t.dirty&e)}function u(t){if(t)return l(t)&&function(t,e,n){var r=e.getComputedTransform();t.transform=(0,i.ensureCopyTransform)(t.transform,r);var a=t.localRect=(0,i.ensureCopyRect)(t.localRect,e.getBoundingRect
1()),l=e.style,u=l.margin,c=n&&n.marginForce,p=n&&n.minMarginForce,d=n&&n.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,i.expandOrShrinkRect)(a,h,!1,!1);var y=t.rect=(0,i.ensureCopyRect)(t.rect,a);r&&y.applyTransform(r),f===o.Br.minMargin&&(0,i.expandOrShrinkRect)(y,h,!1,!1),t.axisAligned=(0,i.isBoundingRectAxisAligned)(r),(t.label=t.label||{}).ignore=e.ignore,s(t,!1),s(t,!0,2)}(t,t.label,t),t}var h=[0,0,0,0];function c(t,e,n){return t.transform=(0,i.ensureCopyTransform)(t.transform,n),t.localRect=(0,i.ensureCopyRect)(t.localRect,e),t.rect=(0,i.ensureCopyRect)(t.rect,e),n&&t.rect.applyTransform(n),t.axisAligned=(0,i.isBoundingRectAxisAligned)(n),t.obb=void 0,(t.label=t.label||{}).ignore=!1,t}function p(t,e){if(t){t.label.x+=e.x,t.label.y+=e.y,t.label.markRedraw();var n=t.transform;n&&(n[4]+=e.x,n[5]+=e.y);var i=t.rect;i&&(i.x+=e.x,i.y+=e.y);var r=t.obb;r&&r.fromBoundingRect(t.localRect,n)}}function d(t,e){for(var n=0;n<a.length;n++){var i=a[n];null==t[i]&&(t[i]=e[i])}return u(t)}function f(t){var e=t.obb;return(!e||l(t,2))&&(t.obb=e=e||new r.A,e.fromBoundingRect(t.localRect,t.transform),s(t,!1,2)),e}function g(t,e,n,r,o){var a,s,l,u=t.length,h=i.XY[e],c=i.WH[e];if(u<2)return!1;t.sort(function(t,e){return t.rect[h]-e.rect[h]});for(var p=0,d=!1,f=0,g=0;g<u;g++){var y=t[g],v=y.rect;(a=v[h]-p)<0&&(v[h]-=a,y.label[h]-=a,d=!0),f+=Math.max(-a,0),p=v[h]+v[c]}f>0&&o&&w(-f/u,0,u);var m=t[0],_=t[u-1];function x(){s=m.rect[h]-n,l=r-_.rect[h]-_.rect[c]}function b(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,u);var r=i+t;r<0&&S(-r*n,1)}else S(-t*n,1)}}function w(e,n,i){0!==e&&(d=!0);for(var r=n;r<i;r++){var o=t[r],a=o.rect;a[h]+=e,o.label[h]+=e}}function S(e,n){for(var i=[],r=0,o=1;o<u;o++){var a=t[o-1].rect,s=Math.max(t[o].rect[h]-a[h]-a[c],0);i.push(s),r+=s}if(r){var l=Math.min(Math.abs(e)/r,n);if(e>0)for(var o=0;o<u-1;o++){var p=i[o]*l;w(p,0,o+1)}else for(var o=u-1;o>0;o--){var p=i[o-1]*l;w(-p,o,u)}}}function M(t){for(var e=t<0?-1:1,n=Math.ceil((t=Math.abs(t))/(u-1)),i=0;i<u-1;i++)if(e>0?w(n,0,i+1):w(-n,u-i-1,u),(t-=n)<=0)return}return x(),s<0&&S(-s,.8),l<0&&S(l,.8),x(),b(s,l,1),b(l,s,-1),x(),s<0&&M(-s),l<0&&M(l),d}function y(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.defaultAttr,r=n.labelLine;n.label.attr("ignore",i.ignore),r&&r.attr("ignore",i.labelGuideIgnore)}}function v(t){var e=[];function n(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 i=0;i<t.length;i++){var r=u(t[i]);if(!r.label.ignore){for(var o=r.label,a=r.labelLine,s=!1,l=0;l<e.length;l++)if(m(r,e[l],null,{touchThreshold:.05})){s=!0;break}s?(n(o),a&&n(a)):e.push(r)}}}function m(t,e,n,i){return!!t&&!!e&&(!t.label||!t.label.ignore)&&(!e.label||!e.label.ignore)&&!!t.rect.intersect(e.rect,n,i)&&(!!t.axisAligned&&!!e.axisAligned||f(t).intersect(f(e),n,i))}},57833:(t,e,n)=>{n.d(e,{F:()=>y,A:()=>w});var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-i.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*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},r=n(45874),o=n(29105),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var n=e[1].split(","),i=+(0,r.trim)(n[0]),s=+(0,r.trim)(n[1]),l=+(0,r.trim)(n[2]),u=+(0,r.trim)(n[3]);if(isNaN(i+s+l+u))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,o._E)(0,i,l,1,t,h)&&(0,o.Yb)(0,s,u,1,h[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||r.noop,this.ondestroy=t.ondestroy||r.noop,this.onrestart=t.onrestart||r.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r)if(!this.loop)return!0;else this._startTime=t-i%n,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.isFunction)(t)?t:i[t]||s(t)},t}
1(),u=n(40520),h=n(98573),c=n(99257).Buffer;h.A.hasGlobalWindow&&(0,r.isFunction)(window.btoa);var p=Array.prototype.slice;function d(t,e,n,i){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(n[a]-r)*i+r);return t}function f(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function g(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function y(t){if((0,r.isArrayLike)(t)){var e=t.length;if((0,r.isArrayLike)(t[0])){for(var n=[],i=0;i<e;i++)n.push(p.call(t[i]));return n}return p.call(t)}return t}function v(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function m(t){return 4===t||5===t}function _(t){return 1===t||2===t}var x=[0,0,0,0],b=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,h=6,c=e;if((0,r.isArrayLike)(e)){var p=(0,r.isArrayLike)(e&&e[0])?2:1;h=p,(1!==p||(0,r.isNumber)(e[0]))&&(2!==p||(0,r.isNumber)(e[0][0]))||(l=!0)}else if((0,r.isNumber)(e)&&!(0,r.eqNaN)(e))h=0;else if((0,r.isString)(e))if(isNaN(+e)){var d=u.parse(e);d&&(c=d,h=3)}else h=0;else if((0,r.isGradientObject)(e)){var f=(0,r.extend)({},c);(f.colorStops=(0,r.map)(e.colorStops,function(t){return{offset:t.offset,color:u.parse(t.color)}}),"linear"===e.type)?h=4:"radial"===e.type&&(h=5),c=f}0===a?this.valType=h:(h!==this.valType||6===h)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:c,rawValue:e,percent:0};return n&&(g.easing=n,g.easingFunc=(0,r.isFunction)(n)?n:i[n]||s(n)),o.push(g),g},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=_(i),l=m(i),u=0;u<r;u++){var h=n[u],c=h.value,d=o.value;h.percent=h.time/t,!a&&(s&&u!==r-1?function(t,e,n){if(t.push&&e.push){var i=t.length,r=e.length;if(i!==r)if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:p.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(c,d,i):l&&function(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}(c.colorStops,d.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var y=n[0].value,u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-y:3===i?n[u].additiveValue=f([],n[u].value,y,-1):_(i)&&(n[u].additiveValue=1===i?f([],n[u].value,y,-1):g([],n[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,c=this.propName,p=3===l,f=this._lastFr,g=Math.min;if(1===h)i=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=g(f+1,h-1);n>=0&&!(u[n].percent<=e);n--);n=g(n,h-2)}else{for(n=f;n<h&&!(u[n].percent>e);n++);n=g(n-1,h-2)}o=u[n+1],i=u[n]}if(i&&o){this._lastFr=n,this._lastFrP=e;var y=o.percent-i.percent,b=0===y?1:g((e-i.percent)/y,1);o.easingFunc&&(b=o.easingFunc(b));var w=a?this._additiveValue:p?x:t[c];if((_(l)||p)&&!w&&(w=this._additiveValue=[]),this.discrete)t[c]=b<1?i.rawValue:o.rawValue;else if(_(l))1===l?d(w,i[s],o[s],b):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*i+s)}}(w,i[s],o[s],b);else if(m(l)){var S,M,A,T,C,k=i[s],I=o[s],D=4===l;(t[c]={type:D?"linear":"radial",x:(S=k.x,(I.x-S)*b+S),y:(M=k.y,(I.y-M)*b+M),colorStops:(0,r.map)(k.colorStops,function(t,e){var n,i=I.colorStops[e];return{offset:(n=t.offset,(i.offset-n)*b+n),color:v(d([],t.color,
1i.color,b))}}),global:I.global},D)?(t[c].x2=(A=k.x2,(I.x2-A)*b+A),t[c].y2=(T=k.y2,(I.y2-T)*b+T)):t[c].r=(C=k.r,(I.r-C)*b+C)}else if(p)d(w,i[s],o[s],b),a||(t[c]=v(w));else{var O,L=(O=i[s],(o[s]-O)*b+O);a?this._additiveValue=L:t[c]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(u.parse(t[n],x),f(x,x,i,1),t[n]=v(x)):1===e?f(t[n],t[n],i,1):2===e&&g(t[n],t[n],i,1)},t}();let w=function(){function t(t,e,n,i){(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i)?(0,r.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,r.keys)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new b(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=v(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,y(l),i),this._trackKeys.push(a)}s.addKeyframe(t,y(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,h=u.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=u[h-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var p=new l({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=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,r.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=y(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.keys)(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},58221:(t,e,n)=>{function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,n){return t[0]=e,t[1]=n,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function l(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function h(t){return Math.sqrt(p(t))}n.r(e),n.d(e,{add:()=>s,applyTransform:()=>A,clone:()=>o,copy:()=>r,create:()=>i,dist:()=>x,distSquare:()=>w,distance:()=>_,distanceSquare:()=>b,div:()=>g,dot:()=>y,len:()=>h,lenSquare:()=>p,length:()=>c,lengthSquare:()=>d,lerp:()=>M,max:()=>C,min:()=>T,mul:()=>f,negate:()=>S,normalize:()=>m,scale:()=>v,scaleAndAdd:()=>l,set:()=>a,sub:()=>u});var c=h;function p(t){return t[0]*t[0]+t[1]*t[1]}var d=p;function f(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function g(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function y(t,e){return t[0]*e[0]+t[1]*e[1]}function v(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function m(t,e){var n=h(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var x=_;function b(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=b;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function M(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function A(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function T(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function C(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},58805:(t,e,n)=>{n.d(e,{EO:()=>x,MI:()=>d,eP:()=>h,fm:()=>u,vI:()=>p});var i=n(45874),r=n(65184),o=n(76172),a=n(77841),s=(0,o.$r)(),l=(0,o.$r)(),u={estimate:1,determine:2};function h(t){return{out:{noPxChangeTryDetermine:[]},kind:t}}function c(t,e){var n=i.map(e,function(e){return t.scale.parse(e)});return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function p(t,e){var n,r,o,s,l,u,h,p=t.getLabelModel().get("customValues");if(p){var d=(0,a.ry)(t),g=t.scale.getExtent(),y=c(t,p),v=i.filter(y,function(t){return t>=g[0]&&t<=g[1]});return{labels:i.map(v,function(e){var n={value:e};return{formattedLabel:d(n),rawLabel:t.scale.getLabel(n),tickValue:e,time:void 0,break:void 0}})}}return"category"===t.type?(n=t,r=e,o=n.getLabelModel(),s=f(n,o,r),!o.get("show")||n.scale.isBlank()?{labels:[]}:s):(u=(l=t).scale.getTicks(),h=(0,a.ry)(l),{labels:i.map(u,function(t,e){return{formattedLabel:h(t,e),rawLabel:l.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function d(t,e,n){var r=t.getTickModel().get("customValues");if(r){var o=t.scale.getExtent(),s=c(t,r);return{ticks:i.filter(s,function(t){return t>=o[0]&&t<=o[1]})}}return"category"===t.type?function(t,e){var n,r,o=g(t),s=(0,a.j2)(e),l=m(o,s);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(n=[]),i.isFunction(s))n=M(t,s,!0);else if("auto"===s){var c=f(t,t.getLabelModel(),h(u.determine));r=c.labelCategoryInterval,n=i.map(c.labels,function(t){return t.tickValue})}else n=S(t,r=s,!0);return _(o,s,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:i.map(t.scale.getTicks(n),function(t){return t.value})}}function f(t,e,n){var r,o,s=y(t),h=(0,a.j2)(e),c=n.kind===u.estimate;if(!c){var p=m(s,h);if(p)return p}i.isFunction(h)?r=M(t,h):(o="auto"===h?function(t,e){if(e.kind===u.estimate){var n=t.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return l(t).autoInterval=n,!0}),n}var i=l(t).autoInterval;return null!=i?i:l(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):h,r=S(t,o));var d={labels:r,labelCategoryInterval:o};return c?n.out.noPxChangeTryDetermine.push(function(){return _(s,h,d),!0}):_(s,h,d),d}var g=v("axisTick"),y=v("axisLabel");function v(t){return function(e){return l(e)[t]||(l(e)[t]={list:[]})}}function m(t,e){for(var n=0;n<t.list.length;n++)if(t.list[n].key===e)return t.list[n].value}function _(t,e,n){return t.list.push({key:e,value:n}),n}function x(t,e){var n,o,s=e.kind,l=(o=(n=t).getLabelModel(),{axisRotate:n.getRotate?n.getRotate():n.isHorizontal&&!n.isHorizontal()?90:0,labelRotate:o.get("rotate")||0,font:o.getFont()}),h=(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>
140&&(g=Math.max(1,Math.floor(f/40)));for(var y=d[0],v=t.dataToCoord(y+1)-t.dataToCoord(y),m=Math.abs(v*Math.cos(c)),_=Math.abs(v*Math.sin(c)),x=0,S=0;y<=d[1];y+=g){var M=0,A=0,T=r.NO(h({value:y}),l.font,"center","top");M=1.3*T.width,A=1.3*T.height,x=Math.max(x,M,7),S=Math.max(S,A,7)}var C=x/m,k=S/_;isNaN(C)&&(C=1/0),isNaN(k)&&(k=1/0);var I=Math.max(0,Math.floor(Math.min(C,k)));if(s===u.estimate)return e.out.noPxChangeTryDetermine.push(i.bind(b,null,t,I,f)),I;var D=w(t,I,f);return null!=D?D:I}function b(t,e,n){return null==w(t,e,n)}function w(t,e,n){var i=s(t.model),r=t.getExtent(),o=i.lastAutoInterval,a=i.lastTickCount;if(null!=o&&null!=a&&1>=Math.abs(o-e)&&1>=Math.abs(a-n)&&o>e&&i.axisExtent0===r[0]&&i.axisExtent1===r[1])return o;i.lastTickCount=n,i.lastAutoInterval=e,i.axisExtent0=r[0],i.axisExtent1=r[1]}function S(t,e,n){var i=(0,a.ry)(t),r=t.scale,o=r.getExtent(),s=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),h=o[0],c=r.count();0!==h&&u>1&&c/u>2&&(h=Math.round(Math.ceil(h/u)*u));var p=(0,a.PJ)(t),d=s.get("showMinLabel")||p,f=s.get("showMaxLabel")||p;d&&h!==o[0]&&y(o[0]);for(var g=h;g<=o[1];g+=u)y(g);function y(t){var e={value:t};l.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t,time:void 0,break:void 0})}return f&&g-u!==o[1]&&y(o[1]),l}function M(t,e,n){var r=t.scale,o=(0,a.ry)(t),s=[];return i.each(r.getTicks(),function(t){var i=r.getLabel(t),a=t.value;e(t.value,i)&&s.push(n?a:{formattedLabel:o(t),rawLabel:i,tickValue:a,time:void 0,break:void 0})}),s}},58806:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var i,r=n(45480),o=(i=n(38795))&&i.__esModule?i:{default:i};e.createSensor=function(t,e){var n=void 0,i=[],a=(0,o.default)(function(){i.forEach(function(e){e(t)})}),s=function(){var e=new ResizeObserver(a);return e.observe(t),a(),e},l=function(){n&&n.disconnect(),i=[],n=void 0,t.removeAttribute(r.SizeSensorId),e&&e()};return{element:t,bind:function(t){n||(n=s()),-1===i.indexOf(t)&&i.push(t)},destroy:l,unbind:function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1),0===i.length&&n&&l()}}}},59565:(t,e,n)=>{n.d(e,{BV:()=>f,Du:()=>U,HY:()=>B,Iz:()=>q,JC:()=>F,JI:()=>V,Lm:()=>tt,Lv:()=>m,Lx:()=>ts,Mx:()=>ti,PW:()=>v,Pk:()=>O,Q6:()=>x,QX:()=>E,SD:()=>z,T$:()=>tl,Tl:()=>j,U2:()=>_,_m:()=>Z,_n:()=>ta,e3:()=>d,fz:()=>tu,gM:()=>b,gd:()=>H,h5:()=>y,iJ:()=>J,jA:()=>$,lV:()=>X,mc:()=>Q,qR:()=>G,t6:()=>K,u6:()=>to,wV:()=>g,zX:()=>p});var i=n(45874),r=n(67966),o=n(40520),a=n(76172),s=n(37848),l=1,u={},h=(0,a.$r)(),c=(0,a.$r)(),p=1,d=2,f=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y="highlight",v="downplay",m="select",_="unselect",x="toggleSelect",b="selectchanged";function w(t){return null!=t&&"none"!==t}function S(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function M(t){S(t,"emphasis",d)}function A(t){t.hoverState===d&&S(t,"normal",0)}function T(t){S(t,"blur",p)}function C(t){t.hoverState===p&&S(t,"normal",0)}function k(t){t.selected=!0}function I(t){t.selected=!1}function D(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function O(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function L(t,e){var n,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n){var r=e&&(0,i.indexOf)(e,"select")>=0,a=!1;if(t instanceof s.Ay){var l=h(t),u=r&&l.selectFill||l.normalFill,c=r&&l.selectStroke||l.normalStroke;if(w(u)||w(c)){var p=(n=n||{}).style||{};"inherit"===p.fill?(a=!0,n=(0,i.extend)({},n),(p=(0,i.extend)({},p)).fill=u):!w(p.fill)&&w(u)?(a=!0,n=(0,i.extend)({},n),(p=(0,i.extend)({},p)).fill=(0,o.liftColor)(u)):!w(p.stroke)&&w(c)&&(a||(n=(0,i.extend)({},n),p=(0,i.extend)({},p)),p.stroke=(0,o.liftColor)(c)),n.style=p}}if(n&&null==n.z2){a||(n=(0,i.extend)({},n));var d=t.z2EmphasisLift;n.z2=t.z2+(null!=d?d:10)}return n}(this,e,c);else if("blur"===t)return n=c,r=(0,i.indexOf)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,i.extend)({},n),u=(0,i.extend)({opacity:r?a:.1*l.opacity},u),n.style=u),n;else if("select"===t){var p=c;if(p&&null==p.z2){p=(0,i.extend)({},p);var d=this.z2SelectLift;p.z2=this.z2+(null!=d?d:9)}return p}}return c}function P(t){t.stateProxy=L;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=L),n&&(n.stateProxy=L)}function R(t,e){W(t,e)||t.__highByOuter||D(t,M)}function N(t,e){W(t,e)||t.__highByOuter||D(t,A)}function B(t,e){t.__highByOuter|=1<<(e||0),D(t,M)}function z(t,e){(t.__highByOuter&=~(1<<(e||0)))||D(t,A)}function E(t){D(t,T)}function F(t){D(t,C)}function V(t){D(t,k)}function H(t){D(t,I)}function W(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function G(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var o=c(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);a||r.push(s),o.isBlured&&(s.group.traverse(function(t){C(t)}),a&&n.push(i)),o.isBlured=!1}),(0,i.each)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function Y(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&F(i)}}if((n=n||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var p=h&&l?h===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!p||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||T(t)}),(0,i.isArrayLike)(e))a(t.getData(),e);else if((0,i.isObject)(e))for(var d=(0,i.keys)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),c(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function U(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){c(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){T(t)})}}}function X(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.le)(s,e);l=((0,i.isArray)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var h=s.count(),c=0;!u&&c<h;)u=s.getItemGraphicEl(c++);if(u){var p=(0,r.z)(u);Y(o,p.focus,p.blurScope,n)}
1else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&Y(o,d,f,n)}}}function j(t,e,n,i){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=i.getModel().getComponent(t,e);if(!s)return a;var l=i.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),h=0;h<u.length;h++)if("self"===(0,r.z)(u[h]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function Z(t,e,n){var o=(0,r.z)(t),a=j(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&U(o.componentMainType,o.componentIndex,n),(0,i.each)(s,function(t){return R(t,e)})):(Y(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&U(o.componentMainType,o.componentIndex,n),R(t,e))}function q(t,e,n){G(n);var o=(0,r.z)(t),a=j(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.each)(a,function(t){return N(t,e)}):N(t,e)}function K(t,e,n){if(ts(e)){var r=e.dataType,o=t.getData(r),s=(0,a.le)(o,e);(0,i.isArray)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===m?"select":"unselect"](s,r)}}function $(t){var e=t.getAllData();(0,i.each)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?V(e):H(e)})})}function Q(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,i.each)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}function J(t,e,n){var i,o,a,s;tr(t,!0),D(t,P),i=t,o=e,a=n,s=(0,r.z)(i),null!=o?(s.focus=o,s.blurScope=a):s.focus&&(s.focus=null)}function tt(t,e,n,i){i?tr(t,!1):J(t,e,n)}var te=["emphasis","blur","select"],tn={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ti(t,e,n,i){n=n||"itemStyle";for(var r=0;r<te.length;r++){var o=te[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[tn[n]]()}}function tr(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function to(t){return!!(t&&t.__highDownDispatcher)}function ta(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ts(t){var e=t.type;return e===m||e===_||e===x}function tl(t){var e=t.type;return e===y||e===v}function tu(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},60522:(t,e,n)=>{n.d(e,{Tc:()=>l,eS:()=>p,fg:()=>u,io:()=>h,j_:()=>c});var i=n(45874),r=n(76172),o=n(74410),a=(0,r.$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,i.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),n=!p(t),i="",r=[],a=0,l=0;a<t;a++){var u=void 0,h=void 0,c=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,h=d.type,c=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,h=f.type)}r.push({property:u,type:h,ordinalMeta:c}),!e||null==u||d&&d.isCalculationCoord||(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=s[h]||"f",c&&(i+=c.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function h(t){for(var e=(0,i.createHashMap)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.isObject)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function p(t){return t>30}},60554:(t,e,n)=>{n.d(e,{Fo:()=>o,Yc:()=>l,h_:()=>s,mg:()=>u,og:()=>c});var i=n(39020),r=n(45874);function o(t,e){var n,o,s,l,u,p,d,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};
1return n=g,o=t,s=e,l=o.getComponent("tooltip"),p=(u=o.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,r.each)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=c(t.model),s=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var f=t.model.getModel("tooltip",l);if((0,r.each)(t.getAxes(),(0,r.curry)(m,!1,null)),t.getTooltipAxes&&l&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get(["axisPointer","type"]),v=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||y)&&(0,r.each)(v.baseAxes,(0,r.curry)(m,!y||"cross",g)),y&&(0,r.each)(v.otherAxes,(0,r.curry)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||h(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.clone)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get(["label","show"]);if(h.show=null==c||c,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.defaults)(h,p.textStyle)}}return t.model.getModel("axisPointer",new i.A(u,n,o))}(g,f,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),x=c(g.model),b=l||m||"category"===g.type,w=n.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:b,snap:m,useHandle:h(y),seriesModels:[],linkGroup:null};s[x]=w,n.seriesInvolved=n.seriesInvolved||b;var S=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(a(o[i+"AxisId"],n.id)||a(o[i+"AxisIndex"],n.componentIndex)||a(o[i+"AxisName"],n.name))return r}}(p,g);if(null!=S){var M=d[S]||(d[S]={axesInfo:{}});M.axesInfo[x]=w,M.mapper=p[S].mapper,w.linkGroup=M}}}}),g.seriesInvolved&&(f=g,t.eachSeries(function(t){var e=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);e&&e.model&&"none"!==n&&!1!==n&&"item"!==n&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&(0,r.each)(f.coordSysAxesInfo[c(e.model)],function(n){var i=n.axis;e.getAxis(i.dim)===i&&(n.seriesModels.push(t),null==n.seriesDataCount&&(n.seriesDataCount=0),n.seriesDataCount+=t.getData().count())})})),g}function a(t,e){return"all"===t||(0,r.isArray)(t)&&(0,r.indexOf)(t,e)>=0||t===e}function s(t){var e=l(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=h(n);null==o&&(r.status=s?"show":"hide");var u=i.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function h(t){return!!t.get(["handle","show"])}function c(t){return t.type+"||"+t.id}},60609:(t,e,n)=>{n.d(e,{Gs:()=>u,OH:()=>a,gI:()=>o,yh:()=>l});var i,r,o=12,a="12px sans-serif",s=function(t){var e={};if("u"<typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"u">typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var n=l.createCanvas();i=n&&n.getContext("2d")}if(i)return r!==e&&(r=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var u=/((?:\d+)?\.?\d*)px/.exec(e),h=u&&+u[1]||o,c=0;if(e.indexOf("mono")>=0)c=h*t.length;else for(var p=0;p<t.length;p++){var d=s[t[p]];c+=null==d?h:d*h}return{width:c}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}};function u(t){for(var e in l)t[e]&&(l[e]=t[e])}},60629:(t,e,n)=>{n.d(e,{A:()=>o});var i=n(32471),r=n(37848);let o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.C6)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].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),r.Ay.prototype.getBoundingRect.call(this)},e}(r.Ay)},61293:(t,e,n)=>{n.d(e,{Ir:()=>_,Lj:()=>f,Tj:()=>u,YA:()=>v,ad:()=>y,dV:()=>d,io:()=>p,m$:()=>g,vs:()=>m});var i=n(45874),r=n(10504),o=n(10558),a=n(89572),s=n(54169),l=i.each,u=["left","right","top","bottom","width","height"],h=[["width","left","right"],["height","top","bottom"]];function c(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;
1e.eachChild(function(l,u){var h,c,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);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)})}function p(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)}}function d(t,e,n){n=a.QX(n||0);var i=e.width,s=e.height,l=(0,o.lo)(t.left,i),u=(0,o.lo)(t.top,s),h=(0,o.lo)(t.right,i),c=(0,o.lo)(t.bottom,s),p=(0,o.lo)(t.width,i),d=(0,o.lo)(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=i-h-g-l),isNaN(d)&&(d=s-c-f-u),null!=y&&(isNaN(p)&&isNaN(d)&&(y>i/s?p=.8*i:d=.8*s),isNaN(p)&&(p=y*d),isNaN(d)&&(d=p/y)),isNaN(l)&&(l=i-h-p-g),isNaN(u)&&(u=s-c-d-f),t.left||t.right){case"center":l=i/2-p/2-n[3];break;case"right":l=i-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=i-g-l-(h||0)),isNaN(d)&&(d=s-f-u-(c||0));var v=new r.A((e.x||0)+l+n[3],(e.y||0)+u+n[0],p,d);return v.margin=n,v}i.curry(c,"vertical"),i.curry(c,"horizontal");function f(t,e,n){var i,r,o,a,l=t.boxCoordinateSystem;if(l){var u=(0,s.I4)(t),h=u.coord,c=u.from;if(l.dataToLayout){o=1,a=c;var p=l.dataToLayout(h);i=p.contentRect||p.rect}else n&&n.enableLayoutOnlyByCenter&&l.dataToPoint&&(o=2,a=c,r=l.dataToPoint(h))}return null==o&&(o=1),1===o&&(i||(i={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),r=[i.x+i.width/2,i.y+i.height/2]),{type:o,refContainer:i,refPoint:r,boxCoordFrom:a}}function g(t,e,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],h=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!h)return!1;if("raw"===c)l="group"===t.type?new r.A(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var p=t.getLocalTransform();(l=l.clone()).applyTransform(p)}var f=d(i.defaults({width:l.width,height:l.height},e),n,o),g=u?f.x-l.x:0,y=h?f.y-l.y:0;return"raw"===c?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function y(t){var e=t.layoutMode||t.constructor.layoutMode;return i.isObject(e)?e:e?{type:e}:null}function v(t,e,n){var r=n&&n.ignoreSize;i.isArray(r)||(r=[r,r]);var o=s(h[0],0),a=s(h[1],1);function s(n,o){var a={},s=0,h={},c=0;if(l(n,function(e){h[e]=t[e]}),l(n,function(t){i.hasOwn(e,t)&&(a[t]=h[t]=e[t]),u(a,t)&&s++,u(h,t)&&c++}),r[o])return u(e,n[1])?h[n[2]]=null:u(e,n[2])&&(h[n[1]]=null),h;if(2===c||!s)return h;if(s>=2)return a;for(var p=0;p<n.length;p++){var d=n[p];if(!i.hasOwn(a,d)&&i.hasOwn(t,d)){a[d]=t[d];break}}return a}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function c(t,e,n){l(t,function(t){e[t]=n[t]})}c(h[0],t,o),c(h[1],t,a)}function m(t){return _({},t)}function _(t,e){return e&&t&&l(u,function(n){i.hasOwn(e,n)&&(t[n]=e[n])}),t}},61640:(t,e,n)=>{n.d(e,{DA:()=>f,MU:()=>g,Tc:()=>d,_F:()=>p,bY:()=>c,cU:()=>y});var i=n(45874),r=n(84295),o=n(65184),a=n(89572),s=n(34707),l=n(77841),u=n(14490),h=n(23694);function c(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function p(t,e,n,r,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:[]};i.each(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)}),i.isString(s)?a=s.replace("{value}",a):i.isFunction(s)&&(a=s(u))}return a}function d(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function f(t,e,n,i,r,s){var l,c,f,g,y,v,m,_,x,b,w,S,M,A,T,C,k,I,D=u.Ay.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),m={position:d(i.axis,t,n),align:D.textAlign,verticalAlign:D.textVerticalAlign},_=p(r.get("value"),i.axis,i.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),x=r.getModel("label"),b=a.QX(x.get("padding")||0),w=x.getFont(),S=o.NO(_,w),M=m.position,A=S.width+b[1]+b[3],T=S.height+b[0]+b[2],"right"===(C=m.align)&&(M[0]-=A),"center"===C&&(M[0]-=A/2),"bottom"===(k=m.verticalAlign)&&(M[
11]-=T),"middle"===k&&(M[1]-=T/2),l=M,c=A,f=T,y=(g=s).getWidth(),v=g.getHeight(),l[0]=Math.min(l[0]+c,y)-c,l[1]=Math.min(l[1]+f,v)-f,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(I=x.get("backgroundColor"))&&"auto"!==I||(I=i.get(["axisLine","lineStyle","color"])),e.label={x:M[0],y:M[1],style:(0,h.VB)(x,{text:_,font:w,fill:x.getTextColor(),padding:b,backgroundColor:I}),z2:10}}function g(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function y(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},61998:(t,e,n)=>{n.d(e,{A:()=>l});var i=n(32471),r=n(45874),o=n(71478),a=n(10504),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.indexOf(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=r.indexOf(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.A(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.A.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.A);s.prototype.type="group";let l=s},62211:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(45874);function r(t,e){if(!t)return!1;for(var n=(0,i.isArray)(t)?t:[t],r=0;r<n.length;r++)if(n[r]&&n[r][e])return!0;return!1}},62451:(t,e,n)=>{n.d(e,{Y:()=>function t(e){(0,l.isArray)(e)?(0,l.each)(e,function(e){t(e)}):(0,l.indexOf)(p,e)>=0||(p.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(d))}});var i=n(64447),r=n(53623),o=n(44956),a=n(15971),s=n(94316),l=n(45874),u=n(31396),h=n(22182),c=n(34978),p=[],d={registerPreprocessor:i.lP,registerProcessor:i.qg,registerPostInit:i.cf,registerPostUpdate:i.tb,registerUpdateLifecycle:i.xV,registerAction:i.OH,registerCoordinateSystem:i.pX,registerLayout:i.Oh,registerVisual:i.AF,registerTransform:i.iY,registerLoading:i.Ej,registerMap:i.mz,registerImpl:u.m,PRIORITY:i.FQ,ComponentModel:a.A,ComponentView:r.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){r.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerCustomSeries:function(t,e){(0,c.m)(t,e)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.registerPainter)(t,e)}}},62720:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(32471),r=n(60554),o=n(53623),a={};let s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},63052:(t,e,n)=>{n.d(e,{a:()=>v});var i=n(62211),r=n(32471),o=n(95264),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(o.A),s=n(48370),l=n(10558),u=n(40093),h=n(6379),c=n(67890),p=n(45874),d=n(67966),f=n(3327);function g(t,e,n){var i=e.coordinateSystem,r=n.getWidth(),o=n.getHeight(),a=i&&i.getArea&&i.getArea();t.each(function(n){var s,u=t.getItemModel(n),h="coordinate"===u.get("relativeTo"),c=h?a?a.width:0:r,p=h?a?a.height:0:o,d=h&&a?a.x:0,f=h&&a?a.y:0,g=l.lo(u.get("x"),
1c)+d,y=l.lo(u.get("y"),p)+f;if(isNaN(g)||isNaN(y)){if(e.getMarkerPosition)s=e.getMarkerPosition(t.getValues(t.dimensions,n));else if(i){var v=t.get(i.dimensions[0],n),m=t.get(i.dimensions[1],n);s=i.dataToPoint([v,m])}}else s=[g,y];isNaN(g)||(s[0]=g),isNaN(y)||(s[1]=y),t.setItemLayout(n,s)})}var y=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markPoint");e&&(g(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,n,i){var r,o,a,l,c,y,v,m=t.coordinateSystem,_=t.id,x=t.getData(),b=this.markerGroupMap,w=b.get(_)||b.set(_,new s.A),S=(r=m,o=t,a=e,l=r?(0,p.map)(r&&r.dimensions,function(t){var e=o.getData().getDimensionInfo(o.getData().mapDimension(t))||{};return(0,p.extend)((0,p.extend)({},e),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}],c=new u.A(l,a),y=(0,p.map)(a.get("data"),(0,p.curry)(h.xx,o)),r&&(y=(0,p.filter)(y,(0,p.curry)(h.Lq,r))),v=h.fY(!!r,l),c.initData(y,null,v),c);e.setData(S),g(e.getData(),t,i),S.each(function(t){var n=S.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),a=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if((0,p.isFunction)(i)||(0,p.isFunction)(r)||(0,p.isFunction)(o)||(0,p.isFunction)(a)){var l=e.getRawValue(t),u=e.getDataParams(t);(0,p.isFunction)(i)&&(i=i(l,u)),(0,p.isFunction)(r)&&(r=r(l,u)),(0,p.isFunction)(o)&&(o=o(l,u)),(0,p.isFunction)(a)&&(a=a(l,u))}var h=n.getModel("itemStyle").getItemStyle(),c=n.get("z2"),d=(0,f.rI)(x,"color");h.fill||(h.fill=d),S.setItemVisual(t,{z2:(0,p.retrieve2)(c,0),symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:a,symbolKeepAspect:s,style:h})}),w.updateData(S),this.group.add(w.group),S.eachItemGraphicEl(function(t){t.traverse(function(t){(0,d.z)(t).dataModel=e})}),this.markKeep(w),w.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(c.A);function v(t){t.registerComponentModel(a),t.registerComponentView(y),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}},63557:(t,e,n)=>{n.d(e,{OD:()=>s,SR:()=>a,xA:()=>u});var i=n(36484),r=n(60609),o=new i.Ay(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,n,i,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:i,cbPayload:a};return s?u(e=s.image)||s.pending.push(h):((e=r.yh.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},63718:(t,e,n)=>{n.d(e,{A:()=>u});var i=n(32471),r=n(19937),o=n(6713),a=n(67493),s=n(45874),l=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new o.A({})),(0,s.isArray)(i)&&(i=new o.A({categories:(0,s.map)(i,function(t){return(0,s.isObject)(t)?t.value:t})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return(0,i.C6)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,s.isString)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return a.lP(t,this._extent)&&t>=0&&t<this._ordinalMeta.categories.length},e.prototype.normalize=function(t){return t=this._getTickNumber(t),this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(this._calculator.scale(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(r.A);r.A.registerClass(l);let u=l},63726:(t,e)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=void 0,e.isFunction=function(t){return"function"==typeof t}},64177:(t,e,n)=>{n.d(e,{X:()=>o});var i=n(76172),r=(0,i.$r)();(0,i.$r)();var o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return function(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}(this,r,(0,i.qB)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}()},64447:(t,e,n)=>{n.d(e,{FQ:()=>ek,Ng:()=>e5,p5:()=>n_,El:()=>eC,zm:()=>e3,Zf:()=>e4,AS:()=>e7,Bo:()=>ns,FP:()=>e8,aQ:()=>e6,ZB:()=>ny,Ts:()=>e2,OH:()=>no,pX:()=>na,mx:()=>nl,Oh:()=>nu,Ej:()=>nd,E:()=>eu.E,mz:()=>ng,cf:()=>nn,tb:()=>ni,lP:()=>nt,qg:()=>ne,bf:()=>e9,iY:()=>nv,xV:()=>nr,AF:()=>nh,vV:()=>nf,rE:()=>eT});var i,r,o,a,s,l,u,h,c,p,d,f,g,y,v,m,_,x,b,w,S,M,A,T,C=n(32471),k=n(22182),I=n(45874),D=n(98573),O=n(86960),L=n(24009),P=n(76172),R=n(39020),N=n(15971),B=n(40520),z=n(74873),E="";"u">typeof navigator&&(E=navigator.platform||"");var F="rgba(0, 0, 0, 0.2)",V=z.A.color.theme[0],H=(0,B.modifyHSL)(V,null,null,.9);let W={darkMode:"auto",colorBy:"series",color:z.A.color.theme,gradientColor:[H,V],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:E.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var G=n(55889),Y=(0,I.createHashMap)(),U=n(64177),X="\0_ec_inner",j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new R.A(i),this._locale=new R.A(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=K(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,K(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):a(this,r),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,I.each)(s,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,o=this._componentsCount,a=[],s=(0,I.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,G.ps)(this),(0,I.each)(t,function(t,e){null!=t&&(N.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.clone)(t):(0,I.merge)(n[e],t,!0))}),l&&l.each(function(t,e){N.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),N.A.topologicalTravel(a,N.A.getAllClassMainTypes(),function(e){var a,s=function(t,e,n){var i=Y.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,P.qB(t[e])),u=i.get(e),h=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=P.O2(u,s,h);P.GX(c,e,N.A),n[e]=null,i.set(e,null),o.set(e,0);var p=[],d=[],f=0;(0,I.each)(c,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,s=N.A.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,I.extend)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,I.extend)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))}
1,this),n[e]=p,i.set(e,d),o.set(e,f),"series"===e&&r(this)},this),this._seriesIndices||r(this)},e.prototype.getOption=function(){var t=(0,I.clone)(this.option);return(0,I.each)(t,function(e,n){if(N.A.hasClass(n)){for(var i=P.qB(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!P.oh(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),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 n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e){for(var r=0;r<n.length;r++)if(n[r])return n[r]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=i?(e=[],(0,I.each)(P.qB(i),function(t){a[t]&&e.push(a[t])})):e=null!=r?Z("id",r,a):null!=o?Z("name",o,a):(0,I.filter)(a,function(t){return!!t}),q(e,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",i=s+"Id",r=s+"Name",e&&(null!=e[n]||null!=e[i]||null!=e[r])?{mainType:s,index:e[n],id:e[i],name:e[r]}:null);return o=q(l?this.queryComponents(l):(0,I.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,I.isFunction)(t))i.each(function(n,i){for(var r=0;n&&r<n.length;r++){var o=n[r];o&&t.call(e,i,o,o.componentIndex)}});else for(var r=(0,I.isString)(t)?i.get(t):(0,I.isObject)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=P.vS(t,null);return(0,I.filter)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.filter)(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.each)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.each)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){o(this),(0,I.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.each)(this.getSeriesByType(t),e,n)},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 n=[];(0,I.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.createHashMap)(n)},e.prototype.restoreData=function(t){r(this);var e=this._componentsMap,n=[];e.each(function(t,e){N.A.hasClass(e)&&n.push(e)}),N.A.topologicalTravel(n,N.A.getAllClassMainTypes(),function(n){(0,I.each)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(r=function(t){var e=t._seriesIndices=[];(0,I.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.createHashMap)(e)},o=function(t){},a=function(t,e){t.option={},t.option[X]=1,t._componentsMap=(0,I.createHashMap)({series:[]}),t._componentsCount=(0,I.createHashMap)();var n,i,r,o=e.aria;(0,I.isObject)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,(0,I.each)(i,function(t,e){"colorLayer"===e&&r||"color"===e&&n.color||N.A.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.merge)(n[e],t,!1):(0,I.clone)(t):null==n[e]&&(n[e]=t))}),(0,I.merge)(e,W,!1),t._mergeOption(e,null)}),e}(R.A);function Z(t,e,n){if((0,I.isArray)(e)){var i=(0,I.createHashMap)();
1return(0,I.each)(e,function(t){null!=t&&null!=P.vS(t,null)&&i.set(t,!0)}),(0,I.filter)(n,function(e){return e&&i.get(e[t])})}var r=P.vS(e,null);return(0,I.filter)(n,function(e){return e&&null!=r&&e[t]===r})}function q(t,e){return e.hasOwnProperty("subType")?(0,I.filter)(t,function(t){return t&&t.subType===e.subType}):t}function K(t){var e=(0,I.createHashMap)();return t&&(0,I.each)(P.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.mixin)(j,U.X);var $=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let Q=function(t){I.each($,function(e){this[e]=I.bind(t[e],t)},this)};var J=n(54169),tt=/^(min|max)?(.+)$/,te=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.each)((0,P.qB)(t.series),function(t){t&&t.data&&(0,I.isTypedArray)(t.data)&&(0,I.setAsPrimitive)(t.data)}),(0,I.each)((0,P.qB)(t.dataset),function(t){t&&t.source&&(0,I.isTypedArray)(t.source)&&(0,I.setAsPrimitive)(t.source)})),t=(0,I.clone)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,h=!!t.media,c=!!(l||s||a&&a.timeline);function p(t){(0,I.each)(e,function(e){e(t,n)})}return a?(r=a).timeline||(r.timeline=s):((c||h)&&(t.options=t.media=null),r=t),h&&(0,I.isArray)(u)&&(0,I.each)(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}),p(r),(0,I.each)(l,function(t){return p(t)}),(0,I.each)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},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.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,I.clone)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,h=o.length;u<h;u++)(function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,I.each)(t,function(t,e){var n=e.match(tt);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=i[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.map)(s,function(t){return(0,I.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),tn=I.each,ti=I.isObject,tr=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function to(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=tr.length;n<i;n++){var r=tr[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?I.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?I.merge(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function ta(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,I.defaults(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function ts(t){ta(t,"itemStyle"),ta(t,"lineStyle"),ta(t,"areaStyle"),ta(t,"label"),ta(t,"labelLine"),ta(t,"upperLabel"),ta(t,"edgeLabel")}function tl(t,e){var n=ti(t)&&t[e],i=ti(n)&&n.textStyle;if(i)for(var r=0,o=P.JS.length;r<o;r++){var a=P.JS[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function tu(t){t&&(ts(t),tl(t,"label"),t.emphasis&&tl(t.emphasis,"label"))}function th(t){return I.isArray(t)?t:t?[t]:[]}function tc(t){return(I.isArray(t)?t[0]:t)||{}}function tp(t){t&&(0,I.each)(td,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var td=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],tf=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tg=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function ty(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tg.length;n++){var i=tg[n][1],r=tg[n][0];null!=e[i]&&(e[r]=e[i])}}function tv(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tm(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function t_(t,e){var n;tn(th(t.series),function(t){ti(t)&&function(t){if(ti(t)){to(t),ts(t),tl(t,"label"),tl(t,"upperLabel"),tl(t,"edgeLabel"),t.emphasis&&(tl(t.emphasis,"label"),tl(t.emphasis,"upperLabel"),tl(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(to(e),tu(e));var n=t.markLine;n&&(to(n),tu(n));var i=t.markArea;i&&tu(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!I.isTypedArray(o))for(var a=0;a<o.length;a++)tu(o[a]);I.each(t.categories,function(t){ts(t)})}if(r&&!I.isTypedArray(r))for(var a=0;a<r.length;a++)tu(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tu(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.isArray(l[a])?(tu(l[a][0]),tu(l[a][1])):tu(l[a]);"gauge"===t.type?(tl(t,"axisLabel"),tl(t,"title"),tl(t,"detail")):"treemap"===t.type?(ta(t.breadcrumb,"itemStyle"),I.each(t.levels,function(t){ts(t)})):"tree"===t.type&&ts(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),tn(n,function(e){tn(th(t[e]),function(t){t&&(tl(t,"axisLabel"),tl(t.axisPointer,"label"))})}),tn(th(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tl(e,"axisLabel"),tl(e&&e.axisPointer,"label")}),tn(th(t.calendar),function(t){ta(t,"itemStyle"),tl(t,"dayLabel"),tl(t,"monthLabel"),tl(t,"yearLabel")}),tn(th(t.radar),function(t){tl(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)}
1),tn(th(t.geo),function(t){ti(t)&&(tu(t),tn(th(t.regions),function(t){tu(t)}))}),tn(th(t.timeline),function(t){tu(t),ta(t,"label"),ta(t,"itemStyle"),ta(t,"controlStyle",!0);var e=t.data;I.isArray(e)&&I.each(e,function(t){I.isObject(t)&&(ta(t,"label"),ta(t,"itemStyle"))})}),tn(th(t.toolbox),function(t){ta(t,"iconStyle"),tn(t.feature,function(t){ta(t,"iconStyle")})}),tl(tc(t.axisPointer),"label"),tl(tc(t.tooltip).axisPointer,"label"),t.series=(0,P.qB)(t.series),(0,I.each)(t.series,function(t){if((0,I.isObject)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),tv(t.label);var n=t.data;if(n&&!(0,I.isTypedArray)(n))for(var i=0;i<n.length;i++)tv(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var r=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=r&&function(t,e,n){for(var i,r=e.split(","),o=t,a=0;a<r.length-1;a++)null==o[i=r[a]]&&(o[i]={}),o=o[i];null==o[r[a]]&&(o[r[a]]=n)}(t,"itemStyle.color",r)}else if("bar"===e){ty(t),ty(t.backgroundStyle),ty(t.emphasis);var n=t.data;if(n&&!(0,I.isTypedArray)(n))for(var i=0;i<n.length;i++)"object"==typeof n[i]&&(ty(n[i]),ty(n[i]&&n[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tm(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,tm)}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.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),tp(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.each)(tf,function(e){var n=t[e];n&&((0,I.isArray)(n)||(n=[n]),(0,I.each)(n,function(t){tp(t)}))})}var tx=n(10558),tb=n(94316),tw=n(53623),tS=n(44956),tM=n(52121),tA=n(9496),tT=n(11374),tC=n(84295),tk=n(37848),tI=n(67966),tD=n(59565),tO=n(75407),tL=n(588),tP=n(30154),tR=n(44409),tN=(0,P.$r)(),tB={itemStyle:(0,tL.A)(tP.L,!0),lineStyle:(0,tL.A)(tR.m,!0)},tz={lineStyle:"stroke",itemStyle:"fill"};function tE(t,e){var n=t.visualStyleMapper||tB[e];return n||(console.warn("Unknown style type '"+e+"'."),tB.itemStyle)}function tF(t,e){var n=t.visualDrawType||tz[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tV=new R.A,tH=n(61998),tW=n(52236),tG=n(17323),tY=Math.PI,tU=n(24187),tX=n(1054),tj=function(){function t(t,e,n,i){this._stageTaskMap=(0,I.createHashMap)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,I.createHashMap)();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,I.each)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,I.assert)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;
1function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,I.each)(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each(function(t){a(i,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each(function(t){t.perform(d)}),h.perform(d)&&(r=!0)}else u&&u.each(function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,I.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tU.U)({plan:tQ,reset:tJ,count:t2}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}
1t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||(0,tU.U)({reset:tZ});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,I.createHashMap)(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,(0,tU.U)({reset:tq,onDirty:t$})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}(0,I.assert)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,(0,I.each)(n.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);i.head||(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,I.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){s=null;try{t(t5,t4)}catch(t){}return s}(t)}),t.uid=(0,tX.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tZ(t){t.overallReset(t.ecModel,t.api,t.payload)}function tq(t){return t.overallProgress&&tK}function tK(){this.agent.dirty(),this.getDownstream().dirty()}function t$(){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,P.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.map)(e,function(t,e){return t1(e)}):t0}var t0=t1(0);function t1(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function t2(t){return t.data.count()}var t5={},t4={};function t3(t,e){for(var n in e.prototype)t[n]=I.noop}t3(t5,j),t3(t4,Q),t5.eachSeriesByType=t5.eachRawSeriesByType=function(t){s=t},t5.eachComponent=function(t){"series"===t.mainType&&t.subType&&(s=t.subType)};var t7=z.A.darkColor,t8=t7.background,t6=function(){return{axisLine
1:{lineStyle:{color:t7.axisLine}},splitLine:{lineStyle:{color:t7.axisSplitLine}},splitArea:{areaStyle:{color:[t7.backgroundTint,t7.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:t7.axisMinorSplitLine}},axisLabel:{color:t7.axisLabel},axisName:{}}},t9={label:{color:t7.secondary},itemStyle:{borderColor:t7.borderTint},dividerLineStyle:{color:t7.border}},et={darkMode:!0,color:t7.theme,backgroundColor:t8,axisPointer:{lineStyle:{color:t7.border},crossStyle:{color:t7.borderShade},label:{color:t7.tertiary}},legend:{textStyle:{color:t7.secondary},pageTextStyle:{color:t7.tertiary}},textStyle:{color:t7.secondary},title:{textStyle:{color:t7.primary},subtextStyle:{color:t7.quaternary}},toolbox:{iconStyle:{borderColor:t7.accent50}},tooltip:{backgroundColor:t7.neutral20,defaultBorderColor:t7.border,textStyle:{color:t7.tertiary}},dataZoom:{borderColor:t7.accent10,textStyle:{color:t7.tertiary},brushStyle:{color:t7.backgroundTint},handleStyle:{color:t7.neutral00,borderColor:t7.accent20},moveHandleStyle:{color:t7.accent40},emphasis:{handleStyle:{borderColor:t7.accent50}},dataBackground:{lineStyle:{color:t7.accent30},areaStyle:{color:t7.accent20}},selectedDataBackground:{lineStyle:{color:t7.accent50},areaStyle:{color:t7.accent30}}},visualMap:{textStyle:{color:t7.secondary},handleStyle:{borderColor:t7.neutral30}},timeline:{lineStyle:{color:t7.accent10},label:{color:t7.tertiary},controlStyle:{color:t7.accent30,borderColor:t7.accent30}},calendar:{itemStyle:{color:t7.neutral00,borderColor:t7.neutral20},dayLabel:{color:t7.tertiary},monthLabel:{color:t7.secondary},yearLabel:{color:t7.secondary}},matrix:{x:t9,y:t9,backgroundColor:{borderColor:t7.axisLine},body:{itemStyle:{borderColor:t7.borderTint}}},timeAxis:t6(),logAxis:t6(),valueAxis:t6(),categoryAxis:t6(),line:{symbol:"circle"},graph:{color:t7.theme},gauge:{title:{color:t7.secondary},axisLine:{lineStyle:{color:[[1,t7.neutral05]]}},axisLabel:{color:t7.axisLabel},detail:{color:t7.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:t7.background}},radar:((i=t6()).axisName={color:t7.axisLabel},i.axisLine.lineStyle.color=t7.neutral20,i),treemap:{breadcrumb:{itemStyle:{color:t7.neutral20,textStyle:{color:t7.secondary}},emphasis:{itemStyle:{color:t7.neutral30}}}},sunburst:{itemStyle:{borderColor:t7.background}},map:{itemStyle:{borderColor:t7.border,areaColor:t7.neutral10},label:{color:t7.tertiary},emphasis:{label:{color:t7.primary},itemStyle:{areaColor:t7.highlight}},select:{label:{color:t7.primary},itemStyle:{areaColor:t7.highlight}}},geo:{itemStyle:{borderColor:t7.border,areaColor:t7.neutral10},emphasis:{label:{color:t7.primary},itemStyle:{areaColor:t7.highlight}},select:{label:{color:t7.primary},itemStyle:{color:t7.highlight}}}};et.categoryAxis.splitLine.show=!1;var ee=n(36363),en=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(I.isString(t)){var r=(0,ee.CC)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.each(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],h=r.lastIndexOf(u);if(h>0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ei=["symbol","symbolSize","symbolRotate","symbolOffset"],er=ei.concat(["symbolKeepAspect"]),eo=n(3327),ea=n(8795);function es(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;
1s++)if(a[s].seriesIndex===e){var l=t.getData(),u=(0,P.le)(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:(0,I.isArray)(u)?l.getName(u[0]):l.getName(u),selected:(0,I.isString)(i)?i:(0,I.extend)({},i)})}})}var el=n(34828),eu=n(46362),eh=n(14445),ec=Math.round(9*Math.random()),ep="function"==typeof Object.defineProperty,ed=function(){function t(){this._id="__ec_inner_"+ec++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return ep?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),ef=n(36484),eg=n(21947),ey=n(42680),ev=n(60609),em=new ed,e_=new ef.Ay(100),ex=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function eb(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&em.delete(t);var o=em.get(t);if(o)return o;var a=(0,I.defaults)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,o,s,l=[n],u=!0,h=0;h<ex.length;++h){var c=a[ex[h]];if(null!=c&&!(0,I.isArray)(c)&&!(0,I.isString)(c)&&!(0,I.isNumber)(c)&&"boolean"!=typeof c){u=!1;break}l.push(c)}if(u){o=l.join(",")+(r?"-svg":"");var p=e_.get(o);p&&(r?t.svgElement=p:t.image=p)}var d=function t(e){if(!e||0===e.length)return[[0,0]];if((0,I.isNumber)(e)){var n=Math.ceil(e);return[[n,n]]}for(var i=!0,r=0;r<e.length;++r)if(!(0,I.isNumber)(e[r])){i=!1;break}if(i)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,I.isNumber)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=(0,I.map)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),f=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,I.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,I.map)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),g=function t(e){if(!e||0===e.length)return[["rect"]];if((0,I.isString)(e))return[[e]];for(var n=!0,i=0;i<e.length;++i)if(!(0,I.isString)(e[i])){n=!1;break}if(n)return t([e]);for(var r=[],i=0;i<e.length;++i)(0,I.isString)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),y=(e=d,(0,I.map)(e,function(t){return ew(t)})),v=ew(f),m=!r&&ev.yh.createCanvas(),_=r&&{tag:"g",attrs:{},key:"dcl",children:[]},x=function(){for(var t=1,e=0,n=y.length;e<n;++e)t=(0,tx.lQ)(t,y[e]);for(var i=1,e=0,n=g.length;e<n;++e)i=(0,tx.lQ)(i,g[e].length);t*=i;var r=v*y.length*g.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();m&&(m.width=x.width*n,m.height=x.height*n,s=m.getContext("2d")),function(){s&&(s.clearRect(0,0,m.width,m.height),a.backgroundColor&&(s.fillStyle=a.backgroundColor,s.fillRect(0,0,m.width,m.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0))for(var o=-v,l=0,u=0,h=0;o<x.height;){if(l%2==0){for(var c=u/2%g.length,p=0,y=0,b=0;p<2*x.width;){for(var w=0,e=0;e<d[h].length;++e)w+=d[h][e];if(w<=0)break;if(y%2==0){var S=(1-a.symbolSize)*.5,M=p+d[h][y]*S,A=o+f[l]*S,T=d[h][y]*a.symbolSize,C=f[l]*a.symbolSize,k=b/2%g[c].length;!function(t,e,o,l,u){var h=r?1:n,c=(0,eg.v5)(u,t*h,e*h,o*h,l*h,a.color,a.symbolKeepAspect);if(r){var p=i.painter.renderOneToVNode(c);p&&_.children.push(p)}else(0,ey.Xi)(s,c)}(M,A,T,C,g[c][k])}p+=d[h][y],++b,++y===d[h].length&&(y=0)}++h===d.length&&(h=0)}o+=f[l],++u,++l===f.length&&(l=0)}}(),u&&e_.put(o,m||_),t.image=m,t.svgElement=_,t.svgWidth=x.width,t.svgHeight=x.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,em.set(t,s),t.dirty=!1,s}function ew(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}var eS=new L.A,eM=n(31396),eA=n(34978),eT="6.0.0",eC={zrender:"6.0.0"},ek={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},eI="__flagInMainProcess",eD="__mainProcessVersion",eO="__pendingUpdate",eL="__needsUpdateStatus",eP=/^[a-zA-Z0-9_]+$/,eR="__connectUpdateStatus";function eN(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void this.id:ez(this,t,e)}}function eB(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ez(this,t,e)}}function ez(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),L.A.prototype[e].apply(t,n)}var eE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e}(L.A),eF=eE.prototype;eF.on=eB("on"),eF.off=eB("off");var eV=function(t){function e(e,n,i){var r=t.call(this,new en)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},r._dom=e,r[eD]=1,i.ssr&&k.registerSSRDataGetter(function(t){var e=(0,tI.z)(t),n=e.dataIndex;if(null!=n){var i=(0,I.createHashMap)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=k.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,I.retrieve2)(i.useDirtyRect,!1),useCoarsePointer:(0,I.retrieve2)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,tO.nF)((0,I.bind)(o.flush,o),17),r._updateTheme(n),r._locale=(0,eu.A$)(i.locale||eu.Lv),r._coordSysMgr=new J.Ay;var a=r._api=w(r);function s(t,e){return t.__prio-e.__prio}
1return(0,O.A)(eZ,s),(0,O.A)(eX,s),r._scheduler=new tj(r,a,eX,eZ),r._messageCenter=new eE,r._initEvents(),r.resize=(0,I.bind)(r.resize,r),o.animation.on("frame",r._onframe,r),v(o,r),m(o,r),(0,I.setAsPrimitive)(r),r}return(0,C.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){A(this);var t=this._scheduler;if(this[eO]){var e=this[eO].silent;this[eI]=!0,T(this);try{l(this),c.update.call(this,null,this[eO].updateParams)}catch(t){throw this[eI]=!1,this[eO]=null,t}this._zr.flush(),this[eI]=!1,this[eO]=null,g.call(this,e),y.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),d(this,i),t.performVisualTasks(i),b(this,this._model,r,"remain",{}),n-=new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[eI]){if(this._disposed)return void this.id;if((0,I.isObject)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[eI]=!0,T(this),!this._model||e){var i,r,o,a=new te(this._api),s=this._theme,u=this._model=new j;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},ej);var h={seriesTransition:o,optionChanged:!0};if(n)this[eO]={silent:i,updateParams:h},this[eI]=!1,this.getZr().wakeUp();else{try{l(this),c.update.call(this,null,h)}catch(t){throw this[eO]=null,this[eI]=!1,t}this._ssr||this._zr.flush(),this[eO]=null,this[eI]=!1,g.call(this,i),y.call(this,i)}}},e.prototype.setTheme=function(t,e){if(!this[eI]){if(this._disposed)return void this.id;var n=this._model;if(n){var i=e&&e.silent,r=null;this[eO]&&(null==i&&(i=this[eO].silent),r=this[eO].updateParams,this[eO]=null),this[eI]=!0,T(this);try{this._updateTheme(t),n.setTheme(this._theme),l(this),c.update.call(this,{type:"setTheme"},r)}catch(t){throw this[eI]=!1,t}this[eI]=!1,g.call(this,i),y.call(this,i)}}},e.prototype._updateTheme=function(t){(0,I.isString)(t)&&(t=eq[t]),t&&((t=(0,I.clone)(t))&&t_(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.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,I.each)(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.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.each)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(!eQ[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.each)(e$,function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,I.clone)(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),h.push({dom:p,left:d.left,top:d.top})}}),a*=c,s*=c,l*=c,u*=c;var p=l-a,d=u-s,f=ev.yh.createCanvas(),g=k.init(f,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:d}
1),!e)return t.connectedBackgroundColor&&g.add(new tM.A({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),(0,I.each)(h,function(t){var e=new tA.Ay({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,I.each)(h,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e,n){return p(this,"convertToPixel",t,e,n)},e.prototype.convertToLayout=function(t,e,n){return p(this,"convertToLayout",t,e,n)},e.prototype.convertFromPixel=function(t,e,n){return p(this,"convertFromPixel",t,e,n)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var n,i=this._model,r=P._e(i,t);return(0,I.each)(r,function(t,i){i.indexOf("Models")>=0&&(0,I.each)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=P._e(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?(0,eo.Ez)(r,o,e):(0,eo.rI)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n=this;(0,I.each)(eW,function(t){var e=function(e){var i,r=n.getModel(),o=e.target;if("globalout"===t?i={}:o&&(0,eh.R)(o,function(t){var e=(0,tI.z)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=(0,I.extend)({},e.eventData),!0},!0),i){var a=i.componentType,s=i.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=i.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&n["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=e,i.type=t,n._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:l,view:u},n.trigger(t,i)}};e.zrEventfulCallAtLast=!0,n._zr.on(t,e,n)});var i=this._messageCenter;(0,I.each)(eU,function(t,e){i.on(e,function(t){n.trigger(e,t)})}),t=this,e=this._api,i.on("selectchanged",function(n){var i=e.getModel();n.isFromClick?(es("map","selectchanged",t,i,n),es("pie","selectchanged",t,i,n)):"select"===n.fromAction?(es("map","selected",t,i,n),es("pie","selected",t,i,n)):"unselect"===n.fromAction&&(es("map","unselected",t,i,n),es("pie","unselected",t,i,n))})},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()&&P.Bq(this.getDom(),e1,"");var t=this._api,e=this._model;(0,I.each)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.each)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete e$[this.id]},e.prototype.resize=function(t){if(!this[eI]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[eO]&&(null==i&&(i=this[eO].silent),n=!0,this[eO]=null),this[eI]=!0,T(this);try{n&&l(this),c.update.call(this,{type:"resize",animation:(0,I.extend)({duration:0},t&&t.animation)})}catch(t){throw this[eI]=!1,t}this[eI]=!1,g.call(this,i),y.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,I.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eK[t]){var n=eK[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,I.extend)({},t);return e.type=eY[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,I.isObject)(e)||(e={silent:!!e}),eG[t.type])&&this._model){if(this[eI])return void this._pendingActions.push(t);var n=e.silent;f.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&D.A.browser.weChat&&this._throttledZrFlush(),g.call(this,n),y.call(this,n)}},e.prototype.updateLabelLayout=function(){eS.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()}
1,e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}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 n(t,e){if(!t.preventAutoZ){var n=tC.retrieveZInfo(t);e.eachRendered(function(t){return tC.traverseUpdateZ(t,n.z,n.zlevel),!0})}}function i(t,e){e.eachRendered(function(t){if(!tT.LR(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tT.LR(t)){if(t instanceof tk.Ay&&(0,tD.fz)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}l=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),u(t,!0),u(t,!1),e.plan()},u=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=(0,ee.CC)(t.type);(h=new(e?tw.A.getClass(c.main,c.sub):tS.A.getClass(c.sub))).init(n,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(h,t,n,s)}
1e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<r.length;){var h=r[l];h.__alive?l++:(e||h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},h=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i)return void(0,I.each)([].concat(t._componentsViews).concat(t._chartsViews),h);var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=u&&(o=(0,I.createHashMap)(),(0,I.each)(P.qB(u),function(t){var e=P.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!(o&&null!=o.get(e.id)))if((0,tD.T$)(n))if(e instanceof tb.A)n.type!==tD.h5||n.notBlur||e.get(["emphasis","disabled"])||(0,tD.lV)(e,n,t._api);else{var i=(0,tD.Tl)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===tD.h5&&r&&!n.notBlur&&(0,tD.Du)(e.mainType,e.componentIndex,t._api),a&&(0,I.each)(a,function(t){n.type===tD.h5?(0,tD.HY)(t):(0,tD.SD)(t)})}else(0,tD.Lx)(n)&&e instanceof tb.A&&((0,tD.t6)(e,n,t._api),(0,tD.jA)(e),M(t))},t),a&&a.eachComponent(l,function(e){o&&null!=o.get(e.id)||h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},c={prepareAndUpdate:function(t){l(this),c.update.call(this,t,t&&{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),d(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e);var l=i.get("backgroundColor")||"transparent";o.setBackgroundColor(l);var u=i.get("darkMode");null!=u&&"auto"!==u&&o.setDarkMode(u),_(this,i,r,e,n),eS.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=(0,I.createHashMap)();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),b(this,i,r,e,{},a),eS.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tS.A.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),_(this,n,this._api,e,{}),eS.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),tS.A.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),eS.trigger("afterupdate",i,this._api))},updateLayout:function(t){c.update.call(this,t)}},p=function(t,e,n,i,r){if(t._disposed)return void t.id;for(var o,a=t._model,s=t._coordSysMgr.getCoordinateSystems(),l=P._e(a,n),u=0;u<s.length;u++){var h=s[u];if(h[e]&&null!=(o=h[e](a,l,i,r)))return o}},d=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},f=function(t,e){var n,i=this,r=this.getModel(),o=t.type,a=t.escapeConnect,s=eG[o],u=(s.update||"update").split(":"),p=u.pop(),d=null!=u[0]&&(0,ee.CC)(u[0]);this[eI]=!0,T(this);var f=[t],g=!1;t.batch&&(g=!0,f=(0,I.map)(t.batch,function(e){return(e=(0,I.defaults)((0,I.extend)({},e),t)).batch=null,e}));var y=[],v=[],m=s.nonRefinedEventType,_=(0,tD.Lx)(t),x=(0,tD.T$)(t);if(x&&(0,tD.qR)(this._api),(0,I.each)(f,function(e){var o=s.action(e,r,i._api);if(s.refineEvent?v.push(o):n=o,(n=n||(0,I.extend)({},e)).type=m,y.push(n),x){var a=P.HB(t),l=a.queryOptionMap;h(i,p,e,a.mainTypeSpecified?l.keys()[0]:"series"),M(i)}else _?(h(i,p,e,"series"),M(i)):d&&h(i,p,e,d.main,d.sub)}),"none"!==p&&!x&&!_&&!d)try{this[eO]?(l(this),c.update.call(this,t),this[eO]=null):c[p].call(this,t)}catch(t){throw this[eI]=!1,t}if(n=g?{type:m,escapeConnect:a,batch:y}:y[0],this[eI]=!1,!e){var b=void 0;if(s.refineEvent){var w=s.refineEvent(v,t,r,this._api).eventContent;(0,I.assert)((0,I.isObject)(w)),(b=(0,I.defaults)({type:s.refinedEventType},w)).fromAction=t.type,b.fromActionPayload=t,b.escapeConnect=!0}var S=this._messageCenter;S.trigger(n.type,n),b&&S.trigger(b.type,b)}}
1,g=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();f.call(this,n,t)}},y=function(t){t||this.trigger("updated")},v=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[eO]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},m=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,eh.R)(n,tD.u6);i&&((0,tD._m)(i,t,e._api),M(e))}).on("mouseout",function(t){var n=t.target,i=(0,eh.R)(n,tD.u6);i&&((0,tD.Iz)(i,t,e._api),M(e))}).on("click",function(t){var n=t.target,i=(0,eh.R)(n,function(t){return null!=(0,tI.z)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,tI.z)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},_=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,O.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.each)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),x(t,e,n,i,r),(0,I.each)(t._chartsViews,function(t){t.__alive=!1}),b(t,e,n,i,r),(0,I.each)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},x=function(t,e,o,a,s,l){(0,I.each)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},b=function(t,e,o,a,s,l){var u,h,c,p,d=t._scheduler;s=(0,I.extend)(s||{},{updatedSeries:e.getSeries()}),eS.trigger("series:beforeupdate",e,o,s);var f=!1;e.eachSeries(function(e){var n,r,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var u=s.renderTask;d.updatePayload(u,a),i(e,s),l&&l.get(e.uid)&&u.dirty(),u.perform(d.getPerformArgs(u))&&(f=!0),s.group.silent=!!e.get("silent"),n=e,r=s,o=n.get("blendMode")||null,r.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tD.jA)(e)}),d.unfinished=f||d.unfinished,eS.trigger("series:layoutlabels",e,o,s),eS.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),u=t,h=e,c=u._zr.storage,p=0,c.traverse(function(t){!t.isGroup&&p++}),!(p>h.get("hoverLayerThreshold"))||D.A.node||D.A.worker||h.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),eS.trigger("series:afterupdate",e,o,s)},M=function(t){t[eL]=!0,t.getZr().wakeUp()},T=function(t){t[eD]=(t[eD]+1)%1e3},A=function(t){t[eL]&&(t.getZr().storage.traverse(function(t){tT.LR(t)||e(t)}),t[eL]=!1)},w=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,C.C6)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tD.HY)(e,n),M(t)},n.prototype.leaveEmphasis=function(e,n){(0,tD.SD)(e,n),M(t)},n.prototype.enterBlur=function(e){(0,tD.QX)(e),M(t)},n.prototype.leaveBlur=function(e){(0,tD.JC)(e),M(t)},n.prototype.enterSelect=function(e){(0,tD.JI)(e),M(t)},n.prototype.leaveSelect=function(e){(0,tD.gd)(e),M(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n.prototype.getMainProcessVersion=function(){return t[eD]},n}(Q))(t)},S=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][eR]=e}(0,I.each)(eY,function(n,i){t._messageCenter.on(i,function(n){if(eQ[t.group]&&0!==t[eR]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,I.each)(e$,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,I.each)(r,function(t){1!==t[eR]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(L.A),eH=eV.prototype;eH.on=eN("on"),eH.off=eN("off"),eH.one=function(t,e,n){var i=this;(0,ea.aT)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var eW=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],eG={},eY={},eU={},eX=[],ej=[],eZ=[],eq={},eK={},e$={},eQ={},eJ=new Date-0,e0=new Date-0,e1="_echarts_instance_";function e2(t,e,n){var i=!(n&&n.ssr);if(i){var r=e8(t);if(r)return r}var o=new eV(t,e,n);return o.id="ec_"+eJ++,e$[o.id]=o,i&&P.Bq(t,e1,o.id),S(o),eS.trigger("afterinit",o),o}function e5(t){if((0,I.isArray)(t)){var e=t;t=null,(0,I.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+e0++,(0,I.each)(e,function(e){e.group=t})}return eQ[t]=!0,t}function e4(t){eQ[t]=!1}var e3=e4;function e7(t){(0,I.isString)(t)?t=e$[t]:t instanceof eV||(t=e8(t)),t instanceof eV&&!t.isDisposed()&&t.dispose()}function e8(t){return e$[P.D$(t,e1)]}function e6(t){return e$[t]}function e9(t,e){eq[t]=e}function nt(t){0>(0,I.indexOf)(ej,t)&&ej.push(t)}function ne(t,e){np(eX,t,e,2e3)}function nn(t){nr("afterinit",t)}function ni(t){nr("afterupdate",t)}function nr(t,e){eS.on(t,e)}function no(t,e,n){function i(t){return t.toLowerCase()}(0,I.isFunction)(e)&&(n=e,e=""),(0,I.isObject)(t)?(r=t.type,l=t.event,a=t.update,s=t.publishNonRef
1inedEvent,n||(n=t.action),o=t.refineEvent):(r=t,l=e);var r,o,a,s,l=i(l||r),u=o?i(r):l;eG[r]||((0,I.assert)(eP.test(r)&&eP.test(l)),o&&(0,I.assert)(l!==r),eG[r]={actionType:r,refinedEventType:l,nonRefinedEventType:u,update:a,action:n,refineEvent:o},eU[l]=1,o&&s&&(eU[u]=1),eY[u]=r)}function na(t,e){J.Ay.register(t,e)}function ns(t){var e=J.Ay.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function nl(t,e){(0,eA.m)(t,e)}function nu(t,e){np(eZ,t,e,1e3,"layout")}function nh(t,e){np(eZ,t,e,3e3,"visual")}var nc=[];function np(t,e,n,i,r){if(((0,I.isFunction)(e)||(0,I.isObject)(e))&&(n=e,e=i),!((0,I.indexOf)(nc,n)>=0)){nc.push(n);var o=tj.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function nd(t,e){eK[t]=e}function nf(t){(0,ev.Gs)({createCanvas:t})}function ng(t,e,n){var i=(0,eM.v)("registerMap");i&&i(t,e,n)}function ny(t){var e=(0,eM.v)("getMap");return e&&e(t)}var nv=el.v5;function nm(t,e,n,i){return{eventContent:{selected:(0,tD.mc)(n),isFromClick:e.isFromClick||!1}}}nh(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tE(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tF(t,i),l=o[s],u=(0,I.isFunction)(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,I.isFunction)(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||(0,I.isFunction)(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,I.extend)({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}}),nh(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tE(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tV.option=n[i];var a=r(tV),s=t.ensureUniqueItemVisual(e,"style");(0,I.extend)(s,a),tV.option.decal&&(t.setItemVisual(e,"decal",tV.option.decal),tV.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),nh(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.createHashMap)();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),tN(t).scope=r}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),i={},r=e.getData(),o=tN(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tF(e,a);r.each(function(t){i[r.getRawIndex(t)]=t}),n.each(function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}})}})}}),nh(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<ei.length;a++){var s=ei[a],l=t.get(s);(0,I.isFunction)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,I.extend)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=(0,I.keys)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}}),nh(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<er.length;i++){var r=er[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),nh(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=eb(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=eb(r,e))}})}),nt(t_),ne(900,function(t){var e=(0,I.createHashMap)();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.push(o)}}),e.each(function(t){var e;0!==t.length&&("seriesDesc"===(t[0].seriesModel.get("stackOrder")||"seriesAsc")&&t.reverse(),(0,I.each)(t,function(e,n){e.data.setCalculationInfo("stackedOnSeries",n>0?t[n-1].seriesModel:null)}),e=t,(0,I.each)(e,function(t,n){var i=[],r=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,h){var c,p,d=a.get(t.stackedDimension,h);if(isNaN(d))return r;s?p=a.getRawIndex(h):c=a.get(t.stackedByDimension,h);for(var f=NaN,g=n-1;g>=0;g--){var y=e[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>
10||"samesign"===l&&d<=0&&v<0){d=(0,tx.Tr)(d,v),f=v;break}}}return i[0]=d,i[1]=f,i})}))})}),eK.default=function(t,e){e=e||{},I.defaults(e,{text:"loading",textColor:z.A.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:z.A.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var n,i=new tH.A,r=new tM.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(r);var o=new tW.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 tM.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((n=new tG.A({shape:{startAngle:-tY/2,endAngle:-tY/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*tY/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tY/2}).delay(300).start("circularInOut"),i.add(n)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i},no({type:tD.h5,event:tD.h5,update:tD.h5},I.noop),no({type:tD.PW,event:tD.PW,update:tD.PW},I.noop),no({type:tD.Lv,event:tD.gM,update:tD.Lv,action:I.noop,refineEvent:nm,publishNonRefinedEvent:!0}),no({type:tD.U2,event:tD.gM,update:tD.U2,action:I.noop,refineEvent:nm,publishNonRefinedEvent:!0}),no({type:tD.Q6,event:tD.gM,update:tD.Q6,action:I.noop,refineEvent:nm,publishNonRefinedEvent:!0}),eq.default={},eq.dark=et;var n_={}},64505:(t,e,n)=>{n.d(e,{A:()=>c});var i=n(32471),r=n(6907),o=n(37848),a=n(45874),s=n(60609),l=n(26984),u=(0,a.defaults)({strokeFirst:!0,font:s.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.MW),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.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.createObject)(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}(r.Ay);h.prototype.type="tspan";let c=h},65184:(t,e,n)=>{n.d(e,{JK:()=>u,NO:()=>p,Qw:()=>s,X4:()=>v,ks:()=>g,l8:()=>h,ll:()=>d,lo:()=>y,sZ:()=>f});var i,r=n(10504),o=n(36484),a=n(60609);function s(t){i||(i=new o.Ay(100)),t=t||a.OH;var e=i.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},i.put(t,e)),e}var l=0;function u(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(l>=5)){t=t||a.OH;for(var e=[],n=+new Date,i=0;i<=127;i++)e[i]=a.yh.measureText(String.fromCharCode(i),t).width;var r=new Date-n;return r>16?l=5:r>2&&l++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth}function h(t,e){var n=t.strWidthCache,i=n.get(e);return null==i&&(i=a.yh.measureText(e,t.font).width,n.put(e,i)),i}function c(t,e,n,i){var o=h(s(e),t),a=g(e),l=d(0,o,n),u=f(0,a,i);return new r.A(l,u,o,a)}function p(t,e,n,i){var o=((t||"")+"").split("\n");if(1===o.length)return c(o[0],e,n,i);for(var a=new r.A(0,0,0,0),s=0;s<o.length;s++){var l=c(o[s],e,n,i);0===s?a.copy(l):a.union(l)}return a}function d(t,e,n,i){return"right"===n?i?t+=e:t-=e:"center"===n&&(i?t+=e/2:t-=e/2),t}function f(t,e,n,i){return"middle"===n?i?t+=e/2:t-=e/2:"bottom"===n&&(i?t+=e:t-=e),t}function g(t){return s(t).stWideCharWidth}function y(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function v(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=y(i[0],n.width),u+=y(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}},66275:(t,e,n)=>{function i(t){return isFinite(t)}
1function r(t,e,n){for(var r,o,a,s,l,u,h,c,p,d,f="radial"===e.type?(a=Math.min(r=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(h=null==e.x?0:e.x,c=null==e.x2?1:e.x2,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(h=h*n.width+n.x,c=c*n.width+n.x,p=p*n.height+n.y,d=d*n.height+n.y),h=i(h)?h:0,c=i(c)?c:1,p=i(p)?p:0,d=i(d)?d:0,t.createLinearGradient(h,p,c,d)),g=e.colorStops,y=0;y<g.length;y++)f.addColorStop(g[y].offset,g[y].color);return f}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var l=document.defaultView.getComputedStyle(t);return(t[r]||a(l[i])||a(t.style[i]))-(a(l[o])||0)-(a(l[s])||0)|0}n.d(e,{Ff:()=>r,KU:()=>o,YC:()=>s})},66484:(t,e,n)=>{n.d(e,{A_:()=>h,Ay:()=>y});var i,r=n(45874),o=n(93773),a=n(74410),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,p={float:c,int:h,ordinal:Array,number:Array,time:c};function d(t){return t>65535?l:u}function f(){return[1/0,-1/0]}function g(t,e,n,i,r){var o=p[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.O0)(o),this._dimensions=(0,r.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new p[e||"float"](this._rawCount),this._rawExtent[r]=f(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=f());for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var h=r[u];g(n,u,h.type,l,!0)}for(var c=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var h=r[f],y=i.arrayRows.call(this,t[d]||c,h.property,d,f);n[f][p]=y;var v=a[f];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.map)(a,function(t){return t.property}),h=0;h<s;h++){var c=a[h];l[h]||(l[h]=f()),g(o,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,l);else for(var p=[],d=t;d<e;d++){p=i.getItem(d,p);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(p,u[y],d,y);v[d]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return -1},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=d(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(d(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,h=0;h<i;h++){var c=void 0,p=n.getRawIndex(h);if(0===a)c=e(h);else if(1===a)c=e(u[l][p],h);else{for(var f=0;f<a;f++)o[f]=u[t[f]][p];o[f]=h,c=e.apply(null,o)}c&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.keys)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(d(e._rawCount))(a),l=0,u=i[0],h=t[u][0],c=t[u][1],p=e._chunks,f=!1;
1if(!e._indices){var g=0;if(1===o){for(var y=p[i[0]],v=0;v<n;v++){var m=y[v];(m>=h&&m<=c||isNaN(m))&&(s[l++]=g),g++}f=!0}else if(2===o){for(var y=p[i[0]],_=p[i[1]],x=t[i[1]][0],b=t[i[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=h&&m<=c||isNaN(m))&&(w>=x&&w<=b||isNaN(w))&&(s[l++]=g),g++}f=!0}}if(!f)if(1===o)for(var v=0;v<a;v++){var S=e.getRawIndex(v),m=p[i[0]][S];(m>=h&&m<=c||isNaN(m))&&(s[l++]=S)}else for(var v=0;v<a;v++){for(var M=!0,S=e.getRawIndex(v),A=0;A<o;A++){var T=i[A],m=p[T][S];(m<t[T][0]||m>t[T][1])&&(M=!1)}M&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=f();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),p=0;p<o;p++)s[p]=i[e[p]][c];s[o]=h;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(r[0]=d,d=r);for(var u=0;u<d.length;u++){var g=e[u],y=d[u],v=l[g],m=i[g];m&&(m[c]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(d(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));c[l++]=h;for(var p=1;p<s-1;p+=u){for(var f=Math.min(p+u,s-1),g=Math.min(p+2*u,s),y=(g+f)/2,v=0,m=f;m<g;m++){var _=this.getRawIndex(m),x=a[_];isNaN(x)||(v+=x)}v/=g-f;var b=p,w=Math.min(p+u,s),S=p-1,M=a[h];n=-1,r=b;for(var A=-1,T=0,m=b;m<w;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){T++,A<0&&(A=_);continue}(i=Math.abs((S-y)*(x-M)-(S-m)*(v-M)))>n&&(n=i,r=_)}T>0&&T<w-b&&(c[l++]=Math.min(A,r),r=Math.max(A,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(d(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var h=u,c=o[this.getRawIndex(h)],p=u,f=o[this.getRawIndex(p)],g=r;u+r>a&&(g=a-u);for(var y=0;y<g;y++){var v=o[this.getRawIndex(u+y)];v<c&&(c=v,h=u+y),v>f&&(f=v,p=u+y)}var m=this.getRawIndex(h),_=this.getRawIndex(p);h<p?(s[l++]=m,s[l++]=_):(s[l++]=_,s[l++]=m)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=f(),c=new(d(this._rawCount))(Math.ceil(u/s)),p=0,g=0;g<u;g+=s){s>u-g&&(a.length=s=u-g);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=n(a),_=this.getRawIndex(Math.min(g+i(a,m)||0,u-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[p++]=_}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],i=f();if(!n)return i;var r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=i)[0],a=e[1],s=0;s<r;s++){var l=n[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.clone)(this._extent),t._rawExtent=(0,r.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;
1e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,o.Pn)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.Pn)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.Pn)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}()},66525:(t,e,n)=>{n.d(e,{A:()=>p,M:()=>c});var i=n(28748),r=n(35481),o=n(45874),a=n(74410),s=n(66484),l=n(76172),u=n(55889),h=n(60522);function c(t,e){return p(t,e).dimensions}function p(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var n,c,p,d,f,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],_=(n=t,c=g,p=y,d=e.dimensionsCount,f=Math.max(n.dimensionsDetectedCount||1,c.length,p.length,d||0),(0,o.each)(c,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(f=Math.max(f,e.length))}),f),x=e.canOmitUnusedDimensions&&(0,h.eS)(_),b=y===t.dimensionsDefine,w=b?(0,h.j_)(t):(0,h.io)(y),S=e.encodeDefine;!S&&e.encodeDefaulter&&(S=e.encodeDefaulter(t,_));for(var M=(0,o.createHashMap)(S),A=new s.A_(_),T=0;T<A.length;T++)A[T]=-1;function C(t){var e=A[t];if(e<0){var n=y[t],i=(0,o.isObject)(n)?n:{name:n},a=new r.A,s=i.name;null!=s&&null!=w.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=m.length;return A[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!x)for(var T=0;T<_;T++)C(T);M.each(function(t,e){var n=(0,l.qB)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)return void M.set(e,!1);var i=M.set(e,[]);(0,o.each)(n,function(t,n){var r=(0,o.isString)(t)?w.get(t):t;null!=r&&r<_&&(i[n]=r,I(C(r),e,n))})});var k=0;function I(t,e,n){null!=i.Pe.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,v.set(e,!0))}(0,o.each)(g,function(t){if((0,o.isString)(t))r=t,i={};else{var e,n,i,r=(i=t).name,a=i.ordinalMeta;i.ordinalMeta=null,(i=(0,o.extend)({},i)).ordinalMeta=a,e=i.dimsDef,n=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=M.get(r);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;k<_&&null!=C(k).coordDim;)k++;k<_&&s.push(k++)}(0,o.each)(s,function(t,a){var s=C(t);if(b&&null!=i.type&&(s.type=i.type),I((0,o.defaults)(s,i),r,a),null==s.name&&e){var l=e[a];(0,o.isObject)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}n&&(0,o.defaults)(s.otherDims,n)})}});var D=e.generateCoord,O=e.generateCoordCount,L=null!=O;O=D?O||1:0;var P=D||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.each)(m,function(t){R(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var N=0;N<_;N++){var B=C(N);null==B.coordDim&&(B.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}(P,v,L),B.coordDimIndex=0,(!D||O<=0)&&(B.isExtraCoord=!0),O--),R(B),null==B.type&&((0,u.PU)(t,N)===u.sc.Must||B.isExtraCoord&&(null!=B.otherDims.itemName||null!=B.otherDims.seriesName))&&(B.type="ordinal")}return function(t){for(var e=(0,o.createHashMap)(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(m),new h.Tc({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:x})}},67493:(t,e,n)=>{n.d(e,{Jd:()=>f,R8:()=>c,kH:()=>s,lP:()=>h,rf:()=>o,u$:()=>l,xh:()=>a});var i=n(10558),r=n(45874);function o(t){return"interval"===t.type||"log"===t.type}function a(t,e,n,r,o){var a,s,h={},c=h.interval=(0,i.Cm)(e/n,!0);null!=r&&c<r&&(c=h.interval=r),null!=o&&c>o&&(c=h.interval=o);var p=h.intervalPrecision=l(c);return a=h.niceTickExtent=[(0,i.LI)(Math.ceil(t[0]/c)*c,p),(0,i.LI)(Math.floor(t[1]/c)*c,p)],s=t,isFinite(a[0])||(a[0]=s[0]),isFinite(a[1])||(a[1]=s[1]),u(a,0,s),u(a,1,s),a[0]>a[1]&&(a[0]=a[1]),h}function s(t){var e=Math.pow(10,(0,i.NX)(t)),n=t/e;
1return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,i.LI)(n*e)}function l(t){return(0,i.XV)(t)+2}function u(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function h(t,e){return t>=e[0]&&t<=e[1]}var c=function(){function t(){this.normalize=p,this.scale=d}return t.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=(0,r.bind)(t.normalize,t),this.scale=(0,r.bind)(t.scale,t)):(this.normalize=p,this.scale=d)},t}();function p(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function d(t,e){return t*(e[1]-e[0])+e[0]}function f(t,e,n){var i=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/i,Math.log(n?e[1]:Math.max(0,e[1]))/i]}},67890:(t,e,n)=>{n.d(e,{A:()=>c});var i=n(32471),r=n(53623),o=n(45874),a=n(95264),s=n(76172),l=n(59565),u=n(84295),h=(0,s.$r)();let c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.init=function(){this.markerGroupMap=(0,o.createHashMap)()},e.prototype.render=function(t,e,n){var i,r,o,s=this,l=this.markerGroupMap;l.each(function(t){h(t).keep=!1}),e.eachSeries(function(t){var i=a.A.getMarkerModelFromSeries(t,s.type);i&&s.renderSeries(t,i,e,n)}),l.each(function(t){h(t).keep||s.group.remove(t.group)}),i=e,r=l,o=this.type,i.eachSeries(function(t){var e=a.A.getMarkerModelFromSeries(t,o),n=r.get(t.id);if(e&&n&&n.group){var i=(0,u.retrieveZInfo)(e),s=i.z,l=i.zlevel;(0,u.traverseUpdateZ)(n.group,s,l)}})},e.prototype.markKeep=function(t){h(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;(0,o.each)(t,function(t){var i=a.A.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl(function(t){t&&(e?(0,l.QX)(t):(0,l.JC)(t))})})},e.type="marker",e}(r.A)},67966:(t,e,n)=>{n.d(e,{a:()=>r,z:()=>i});var i=(0,n(76172).$r)(),r=function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}}},68581:(t,e,n)=>{n.d(e,{A:()=>N});var i=n(58221),r=n(10504),o=n(7e3),a=n(29105),s=Math.min,l=Math.max,u=Math.sin,h=Math.cos,c=2*Math.PI,p=i.create(),d=i.create(),f=i.create();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=l(t,n),o[1]=l(e,i)}var y=[],v=[],m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],x=[],b=[],w=[],S=[],M=[],A=Math.min,T=Math.max,C=Math.cos,k=Math.sin,I=Math.abs,D=Math.PI,O=2*D,L="u">typeof Float32Array,P=[];function R(t){return Math.round(t/D*1e8)/1e8%2*D}let N=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=I(n/o.Y5/t)||0,this._uy=I(n/o.Y5/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(m.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=I(t-this._xi),i=I(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(m.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(m.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(m.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),P[0]=i,P[1]=r,(a=R(P[0]))<0&&(a+=O),s=a-P[0],l=P[1]+s,!o&&l-a>=O?l=a+O:o&&a-l>=O?l=a-O:!o&&a>l?l=a+(O-R(a-l)):o&&a<l&&(l=a-(O-R(l-a))),P[0]=a,P[1]=l,i=P[0];var a,s,l,u=(r=P[1])-i;return this.addData(m.A,t,e,n,n,i,u,0,+!o),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=C(r)*n+t,this._yi=k(r)*n+e,this},e.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},e.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(m.R,t,e,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(m.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){if(this._saveData){var e=t.length;!(this.data&&this.data.length===e)&&L&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e}},e.prototype.appendPath=function(t){if(this._saveData){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();var o=this.data;if(L&&(o instanceof Float32Array||!o)&&(this.data=new Float32Array(i+n),i>0&&o))for(var a=0;a<i;a++)this.data[a]=o[a];for(var r=0;r<e;r++)for(var s=t[r].data,a=0;a<s.length;a++)this.data[i++]=s[a];this._len=i}},e.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>
10&&(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,L&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){b[0]=b[1]=S[0]=S[1]=Number.MAX_VALUE,w[0]=w[1]=M[0]=M[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,_=0,x=0;for(t=0;t<this._len;){var A=e[t++],T=1===t;switch(T&&(n=e[t],o=e[t+1],_=n,x=o),A){case m.M:n=_=e[t++],o=x=e[t++],S[0]=_,S[1]=x,M[0]=_,M[1]=x;break;case m.L:g(n,o,e[t],e[t+1],S,M),n=e[t++],o=e[t++];break;case m.C:!function(t,e,n,i,r,o,u,h,c,p){var d=a.lX,f=a.Yb,g=d(t,n,r,u,y);c[0]=1/0,c[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<g;m++){var _=f(t,n,r,u,y[m]);c[0]=s(_,c[0]),p[0]=l(_,p[0])}g=d(e,i,o,h,v);for(var m=0;m<g;m++){var x=f(e,i,o,h,v[m]);c[1]=s(x,c[1]),p[1]=l(x,p[1])}c[0]=s(t,c[0]),p[0]=l(t,p[0]),c[0]=s(u,c[0]),p[0]=l(u,p[0]),c[1]=s(e,c[1]),p[1]=l(e,p[1]),c[1]=s(h,c[1]),p[1]=l(h,p[1])}(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],S,M),n=e[t++],o=e[t++];break;case m.Q:!function(t,e,n,i,r,o,u,h){var c=a.gC,p=a.k3,d=l(s(c(t,n,r),1),0),f=l(s(c(e,i,o),1),0),g=p(t,n,r,d),y=p(e,i,o,f);u[0]=s(t,r,g),u[1]=s(e,o,y),h[0]=l(t,r,g),h[1]=l(e,o,y)}(n,o,e[t++],e[t++],e[t],e[t+1],S,M),n=e[t++],o=e[t++];break;case m.A:var I=e[t++],D=e[t++],O=e[t++],L=e[t++],P=e[t++],R=e[t++]+P;t+=1;var N=!e[t++];T&&(_=C(P)*O+I,x=k(P)*L+D),function(t,e,n,r,o,a,s,l,g){var y=i.min,v=i.max,m=Math.abs(o-a);if(m%c<1e-4&&m>1e-4){l[0]=t-n,l[1]=e-r,g[0]=t+n,g[1]=e+r;return}if(p[0]=h(o)*n+t,p[1]=u(o)*r+e,d[0]=h(a)*n+t,d[1]=u(a)*r+e,y(l,p,d),v(g,p,d),(o%=c)<0&&(o+=c),(a%=c)<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(f[0]=h(x)*n+t,f[1]=u(x)*r+e,y(l,f,l),v(g,f,g))}(I,D,O,L,P,R,N,S,M),n=C(R)*O+I,o=k(R)*L+D;break;case m.R:g(_=n=e[t++],x=o=e[t++],_+e[t++],x+e[t++],S,M);break;case m.Z:n=_,o=x}i.min(b,b,S),i.max(w,w,M)}return 0===t&&(b[0]=b[1]=w[0]=w[1]=0),new r.A(b[0],b[1],w[0]-b[0],w[1]-b[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,h=0,c=0,p=0;p<e;){var d=t[p++],f=1===p;f&&(r=t[p],o=t[p+1],s=r,l=o);var g=-1;switch(d){case m.M:r=s=t[p++],o=l=t[p++];break;case m.L:var y=t[p++],v=t[p++],_=y-r,x=v-o;(I(_)>n||I(x)>i||p===e-1)&&(g=Math.sqrt(_*_+x*x),r=y,o=v);break;case m.C:var b=t[p++],w=t[p++],y=t[p++],v=t[p++],S=t[p++],M=t[p++];g=(0,a.h0)(r,o,b,w,y,v,S,M,10),r=S,o=M;break;case m.Q:var b=t[p++],w=t[p++],y=t[p++],v=t[p++];g=(0,a.d8)(r,o,b,w,y,v,10),r=y,o=v;break;case m.A:var D=t[p++],L=t[p++],P=t[p++],R=t[p++],N=t[p++],B=t[p++],z=B+N;p+=1,f&&(s=C(N)*P+D,l=k(N)*R+L),g=T(P,R)*A(O,Math.abs(B)),r=C(z)*P+D,o=k(z)*R+L;break;case m.R:s=r=t[p++],l=o=t[p++],g=2*t[p++]+2*t[p++];break;case m.Z:var _=s-r,x=l-o;g=Math.sqrt(_*_+x*x),r=s,o=l}g>=0&&(u[c++]=g,h+=g)}return this._pathLen=h,h},e.prototype.rebuildPath=function(t,e){var n,i,r,o,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,y=this._len,v=e<1,b=0,w=0,S=0;if(!v||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,h=e*this._pathLen))n:for(var M=0;M<y;){var D=d[M++],O=1===M;switch(O&&(r=d[M],o=d[M+1],n=r,i=o),D!==m.L&&S>0&&(t.lineTo(c,p),S=0),D){case m.M:n=r=d[M++],i=o=d[M++],t.moveTo(r,o);break;case m.L:s=d[M++],l=d[M++];var L=I(s-r),P=I(l-o);if(L>f||P>g){if(v){var R=u[w++];if(b+R>h){var N=(h-b)/R;t.lineTo(r*(1-N)+s*N,o*(1-N)+l*N);break n}b+=R}t.lineTo(s,l),r=s,o=l,S=0}else{var B=L*L+P*P;B>S&&(c=s,p=l,S=B)}break;case m.C:var z=d[M++],E=d[M++],F=d[M++],V=d[M++],H=d[M++],W=d[M++];if(v){var R=u[w++];if(b+R>h){var N=(h-b)/R;(0,a.YT)(r,z,F,H,N,_),(0,a.YT)(o,E,V,W,N,x),t.bezierCurveTo(_[1],x[1],_[2],x[2],_[3],x[3]);break n}b+=R}t.bezierCurveTo(z,E,F,V,H,W),r=H,o=W;break;case m.Q:var z=d[M++],E=d[M++],F=d[M++],V=d[M++];if(v){var R=u[w++];if(b+R>h){var N=(h-b)/R;(0,a.kx)(r,z,F,N,_),(0,a.kx)(o,E,V,N,x),t.quadraticCurveTo(_[1],x[1],_[2],x[2]);break n}b+=R}t.quadraticCurveTo(z,E,F,V),r=F,o=V;break;case m.A:var G=d[M++],Y=d[M++],U=d[M++],X=d[M++],j=d[M++],Z=d[M++],q=d[M++],K=!d[M++],$=U>X?U:X,Q=I(U-X)>.001,J=j+Z,tt=!1;if(v){var R=u[w++];b+R>h&&(J=j+Z*(h-b)/R,tt=!0),b+=R}if(Q&&t.ellipse?t.ellipse(G,Y,U,X,q,j,J,K):t.arc(G,Y,$,j,J,K),tt)break n;O&&(n=C(j)*U+G,i=k(j)*X+Y),r=C(J)*U+G,o=k(J)*X+Y;break;case m.R:n=r=d[M],i=o=d[M+1],s=d[M++],l=d[M++];var te=d[M++],tn=d[M++];if(v){var R=u[w++];if(b+R>h){var ti=h-b;t.moveTo(s,l),t.lineTo(s+A(ti,te),l),(ti-=te)>0&&t.lineTo(s+te,l+A(ti,tn)),(ti-=tn)>0&&t.lineTo(s+T(te-ti,0),l+tn),(ti-=te)>
10&&t.lineTo(s,l+T(tn-ti,0));break n}b+=R}t.rect(s,l,te,tn);break;case m.Z:if(v){var R=u[w++];if(b+R>h){var N=(h-b)/R;t.lineTo(r*(1-N)+n*N,o*(1-N)+i*N);break n}b+=R}t.closePath(),r=n,o=i}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.prototype.canSave=function(){return!!this._saveData},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},69801:(t,e,n)=>{n.d(e,{A:()=>i});function i(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i||i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;(1===a||0===a)&&(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}},71478:(t,e,n)=>{n.d(e,{A:()=>w});var i=n(28010),r=n(57833),o=n(10504),a=n(24009),s=n(65184),l=n(45874),u=n(7e3),h=n(40520),c=n(17667),p=n(34707),d="__zr_normal__",f=i.Wx.concat(["ignore"]),g=(0,l.reduce)(i.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),y={},v=new o.A(0,0,0,0),m=[],_=function(){function t(t){this.id=(0,l.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,a=void 0,l=void 0,u=!1;r.parent=i?this:null;var h=!1;r.copyTransform(e);var d=null!=n.position,f=n.autoOverflowArea,g=void 0;if((f||d)&&(g=v,n.layoutRect?g.copy(n.layoutRect):g.copy(this.getBoundingRect()),i||g.applyTransform(this.transform)),d){this.calculateTextPosition?this.calculateTextPosition(y,n,g):(0,s.X4)(y,n,g),r.x=y.x,r.y=y.y,a=y.align,l=y.verticalAlign;var _=n.origin;if(_&&null!=n.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)),h=!0,r.originX=-r.x+x+(i?0:g.x),r.originY=-r.y+b+(i?0:g.y)}}null!=n.rotation&&(r.rotation=n.rotation);var w=n.offset;w&&(r.x+=w[0],r.y+=w[1],h||(r.originX=-w[0],r.originY=-w[1]));var S=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(f){var M=S.overflowRect=S.overflowRect||new o.A(0,0,0,0);r.getLocalTransform(m),(0,p.invert)(m,m),o.A.copy(M,g),M.applyTransform(m)}else S.overflowRect=null;var A=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,T=void 0,C=void 0,k=void 0;A&&this.canBeInsideText()?(T=n.insideFill,C=n.insideStroke,(null==T||"auto"===T)&&(T=this.getInsideTextFill()),(null==C||"auto"===C)&&(C=this.getInsideTextStroke(T),k=!0)):(T=n.outsideFill,C=n.outsideStroke,(null==T||"auto"===T)&&(T=this.getOutsideFill()),(null==C||"auto"===C)&&(C=this.getOutsideStroke(T),k=!0)),((T=T||"#000")!==S.fill||C!==S.stroke||k!==S.autoStroke||a!==S.align||l!==S.verticalAlign)&&(u=!0,S.fill=T,S.stroke=C,S.autoStroke=k,S.align=a,S.verticalAlign=l,e.setDefaultTextStyle(S)),e.__dirty|=c.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(),n="string"==typeof e&&(0,h.parse)(e);
1n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+255*!r*(1-i);return n[3]=1,(0,h.stringify)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,l.isObject)(t))for(var n=(0,l.keys)(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!i.getLoop()&&(!r||r===d)){var o=i.targetName,a=o?e[o]:e;i.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,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},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,n,i){var r,o=t===d;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.indexOf)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o)return void(0,l.logError)("State "+t+" not exists.");o||this.saveCurrentToNormalState(r);var u=!!(r&&r.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,r,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,p=this._textGuide;return h&&h.useState(t,e,n,u),p&&p.useState(t,e,n,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.M),r}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a){for(var s=0;s<o;s++)if(t[s]!==r[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&&i.push(u)}var h=i[o-1],p=!!(h&&h.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,p),y&&y.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.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.indexOf)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,l.indexOf)(i,t),o=(0,l.indexOf)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];(0,l.extend)(n,r),r.textConfig&&(e=e||{},(0,l.extend)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.extend)({},i?this.textConfig:n.textConfig),(0,l.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,h=0;h<f.length;h++){var c=f[h],p=r&&g[c];e&&null!=e[c]?p?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(p?(u=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(var h=0;h<this.animators.length;h++){var d=this.animators[h],y=d.targetName;d.getLoop()||d.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new r.A(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=(0,l.indexOf)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){x(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){x(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=x(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.M,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function x(t,e,n,i,o){var a=[];!function t(e,n,i,o,a,s,u,h){for(var c=(0,l.keys)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,y=!(0,l.isObject)(s),v=e.animators,m=[],_=0;_<c.length;_++){var x=c[_],w=o[x];if(null!=w&&null!=i[x]&&(y||s[x]))if(!(0,l.isObject)(w)||(0,l.isArrayLike)(w)||(0,l.isGradientObject)(w))m.push(x);else{if(n){h||(i[x]=w,e.updateDuringAnimation(n));continue}t(e,x,i[x],w,a,s&&s[x],u,h)}else h||(i[x]=w,e.updateDuringAnimation(n),m.push(x))}var S=m.length;if(!f&&S)for(var M=0;M<v.length;M++){var A=v[M];if(A.targetName===n&&A.stopTracks(m)){var T=(0,l.indexOf)(v,A);v.splice(T,1)}}
1if(a.force||(S=(m=(0,l.filter)(m,function(t){var e,n;return!((e=o[t])===(n=i[t])||(0,l.isArrayLike)(e)&&(0,l.isArrayLike)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n))})).length),S>0||a.force&&!u.length){var C=void 0,k=void 0,I=void 0;if(h){k={},g&&(C={});for(var M=0;M<S;M++){var x=m[M];k[x]=i[x],g?C[x]=o[x]:i[x]=o[x]}}else if(g){I={};for(var M=0;M<S;M++){var x=m[M];I[x]=(0,r.F)(i[x]),function(t,e,n){if((0,l.isArrayLike)(e[n]))if((0,l.isArrayLike)(t[n])||(t[n]=[]),(0,l.isTypedArray)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),b(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if((0,l.isArrayLike)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?b(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else b(o,r,a);o.length=r.length}else t[n]=e[n]}(i,o,x)}}var A=new r.A(i,!1,!1,f?(0,l.filter)(v,function(t){return t.targetName===n}):null);A.targetName=n,a.scope&&(A.scope=a.scope),g&&C&&A.whenWithKeys(0,C,m),I&&A.whenWithKeys(0,I,m),A.whenWithKeys(null==p?500:p,h?k:o,m).delay(d||0),e.addAnimator(A,n),u.push(A)}}(t,"",t,e,n=n||{},i,a,o);var s=a.length,u=!1,h=n.done,c=n.aborted,p=function(){u=!0,--s<=0&&(u?h&&h():c&&c())},d=function(){--s<=0&&(u?h&&h():c&&c())};!s&&h&&h(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function b(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}(0,l.mixin)(_,a.A),(0,l.mixin)(_,i.Ay);let w=_},73355:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(32471),r=n(37848),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(r.Ay);a.prototype.type="ring";let s=a},74410:(t,e,n)=>{n.d(e,{AF:()=>h,BE:()=>c,O0:()=>g,gV:()=>u,tP:()=>l,wZ:()=>p});var i=n(45874),r=n(28748),o=n(76172),a=n(55889),s=function(t){this.data=t.data||(t.sourceFormat===r.t1?{}:[]),this.sourceFormat=t.sourceFormat||r.vm,this.seriesLayoutBy=t.seriesLayoutBy||r.i_,this.startIndex=t.startIndex||
10,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.PU)(this,n)===a.sc.Must&&(i.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,n){n=n||p(t);var a=e.seriesLayoutBy,l=function(t,e,n,a,s){if(!t)return{dimensionsDefine:d(s),startIndex:u,dimensionsDetectedCount:l};if(e===r.Km){var l,u;"auto"===a||null==a?f(function(t){null!=t&&"-"!==t&&((0,i.isString)(t)?null==u&&(u=1):u=0)},n,t,10):u=(0,i.isNumber)(a)?a:+!!a,s||1!==u||(s=[],f(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===r.oC?t.length:t[0]?t[0].length:null}else if(e===r.Wk)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.keys)(e)}(t));else if(e===r.t1)s||(s=[],(0,i.each)(t,function(t,e){s.push(e)}));else if(e===r.mK){var h=(0,o.vj)(t[0]);l=(0,i.isArray)(h)&&h.length||1}else r.XO;return{startIndex:u,dimensionsDefine:d(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,i.clone)(e)})}function h(t){return new s({data:t,sourceFormat:(0,i.isTypedArray)(t)?r.XO:r.mK})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=r.vm;if((0,i.isTypedArray)(t))e=r.XO;else if((0,i.isArray)(t)){0===t.length&&(e=r.Km);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.isArray)(a)||(0,i.isTypedArray)(a)){e=r.Km;break}else if((0,i.isObject)(a)){e=r.Wk;break}}}}else if((0,i.isObject)(t)){for(var s in t)if((0,i.hasOwn)(t,s)&&(0,i.isArrayLike)(t[s])){e=r.t1;break}}return e}function d(t){if(t){var e=(0,i.createHashMap)();return(0,i.map)(t,function(t,n){var r={name:(t=(0,i.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function f(t,e,n,i){if(e===r.oC)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===r.Wk||e===r.t1}},74873:(t,e,n)=>{n.d(e,{A:()=>u});var i=n(45874),r=n(40520),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,i.extend)(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,r.modifyHSL)(l,null,function(t){return .5*t},function(t){return Math.min(1,1.3-t)}):o.darkColor[s]=(0,r.modifyHSL)(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};let u=o},75345:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(32471),r=n(6907),o=n(10504),a=[];let s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];
1e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.A(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(a)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(r.Ay)},75407:(t,e,n)=>{n.d(e,{IU:()=>l,N:()=>s,nF:()=>a});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=new Date().getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=new Date().getTime(),o=this,a=t;var d=s||e,f=s||n;s=null,r=i-(f?l:u)-d,clearTimeout(h),f?h=setTimeout(c,d):r>=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function s(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,h=l[o];if(l[r]!==n||h!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}}function l(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},75833:(t,e,n)=>{n.d(e,{A:()=>l});var i=n(45874),r=n(10558),o=n(58805),a=[0,1];function s(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}let l=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,r.hb)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(i.parse(t)),this.onBand&&"ordinal"===i.type&&s(n=n.slice(),i.count()),(0,r.Cb)(t,a,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&s(n=n.slice(),i.count());var o=(0,r.Cb)(t,n,a,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=(0,o.MI)(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}).ticks,a=(0,i.map)(n,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,o){var a,s,l=e.length;if(t.onBand&&!n&&l){var u=t.getExtent();if(1===l)e[0].coord=u[0],e[0].onBand=!0,a=e[1]={coord:u[1],tickValue:e[0].tickValue,onBand:!0};else{var h=e[l-1].tickValue-e[0].tickValue,c=(e[l-1].coord-e[0].coord)/h;(0,i.each)(e,function(t){t.coord-=c/2,t.onBand=!0});var p=t.scale.getExtent();s=1+p[1]-e[l-1].tickValue,a={coord:e[l-1].coord+c*s,tickValue:p[1]+1,onBand:!0},e.push(a)}var d=u[0]>u[1];f(e[0].coord,u[0])&&(o?e[0].coord=u[0]:e.shift()),o&&f(u[0],e[0].coord)&&e.unshift({coord:u[0],onBand:!0}),f(u[1],a.coord)&&(o?a.coord=u[1]:e.pop()),o&&f(a.coord,u[1])&&e.push({coord:u[1],onBand:!0})}function f(t,e){return t=(0,r.LI)(t),e=(0,r.LI)(e),d?t>e:t<e}}(this,a,e.get("alignWithLabel"),t.clamp),a},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,i.map)(e,function(t){return(0,i.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.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(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+ +!!this.onBand;return 0===n&&(n=1),Math.abs(Math.abs(t[1]-t[0]))/n},t.prototype.calculateCategoryInterval=function(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.EO)(this,t)},t}()},76172:(t,e,n)=>{n.d(e,{$r:()=>x,Bq:()=>C,D$:()=>k,GX:()=>m,HB:()=>S,Il:()=>D,JO:()=>T,JS:()=>u,M5:()=>l,O0:()=>y,O2:()=>p,US:()=>M,UW:()=>A,XJ:()=>I,_e:()=>w,le:()=>_,oh:()=>v,qB:()=>s,vS:()=>g,vj:()=>h,zu:()=>c});var i=n(45874),r=n(98573),o=n(10558),a="series\0";function s(t){return t instanceof Array?t:null==t?[]:[t]}function l(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var u=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function h(t){return!(0,i.isObject)(t)||(0,i.isArray)(t)||t instanceof Date?t:t.value}function c(t){return(0,i.isObject)(t)&&!(t instanceof Array)}function p(t,e,n){var r,o,s,l,u,h,c,p,g,y,m,_,x,b="normalMerge"===n,w="replaceMerge"===n,S="replaceAll"===n;t=t||[],e=(e||[]).slice();var M=(0,i.createHashMap)();(0,i.each)(e,function(t,n){if(!(0,i.isObject)(t)){e[n]=null;return}});var A=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||v(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,M,n);return(b||w)&&(r=A,o=t,s=M,l=e,(0,i.each)(l,function(t,e){if(t&&null!=t.id){var n=f(t.id),a=s.get(n);if(null!=a){var u=r[a];(0,i.assert)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),b&&(u=A,h=e,(0,i.each)(h,function(t,e){if(t&&null!=t.name)for(var n=0;n<u.length;n++){var i=u[n].existing;if(!u[n].newOption&&i&&(null==i.id||null==t.id)&&!v(t)&&!v(i)&&d("name",i,t)){u[n].newOption=t,h[e]=null;return}}})),b||w?(c=A,p=e,g=w,(0,i.each)(p,function(t){if(t){for(var e,n=0;(e=c[n])&&(e.newOption||v(e.existing)||e.existing&&null!=t.id&&!d("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=g):c.push({newOption:t,brandNew:g,existing:null,keyInfo:null}),n++}})):S&&(y=A,m=e,(0,i.each)(m,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=A,x=(0,i.createHashMap)(),(0,i.each)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}
1),(0,i.each)(_,function(t){var e=t.newOption;(0,i.assert)(!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,i.each)(_,function(t,e){var n=t.existing,r=t.newOption,o=t.keyInfo;if((0,i.isObject)(r)){if(o.name=null!=r.name?f(r.name):n?n.name:a+e,n)o.id=f(n.id);else if(null!=r.id)o.id=f(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),A}function d(t,e,n){var i=g(e[t],null),r=g(n[t],null);return null!=i&&null!=r&&i===r}function f(t){return g(t,"")}function g(t,e){return null==t?e:(0,i.isString)(t)?t:(0,i.isNumber)(t)||(0,i.isStringSafe)(t)?t+"":e}function y(t){var e=t.name;return!!(e&&e.indexOf(a))}function v(t){return t&&null!=t.id&&0===f(t.id).indexOf("\0_ec_\0")}function m(t,e,n){(0,i.each)(t,function(t){var r,o,a,s,l=t.newOption;(0,i.isObject)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})}function _(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.isArray)(e.dataIndex)?(0,i.map)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.isArray)(e.name)?(0,i.map)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function x(){var t="__ec_inner_"+b++;return function(e){return e[t]||(e[t]={})}}var b=(0,o.IH)();function w(t,e,n){var i=S(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=T(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function S(t,e){if((0,i.isString)(t)){var n,r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.createHashMap)(),a={},s=!1;return(0,i.each)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,i.indexOf)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var M={useDefault:!0,enableAll:!1,enableNone:!1},A={useDefault:!1,enableAll:!0,enableNone:!0};function T(t,e,n,i){i=i||M;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}if("none"===r||!1===r)if(i.enableNone)return s.models=[],s;else r=-1;return"all"===r&&(r=i.enableAll?o=a=null:-1),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s}function C(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function k(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function I(t){return"auto"===t?r.A.domSupported?"html":"richText":t||"html"}function D(t,e,n,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,i.isNumber)(r)){var l,u=(r-(l=n||0))*a+l;return(0,o.LI)(u,s?Math.max((0,o.XV)(n||0),(0,o.XV)(r)):e)}if((0,i.isString)(r))return a<1?n:r;for(var h=[],c=Math.max(n?n.length:0,r.length),p=0;p<c;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)h[p]=(a<1&&n?n:r)[p];else{var f=n&&n[p]?n[p]:0,g=r[p],u=(g-f)*a+f;h[p]=(0,o.LI)(u,s?Math.max((0,o.XV)(f),(0,o.XV)(g)):e)}}return h}function O(){}O.prototype.reset=function(t,e,n,i){return this._list=t,this._step=i=i||1,this._idx=e,this._end=null!=n?n:i>0?t.length:0,this.item=null,this.key=NaN,this},O.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)}},77841:(t,e,n)=>{n.d(e,{f$:()=>I,Dt:()=>L,wq:()=>N,j2:()=>P,Rx:()=>C,JJ:()=>D,SS:()=>z,ry:()=>O,af:()=>k,PP:()=>F,Qs:()=>E,PJ:()=>R,PN:()=>B});var i=n(45874),r=n(63718),o=n(51580),a=n(19937),s=n(10558);function l(t){return t.dim+t.index}var u=n(32471),h=n(55210),c=n(67493),p=n(99856),d=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},f=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,u.C6)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,h.GP)(t.value,h.Lm[(0,h.$9)((0,h.ym)(this._minLevelUnit))]||h.Lm.second,e,this.get
1Setting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,h.X_)(t,e,n,r,i)},e.prototype.getTicks=function(t){t=t||{};var e=this._interval,n=this._extent,r=(0,p.m)(),o=[];if(!e)return o;var a=this.getSetting("useUTC");if(r&&"only_break"===t.breakTicks)return(0,p.m)().addBreaksToTicks(o,this._brkCtx.breaks,this._extent),o;var l=(0,h.WD)(n[1],a);o.push({value:n[0],time:{level:0,upperTimeUnit:l,lowerTimeUnit:l}});var u=function(t,e,n,r,o,a){for(var l=h.F7,u=0,c=[],p=[],d=0,f=0,g=0;g<l.length;++g){var m=(0,h.ym)(l[g]);if((0,h.ce)(l[g])&&(!function(t,o,l){var c=[],p=!o.length;if(!y((0,h.ym)(t),r[0],r[1],n)){p&&(o=[{value:(m=r[0],_=Math.max(0,(0,i.indexOf)(h.vy,t)-1),(0,h._l)(new Date(m),h.vy[_],n).getTime())},{value:r[1]}]);for(var d=0;d<o.length-1;d++){var f=o[d].value,g=o[d+1].value;if(f!==g){var m,_,x,b,w,S=void 0,M=void 0,A=void 0;switch(t){case"year":S=Math.max(1,Math.round(e/h.CZ/365)),M=(0,h.hY)(n),A=(0,h.tM)(n);break;case"half-year":case"quarter":case"month":S=(x=e/(30*h.CZ))>6?6:x>3?3:x>2?2:1,M=(0,h.jJ)(n),A=(0,h.xu)(n);break;case"week":case"half-week":case"day":S=(b=e/h.CZ)>16?16:b>7.5?7:b>3.5?4:b>1.5?2:1,M=(0,h.bP)(n),A=(0,h.ti)(n);break;case"half-day":case"quarter-day":case"hour":S=(w=e/h.MA)>12?12:w>6?6:w>3.5?4:w>2?2:1,M=(0,h.iC)(n),A=(0,h.Yd)(n);break;case"minute":S=v(e,!0),M=(0,h.yB)(n),A=(0,h.KF)(n);break;case"second":S=v(e,!1),M=(0,h.Wf)(n),A=(0,h.ww)(n);break;case"millisecond":S=s.Cm(e,!0),M=(0,h.Zz)(n),A=(0,h.FP)(n)}g>=r[0]&&f<=r[1]&&function(t,e,n,i,o,s){for(var l,h,c,p=((l=new Date(0))[o](1),h=l.getTime(),l[o](1+t),c=l.getTime()-h,function(t,e){return Math.max(0,Math.round((e-t)/c))}),d=e,f=new Date(d);d<n&&d<=r[1]&&(s.push({value:d}),!(u++>1e4));)if(f[o](f[i]()+t),d=f.getTime(),a){var g=a.calcNiceTickMultiple(d,p);g>0&&(f[o](f[i]()+g*t),d=f.getTime())}s.push({value:d,notAdd:!0})}(S,f,g,M,A,c),"year"===t&&l.length>1&&0===d&&l.unshift({value:l[0].value-S})}}for(var d=0;d<c.length;d++)l.push(c[d])}}(l[g],c[c.length-1]||[],p),m!==(l[g+1]?(0,h.ym)(l[g+1]):null))){if(p.length){f=d,p.sort(function(t,e){return t.value-e.value});for(var _=[],x=0;x<p.length;++x){var b=p[x].value;(0===x||p[x-1].value!==b)&&(_.push(p[x]),b>=r[0]&&b<=r[1]&&d++)}var w=o/e;if(d>1.5*w&&f>w/1.5||(c.push(_),d>w||t===l[g]))break}p=[]}}for(var S=(0,i.filter)((0,i.map)(c,function(t){return(0,i.filter)(t,function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd})}),function(t){return t.length>0}),M=[],A=S.length-1,g=0;g<S.length;++g)for(var T=S[g],C=0;C<T.length;++C){var k=(0,h.WD)(T[C].value,n);M.push({value:T[C].value,time:{level:A-g,upperTimeUnit:k,lowerTimeUnit:k}})}M.sort(function(t,e){return t.value-e.value});for(var I=[],g=0;g<M.length;++g)(0===g||M[g].value!==M[g-1].value)&&I.push(M[g]);return I}(this._minLevelUnit,this._approxInterval,a,n,this._getExtentSpanWithBreaks(),this._brkCtx);o=o.concat(u);var c=(0,h.WD)(n[1],a);o.push({value:n[1],time:{level:0,upperTimeUnit:c,lowerTimeUnit:c}});var d=this.getSetting("useUTC"),f=h.vy.length-1,g=0;return(0,i.each)(o,function(t){f=Math.min(f,(0,i.indexOf)(h.vy,t.time.upperTimeUnit)),g=Math.max(g,t.time.level)}),r&&(0,p.m)().pruneTicksByBreak(t.pruneByBreak,o,this._brkCtx.breaks,function(t){return t.value},this._approxInterval,this._extent),r&&"none"!==t.breakTicks&&(0,p.m)().addBreaksToTicks(o,this._brkCtx.breaks,this._extent,function(t){for(var e=Math.max((0,i.indexOf)(h.vy,(0,h.WD)(t.vmin,d)),(0,i.indexOf)(h.vy,(0,h.WD)(t.vmax,d))),n=0,r=0;r<h.vy.length;r++)if(!y(h.vy[r],t.vmin,t.vmax,d)){n=r;break}var o=Math.min(n,f),a=Math.max(o,e);return{level:g,lowerTimeUnit:h.vy[a],upperTimeUnit:h.vy[o]}}),o},e.prototype.calcNiceExtent=function(t){var e=this.getExtent();if(e[0]===e[1]&&(e[0]-=h.CZ,e[1]+=h.CZ),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-h.CZ}this._innerSetExtent(e[0],e[1]),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._getExtentSpanWithBreaks();this._approxInterval=i/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var r=g.length,o=Math.min(d(g,this._approxInterval,0,r),r-1);this._interval=g[o][1],this._intervalPrecision=c.u$(this._interval),this._minLevelUnit=g[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return(0,i.isNumber)(t)?t:+s._U(t)},e.prototype.contain=function(t){return c.lP(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.type="time",e}(o.A),g=[["second",h.OY],["minute",h.iW],["hour",h.MA],["quarter-day",6*h.MA],["half-day",12*h.MA],["day",1.2*h.CZ],["half-week",3.5*h.CZ],["week",7*h.CZ],["month",31*h.CZ],["quarter",95*h.CZ],["half-year",h.$H/2],["year",h.$H]];function y(t,e,n,i){return(0,h._l)(new Date(e),t,i).getTime()===(0,h._l)(new Date(n),t,i).getTime()}function v(t,e){return(t/=e?h.iW:h.OY)>
130?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}a.A.registerClass(f);var m=s.LI,_=Math.floor,x=Math.ceil,b=Math.pow,w=Math.log,S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new o.A,e}return(0,u.C6)(e,t),e.prototype.getTicks=function(e){e=e||{};var n=this._extent.slice(),r=this._originalScale.getExtent(),o=t.prototype.getTicks.call(this,e),a=this.base,s=this._originalScale._innerGetBreaks(),l=(0,p.m)();return i.map(o,function(t){var e,i=t.value,o=null,u=b(a,i);if(i===n[0]&&this._fixMin?o=r[0]:i===n[1]&&this._fixMax&&(o=r[1]),l){var h=l.getTicksLogTransformBreak(t,a,s,M);e=h.vBreak,null==o&&(o=h.brkRoundingCriterion)}return null!=o&&(u=M(u,o)),{value:u,break:e}},this)},e.prototype._getNonTransBreaks=function(){return this._originalScale._innerGetBreaks()},e.prototype.setExtent=function(e,n){this._originalScale.setExtent(e,n);var i=(0,c.Jd)(this.base,[e,n]);t.prototype.setExtent.call(this,i[0],i[1])},e.prototype.getExtent=function(){var e=this.base,n=t.prototype.getExtent.call(this);n[0]=b(e,n[0]),n[1]=b(e,n[1]);var i=this._originalScale.getExtent();return this._fixMin&&(n[0]=M(n[0],i[0])),this._fixMax&&(n[1]=M(n[1],i[1])),n},e.prototype.unionExtentFromData=function(t,e){this._originalScale.unionExtentFromData(t,e);var n=(0,c.Jd)(this.base,t.getApproximateExtent(e),!0);this._innerUnionExtent(n)},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent.slice(),n=this._getExtentSpanWithBreaks();if(isFinite(n)&&!(n<=0)){var i=s.au(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&1>Math.abs(i)&&Math.abs(i)>0;)i*=10;var r=[m(x(e[0]/i)*i),m(_(e[1]/i)*i)];this._interval=i,this._intervalPrecision=(0,c.u$)(i),this._niceExtent=r}},e.prototype.calcNiceExtent=function(e){t.prototype.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},e.prototype.contain=function(e){return e=w(e)/w(this.base),t.prototype.contain.call(this,e)},e.prototype.normalize=function(e){return e=w(e)/w(this.base),t.prototype.normalize.call(this,e)},e.prototype.scale=function(e){return e=t.prototype.scale.call(this,e),b(this.base,e)},e.prototype.setBreaksFromOption=function(t){var e=(0,p.m)();if(e){var n=e.logarithmicParseBreaksFromOption(t,this.base,i.bind(this.parse,this)),r=n.parsedOriginal,o=n.parsedLogged;this._originalScale._innerSetBreak(r),this._innerSetBreak(o)}},e.type="log",e}(o.A);function M(t,e){return m(t,s.XV(e))}a.A.registerClass(S);var A=n(12224),T=n(37064);function C(t,e){var n=t.type,r=(0,T.Tc)(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var o=r.min,a=r.max,u=e.ecModel;if(u&&"time"===n){var h=(g=[],u.eachSeriesByType("bar",function(t){var e;(e=t).coordinateSystem&&"cartesian2d"===e.coordinateSystem.type&&g.push(t)}),g),c=!1;if(i.each(h,function(t){c=c||t.getBaseAxis()===e.axis}),c){var p,d,f,g,y,v,m=function(t,e,n,r){var o=n.axis.getExtent(),a=Math.abs(o[1]-o[0]),s=function(t,e){if(t&&e)return t[l(e)]}(r,n.axis);if(void 0===s)return{min:t,max:e};var u=1/0;i.each(s,function(t){u=Math.min(t.offset,u)});var h=-1/0;i.each(s,function(t){h=Math.max(t.offset+t.width,h)});var c=(u=Math.abs(u))+(h=Math.abs(h)),p=e-t,d=p/(1-(u+h)/a)-p;return e+=h/c*d,{min:t-=u/c*d,max:e}}(o,a,e,(y=function(t){var e={};(0,i.each)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}});var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}(h),v=[],(0,i.each)(h,function(t){var e,n,i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=y[r.dim+"_"+r.index],u=Math.abs(o[1]-o[0]),h=r.scale.getExtent(),c=Math.abs(h[1]-h[0]);i=a?u/c*a:u}else{var p=t.getData();i=Math.abs(o[1]-o[0])/p.count()}var d=(0,s.lo)(t.get("barWidth"),i),f=(0,s.lo)(t.get("barMaxWidth"),i),g=(0,s.lo)(t.get("barMinWidth")||((e=t).pipelineContext&&e.pipelineContext.large?.5:1),i),m=t.get("barGap"),_=t.get("barCategoryGap"),x=t.get("defaultBarGap");v.push({bandWidth:i,barWidth:d,barMaxWidth:f,barMinWidth:g,barGap:m,barCategoryGap:_,defaultBarGap:x,axisKey:l(r),stackId:(n=t).get("stack")||"__ec_stack_"+n.seriesIndex})}),p=v,d={},(0,i.each)(p,function(t,e){var n=t.axisKey,i=t.bandWidth,r=d[n]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:t.defaultBarGap||0,stacks:{}},o=r.stacks;d[n]=r;var a=t.stackId;!o[a]&&r.autoWidthCount++,o[a]=o[a]||{width:0,maxWidth:0};var s=t.barWidth;s&&!o[a].width&&(o[a].width=s,s=Math.min(r.remainedWidth,s),r.remainedWidth-=s);var l=t.barMaxWidth;l&&(o[a].maxWidth=l);var u=t.barMinWidth;u&&(o[a].minWidth=u);var h=t.barGap;null!=h&&(r.gap=h);var c=t.barCategoryGap;null!=c&&(r.categoryGap=c)}),f={},(0,i.each)(d,function(t,e){f[e]={};var n,r=t.stacks,o=t.bandWidth,a=t.categoryGap;null==a&&(a=Math.max(35-4*(0,i.keys)(r).length,15)+"%");var l=(0,s.lo)(a,o),u=(0,s.lo)(t.gap,1),h=t.remainedWidth,c=t.autoWidthCount,p=(h-l)/(c+(c-1)*u);p=Math.max(p,0),(0,i.each)(r,function(t){var e=t.maxWidth,n=t.minWidth;
1if(t.width){var i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,h-=i+u*i,c--}else{var i=p;e&&e<i&&(i=Math.min(e,h)),n&&n>i&&(i=n),i!==p&&(t.width=i,h-=i+u*i,c--)}}),p=Math.max(p=(h-l)/(c+(c-1)*u),0);var d=0;(0,i.each)(r,function(t,e){t.width||(t.width=p),n=t,d+=t.width*(1+u)}),n&&(d-=n.width*u);var g=-d/2;(0,i.each)(r,function(t,n){f[e][n]=f[e][n]||{bandWidth:o,offset:g,width:t.width},g+=t.width*(1+u)})}),f));o=m.min,a=m.max}}return{extent:[o,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function k(t,e){var n=C(t,e),i=n.extent,r=e.get("splitNumber");t instanceof S&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setBreaksFromOption(F(e)),t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function I(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r.A({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new f({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(a.A.getClass(e)||o.A)}}function D(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function O(t){var e=t.getLabelModel().get("formatter");if("time"===t.type){var n=(0,h._O)(e);return function(e,i){return t.scale.getFormattedLabel(e,i,n)}}if(i.isString(e))return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")};if(!i.isFunction(e))return function(e){return t.scale.getLabel(e)};if("category"===t.type)return function(n,i){return e(L(t,n),n.value-t.scale.getExtent()[0],null)};var r=(0,p.m)();return function(n,i){var o=null;return r&&(o=r.makeAxisLabelFormatterParamBreak(o,n.break)),e(L(t,n),i,o)}}function L(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function P(t){var e=t.get("interval");return null==e?"auto":e}function R(t){return"category"===t.type&&0===P(t.getLabelModel())}function N(t,e){var n={};return i.each(t.mapDimensionsAll(e),function(e){n[(0,A.me)(t,e)]=!0}),i.keys(n)}function B(t,e,n){e&&i.each(N(e,n),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}function z(t){return"middle"===t||"center"===t}function E(t){return t.getShallow("show")}function F(t){var e,n=t.get("breaks",!0);if(null!=n){return(0,p.m)()&&("x"===(e=t.axis).dim||"y"===e.dim||"z"===e.dim||"single"===e.dim)&&"category"!==e.type?n:void 0}}},77916:(t,e,n)=>{n.d(e,{a:()=>H});var i=n(62720),r=n(32471),o=n(45874),a=n(61998),s=n(84295),l=n(52236),u=n(11374),h=n(60554),c=n(98998),p=n(75407),d=n(76172),f=(0,d.$r)(),g=o.clone,y=o.bind,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,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 h={};this.makeElOption(h,r,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=o.curry(m,e,p);this.updatePointerEl(l,h,d),this.updateLabelEl(l,h,d,e)}else l=this._group=new a.A,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),n.getZr().add(l);b(l,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=h.Yc(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=f(t).pointerEl=new s[r.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=f(t).labelEl=new l.Ay(g(e.label));t.add(r),_(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=f(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=f(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),_(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l){r&&i.remove(r),this._handle=null;return}this._handle||(e=!0,r=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){c.ds(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),i.add(r)),b(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.isArray(u)||(u=[u,u]),r.scaleX=u[0]/2,r.scaleY=u[1]/2,p.N(this,"_doDispat
1chAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,x(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(x(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(x(i)),f(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),p.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function m(t,e,n,i){!function t(e,n){if(!(o.isObject(e)&&o.isObject(n)))return e===n;var i=!0;return o.each(n,function(n,r){i=i&&t(e[r],n)}),!!i}(f(n).lastProp,i)&&(f(n).lastProp=i,e?u.oi(n,i,t):(n.stopAnimation(),n.attr(i)))}function _(t,e){t[e.get(["label","show"])?"show":"hide"]()}function x(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function b(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}var w=n(61640),S=n(91258),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=A(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=w.bY(i),c=T[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=S.Zp(a.getRect(),n);w.DA(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=S.Zp(e.axis.grid.getRect(),e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=w.Tc(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=A(o,r).getOtherAxis(r).getGlobalExtent(),l=+("x"!==r.dim),u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(v);function A(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var T={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:w.MU([e,n[0]],[e,n[1]],C(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:w.cU([e-i/2,n[0]],[i,r],C(t))}}};function C(t){return+("x"!==t.dim)}var k=n(15971),I=n(74873),D=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="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:I.A.color.border,width:1,type:"dashed"},shadowStyle:{color:I.A.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:I.A.color.neutral00,padding:[5,7,5,7],backgroundColor:I.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:I.A.color.accent40,throttle:40}},e}(k.A),O=n(32426),L=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";O.k("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>
1=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){O.h("axisPointer",e)},e.prototype.dispose=function(t,e){O.h("axisPointer",e)},e.type="axisPointer",e}(n(53623).A),P=n(38725),R=(0,d.$r)();function N(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t.dispatchAction||(0,o.bind)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){V(r)&&(r=(0,P.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,h,c,p,d,f,g,y,v,m,_=V(r),x=t.axesInfo,b=s.axesInfo,w="leave"===i||V(r),S={},M={},A={list:[],map:{}},T={showPointer:(0,o.curry)(z,M),showTooltip:(0,o.curry)(E,A)};(0,o.each)(s.coordSysMap,function(t,e){var n=_||t.containPoint(r);(0,o.each)(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(x,t);if(!w&&n&&(!x||o)){var a=o&&o.value;null!=a||_||(a=i.pointToData(r)),null!=a&&B(t,a,T,!1,S)}})});var C={};return(0,o.each)(b,function(t,e){var n=t.linkGroup;n&&!M[e]&&(0,o.each)(n.axesInfo,function(e,i){var r=M[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,F(e),F(t)))),C[t.key]=o}})}),(0,o.each)(C,function(t,e){B(b[e],t,T,!0,S)}),l=M,u=b,h=S.axesInfo=[],(0,o.each)(u,function(t,e){var n=t.axisPointerModel.option,i=l[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&h.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(V(e)||!t.list.length)return i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(A,r,t,a),c=b,d=(p=n).getZr(),f="axisPointerLastHighlights",g=R(d)[f]||{},y=R(d)[f]={},(0,o.each)(c,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.each)(n.seriesDataIndices,function(t){y[t.seriesIndex+" | "+t.dataIndex]=t})}),v=[],m=[],(0,o.each)(g,function(t,e){y[e]||m.push(t)}),(0,o.each)(y,function(t,e){g[e]||v.push(t)}),m.length&&p.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:m}),v.length&&p.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:v}),S}}function B(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries)return void n.showPointer(t,e);var s,l,u,h,c,p,d,f,g=(s=e,h=(u=(l=t).axis).dim,c=s,p=[],d=Number.MAX_VALUE,f=-1,(0,o.each)(l.seriesModels,function(t,e){var n,i,r=t.getData().mapDimensionsAll(h);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(r,s,u);i=a.dataIndices,n=a.nestestValue}else{if(!(i=t.indicesOfNearest(h,r[0],s,"category"===u.type?.5:null)).length)return;n=t.getData().get(r[0],i[0])}if(null!=n&&isFinite(n)){var l=s-n,g=Math.abs(l);g<=d&&((g<d||l>=0&&f<0)&&(d=g,f=l,c=n,p.length=0),(0,o.each)(i,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:c}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==r.seriesIndex&&(0,o.extend)(r,y[0]),!i&&t.snap&&a.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function z(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function E(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=h.og(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function F(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function V(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function H(t){i.A.registerAxisPointerClass("CartesianAxisPointer",M),t.registerComponentModel(D),t.registerComponentView(L),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.isArray)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,h.Fo)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},N)}},78067:(t,e,n)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var i,r=(i=n(38795))&&i.__esModule?i:{default:i},o=n(45480);e.createSensor=function(t,e){var n=void 0,i=[],a=function(){"static"===getComputedStyle(t).position&&(t.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",s),s()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",o.SensorClassName),e.setAttribute("tabindex",o.SensorTabIndex),e.type="text/html",t.appendChild(e),e.data="about:blank",e},s=(0,r.default)(function(){i.forEach(function(e){e(t)})}),l=function(){n&&n.parentNode&&(n.contentDocument&&n.contentDocument.defaultView.removeEventListener("resize",s),n.parentNode.removeChild(n),t.removeAttribute(o.SizeSensorId),n=void 0,i=[],e&&e())};return{element:t,bind:function(t){n||(n=a()),-1===i.indexOf(t)&&i.push(t)},destroy:l,unbind:function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1),0===i.length&&n&&l()}}}},78238:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=void 0,e.isEqual=n(31604).__importDefault(n(72167)).default},81312:(t,e,n)=>{n.d(e,{U:()=>r});var i=n(58221);function r(t,e,n){var r=e.smooth,o=e.points;if(o&&o.length>=2){if(r){var a=function(t,e,n,r){var o,a,s,l,u=[],h=[],c=[],p=[];if(r){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,i.min)(s,s,t[d]),(0,i.max)(l,l,t[d]);(0,i.min)(s,s,r[0]),(0,i.max)(l,l,r[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(n)o=t[d?d-1:f-1],a=t[(d+1)%f];else if(0===d||d===f-1){u.push((0,i.clone)(t[d]));continue}else o=t[d-1],a=t[d+1];(0,i.sub)(h,a,o),(0,i.scale)(h,h,e);var y=(0,i.distance)(g,o),v=(0,i.distance)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,i.scale)(c,h,-y),(0,i.scale)(p,h,v);var _=(0,i.add)([],g,c),x=(0,i.add)([],g,p);r&&((0,i.max)(_,_,s),(0,i.min)(_,_,l),(0,i.max)(x,x,s),(0,i.min)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],h=a[2*l+1],c=o[(l+1)%s];
1t.bezierCurveTo(u[0],u[1],h[0],h[1],c[0],c[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])}n&&t.closePath()}}},81632:(t,e,n)=>{n.d(e,{A:()=>d});var i=n(82912),r=n(10504),o=Math.min,a=Math.max,s=Math.abs,l=[0,0],u=[0,0],h=(0,r.b)(),c=h.minTv,p=h.maxTv;let d=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.A;for(var n=0;n<2;n++)this._axes[n]=new i.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.A.sub(r[0],n[1],n[0]),i.A.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e,n){var r=!0,o=!e;return(e&&i.A.set(e,0,0),h.reset(n,!o),!this._intersectCheckOneSide(this,t,o,1)&&(r=!1,o)||!this._intersectCheckOneSide(t,this,o,-1)&&(r=!1,o))?r:(o||h.negativeSize||i.A.copy(e,r?h.useDir?h.dirMinTv:c:p),r)},t.prototype._intersectCheckOneSide=function(t,e,n,r){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),h.negativeSize||l[1]<u[0]||l[0]>u[1]){if(a=!1,h.negativeSize||n)return a;var g=s(u[0]-l[1]),y=s(l[0]-u[1]);o(g,y)>p.len()&&(g<y?i.A.scale(p,f,-g*r):i.A.scale(p,f,y*r))}else if(!n){var g=s(u[0]-l[1]),y=s(l[0]-u[1]);(h.useDir||o(g,y)<c.len())&&((g<y||!h.bidirectional)&&(i.A.scale(c,f,g*r),h.useDir&&h.calcDirMTV()),(g>=y||!h.bidirectional)&&(i.A.scale(c,f,-y*r),h.useDir&&h.calcDirMTV()))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,s=e[0].dot(i)+r[t],l=s,u=s,c=1;c<e.length;c++){var p=e[c].dot(i)+r[t];l=o(p,l),u=a(p,u)}n[0]=l+h.touchThreshold,n[1]=u-h.touchThreshold,h.negativeSize=n[1]<n[0]},t}()},82912:(t,e,n)=>{n.d(e,{A:()=>i});let i=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}()},84295:(t,e,n)=>{n.r(e),n.d(e,{Arc:()=>F.A,BezierCurve:()=>E.A,BoundingRect:()=>G.A,Circle:()=>D.A,CompoundPath:()=>V.A,Ellipse:()=>O.A,Group:()=>k.A,Image:()=>C.Ay,IncrementalDisplayable:()=>X.A,Line:()=>z.A,LinearGradient:()=>H.A,OrientedBoundingRect:()=>Y.A,Path:()=>r.Ay,Point:()=>U.A,Polygon:()=>R.A,Polyline:()=>N.A,RadialGradient:()=>W.A,Rect:()=>B.A,Ring:()=>P.A,Sector:()=>L.A,Text:()=>I.Ay,WH:()=>J,XY:()=>Q,applyTransform:()=>tf,calcZ2Range:()=>tP,clipPointsByRect:()=>tv,clipRectByRect:()=>tm,createIcon:()=>t_,ensureCopyRect:()=>tD,ensureCopyTransform:()=>tO,expandOrShrinkRect:()=>tw,extendPath:()=>tn,extendShape:()=>tt,getShapeClass:()=>tr,getTransform:()=>td,groupTransition:()=>ty,initProps:()=>q.LW,isBoundingRectAxisAligned:()=>tk,isElementRemoved:()=>q.LR,lineLineIntersect:()=>tb,linePolygonIntersect:()=>tx,makeImage:()=>ta,makePath:()=>to,mergePath:()=>tl,registerShape:()=>ti,removeElement:()=>
1q.Nz,removeElementWithFadeOut:()=>q.t5,resizePath:()=>tu,retrieveZInfo:()=>tL,setTooltipConfig:()=>tA,subPixelOptimize:()=>tp,subPixelOptimizeLine:()=>th,subPixelOptimizeRect:()=>tc,transformDirection:()=>tg,traverseElements:()=>tC,traverseUpdateZ:()=>tR,updateProps:()=>q.oi});var i=n(32471),r=n(37848),o=n(68581),a=n(58221),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,h=Math.atan2,c=n(45874),p=Math.sqrt,d=Math.sin,f=Math.cos,g=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function v(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function m(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))}function _(t,e,n,i,r,o,a,s,l,u,h){var c=g/180*l,y=f(c)*(t-n)/2+d(c)*(e-i)/2,_=-1*d(c)*(t-n)/2+f(c)*(e-i)/2,x=y*y/(a*a)+_*_/(s*s);x>1&&(a*=p(x),s*=p(x));var b=(r===o?-1:1)*p((a*a*(s*s)-a*a*(_*_)-s*s*(y*y))/(a*a*(_*_)+s*s*(y*y)))||0,w=b*a*_/s,S=-(b*s)*y/a,M=(t+n)/2+f(c)*w-d(c)*S,A=(e+i)/2+d(c)*w+f(c)*S,T=m([1,0],[(y-w)/a,(_-S)/s]),C=[(y-w)/a,(_-S)/s],k=[(-1*y-w)/a,(-1*_-S)/s],I=m(C,k);if(-1>=v(C,k)&&(I=g),v(C,k)>=1&&(I=0),I<0){var D=Math.round(I/g*1e6)/1e6;I=2*g+D%2*g}h.addData(u,M,A,a,s,T,I,c,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,b=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.applyTransform=function(t){},e}(r.Ay);function S(t){return null!=t.setData}function M(t,e){var n=function(t){var e,n=new o.A;if(!t)return n;var i=0,r=0,a=0,s=0,l=o.A.CMD,u=t.match(x);if(!u)return n;for(var h=0;h<u.length;h++){for(var c=u[h],p=c.charAt(0),d=void 0,f=c.match(b)||[],g=f.length,y=0;y<g;y++)f[y]=parseFloat(f[y]);for(var v=0;v<g;){var m=void 0,w=void 0,S=void 0,M=void 0,A=void 0,T=void 0,C=void 0,k=i,I=r,D=void 0,O=void 0;switch(p){case"l":i+=f[v++],r+=f[v++],d=l.L,n.addData(d,i,r);break;case"L":i=f[v++],r=f[v++],d=l.L,n.addData(d,i,r);break;case"m":i+=f[v++],r+=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="l";break;case"M":i=f[v++],r=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="L";break;case"h":i+=f[v++],d=l.L,n.addData(d,i,r);break;case"H":i=f[v++],d=l.L,n.addData(d,i,r);break;case"v":r+=f[v++],d=l.L,n.addData(d,i,r);break;case"V":r=f[v++],d=l.L,n.addData(d,i,r);break;case"C":d=l.C,n.addData(d,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),i=f[v-2],r=f[v-1];break;case"c":d=l.C,n.addData(d,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r),i+=f[v-2],r+=f[v-1];break;case"S":m=i,w=r,D=n.len(),O=n.data,e===l.C&&(m+=i-O[D-4],w+=r-O[D-3]),d=l.C,k=f[v++],I=f[v++],i=f[v++],r=f[v++],n.addData(d,m,w,k,I,i,r);break;case"s":m=i,w=r,D=n.len(),O=n.data,e===l.C&&(m+=i-O[D-4],w+=r-O[D-3]),d=l.C,k=i+f[v++],I=r+f[v++],i+=f[v++],r+=f[v++],n.addData(d,m,w,k,I,i,r);break;case"Q":k=f[v++],I=f[v++],i=f[v++],r=f[v++],d=l.Q,n.addData(d,k,I,i,r);break;case"q":k=f[v++]+i,I=f[v++]+r,i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,k,I,i,r);break;case"T":m=i,w=r,D=n.len(),O=n.data,e===l.Q&&(m+=i-O[D-4],w+=r-O[D-3]),i=f[v++],r=f[v++],d=l.Q,n.addData(d,m,w,i,r);break;case"t":m=i,w=r,D=n.len(),O=n.data,e===l.Q&&(m+=i-O[D-4],w+=r-O[D-3]),i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,m,w,i,r);break;case"A":S=f[v++],M=f[v++],A=f[v++],T=f[v++],C=f[v++],k=i,I=r,i=f[v++],_(k,I,i,r=f[v++],T,C,S,M,A,d=l.A,n);break;case"a":S=f[v++],M=f[v++],A=f[v++],T=f[v++],C=f[v++],k=i,I=r,i+=f[v++],_(k,I,i,r+=f[v++],T,C,S,M,A,d=l.A,n)}}("z"===p||"Z"===p)&&(d=l.Z,n.addData(d),i=a,r=s),e=d}return n.toStatic(),n}(t),i=(0,c.extend)({},e);return i.buildPath=function(t){var e=S(t);if(e&&t.canSave()){t.appendPath(n);var i=t.getContext();i&&t.rebuildPath(i,1)}else{var i=e?t.getContext():t;i&&n.rebuildPath(i,1)}},i.applyTransform=function(t){!function(t,e){if(e){var n,i,r,o,c,p,d=t.data,f=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<f;){switch(n=d[r++],o=r,i=0,n){case g:case v:i=1;break;case y:i=3;break;case x:i=2;break;case _:var b=e[4],w=e[5],S=u(e[0]*e[0]+e[1]*e[1]),M=u(e[2]*e[2]+e[3]*e[3]),A=h(-e[1]/M,e[0]/S);d[r]*=S,d[r++]+=b,d[r]*=M,d[r++]+=w,d[r++]*=S,d[r++]*=M,d[r++]+=A,d[r++]+=A,r+=2,o=r;break;case m:p[0]=d[r++],p[1]=d[r++],(0,a.applyTransform)(p,p,e),d[o++]=p[0],d[o++]=p[1],p[0]+=d[r++],p[1]+=d[r++],(0,a.applyTransform)(p,p,e),d[o++]=p[0],d[o++]=p[1]}for(c=0;c<i;c++){var T=l[c];T[0]=d[r++],T[1]=d[r++],(0,a.applyTransform)(T,T,e),d[o++]=T[0],d[o++]=T[1]}}t.increaseVersion()}}(n,t),this.dirtyShape()},i}var A=n(34707),T=n(28010),C=n(9496),k=n(61998),I=n(52236),D=n(54581),O=n(21369),L=n(14799),P=n(73355),R=n(22557),N=n(43653),B=n(52121),z=n(13775),E=n(51973),F=n(17323),V=n(60629),H=n(96138),W=n(87488),G=n(10504),Y=n(81632),U=n(82912),X=n(75345),j=n(25861),Z=n(67966),q=n(11374),K=n(10558),$={},Q=["x","y"],J=["width","height"];function tt(t){return r.Ay.extend(t)}var te=function(t,e){var n=M(t,e),r=w;function o(t){var e=r.call(this,t)||this;return e.applyTransform=n.applyTransform,e.buildPath=n.buildPath,e}return(0,i.C6)(o,r),o};function tn(t,e){return te(t,e)}function ti(t,e){$[t]=e}function tr(t){if($.hasOwnProperty(t))return $[t]}function to(t,e,n,i){var r=new w(M(t,e));
1return n&&("center"===i&&(n=ts(n,r.getBoundingRect())),tu(r,n)),r}function ta(t,e,n){var i=new C.Ay({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(ts(e,r))}}});return i}function ts(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var tl=function(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(S(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s};function tu(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function th(t,e){return j.eB(t,t,{lineWidth:e}),t}function tc(t,e){return j.Op(t,t,e),t}var tp=j.M7;function td(t,e){for(var n=A.identity([]);t&&t!==e;)A.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function tf(t,e,n){return e&&!(0,c.isArrayLike)(e)&&(e=T.Ay.getLocalTransform(e)),n&&(e=A.invert([],e)),a.applyTransform([],t,e)}function tg(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:(0,K.NY)(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:(0,K.NY)(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=tf(o,e,n),(0,K.NY)(o[0])>(0,K.NY)(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function ty(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){!t.isGroup&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),(0,q.oi)(t,i,n,(0,Z.z)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,c.clone)(t.shape)),e}}function tv(t,e){return(0,c.map)(t,function(t){var n=t[0];n=(0,K.JB)(n,e.x),n=(0,K.rp)(n,e.x+e.width);var i=t[1];return i=(0,K.JB)(i,e.y),[n,i=(0,K.rp)(i,e.y+e.height)]})}function tm(t,e){var n=(0,K.JB)(t.x,e.x),i=(0,K.rp)(t.x+t.width,e.x+e.width),r=(0,K.JB)(t.y,e.y),o=(0,K.rp)(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function t_(t,e,n){var i=(0,c.extend)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,c.defaults)(r,n),new C.Ay(i)):to(t.replace("path://",""),i,n,"center")}function tx(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(tb(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function tb(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=c*h-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=(f*h-u*g)/d;if(y<0||y>1)return!1;var v=(f*p-c*g)/d;return!(v<0)&&!(v>1)}function tw(t,e,n,i,r){return null==e||((0,c.isNumber)(e)?tS[0]=tS[1]=tS[2]=tS[3]=e:(tS[0]=e[0],tS[1]=e[1],tS[2]=e[2],tS[3]=e[3]),i&&(tS[0]=(0,K.JB)(0,tS[0]),tS[1]=(0,K.JB)(0,tS[1]),tS[2]=(0,K.JB)(0,tS[2]),tS[3]=(0,K.JB)(0,tS[3])),n&&(tS[0]=-tS[0],tS[1]=-tS[1],tS[2]=-tS[2],tS[3]=-tS[3]),tM(t,tS,"x","width",3,1,r&&r[0]||0),tM(t,tS,"y","height",0,2,r&&r[1]||0)),t}var tS=[0,0,0,0];function tM(t,e,n,i,r,o,a){var s=e[o]+e[r],l=t[i];t[i]+=s,a=(0,K.JB)(0,(0,K.rp)(a,l)),t[i]<a?(t[i]=a,t[n]+=e[r]>=0?-e[r]:e[o]>=0?l+e[o]:(0,K.NY)(s)>1e-8?(l-a)*e[r]/s:0):t[n]-=e[r]}function tA(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,c.isString)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,c.each)((0,c.keys)(l),function(t){(0,c.hasOwn)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,Z.z)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,c.defaults)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function tT(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function tC(t,e){if(t)if((0,c.isArray)(t))for(var n=0;n<t.length;n++)tT(t[n],e);else tT(t,e)}function tk(t){return!t||(0,K.NY)(t[1])<tI&&(0,K.NY)(t[2])<tI||(0,K.NY)(t[0])<tI&&(0,K.NY)(t[3])<tI}var tI=1e-5;function tD(t,e){return t?G.A.copy(t,e):e.clone()}function tO(t,e){return e?A.copy(t||A.create(),e):void 0}
1function tL(t){return{z:t.get("z")||0,zlevel:t.get("zlevel")||0}}function tP(t){var e=-1/0,n=1/0;function i(t){if(t&&!t.isGroup){var e=t.currentStates;if(e.length)for(var n=0;n<e.length;n++)r(t.states[e[n]]);r(t)}}function r(t){if(t){var i=t.z2;i>e&&(e=i),i<n&&(n=i)}}return tT(t,function(t){i(t),i(t.getTextContent()),i(t.getTextGuideLine())}),n>e&&(n=e=0),{min:n,max:e}}function tR(t,e,n){!function t(e,n,i,r){if(e.ignoreModelZ)return r;var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=(0,K.JB)(t(s[l],n,i,r),r);else e.z=n,e.zlevel=i,r=(0,K.JB)(e.z2||0,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,e,n,-1/0)}$.circle=D.A,$.ellipse=O.A,$.sector=L.A,$.ring=P.A,$.polygon=R.A,$.polyline=N.A,$.rect=B.A,$.line=z.A,$.bezierCurve=E.A,$.arc=F.A},84815:(t,e,n)=>{n.d(e,{A:()=>z,v:()=>P});var i,r=n(45874),o=n(61293),a=n(77841),s=n(32471),l=n(10504),u=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 r.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),r.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),h=n(34707),c=n(58221),p=["x","y"];function d(t){return("interval"===t.type||"time"===t.type)&&!t.hasBreaks()}var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=p,e}return(0,s.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(d(t)&&d(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,p=r[1]-i[0]*u,f=this._transform=[l,0,0,u,c,p];this._invTransform=(0,h.invert)([],f)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new l.A(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,c.applyTransform)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[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,n){if(n=n||[],this._invTransform)return(0,c.applyTransform)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new l.A(i,r,o,a)},e}(u),g=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,s.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(n(75833).A),y=n(76172),v=n(33936),m=n(91258),_=n(67493),x=n(10558),b=n(51580),w=n(84295),S=n(14490),M=n(58805),A=n(54169),T=[[3,1],[0,2]],C=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=p,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=(0,r.keys)(t),i=n.length;if(i){for(var o=[],s=i-1;s>=0;s--){var l=t[+n[s]],u=l.model,h=l.scale;(0,_.rf)(h)&&u.get("alignTicks")&&null==u.get("interval")?o.push(l):((0,a.af)(h,u),(0,_.rf)(h)&&(e=l))}o.length&&(e||(e=o.pop(),(0,a.af)(e.scale,e.model)),(0,r.each)(o,function(t){!function(t,e,n){var i=b.A.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,{expandToNicedExtent:!0}),s=r.length-1,l=i.getInterval.call(n),u=(0,a.Rx)(t,e),h=u.extent,c=u.fixMin,p=u.fixMax;"log"===t.type&&(h=(0,_.Jd)(t.base,h,!0)),t.setBreaksFromOption((0,a.PP)(e)),t.setExtent(h[0],h[1]),t.calcNiceExtent({splitNumber:s,fixMin:c,fixMax:p});var d=i.getExtent.call(t);c&&(h[0]=d[0]),p&&(h[1]=d[1]);var f=i.getInterval.call(t),g=h[0],y=h[1];if(c&&p)f=(y-g)/s;else if(c)for(y=h[0]+f*s;y<h[1]&&isFinite(y)&&isFinite(h[1]);)f=(0,_.kH)(f),y=h[0]+f*s;else if(p)for(g=h[1]-f*s;g>h[0]&&isFinite(g)&&isFinite(h[0]);)f=(0,_.kH)(f),g=h[1]-f*s;else{t.getTicks().length-1>s&&(f=(0,_.kH)(f));var v=f*s;y=Math.ceil(h[1]/f)*f,(g=(0,x.LI)(y-v))<0&&h[0]>=0?(g=0,y=(0,x.LI)(v)):y>0&&h[1]<=0&&(y=0,g=-(0,x.LI)(v))}var m=(r[0].value-o[0].value)/l,w=(r[s].value-o[s].value)/l;i.setExtent.call(t,g+f*m,y+f*w),i.setInterval.call(t,f),(m||w)&&i.setNiceExtent.call(t,g+f,y-f)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var o={};(0,r.each)(n.x,function(t){I(n,"y",t,o)}),(0,r.each)(n.y,function(t){I(n,"x",t,o)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var s=(0,o.Lj)(t,e),l=this._rect=(0,o.dV)(t.getBoxLayoutParams(),s.refContainer),u=this._axesMap,h=this._coordsList,c=t.get("containLabel");if(O(u,l),!n){var p=(f=l,g=h,y=u,_=c,b=e,w=new S.ts(B),(0,r.each)(y,function(t){return(0,r.each)(t,function(t){(0,a.Qs)(t.model)&&(t.axisBuilder=(0,m.oj)(f,g,t.model,b,w,!_))})}),w),d=void 0;if(c)i?(i(this._axesList,l),O(u,l)):d=R(l.clone(),"axisLabel",null,l,u,p,s);else{var f,g,y,_,b,w,A,T,C,k,I,D,L=(A=t,T=l,C=s,"same"===(I=A.get("outerBoundsMode",!0))?k=T.clone():(null==I||"auto"===I)&&(k=(0,o.dV)(A.get("outerBounds",!0)||v.GH,C.refContainer)),{outerBoundsRect:k,parsedOuterBoundsContain:null==(D=A.get("outerBoundsContain",!0))||"auto"===D||0>(0,r.indexOf)(["all","axisLabel"],D)?"all":D,outerBoundsClamp:[(0,x.LQ)((0,r.retrieve2)(A.get("outerBoundsClampWidth",!0),v.MQ[0]),T.width),(0,x.LQ)((0,r.retrieve2)(A.get("outerBoundsClampHeight",!0),v.MQ[1]),T.height)]}),P=L.outerBoundsRect,z=L.parsedOuterBoundsContain,E=L.outerBoundsClamp;P&&(d=R(P,z,E,l,u,p,s))}N(l,u,M.fm.determine,null,d,s)}(0,r.each)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,r.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i<o.length;i++)if(o[i].getAxis("x").index===t||o[i].getAxis("y").index===e)return o[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,o=t.xAxisModel||i&&i.getReferringComponents("xAxis",y.US).models[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis",y.US).models[0],s=t.gridModel,l=this._coordsList;return i?(e=i.coordinateSystem,0>(0,r.indexOf)(l,e)&&(e=null)):o&&a?e=this.getCartesian(o.componentIndex,a.componentIndex):o?n=this.getAxis("x",o.componentIndex):a?n=this.getAxis("y",a.componentIndex):s&&s.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,o=this,s={left:!1,right:!1,top:!1,bottom:!1},l={x:{},y:{}},u={x:0,y:0};if(e.eachComponent("xAxis",h("x"),this),e.eachComponent("yAxis",h("y"),this),!u.x||!u.y){this._axesMap={},this._axesList=[];return}
1function h(e){return function(n,i){if(k(n,t)){var r=n.get("position");"x"===e?"top"!==r&&"bottom"!==r&&(r=s.bottom?"top":"bottom"):"left"!==r&&"right"!==r&&(r=s.left?"right":"left"),s[r]=!0;var h=new g(e,(0,a.f$)(n),[0,0],n.get("type"),r),c="category"===h.type;h.onBand=c&&n.get("boundaryGap"),h.inverse=n.get("inverse"),n.axis=h,h.model=n,h.grid=o,h.index=i,o._axesList.push(h),l[e][i]=h,u[e]++}}}this._axesMap=l,(0,r.each)(l.x,function(e,n){(0,r.each)(l.y,function(r,o){var a="x"+n+"y"+o,s=new f(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){(0,r.each)((0,a.wq)(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}(0,r.each)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,m.ty)(t)){var i=(0,m.LR)(t),r=i.xAxisModel,o=i.yAxisModel;if(k(r,e)&&k(o,e)){var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,r.each)(this.getCartesians(),function(i){var o=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(o);0>(0,r.indexOf)(e,o)&&e.push(o),0>(0,r.indexOf)(n,a)&&n.push(a)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){(0,A.m7)({targetModel:t,coordSysType:"cartesian2d",coordSysProvider:function(){var e=(0,m.LR)(t),n=e.xAxisModel,i=e.yAxisModel;return n.getCoordSysModel().coordinateSystem.getCartesian(n.componentIndex,i.componentIndex)}})}),i},t.dimensions=p,t}();function k(t,e){return t.getCoordSysModel()===e}function I(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)D(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&D(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function D(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,a.JJ)(t)}function O(t,e){(0,r.each)(t.x,function(t){return L(t,e.x,e.width)}),(0,r.each)(t.y,function(t){return L(t,e.y,e.height)})}function L(t,e,n){var i,r,o=[0,n],a=+!!t.inverse;t.setExtent(o[a],o[1-a]),r=(i=t.getExtent())[0]+i[1],t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return r-t+e}}function P(t){i=t}function R(t,e,n,i,o,s,l){N(i,o,M.fm.estimate,e,!1,l);var u=[0,0,0,0];c(0),c(1),p(i,0,NaN),p(i,1,NaN);var h=null==(0,r.find)(u,function(t){return t>0});return(0,w.expandOrShrinkRect)(i,u,!0,!0,n),O(o,i),h;function c(t){(0,r.each)(o[w.XY[t]],function(e){if((0,a.Qs)(e.model)){var n=s.ensureRecord(e.model),i=n.labelInfoList;if(i)for(var r=0;r<i.length;r++){var o=i[r],l=e.scale.normalize((0,S.Z0)(o.label).tickValue);l=1===t?1-l:l,p(o.rect,t,l),p(o.rect,1-t,NaN)}var u=n.nameLayout;if(u){var l=(0,a.SS)(n.nameLocation)?.5:NaN;p(u.rect,t,l),p(u.rect,1-t,NaN)}}})}function p(e,n,i){var r=t[w.XY[n]]-e[w.XY[n]],o=e[w.WH[n]]+e[w.XY[n]]-(t[w.WH[n]]+t[w.XY[n]]);r=d(r,1-i),o=d(o,i);var a=T[n][0],s=T[n][1];u[a]=(0,x.JB)(u[a],r),u[s]=(0,x.JB)(u[s],o)}function d(t,e){return t>0&&!(0,r.eqNaN)(e)&&e>1e-4&&(t/=e),t}}function N(t,e,n,i,o,s){var l=n===M.fm.determine;(0,r.each)(e,function(e){return(0,r.each)(e,function(e){(0,a.Qs)(e.model)&&((0,m.Pd)(e.axisBuilder,t,e.model),e.axisBuilder.build(l?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:o}))})});var u={x:0,y:0};function h(e){u[w.XY[1-e]]=t[w.WH[e]]<=.5*s.refContainer[w.WH[e]]?0:1-e==1?2:1}h(0),h(1),(0,r.each)(e,function(t,e){return(0,r.each)(t,function(t){(0,a.Qs)(t.model)&&(("all"===i||l)&&t.axisBuilder.build({axisName:!0},{nameMarginLevel:u[e]}),l&&t.axisBuilder.build({axisLine:!0}))})})}var B=function(t,e,n,i,o,s){var l="x"===n.axis.dim?"y":"x";(0,S.x)(t,e,n,i,o,s),(0,a.SS)(t.nameLocation)||(0,r.each)(e.recordMap[l],function(t){t&&t.labelInfoList&&t.dirVec&&(0,S.RC)(t.labelInfoList,t.dirVec,i,o)})};let z=C},86960:(t,e,n)=>{function i(t,e,n,i){var r=e+1;if(r===n)return 1;if(0>i(t[r++],t[e])){for(;r<n&&0>i(t[r],t[r-1]);)r++;var o=t,a=e,s=r;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)0>r(a,t[o=s+l>>>1])?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(0>o(t,e[n+r])){for(s=r+1;l<s&&0>o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);0>o(t,e[n+h])?l=h:a=h+1}return l}function s(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=i(t,n,s,e),r(t,n,s,n+u,e);return}var h=function(t,e){var n,i,r=7,s=0,l=[];function u(u){var h=n[u],c=i[u],p=n[u+1],d=i[u+1];i[u]=c+d,u===s-3&&(n[u+1]=n[u+2],i[u+1]=i[u+2]),s--;var f=a(t[p],t,h,c,0,e);h+=f,0==(c-=f)||0!==(d=o(t[h+c-1],t,p,d,d-1,e))&&(c<=d?function(n,i,s,u){var h,c,p,d=0;for(d=0;d<i;d++)l[d]=t[n+d];var f=0,g=s,y=n;
1if(t[y++]=t[g++],0==--u){for(d=0;d<i;d++)t[y+d]=l[f+d];return}if(1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f];return}for(var v=r;;){h=0,c=0,p=!1;do if(0>e(t[g],l[f])){if(t[y++]=t[g++],c++,h=0,0==--u){p=!0;break}}else if(t[y++]=l[f++],h++,c=0,1==--i){p=!0;break}while((h|c)<v);if(p)break;do{if(0!==(h=a(t[g],l,f,i,0,e))){for(d=0;d<h;d++)t[y+d]=l[f+d];if(y+=h,f+=h,(i-=h)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(c=o(l[f],t,g,u,0,e))){for(d=0;d<c;d++)t[y+d]=t[g+d];if(y+=c,g+=c,0==(u-=c)){p=!0;break}}if(t[y++]=l[f++],1==--i){p=!0;break}v--}while(h>=7||c>=7);if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f]}else if(0===i)throw Error();else for(d=0;d<i;d++)t[y+d]=l[f+d]}(h,c,p,d):function(n,i,s,u){var h=0;for(h=0;h<u;h++)l[h]=t[s+h];var c=n+i-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[c--],0==--i){for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h];return}if(1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[c])){if(t[d--]=t[c--],v++,m=0,0==--i){_=!0;break}}else if(t[d--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;
1do{if(0!=(v=i-a(l[p],t,n,i,i-1,e))){for(d-=v,c-=v,i-=v,g=d+1,f=c+1,h=v-1;h>=0;h--)t[g+h]=t[f+h];if(0===i){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[c],l,0,u,u-1,e))){for(d-=m,p-=m,u-=m,g=d+1,f=p+1,h=0;h<m;h++)t[g+h]=l[f+h];if(u<=1){_=!0;break}}if(t[d--]=t[c--],0==--i){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p]}else if(0===u)throw Error();else for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h]}(h,c,p,d))}return n=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,i[s]=e,s+=1}}}(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=i(t,n,s,e))<c){var p=l;p>c&&(p=c),r(t,n,n+p,n+u,e),u=p}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}n.d(e,{A:()=>s})},87488:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(32471);let r=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.C6)(e,t),e}(n(4507).A)},89572:(t,e,n)=>{n.d(e,{Cb:()=>l,QX:()=>u,YK:()=>d,fU:()=>g,he:()=>v,ob:()=>s,qg:()=>f,x5:()=>y,yC:()=>h});var i=n(45874),r=n(46330),o=n(10558),a=n(55210);function s(t){if(!(0,o.kf)(t))return i.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=i.normalizeCssArray;function h(t,e,n){function r(t){return t&&i.trim(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var c=u?(0,o._U)(t):t;if(!isNaN(+c))return(0,a.GP)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(h)return"-"}if("ordinal"===e)return i.isStringSafe(t)?r(t):i.isNumber(t)&&l(t)?t+"":"-";var p=(0,o.Sm)(t);return l(p)?s(p):i.isStringSafe(t)?r(t):"boolean"==typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e,n){i.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=c[s];t=t.replace(p(l),p(l,0))}for(var u=0;u<o;u++)for(var h=0;h<a.length;h++){var d=e[u][a[h]];t=t.replace(p(c[h],u),n?(0,r.Me)(d):d)}return t}function f(t,e){var n=i.isString(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|}  ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e,n){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var i=(0,o._U)(e),r=n?"getUTC":"get",s=i[r+"FullYear"](),l=i[r+"Month"]()+1,u=i[r+"Date"](),h=i[r+"Hours"](),c=i[r+"Minutes"](),p=i[r+"Seconds"](),d=i[r+"Milliseconds"]();return t.replace("MM",(0,a.eV)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(u,2)).replace("d",u).replace("hh",(0,a.eV)(h,2)).replace("h",h).replace("mm",(0,a.eV)(c,2)).replace("m",c).replace("ss",(0,a.eV)(p,2)).replace("s",p).replace("SSS",(0,a.eV)(d,3))}function y(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function v(t,e){return e=e||"transparent",i.isString(t)?t:i.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}},89676:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;var i=n(40024);e.bind=function(t,e){var n=(0,i.getSensor)(t);return n.bind(e),function(){n.unbind(e)}},e.clear=function(t){var e=(0,i.getSensor)(t);(0,i.removeSensor)(e)}
1,e.ver="1.0.3"},91258:(t,e,n)=>{n.d(e,{LR:()=>u,Pd:()=>c,Zp:()=>s,oj:()=>h,ty:()=>l});var i=n(45874),r=n(76172),o=n(14490),a=n(67493);function s(t,e,n){n=n||{};var r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=[t.x,t.x+t.width,t.y,t.y+t.height],c={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,d="x"===u?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(a){var f=a.toGlobalCoord(a.dataToCoord(0));d[c.onZero]=Math.max(Math.min(f,d[1]),d[0])}o.position=["y"===u?d[c[l]]:h[0],"x"===u?d[c[l]]:h[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[c[s]]-d[c.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),i.retrieve(n.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}function l(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function u(t){var e={xAxisModel:null,yAxisModel:null};return i.each(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.US).models[0];e[i]=a}),e}function h(t,e,n,i,r,l){for(var u=s(t,n),h=!1,c=!1,p=0;p<e.length;p++)(0,a.rf)(e[p].getOtherAxis(n.axis).scale)&&(h=c=!0,"category"===n.axis.type&&n.axis.onBand&&(c=!1));return u.axisLineAutoShow=h,u.axisTickAutoShow=c,u.defaultNameMoveOverlap=l,new o.Ay(n,i,u,r)}function c(t,e,n){var i=s(e,n);t.updateCfg(i)}},92902:(t,e,n)=>{n.d(e,{a:()=>q});var i=n(45874),r=n(32471),o=n(76172),a=n(15971),s=n(61293);function l(t,e){var n;return i.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}var u=["transition","enterFrom","leaveTo"],h=u.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function c(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?u:h,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return(0,r.C6)(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,r=(e?n:t).elements,a=n.elements=e?[]:n.elements,u=[];this._flatten(r,u,null);var h=o.O2(a,u,"normalMerge"),p=this._elOptionsToUpdate=[];i.each(h,function(t,e){var n=t.newOption;if(n){p.push(n);var r,o,u,h,d=t.existing;if(n.id=t.keyInfo.id,!n.type&&d&&(n.type=d.type),null==n.parentId){var f=n.parentOption;f?n.parentId=f.id:d&&(n.parentId=d.parentId)}n.parentOption=null,r=i.extend({},n),o=a[e],"merge"===(u=n.$action||"merge")?o?(i.merge(o,r,!0),(0,s.YA)(o,r,{ignoreSize:!0}),(0,s.Ir)(n,o),c(n,o),c(n,o,"shape"),c(n,o,"style"),c(n,o,"extra"),n.clipPath=o.clipPath):a[e]=r:"replace"===u?a[e]=r:"remove"===u&&o&&(a[e]=null),h=a[e],h&&(h.hv=n.hv=[l(n,["left","right"]),l(n,["top","bottom"])],"group"===h.type&&(null==h.width&&(h.width=n.width=0),null==h.height&&(h.height=n.height=0)))}},this),n.elements=i.filter(a,function(t){return t&&delete t.$action,null!=t})},e.prototype._flatten=function(t,e,n){i.each(t,function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,e,t),delete t.children}},this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(a.A),d=n(6907),f=n(61998),g=n(9496),y=n(52236),v=n(84295),m=n(10558),_=n(53623),x=n(67966);function b(t,e){e&&(e.font=e.textFont||e.font,(0,i.hasOwn)(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),(0,i.hasOwn)(e,"textAlign")&&(t.align=e.textAlign),(0,i.hasOwn)(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),(0,i.hasOwn)(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),(0,i.hasOwn)(e,"textWidth")&&(t.width=e.textWidth),(0,i.hasOwn)(e,"textHeight")&&(t.height=e.textHeight),(0,i.hasOwn)(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),(0,i.hasOwn)(e,"textPadding")&&(t.padding=e.textPadding),(0,i.hasOwn)(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),(0,i.hasOwn)(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),(0,i.hasOwn)(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),(0,i.hasOwn)(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),(0,i.hasOwn)(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),(0,i.hasOwn)(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),(0,i.hasOwn)(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}var w=n(57833),S=n(11374),M=n(37848),A=n(28010),T={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},C=(0,i.keys)(T);(0,i.reduce)(A.Wx,function(t,e){return t[e]=1,t},{}),A.Wx.join(", ");var k=["","style","shape","extra"],I=(0,o.$r)();function D(t,e,n,r,o){var a=t+"Animation",s=(0,S.Jw)(t,r,o)||{},l=I(e).userDuring;return s.duration>0&&(s.during=l?(0,i.bind)(B,{el:e,userDuring:l}):null,s.setToFinal=!0,s.scope=t),(0,i.extend)(s,n[a]),s}function O(t,e,n,r){var a,s,l=(r=r||{}).dataIndex,u=r.isInit,h=r.clearStyle,c=n.isAnimationEnabled(),p=I(t),f=e.style;p.userDuring=e.during;var g={},y={};if(function(t,e){for(var n=0;n<C.length;n++){var i=C[n],r=T[i],o=t[i];o&&(e[r[0]]=o[0],e[r[1]]=o[1])}for(var n=0;n<A.Wx.length;n++){var a=A.Wx[n];null!=t[a]&&(e[a]=t[a])}}(e,y),"compound"===t.type)for(var v=t.shape.paths,m=e.shape.paths,_=0;_<m.length;_++)E("shape",m[_],v[_]);else E("shape",e,y),E("extra",e,y);if(!u&&c&&(function(t,e,n){for(var i=e.transition,r=P(i)?A.Wx:(0,o.qB)(i||[]),a=0;a<r.length;a++){var s=r[a];if("style"!==s&&"shape"!==s&&"extra"!==s){var l=t[s];n[s]=l}}}(t,e,g),z("shape",t,e,g),z("extra",t,e,g),function(t,e,n,r){if(n){var a,s=t.style;if(s){var l=n.transition,u=e.transition;if(l&&!P(l)){var h=(0,o.qB)(l);a||(a=r.style={});for(var c=0;c<h.length;c++){var p=h[c],d=s[p];a[p]=d}}else if(t.getAnimationStyleProps&&(P(u)||P(l)||(0,i.indexOf)(u,"style")>=0)){var f=t.getAnimationStyleProps(),g=f?f.style:null;if(g){a||(a=r.style={});for(var y=(0,i.keys)(n),c=0;c<y.length;c++){var p=y[c];if(g[p]){var d=s[p];a[p]=d}}}}}}}(t,e,f,g)),y.style=f,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,y,h),a=t,s=e,(0,i.hasOwn)(s,"silent")&&(a.silent=s.silent),(0,i.hasOwn)(s,"ignore")&&(a.ignore=s.ignore),a instanceof d.Ay&&(0,i.hasOwn)(s,"invisible")&&(a.invisible=s.invisible),a instanceof M.Ay&&(0,i.hasOwn)(s,"autoBatch")&&(a.autoBatch=s.autoBatch),c)if(u){var x={};(0,i.each)(k,function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(x[t]=x[t]||{}),(0,i.extend)(t?x[t]:x,n.enterFrom))});var b=D("enter",t,e,n,l);b.duration>0&&t.animateFrom(x,b)}else{var w=t,S=e,O=l||0,R=n,N=g;if(N){var B=D("update",w,S,R,O);B.duration>0&&w.animateFrom(N,B)}}L(t,e),f?t.dirty():t.markRedraw()}function L(t,e){for(var n=I(t).leaveToProps,r=0;r<k.length;r++){var o=k[r],a=o?e[o]:e;a&&a.leaveTo&&(n||(n=I(t).leaveToProps={}),o&&(n[o]=n[o]||{}),(0,i.extend)(o?n[o]:n,a.leaveTo))}}function P(t){return"all"===t}var R={},N={setTransform:function(t,e){return R.el[t]=e,this},getTransform:function(t){return R.el[t]},setShape:function(t,e){var n=R.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=R.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=R.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=R.el.style;if(e)return e[t]},setExtra:function(t,e){return(R.el.extra||(R.el.extra={}))[t]=e,this},getExtra:function(t){var e=R.el.extra;if(e)return e[t]}};function B(){var t=this.el;if(t){var e=I(t).userDuring,n=this.userDuring;if(e!==n){this.el=this.userDuring=null;return}R.el=t,n(N)}}function z(t,e,n,r){var a,s=n[t];if(s){var l=e[t];if(l){var u=n.transition,h=s.transition;if(h)if(a||(a=r[t]={}),P(h))(0,i.extend)(a,l);else for(var c=(0,o.qB)(h),p=0;p<c.length;p++){var d=c[p],f=l[d];a[d]=f}else if(P(u)||(0,i.indexOf)(u,t)>=0){a||(a=r[t]={});for(var g=(0,i.keys)(l),p=0;p<g.length;p++){var y,v,d=g[p],f=l[d];y=s[d],v=f,((0,i.isArrayLike)(y)?y!==v:null!=y&&isFinite(y))&&(a[d]=f)}}}}}function E(t,e,n){var r=e[t];if(r)for(var o=n[t]={},a=(0,i.keys)(r),s=0;s<a.length;s++){var l=a[s];o[l]=(0,w.F)(r[l])}}var F=(0,o.$r)(),V=["percent","easing","shape","style","extra"];function H(t,e,n){if(n.isAnimationEnabled()&&e){if((0,i.isArray)(e))return void(0,i.each)(e,function(e){H(t,e,n)});var r=e.keyframes,o=e.duration;if(n&&null==o){var a=(0,S.Jw)("enter",n,0);o=a&&a.duration}if(r&&o){var s=F(t);(0,i.each)(k,function(n){var a;n&&!t[n]||(r.sort(function(t,e){return t.percent-e.percent}),(0,i.each)(r,function(r){var l=t.animators,u=n?r[n]:r;if(u){var h=(0,i.keys)(u);if(n||(h=(0,i.filter)(h,function(t){return 0>(0,i.indexOf)(V,t)})),h.length){a||((a=t.animate(n,e.loop,!0)).scope="keyframe");for(var c=0;c<l.length;c++)l[c]!==a&&l[c].targetName===a.targetName&&l[c].stopTracks(h);n&&(s[n]=s[n]||{});var p=n?s[n]:s;(0,i.each)(h,function(e){p[e]=((n?t[n]:t)||{})[e]}),a.whenWithKeys(o*r.percent,u,h,r.easing)}}}),a&&a.delay(e.delay||0).duration(o).start(e.easing))})}}}var W={path:null,compoundPath:null,group:f.A,image:g.Ay,text:y.Ay},G=o.$r(),Y=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.init=function(){this._elMap=i.createHashMap()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,r=this.group,a=t.get("z"),l=t.get("zlevel");i.each(e,function(e){var u=o.vS(e.id,null),h=null!=u?n.get(u):null,c=o.vS(e.parentId,null),p=null!=c?n.get(c):r,d=e.type,f=e.style;"text"===d&&f&&e.hv&&e.hv[1]&&(f.textVerticalAlign=f.textBaseline=f.verticalAlign=f.align=null);var g=e.textContent,m=e.textConfig;if(f&&(C=!!m,k=!!g,f&&(f.legacy||!1!==f.legacy&&!C&&!k&&"tspan"!==d&&("text"===d||(0,i.hasOwn)(f,"text"))))){var _=function(t,e,n){var r,o,a;if("text"===e)a=t;else{a={},(0,i.hasOwn)(t,"text")&&(a.text=t.text),(0,i.hasOwn)(t,"rich")&&(a.rich=t.rich),(0,i.hasOwn)(t,"textFill")&&(a.fill=t.textFill),(0,i.hasOwn)(t,"textStroke")&&(a.stroke=t.textStroke),(0,i.hasOwn)(t,"fontFamily")&&(a.fontFamily=t.fontFamily),(0,i.hasOwn)(t,"fontSize")&&(a.fontSize=t.fontSize),(0,i.hasOwn)(t,"fontStyle")&&(a.fontStyle=t.fontStyle),(0,i.hasOwn)(t,"fontWeight")&&(a.fontWeight=t.fontWeight),o={type:"text",style:a,silent:!0},r={};var s=(0,i.hasOwn)(t,"textPosition");n?r.position=s?t.textPosition:"inside":s&&(r.position=t.textPosition),(0,i.hasOwn)(t,"textPosition")&&(r.position=t.textPosition),(0,i.hasOwn)(t,"textOffset")&&(r.offset=t.textOffset),(0,i.hasOwn)(t,"textRotation")&&(r.rotation=t.textRotation),(0,i.hasOwn)(t,"textDistance")&&(r.distance=t.textDistance)}return b(a,t),(0,i.each)(a.rich,function(t){b(t,t)}),{textConfig:r,textContent:o}}(f,d,!0);!m&&_.textConfig&&(m=e.textConfig=_.textConfig),!g&&_.textContent&&(g=_.textContent)}var w=(T=e,T=i.extend({},T),i.each(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(s.Tj),function(t){delete T[t]}),T),S=e.$action||"merge",M="merge"===S,A="replace"===S;if(M){var T,C,k,I,D=!h,P=h;D?P=X(u,p,e.type,n):(P&&(G(P).isNew=!1),(I=P).stopAnimation("keyframe"),I.attr(F(I))),P&&(O(P,w,t,{isInit:D}),Z(P,e,a,l))}else if(A){j(h,e,n,t);var R=X(u,p,e.type,n);R&&(O(R,w,t,{isInit:!0}),Z(R,e,a,l))}else"remove"===S&&(L(h,e),j(h,e,n,t));var N=n.get(u);if(N&&g)if(M){var B=N.getTextContent();B?B.attr(g):N.setTextContent(new y.Ay(g))}else A&&N.setTextContent(new y.Ay(g));if(N){var z,E,V,W,Y=e.clipPath;if(Y){var q=Y.type,K=void 0,D=!1;if(M){var $=N.getClipPath();K=(D=!$||G($).type!==q)?U(q):$}else A&&(D=!0,K=U(q));N.setClipPath(K),O(K,Y,t,{isInit:D}),H(K,Y.keyframeAnimation,t)}var Q=G(N);N.setTextConfig(m),Q.option=e,z=N,E=t,V=e,W=(0,x.z)(z).eventData,z.silent||z.ignore||W||(W=(0,x.z)(z).eventData={componentType:"graphic",componentIndex:E.componentIndex,name:z.name}),W&&(W.info=V.info),v.setTooltipConfig({el:N,componentModel:t,itemName:N.name,itemTooltipOption:e.tooltip}),H(N,e.keyframeAnimation,t)}})}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,r=this.group,a=this._elMap,l=e.getWidth(),u=e.getHeight(),h=["x","y"],c=0;c<n.length;c++){var p=n[c],d=o.vS(p.id,null),f=null!=d?a.get(d):null;if(f&&f.isGroup){var g=f.parent,y=g===r,v=G(f),_=G(g);v.width=(0,m.lo)(v.option.width,y?l:_.width)||0,v.height=(0,m.lo)(v.option.height,y?u:_.height)||0}}for(var c=n.length-1;c>=0;c--){var p=n[c],d=o.vS(p.id,null),f=null!=d?a.get(d):null;if(f){var g=f.parent,_=G(g),x=g===r?{width:l,height:u}:{width:_.width,height:_.height},b={},w=s.m$(f,p,x,null,{hv:p.hv,boundingMode:p.bounding},b);
1if(!G(f).isNew&&w){for(var M=p.transition,A={},T=0;T<h.length;T++){var C=h[T],k=b[C];M&&(P(M)||i.indexOf(M,C)>=0)?A[C]=k:f[C]=k}(0,S.oi)(f,A,t,0)}else f.attr(b)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each(function(n){j(n,G(n).option,e,t._lastGraphicModel)}),this._elMap=i.createHashMap()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(_.A);function U(t){var e=new(i.hasOwn(W,t)?W[t]:v.getShapeClass(t))({});return G(e).type=t,e}function X(t,e,n,i){var r=U(n);return e.add(r),i.set(t,r),G(r).id=t,G(r).isNew=!0,r}function j(t,e,n,i){if(t&&t.parent){"group"===t.type&&t.traverse(function(t){j(t,e,n,i)});if(t){var r=t.parent,o=I(t).leaveToProps;if(o){var a=D("update",t,e,i,0);a.done=function(){r&&r.remove(t)},t.animateTo(o,a)}else r&&r.remove(t)}n.removeKey(G(t).id)}}function Z(t,e,n,r){t.isGroup||i.each([["cursor",d.Ay.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(n){var r=n[0];i.hasOwn(e,r)?t[r]=i.retrieve2(e[r],n[1]):null==t[r]&&(t[r]=n[1])}),i.each(i.keys(e),function(n){if(0===n.indexOf("on")){var r=e[n];t[n]=i.isFunction(r)?r:null}}),i.hasOwn(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function q(t){t.registerComponentModel(p),t.registerComponentView(Y),t.registerPreprocessor(function(t){var e=t.graphic;(0,i.isArray)(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}},93773:(t,e,n)=>{n.d(e,{Fl:()=>l,Pn:()=>a});var i=n(10558),r=n(45874),o=n(8795);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.isNumber)(t)||null==t||"-"===t||(t=+(0,i._U)(t)),null==t||""===t?NaN:Number(t))}(0,r.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i._U)(t)},trim:function(t){return(0,r.isString)(t)?(0,r.trim)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}};(function(t,e){(0,r.isNumber)(e)||(0,o.$8)(""),this._opFn=s[t],this._rvalFloat=(0,i.Sm)(e)}).prototype.evaluate=function(t){return(0,r.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.Sm)(t),this._rvalFloat)};var l=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.isNumber)(t)?t:(0,i.Sm)(t),o=(0,r.isNumber)(e)?e:(0,i.Sm)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.isString)(t),u=(0,r.isString)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.Sm)(e)}).prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&("number"===n||"number"===this._rvalTypeof)&&(e=(0,i.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e}},94316:(t,e,n)=>{n.d(e,{A:()=>P});var i=n(32471),r=n(45874),o=n(98573),a=n(76172),s=n(15971),l=n(64177),u=n(13157),h=n(61293),c=n(24187),p=n(36363),d=n(74410),f=n(28748),g=n(55889),y=n(34828),v=n(66484),m=n(32045),_=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),o=!!i.length;if(x(n)){var a=void 0,s=void 0,l=void 0;if(o){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else a=n.get("data",!0),s=(0,r.isTypedArray)(a)?f.XO:f.mK,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=(0,r.retrieve2)(h.seriesLayoutBy,c.seriesLayoutBy)||null,g=(0,r.retrieve2)(h.sourceHeader,c.sourceHeader),y=(0,r.retrieve2)(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!g!=!!c.sourceHeader||y?[(0,d.gV)(a,{seriesLayoutBy:p,sourceHeader:g,dimensions:y},s)]:[]}else if(o){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else{var m=n.get("source",!0);t=[(0,d.gV)(m,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),o=n.get("fromTransformResult",!0);null!=o&&1!==t.length&&b("");var a=[],s=[];return(0,r.each)(t,function(t){t.prepareSource();var e=t.getSource(o||0);null==o||e||b(""),a.push(e),s.push(t._getVersionSign())}),i?e=(0,y.py)(i,a,{datasetIndex:n.componentIndex}):null!=o&&(e=[(0,d.BE)(a[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];x(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new v.Ay).initData(new m.d1(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!x(t))return(0,r.map)((0,g.Gt)(t),function(t){return t.getSourceManager()});var e=(0,g.G9)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return x(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function x(t){return"series"===t.mainType}function b(t){throw Error(t)}var w=n(10313),S=a.$r();function M(t,e){return t.getName(e)||t.getId(e)}var A=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.C6)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.U)({count:C,reset:k}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(S(this).sourceManager=new _(this)).prepareSource();var i=this.getInitialData(t,n);D(i,this),this.dataTask.context.data=i,S(this).dataBeforeProcessed=i,T(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.ad)(this),i=n?(0,h.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.YA)(t,i,n)},n.prototype.mergeOption=function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.ad)(this);n&&(0,h.YA)(this.option,t,n);var i=S(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);D(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,S(this).dataBeforeProcessed=o,T(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.M5(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=L(this);if(!e)return S(this).data;var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=L(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}S(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.createHashMap(t)},n.prototype.getSourceManager=function(){return S(this).sourceManager}
1,n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return S(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.indicesOfNearest=function(t,e,n,i){var r=this.getData(),o=this.coordinateSystem,a=o&&o.getAxis(t);if(!o||!a)return[];var s=a.dataToCoord(n);null==i&&(i=1/0);var l=[],u=1/0,h=-1,c=0;return r.each(e,function(t,e){var n=s-a.dataToCoord(t),r=Math.abs(n);r<=i&&((r<u||r===u&&n>=0&&h<0)&&(u=r,h=n,c=0),n===h&&(l[c++]=e))}),l.length=c,l},n.prototype.formatTooltip=function(t,e,n){return function(t){var e,n,i,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),p=c.length,d=s.getRawValue(l),f=(0,r.isArray)(d),g=(0,w.aw)(s,l);if(p>1||f&&!p){var y=function(t,e,n,i,o){var a=e.getData(),s=(0,r.reduce)(t,function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),l=[],u=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,w.Qx)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?(0,r.each)(i,function(t){c((0,m.QE)(a,n,t),t)}):(0,r.each)(t,c),{inlineValues:l,inlineValueTypes:u,blocks:h}}(d,s,l,c,g);e=y.inlineValues,n=y.inlineValueTypes,i=y.blocks,o=y.inlineValues[0]}else if(p){var v=h.getDimensionInfo(c[0]);o=e=(0,m.QE)(h,l,c[0]),n=v.type}else o=e=f?d[0]:d;var _=(0,a.O0)(s),x=_&&s.name||"",b=h.getName(l),S=u?x:b;return(0,w.Qx)("section",{header:x,noHeader:u||!_,sortParam:o,blocks:[(0,w.Qx)("nameValue",{markerType:"item",markerColor:g,name:S,noName:!(0,r.trim)(S),value:e,valueType:n,dataIndex:l})].concat(i||[])})}({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l.X.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=M(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.keys(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[M(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.isObject(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var h=e[u],c=M(t,h);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var p=e[s-1],c=M(t,p);(n={})[c]=!0,o.selectedMap=n,this._selectedDataIndicesMap=((i={})[c]=t.getRawIndex(p),i)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.A.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.A);function T(t){var e,n,i,o=t.name;a.O0(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),i=[],r.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")||o))}function C(t){return t.model.getRawData().count()}function k(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),I}function I(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function D(t,e){r.each(r.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,r.curry(O,e))})}function O(t,e){var n=L(t);return n&&n.setOutputEnd((e||this).count()),e}function L(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.mixin(A,u.J),r.mixin(A,l.X),(0,p.q7)(A,s.A);let P=A},94454:(t,e)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.pick=void 0,e.pick=function(t,e){var n={};return e.forEach(function(e){n[e]=t[e]}),n}},95264:(t,e,n)=>{n.d(e,{A:()=>d});var i=n(32471),r=n(45874),o=n(98573),a=n(13157),s=n(15971),l=n(76172),u=n(10313);function h(t){(0,l.M5)(t,"label",["show"])}var c=(0,l.$r)(),p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n.preventAutoZ=!0,n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(o.A.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var o=this.mainType;n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),a=c(t)[o];if(!n||!n.data){c(t)[o]=null;return}a?a._mergeOption(n,e,!0):(i&&h(n),r.each(n.data,function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)}),a=this.createMarkerModelFromSeries(n,this,e),r.extend(a,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),c(t)[o]=a},this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return(0,u.Qx)("section",{header:this.name,blocks:[(0,u.Qx)("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.prototype.getDataParams=function(t,e){var n=a.J.prototype.getDataParams.call(this,t,e),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},e.getMarkerModelFromSeries=function(t,e){return c(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(s.A);r.mixin(p,a.J.prototype);let d=p},96138:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(32471);let r=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.C6)(e,t),e}(n(4507).A)},97123:(t,e,n)=>{n.d(e,{A:()=>y});var i=n(45874),r=n(40093),o=n(66525),a=n(46472),s=n(76172),l=n(54169),u=function(t){this.coordSysDims=[],this.axisMap=(0,i.createHashMap)(),this.categoryAxisMap=(0,i.createHashMap)(),this.coordSysName=t},h={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),c(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),c(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],n.set("single",r),c(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",s.US).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),c(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,i.each)(a.parallelAxisIndex,function(t,i){var a=o.getComponent("parallelAxis",t),l=s[i];n.set(l,a),c(a)&&(r.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=i))})},matrix:function(t,e,n,i){var r=t.getReferringComponents("matrix",s.US).models[0];e.coordSysDims=["x","y"];var o=r.getDimensionModel("x"),a=r.getDimensionModel("y");n.set("x",o),n.set("y",a),i.set("x",o),i.set("y",a)}};function c(t){return"category"===t.get("type")}var p=n(74410),d=n(12224),f=n(55889),g=n(28748);let y=function(t,e,n){n=n||{};var c,y,v,m,_,x,b,w,S=e.getSourceManager(),M=!1;t?(M=!0,w=(0,p.AF)(t)):M=(w=S.getSource()).sourceFormat===g.mK;var A=function(t){var e=t.get("coordinateSystem"),n=new u(e),i=h[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}
1(e),T=(y=e.get("coordinateSystem"),v=l.Ay.get(y),A&&A.coordSysDims&&(c=i.map(A.coordSysDims,function(t){var e={name:t},n=A.axisMap.get(t);if(n){var i=n.get("type");e.type=(0,a.B)(i)}return e})),c||(c=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),c),C=n.useEncodeDefaulter,k=i.isFunction(C)?C:C?i.curry(f.OC,T,e):null,I={coordDimensions:T,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:k,canOmitUnusedDimensions:!M},D=(0,o.A)(w,I),O=(m=D.dimensions,_=n.createInvertedIndices,A&&i.each(m,function(t,e){var n=t.coordDim,i=A.categoryAxisMap.get(n);i&&(null==x&&(x=e),t.ordinalMeta=i.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(b=!0)}),b||null==x||(m[x].otherDims.itemName=0),x),L=M?null:S.getSharedDataStore(D),P=(0,d.iJ)(e,{schema:D,store:L}),R=new r.A(D,e);R.setCalculationInfo(P);var N=null!=O&&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!i.isArray((0,s.vj)(e))}}(w)?function(t,e,n,i){return i===O?n:this.defaultDimValueGetter(t,e,n,i)}:null;return R.hasItemOption=!1,R.initData(M?w:L,null,N),R}},98573:(t,e,n)=>{n.d(e,{A:()=>o});var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new i,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?(r.wxa=!0,r.touchEventsSupported=!0):"u"<typeof document&&"u">typeof self?r.worker=!0:!r.hasGlobalWindow||"Deno"in window||"u">typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Node.js")>-1?(r.node=!0,r.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);if(i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="u">typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="u">typeof document){var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}}(navigator.userAgent,r);let o=r},98998:(t,e,n)=>{n.d(e,{W5:()=>g,Yo:()=>l,ds:()=>f,e0:()=>c,f:()=>d,mK:()=>h,q2:()=>p});var i=n(98573),r=n(46330),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.A.browser.firefox&&39>+i.A.browser.version.split(".")[0];function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(i.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.ot)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,r.oq)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(null!=(e=h(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,n,i){t.addEventListener(e,n,i)}function d(t,e,n,i){t.removeEventListener(e,n,i)}var f=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},99856:(t,e,n)=>{n.d(e,{m:()=>i});function i(){return null}},99999:(t,e,n)=>{n.d(e,{a:()=>v});var i=n(7e3),r=n(45874),o=n(32471),a=n(24009),s=n(66275),l=n(42680),u=n(10504),h=n(17667),c=n(60609);function p(t,e,n){var i=c.yh.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var d=function(t){function e(e,n,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||i.Y5,"string"==typeof e?a=p(e,n,o):r.isObject(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(r.disableUserSelect(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.C6)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=p("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.A(0,0,0,0);function c(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var p=new u.A(0,0,0,0);p.copy(c),p.union(t),o[h]=p,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,f=c.width*c.height,g=l.width*l.height-d-f;g<i&&(i=g,r=h)}}if(s&&(o[r].union(t),n=!0),!n){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var p=this.__startIndex;p<this.__endIndex;++p){var d=t[p];if(d){var f=d.shouldBePainted(n,i,!0,!0),g=d.__isRendered&&(d.__dirty&h.M||!f)?d.getPrevPaintRect():null;g&&c(g);var y=f&&(d.__dirty&h.M||!d.__isRendered)?d.getPaintRect():null;y&&c(y)}}for(var p=this.__prevStartIndex;p<this.__prevEndIndex;++p){var d=e[p],f=d&&d.shouldBePainted(n,i,!0,!0);if(d&&(!f||!d.__zr)&&d.__isRendered){var g=d.getPrevPaintRect();g&&c(g)}}do{r=!1;for(var p=0;p<o.length;){if(o[p].isZero()){o.splice(p,1);continue}for(var v=p+1;v<o.length;)o[p].intersect(o[v])?(r=!0,o[p].union(o[v]),o.splice(v,1)):v++;p++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,u=i.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,p=this.dpr,d=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/p,u/p));var f=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var u=void 0;r.isGradientObject(e)?(u=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,s.Ff)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=u,e.__width=i,e.__height=a):r.isImagePatternObject(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,u=(0,l.ZQ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}}
1)),o.save(),o.fillStyle=u||e,o.fillRect(t,n,i,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(f,t,n,i,a),o.restore())}!n||h?g(0,0,a,u):n.length&&r.each(n,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(a.A),f=n(24177),g=n(98573),y=function(){function t(t,e,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=r.extend({},n||{}),this.dpr=n.devicePixelRatio||i.Y5,this._singleCanvas=a,this.root=t,t.style&&(r.disableUserSelect(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var h=t.width,c=t.height;null!=n.width&&(h=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var p=new d(t,this,this.dpr);p.__builtin__=!0,p.initContext(),u[314159]=p,p.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.YC)(t,0,n),this._height=(0,s.YC)(t,1,n);var f,g,y,v=this._domRoot=(f=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+f+"px","height:"+g+"px","padding:0;margin:0;border-width:0"].join(";")+";",y);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,n=t.length,i=this._hoverlayer;if(i&&i.clear(),n){for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<n;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(1e5)),e||(e=i.ctx).save(),(0,l.V$)(e,a,r,o===n-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.Xi)(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,f.A)(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var h=!0,c=!1,p=this,d=0;d<o.length;d++)!function(r){var s,l=o[r],u=l.ctx,d=a&&l.createRepaintRects(t,e,p._width,p._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,d);else if(f===l.__startIndex){var m=t[f];m.incremental&&m.notClear&&!n||l.clear(!1,v,d)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,e,n,s===l.__endIndex-1),g&&Date.now()-y>15)break}
1n.prevElClipPaths&&u.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var x=p.dpr,b=0;b<d.length;++b){var w=d[b];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)}(d);return g.A.wxa&&r.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,l.V$)(a,t,r,o),t.setPrevPaintRect(s))}else(0,l.V$)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new d("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?r.merge(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&r.merge(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(r>0&&t>i[0]){for(s=0;s<r-1&&(!(i[s]<t)||!(i[s+1]>t));s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n,i,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(i=0;i<t.length;i++){var a=t[i],u=a.zlevel,c=void 0;n!==u&&(n=u,l=0),a.incremental?((c=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):c=this.getLayer(u+.01*(l>
10),this._needsManuallyCompositing),c.__builtin__||r.logError("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),s=c),a.__dirty&h.M&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,r.each(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+.01){var a=this._layers[o];r.merge(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(r.indexOf(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.YC)(r,0,i),e=(0,s.YC)(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var h=a[s];(0,l.V$)(n,h,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.