@perses-dev/scatter-chart-plugin 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mf/css/async/759.9c79ef64.css +1 -0
- package/__mf/js/101.3314ba33.js +2 -0
- package/__mf/js/333.6a3b3c73.js +2 -0
- package/__mf/js/ScatterChart.86ae5555.js +5 -0
- package/__mf/js/async/109.f3e6d8b4.js +73 -0
- package/__mf/js/async/109.f3e6d8b4.js.LICENSE.txt +35 -0
- package/__mf/js/async/173.ab77c209.js +2 -0
- package/__mf/js/async/214.7983e65f.js +1 -0
- package/__mf/js/async/224.fc2a8424.js +1 -0
- package/__mf/js/async/238.16ecfee4.js +1 -0
- package/__mf/js/async/269.5bb64fce.js +2 -0
- package/__mf/js/async/288.3bee5f6d.js +7 -0
- package/__mf/js/async/{690.fec7e893.js.LICENSE.txt → 288.3bee5f6d.js.LICENSE.txt} +1 -19
- package/__mf/js/async/292.0026ffe2.js +1 -0
- package/__mf/js/async/356.7ea71e7e.js +147 -0
- package/__mf/js/async/356.7ea71e7e.js.LICENSE.txt +17 -0
- package/__mf/js/async/409.744b01b2.js +1 -0
- package/__mf/js/async/422.e34eaeff.js +1 -0
- package/__mf/js/async/488.064b892d.js +1 -0
- package/__mf/js/async/516.d0e99b34.js +2 -0
- package/__mf/js/async/580.d7eab327.js +2 -0
- package/__mf/js/async/651.4f472055.js +1 -0
- package/__mf/js/async/{770.da7255d0.js → 694.ea33534b.js} +1 -1
- package/__mf/js/async/738.580d645a.js +1 -0
- package/__mf/js/async/740.7c6f3f45.js +1 -0
- package/__mf/js/async/75.7a5ae496.js +1 -0
- package/__mf/js/async/770.f8131ccc.js +1 -0
- package/__mf/js/async/960.3781a1d1.js +2 -0
- package/__mf/js/async/964.dc115a62.js +2 -0
- package/__mf/js/async/981.6aa3d08a.js +2 -0
- package/__mf/js/async/981.6aa3d08a.js.LICENSE.txt +8 -0
- package/__mf/js/async/__federation_expose_ScatterChart.868aeff6.js +2 -0
- package/__mf/js/async/__federation_expose_ScatterChart.868aeff6.js.LICENSE.txt +9 -0
- package/__mf/js/async/lib-router.c387b50a.js +2 -0
- package/__mf/js/async/lib-router.c387b50a.js.LICENSE.txt +32 -0
- package/__mf/js/index.70f0e2e3.js +5 -0
- package/lib/ScatterChartPanel.d.ts +3 -10
- package/lib/ScatterChartPanel.d.ts.map +1 -1
- package/lib/ScatterChartPanel.js +7 -19
- package/lib/ScatterChartPanel.js.map +1 -1
- package/lib/Scatterplot.d.ts +3 -4
- package/lib/Scatterplot.d.ts.map +1 -1
- package/lib/Scatterplot.js +13 -4
- package/lib/Scatterplot.js.map +1 -1
- package/lib/cjs/ScatterChartPanel.js +7 -19
- package/lib/cjs/Scatterplot.js +13 -4
- package/lib/scatter-chart-model.d.ts +5 -0
- package/lib/scatter-chart-model.d.ts.map +1 -1
- package/lib/scatter-chart-model.js.map +1 -1
- package/mf-manifest.json +107 -46
- package/mf-stats.json +119 -46
- package/package.json +16 -5
- package/__mf/js/527.22e5486f.js +0 -2
- package/__mf/js/792.43788414.js +0 -6
- package/__mf/js/ScatterChart.41ec0a5a.js +0 -5
- package/__mf/js/async/150.4fc9e087.js +0 -2
- package/__mf/js/async/156.c11b1700.js +0 -1
- package/__mf/js/async/173.c19d3b98.js +0 -2
- package/__mf/js/async/564.e5b95c38.js +0 -2
- package/__mf/js/async/651.791f807e.js +0 -1
- package/__mf/js/async/690.fec7e893.js +0 -152
- package/__mf/js/async/694.903128f9.js +0 -1
- package/__mf/js/async/740.c78d3483.js +0 -1
- package/__mf/js/async/75.06e41df4.js +0 -1
- package/__mf/js/async/960.e791a996.js +0 -2
- package/__mf/js/async/964.34b88a18.js +0 -2
- package/__mf/js/async/__federation_expose_ScatterChart.ec1c47a4.js +0 -2
- package/__mf/js/index.46c0c48b.js +0 -1
- /package/__mf/css/async/{564.9c79ef64.css → 580.9c79ef64.css} +0 -0
- /package/__mf/js/{527.22e5486f.js.LICENSE.txt → 101.3314ba33.js.LICENSE.txt} +0 -0
- /package/__mf/js/{792.43788414.js.LICENSE.txt → 333.6a3b3c73.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{173.c19d3b98.js.LICENSE.txt → 173.ab77c209.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{564.e5b95c38.js.LICENSE.txt → 269.5bb64fce.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{150.4fc9e087.js.LICENSE.txt → 516.d0e99b34.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_ScatterChart.ec1c47a4.js.LICENSE.txt → 580.d7eab327.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{960.e791a996.js.LICENSE.txt → 960.3781a1d1.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{964.34b88a18.js.LICENSE.txt → 964.dc115a62.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_ScatterChart=self.chunk_ScatterChart||[]).push([["422"],{40717:function(e,t,n){n.d(t,{r:()=>l,t:()=>function e(t,n,l){if(l.isAnimationEnabled()&&n){if((0,i.isArray)(n))return void(0,i.each)(n,function(n){e(t,n,l)});var u=n.keyframes,c=n.duration;if(l&&null==c){var h=(0,a.ke)("enter",l,0);c=h&&h.duration}if(u&&c){var d=o(t);(0,i.each)(r.O0,function(e){var r;(!e||t[e])&&(u.sort(function(e,t){return e.percent-t.percent}),(0,i.each)(u,function(a){var o=t.animators,l=e?a[e]:a;if(l){var u=(0,i.keys)(l);if(e||(u=(0,i.filter)(u,function(e){return 0>(0,i.indexOf)(s,e)})),u.length){r||((r=t.animate(e,n.loop,!0)).scope="keyframe");for(var h=0;h<o.length;h++)o[h]!==r&&o[h].targetName===r.targetName&&o[h].stopTracks(u);e&&(d[e]=d[e]||{});var p=e?d[e]:d;(0,i.each)(u,function(n){p[n]=((e?t[e]:t)||{})[n]}),r.whenWithKeys(c*a.percent,l,u,a.easing)}}}),r&&r.delay(n.delay||0).duration(c).start(n.easing))})}}}});var i=n(67975),r=n(89655),a=n(99858),o=(0,n(86571).Yf)(),s=["percent","easing","shape","style","extra"];function l(e){e.stopAnimation("keyframe"),e.attr(o(e))}},89655:function(e,t,n){n.d(t,{O0:()=>d,O3:()=>y,Ob:()=>f,WK:()=>m,_9:()=>v});var i=n(86571),r=n(67975),a=n(17993),o=n(2097),s=n(99858),l=n(7185),u=n(44066),c={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},h=(0,r.keys)(c);(0,r.reduce)(u.dN,function(e,t){return e[t]=1,e},{}),u.dN.join(", ");var d=["","style","shape","extra"],p=(0,i.Yf)();function g(e,t,n,i,a){var o=e+"Animation",l=(0,s.ke)(e,i,a)||{},u=p(t).userDuring;return l.duration>0&&(l.during=u?(0,r.bind)(S,{el:t,userDuring:u}):null,l.setToFinal=!0,l.scope=e),(0,r.extend)(l,n[o]),l}function f(e,t,n,a){var s,f,y=(a=a||{}).dataIndex,x=a.isInit,b=a.clearStyle,S=n.isAnimationEnabled(),_=p(e),A=t.style;_.userDuring=t.during;var I={},O={};if(function(e,t,n){for(var i=0;i<h.length;i++){var r=h[i],a=c[r],o=t[r];o&&(n[a[0]]=o[0],n[a[1]]=o[1])}for(var i=0;i<u.dN.length;i++){var s=u.dN[i];null!=t[s]&&(n[s]=t[s])}}(0,t,O),w("shape",t,O),w("extra",t,O),!x&&S&&(function(e,t,n){for(var r=t.transition,a=m(r)?u.dN:(0,i.kF)(r||[]),o=0;o<a.length;o++){var s=a[o];if("style"!==s&&"shape"!==s&&"extra"!==s){var l=e[s];n[s]=l}}}(e,t,I),M("shape",e,t,I),M("extra",e,t,I),function(e,t,n,a){if(n){var o,s=e.style;if(s){var l=n.transition,u=t.transition;if(l&&!m(l)){var c=(0,i.kF)(l);o||(o=a.style={});for(var h=0;h<c.length;h++){var d=c[h],p=s[d];o[d]=p}}else if(e.getAnimationStyleProps&&(m(u)||m(l)||(0,r.indexOf)(u,"style")>=0)){var g=e.getAnimationStyleProps(),f=g?g.style:null;if(f){o||(o=a.style={});for(var v=(0,r.keys)(n),h=0;h<v.length;h++){var d=v[h];if(f[d]){var p=s[d];o[d]=p}}}}}}}(e,t,A,I)),O.style=A,function(e,t,n){var i=t.style;if(!e.isGroup&&i){if(n){e.useStyle({});for(var r=e.animators,a=0;a<r.length;a++){var o=r[a];"style"===o.targetName&&o.changeTarget(e.style)}}e.setStyle(i)}t&&(t.style=null,t&&e.attr(t),t.style=i)}(e,O,b),s=e,f=t,(0,r.hasOwn)(f,"silent")&&(s.silent=f.silent),(0,r.hasOwn)(f,"ignore")&&(s.ignore=f.ignore),s instanceof o.ZP&&(0,r.hasOwn)(f,"invisible")&&(s.invisible=f.invisible),s instanceof l.ZP&&(0,r.hasOwn)(f,"autoBatch")&&(s.autoBatch=f.autoBatch),S)if(x){var T={};(0,r.each)(d,function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(T[e]=T[e]||{}),(0,r.extend)(e?T[e]:T,n.enterFrom))});var C=g("enter",e,t,n,y);C.duration>0&&e.animateFrom(T,C)}else{var k=e,D=t,L=y||0,Z=n,P=I;if(P){var N=g("update",k,D,Z,L);N.duration>0&&k.animateFrom(P,N)}}v(e,t),A?e.dirty():e.markRedraw()}function v(e,t){for(var n=p(e).leaveToProps,i=0;i<d.length;i++){var a=d[i],o=a?t[a]:t;o&&o.leaveTo&&(n||(n=p(e).leaveToProps={}),a&&(n[a]=n[a]||{}),(0,r.extend)(a?n[a]:n,o.leaveTo))}}function y(e,t,n,i){if(e){var r=e.parent,a=p(e).leaveToProps;if(a){var o=g("update",e,t,n,0);o.done=function(){r.remove(e),i&&i()},e.animateTo(a,o)}else r.remove(e),i&&i()}}function m(e){return"all"===e}var x={},b={setTransform:function(e,t){return x.el[e]=t,this},getTransform:function(e){return x.el[e]},setShape:function(e,t){var n=x.el;return(n.shape||(n.shape={}))[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=x.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=x.el,i=n.style;return i&&(i[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=x.el.style;if(t)return t[e]},setExtra:function(e,t){return(x.el.extra||(x.el.extra={}))[e]=t,this},getExtra:function(e){var t=x.el.extra;if(t)return t[e]}};function S(){var e=this.el;if(e){var t=p(e).userDuring,n=this.userDuring;if(t!==n){this.el=this.userDuring=null;return}x.el=e,n(b)}}function M(e,t,n,a){var o,s=n[e];if(s){var l=t[e];if(l){var u=n.transition,c=s.transition;if(c)if(o||(o=a[e]={}),m(c))(0,r.extend)(o,l);else for(var h=(0,i.kF)(c),d=0;d<h.length;d++){var p=h[d],g=l[p];o[p]=g}else if(m(u)||(0,r.indexOf)(u,e)>=0){o||(o=a[e]={});for(var f=(0,r.keys)(l),d=0;d<f.length;d++){var v,y,p=f[d],g=l[p];v=s[p],y=g,((0,r.isArrayLike)(v)?v!==y:null!=v&&isFinite(v))&&(o[p]=g)}}}}}function w(e,t,n){var i=t[e];if(i)for(var o=n[e]={},s=(0,r.keys)(i),l=0;l<s.length;l++){var u=s[l];o[u]=(0,a.V)(i[u])}}},93846:function(e,t,n){n.d(t,{Z:()=>l});var i=n(69988),r=n(2021),a=n(30984),o=n(67975),s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.getInitialData=function(e,t){return(0,a.Z)(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(e),a=i.dataToPoint(r);if(n)(0,o.each)(i.getAxes(),function(e,n){if("category"===e.type&&null!=t){var i=e.getTicksCoords(),o=e.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===t[n]||"y1"===t[n];if(l&&!o&&(s+=1),!(i.length<2)){if(2===i.length){a[n]=e.toGlobalCoord(e.getExtent()[+!!l]);return}for(var u=void 0,c=void 0,h=1,d=0;d<i.length;d++){var p=i[d].coord,g=d===i.length-1?i[d-1].tickValue+h:i[d].tickValue;if(g===s){c=p;break}if(g<s)u=p;else if(null!=u&&g>s){c=(p+u)/2;break}1===d&&(h=g-i[0].tickValue)}null==c&&(u?u&&(c=i[i.length-1].coord):c=i[0].coord),a[n]=e.toGlobalCoord(c)}}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),c=+!i.getBaseAxis().isHorizontal();a[c]+=l+u/2}return a}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(r.Z);r.Z.registerClass(s);let l=s},508:function(e,t,n){n.d(t,{N:()=>K});var i=n(67975),r=n(58783),a=n(5719),o=n(69988),s=n(93846),l=n(30984),u=n(4587),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.ZT)(t,e),t.prototype.getInitialData=function(){return(0,l.Z)(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=(0,u.ZL)(s.Z.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(s.Z),h=n(7185),d=n(37293),p=n(29790),g=n(99858),f=n(31969),v=n(53511),y=n(10428),m=n(98306),x=n(33361),b=n(19774),S=n(21730),M=n(2699),w=n(58050),_=n(82667),A=n(16072),I=n(12666);function O(e,t,n){return t*Math.sin(e)*(n?-1:1)}function T(e,t,n){return t*Math.cos(e)*(n?1:-1)}var C=n(10061),k=Math.max,D=Math.min,L=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return(0,o.ZT)(t,e),t.prototype.render=function(e,t,n,i){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var r=e.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,i))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){(0,p.traverseElements)(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t!==this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,i){var r,a=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,h=function(e,t){var n=e.get("realtimeSort",!0),i=t.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===t.type)return{baseAxis:i,otherAxis:t.getOtherAxis(i)}}(e,l);h&&this._enableRealtimeSort(h,o,n);var p=e.get("clip",!0)||h,y=function(e,t){var n=e.getArea&&e.getArea();if((0,_.H)(e,"cartesian2d")){var i=e.getBaseAxis();if("category"!==i.type||!i.onBand){var r=t.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,o);a.removeClipPath();var m=e.get("roundCap",!0),b=e.get("showBackground",!0),S=e.getModel("backgroundStyle"),M=S.get("borderRadius")||0,w=[],A=this._backgroundEls,I=i&&i.isInitSort,O=i&&"changeAxisOrder"===i.type;function T(e){var t,n,i,a=G[l.type](o,e),s=(t=l,n=r,i=a,new("polar"===t.type?v.C:f.Z)({shape:U(n,i,t),silent:!0,z2:0}));return s.useStyle(S.getItemStyle()),"cartesian2d"===l.type?s.setShape("r",M):s.setShape("cornerRadius",M),w[e]=s,s}o.diff(s).add(function(t){var n=o.getItemModel(t),i=G[l.type](o,t,n);if(b&&T(t),o.hasValue(t)&&z[l.type](i)){var s=!1;p&&(s=Z[l.type](y,i));var d=P[l.type](e,o,t,i,r,c,u.model,!1,m);h&&(d.forceLabelAnimation=!0),F(d,o,t,n,i,e,r,"polar"===l.type),I?d.attr({shape:i}):h?N(h,c,d,i,t,r,!1,!1):(0,g.KZ)(d,{shape:i},e,t),o.setItemGraphicEl(t,d),a.add(d),d.ignore=s}}).update(function(t,n){var i=o.getItemModel(t),d=G[l.type](o,t,i);if(b){var f=void 0;0===A.length?f=T(n):((f=A[n]).useStyle(S.getItemStyle()),"cartesian2d"===l.type?f.setShape("r",M):f.setShape("cornerRadius",M),w[t]=f);var v=G[l.type](o,t),_=U(r,v,l);(0,g.D)(f,{shape:_},c,t)}var C=s.getItemGraphicEl(n);if(!o.hasValue(t)||!z[l.type](d))return void a.remove(C);var k=!1;if(p&&(k=Z[l.type](y,d))&&a.remove(C),C?(0,g.Zi)(C):C=P[l.type](e,o,t,d,r,c,u.model,!!C,m),h&&(C.forceLabelAnimation=!0),O){var D=C.getTextContent();if(D){var L=(0,x.qA)(D);null!=L.prevValue&&(L.prevValue=L.value)}}else F(C,o,t,i,d,e,r,"polar"===l.type);I?C.attr({shape:d}):h?N(h,c,C,d,t,r,!0,O):(0,g.D)(C,{shape:d},e,t,null),o.setItemGraphicEl(t,C),C.ignore=k,a.add(C)}).remove(function(t){var n=s.getItemGraphicEl(t);n&&(0,g.XD)(n,e,t)}).execute();var C=this._backgroundGroup||(this._backgroundGroup=new d.Z);C.removeAll();for(var k=0;k<w.length;++k)C.add(w[k]);a.add(C),this._backgroundEls=w,this._data=o},t.prototype._renderLarge=function(e,t,n){this._clear(),X(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),X(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&(0,S.lQ)(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var i=this;if(t.count()){var r=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var a=function(e){var n=t.getItemGraphicEl(e),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(t,a,r,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var r=[];return e.each(e.mapDimension(t.dim),function(e,t){var i=n(t);i=null==i?NaN:i,r.push({dataIndex:t,mappedValue:i,ordinalNumber:e})}),r.sort(function(e,t){return t.mappedValue-e.mappedValue}),{ordinalNumbers:(0,i.map)(r,function(e){return e.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var i=n.scale,r=e.mapDimension(n.dim),a=Number.MAX_VALUE,o=0,s=i.getOrdinalMeta().categories.length;o<s;++o){var l=e.rawIndexOf(r,i.getRawOrdinalNumber(o)),u=l<0?5e-324:t(e.indexOfRawIndex(l));if(u>a)return!0;a=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,i=n.getExtent(),r=Math.max(0,i[0]),a=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=a;++r)if(e.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,i){if(this._isOrderChangedWithinSameData(e,t,n)){var r=this._dataSort(e,n,t);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},t.prototype._dispatchInitSort=function(e,t,n){var i=t.baseAxis,r=this._dataSort(e,i,function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(t){(0,g.XD)(t,e,(0,y.A)(t).dataIndex)})):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(w.Z),Z={cartesian2d:function(e,t){var n=t.width<0?-1:1,i=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height);var r=e.x+e.width,a=e.y+e.height,o=k(t.x,e.x),s=D(t.x+t.width,r),l=k(t.y,e.y),u=D(t.y+t.height,a),c=s<o,h=u<l;return t.x=c&&o>r?s:o,t.y=h&&l>a?u:l,t.width=c?0:s-o,t.height=h?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height),c||h},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var i=t.r;t.r=t.r0,t.r0=i}var r=D(t.r,e.r),a=k(t.r0,e.r0);t.r=r,t.r0=a;var o=r-a<0;if(n<0){var i=t.r;t.r=t.r0,t.r0=i}return o}},P={cartesian2d:function(e,t,n,r,a,o,s,l,u){var c=new f.Z({shape:(0,i.extend)({},r),z2:1});return c.__dataIndex=n,c.name="item",o&&(c.shape[a?"height":"width"]=0),c},polar:function(e,t,n,i,r,a,o,s,l){var u,c,h=!r&&l?M.Z:v.C,d=new h({shape:i,z2:1});if(d.name="item",u=B(r),c=({isRoundCap:h===M.Z}).isRoundCap,d.calculateTextPosition=function(e,t,n){var i=t.position;if(!i||i instanceof Array)return(0,I.wI)(e,t,n);var r=u(i),a=null!=t.distance?t.distance:5,o=this.shape,s=o.cx,l=o.cy,h=o.r,d=o.r0,p=(h+d)/2,g=o.startAngle,f=o.endAngle,v=(g+f)/2,y=c?Math.abs(h-d)/2:0,m=Math.cos,x=Math.sin,b=s+h*m(g),S=l+h*x(g),M="left",w="top";switch(r){case"startArc":b=s+(d-a)*m(v),S=l+(d-a)*x(v),M="center",w="top";break;case"insideStartArc":b=s+(d+a)*m(v),S=l+(d+a)*x(v),M="center",w="bottom";break;case"startAngle":b=s+p*m(g)+O(g,a+y,!1),S=l+p*x(g)+T(g,a+y,!1),M="right",w="middle";break;case"insideStartAngle":b=s+p*m(g)+O(g,-a+y,!1),S=l+p*x(g)+T(g,-a+y,!1),M="left",w="middle";break;case"middle":b=s+p*m(v),S=l+p*x(v),M="center",w="middle";break;case"endArc":b=s+(h+a)*m(v),S=l+(h+a)*x(v),M="center",w="bottom";break;case"insideEndArc":b=s+(h-a)*m(v),S=l+(h-a)*x(v),M="center",w="top";break;case"endAngle":b=s+p*m(f)+O(f,a+y,!0),S=l+p*x(f)+T(f,a+y,!0),M="left",w="middle";break;case"insideEndAngle":b=s+p*m(f)+O(f,-a+y,!0),S=l+p*x(f)+T(f,-a+y,!0),M="right",w="middle";break;default:return(0,I.wI)(e,t,n)}return(e=e||{}).x=b,e.y=S,e.align=M,e.verticalAlign=w,e},a){var p=d.shape,f=r?"r":"endAngle",y={};p[f]=r?i.r0:i.startAngle,y[f]=i[f],(s?g.D:g.KZ)(d,{shape:y},a)}return d}};function N(e,t,n,i,r,a,o,s){a?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(o?g.D:g.KZ)(n,{shape:l},t,r,null);var l,u,c=t?e.baseAxis.model:null;(o?g.D:g.KZ)(n,{shape:u},c,r)}function V(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var R=["x","y","width","height"],E=["cx","cy","r","startAngle","endAngle"],z={cartesian2d:function(e){return!V(e,R)},polar:function(e){return!V(e,E)}},G={cartesian2d:function(e,t,n){var i,r,a,o=e.getItemLayout(t),s=n?(i=n,r=o,(a=i.get(["itemStyle","borderColor"]))&&"none"!==a?Math.min(i.get(["itemStyle","borderWidth"])||0,isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height)):0):0,l=o.width>0?1:-1,u=o.height>0?1:-1;return{x:o.x+l*s/2,y:o.y+u*s/2,width:o.width-l*s,height:o.height-u*s}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function B(e){var t;return t=e?"Arc":"Angle",function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}function F(e,t,n,r,a,o,s,l){var u=t.getItemVisual(n,"style");if(l){if(!o.get("roundCap")){var c=e.shape,h=(0,C.T)(r.getModel("itemStyle"),c,!0);(0,i.extend)(c,h),e.setShape(c)}}else{var d=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",d)}e.useStyle(u);var p=r.getShallow("cursor");p&&e.attr("cursor",p);var g=l?s?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":s?a.height>=0?"bottom":"top":a.width>=0?"right":"left",f=(0,x.k3)(r);(0,x.ni)(e,f,{labelFetcher:o,labelDataIndex:n,defaultText:(0,A.H)(o.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:g});var v=e.getTextContent();if(l&&v){var y=r.get(["label","position"]);e.textConfig.inside="middle"===y||null,function(e,t,n,r){if((0,i.isNumber)(r))return e.setTextConfig({rotation:r});if((0,i.isArray)(t))return e.setTextConfig({rotation:0});var a,o=e.shape,s=o.clockwise?o.startAngle:o.endAngle,l=o.clockwise?o.endAngle:o.startAngle,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":a=(s+l)/2;break;case"startAngle":case"insideStartAngle":a=s;break;case"endAngle":case"insideEndAngle":a=l;break;default:e.setTextConfig({rotation:0});return}var c=1.5*Math.PI-a;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),e.setTextConfig({rotation:c})}(e,"outside"===y?g:y,B(s),r.get(["label","rotate"]))}(0,x.pe)(v,f,o.getRawValue(n),function(e){return(0,A.O)(t,e)});var b=r.getModel(["emphasis"]);(0,m.k5)(e,b.get("focus"),b.get("blurScope"),b.get("disabled")),(0,m.WO)(e,r),null!=a.startAngle&&null!=a.endAngle&&a.startAngle===a.endAngle&&(e.style.fill="none",e.style.stroke="none",(0,i.each)(e.states,function(e){e.style&&(e.style.fill=e.style.stroke="none")}))}var H=function(){},W=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return(0,o.ZT)(t,e),t.prototype.getDefaultShape=function(){return new H},t.prototype.buildPath=function(e,t){for(var n=t.points,i=this.baseDimIdx,r=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,l=0;l<n.length;l+=3)o[i]=s,o[r]=n[l+2],a[i]=n[l+i],a[r]=n[l+r],e.rect(a[0],a[1],o[0],o[1])},t}(h.ZP);function X(e,t,n,i){var r=e.getData(),a=+!!r.getLayout("valueAxisHorizontal"),o=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=e.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new W({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),n&&n.push(c)}var h=new W({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=a,h.largeDataIndices=o,h.barWidth=s,t.add(h),h.useStyle(r.getVisual("style")),(0,y.A)(h).seriesIndex=e.seriesIndex,e.get("silent")||(h.on("mousedown",Y),h.on("mousemove",Y)),n&&n.push(h)}var Y=(0,b.P2)(function(e){var t=function(e,t,n){for(var i=e.baseDimIdx,r=1-i,a=e.shape.points,o=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,h=a.length/3;c<h;c++){var d=3*c;if(l[i]=u,l[r]=a[d+2],s[i]=a[d+i],s[r]=a[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return o[c]}return -1}(this,e.offsetX,e.offsetY);(0,y.A)(this).dataIndex=t>=0?t:null},30,!1);function U(e,t,n){if((0,_.H)(n,"cartesian2d")){var i=n.getArea();return{x:e?t.x:i.x,y:e?i.y:t.y,width:e?t.width:i.width,height:e?i.height:t.height}}var i=n.getArea();return{cx:i.cx,cy:i.cy,r0:e?i.r0:t.r0,r:e?i.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}}function K(e){e.registerChartView(L),e.registerSeriesModel(c),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,i.curry(r.bK,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,r.Bk)("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(0,a.Z)("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)})})}},35246:function(e,t,n){n.d(t,{N:()=>es});var i=n(69988),r=n(30984),a=n(86571),o=n(2021),s={color:"fill",borderColor:"stroke"},l={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},u=(0,a.Yf)(),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return(0,r.Z)(null,this)},t.prototype.getDataParams=function(t,n,i){var r=e.prototype.getDataParams.call(this,t,n);return i&&(r.info=u(i).info),r},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(o.Z),h=n(67975),d=n(7185),p=n(29790),g=n(63287),f=n(76150),v=n(37293),y=n(98306),m=n(33361),x=n(16072),b=n(58783),S=n(82787),M=n(58050),w=n(21730);function _(e,t){return t=t||[0,0],h.map(["x","y"],function(n,i){var r=this.getAxis(n),a=t[i],o=e[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o))},this)}function A(e,t){return t=t||[0,0],h.map([0,1],function(n){var i=t[n],r=e[n]/2,a=[],o=[];return a[n]=i-r,o[n]=i+r,a[1-n]=o[1-n]=t[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(o)[n])},this)}function I(e,t){var n=this.getAxis(),i=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function O(e,t){return t=t||[0,0],h.map(["Radius","Angle"],function(n,i){var r=this["get"+n+"Axis"](),a=t[i],o=e[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o));return"Angle"===n&&(s=s*Math.PI/180),s},this)}var T=n(2097),C=n(43810),k=n(12159),D=n(96151),L=n(89655),Z=n(40717),P="emphasis",N="normal",V="blur",R="select",E=[N,P,V,R],z={normal:["itemStyle"],emphasis:[P,"itemStyle"],blur:[V,"itemStyle"],select:[R,"itemStyle"]},G={normal:["label"],emphasis:[P,"label"],blur:[V,"label"],select:[R,"label"]},B=["x","y"],F={normal:{},emphasis:{},blur:{},select:{}},H={cartesian2d:function(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:h.bind(_,e)}}},geo:function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:h.bind(A,e)}}},single:function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:(0,h.bind)(I,e)}}},polar:function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),i=t.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=t.dataToRadius(i[0]),a=n.dataToAngle(i[1]),o=e.coordToPoint([r,a]);return o.push(r,a*Math.PI/180),o},size:h.bind(O,e)}}},calendar:function(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}};function W(e){return e instanceof d.ZP}function X(e){return e instanceof T.ZP}var Y=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.render=function(e,t,n,i){this._progressiveEls=null;var r=this._data,a=e.getData(),o=this.group,s=j(e,a,t,n);r||o.removeAll(),a.diff(r).add(function(t){Q(n,null,t,s(t,i),e,o,a)}).remove(function(t){var n=r.getItemGraphicEl(t);n&&(0,L.O3)(n,u(n).option,e)}).update(function(t,l){Q(n,r.getItemGraphicEl(l),t,s(t,i),e,o,a)}).execute();var l=e.get("clip",!0)?(0,w.lQ)(e.coordinateSystem,!1,e):null;l?o.setClipPath(l):o.removeClipPath(),this._data=a},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,i,r){var a=t.getData(),o=j(t,a,n,i),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var c=Q(null,null,u,o(u,r),t,this.group,a);c&&(c.traverse(l),s.push(c))}},t.prototype.eachRendered=function(e){p.traverseElements(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,i){var r=t.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},t.type="custom",t}(M.Z);function U(e){var t,n=e.type;if("path"===n){var i=e.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,a=eo(i);u(t=p.makePath(a,null,r,i.layout||"center")).customPathData=a}else if("image"===n)u(t=new g.ZP({})).customImagePath=e.style.image;else if("text"===n)t=new f.ZP({});else if("group"===n)t=new v.Z;else if("compoundPath"===n)throw Error('"compoundPath" is not supported yet.');else{var o=p.getShapeClass(n);o||(0,k._y)(""),t=new o}return u(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function K(e,t,n,i,r,a,o){(0,Z.r)(t);var s=r&&r.normal.cfg;s&&t.setTextConfig(s),i&&null==i.transition&&(i.transition=B);var l=i&&i.style;if(l){"text"===t.type&&((0,h.hasOwn)(l,"textFill")&&(l.fill=l.textFill),(0,h.hasOwn)(l,"textStroke")&&(l.stroke=l.textStroke));var u=void 0,c=W(t)?l.decal:null;e&&c&&(c.dirty=!0,u=(0,D.I)(c,e)),l.__decalPattern=u}if(X(t)&&l){var u=l.__decalPattern;u&&(l.decal=u)}(0,L.Ob)(t,i,a,{dataIndex:n,isInit:o,clearStyle:!0}),(0,Z.t)(t,i.keyframeAnimation,a)}function q(e,t,n,i,r){var a=t.isGroup?null:t,o=r&&r[e].cfg;if(a){var s=a.ensureState(e);if(!1===i){var l=a.getState(e);l&&(l.style=null)}else s.style=i||null;o&&(s.textConfig=o),(0,y.MA)(a)}}function j(e,t,n,i){var r,a,o,u,c=e.get("renderItem"),d=e.coordinateSystem,p={};d&&(p=d.prepareCustoms?d.prepareCustoms(d):H[d.type](d));for(var g=(0,h.defaults)({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(e,n){return null==n&&(n=o),t.getStore().get(t.getDimensionIndex(e||0),n)},style:function(n,i){null==i&&(i=o);var r=t.getItemVisual(i,"style"),a=r&&r.fill,s=r&&r.opacity,l=I(i,N).getItemStyle();null!=a&&(l.fill=a),null!=s&&(l.opacity=s);var u={inheritColor:(0,h.isString)(a)?a:"#000"},c=O(i,N),d=m.Lr(c,null,u,!1,!0);d.text=c.getShallow("show")?(0,h.retrieve2)(e.getFormattedLabel(i,N),(0,x.H)(t,i)):null;var p=m.nC(c,u,!1);return k(n,l),l=(0,C.n8)(l,d,p),n&&T(l,n),l.legacy=!0,l},ordinalRawValue:function(e,n){null==n&&(n=o),e=e||0;var i=t.getDimensionInfo(e);if(!i){var r=t.getDimensionIndex(e);return r>=0?t.getStore().get(r,n):void 0}var a=t.get(i.name,n),s=i&&i.ordinalMeta;return s?s.categories[a]:a},styleEmphasis:function(n,i){null==i&&(i=o);var r=I(i,P).getItemStyle(),a=O(i,P),s=m.Lr(a,null,null,!0,!0);s.text=a.getShallow("show")?(0,h.retrieve3)(e.getFormattedLabel(i,P),e.getFormattedLabel(i,N),(0,x.H)(t,i)):null;var l=m.nC(a,null,!0);return k(n,r),r=(0,C.n8)(r,s,l),n&&T(r,n),r.legacy=!0,r},visual:function(e,n){if(null==n&&(n=o),(0,h.hasOwn)(s,e)){var i=t.getItemVisual(n,"style");return i?i[s[e]]:null}if((0,h.hasOwn)(l,e))return t.getItemVisual(n,e)},barLayout:function(e){if("cartesian2d"===d.type){var t=d.getBaseAxis();return(0,b.Gk)((0,h.defaults)({axis:t},e))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(e){return m.qT(e,n)}},p.api||{}),f={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:p.coordSys,dataInsideLength:t.count(),encode:(r=e.getData(),a={},(0,h.each)(r.dimensions,function(e){var t=r.getDimensionInfo(e);if(!t.isExtraCoord){var n=t.coordDim;(a[n]=a[n]||[])[t.coordDimIndex]=r.getDimensionIndex(e)}}),a)},v={},y={},S={},M={},w=0;w<E.length;w++){var _=E[w];S[_]=e.getModel(z[_]),M[_]=e.getModel(G[_])}function A(e){return e===o?u||(u=t.getItemModel(e)):t.getItemModel(e)}function I(e,n){return t.hasItemOption?e===o?v[n]||(v[n]=A(e).getModel(z[n])):A(e).getModel(z[n]):S[n]}function O(e,n){return t.hasItemOption?e===o?y[n]||(y[n]=A(e).getModel(G[n])):A(e).getModel(G[n]):M[n]}return function(e,n){return o=e,u=null,v={},y={},c&&c((0,h.defaults)({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},f),g)};function T(e,t){for(var n in t)(0,h.hasOwn)(t,n)&&(e[n]=t[n])}function k(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}}function Q(e,t,n,i,r,a,o){if(!i)return void a.remove(t);var s=$(e,t,n,i,r,a);return s&&o.setItemGraphicEl(n,s),s&&(0,y.k5)(s,i.focus,i.blurScope,i.emphasisDisabled),s}function $(e,t,n,i,r,a){var o,s=-1,l=t;t&&J(t,i,r)&&(s=(0,h.indexOf)(a.childrenRef(),t),t=null);var c=!t,d=t;d?d.clearStates():(d=U(i),l&&((o=d).copyTransform(l),X(o)&&X(l)&&(o.setStyle(l.style),o.z=l.z,o.z2=l.z2,o.zlevel=l.zlevel,o.invisible=l.invisible,o.ignore=l.ignore,W(o)&&W(l)&&o.setShape(l.shape)))),!1===i.morph?d.disableMorphing=!0:d.disableMorphing&&(d.disableMorphing=!1),F.normal.cfg=F.normal.conOpt=F.emphasis.cfg=F.emphasis.conOpt=F.blur.cfg=F.blur.conOpt=F.select.cfg=F.select.conOpt=null,F.isLegacy=!1,function(e,t,n,i,r,a){if(!e.isGroup){ee(n,null,a),ee(n,P,a);var o=a.normal.conOpt,s=a.emphasis.conOpt,l=a.blur.conOpt,u=a.select.conOpt;if(null!=o||null!=s||null!=u||null!=l){var c=e.getTextContent();if(!1===o)c&&e.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=U(o),e.setTextContent(c)),K(null,c,t,o,null,i,r);for(var h=o&&o.style,d=0;d<E.length;d++){var p=E[d];if(p!==N){var g=a[p].conOpt;q(p,c,g,en(o,g,p),null)}}h?c.dirty():c.markRedraw()}}}}(d,n,i,r,c,F),function(e,t,n,i,r){var a=n.clipPath;if(!1===a)e&&e.getClipPath()&&e.removeClipPath();else if(a){var o=e.getClipPath();o&&J(o,a,i)&&(o=null),o||(o=U(a),e.setClipPath(o)),K(null,o,t,a,null,i,r)}}(d,n,i,r,c),K(e,d,n,i,F,r,c),(0,h.hasOwn)(i,"info")&&(u(d).info=i.info);for(var p=0;p<E.length;p++){var g=E[p];if(g!==N){var f=et(i,g),v=en(i,f,g);q(g,d,f,v,F)}}var y=d;if(!y.isGroup){var m=r.currentZ,x=r.currentZLevel;y.z=m,y.zlevel=x;var b=i.z2;null!=b&&(y.z2=b||0);for(var M=0;M<E.length;M++)!function(e,t,n){var i=n===N,r=i?t:et(t,n),a=r?r.z2:null;null!=a&&((i?e:e.ensureState(n)).z2=a||0)}(y,i,E[M])}return"group"===i.type&&function(e,t,n,i,r){var a=i.children,o=a?a.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,c=!1===s;if(o||l||c){if(l){return f={api:e,oldChildren:t.children()||[],newChildren:a||[],dataIndex:n,seriesModel:r,group:t},new S.Z(f.oldChildren,f.newChildren,ei,ei,f).add(er).update(er).remove(ea).execute()}c&&t.removeAll();for(var h=0;h<o;h++){var d=a[h],p=t.childAt(h);d?(null==d.ignore&&(d.ignore=!1),$(e,p,n,d,r,t)):p.ignore=!0}for(var g=t.childCount()-1;g>=h;g--){var f,v,y,m,x=t.childAt(g);v=t,y=x,m=r,y&&(0,L.O3)(y,u(v).option,m)}}}(e,d,n,i,r),s>=0?a.replaceAt(d,s):a.add(d),d}function J(e,t,n){var i,r=u(e),a=t.type,o=t.shape,s=t.style;return n.isUniversalTransitionEnabled()||null!=a&&a!==r.customGraphicType||"path"===a&&(i=o)&&((0,h.hasOwn)(i,"pathData")||(0,h.hasOwn)(i,"d"))&&eo(o)!==r.customPathData||"image"===a&&(0,h.hasOwn)(s,"image")&&s.image!==r.customImagePath}function ee(e,t,n){var i=t?et(e,t):e,r=t?en(e,i,P):e.style,a=e.type,o=i?i.textConfig:null,s=e.textContent,l=s?t?et(s,t):s:null;if(r&&(n.isLegacy||(0,C.Sv)(r,a,!!o,!!l))){n.isLegacy=!0;var u=(0,C.Tw)(r,a,!t);!o&&u.textConfig&&(o=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;c.type||(c.type="text")}var h=t?n[t]:n.normal;h.cfg=o,h.conOpt=l}function et(e,t){return t?e?e[t]:null:e}function en(e,t,n){var i=t&&t.style;return null==i&&n===P&&e&&(i=e.styleEmphasis),i}function ei(e,t){var n=e&&e.name;return null!=n?n:"e\0\0"+t}function er(e,t){var n=this.context,i=null!=e?n.newChildren[e]:null,r=null!=t?n.oldChildren[t]:null;$(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function ea(e){var t=this.context,n=t.oldChildren[e];n&&(0,L.O3)(n,u(n).option,t.seriesModel)}function eo(e){return e&&(e.pathData||e.d)}function es(e){e.registerChartView(Y),e.registerSeriesModel(c)}},78846:function(e,t,n){n.d(t,{N:()=>I});var i=n(69988),r=n(7185),a=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},o=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return(0,i.ZT)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){var n=Math.cos,i=Math.sin,r=t.r,a=t.width,o=t.angle,s=t.x-n(o)*a*(a>=r/3?1:2),l=t.y-i(o)*a*(a>=r/3?1:2);o=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(o)*a,t.y+i(o)*a),e.lineTo(t.x+n(t.angle)*r,t.y+i(t.angle)*r),e.lineTo(t.x-n(o)*a,t.y-i(o)*a),e.lineTo(s,l)},t}(r.ZP),s=n(53511),l=n(72859),u=n(76150),c=n(99858),h=n(37293),d=n(98306),p=n(33361),g=n(58050),f=n(82517),v=n(2699),y=n(5965),m=n(63287),x=n(67975),b=n(10428),S=n(97694);function M(e,t){var n=null==e?"":e+"";return t&&((0,x.isString)(t)?n=t.replace("{value}",n):(0,x.isFunction)(t)&&(n=t(e))),n}var w=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var i,r,a=e.get(["axisLine","lineStyle","color"]),o=(i=e.get("center"),r=Math.min(n.getWidth(),n.getHeight()),{cx:(0,f.GM)(i[0],n.getWidth()),cy:(0,f.GM)(i[1],n.getHeight()),r:(0,f.GM)(e.get("radius"),r/2)});this._renderMain(e,t,n,a,o),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,i,r){var a=this.group,o=e.get("clockwise"),l=-e.get("startAngle")/180*Math.PI,u=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),h=c.get("roundCap")?v.Z:s.C,d=c.get("show"),p=c.getModel("lineStyle"),g=p.get("width"),f=[l,u];(0,S.L)(f,!o),l=f[0];for(var y=(u=f[1])-l,m=l,b=[],M=0;d&&M<i.length;M++){var w=new h({shape:{startAngle:m,endAngle:u=l+y*Math.min(Math.max(i[M][0],0),1),cx:r.cx,cy:r.cy,clockwise:o,r0:r.r-g,r:r.r},silent:!0});w.setStyle({fill:i[M][1]}),w.setStyle(p.getLineStyle(["color","width"])),b.push(w),m=u}b.reverse(),(0,x.each)(b,function(e){return a.add(e)});var _=function(e){var t;if(e<=0)return i[0][1];for(t=0;t<i.length;t++)if(i[t][0]>=e&&(0===t?0:i[t-1][0])<e)return i[t][1];return i[t-1][1]};this._renderTicks(e,t,n,_,r,l,u,o,g),this._renderTitleAndDetail(e,t,n,_,r),this._renderAnchor(e,r),this._renderPointer(e,t,n,_,r,l,u,o,g)},t.prototype._renderTicks=function(e,t,n,i,r,a,o,s,c){for(var h,d,g=this.group,v=r.cx,y=r.cy,m=r.r,b=+e.get("min"),S=+e.get("max"),w=e.getModel("splitLine"),_=e.getModel("axisTick"),A=e.getModel("axisLabel"),I=e.get("splitNumber"),O=_.get("splitNumber"),T=(0,f.GM)(w.get("length"),m),C=(0,f.GM)(_.get("length"),m),k=a,D=(o-a)/I,L=D/O,Z=w.getModel("lineStyle").getLineStyle(),P=_.getModel("lineStyle").getLineStyle(),N=w.get("distance"),V=0;V<=I;V++){if(h=Math.cos(k),d=Math.sin(k),w.get("show")){var R=N?N+c:c,E=new l.Z({shape:{x1:h*(m-R)+v,y1:d*(m-R)+y,x2:h*(m-T-R)+v,y2:d*(m-T-R)+y},style:Z,silent:!0});"auto"===Z.stroke&&E.setStyle({stroke:i(V/I)}),g.add(E)}if(A.get("show")){var R=A.get("distance")+N,z=M((0,f.NM)(V/I*(S-b)+b),A.get("formatter")),G=i(V/I),B=h*(m-T-R)+v,F=d*(m-T-R)+y,H=A.get("rotate"),W=0;"radial"===H?(W=-k+2*Math.PI)>Math.PI/2&&(W+=Math.PI):"tangential"===H?W=-k-Math.PI/2:(0,x.isNumber)(H)&&(W=H*Math.PI/180),0===W?g.add(new u.ZP({style:(0,p.Lr)(A,{text:z,x:B,y:F,verticalAlign:d<-.8?"top":d>.8?"bottom":"middle",align:h<-.4?"left":h>.4?"right":"center"},{inheritColor:G}),silent:!0})):g.add(new u.ZP({style:(0,p.Lr)(A,{text:z,x:B,y:F,verticalAlign:"middle",align:"center"},{inheritColor:G}),silent:!0,originX:B,originY:F,rotation:W}))}if(_.get("show")&&V!==I){var R=_.get("distance");R=R?R+c:c;for(var X=0;X<=O;X++){h=Math.cos(k),d=Math.sin(k);var Y=new l.Z({shape:{x1:h*(m-R)+v,y1:d*(m-R)+y,x2:h*(m-C-R)+v,y2:d*(m-C-R)+y},silent:!0,style:P});"auto"===P.stroke&&Y.setStyle({stroke:i((V+X/O)/I)}),g.add(Y),k+=L}k-=L}else k+=D}},t.prototype._renderPointer=function(e,t,n,i,r,a,l,u,h){var p=this.group,g=this._data,S=this._progressEls,M=[],w=e.get(["pointer","show"]),_=e.getModel("progress"),A=_.get("show"),I=e.getData(),O=I.mapDimension("value"),T=+e.get("min"),C=+e.get("max"),k=[T,C],D=[a,l];function L(t,n){var i,a=I.getItemModel(t).getModel("pointer"),s=(0,f.GM)(a.get("width"),r.r),l=(0,f.GM)(a.get("length"),r.r),u=e.get(["pointer","icon"]),c=a.get("offsetCenter"),h=(0,f.GM)(c[0],r.r),d=(0,f.GM)(c[1],r.r),p=a.get("keepAspect");return(i=u?(0,y.th)(u,h-s/2,d-l,s,l,null,p):new o({shape:{angle:-Math.PI/2,width:s,r:l,x:h,y:d}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function Z(e,t){var n=_.get("roundCap")?v.Z:s.C,i=_.get("overlap"),o=i?_.get("width"):h/I.count(),l=i?r.r-o:r.r-(e+1)*o,c=i?r.r:r.r-e*o,d=new n({shape:{startAngle:a,endAngle:t,cx:r.cx,cy:r.cy,clockwise:u,r0:l,r:c}});return i&&(d.z2=C-I.get(O,e)%C),d}(A||w)&&(I.diff(g).add(function(t){var n=I.get(O,t);if(w){var i=L(t,a);c.KZ(i,{rotation:-((isNaN(+n)?D[0]:(0,f.NU)(n,k,D,!0))+Math.PI/2)},e),p.add(i),I.setItemGraphicEl(t,i)}if(A){var r=Z(t,a),o=_.get("clip");c.KZ(r,{shape:{endAngle:(0,f.NU)(n,k,D,o)}},e),p.add(r),(0,b.Q)(e.seriesIndex,I.dataType,t,r),M[t]=r}}).update(function(t,n){var i=I.get(O,t);if(w){var r=g.getItemGraphicEl(n),o=r?r.rotation:a,s=L(t,o);s.rotation=o,c.D(s,{rotation:-((isNaN(+i)?D[0]:(0,f.NU)(i,k,D,!0))+Math.PI/2)},e),p.add(s),I.setItemGraphicEl(t,s)}if(A){var l=S[n],u=Z(t,l?l.shape.endAngle:a),h=_.get("clip");c.D(u,{shape:{endAngle:(0,f.NU)(i,k,D,h)}},e),p.add(u),(0,b.Q)(e.seriesIndex,I.dataType,t,u),M[t]=u}}).execute(),I.each(function(e){var t=I.getItemModel(e),n=t.getModel("emphasis"),r=n.get("focus"),a=n.get("blurScope"),o=n.get("disabled");if(w){var s=I.getItemGraphicEl(e),l=I.getItemVisual(e,"style"),u=l.fill;if(s instanceof m.ZP){var c=s.style;s.useStyle((0,x.extend)({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i((0,f.NU)(I.get(O,e),k,[0,1],!0))),s.z2EmphasisLift=0,(0,d.WO)(s,t),(0,d.k5)(s,r,a,o)}if(A){var h=M[e];h.useStyle(I.getItemVisual(e,"style")),h.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,(0,d.WO)(h,t),(0,d.k5)(h,r,a,o)}}),this._progressEls=M)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),a=n.get("offsetCenter"),o=n.get("keepAspect"),s=(0,y.th)(r,t.cx-i/2+(0,f.GM)(a[0],t.r),t.cy-i/2+(0,f.GM)(a[1],t.r),i,i,null,o);s.z2=+!!n.get("showAbove"),s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},t.prototype._renderTitleAndDetail=function(e,t,n,i,r){var a=this,o=e.getData(),s=o.mapDimension("value"),l=+e.get("min"),c=+e.get("max"),d=new h.Z,g=[],v=[],y=e.isAnimationEnabled(),m=e.get(["pointer","showAbove"]);o.diff(this._data).add(function(e){g[e]=new u.ZP({silent:!0}),v[e]=new u.ZP({silent:!0})}).update(function(e,t){g[e]=a._titleEls[t],v[e]=a._detailEls[t]}).execute(),o.each(function(t){var n=o.getItemModel(t),a=o.get(s,t),u=new h.Z,x=i((0,f.NU)(a,[l,c],[0,1],!0)),b=n.getModel("title");if(b.get("show")){var S=b.get("offsetCenter"),w=r.cx+(0,f.GM)(S[0],r.r),_=r.cy+(0,f.GM)(S[1],r.r),A=g[t];A.attr({z2:2*!m,style:(0,p.Lr)(b,{x:w,y:_,text:o.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:x})}),u.add(A)}var I=n.getModel("detail");if(I.get("show")){var O=I.get("offsetCenter"),T=r.cx+(0,f.GM)(O[0],r.r),C=r.cy+(0,f.GM)(O[1],r.r),k=(0,f.GM)(I.get("width"),r.r),D=(0,f.GM)(I.get("height"),r.r),L=e.get(["progress","show"])?o.getItemVisual(t,"style").fill:x,A=v[t],Z=I.get("formatter");A.attr({z2:2*!m,style:(0,p.Lr)(I,{x:T,y:C,text:M(a,Z),width:isNaN(k)?null:k,height:isNaN(D)?null:D,align:"center",verticalAlign:"middle"},{inheritColor:L})}),(0,p.pe)(A,{normal:I},a,function(e){return M(e,Z)}),y&&(0,p.tD)(A,t,o,e,{getFormattedLabel:function(e,t,n,i,r,o){return M(o?o.interpolatedValue:a,Z)}}),u.add(A)}d.add(u)}),this.group.add(d),this._titleEls=g,this._detailEls=v},t.type="gauge",t}(g.Z),_=n(78939),A=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return(0,i.ZT)(t,e),t.prototype.getInitialData=function(e,t){return(0,_.Z)(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(n(2021).Z);function I(e){e.registerChartView(w),e.registerSeriesModel(A)}},27835:function(e,t,n){n.d(t,{N:()=>b});var i=n(69988),r=n(29790),a=n(31969),o=n(63287),s=n(98306),l=n(49906),u=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=l.qW.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,i,r,a){var o=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=e.length;c.width=t,c.height=n;for(var p=0;p<d;++p){var g=e[p],f=g[0],v=g[1],y=i(g[2]);h.globalAlpha=y,h.drawImage(o,f-u,v-u)}if(!c.width||!c.height)return c;for(var m=h.getImageData(0,0,c.width,c.height),x=m.data,b=0,S=x.length,M=this.minOpacity,w=this.maxOpacity-M;b<S;){var y=x[b+3]/256,_=4*Math.floor(255*y);if(y>0){var A=a(y)?s:l;y>0&&(y=y*w+M),x[b++]=A[_],x[b++]=A[_+1],x[b++]=A[_+2],x[b++]=A[_+3]*y*256}else b+=4}return h.putImageData(m,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=l.qW.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var i=e.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-t,t,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,i=n[t]||(n[t]=new Uint8ClampedArray(1024)),r=[0,0,0,0],a=0,o=0;o<256;o++)e[t](o/255,!0,r),i[a++]=r[0],i[a++]=r[1],i[a++]=r[2],i[a++]=r[3];return i},e}(),c=n(67975),h=n(58050),d=n(82667),p=n(33361);function g(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var f=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.render=function(e,t,n){t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(n){n===e&&(i=t)})}),this._progressiveEls=null,this.group.removeAll();var i,r=e.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):g(r)&&this._renderOnGeo(r,e,i,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,i){var r=t.coordinateSystem;r&&(g(r)?this.render(t,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){r.traverseElements(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,i,r){var o,l,u,c,h=e.coordinateSystem,g=(0,d.H)(h,"cartesian2d");if(g){var f=h.getAxis("x"),v=h.getAxis("y");o=f.getBandWidth()+.5,l=v.getBandWidth()+.5,u=f.scale.getExtent(),c=v.scale.getExtent()}for(var y=this.group,m=e.getData(),x=e.getModel(["emphasis","itemStyle"]).getItemStyle(),b=e.getModel(["blur","itemStyle"]).getItemStyle(),S=e.getModel(["select","itemStyle"]).getItemStyle(),M=e.get(["itemStyle","borderRadius"]),w=(0,p.k3)(e),_=e.getModel("emphasis"),A=_.get("focus"),I=_.get("blurScope"),O=_.get("disabled"),T=g?[m.mapDimension("x"),m.mapDimension("y"),m.mapDimension("value")]:[m.mapDimension("time"),m.mapDimension("value")],C=n;C<i;C++){var k=void 0,D=m.getItemVisual(C,"style");if(g){var L=m.get(T[0],C),Z=m.get(T[1],C);if(isNaN(m.get(T[2],C))||isNaN(L)||isNaN(Z)||L<u[0]||L>u[1]||Z<c[0]||Z>c[1])continue;var P=h.dataToPoint([L,Z]);k=new a.Z({shape:{x:P[0]-o/2,y:P[1]-l/2,width:o,height:l},style:D})}else{if(isNaN(m.get(T[1],C)))continue;k=new a.Z({z2:1,shape:h.dataToRect([m.get(T[0],C)]).contentShape,style:D})}if(m.hasItemOption){var N=m.getItemModel(C),V=N.getModel("emphasis");x=V.getModel("itemStyle").getItemStyle(),b=N.getModel(["blur","itemStyle"]).getItemStyle(),S=N.getModel(["select","itemStyle"]).getItemStyle(),M=N.get(["itemStyle","borderRadius"]),A=V.get("focus"),I=V.get("blurScope"),O=V.get("disabled"),w=(0,p.k3)(N)}k.shape.r=M;var R=e.getRawValue(C),E="-";R&&null!=R[2]&&(E=R[2]+""),(0,p.ni)(k,w,{labelFetcher:e,labelDataIndex:C,defaultOpacity:D.opacity,defaultText:E}),k.ensureState("emphasis").style=x,k.ensureState("blur").style=b,k.ensureState("select").style=S,(0,s.k5)(k,A,I,O),k.incremental=r,r&&(k.states.emphasis.hoverLayer=!0),y.add(k),m.setItemGraphicEl(C,k),this._progressiveEls&&this._progressiveEls.push(k)}},t.prototype._renderOnGeo=function(e,t,n,i){var r,a,s,l,h,d,p,g=n.targetVisuals.inRange,f=n.targetVisuals.outOfRange,v=t.getData(),y=this._hmLayer||this._hmLayer||new u;y.blurSize=t.get("blurSize"),y.pointSize=t.get("pointSize"),y.minOpacity=t.get("minOpacity"),y.maxOpacity=t.get("maxOpacity");var m=e.getViewRect().clone(),x=e.getRoamTransform();m.applyTransform(x);var b=Math.max(m.x,0),S=Math.max(m.y,0),M=Math.min(m.width+m.x,i.getWidth()),w=Math.min(m.height+m.y,i.getHeight()),_=M-b,A=w-S,I=[v.mapDimension("lng"),v.mapDimension("lat"),v.mapDimension("value")],O=v.mapArray(I,function(t,n,i){var r=e.dataToPoint([t,n]);return r[0]-=b,r[1]-=S,r.push(i),r}),T=n.getExtent(),C="visualMap.continuous"===n.type?(r=n.option.range,a=T[1]-T[0],r=[(r[0]-T[0])/a,(r[1]-T[0])/a],function(e){return e>=r[0]&&e<=r[1]}):(s=n.getPieceList(),l=n.option.selected,h=T[1]-T[0],d=(s=c.map(s,function(e){return{interval:[(e.interval[0]-T[0])/h,(e.interval[1]-T[0])/h]}})).length,p=0,function(e){var t;for(t=p;t<d;t++){var n=s[t].interval;if(n[0]<=e&&e<=n[1]){p=t;break}}if(t===d)for(t=p-1;t>=0;t--){var n=s[t].interval;if(n[0]<=e&&e<=n[1]){p=t;break}}return t>=0&&t<d&&l[t]});y.update(O,_,A,g.color.getNormalizer(),{inRange:g.color.getColorMapper(),outOfRange:f.color.getColorMapper()},C);var k=new o.ZP({style:{width:_,height:A,x:b,y:S,image:y.canvas},silent:!0});this.group.add(k)},t.type="heatmap",t}(h.Z),v=n(2021),y=n(30984),m=n(49801),x=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.getInitialData=function(e,t){return(0,y.Z)(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=m.Z.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(v.Z);function b(e){e.registerChartView(f),e.registerSeriesModel(x)}},2215:function(e,t,n){n.d(t,{Z:()=>A});var i=n(69988),r=n(67975),a=n(77605),o=n(5965),s=n(72859),l=n(20121),u=n(7185),c=s.Z.prototype,h=l.Z.prototype,d=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function p(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}(0,i.ZT)(function(){return null!==d&&d.apply(this,arguments)||this},d);var g=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return(0,i.ZT)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new d},t.prototype.buildPath=function(e,t){p(t)?c.buildPath.call(this,e,t):h.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return p(this.shape)?c.pointAt.call(this,e):h.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=p(t)?[t.x2-t.x1,t.y2-t.y1]:h.tangentAt.call(this,e);return a.normalize(n,n)},t}(u.ZP),f=n(99858),v=n(37293),y=n(98306),m=n(33361),x=n(82517),b=["fromSymbol","toSymbol"];function S(e){return"_"+e+"Type"}function M(e,t,n){var i=t.getItemVisual(n,e);if(!i||"none"===i)return i;var r=t.getItemVisual(n,e+"Size"),a=t.getItemVisual(n,e+"Rotate"),s=t.getItemVisual(n,e+"Offset"),l=t.getItemVisual(n,e+"KeepAspect"),u=o.zp(r),c=o.Cq(s||0,u);return i+u+c+(a||"")+(l||"")}function w(e,t,n){var i=t.getItemVisual(n,e);if(i&&"none"!==i){var r=t.getItemVisual(n,e+"Size"),a=t.getItemVisual(n,e+"Rotate"),s=t.getItemVisual(n,e+"Offset"),l=t.getItemVisual(n,e+"KeepAspect"),u=o.zp(r),c=o.Cq(s||0,u),h=o.th(i,-u[0]/2+c[0],-u[1]/2+c[1],u[0],u[1],null,l);return h.__specifiedRotation=null==a||isNaN(a)?void 0:a*Math.PI/180||0,h.name=e,h}}function _(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}let A=function(e){function t(t,n,i){var r=e.call(this)||this;return r._createLine(t,n,i),r}return(0,i.ZT)(t,e),t.prototype._createLine=function(e,t,n){var i,a,o=e.hostModel,s=(i=e.getItemLayout(t),_((a=new g({name:"line",subPixelOptimize:!0})).shape,i),a);s.shape.percent=0,f.KZ(s,{shape:{percent:1}},o,t),this.add(s),(0,r.each)(b,function(n){var i=w(n,e,t);this.add(i),this[S(n)]=M(n,e,t)},this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var i=e.hostModel,a=this.childOfName("line"),o=e.getItemLayout(t),s={shape:{}};_(s.shape,o),f.D(a,s,i,t),(0,r.each)(b,function(n){var i=M(n,e,t),r=S(n);if(this[r]!==i){this.remove(this.childOfName(n));var a=w(n,e,t);this.add(a)}this[r]=i},this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var i=e.hostModel,a=this.childOfName("line"),o=n&&n.emphasisLineStyle,s=n&&n.blurLineStyle,l=n&&n.selectLineStyle,u=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,h=n&&n.focus,d=n&&n.blurScope;if(!n||e.hasItemOption){var p=e.getItemModel(t),g=p.getModel("emphasis");o=g.getModel("lineStyle").getLineStyle(),s=p.getModel(["blur","lineStyle"]).getLineStyle(),l=p.getModel(["select","lineStyle"]).getLineStyle(),c=g.get("disabled"),h=g.get("focus"),d=g.get("blurScope"),u=(0,m.k3)(p)}var f=e.getItemVisual(t,"style"),v=f.stroke;a.useStyle(f),a.style.fill=null,a.style.strokeNoScale=!0,a.ensureState("emphasis").style=o,a.ensureState("blur").style=s,a.ensureState("select").style=l,(0,r.each)(b,function(e){var t=this.childOfName(e);if(t){t.setColor(v),t.style.opacity=f.opacity;for(var n=0;n<y.L1.length;n++){var i=y.L1[n],r=a.getState(i);if(r){var o=r.style||{},s=t.ensureState(i),l=s.style||(s.style={});null!=o.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity&&(l.opacity=o.opacity)}}t.markRedraw()}},this);var S=i.getRawValue(t);(0,m.ni)(this,u,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return i.getFormattedLabel(t,n,e.dataType)}},inheritColor:v||"#000",defaultOpacity:f.opacity,defaultText:(null==S?e.getName(t):isFinite(S)?(0,x.NM)(S):S)+""});var M=this.getTextContent();if(M){var w=u.normal;M.__align=M.style.align,M.__verticalAlign=M.style.verticalAlign,M.__position=w.get("position")||"middle";var _=w.get("distance");(0,r.isArray)(_)||(_=[_,_]),M.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),(0,y.k5)(this,h,d,c)},t.prototype.highlight=function(){(0,y.fD)(this)},t.prototype.downplay=function(){(0,y.Mh)(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");_(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this.childOfName("fromSymbol"),t=this.childOfName("toSymbol"),n=this.getTextContent();if(e||t||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 s=o.shape.percent,l=o.pointAt(0),u=o.pointAt(s),c=a.sub([],u,l);if(a.normalize(c,c),e&&(e.setPosition(l),w(e,0),e.scaleX=e.scaleY=i*s,e.markRedraw()),t&&(t.setPosition(u),w(t,1),t.scaleX=t.scaleY=i*s,t.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var h=void 0,d=void 0,p=n.__labelDistance,g=p[0]*i,f=p[1]*i,v=s/2,y=o.tangentAt(v),m=[y[1],-y[0]],x=o.pointAt(v);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]);var b=y[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var S=-Math.atan2(y[1],y[0]);u[0]<l[0]&&(S=Math.PI+S),n.rotation=S}var M=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":M=-f,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":M=f,d="top";break;default:M=0,d="middle"}switch(n.__position){case"end":n.x=c[0]*g+u[0],n.y=c[1]*f+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*g+l[0],n.y=-c[1]*f+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=g*b+l[0],n.y=l[1]+M,h=y[0]<0?"right":"left",n.originX=-g*b,n.originY=-M;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=x[0],n.y=x[1]+M,h="center",n.originY=-M;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-g*b+u[0],n.y=u[1]+M,h=y[0]>=0?"right":"left",n.originX=g*b,n.originY=-M}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||d,align:n.__align||h})}}}function w(e,t){var n=e.__specifiedRotation;if(null==n){var i=o.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else e.attr("rotation",n)}},t}(v.Z)},9460:function(e,t,n){n.d(t,{Z:()=>c});var i=n(37293),r=n(29790),a=n(2215),o=n(33361);function s(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:(0,o.k3)(t)}}function l(e){return isNaN(e[0])||isNaN(e[1])}function u(e){return e&&!l(e[0])&&!l(e[1])}let c=function(){function e(e){this.group=new i.Z,this._LineCtor=e||a.Z}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this.group,i=this._lineData;this._lineData=e,i||n.removeAll();var r=s(e);e.diff(i).add(function(n){t._doAdd(e,n,r)}).update(function(n,a){t._doUpdate(i,e,a,n,r)}).remove(function(e){n.remove(i.getItemGraphicEl(e))}).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,n){t.updateLayout(e,n)},this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=s(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){var t;e.isGroup||(t=e).animators&&t.animators.length>0||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=e.start;i<e.end;i++)if(u(t.getItemLayout(i))){var r=new this._LineCtor(t,i,this._seriesScope);r.traverse(n),this.group.add(r),t.setItemGraphicEl(i,r),this._progressiveEls.push(r)}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){r.traverseElements(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){if(u(e.getItemLayout(t))){var i=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,i),this.group.add(i)}},e.prototype._doUpdate=function(e,t,n,i,r){var a=e.getItemGraphicEl(n);if(!u(t.getItemLayout(i)))return void this.group.remove(a);a?a.updateData(t,i,r):a=new this._LineCtor(t,i,r),t.setItemGraphicEl(i,a),this.group.add(a)},e}()},21730:function(e,t,n){n.d(t,{ID:()=>l,X0:()=>u,lQ:()=>c});var i=n(31969),r=n(99858),a=n(53511),o=n(82517),s=n(67975);function l(e,t,n,a,o){var l=e.getArea(),u=l.x,c=l.y,h=l.width,d=l.height,p=n.get(["lineStyle","width"])||2;u-=p/2,c-=p/2,h+=p,d+=p,h=Math.ceil(h),u!==Math.floor(u)&&(u=Math.floor(u),h++);var g=new i.Z({shape:{x:u,y:c,width:h,height:d}});if(t){var f=e.getBaseAxis(),v=f.isHorizontal(),y=f.inverse;v?(y&&(g.shape.x+=h),g.shape.width=0):(y||(g.shape.y+=d),g.shape.height=0);var m=(0,s.isFunction)(o)?function(e){o(e,g)}:null;r.KZ(g,{shape:{width:h,height:d,x:u,y:c}},n,null,a,m)}return g}function u(e,t,n){var i=e.getArea(),s=(0,o.NM)(i.r0,1),l=(0,o.NM)(i.r,1),u=new a.C({shape:{cx:(0,o.NM)(e.cx,1),cy:(0,o.NM)(e.cy,1),r0:s,r:l,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return t&&("angle"===e.getBaseAxis().dim?u.shape.endAngle=i.startAngle:u.shape.r=s,r.KZ(u,{shape:{endAngle:i.endAngle,r:l}},n)),u}function c(e,t,n,i,r){if(e){if("polar"===e.type)return u(e,t,n);else if("cartesian2d"===e.type)return l(e,t,n,i,r)}return null}},78939:function(e,t,n){n.d(t,{Z:()=>o});var i=n(56904),r=n(83208),a=n(67975);function o(e,t,n){t=(0,a.isArray)(t)&&{coordDimensions:t}||(0,a.extend)({encodeDefine:e.getEncode()},t);var o=e.getSource(),s=(0,i.Z)(o,t).dimensions,l=new r.Z(s,e);return l.initData(o,n),l}},10061:function(e,t,n){n.d(t,{T:()=>a});var i=n(67975),r=n(12666);function a(e,t,n){var a=e.get("borderRadius");if(null==a)return n?{cornerRadius:0}:null;(0,i.isArray)(a)||(a=[a,a,a,a]);var o=Math.abs(t.r||0-t.r0||0);return{cornerRadius:(0,i.map)(a,function(e){return(0,r.GM)(e,o)})}}},44811:function(e,t,n){n.d(t,{N:()=>B});var i=n(69988),r=n(30984),a=n(2021),o=n(5965),s=n(37293),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return(0,i.ZT)(t,e),t.prototype.getInitialData=function(e){return(0,r.Z)(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new s.Z,n=(0,o.th)("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),a="none"===i?"circle":i,l=.8*e.itemHeight,u=(0,o.th)(a,(e.itemWidth-l)/2,(e.itemHeight-l)/2,l,l,e.itemStyle.fill);return t.add(u),u.setStyle(e.itemStyle),u.rotation=("inherit"===e.iconRotate?r:e.iconRotate||0)*Math.PI/180,u.setOrigin([e.itemWidth/2,e.itemHeight/2]),a.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.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:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(a.Z),u=n(67975),c=n(5434),h=n(3802),d=n(97384);function p(e,t,n){var i,r,a,o,s=e.getBaseAxis(),l=e.getOtherAxis(s),c=(i=l,r=n,a=0,o=i.scale.getExtent(),"start"===r?a=o[0]:"end"===r?a=o[1]:(0,u.isNumber)(r)&&!isNaN(r)?a=r:o[0]>0?a=o[0]:o[1]<0&&(a=o[1]),a),h=s.dim,p=l.dim,g=t.mapDimension(p),f=t.mapDimension(h),v=+("x"===p||"radius"===p),y=(0,u.map)(e.dimensions,function(e){return t.mapDimension(e)}),m=!1,x=t.getCalculationInfo("stackResultDimension");return(0,d.M)(t,y[0])&&(m=!0,y[0]=x),(0,d.M)(t,y[1])&&(m=!0,y[1]=x),{dataDimsForPoint:y,valueStart:c,valueAxisDim:p,baseAxisDim:h,stacked:!!m,valueDim:g,baseDim:f,baseDataOffset:v,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function g(e,t,n,i){var r=NaN;e.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=n.get(e.baseDim,i),o[1-a]=r,t.dataToPoint(o)}var f=n(98845),v=n(44235),y=n(99858),m=n(76150),x=n(86571),b=n(95999),S=n(58050),M=n(21730),w=n(82667),_=n(98306),A=n(33361),I=n(16072),O=n(10428),T=n(40814),C=n(54411);function k(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function D(e){for(var t=1/0,n=1/0,i=-1/0,r=-1/0,a=0;a<e.length;){var o=e[a++],s=e[a++];isNaN(o)||(t=Math.min(o,t),i=Math.max(o,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[t,n],[i,r]]}function L(e,t){var n=D(e),i=n[0],r=n[1],a=D(t),o=a[0],s=a[1];return Math.max(Math.abs(i[0]-o[0]),Math.abs(i[1]-o[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function Z(e){return u.isNumber(e)?e:.5*!!e}function P(e,t,n,i){var r=t.getBaseAxis(),a=+("x"!==r.dim&&"radius"!==r.dim),o=[],s=0,l=[],u=[],c=[],h=[];if(i){for(s=0;s<e.length;s+=2)isNaN(e[s])||isNaN(e[s+1])||h.push(e[s],e[s+1]);e=h}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],o.push(u[0],u[1]),n){case"end":l[a]=c[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var d=(u[a]+c[a])/2,p=[];l[a]=p[a]=d,l[1-a]=u[1-a],p[1-a]=c[1-a],o.push(l[0],l[1]),o.push(p[0],p[1]);break;default:l[a]=u[a],l[1-a]=c[1-a],o.push(l[0],l[1])}return o.push(e[s++],e[s++]),o}function N(e,t){return[e[2*t],e[2*t+1]]}function V(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<_.L1.length;t++)if(e.get([_.L1[t],"endLabel","show"]))return!0;return!1}function R(e,t,n,i){if(!(0,w.H)(t,"cartesian2d"))return(0,M.X0)(t,n,i);var r=i.getModel("endLabel"),a=r.get("valueAnimation"),o=i.getData(),s={lastFrameIndex:0},l=V(i)?function(n,i){e._endLabelOnDuring(n,i,o,s,a,r,t)}:null,u=t.getBaseAxis().isHorizontal(),c=(0,M.ID)(t,n,i,function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var h=c.shape,d=Math.max(h.width,h.height);u?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,c),c}var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(t,e),t.prototype.init=function(){var e=new s.Z,t=new c.Z;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},t.prototype.render=function(e,t,n){var i,r=this,a=e.coordinateSystem,o=this.group,s=e.getData(),l=e.getModel("lineStyle"),c=e.getModel("areaStyle"),d=s.getLayout("points")||[],m="polar"===a.type,x=this._coordSys,b=this._symbolDraw,S=this._polyline,M=this._polygon,w=this._lineGroup,A=!t.ssr&&e.get("animation"),I=!c.isEmpty(),D=c.get("origin"),L=p(a,s,D),N=I&&function(e,t,n){if(!n.valueDim)return[];for(var i=t.count(),r=(0,f.o)(2*i),a=0;a<i;a++){var o=g(n,e,t,a);r[2*a]=o[0],r[2*a+1]=o[1]}return r}(a,s,L),V=e.get("showSymbol"),E=e.get("connectNulls"),z=V&&!m&&function(e,t,n){var i=e.get("showAllSymbol"),r="auto"===i;if(!i||r){var a=n.getAxesByScale("ordinal")[0];if(a&&!(r&&function(e,t){var n=e.getExtent(),i=Math.abs(n[1]-n[0])/e.scale.count();isNaN(i)&&(i=0);for(var r=t.count(),a=Math.max(1,Math.round(r/5)),o=0;o<r;o+=a)if(1.5*h.Z.getSymbolSize(t,o)[+!!e.isHorizontal()]>i)return!1;return!0}(a,t))){var o=t.mapDimension(a.dim),s={};return u.each(a.getViewLabels(),function(e){s[a.scale.getRawOrdinalNumber(e.tickValue)]=1}),function(e){return!s.hasOwnProperty(t.get(o,e))}}}}(e,s,a),G=this._data;G&&G.eachItemGraphicEl(function(e,t){e.__temp&&(o.remove(e),G.setItemGraphicEl(t,null))}),V||b.remove(),o.add(w);var B=!m&&e.get("step");a&&a.getArea&&e.get("clip",!0)&&(null!=(i=a.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 F=function(e,t,n){var i,r,a=e.getVisual("visualMeta");if(a&&a.length&&e.count()){if("cartesian2d"!==t.type)return;for(var o=a.length-1;o>=0;o--){var s=e.getDimensionInfo(a[o].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){r=a[o];break}}if(!r)return;var l=t.getAxis(i),c=u.map(r.stops,function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}}),h=c.length,d=r.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),d.reverse());var p=function(e,t){var n,i,r=[],a=e.length;function o(e,t,n){var i=e.coord,r=(n-i)/(t.coord-i);return{coord:n,color:(0,C.lerp)(r,[e.color,t.color])}}for(var s=0;s<a;s++){var l=e[s],u=l.coord;if(u<0)n=l;else if(u>t){i?r.push(o(i,l,t)):n&&r.push(o(n,l,0),o(n,l,t));break}else n&&(r.push(o(n,l,0)),n=null),r.push(l),i=l}return r}(c,"x"===i?n.getWidth():n.getHeight()),g=p.length;if(!g&&h)return c[0].coord<0?d[1]?d[1]:c[h-1].color:d[0]?d[0]:c[0].color;var f=p[0].coord-10,y=p[g-1].coord+10,m=y-f;if(m<.001)return"transparent";u.each(p,function(e){e.offset=(e.coord-f)/m}),p.push({offset:g?p[g-1].offset:.5,color:d[1]||"transparent"}),p.unshift({offset:g?p[0].offset:.5,color:d[0]||"transparent"});var x=new v.Z(0,0,0,0,p,!0);return x[i]=f,x[i+"2"]=y,x}}(s,a,n)||s.getVisual("style")[s.getVisual("drawType")];if(S&&x.type===a.type&&B===this._step){I&&!M?M=this._newPolygon(d,N):M&&!I&&(w.remove(M),M=this._polygon=null),m||this._initOrUpdateEndLabel(e,a,(0,T.Lz)(F));var H=w.getClipPath();if(H){var W=R(this,a,!1,e);y.KZ(H,{shape:W.shape},e)}else w.setClipPath(R(this,a,!0,e));V&&b.updateData(s,{isIgnore:z,clipShape:i,disableAnimation:!0,getSymbolPoint:function(e){return[d[2*e],d[2*e+1]]}}),k(this._stackedOnPoints,N)&&k(this._points,d)||(A?this._doUpdateAnimation(s,N,a,n,B,D,E):(B&&(d=P(d,a,B,E),N&&(N=P(N,a,B,E))),S.setShape({points:d}),M&&M.setShape({points:d,stackedOnPoints:N})))}else V&&b.updateData(s,{isIgnore:z,clipShape:i,disableAnimation:!0,getSymbolPoint:function(e){return[d[2*e],d[2*e+1]]}}),A&&this._initSymbolLabelAnimation(s,a,i),B&&(d=P(d,a,B,E),N&&(N=P(N,a,B,E))),S=this._newPolyline(d),I?M=this._newPolygon(d,N):M&&(w.remove(M),M=this._polygon=null),m||this._initOrUpdateEndLabel(e,a,(0,T.Lz)(F)),w.setClipPath(R(this,a,!0,e));var X=e.getModel("emphasis"),Y=X.get("focus"),U=X.get("blurScope"),K=X.get("disabled");S.useStyle(u.defaults(l.getLineStyle(),{fill:"none",stroke:F,lineJoin:"bevel"})),(0,_.WO)(S,e,"lineStyle"),S.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])&&(S.getState("emphasis").style.lineWidth=+S.style.lineWidth+1),(0,O.A)(S).seriesIndex=e.seriesIndex,(0,_.k5)(S,Y,U,K);var q=Z(e.get("smooth")),j=e.get("smoothMonotone");if(S.setShape({smooth:q,smoothMonotone:j,connectNulls:E}),M){var Q=s.getCalculationInfo("stackedOnSeries"),$=0;M.useStyle(u.defaults(c.getAreaStyle(),{fill:F,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),Q&&($=Z(Q.get("smooth"))),M.setShape({smooth:q,stackedOnSmooth:$,smoothMonotone:j,connectNulls:E}),(0,_.WO)(M,e,"areaStyle"),(0,O.A)(M).seriesIndex=e.seriesIndex,(0,_.k5)(M,Y,U,K)}var J=function(e){r._changePolyState(e)};s.eachItemGraphicEl(function(e){e&&(e.onHoverStateChange=J)}),this._polyline.onHoverStateChange=J,this._data=s,this._coordSys=a,this._stackedOnPoints=N,this._points=d,this._step=B,this._valueOrigin=D,e.get("triggerLineEvent")&&(this.packEventData(e,S),M&&this.packEventData(e,M))},t.prototype.packEventData=function(e,t){(0,O.A)(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,i){var r=e.getData(),a=x.gO(r,i);if(this._changePolyState("emphasis"),a instanceof Array||null==a||!(a>=0))S.Z.prototype.highlight.call(this,e,t,n,i);else{var o=r.getLayout("points"),s=r.getItemGraphicEl(a);if(!s){var l=o[2*a],u=o[2*a+1];if(isNaN(l)||isNaN(u)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,d=e.get("z")||0;(s=new h.Z(r,a)).x=l,s.y=u,s.setZ(c,d);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=c,p.z=d,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}},t.prototype.downplay=function(e,t,n,i){var r=e.getData(),a=x.gO(r,i);if(this._changePolyState("normal"),null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else S.Z.prototype.downplay.call(this,e,t,n,i)},t.prototype._changePolyState=function(e){var t=this._polygon;(0,_.Gl)(this._polyline,e),t&&(0,_.Gl)(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new b.X({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new b.K({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var i,r,a=t.getBaseAxis(),o=a.inverse;"cartesian2d"===t.type?(i=a.isHorizontal(),r=!1):"polar"===t.type&&(i="angle"===a.dim,r=!0);var s=e.hostModel,l=s.get("animationDuration");u.isFunction(l)&&(l=l(null));var c=s.get("animationDelay")||0,h=u.isFunction(c)?c(null):c;e.eachItemGraphicEl(function(e,a){if(e){var s=[e.x,e.y],d=void 0,p=void 0,g=void 0;if(n)if(r){var f=t.pointToCoord(s);i?(d=n.startAngle,p=n.endAngle,g=-f[1]/180*Math.PI):(d=n.r0,p=n.r,g=f[0])}else i?(d=n.x,p=n.x+n.width,g=e.x):(d=n.y+n.height,p=n.y,g=e.y);var v=p===d?0:(g-d)/(p-d);o&&(v=1-v);var y=u.isFunction(c)?c(a):l*v+h,m=e.getSymbolPath(),x=m.getTextContent();e.attr({scaleX:0,scaleY:0}),e.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:y}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:y}),m.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,t,n){var i=e.getModel("endLabel");if(V(e)){var r,a,o,s=e.getData(),l=this._polyline,u=s.getLayout("points");if(!u){l.removeTextContent(),this._endLabel=null;return}var c=this._endLabel;c||((c=this._endLabel=new m.ZP({z2:200})).ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var h=function(e){for(var t,n,i=e.length/2;i>0&&(t=e[2*i-2],n=e[2*i-1],isNaN(t)||isNaN(n));i--);return i-1}(u);h>=0&&((0,A.ni)(l,(0,A.k3)(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:h,defaultText:function(e,t,n){return null!=n?(0,I.O)(s,n):(0,I.H)(s,e)},enableTextSetter:!0},(a=(r=t.getBaseAxis()).isHorizontal(),o=r.inverse,{normal:{align:i.get("align")||(a?o?"right":"left":"center"),verticalAlign:i.get("verticalAlign")||(a?"middle":o?"top":"bottom")}})),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,i,r,a,o){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),d=a.get("precision"),p=a.get("distance")||0,g=o.getBaseAxis(),f=g.isHorizontal(),v=g.inverse,y=t.shape,m=v?f?y.x:y.y+y.height:f?y.x+y.width:y.y,b=(f?p:0)*(v?-1:1),S=(f?0:-p)*(v?-1:1),M=f?"x":"y",w=function(e,t,n){for(var i,r,a=e.length/2,o=+("x"!==n),s=0,l=-1,u=0;u<a;u++)if(!(isNaN(r=e[2*u+o])||isNaN(e[2*u+1-o]))){if(0===u){i=r;continue}if(i<=t&&r>=t||i>=t&&r<=t){l=u;break}s=u,i=r}return{range:[s,l],t:(t-i)/(r-i)}}(u,m,M),_=w.range,I=_[1]-_[0],O=void 0;if(I>=1){if(I>1&&!h){var T=N(u,_[0]);s.attr({x:T[0]+b,y:T[1]+S}),r&&(O=c.getRawValue(_[0]))}else{var T=l.getPointOn(m,M);T&&s.attr({x:T[0]+b,y:T[1]+S});var C=c.getRawValue(_[0]),k=c.getRawValue(_[1]);r&&(O=x.pk(n,d,C,k,w.t))}i.lastFrameIndex=_[0]}else{var D=1===e||i.lastFrameIndex>0?_[0]:0,T=N(u,D);r&&(O=c.getRawValue(D)),s.attr({x:T[0]+b,y:T[1]+S})}if(r){var L=(0,A.qA)(s);"function"==typeof L.setLabelText&&L.setLabelText(O)}}},t.prototype._doUpdateAnimation=function(e,t,n,i,r,a,o){var s=this._polyline,l=this._polygon,u=e.hostModel,c=function(e,t,n,i,r,a,o,s){for(var l,u=(l=[],t.diff(e).add(function(e){l.push({cmd:"+",idx:e})}).update(function(e,t){l.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){l.push({cmd:"-",idx:e})}).execute(),l),c=[],h=[],d=[],v=[],y=[],m=[],x=[],b=p(r,t,o),S=e.getLayout("points")||[],M=t.getLayout("points")||[],w=0;w<u.length;w++){var _=u[w],A=!0,I=void 0,O=void 0;switch(_.cmd){case"=":I=2*_.idx,O=2*_.idx1;var T=S[I],C=S[I+1],k=M[O],D=M[O+1];(isNaN(T)||isNaN(C))&&(T=k,C=D),c.push(T,C),h.push(k,D),d.push(n[I],n[I+1]),v.push(i[O],i[O+1]),x.push(t.getRawIndex(_.idx1));break;case"+":var L=_.idx,Z=b.dataDimsForPoint,P=r.dataToPoint([t.get(Z[0],L),t.get(Z[1],L)]);O=2*L,c.push(P[0],P[1]),h.push(M[O],M[O+1]);var N=g(b,r,t,L);d.push(N[0],N[1]),v.push(i[O],i[O+1]),x.push(t.getRawIndex(L));break;case"-":A=!1}A&&(y.push(_),m.push(m.length))}m.sort(function(e,t){return x[e]-x[t]});for(var V=c.length,R=(0,f.o)(V),E=(0,f.o)(V),z=(0,f.o)(V),G=(0,f.o)(V),B=[],w=0;w<m.length;w++){var F=m[w],H=2*w,W=2*F;R[H]=c[W],R[H+1]=c[W+1],E[H]=h[W],E[H+1]=h[W+1],z[H]=d[W],z[H+1]=d[W+1],G[H]=v[W],G[H+1]=v[W+1],B[w]=y[F]}return{current:R,next:E,stackedOnCurrent:z,stackedOnNext:G,status:B}}(this._data,e,this._stackedOnPoints,t,this._coordSys,0,this._valueOrigin,0),h=c.current,d=c.stackedOnCurrent,v=c.next,m=c.stackedOnNext;if(r&&(h=P(c.current,n,r,o),d=P(c.stackedOnCurrent,n,r,o),v=P(c.next,n,r,o),m=P(c.stackedOnNext,n,r,o)),L(h,v)>3e3||l&&L(d,m)>3e3){s.stopAnimation(),s.setShape({points:v}),l&&(l.stopAnimation(),l.setShape({points:v,stackedOnPoints:m}));return}s.shape.__points=c.current,s.shape.points=h;var x={shape:{points:v}};c.current!==h&&(x.shape.__points=c.next),s.stopAnimation(),y.D(s,x,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),y.D(l,{shape:{stackedOnPoints:m}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var b=[],S=c.status,M=0;M<S.length;M++)if("="===S[M].cmd){var w=e.getItemGraphicEl(S[M].idx1);w&&b.push({el:w,ptIdx:M})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<b.length;t++){var n=b[t].el,i=2*b[t].ptIdx;n.x=e[i],n.y=e[i+1],n.markRedraw()}})},t.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(e,i){e.__temp&&(t.remove(e),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(S.Z),z=n(13706),G=n(5719);function B(e){e.registerChartView(E),e.registerSeriesModel(l),e.registerLayout((0,z.Z)("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(0,G.Z)("line"))}},95999:function(e,t,n){n.d(t,{K:()=>g,X:()=>d});var i=n(69988),r=n(7185),a=n(97694),o=n(99101),s=Math.min,l=Math.max;function u(e,t){return isNaN(e)||isNaN(t)}function c(e,t,n,i,r,a,o,c,h){for(var d,p,g,f,v,y,m=n,x=0;x<i;x++){var b=t[2*m],S=t[2*m+1];if(m>=r||m<0)break;if(u(b,S)){if(h){m+=a;continue}break}if(m===n)e[a>0?"moveTo":"lineTo"](b,S),g=b,f=S;else{var M=b-d,w=S-p;if(M*M+w*w<.5){m+=a;continue}if(o>0){for(var _=m+a,A=t[2*_],I=t[2*_+1];A===b&&I===S&&x<i;)x++,_+=a,m+=a,A=t[2*_],I=t[2*_+1],b=t[2*m],S=t[2*m+1],M=b-d,w=S-p;var O=x+1;if(h)for(;u(A,I)&&O<i;)O++,_+=a,A=t[2*_],I=t[2*_+1];var T=.5,C=0,k=0,D=void 0,L=void 0;if(O>=i||u(A,I))v=b,y=S;else{C=A-d,k=I-p;var Z=b-d,P=A-b,N=S-p,V=I-S,R=void 0,E=void 0;if("x"===c){R=Math.abs(Z),E=Math.abs(P);var z=C>0?1:-1;v=b-z*R*o,y=S,D=b+z*E*o,L=S}else if("y"===c){R=Math.abs(N),E=Math.abs(V);var G=k>0?1:-1;v=b,y=S-G*R*o,D=b,L=S+G*E*o}else R=Math.sqrt(Z*Z+N*N),v=b-C*o*(1-(T=(E=Math.sqrt(P*P+V*V))/(E+R))),y=S-k*o*(1-T),D=b+C*o*T,L=S+k*o*T,D=s(D,l(A,b)),L=s(L,l(I,S)),D=l(D,s(A,b)),L=l(L,s(I,S)),C=D-b,k=L-S,v=b-C*R/E,y=S-k*R/E,v=s(v,l(d,b)),y=s(y,l(p,S)),v=l(v,s(d,b)),y=l(y,s(p,S)),C=b-v,k=S-y,D=b+C*E/R,L=S+k*E/R}e.bezierCurveTo(g,f,v,y,b,S),g=D,f=L}else e.lineTo(b,S)}d=b,p=S,m+=a}return x}var h=function(){this.smooth=0,this.smoothConstraint=!0},d=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return(0,i.ZT)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new h},t.prototype.buildPath=function(e,t){var n=t.points,i=0,r=n.length/2;if(t.connectNulls){for(;r>0&&u(n[2*r-2],n[2*r-1]);r--);for(;i<r&&u(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=c(e,n,i,r,r,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,s=a.Z.CMD,l="x"===t,u=[],c=0;c<r.length;){var h=r[c++],d=void 0,p=void 0,g=void 0,f=void 0,v=void 0,y=void 0,m=void 0;switch(h){case s.M:n=r[c++],i=r[c++];break;case s.L:if(d=r[c++],p=r[c++],(m=l?(e-n)/(d-n):(e-i)/(p-i))<=1&&m>=0){var x=l?(p-i)*m+i:(d-n)*m+n;return l?[e,x]:[x,e]}n=d,i=p;break;case s.C:d=r[c++],p=r[c++],g=r[c++],f=r[c++],v=r[c++],y=r[c++];var b=l?(0,o.kD)(n,d,g,v,e,u):(0,o.kD)(i,p,f,y,e,u);if(b>0)for(var S=0;S<b;S++){var M=u[S];if(M<=1&&M>=0){var x=l?(0,o.af)(i,p,f,y,M):(0,o.af)(n,d,g,v,M);return l?[e,x]:[x,e]}}n=v,i=y}}},t}(r.ZP),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(t,e),t}(h),g=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return(0,i.ZT)(t,e),t.prototype.getDefaultShape=function(){return new p},t.prototype.buildPath=function(e,t){var n=t.points,i=t.stackedOnPoints,r=0,a=n.length/2,o=t.smoothMonotone;if(t.connectNulls){for(;a>0&&u(n[2*a-2],n[2*a-1]);a--);for(;r<a&&u(n[2*r],n[2*r+1]);r++);}for(;r<a;){var s=c(e,n,r,a,a,1,t.smooth,o,t.connectNulls);c(e,i,r+s-1,s,a,-1,t.stackedOnSmooth,o,t.connectNulls),r+=s+1,e.closePath()}},t}(r.ZP)},85731:function(e,t,n){n.d(t,{N:()=>z});var i=n(52914),r=n(82517),a=n(50651),o=n(67975),s=n(97694),l=2*Math.PI,u=Math.PI/180;function c(e,t){return a.ME(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function h(e,t){var n,i,a=c(e,t),s=e.get("center"),l=e.get("radius");o.isArray(l)||(l=[0,l]);var u=(0,r.GM)(a.width,t.getWidth()),h=(0,r.GM)(a.height,t.getHeight()),d=Math.min(u,h),p=(0,r.GM)(l[0],d/2),g=(0,r.GM)(l[1],d/2),f=e.coordinateSystem;if(f){var v=f.dataToPoint(s);n=v[0]||0,i=v[1]||0}else o.isArray(s)||(s=[s,s]),n=(0,r.GM)(s[0],u)+a.x,i=(0,r.GM)(s[1],h)+a.y;return{cx:n,cy:i,r0:p,r:g}}function d(e,t,n){t.eachSeriesByType(e,function(e){var t=e.getData(),i=t.mapDimension("value"),a=c(e,n),o=h(e,n),d=o.cx,p=o.cy,g=o.r,f=o.r0,v=-e.get("startAngle")*u,y=e.get("endAngle"),m=e.get("padAngle")*u;y="auto"===y?v-l:-y*u;var x=e.get("minAngle")*u+m,b=0;t.each(i,function(e){!isNaN(e)&&b++});var S=t.getSum(i),M=Math.PI/(S||b)*2,w=e.get("clockwise"),_=e.get("roseType"),A=e.get("stillShowZeroSum"),I=t.getDataExtent(i);I[0]=0;var O=w?1:-1,T=[v,y],C=O*m/2;(0,s.L)(T,!w),v=T[0];var k=Math.abs((y=T[1])-v),D=k,L=0,Z=v;if(t.setLayout({viewRect:a,r:g}),t.each(i,function(e,n){if(isNaN(e))return void t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:w,cx:d,cy:p,r0:f,r:_?NaN:g});(i="area"!==_?0===S&&A?M:e*M:k/b)<x?(i=x,D-=x):L+=e;var i,a=Z+O*i,o=0,s=0;m>i?s=o=Z+O*i/2:(o=Z+C,s=a-C),t.setItemLayout(n,{angle:i,startAngle:o,endAngle:s,clockwise:w,cx:d,cy:p,r0:f,r:_?(0,r.NU)(e,I,[f,g]):g}),Z=a}),D<l&&b)if(D<=.001){var P=k/b;t.each(i,function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n);i.angle=P;var r=0,a=0;P<m?a=r=v+O*(n+.5)*P:(r=v+O*n*P+C,a=v+O*(n+1)*P-C),i.startAngle=r,i.endAngle=a}})}else M=D/L,Z=v,t.each(i,function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n),r=i.angle===x?x:e*M,a=0,o=0;r<m?o=a=Z+O*r/2:(a=Z+C,o=Z+O*r-C),i.startAngle=a,i.endAngle=o,Z+=O*r}})})}var p=n(31260),g=n(69988),f=n(76150),v=n(99858),y=n(61099),m=n(53511),x=n(98306),b=n(58050),S=n(91145),M=n(9655),w=n(67285),_=Math.PI/180;function A(e,t,n,i,r,a,o,s,l,u){if(!(e.length<2)){for(var c=e.length,h=0;h<c;h++)if("outer"===e[h].position&&"labelLine"===e[h].labelAlignTo){var d=e[h].label.x-u;e[h].linePoints[1][0]+=d,e[h].label.x=u}(0,w.GI)(e,l,l+o)&&function(e){for(var a={list:[],maxY:0},o={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],u=l.label.y>n?o:a,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-t-l.len2*r,d=i+l.len;u.rB=Math.abs(h)<d?Math.sqrt(c*c/(1-h*h/d/d)):d,u.maxY=c}u.list.push(l)}p(a),p(o)}(e)}function p(e){for(var a=e.rB,o=a*a,s=0;s<e.list.length;s++){var l=e.list[s],u=Math.abs(l.label.y-n),c=i+l.len,h=t+(Math.sqrt(c*c*(1-Math.abs(u*u/o)))+l.len2)*r,d=h-l.label.x,p=l.targetTextWidth-d*r;I(l,p,!0),l.label.x=h}}}function I(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var i=e.label,r=i.style,a=e.rect,o=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=a.width+(o?0:l);if(t<c||n){var h=a.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",t-l);var d=i.getBoundingRect();i.setStyle("width",Math.ceil(d.width)),i.setStyle("backgroundColor",o)}else{var p=t-l,g=t<c?p:n?p>e.unconstrainedWidth?null:p:null;i.setStyle("width",g)}var f=i.getBoundingRect();a.width=f.width;var v=(i.style.margin||0)+2.1;a.height=f.height+v,a.y-=(a.height-h)/2}}}function O(e){return"center"===e.position}var T=n(33361),C=n(10061),k=function(e){function t(t,n,i){var r=e.call(this)||this;r.z2=2;var a=new f.ZP;return r.setTextContent(a),r.updateData(t,n,i,!0),r}return(0,g.ZT)(t,e),t.prototype.updateData=function(e,t,n,i){var r=e.hostModel,a=e.getItemModel(t),s=a.getModel("emphasis"),l=e.getItemLayout(t),u=(0,o.extend)((0,C.T)(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))return void this.setShape(u);if(i){this.setShape(u);var c=r.getShallow("animationType");r.ecModel.ssr?(v.KZ(this,{scaleX:0,scaleY:0},r,{dataIndex:t,isFrom:!0}),this.originX=u.cx,this.originY=u.cy):"scale"===c?(this.shape.r=l.r0,v.KZ(this,{shape:{r:l.r}},r,t)):null!=n?(this.setShape({startAngle:n,endAngle:n}),v.KZ(this,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},r,t)):(this.shape.endAngle=l.startAngle,v.D(this,{shape:{endAngle:l.endAngle}},r,t))}else(0,v.Zi)(this),v.D(this,{shape:u},r,t);this.useStyle(e.getItemVisual(t,"style")),(0,x.WO)(this,a);var h=(l.startAngle+l.endAngle)/2,d=r.get("selectedOffset"),p=Math.cos(h)*d,g=Math.sin(h)*d,f=a.getShallow("cursor");f&&this.attr("cursor",f),this._updateLabel(r,e,t),this.ensureState("emphasis").shape=(0,o.extend)({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},(0,C.T)(s.getModel("itemStyle"),l)),(0,o.extend)(this.ensureState("select"),{x:p,y:g,shape:(0,C.T)(a.getModel(["select","itemStyle"]),l)}),(0,o.extend)(this.ensureState("blur"),{shape:(0,C.T)(a.getModel(["blur","itemStyle"]),l)});var y=this.getTextGuideLine(),m=this.getTextContent();y&&(0,o.extend)(y.ensureState("select"),{x:p,y:g}),(0,o.extend)(m.ensureState("select"),{x:p,y:g}),(0,x.k5)(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t,n){var i=t.getItemModel(n),r=i.getModel("labelLine"),a=t.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;(0,T.ni)(this,(0,T.k3)(i),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var u=this.getTextContent();this.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=e.get(["label","position"]);if("outside"!==c&&"outer"!==c)this.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new y.Z,this.setTextGuideLine(h)),(0,M.Iu)(this,(0,M.$x)(i),{stroke:s,opacity:(0,o.retrieve3)(r.get(["lineStyle","opacity"]),l,1)})}},t}(m.C),D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return(0,g.ZT)(t,e),t.prototype.render=function(e,t,n,i){var a,s=e.getData(),l=this._data,u=this.group;if(!l&&s.count()>0){for(var c=s.getItemLayout(0),d=1;isNaN(c&&c.startAngle)&&d<s.count();++d)c=s.getItemLayout(d);c&&(a=c.startAngle)}if(this._emptyCircleSector&&u.remove(this._emptyCircleSector),0===s.count()&&e.get("showEmptyCircle")){var p=new m.C({shape:h(e,n)});p.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=p,u.add(p)}s.diff(l).add(function(e){var t=new k(s,e,a);s.setItemGraphicEl(e,t),u.add(t)}).update(function(e,t){var n=l.getItemGraphicEl(t);n.updateData(s,e,a),n.off("click"),u.add(n),s.setItemGraphicEl(e,n)}).remove(function(t){var n=l.getItemGraphicEl(t);v.XD(n,e,t)}).execute(),function(e){var t,n,i=e.getData(),a=[],s=!1,l=(e.get("minShowLabelAngle")||0)*_,u=i.getLayout("viewRect"),c=i.getLayout("r"),h=u.width,d=u.x,p=u.y,g=u.height;function f(e){e.ignore=!0}i.each(function(e){var u,p,g,v,y=i.getItemGraphicEl(e),m=y.shape,x=y.getTextContent(),b=y.getTextGuideLine(),M=i.getItemModel(e),w=M.getModel("label"),_=w.get("position")||M.get(["emphasis","label","position"]),A=w.get("distanceToLabelLine"),I=w.get("alignTo"),O=(0,r.GM)(w.get("edgeDistance"),h),T=w.get("bleedMargin"),C=M.getModel("labelLine"),k=C.get("length");k=(0,r.GM)(k,h);var D=C.get("length2");if(D=(0,r.GM)(D,h),Math.abs(m.endAngle-m.startAngle)<l){(0,o.each)(x.states,f),x.ignore=!0,b&&((0,o.each)(b.states,f),b.ignore=!0);return}if(function(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}(x)){var L=(m.startAngle+m.endAngle)/2,Z=Math.cos(L),P=Math.sin(L);t=m.cx,n=m.cy;var N="inside"===_||"inner"===_;if("center"===_)u=m.cx,p=m.cy,v="center";else{var V=(N?(m.r+m.r0)/2*Z:m.r*Z)+t,R=(N?(m.r+m.r0)/2*P:m.r*P)+n;if(u=V+3*Z,p=R+3*P,!N){var E=V+Z*(k+c-m.r),z=R+P*(k+c-m.r),G=E+(Z<0?-1:1)*D;u="edge"===I?Z<0?d+O:d+h-O:G+(Z<0?-A:A),p=z,g=[[V,R],[E,z],[G,z]]}v=N?"center":"edge"===I?Z>0?"right":"left":Z>0?"left":"right"}var B=Math.PI,F=0,H=w.get("rotate");if((0,o.isNumber)(H))F=B/180*H;else if("center"===_)F=0;else if("radial"===H||!0===H)F=Z<0?-L+B:-L;else if("tangential"===H&&"outside"!==_&&"outer"!==_){var W=Math.atan2(Z,P);W<0&&(W=2*B+W),P>0&&(W=B+W),F=W-B}if(s=!!F,x.x=u,x.y=p,x.rotation=F,x.setStyle({verticalAlign:"middle"}),N){x.setStyle({align:v});var X=x.states.select;X&&(X.x+=x.x,X.y+=x.y)}else{var Y=x.getBoundingRect().clone();Y.applyTransform(x.getComputedTransform());var U=(x.style.margin||0)+2.1;Y.y-=U/2,Y.height+=U,a.push({label:x,labelLine:b,position:_,len:k,len2:D,minTurnAngle:C.get("minTurnAngle"),maxSurfaceAngle:C.get("maxSurfaceAngle"),surfaceNormal:new S.Z(Z,P),linePoints:g,textAlign:v,labelDistance:A,labelAlignTo:I,edgeDistance:O,bleedMargin:T,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:x.style.width})}y.setTextConfig({inside:N})}}),!s&&e.get("avoidLabelOverlap")&&function(e,t,n,i,r,a,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<e.length;d++){var p=e[d].label;O(e[d])||(p.x<t?(c=Math.min(c,p.x),l.push(e[d])):(h=Math.max(h,p.x),u.push(e[d])))}for(var d=0;d<e.length;d++){var g=e[d];if(!O(g)&&g.linePoints){if(null!=g.labelStyleWidth)continue;var p=g.label,f=g.linePoints,v=void 0;v="edge"===g.labelAlignTo?p.x<t?f[2][0]-g.labelDistance-o-g.edgeDistance:o+r-g.edgeDistance-f[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?p.x<t?c-o-g.bleedMargin:o+r-h-g.bleedMargin:p.x<t?p.x-o-g.bleedMargin:o+r-p.x-g.bleedMargin,g.targetTextWidth=v,I(g,v)}}A(u,t,n,i,1,r,a,o,s,h),A(l,t,n,i,-1,r,a,o,s,c);for(var d=0;d<e.length;d++){var g=e[d];if(!O(g)&&g.linePoints){var p=g.label,f=g.linePoints,y="edge"===g.labelAlignTo,m=p.style.padding,x=m?m[1]+m[3]:0,b=p.style.backgroundColor?0:x,S=g.rect.width+b,M=f[1][0]-f[2][0];y?p.x<t?f[2][0]=o+g.edgeDistance+S+g.labelDistance:f[2][0]=o+r-g.edgeDistance-S-g.labelDistance:(p.x<t?f[2][0]=p.x+g.labelDistance:f[2][0]=p.x-g.labelDistance,f[1][0]=f[2][0]+M),f[1][1]=f[2][1]=p.y}}}(a,t,n,c,h,g,d,p);for(var v=0;v<a.length;v++){var y=a[v],m=y.label,x=y.labelLine,b=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:y.textAlign}),b&&((0,o.each)(m.states,f),m.ignore=!0);var w=m.states.select;w&&(w.x+=m.x,w.y+=m.y)}if(x){var T=y.linePoints;b||!T?((0,o.each)(x.states,f),x.ignore=!0):((0,M.qK)(T,y.minTurnAngle),(0,M._A)(T,y.surfaceNormal,y.maxSurfaceAngle),x.setShape({points:T}),m.__hostTarget.textGuideLineConfig={anchor:new S.Z(T[0][0],T[0][1])})}}}(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=s)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var i=e[0]-n.cx,r=e[1]-n.cy,a=Math.sqrt(i*i+r*r);return a<=n.r&&a>=n.r0}},t.type="pie",t}(b.Z),L=n(78939),Z=n(86571),P=n(86451),N=n(26435),V=n(2021),R=Z.Yf(),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,g.ZT)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new N.Z(o.bind(this.getData,this),o.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return(0,L.Z)(this,{coordDimensions:["value"],encodeDefaulter:o.curry(P.Ss,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),i=R(n),a=i.seats;if(!a){var o=[];n.each(n.mapDimension("value"),function(e){o.push(e)}),a=i.seats=(0,r.HD)(o,n.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,t);return s.percent=a[t]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){Z.Cc(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(V.Z);function z(e){e.registerChartView(D),e.registerSeriesModel(E),(0,i.y)("pie",e.registerAction),e.registerLayout((0,o.curry)(d,"pie")),e.registerProcessor((0,p.Z)("pie")),e.registerProcessor({seriesType:"pie",reset:function(e,t){var n=e.getData();n.filterSelf(function(e){var t=n.mapDimension("value"),i=n.get(t,e);return!(0,o.isNumber)(i)||!!isNaN(i)||!(i<0)})}})}},10933:function(e,t,n){n.d(t,{Z:()=>$});var i=n(69988),r=n(67975),a=n(77654),o=n(37293),s=n(31969),l=n(29790),u=n(61099),c=n(24484),h=n(20619),d=n(82787),p=Math.min,g=Math.max,f=Math.pow,v="globalPan",y={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},m={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},b=0,S=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new o.Z,n._uid="brushController_"+b++,(0,r.each)(K,function(e,t){this._handlers[t]=(0,r.bind)(e,this)},n),n}return(0,i.ZT)(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||h.qn(t,v,this._uid),(0,r.each)(this._handlers,function(e,n){t.on(n,e)}),this._brushType=e.brushType,this._brushOption=(0,r.merge)((0,r.clone)(x),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;h.Ar(e,v,this._uid),(0,r.each)(this._handlers,function(t,n){e.off(n,t)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};(0,r.each)(e,function(e){t[e.panelId]=(0,r.clone)(e)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=(0,r.map)(e,function(e){return(0,r.merge)((0,r.clone)(x),e,!0)});var t=this._covers,n=this._covers=[],i=this,a=this._creatingCover;return new d.Z(t,e,function(e,t){return o(e.__brushOption,t)},o).add(s).update(s).remove(function(e){t[e]!==a&&i.group.remove(t[e])}).execute(),this;function o(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function s(r,o){var s=e[r];if(null!=o&&t[o]===a)n[r]=t[o];else{var l=n[r]=null!=o?(t[o].__brushOption=s,t[o]):w(i,M(i,s));I(i,l)}}},t.prototype.unmount=function(){return this.enableBrush(!1),k(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(a.Z);function M(e,t){var n=j[t.brushType].createCover(e,t);return n.__brushOption=t,A(n,t),e.group.add(n),n}function w(e,t){var n=O(t);return n.endCreating&&(n.endCreating(e,t),A(t,t.__brushOption)),t}function _(e,t){var n=t.__brushOption;O(t).updateCoverShape(e,t,n.range,n)}function A(e,t){var n=t.z;null==n&&(n=1e4),e.traverse(function(e){e.z=n,e.z2=n})}function I(e,t){O(t).updateCommon(e,t),_(e,t)}function O(e){return j[e.__brushOption.brushType]}function T(e,t,n){var i,a=e._panels;if(!a)return!0;var o=e._transform;return(0,r.each)(a,function(e){e.isTargetByCursor(t,n,o)&&(i=e)}),i}function C(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function k(e){var t=e._covers,n=t.length;return(0,r.each)(t,function(t){e.group.remove(t)},e),t.length=0,!!n}function D(e,t){var n=(0,r.map)(e._covers,function(e){var t=e.__brushOption,n=(0,r.clone)(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function L(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function Z(e,t,n,i){var a=new o.Z;return a.add(new s.Z({name:"main",style:R(n),silent:!0,draggable:!0,cursor:"move",drift:(0,r.curry)(G,e,t,a,["n","s","w","e"]),ondragend:(0,r.curry)(D,t,{isEnd:!0})})),(0,r.each)(i,function(n){a.add(new s.Z({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,r.curry)(G,e,t,a,n),ondragend:(0,r.curry)(D,t,{isEnd:!0})}))}),a}function P(e,t,n,i){var r=i.brushStyle.lineWidth||0,a=g(r,6),o=n[0][0],s=n[1][0],l=o-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-a+r/2,p=h-a+r/2,f=c-o,v=h-s,y=f+r,m=v+r;V(e,t,"main",o,s,f,v),i.transformable&&(V(e,t,"w",l,u,a,m),V(e,t,"e",d,u,a,m),V(e,t,"n",l,u,y,a),V(e,t,"s",l,p,y,a),V(e,t,"nw",l,u,a,a),V(e,t,"ne",d,u,a,a),V(e,t,"sw",l,p,a,a),V(e,t,"se",d,p,a,a))}function N(e,t){var n=t.__brushOption,i=n.transformable,a=t.childAt(0);a.useStyle(R(n)),a.attr({silent:!i,cursor:i?"move":"default"}),(0,r.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var r,a,o,s=t.childOfName(n.join("")),l=1===n.length?z(e,n[0]):(("e"===(o=[z(r=e,(a=n)[0]),z(r,a[1])])[0]||"w"===o[0])&&o.reverse(),o.join(""));s&&s.attr({silent:!i,invisible:!i,cursor:i?m[l]+"-resize":null})})}function V(e,t,n,i,r,a,o){var s,l,u,c=t.childOfName(n);c&&c.setShape((l=p((s=H(e,t,[[i,r],[i+a,r+o]]))[0][0],s[1][0]),{x:l,y:u=p(s[0][1],s[1][1]),width:g(s[0][0],s[1][0])-l,height:g(s[0][1],s[1][1])-u}))}function R(e){return(0,r.defaults)({strokeNoScale:!0},e.brushStyle)}function E(e,t,n,i){var r=[p(e,n),p(t,i)],a=[g(e,n),g(t,i)];return[[r[0],a[0]],[r[1],a[1]]]}function z(e,t){return({left:"w",right:"e",top:"n",bottom:"s"})[l.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[t],l.getTransform(e.group))]}function G(e,t,n,i,a,o){var s=n.__brushOption,l=e.toRectRange(s.range),u=F(t,a,o);(0,r.each)(i,function(e){var t=y[e];l[t[0]][t[1]]+=u[t[0]]}),s.range=e.fromRectRange(E(l[0][0],l[1][0],l[0][1],l[1][1])),I(t,n),D(t,{isEnd:!1})}function B(e,t,n,i){var a=t.__brushOption.range,o=F(e,n,i);(0,r.each)(a,function(e){e[0]+=o[0],e[1]+=o[1]}),I(e,t),D(e,{isEnd:!1})}function F(e,t,n){var i=e.group,r=i.transformCoordToLocal(t,n),a=i.transformCoordToLocal(0,0);return[r[0]-a[0],r[1]-a[1]]}function H(e,t,n){var i=C(e,t);return i&&!0!==i?i.clipPath(n,e._transform):(0,r.clone)(n)}function W(e){var t=e.event;t.preventDefault&&t.preventDefault()}function X(e,t,n){return e.childOfName("main").contain(t,n)}function Y(e,t,n,i){var a,o=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],r=n[0]-i[0],a=n[1]-i[1];return f(r*r+a*a,.5)>6}(e)||o){if(s&&!o){"single"===l.brushMode&&k(e);var u=(0,r.clone)(l);u.brushType=U(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=e._creatingCover=M(e,u),e._covers.push(o)}if(o){var c=j[U(e._brushType,s)];o.__brushOption.range=c.getCreatingRange(H(e,o,e._track)),i&&(w(e,o),c.updateCommon(e,o)),_(e,o),a={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&T(e,t,n)&&k(e)&&(a={isEnd:i,removeOnClick:!0});return a}function U(e,t){return"auto"===e?t.defaultBrushType:e}var K={mousedown:function(e){if(this._dragging)q(this,e);else if(!e.target||!e.target.draggable){W(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=T(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,i=this.group.transformCoordToLocal(t,n);if(!function(e,t,n){if(!(!e._brushType||(i=e,r=t.offsetX,a=t.offsetY,o=i._zr,r<0||r>o.getWidth()||a<0||a>o.getHeight()))){var i,r,a,o,s=e._zr,l=e._covers,u=T(e,t,n);if(!e._dragging)for(var c=0;c<l.length;c++){var h=l[c].__brushOption;if(u&&(!0===u||h.panelId===u.panelId)&&j[h.brushType].contain(l[c],n[0],n[1]))return}u&&s.setCursorStyle("crosshair")}}(this,e,i),this._dragging){W(e);var r=Y(this,e,i,!1);r&&D(this,r)}},mouseup:function(e){q(this,e)}};function q(e,t){if(e._dragging){W(t);var n=t.offsetX,i=t.offsetY,r=e.group.transformCoordToLocal(n,i),a=Y(e,t,r,!0);e._dragging=!1,e._track=[],e._creatingCover=null,a&&D(e,a)}}var j={lineX:Q(0),lineY:Q(1),rect:{createCover:function(e,t){function n(e){return e}return Z({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=L(e);return E(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,i){P(e,t,n,i)},updateCommon:N,contain:X},polygon:{createCover:function(e,t){var n=new o.Z;return n.add(new u.Z({name:"main",style:R(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new c.Z({name:"main",draggable:!0,drift:(0,r.curry)(B,e,t),ondragend:(0,r.curry)(D,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,i){t.childAt(0).setShape({points:H(e,t,n)})},updateCommon:N,contain:X}};function Q(e){return{createCover:function(t,n){return Z({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=L(t);return[p(n[0][e],n[1][e]),g(n[0][e],n[1][e])]},updateCoverShape:function(t,n,i,r){var a,o=C(t,n);if(!0!==o&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(e);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[i,a];e&&l.reverse(),P(t,n,l,r)},updateCommon:N,contain:X}}let $=S},89262:function(e,t,n){n.d(t,{Z:()=>x});var i=n(67975),r=n(29790),a=n(34921),o=n(86571),s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],l=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var a=c(t,e);(0,i.each)(h,function(e,t){(!n||!n.include||(0,i.indexOf)(n.include,t)>=0)&&e(a,r._targetInfoList)})}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=g[e.brushType](0,n,t);e.__rangeOffset={offset:v[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}}),e},e.prototype.matchOutputRanges=function(e,t,n){(0,i.each)(e,function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&(0,i.each)(r.coordSyses,function(i){var r=g[e.brushType](1,i,e.range,!0);n(e,r.values,i,t)})},this)},e.prototype.setInputRanges=function(e,t){(0,i.each)(e,function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var i,r,a,o,s,l=g[e.brushType](0,n.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?v[e.brushType](l.values,u.offset,(i=l.xyMinMax,r=u.xyMinMax,a=m(i),o=m(r),isNaN((s=[a[0]/o[0],a[1]/o[1]])[0])&&(s[0]=1),isNaN(s[1])&&(s[1]=1),s)):l.values}},this)},e.prototype.makePanelOpts=function(e,t){return(0,i.map)(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:a.x0(i),isTargetByCursor:a.G(i,e,n.coordSysModel),getLinearBrushOtherExtent:a.VM(i)}})},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&(0,i.indexOf)(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=c(t,e),r=0;r<n.length;r++){var a=n[r],o=e.panelId;if(o){if(a.panelId===o)return a}else for(var s=0;s<d.length;s++)if(d[s](i,a))return a}return!0},e}();function u(e){return e[0]>e[1]&&e.reverse(),e}function c(e,t){return(0,o.pm)(e,t,{includeMainTypes:s})}var h={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,a=e.gridModels,o=(0,i.createHashMap)(),s={},l={};(n||r||a)&&((0,i.each)(n,function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0}),(0,i.each)(r,function(e){var t=e.axis.grid.model;o.set(t.id,t),l[t.id]=!0}),(0,i.each)(a,function(e){o.set(e.id,e),s[e.id]=!0,l[e.id]=!0}),o.each(function(e){var a=e.coordinateSystem,o=[];(0,i.each)(a.getCartesians(),function(e,t){((0,i.indexOf)(n,e.getAxis("x").model)>=0||(0,i.indexOf)(r,e.getAxis("y").model)>=0)&&o.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:p.grid,xAxisDeclared:s[e.id],yAxisDeclared:l[e.id]})}))},geo:function(e,t){(0,i.each)(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:p.geo})})}},d=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,r=e.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],p={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(r.getTransform(e)),t}},g={lineX:(0,i.curry)(f,0),lineY:(0,i.curry)(f,1),rect:function(e,t,n,i){var r=e?t.pointToData([n[0][0],n[1][0]],i):t.dataToPoint([n[0][0],n[1][0]],i),a=e?t.pointToData([n[0][1],n[1][1]],i):t.dataToPoint([n[0][1],n[1][1]],i),o=[u([r[0],a[0]]),u([r[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n,r){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:(0,i.map)(n,function(n){var i=e?t.pointToData(n,r):t.dataToPoint(n,r);return a[0][0]=Math.min(a[0][0],i[0]),a[1][0]=Math.min(a[1][0],i[1]),a[0][1]=Math.max(a[0][1],i[0]),a[1][1]=Math.max(a[1][1],i[1]),i}),xyMinMax:a}}};function f(e,t,n,r){var a=n.getAxis(["x","y"][e]),o=u((0,i.map)([0,1],function(e){return t?a.coordToData(a.toLocalCoord(r[e]),!0):a.toGlobalCoord(a.dataToCoord(r[e]))})),s=[];return s[e]=o,s[1-e]=[NaN,NaN],{values:o,xyMinMax:s}}var v={lineX:(0,i.curry)(y,0),lineY:(0,i.curry)(y,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return(0,i.map)(e,function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]})}};function y(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function m(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}let x=l},34921:function(e,t,n){n.d(t,{G:()=>l,VM:()=>s,x0:()=>o});var i=n(9495),r=n(70226),a=n(29790);function o(e){return e=u(e),function(t){return a.clipPointsByRect(t,e)}}function s(e,t){return e=u(e),function(n){var i=null!=t?t:n,r=i?e.width:e.height,a=i?e.x:e.y;return[a,a+(r||0)]}}function l(e,t,n){var i=u(e);return function(e,a){return i.contain(a[0],a[1])&&!(0,r.l)(e,t,n)}}function u(e){return i.Z.create(e)}},70226:function(e,t,n){n.d(t,{l:()=>r});var i={axisPointer:1,tooltip:1,brush:1};function r(e,t,n){var r=t.getComponentByElement(e.topTarget),a=r&&r.coordinateSystem;return r&&r!==n&&!i.hasOwnProperty(r.mainType)&&a&&a.model!==n}},13737:function(e,t,n){n.d(t,{Z:()=>p});var i=n(69988),r=n(67975),a=n(4647),o=n(28780),s=n(45352),l=n(86571),u=n(31481);function c(e){(0,l.Cc)(e,"label",["show"])}var h=(0,l.Yf)(),d=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return(0,i.ZT)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(a.Z.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,i){var a=this.mainType;n||t.eachSeries(function(e){var n=e.get(this.mainType,!0),o=h(e)[a];if(!n||!n.data){h(e)[a]=null;return}o?o._mergeOption(n,t,!0):(i&&c(n),r.each(n.data,function(e){e instanceof Array?(c(e[0]),c(e[1])):c(e)}),o=this.createMarkerModelFromSeries(n,this,t),r.extend(o,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),h(e)[a]=o},this)},t.prototype.formatTooltip=function(e,t,n){var i=this.getData(),r=this.getRawValue(e),a=i.getName(e);return(0,u.TX)("section",{header:this.name,blocks:[(0,u.TX)("nameValue",{name:a,value:r,noName:!a,noValue:null==r})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.getMarkerModelFromSeries=function(e,t){return h(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(s.Z);r.mixin(d,o.X.prototype);let p=d},87309:function(e,t,n){n.d(t,{Z:()=>c});var i=n(69988),r=n(64292),a=n(67975),o=n(13737),s=n(86571),l=n(98306),u=(0,s.Yf)();let c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.init=function(){this.markerGroupMap=(0,a.createHashMap)()},t.prototype.render=function(e,t,n){var i=this,r=this.markerGroupMap;r.each(function(e){u(e).keep=!1}),t.eachSeries(function(e){var r=o.Z.getMarkerModelFromSeries(e,i.type);r&&i.renderSeries(e,r,t,n)}),r.each(function(e){u(e).keep||i.group.remove(e.group)})},t.prototype.markKeep=function(e){u(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;(0,a.each)(e,function(e){var i=o.Z.getMarkerModelFromSeries(e,n.type);i&&i.getData().eachItemGraphicEl(function(e){e&&(t?(0,l.SX)(e):(0,l.VP)(e))})})},t.type="marker",t}(r.Z)},25936:function(e,t,n){n.d(t,{Z:()=>r});var i=n(67975);function r(e,t){if(!e)return!1;for(var n=(0,i.isArray)(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return!0;return!1}},98857:function(e,t,n){n.d(t,{N:()=>D});var i=n(25936),r=n(69988),a=n(13737),o=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(a.Z),s=n(54411),l=n(83208),u=n(82517),c=n(37293),h=n(24484),d=n(99858),p=n(98306),g=n(14285),f=n(87309),v=n(67975),y=n(82667),m=n(86571),x=n(43928),b=n(33361),S=n(10428),M=n(54503),w=(0,m.Yf)(),_=function(e,t,n,i){var r=i[0],a=i[1];if(r&&a){var o=g.Z3(e,r),s=g.Z3(e,a),l=o.coord,u=s.coord;l[0]=(0,v.retrieve)(l[0],-1/0),l[1]=(0,v.retrieve)(l[1],-1/0),u[0]=(0,v.retrieve)(u[0],1/0),u[1]=(0,v.retrieve)(u[1],1/0);var c=(0,v.mergeAll)([{},o,s]);return c.coord=[o.coord,s.coord],c.x0=o.x,c.y0=o.y,c.x1=s.x,c.y1=s.y,c}};function A(e){return!isNaN(e)&&!isFinite(e)}function I(e,t,n,i){var r=1-e;return A(t[r])&&A(n[r])}function O(e,t){var n=t.coord[0],i=t.coord[1],r={coord:n,x:t.x0,y:t.y0},a={coord:i,x:t.x1,y:t.y1};return(0,y.H)(e,"cartesian2d")?!!(n&&i&&(I(1,n,i,e)||I(0,n,i,e)))||g.i6(e,r,a):g.mQ(e,r)||g.mQ(e,a)}function T(e,t,n,i,r){var a,o=i.coordinateSystem,s=e.getItemModel(t),l=u.GM(s.get(n[0]),r.getWidth()),c=u.GM(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition){var h=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),p=o.clampData(h),g=o.clampData(d),f=[];"x0"===n[0]?f[0]=p[0]>g[0]?d[0]:h[0]:f[0]=p[0]>g[0]?h[0]:d[0],"y0"===n[1]?f[1]=p[1]>g[1]?d[1]:h[1]:f[1]=p[1]>g[1]?h[1]:d[1],a=i.getMarkerPosition(f,n,!0)}else{var v=e.get(n[0],t),m=e.get(n[1],t),x=[v,m];o.clampData&&o.clampData(x,x),a=o.dataToPoint(x,!0)}if((0,y.H)(o,"cartesian2d")){var b=o.getAxis("x"),S=o.getAxis("y"),v=e.get(n[0],t),m=e.get(n[1],t);A(v)?a[0]=b.toGlobalCoord(b.getExtent()[+("x0"!==n[0])]):A(m)&&(a[1]=S.toGlobalCoord(S.getExtent()[+("y0"!==n[1])]))}isNaN(l)||(a[0]=l),isNaN(c)||(a[1]=c)}else a=[l,c];return a}var C=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],k=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=a.Z.getMarkerModelFromSeries(e,"markArea");if(t){var i=t.getData();i.each(function(t){var r=(0,v.map)(C,function(r){return T(i,t,r,e,n)});i.setItemLayout(t,r),i.getItemGraphicEl(t).setShape("points",r)})}},this)},t.prototype.renderSeries=function(e,t,n,i){var r=e.coordinateSystem,a=e.id,o=e.getData(),g=this.markerGroupMap,f=g.get(a)||g.set(a,{group:new c.Z});this.group.add(f.group),this.markKeep(f);var y=function(e,t,n){if(e){var i,r,a=(0,v.map)(e&&e.dimensions,function(e){var n=t.getData(),i=n.getDimensionInfo(n.mapDimension(e))||{};return(0,v.extend)((0,v.extend)({},i),{name:e,ordinalMeta:null})});r=(0,v.map)(["x0","y0","x1","y1"],function(e,t){return{name:e,type:a[t%2].type}}),i=new l.Z(r,n)}else r=[{name:"value",type:"float"}],i=new l.Z(r,n);var o=(0,v.map)(n.get("data"),(0,v.curry)(_,t,e,n));e&&(o=(0,v.filter)(o,(0,v.curry)(O,e)));var s=e?function(e,t,n,i){var a=e.coord[Math.floor(i/2)][i%2];return(0,M.yQ)(a,r[i])}:function(e,t,n,i){return(0,M.yQ)(e.value,r[i])};return i.initData(o,null,s),i.hasItemOption=!0,i}(r,e,t);t.setData(y),y.each(function(t){var n=(0,v.map)(C,function(n){return T(y,t,n,e,i)}),a=r.getAxis("x").scale,l=r.getAxis("y").scale,c=a.getExtent(),h=l.getExtent(),d=[a.parse(y.get("x0",t)),a.parse(y.get("x1",t))],p=[l.parse(y.get("y0",t)),l.parse(y.get("y1",t))];u.dt(d),u.dt(p);var g=!(c[0]>d[1]||c[1]<d[0]||h[0]>p[1]||h[1]<p[0]);y.setItemLayout(t,{points:n,allClipped:!g});var f=y.getItemModel(t).getModel("itemStyle").getItemStyle(),m=(0,x.UL)(o,"color");!f.fill&&(f.fill=m,(0,v.isString)(f.fill)&&(f.fill=s.modifyAlpha(f.fill,.4))),f.stroke||(f.stroke=m),y.setItemVisual(t,"style",f)}),y.diff(w(f).data).add(function(e){var t=y.getItemLayout(e);if(!t.allClipped){var n=new h.Z({shape:{points:t.points}});y.setItemGraphicEl(e,n),f.group.add(n)}}).update(function(e,n){var i=w(f).data.getItemGraphicEl(n),r=y.getItemLayout(e);r.allClipped?i&&f.group.remove(i):(i?d.D(i,{shape:{points:r.points}},t,e):i=new h.Z({shape:{points:r.points}}),y.setItemGraphicEl(e,i),f.group.add(i))}).remove(function(e){var t=w(f).data.getItemGraphicEl(e);f.group.remove(t)}).execute(),y.eachItemGraphicEl(function(e,n){var i=y.getItemModel(n),r=y.getItemVisual(n,"style");e.useStyle(y.getItemVisual(n,"style")),(0,b.ni)(e,(0,b.k3)(i),{labelFetcher:t,labelDataIndex:n,defaultText:y.getName(n)||"",inheritColor:(0,v.isString)(r.fill)?s.modifyAlpha(r.fill,1):"#000"}),(0,p.WO)(e,i),(0,p.k5)(e,null,null,i.get(["emphasis","disabled"])),(0,S.A)(e).dataModel=t}),w(f).data=y,f.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(f.Z);function D(e){e.registerComponentModel(o),e.registerComponentView(k),e.registerPreprocessor(function(e){(0,i.Z)(e.series,"markArea")&&(e.markArea=e.markArea||{})})}},219:function(e,t,n){n.d(t,{N:()=>A});var i=n(25936),r=n(69988),a=n(13737),o=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},t.type="markLine",t.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"},t}(a.Z),s=n(83208),l=n(82517),u=n(14285),c=n(9460),h=n(87309),d=n(97384),p=n(82667),g=n(10428),f=n(67975),v=n(86571),y=n(43928),m=(0,v.Yf)(),x=function(e,t,n,i){var r,a=e.getData();if((0,f.isArray)(i))r=i;else{var o=i.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=t.getAxis(null!=i.yAxis?"y":"x"),l=(0,f.retrieve)(i.yAxis,i.xAxis);else{var c=u.r(i,a,t,e);s=c.valueAxis;var h=(0,d.IR)(a,c.valueDataDim);l=u.Nn(a,h,o)}var p=+("x"!==s.dim),g=1-p,v=(0,f.clone)(i),y={coord:[]};v.type=null,v.coord=[],v.coord[g]=-1/0,y.coord[g]=1/0;var m=n.get("precision");m>=0&&(0,f.isNumber)(l)&&(l=+l.toFixed(Math.min(m,20))),v.coord[p]=y.coord[p]=l,r=[v,y,{type:o,valueIndex:i.valueIndex,value:l}]}else r=[]}var x=[u.Z3(e,r[0]),u.Z3(e,r[1]),(0,f.extend)({},r[2])];return x[2].type=x[2].type||null,(0,f.merge)(x[2],x[0]),(0,f.merge)(x[2],x[1]),x};function b(e){return!isNaN(e)&&!isFinite(e)}function S(e,t,n,i){var r=1-e,a=i.dimensions[e];return b(t[r])&&b(n[r])&&t[e]===n[e]&&i.getAxis(a).containData(t[e])}function M(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(S(1,n,i,e)||S(0,n,i,e)))return!0}return u.mQ(e,t[0])&&u.mQ(e,t[1])}function w(e,t,n,i,r){var a,o=i.coordinateSystem,s=e.getItemModel(t),u=l.GM(s.get("x"),r.getWidth()),c=l.GM(s.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=o.dimensions,d=e.get(h[0],t),g=e.get(h[1],t);a=o.dataToPoint([d,g])}if((0,p.H)(o,"cartesian2d")){var f=o.getAxis("x"),v=o.getAxis("y"),h=o.dimensions;b(e.get(h[0],t))?a[0]=f.toGlobalCoord(f.getExtent()[+!n]):b(e.get(h[1],t))&&(a[1]=v.toGlobalCoord(v.getExtent()[+!n]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];e.setItemLayout(t,a)}var _=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=a.Z.getMarkerModelFromSeries(e,"markLine");if(t){var i=t.getData(),r=m(t).from,o=m(t).to;r.each(function(t){w(r,t,!0,e,n),w(o,t,!1,e,n)}),i.each(function(e){i.setItemLayout(e,[r.getItemLayout(e),o.getItemLayout(e)])}),this.markerGroupMap.get(e.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,t,n,i){var r,a,o,l,h,d,p,v,b,S=e.coordinateSystem,_=e.id,A=e.getData(),I=this.markerGroupMap,O=I.get(_)||I.set(_,new c.Z);this.group.add(O.group);var T=(r=S,a=e,o=t,l=r?(0,f.map)(r&&r.dimensions,function(e){var t=a.getData().getDimensionInfo(a.getData().mapDimension(e))||{};return(0,f.extend)((0,f.extend)({},t),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new s.Z(l,o),d=new s.Z(l,o),p=new s.Z([],o),v=(0,f.map)(o.get("data"),(0,f.curry)(x,a,r,o)),r&&(v=(0,f.filter)(v,(0,f.curry)(M,r))),b=u.CS(!!r,l),h.initData((0,f.map)(v,function(e){return e[0]}),null,b),d.initData((0,f.map)(v,function(e){return e[1]}),null,b),p.initData((0,f.map)(v,function(e){return e[2]})),p.hasItemOption=!0,{from:h,to:d,line:p}),C=T.from,k=T.to,D=T.line;m(t).from=C,m(t).to=k,t.setData(D);var L=t.get("symbol"),Z=t.get("symbolSize"),P=t.get("symbolRotate"),N=t.get("symbolOffset");function V(t,n,r){var a=t.getItemModel(n);w(t,n,r,e,i);var o=a.getModel("itemStyle").getItemStyle();null==o.fill&&(o.fill=(0,y.UL)(A,"color")),t.setItemVisual(n,{symbolKeepAspect:a.get("symbolKeepAspect"),symbolOffset:(0,f.retrieve2)(a.get("symbolOffset",!0),N[+!r]),symbolRotate:(0,f.retrieve2)(a.get("symbolRotate",!0),P[+!r]),symbolSize:(0,f.retrieve2)(a.get("symbolSize"),Z[+!r]),symbol:(0,f.retrieve2)(a.get("symbol",!0),L[+!r]),style:o})}(0,f.isArray)(L)||(L=[L,L]),(0,f.isArray)(Z)||(Z=[Z,Z]),(0,f.isArray)(P)||(P=[P,P]),(0,f.isArray)(N)||(N=[N,N]),T.from.each(function(e){V(C,e,!0),V(k,e,!1)}),D.each(function(e){var t=D.getItemModel(e).getModel("lineStyle").getLineStyle();D.setItemLayout(e,[C.getItemLayout(e),k.getItemLayout(e)]),null==t.stroke&&(t.stroke=C.getItemVisual(e,"style").fill),D.setItemVisual(e,{fromSymbolKeepAspect:C.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:C.getItemVisual(e,"symbolOffset"),fromSymbolRotate:C.getItemVisual(e,"symbolRotate"),fromSymbolSize:C.getItemVisual(e,"symbolSize"),fromSymbol:C.getItemVisual(e,"symbol"),toSymbolKeepAspect:k.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:k.getItemVisual(e,"symbolOffset"),toSymbolRotate:k.getItemVisual(e,"symbolRotate"),toSymbolSize:k.getItemVisual(e,"symbolSize"),toSymbol:k.getItemVisual(e,"symbol"),style:t})}),O.updateData(D),T.line.eachItemGraphicEl(function(e){(0,g.A)(e).dataModel=t,e.traverse(function(e){(0,g.A)(e).dataModel=t})}),this.markKeep(O),O.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(h.Z);function A(e){e.registerComponentModel(o),e.registerComponentView(_),e.registerPreprocessor(function(e){(0,i.Z)(e.series,"markLine")&&(e.markLine=e.markLine||{})})}},17846:function(e,t,n){n.d(t,{N:()=>y});var i=n(25936),r=n(69988),a=n(13737),o=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,i){return new t(e,n,i)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(a.Z),s=n(5434),l=n(82517),u=n(83208),c=n(14285),h=n(87309),d=n(67975),p=n(10428),g=n(43928);function f(e,t,n){var i=t.coordinateSystem;e.each(function(r){var a,o=e.getItemModel(r),s=l.GM(o.get("x"),n.getWidth()),u=l.GM(o.get("y"),n.getHeight());if(isNaN(s)||isNaN(u)){if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(i){var c=e.get(i.dimensions[0],r),h=e.get(i.dimensions[1],r);a=i.dataToPoint([c,h])}}else a=[s,u];isNaN(s)||(a[0]=s),isNaN(u)||(a[1]=u),e.setItemLayout(r,a)})}var v=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=a.Z.getMarkerModelFromSeries(e,"markPoint");t&&(f(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())},this)},t.prototype.renderSeries=function(e,t,n,i){var r,a,o,l,h,v,y,m=e.coordinateSystem,x=e.id,b=e.getData(),S=this.markerGroupMap,M=S.get(x)||S.set(x,new s.Z),w=(r=m,a=e,o=t,l=r?(0,d.map)(r&&r.dimensions,function(e){var t=a.getData().getDimensionInfo(a.getData().mapDimension(e))||{};return(0,d.extend)((0,d.extend)({},t),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new u.Z(l,o),v=(0,d.map)(o.get("data"),(0,d.curry)(c.Z3,a)),r&&(v=(0,d.filter)(v,(0,d.curry)(c.mQ,r))),y=c.CS(!!r,l),h.initData(v,null,y),h);t.setData(w),f(t.getData(),e,i),w.each(function(e){var n=w.getItemModel(e),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),o=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if((0,d.isFunction)(i)||(0,d.isFunction)(r)||(0,d.isFunction)(a)||(0,d.isFunction)(o)){var l=t.getRawValue(e),u=t.getDataParams(e);(0,d.isFunction)(i)&&(i=i(l,u)),(0,d.isFunction)(r)&&(r=r(l,u)),(0,d.isFunction)(a)&&(a=a(l,u)),(0,d.isFunction)(o)&&(o=o(l,u))}var c=n.getModel("itemStyle").getItemStyle(),h=(0,g.UL)(b,"color");c.fill||(c.fill=h),w.setItemVisual(e,{symbol:i,symbolSize:r,symbolRotate:a,symbolOffset:o,symbolKeepAspect:s,style:c})}),M.updateData(w),this.group.add(M.group),w.eachItemGraphicEl(function(e){e.traverse(function(e){(0,p.A)(e).dataModel=t})}),this.markKeep(M),M.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(h.Z);function y(e){e.registerComponentModel(o),e.registerComponentView(v),e.registerPreprocessor(function(e){(0,i.Z)(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}},14285:function(e,t,n){n.d(t,{CS:()=>g,Nn:()=>f,Z3:()=>c,i6:()=>p,mQ:()=>d,r:()=>h});var i=n(82517),r=n(97384),a=n(67975),o=n(54503);function s(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function l(e,t,n,a,o,s){var l=[],u=(0,r.M)(t,a)?t.getCalculationInfo("stackResultDimension"):a,c=f(t,u,e),h=t.indicesOfNearest(u,c)[0];l[o]=t.get(n,h),l[s]=t.get(u,h);var d=t.get(a,h),p=i.p8(t.get(a,h));return(p=Math.min(p,20))>=0&&(l[s]=+l[s].toFixed(p)),[l,d]}var u={min:(0,a.curry)(l,"min"),max:(0,a.curry)(l,"max"),average:(0,a.curry)(l,"average"),median:(0,a.curry)(l,"median")};function c(e,t){if(t){var n,i=e.getData(),r=e.coordinateSystem,o=r&&r.dimensions;if(!(!isNaN(parseFloat((n=t).x))&&!isNaN(parseFloat(n.y)))&&!(0,a.isArray)(t.coord)&&(0,a.isArray)(o)){var s=h(t,i,r,e);if((t=(0,a.clone)(t)).type&&u[t.type]&&s.baseAxis&&s.valueAxis){var l=(0,a.indexOf)(o,s.baseAxis.dim),c=(0,a.indexOf)(o,s.valueAxis.dim),d=u[t.type](i,s.baseDataDim,s.valueDataDim,l,c);t.coord=d[0],t.value=d[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&(0,a.isArray)(o))for(var p=t.coord,g=0;g<2;g++)u[p[g]]&&(p[g]=f(i,i.mapDimension(o[g]),p[g]));else t.coord=[];return t}}function h(e,t,n,i){var r,a,o,s={};return null!=e.valueIndex||null!=e.valueDim?(s.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,s.valueAxis=n.getAxis((r=i,a=s.valueDataDim,(o=r.getData().getDimensionInfo(a))&&o.coordDim)),s.baseAxis=n.getOtherAxis(s.valueAxis),s.baseDataDim=t.mapDimension(s.baseAxis.dim)):(s.baseAxis=i.getBaseAxis(),s.valueAxis=n.getOtherAxis(s.baseAxis),s.baseDataDim=t.mapDimension(s.baseAxis.dim),s.valueDataDim=t.mapDimension(s.valueAxis.dim)),s}function d(e,t){return!e||!e.containData||!t.coord||!!s(t)||e.containData(t.coord)}function p(e,t,n){return!e||!e.containZone||!t.coord||!n.coord||!!s(t)||!!s(n)||e.containZone(t.coord,n.coord)}function g(e,t){return e?function(e,n,i,r){var a=r<2?e.coord&&e.coord[r]:e.value;return(0,o.yQ)(a,t[r])}:function(e,n,i,r){return(0,o.yQ)(e.value,t[r])}}function f(e,t,n){if("average"===n){var i=0,r=0;return e.each(t,function(e,t){!isNaN(e)&&(i+=e,r++)}),i/r}return"median"===n?e.getMedian(t):e.getDataExtent(t)[+("max"===n)]}},91574:function(e,t,n){n.d(t,{Bm:()=>o,f1:()=>i,ls:()=>a});var i=function(){},r={};function a(e,t){r[e]=t}function o(e){return r[e]}},55328:function(e,t,n){n.d(t,{N:()=>q});var i=n(36232),r=n(69988),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.type="dataZoom.select",t}(n(84677).Z),o=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.type="dataZoom.select",t}(n(82877).Z),s=n(88526);function l(e){e.registerComponentModel(a),e.registerComponentView(o),(0,s.Z)(e)}var u=n(67975),c=n(91574),h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.ZT)(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;u.each(this.option.feature,function(e,n){var i=c.Bm(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(t)),u.merge(e,i.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(n(45352).Z),d=n(12666),p=n(29790),g=n(98306),f=n(16505),v=n(82787),y=n(60630),m=n(64292),x=n(4587),b=n(76150),S=n(33361),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.render=function(e,t,n,i){var r=this.group;if(r.removeAll(),e.get("show")){var a=+e.get("itemSize"),o="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),h=[];u.each(s,function(e,t){h.push(t)}),new v.Z(this._featureNames||[],h).add(m).update(m).remove(u.curry(m,null)).execute(),this._featureNames=h,y.b(r,e,n),r.add(y.l(r.getBoundingRect(),e)),o||r.eachChild(function(e){var t=e.__title,i=e.ensureState("emphasis"),o=i.textConfig||(i.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!u.isFunction(l)&&t){var c=l.style||(l.style={}),h=d.lP(t,b.ZP.makeFont(c)),p=e.x+r.x,g=e.y+r.y+a,f=!1;g+h.height>n.getHeight()&&(o.position="top",f=!0);var v=f?-5-h.height:a+10;p+h.width/2>n.getWidth()?(o.position=["100%",v],c.align="right"):p-h.width/2<0&&(o.position=[0,v],c.align="left")}})}function m(d,v){var y,m,M,w,_,A,I,O,T,C,k,D=h[d],L=h[v],Z=s[D],P=new f.Z(Z,e,e.ecModel);if(i&&null!=i.newTitle&&i.featureName===D&&(Z.title=i.newTitle),D&&!L){if(0===D.indexOf("my"))k={onclick:P.option.onclick,featureName:D};else{var N=(0,c.Bm)(D);if(!N)return;k=new N}l[D]=k}else if(!(k=l[L]))return;k.uid=(0,x.Kr)("toolbox-feature"),k.model=P,k.ecModel=t,k.api=n;var V=k instanceof c.f1;if(!D&&L){V&&k.dispose&&k.dispose(t,n);return}if(!P.get("show")||V&&k.unusable){V&&k.remove&&k.remove(t,n);return}y=P,m=k,M=D,A=y.getModel("iconStyle"),I=y.getModel(["emphasis","iconStyle"]),O=m instanceof c.f1&&m.getIcons?m.getIcons():y.get("icon"),T=y.get("title")||{},u.isString(O)?(w={})[M]=O:w=O,u.isString(T)?(_={})[M]=T:_=T,C=y.iconPaths={},u.each(w,function(i,s){var l=p.createIcon(i,{},{x:-a/2,y:-a/2,width:a,height:a});l.setStyle(A.getItemStyle()),l.ensureState("emphasis").style=I.getItemStyle();var c=new b.ZP({style:{text:_[s],align:I.get("textAlign"),borderRadius:I.get("textBorderRadius"),padding:I.get("textPadding"),fill:null,font:(0,S.qT)({fontStyle:I.get("textFontStyle"),fontFamily:I.get("textFontFamily"),fontSize:I.get("textFontSize"),fontWeight:I.get("textFontWeight")},t)},ignore:!0});l.setTextContent(c),p.setTooltipConfig({el:l,componentModel:e,itemName:s,formatterParamsExtra:{title:_[s]}}),l.__title=_[s],l.on("mouseover",function(){var t=I.getItemStyle(),i=o?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";c.setStyle({fill:I.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:I.get("textBackgroundColor")}),l.setTextConfig({position:I.get("textPosition")||i}),c.ignore=!e.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==y.get(["iconStatus",s])&&n.leaveEmphasis(this),c.hide()}),("emphasis"===y.get(["iconStatus",s])?g.fD:g.Mh)(l),r.add(l),l.on("click",u.bind(m.onclick,m,t,n,s)),C[s]=l}),P.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&("emphasis"===t?g.fD:g.Mh)(i[e])},k instanceof c.f1&&k.render&&k.render(P,t,n,i)}},t.prototype.updateView=function(e,t,n,i){u.each(this._features,function(e){e instanceof c.f1&&e.updateView&&e.updateView(e.model,t,n,i)})},t.prototype.remove=function(e,t){u.each(this._features,function(n){n instanceof c.f1&&n.remove&&n.remove(e,t)}),this.group.removeAll()},t.prototype.dispose=function(e,t){u.each(this._features,function(n){n instanceof c.f1&&n.dispose&&n.dispose(e,t)})},t.type="toolbox",t}(m.Z),w=n(4647),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.onclick=function(e,t){var n=this.model,i=n.get("name")||e.get("title.0.text")||"echarts",r="svg"===t.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",o=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=w.Z.browser;if((0,u.isFunction)(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=i+"."+a,l.target="_blank",l.href=o;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||r){var h=o.split(","),d=h[0].indexOf("base64")>-1,p=r?decodeURIComponent(h[1]):h[1];d&&(p=window.atob(p));var g=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var f=p.length,v=new Uint8Array(f);f--;)v[f]=p.charCodeAt(f);var y=new Blob([v]);window.navigator.msSaveOrOpenBlob(y,g)}else{var m=document.createElement("iframe");document.body.appendChild(m);var x=m.contentWindow,b=x.document;b.open("image/svg+xml","replace"),b.write(p),b.close(),x.focus(),b.execCommand("SaveAs",!0,g),document.body.removeChild(m)}}else{var S=n.get("lang"),M='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(S&&S[0]||"")+'" /></body>',_=window.open();_.document.write(M),_.document.title=i}},t.getDefaultOption=function(e){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},t}(c.f1),A=n(59161),I=n(86571),O="__ec_magicType_stack__",T=[["line","bar"],["stack"]],C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return u.each(e.get("type"),function(e){t[e]&&(n[e]=t[e])}),n},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,t,n){var i,r=this.model,a=r.get(["seriesIndex",n]);if(k[n]){var o={series:[]};u.each(T,function(e){u.indexOf(e,n)>=0&&u.each(e,function(e){r.setIconStatus(e,"normal")})}),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==a?null:{seriesIndex:a}},function(e){var t=e.subType,i=e.id,a=k[n](t,i,e,r);a&&(u.defaults(a,e.option),o.series.push(a));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var c=l.dim+"Axis",h=e.getReferringComponents(c,I.C6).models[0].componentIndex;o[c]=o[c]||[];for(var d=0;d<=h;d++)o[c][h]=o[c][h]||{};o[c][h].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(i=u.merge({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),t.dispatchAction({type:"changeMagicType",currentType:s,newOption:o,newTitle:i,featureName:"magicType"})}},t}(c.f1),k={line:function(e,t,n,i){if("bar"===e)return u.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(e,t,n,i){if("line"===e)return u.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(e,t,n,i){var r=n.get("stack")===O;if("line"===e||"bar"===e)return i.setIconStatus("stack",r?"normal":"emphasis"),u.merge({id:t,stack:r?"":O},i.get(["option","stack"])||{},!0)}};A.zl({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var D=n(9474),L=Array(60).join("-");function Z(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var P=RegExp("[ ]+","g"),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.onclick=function(e,t){setTimeout(function(){t.dispatchAction({type:"hideTip"})});var n,i,r,a,o,s,l,c=t.getDom(),h=this.model;this._dom&&c.removeChild(this._dom);var d=document.createElement("div");d.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",d.style.backgroundColor=h.get("backgroundColor")||"#fff";var p=document.createElement("h4"),g=h.get("lang")||[];p.innerHTML=g[0]||h.get("title"),p.style.cssText="margin:10px 20px",p.style.color=h.get("textColor");var f=document.createElement("div"),v=document.createElement("textarea");f.style.cssText="overflow:auto";var y=h.get("optionToContent"),m=h.get("contentToOption"),x=(l=(n={},i=[],r=[],e.eachRawSeries(function(e){var t=e.coordinateSystem;if(t&&("cartesian2d"===t.type||"polar"===t.type)){var a=t.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;n[o]||(n[o]={categoryAxis:a,valueAxis:t.getOtherAxis(a),series:[]},r.push({axisDim:a.dim,axisIndex:a.index})),n[o].series.push(e)}else i.push(e)}else i.push(e)}),{seriesGroupByCategoryAxis:n,other:i,meta:r}),{value:u.filter([(a=l.seriesGroupByCategoryAxis,o=[],u.each(a,function(e,t){var n=e.categoryAxis,i=e.valueAxis.dim,r=[" "].concat(u.map(e.series,function(e){return e.name})),a=[n.model.getCategories()];u.each(e.series,function(e){var t=e.getRawData();a.push(e.getRawData().mapArray(t.mapDimension(i),function(e){return e}))});for(var s=[r.join(" ")],l=0;l<a[0].length;l++){for(var c=[],h=0;h<a.length;h++)c.push(a[h][l]);s.push(c.join(" "))}o.push(s.join("\n"))}),o.join("\n\n"+L+"\n\n")),(s=l.other,u.map(s,function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,function(){for(var e=arguments.length,r=arguments[e-1],a=t.getName(r),o=0;o<e-1;o++)i[o]=arguments[o];n.push((a?a+" ":"")+i.join(" "))}),n.join("\n")}).join("\n\n"+L+"\n\n"))],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join("\n\n"+L+"\n\n"),meta:l.meta});if(u.isFunction(y)){var b=y(t.getOption());u.isString(b)?f.innerHTML=b:u.isDom(b)&&f.appendChild(b)}else{v.readOnly=h.get("readOnly");var S=v.style;S.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",S.color=h.get("textColor"),S.borderColor=h.get("textareaBorderColor"),S.backgroundColor=h.get("textareaColor"),v.value=x.value,f.appendChild(v)}var M=x.meta,w=document.createElement("div");w.style.cssText="position:absolute;bottom:5px;left:0;right:0";var _="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",A=document.createElement("div"),I=document.createElement("div");_+=";background-color:"+h.get("buttonColor")+";color:"+h.get("buttonTextColor");var O=this;function T(){c.removeChild(d),O._dom=null}(0,D.Oo)(A,"click",T),(0,D.Oo)(I,"click",function(){var e,n,i,r;if(null==m&&null!=y||null!=m&&null==y)return void T();try{u.isFunction(m)?e=m(f,t.getOption()):(n=v.value,i=n.split(RegExp("\n*"+L+"\n*","g")),r={series:[]},u.each(i,function(e,t){if(function(e){if(e.slice(0,e.indexOf("\n")).indexOf(" ")>=0)return!0}(e)){var n=function(e){for(var t=e.split(/\n+/g),n=Z(t.shift()).split(P),i=[],r=u.map(n,function(e){return{name:e,data:[]}}),a=0;a<t.length;a++){var o=Z(t[a]).split(P);i.push(o.shift());for(var s=0;s<o.length;s++)r[s]&&(r[s].data[a]=o[s])}return{series:r,categories:i}}(e),i=M[t],a=i.axisDim+"Axis";i&&(r[a]=r[a]||[],r[a][i.axisIndex]={data:n.categories},r.series=r.series.concat(n.series))}else{var n=function(e){for(var t=e.split(/\n+/g),n=Z(t.shift()),i=[],r=0;r<t.length;r++){var a=Z(t[r]);if(a){var o=a.split(P),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<o.length;c++)l.push(+o[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(e);r.series.push(n)}}),e=r)}catch(e){throw T(),Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),T()}),A.innerHTML=g[1],I.innerHTML=g[2],I.style.cssText=A.style.cssText=_,h.get("readOnly")||w.appendChild(I),w.appendChild(A),d.appendChild(p),d.appendChild(f),d.appendChild(w),f.style.height=c.clientHeight-80+"px",c.appendChild(d),this._dom=d},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},t}(c.f1);A.zl({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var n=[];u.each(e.newOption.series,function(e){var i=t.getSeriesByName(e.name)[0];if(i){var r,a=i.get("data");n.push({name:e.name,data:(r=e.data,u.map(r,function(e,t){var n=a&&a[t];if(!u.isObject(n)||u.isArray(n))return e;u.isObject(e)&&!u.isArray(e)||(e={value:e});var i=null!=n.name&&null==e.name;return e=u.defaults(e,n),i&&delete e.name,e}))})}else n.push(u.extend({type:"scatter"},e))}),t.mergeOption(u.defaults({series:n},e.newOption))});var V=u.each,R=(0,I.Yf)();function E(e){var t=R(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.onclick=function(e,t){R(e).snapshots=null,t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])}},t}(c.f1);A.zl({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var G=n(10933),B=n(89262),F=n(12920),H=n(33886),W=u.each,X=(0,I.g0)("toolbox-dataZoom_"),Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.render=function(e,t,n,i){var r,a,o,s,l,c,h,d,p;this._brushController||(this._brushController=new G.Z(n.getZr()),this._brushController.on("brush",u.bind(this._onBrush,this)).mount()),r=e,a=t,o=this,s=i,l=n,c=o._isZoomActive,s&&"takeGlobalCursor"===s.type&&(c="dataZoomSelect"===s.key&&s.dataZoomSelectActive),o._isZoomActive=c,r.setIconStatus("zoom",c?"emphasis":"normal"),h=new B.Z(K(r),a,{include:["grid"]}).makePanelOpts(l,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}),o._brushController.setPanels(h).enableBrush(!!c&&!!h.length&&{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}),d=e,p=t,d.setIconStatus("back",E(p).length>1?"emphasis":"normal")},t.prototype.onclick=function(e,t,n){U[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n,i,r,a={},o=this.ecModel;this._brushController.updateCovers([]),new B.Z(K(this.model),o,{include:["grid"]}).matchOutputRanges(t,o,function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(s("x",n,t[0]),s("y",n,t[1])):s({lineX:"x",lineY:"y"}[i],n,t)}}),n=o,i=a,r=E(n),V(i,function(e,t){for(var i=r.length-1;i>=0&&!r[i][t];i--);if(i<0){var a=n.queryComponents({mainType:"dataZoom",subType:"select",id:t})[0];if(a){var o=a.getPercentRange();r[0][t]={dataZoomId:t,start:o[0],end:o[1]}}}}),r.push(i),this._dispatchZoomAction(a)}function s(e,t,n){var i,r,s,l=t.getAxis(e),u=l.model,c=(i=e,r=u,o.eachComponent({mainType:"dataZoom",subType:"select"},function(e){e.getAxisModel(i,r.componentIndex)&&(s=e)}),s),h=c.findRepresentativeAxisProxy(u).getMinMaxSpan();(null!=h.minValueSpan||null!=h.maxValueSpan)&&(n=(0,F.Z)(0,n.slice(),l.scale.getExtent(),0,h.minValueSpan,h.maxValueSpan)),c&&(a[c.id]={dataZoomId:c.id,startValue:n[0],endValue:n[1]})}},t.prototype._dispatchZoomAction=function(e){var t=[];W(e,function(e,n){t.push(u.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},t}(c.f1),U={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){var e,t,n;this._dispatchZoomAction((t=(e=E(this.ecModel))[e.length-1],e.length>1&&e.pop(),n={},V(t,function(t,i){for(var r=e.length-1;r>=0;r--)if(t=e[r][i]){n[i]=t;break}}),n))}};function K(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function q(e){e.registerComponentModel(h),e.registerComponentView(M),(0,c.ls)("saveAsImage",_),(0,c.ls)("magicType",C),(0,c.ls)("dataView",N),(0,c.ls)("dataZoom",Y),(0,c.ls)("restore",z),(0,i.D)(l)}(0,H.f)("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var i=t.getModel(n),r=[],a=K(i),o=(0,I.pm)(e,a);return W(o.xAxisModels,function(e){return s(e,"xAxis","xAxisIndex")}),W(o.yAxisModels,function(e){return s(e,"yAxis","yAxisIndex")}),r}function s(e,t,n){var a=e.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:X+t+a};o[n]=a,r.push(o)}})},10946:function(e,t,n){n.d(t,{Z:()=>y});var i=n(69988),r=n(67975),a=n(53835),o=n(89125),s=n(86750),l=n(86571),u=n(82517),c=n(45352),h=o.Z.mapVisual,d=o.Z.eachVisual,p=r.isArray,g=r.each,f=u.dt,v=u.NU;let y=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return(0,i.ZT)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;t||s.jO(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=r.bind(e,this),this.controllerVisuals=s.qD(this.option.controller,t,e),this.targetVisuals=s.qD(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries(function(e,n){t.push(n)}):t=l.kF(e),t},t.prototype.eachTargetSeries=function(e,t){r.each(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&e.call(t,i)},this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries(function(n){n===e&&(t=!0)}),t},t.prototype.formatValueText=function(e,t,n){var i,a=this.option,o=a.precision,s=this.dataBound,l=a.formatter;n=n||["<",">"],r.isArray(e)&&(e=e.slice(),i=!0);var u=t?e:i?[c(e[0]),c(e[1])]:c(e);if(r.isString(l))return l.replace("{value}",i?u[0]:u).replace("{value2}",i?u[1]:u);if(r.isFunction(l))return i?l(e[0],e[1]):l(e);if(!i)return u;if(e[0]===s[0])return n[0]+" "+u[1];if(e[1]===s[1])return n[1]+" "+u[0];return u[0]+" - "+u[1];function c(e){return e===s[0]?"min":e===s[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=f([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,i=n.length-1;i>=0;i--){var r=n[i],a=e.getDimensionInfo(r);if(!a.isCalculationCoord)return a.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),s=t.controller||(t.controller={});r.merge(i,n),r.merge(s,n);var l=this.isCategory();function u(n){p(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}u.call(this,i),u.call(this,s),(function(e,t,n){var i=e[t],r=e[n];i&&!r&&(r=e[n]={},g(i,function(e,t){if(o.Z.isValidType(t)){var n=a.Z.get(t,"inactive",l);null!=n&&(r[t]=n,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}).call(this,i,"inRange","outOfRange"),(function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),a=this.getItemSymbol()||"roundRect";g(this.stateList,function(o){var s=this.itemSize,u=e[o];u||(u=e[o]={color:l?i:[i]}),null==u.symbol&&(u.symbol=t&&r.clone(t)||(l?a:[a])),null==u.symbolSize&&(u.symbolSize=n&&r.clone(n)||(l?s[0]:[s[0],s[0]])),u.symbol=h(u.symbol,function(e){return"none"===e?a:e});var c=u.symbolSize;if(null!=c){var p=-1/0;d(c,function(e){e>p&&(p=e)}),u.symbolSize=h(c,function(e){return v(e,[0,p],[0,s[0]],!0)})}},this)}).call(this,s)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(c.Z)},10959:function(e,t,n){n.d(t,{Z:()=>u});var i=n(69988),r=n(67975),a=n(31969),o=n(40814),s=n(50651),l=n(89125);let u=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return(0,i.ZT)(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,i){if(this.visualMapModel=e,!1===e.get("show"))return void this.group.removeAll();this.doRender(e,t,n,i)},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=o.MY(t.get("padding")||0),i=e.getBoundingRect();e.add(new a.Z({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,n){var i=(n=n||{}).forceState,a=this.visualMapModel,o={};function s(e){return o[e]}function u(e,t){o[e]=t}"color"===t&&(o.color=a.get("contentColor"));var c=a.controllerVisuals[i||a.getValueState(e)],h=l.Z.prepareVisualTypes(c);return r.each(h,function(i){var r=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=c.__alphaForOpacity),l.Z.dependsOn(i,t)&&r&&r.applyVisual(e,s,u)}),o[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;s.p$(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,i){},t.type="visualMap",t}(n(64292).Z)},31215:function(e,t,n){n.d(t,{H:()=>s,X:()=>o});var i=n(67975),r=n(50651),a=[["left","right","width"],["top","bottom","height"]];function o(e,t,n){var i=e.option,o=i.align;if(null!=o&&"auto"!==o)return o;for(var s={width:t.getWidth(),height:t.getHeight()},l=+("horizontal"===i.orient),u=a[l],c=[0,null,10],h={},d=0;d<3;d++)h[a[1-l][d]]=c[d],h[u[d]]=2===d?n[0]:i[u[d]];var p=[["x","width",3],["y","height",0]][l],g=(0,r.ME)(h,s,i.padding);return u[(g.margin[p[2]]||0)+g[p[0]]+.5*g[p[1]]<.5*s[p[1]]?0:1]}function s(e,t){return i.each(e||[],function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")}),e}},943:function(e,t,n){n.d(t,{N:()=>o});var i=n(36232),r=n(32767),a=n(55828);function o(e){(0,i.D)(r.N),(0,i.D)(a.N)}},87145:function(e,t,n){n.d(t,{Z:()=>f});var i={type:"selectDataRange",event:"dataRangeSelected",update:"update"},r=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})},a=n(67975),o=n(86750),s=n(89125),l=n(43928),u=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",function(t){var i=e.pipelineContext;!t.isTargetSeries(e)||i&&i.large||n.push(o.Z7(t.stateList,t.targetVisuals,a.bind(t.getValueState,t),t.getDataDimensionIndex(e.getData())))}),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),i=[];t.eachComponent("visualMap",function(t){if(t.isTargetSeries(e)){var r=t.getVisualMeta(a.bind(c,null,e,t))||{stops:[],outerColors:[]},o=t.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}}),e.getData().setVisual("visualMeta",i)}}];function c(e,t,n,i){for(var r=t.targetVisuals[i],a=s.Z.prepareVisualTypes(r),o={color:(0,l.UL)(e.getData(),"color")},u=0,c=a.length;u<c;u++){var h=a[u],d=r["opacity"===h?"__alphaForOpacity":h];d&&d.applyVisual(n,p,g)}return o.color;function p(e){return o[e]}function g(e,t){o[e]=t}}var h=a.each;function d(e){var t=e&&e.visualMap;a.isArray(t)||(t=t?[t]:[]),h(t,function(e){if(e){p(e,"splitList")&&!p(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&a.isArray(t)&&h(t,function(e){a.isObject(e)&&(p(e,"start")&&!p(e,"min")&&(e.min=e.start),p(e,"end")&&!p(e,"max")&&(e.max=e.end))})}})}function p(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var g=!1;function f(e){g||(g=!0,e.registerSubTypeDefaulter("visualMap",function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}),e.registerAction(i,r),(0,a.each)(u,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(d))}},32767:function(e,t,n){n.d(t,{N:()=>R});var i=n(69988),r=n(67975),a=n(10946),o=n(82517),s=n(4587),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=20),(null==t[1]||isNaN(t[1]))&&(t[1]=140)},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):r.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=o.dt((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)},this),t.push({seriesId:n.id,dataIndex:i})},this),t},t.prototype.getVisualMeta=function(e){var t=u(this,"outOfRange",this.getExtent()),n=u(this,"inRange",this.option.range.slice()),i=[];function r(t,n){i.push({value:t,color:e(t,n)})}for(var a=0,o=0,s=n.length,l=t.length;o<l&&(!n.length||t[o]<=n[0]);o++)t[o]<n[a]&&r(t[o],"outOfRange");for(var c=1;a<s;a++,c=0)c&&i.length&&r(n[a],"outOfRange"),r(n[a],"inRange");for(var c=1;o<l;o++)(!n.length||n[n.length-1]<t[o])&&(c&&(i.length&&r(i[i.length-1].value,"outOfRange"),c=0),r(t[o],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=(0,s.ZL)(a.Z.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(a.Z);function u(e,t,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],a=[],o=0;o<=200&&r<n[1];o++)a.push(r),r+=i;return a.push(n[1]),a}var c=n(44235),h=n(9474),d=n(10959),p=n(76150),g=n(37293),f=n(31969),v=n(29790),y=n(24484),m=n(12920),x=n(31215),b=n(86571),S=n(12666),M=n(98306),w=n(5965),_=n(63287),A=n(10428),I=n(33361),O=n(26501),T=o.NU,C=r.each,k=Math.min,D=Math.max,L=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return(0,i.ZT)(t,e),t.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this._hoverLinkFromSeriesMouseOver=r.bind(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=r.bind(this._hideIndicator,this)},t.prototype.doRender=function(e,t,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,n){if(t){var i=t[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,a=r.get("textGap"),o=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([o[0]/2,0===n?-a:o[1]+a],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new p.ZP({style:(0,I.Lr)(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,i=t.itemSize,a=this._orient,o=this._useHandle,s=x.X(t,this.api,i),l=n.mainGroup=this._createBarGroup(s),u=new g.Z;l.add(u),u.add(n.outOfRange=Z()),u.add(n.inRange=Z(null,o?N(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0))),u.setClipPath(new f.Z({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),h=D(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,l,0,i,h,a),this._createHandle(t,l,1,i,h,a)),this._createIndicator(t,l,i,h,a),e.add(l)},t.prototype._createHandle=function(e,t,n,i,a,o){var s=r.bind(this._dragHandle,this,n,!1),l=r.bind(this._dragHandle,this,n,!0),u=(0,S.GM)(e.get("handleSize"),i[0]),c=(0,w.th)(e.get("handleIcon"),-u/2,-u/2,u,u,null,!0),d=N(this._orient);c.attr({cursor:d,draggable:!0,drift:s,ondragend:l,onmousemove:function(e){h.sT(e.event)}}),c.x=i[0]/2,c.useStyle(e.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,M.Nj)(c,!0),t.add(c);var g=this.visualMapModel.textStyleModel,f=new p.ZP({cursor:d,draggable:!0,drift:s,onmousemove:function(e){h.sT(e.event)},ondragend:l,style:(0,I.Lr)(g,{x:0,y:0,text:""})});f.ensureState("blur").style={opacity:.1},f.stateTransition={duration:200},this.group.add(f);var v=[u,0],y=this._shapes;y.handleThumbs[n]=c,y.handleLabelPoints[n]=v,y.handleLabels[n]=f},t.prototype._createIndicator=function(e,t,n,i,a){var o=(0,S.GM)(e.get("indicatorSize"),n[0]),s=(0,w.th)(e.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);s.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=e.getModel("indicatorStyle").getItemStyle();if(s instanceof _.ZP){var u=s.style;s.useStyle(r.extend({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else s.useStyle(l);t.add(s);var c=this.visualMapModel.textStyleModel,h=new p.ZP({silent:!0,invisible:!0,style:(0,I.Lr)(c,{x:0,y:0,text:""})});this.group.add(h);var d=[("horizontal"===a?i/2:6)+n[0]/2,0],g=this._shapes;g.indicator=s,g.indicatorLabel=h,g.indicatorLabelPoint=d,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,i){if(this._useHandle){if(this._dragging=!t,!t){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(e,r[1]),this._hideIndicator(),this._updateView()}!this.visualMapModel.get("realtime")===t&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?this._hovering||this._clearHoverLinkToSeries():P(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[T(t[0],n,i,!0),T(t[1],n,i,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];(0,m.Z)(t,i,r,e,0);var a=n.getExtent();this._dataInterval=[T(i[0],r,a,!0),T(i[1],r,a,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),i=this._shapes,r=[0,t.itemSize[1]],a=e?r:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(a,o)},t.prototype._createBarVisual=function(e,t,n,i){var r={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,r),o=[this.getControllerVisual(e[0],"symbolSize",r),this.getControllerVisual(e[1],"symbolSize",r)],s=this._createBarPoints(n,o);return{barColor:new c.Z(0,0,0,1,a),barPoints:s,handlesColor:[a[0].color,a[a.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=[],i=(e[1]-e[0])/100;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var r=1;r<100;r++){var a=e[0]+i*r;if(a>e[1])break;n.push({color:this.getControllerVisual(a,"color",t),offset:r/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new g.Z("horizontal"===t&&!n?{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2}:"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"===t&&!n?{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"left"===e?1:-1})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,a=n.handleLabels,o=i.itemSize,s=i.getExtent();C([0,1],function(l){var u=r[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var c=T(e[l],[0,o[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/o[0],u.x=o[0]-h/2;var d=v.applyTransform(n.handleLabelPoints[l],v.getTransform(u,this.group));a[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,t,n,i){var r=this.visualMapModel,a=r.getExtent(),o=r.itemSize,s=[0,o[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(e,"symbolSize"),d=T(e,a,s,!0),p=o[0]-h/2,g={x:u.x,y:u.y};u.y=d,u.x=p;var f=v.applyTransform(l.indicatorLabelPoint,v.getTransform(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),x="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(t),verticalAlign:x?m:"middle",align:x?"center":m});var b={x:p,y:d,style:{fill:c}},S={style:{x:f[0],y:f[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var M={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(b,M),y.animateTo(S,M)}else u.attr(b),y.attr(S);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var _=0;_<w.length;_++)this.api.enterBlur(w[_])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);i[1]=k(D(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){e._hovering=!1,e._dragging||e._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r,a,o,s,l,u=[0,i[1]],c=n.getExtent();e=k(D(u[0],e),u[1]);var h=(r=n,a=c,o=u,s=6,(l=r.get("hoverLinkDataSize"))&&(s=T(l,a,o,!0)/2),s),d=[e-h,e+h],p=T(e,u,c,!0),g=[T(d[0],u,c,!0),T(d[1],u,c,!0)];d[0]<u[0]&&(g[0]=-1/0),d[1]>u[1]&&(g[1]=1/0),t&&(g[0]===-1/0?this._showIndicator(p,g[1],"< ",h):g[1]===1/0?this._showIndicator(p,g[0],"> ",h):this._showIndicator(p,p,"≈ ",h));var f=this._hoverLinkDataIndices,v=[];(t||P(n))&&(v=this._hoverLinkDataIndices=n.findTargetDataIndices(g));var y=b.XI(f,v);this._dispatchHighDown("downplay",x.H(y[0],n)),this._dispatchHighDown("highlight",x.H(y[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){if((0,O.o)(e.target,function(e){var n=(0,A.A)(e);if(null!=n.dataIndex)return t=n,!0},!0),t){var t,n=this.ecModel.getSeriesByIndex(t.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(t.dataType),a=r.getStore().get(i.getDataDimensionIndex(r),t.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var n=0;n<t.length;n++)this.api.leaveBlur(t[n])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",x.H(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,n,i){var a=v.getTransform(t,i?null:this.group);return r.isArray(e)?v.applyTransform(e,a,n):v.transformDirection(e,a,n)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(d.Z);function Z(e,t,n,i){return new y.Z({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){h.sT(e.event)},ondragend:i})}function P(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function N(e){return"vertical"===e?"ns-resize":"ew-resize"}var V=n(87145);function R(e){e.registerComponentModel(l),e.registerComponentView(L),(0,V.Z)(e)}},55828:function(e,t,n){n.d(t,{N:()=>M});var i=n(69988),r=n(67975),a=n(10946),o=n(89125),s=n(53835),l=n(82517),u=n(4587),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return(0,i.ZT)(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],h[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var a=this.option.categories;this.resetVisual(function(e,t){"categories"===i?(e.mappingMethod="category",e.categories=r.clone(a)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=r.map(this._pieceList,function(e){return e=r.clone(e),"inRange"!==t&&(e.visual=null),e}))})},t.prototype.completeVisualOption=function(){var t=this.option,n={},i=o.Z.listVisualTypes(),a=this.isCategory();function l(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}r.each(t.pieces,function(e){r.each(i,function(t){e.hasOwnProperty(t)&&(n[t]=1)})}),r.each(n,function(e,n){var i=!1;r.each(this.stateList,function(e){i=i||l(t,e,n)||l(t.target,e,n)},this),i||r.each(this.stateList,function(e){(t[e]||(t[e]={}))[n]=s.Z.get(n,"inRange"===e?"active":"inactive",a)})},this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,i=this._pieceList,a=(t?n:e).selected||{};if(n.selected=a,r.each(i,function(e,t){var n=this.getSelectedMapKey(e);a.hasOwnProperty(n)||(a[n]=!0)},this),"single"===n.selectedMode){var o=!1;r.each(i,function(e,t){var n=this.getSelectedMapKey(e);a[n]&&(o?a[n]=!1:o=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=r.clone(e)},t.prototype.getValueState=function(e){var t=o.Z.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries(function(i){var r=[],a=i.getData();a.each(this.getDataDimensionIndex(a),function(t,i){o.Z.findPieceIndex(t,n)===e&&r.push(i)},this),t.push({seriesId:i.id,dataIndex:r})},this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],n=["",""],i=this,a=this._pieceList.slice();if(a.length){var o=a[0].interval[0];o!==-1/0&&a.unshift({interval:[-1/0,o]}),(o=a[a.length-1].interval[1])!==1/0&&a.push({interval:[o,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(a,function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])},this),{stops:t,outerColors:n}}function l(r,a){var o=i.getRepresentValue({interval:r});a||(a=i.getValueState(o));var s=e(o,a);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:t.push({value:r[0],color:s},{value:r[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=(0,u.ZL)(a.Z.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(a.Z),h={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),i=this.getExtent(),a=t.splitNumber;t.splitNumber=a=Math.max(parseInt(a,10),1);for(var o=(i[1]-i[0])/a;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,i[0]],close:[0,0]});for(var s=0,u=i[0];s<a;u+=o,s++){var c=s===a-1?i[1]:u+o;e.push({interval:[u,c],close:[1,1]})}t.maxOpen&&e.push({interval:[i[1],1/0],close:[0,0]}),(0,l.nR)(e),r.each(e,function(e,t){e.index=t,e.text=this.formatValueText(e.interval)},this)},categories:function(e){var t=this.option;r.each(t.categories,function(t){e.push({text:this.formatValueText(t,!0),value:t})},this),d(t,e)},pieces:function(e){var t=this.option;r.each(t.pieces,function(t,n){r.isObject(t)||(t={value:t});var i={text:"",index:n};if(null!=t.label&&(i.text=t.label),t.hasOwnProperty("value")){var a=i.value=t.value;i.interval=[a,a],i.close=[1,1]}else{for(var s=i.interval=[],l=i.close=[0,0],u=[1,0,1],c=[-1/0,1/0],h=[],d=0;d<2;d++){for(var p=[["gte","gt","min"],["lte","lt","max"]][d],g=0;g<3&&null==s[d];g++)s[d]=t[p[g]],l[d]=u[g],h[d]=2===g;null==s[d]&&(s[d]=c[d])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(i.value=s[0])}i.visual=o.Z.retrieveVisuals(t),e.push(i)},this),d(t,e),(0,l.nR)(e),r.each(e,function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)},this)}};function d(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var p=n(10959),g=n(37293),f=n(76150),v=n(5965),y=n(50651),m=n(31215),x=n(33361),b=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.ZT)(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),i=t.textStyleModel,a=i.getFont(),o=i.getTextColor(),s=this._getItemAlign(),l=t.itemSize,u=this._getViewData(),c=u.endsText,h=r.retrieve(t.get("showLabel",!0),!c);c&&this._renderEndsText(e,c[0],l,h,s),r.each(u.viewPieceList,function(i){var u=i.piece,c=new g.Z;c.onclick=r.bind(this._onItemClick,this,u),this._enableHoverLink(c,i.indexInModelPieceList);var d=t.getRepresentValue(u);if(this._createItemSymbol(c,d,[0,0,l[0],l[1]]),h){var p=this.visualMapModel.getValueState(d);c.add(new f.ZP({style:{x:"right"===s?-n:l[0]+n,y:l[1]/2,text:u.text,verticalAlign:"middle",align:s,font:a,fill:o,opacity:"outOfRange"===p?.5:1}}))}e.add(c)},this),c&&this._renderEndsText(e,c[1],l,h,s),y.BZ(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(e){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:e,batch:m.H(i.findTargetDataIndices(t),i)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return m.X(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,i,r){if(t){var a=new g.Z,o=this.visualMapModel.textStyleModel;a.add(new f.ZP({style:(0,x.Lr)(o,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:t})})),e.add(a)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=r.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),n=e.get("text"),i=e.get("orient"),a=e.get("inverse");return("horizontal"===i?a:!a)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n){e.add((0,v.th)(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,i=n.selectedMode;if(i){var a=r.clone(n.selected),o=t.getSelectedMapKey(e);"single"===i||!0===i?(a[o]=!0,r.each(a,function(e,t){a[t]=t===o})):a[o]=!a[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}},t.type="visualMap.piecewise",t}(p.Z),S=n(87145);function M(e){e.registerComponentModel(c),e.registerComponentView(b),(0,S.Z)(e)}},82667:function(e,t,n){n.d(t,{H:()=>i});function i(e,t){return e.type===t}},9655:function(e,t,n){n.d(t,{$x:()=>L,Iu:()=>D,_A:()=>T,d:()=>_,qK:()=>O});var i=n(91145),r=n(7185),a=n(61099),o=n(97694),s=n(66790),l=n(99101),u=n(67975),c=n(49634),h=n(77605),d=n(98306),p=2*Math.PI,g=o.Z.CMD,f=["top","right","bottom","left"];function v(e,t,n,i,r,a,o,s){var l=n-e,u=i-t,c=Math.sqrt(l*l+u*u),h=((r-e)*(l/=c)+(a-t)*(u/=c))/c;s&&(h=Math.min(Math.max(h,0),1)),h*=c;var d=o[0]=e+h*l,p=o[1]=t+h*u;return Math.sqrt((d-r)*(d-r)+(p-a)*(p-a))}function y(e,t,n,i,r,a,o){n<0&&(e+=n,n=-n),i<0&&(t+=i,i=-i);var s=e+n,l=t+i,u=o[0]=Math.min(Math.max(r,e),s),c=o[1]=Math.min(Math.max(a,t),l);return Math.sqrt((u-r)*(u-r)+(c-a)*(c-a))}var m=[],x=new i.Z,b=new i.Z,S=new i.Z,M=new i.Z,w=new i.Z;function _(e,t){if(e){var n=e.getTextGuideLine(),a=e.getTextContent();if(a&&n){var o=e.textGuideLineConfig||{},u=[[0,0],[0,0],[0,0]],h=o.candidates||f,d=a.getBoundingRect().clone();d.applyTransform(a.getComputedTransform());var w=1/0,_=o.anchor,A=e.getComputedTransform(),I=A&&(0,c.invert)([],A),T=t.get("length2")||0;_&&S.copy(_);for(var C=0;C<h.length;C++){!function(e,t,n,i,r){var a=n.width,o=n.height;switch(e){case"top":i.set(n.x+a/2,n.y-0),r.set(0,-1);break;case"bottom":i.set(n.x+a/2,n.y+o+0),r.set(0,1);break;case"left":i.set(n.x-t,n.y+o/2),r.set(-1,0);break;case"right":i.set(n.x+a+t,n.y+o/2),r.set(1,0)}}(h[C],0,d,x,M),i.Z.scaleAndAdd(b,x,M,T),b.transform(I);var k=e.getBoundingRect(),D=_?_.distance(b):e instanceof r.ZP?function(e,t,n){for(var i,r,a=0,o=0,u=0,c=0,h=1/0,d=t.data,f=e.x,x=e.y,b=0;b<d.length;){var S=d[b++];1===b&&(a=d[b],o=d[b+1],u=a,c=o);var M=h;switch(S){case g.M:u=d[b++],c=d[b++],a=u,o=c;break;case g.L:M=v(a,o,d[b],d[b+1],f,x,m,!0),a=d[b++],o=d[b++];break;case g.C:M=(0,l.t1)(a,o,d[b++],d[b++],d[b++],d[b++],d[b],d[b+1],f,x,m),a=d[b++],o=d[b++];break;case g.Q:M=(0,l.Wr)(a,o,d[b++],d[b++],d[b],d[b+1],f,x,m),a=d[b++],o=d[b++];break;case g.A:var w=d[b++],_=d[b++],A=d[b++],I=d[b++],O=d[b++],T=d[b++];b+=1;var C=!!(1-d[b++]);i=Math.cos(O)*A+w,r=Math.sin(O)*I+_,b<=1&&(u=i,c=r);var k=(f-w)*I/A+w;M=function(e,t,n,i,r,a,o,l,u){var c=Math.sqrt((o-=e)*o+(l-=t)*l),h=(o/=c)*n+e,d=(l/=c)*n+t;if(Math.abs(i-r)%p<1e-4)return u[0]=h,u[1]=d,c-n;if(a){var g=i;i=(0,s.m)(r),r=(0,s.m)(g)}else i=(0,s.m)(i),r=(0,s.m)(r);i>r&&(r+=p);var f=Math.atan2(l,o);if(f<0&&(f+=p),f>=i&&f<=r||f+p>=i&&f+p<=r)return u[0]=h,u[1]=d,c-n;var v=n*Math.cos(i)+e,y=n*Math.sin(i)+t,m=n*Math.cos(r)+e,x=n*Math.sin(r)+t,b=(v-o)*(v-o)+(y-l)*(y-l),S=(m-o)*(m-o)+(x-l)*(x-l);return b<S?(u[0]=v,u[1]=y,Math.sqrt(b)):(u[0]=m,u[1]=x,Math.sqrt(S))}(w,_,I,O,O+T,C,k,x,m),a=Math.cos(O+T)*A+w,o=Math.sin(O+T)*I+_;break;case g.R:M=y(u=a=d[b++],c=o=d[b++],d[b++],d[b++],f,x,m);break;case g.Z:M=v(a,o,u,c,f,x,m,!0),a=u,o=c}M<h&&(h=M,n.set(m[0],m[1]))}return h}(b,e.path,S):function(e,t,n){var i=y(t.x,t.y,t.width,t.height,e.x,e.y,m);return n.set(m[0],m[1]),i}(b,k,S);D<w&&(w=D,b.transform(A),S.transform(A),S.toArray(u[0]),b.toArray(u[1]),x.toArray(u[2]))}O(u,t.get("minTurnAngle")),n.setShape({points:u})}}}var A=[],I=new i.Z;function O(e,t){if(t<=180&&t>0){t=t/180*Math.PI,x.fromArray(e[0]),b.fromArray(e[1]),S.fromArray(e[2]),i.Z.sub(M,x,b),i.Z.sub(w,S,b);var n=M.len(),r=w.len();if(!(n<.001)&&!(r<.001)&&(M.scale(1/n),w.scale(1/r),Math.cos(t)<M.dot(w))){var a=v(b.x,b.y,S.x,S.y,x.x,x.y,A,!1);I.fromArray(A),I.scaleAndAdd(w,a/Math.tan(Math.PI-t));var o=S.x!==b.x?(I.x-b.x)/(S.x-b.x):(I.y-b.y)/(S.y-b.y);if(isNaN(o))return;o<0?i.Z.copy(I,b):o>1&&i.Z.copy(I,S),I.toArray(e[1])}}}function T(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,x.fromArray(e[0]),b.fromArray(e[1]),S.fromArray(e[2]),i.Z.sub(M,b,x),i.Z.sub(w,S,b);var r=M.len(),a=w.len();if(!(r<.001)&&!(a<.001)&&(M.scale(1/r),w.scale(1/a),M.dot(t)<Math.cos(n))){var o=v(b.x,b.y,S.x,S.y,x.x,x.y,A,!1);I.fromArray(A);var s=Math.PI/2,l=s+Math.acos(w.dot(t))-n;if(l>=s)i.Z.copy(I,S);else{I.scaleAndAdd(w,o/Math.tan(Math.PI/2-l));var u=S.x!==b.x?(I.x-b.x)/(S.x-b.x):(I.y-b.y)/(S.y-b.y);if(isNaN(u))return;u<0?i.Z.copy(I,b):u>1&&i.Z.copy(I,S)}I.toArray(e[1])}}}function C(e,t,n,i){var r="normal"===n,a=r?e:e.ensureState(n);a.ignore=t;var o=i.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=i.getModel("lineStyle").getLineStyle();r?e.useStyle(s):a.style=s}function k(e,t){var n=t.smooth,i=t.points;if(i)if(e.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=h.dist(i[0],i[1]),a=h.dist(i[1],i[2]);if(!r||!a){e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]);return}var o=Math.min(r,a)*n,s=h.lerp([],i[1],i[0],o/r),l=h.lerp([],i[1],i[2],o/a),u=h.lerp([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)e.lineTo(i[c][0],i[c][1])}function D(e,t,n){var i=e.getTextGuideLine(),r=e.getTextContent();if(!r){i&&e.removeTextGuideLine();return}for(var o=t.normal,s=o.get("show"),l=r.ignore,c=0;c<d.qc.length;c++){var h=d.qc[c],p=t[h],g="normal"===h;if(p){var f=p.get("show");if((g?l:(0,u.retrieve2)(r.states[h]&&r.states[h].ignore,l))||!(0,u.retrieve2)(f,s)){var v=g?i:i&&i.states[h];v&&(v.ignore=!0),i&&C(i,!0,h,p);continue}!i&&(i=new a.Z,e.setTextGuideLine(i),g||!l&&s||C(i,!0,"normal",t.normal),e.stateProxy&&(i.stateProxy=e.stateProxy)),C(i,!1,h,p)}}if(i){(0,u.defaults)(i.style,n),i.style.fill=null;var y=o.get("showAbove");(e.textGuideLineConfig=e.textGuideLineConfig||{}).showAbove=y||!1,i.buildPath=k}}function L(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},i=0;i<d.L1.length;i++){var r=d.L1[i];n[r]=e.getModel([r,t])}return n}},31260:function(e,t,n){n.d(t,{Z:()=>i});function i(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var i=e.getData();i.filterSelf(function(e){for(var t=i.getName(e),r=0;r<n.length;r++)if(!n[r].isSelected(t))return!1;return!0})}}}}},5719:function(e,t,n){n.d(t,{Z:()=>o});var i=n(67975),r={average:function(e){for(var t=0,n=0,i=0;i<e.length;i++)!isNaN(e[i])&&(t+=e[i],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},minmax:function(e){for(var t=-1/0,n=-1/0,i=0;i<e.length;i++){var r=e[i],a=Math.abs(r);a>t&&(t=a,n=r)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},a=function(e){return Math.round(e.length/2)};function o(e){return{seriesType:e,reset:function(e,t,n){var o=e.getData(),s=e.get("sampling"),l=e.coordinateSystem,u=o.count();if(u>10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),h=l.getOtherAxis(c),d=c.getExtent(),p=n.getDevicePixelRatio(),g=Math.round(u/(Math.abs(d[1]-d[0])*(p||1)));if(isFinite(g)&&g>1){"lttb"===s&&e.setData(o.lttbDownSample(o.mapDimension(h.dim),1/g));var f=void 0;(0,i.isString)(s)?f=r[s]:(0,i.isFunction)(s)&&(f=s),f&&e.setData(o.downSample(o.mapDimension(h.dim),1/g,f,a))}}}}}},2699:function(e,t,n){n.d(t,{Z:()=>o});var i=n(69988),r=n(7185),a=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0};let o=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return(0,i.ZT)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r0||0,0),a=Math.max(t.r,0),o=(a-r)*.5,s=r+o,l=t.startAngle,u=t.endAngle,c=t.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var p=Math.cos(l),g=Math.sin(l),f=Math.cos(u),v=Math.sin(u);d?(e.moveTo(p*r+n,g*r+i),e.arc(p*s+n,g*s+i,o,-Math.PI+l,l,!c)):e.moveTo(p*a+n,g*a+i),e.arc(n,i,a,l,u,!c),e.arc(f*s+n,v*s+i,o,u-2*Math.PI,u-Math.PI,!c),0!==r&&e.arc(n,i,r,u,l,c)},t}(r.ZP)},43810:function(e,t,n){n.d(t,{Sv:()=>r,Tw:()=>a,n8:()=>s});var i=n(67975);function r(e,t,n,r){return e&&(e.legacy||!1!==e.legacy&&!n&&!r&&"tspan"!==t&&("text"===t||(0,i.hasOwn)(e,"text")))}function a(e,t,n){var r,a,s;if("text"===t)s=e;else{s={},(0,i.hasOwn)(e,"text")&&(s.text=e.text),(0,i.hasOwn)(e,"rich")&&(s.rich=e.rich),(0,i.hasOwn)(e,"textFill")&&(s.fill=e.textFill),(0,i.hasOwn)(e,"textStroke")&&(s.stroke=e.textStroke),(0,i.hasOwn)(e,"fontFamily")&&(s.fontFamily=e.fontFamily),(0,i.hasOwn)(e,"fontSize")&&(s.fontSize=e.fontSize),(0,i.hasOwn)(e,"fontStyle")&&(s.fontStyle=e.fontStyle),(0,i.hasOwn)(e,"fontWeight")&&(s.fontWeight=e.fontWeight),a={type:"text",style:s,silent:!0},r={};var l=(0,i.hasOwn)(e,"textPosition");n?r.position=l?e.textPosition:"inside":l&&(r.position=e.textPosition),(0,i.hasOwn)(e,"textPosition")&&(r.position=e.textPosition),(0,i.hasOwn)(e,"textOffset")&&(r.offset=e.textOffset),(0,i.hasOwn)(e,"textRotation")&&(r.rotation=e.textRotation),(0,i.hasOwn)(e,"textDistance")&&(r.distance=e.textDistance)}return o(s,e),(0,i.each)(s.rich,function(e){o(e,e)}),{textConfig:r,textContent:a}}function o(e,t){t&&(t.font=t.textFont||t.font,(0,i.hasOwn)(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),(0,i.hasOwn)(t,"textAlign")&&(e.align=t.textAlign),(0,i.hasOwn)(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),(0,i.hasOwn)(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),(0,i.hasOwn)(t,"textWidth")&&(e.width=t.textWidth),(0,i.hasOwn)(t,"textHeight")&&(e.height=t.textHeight),(0,i.hasOwn)(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),(0,i.hasOwn)(t,"textPadding")&&(e.padding=t.textPadding),(0,i.hasOwn)(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),(0,i.hasOwn)(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),(0,i.hasOwn)(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),(0,i.hasOwn)(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),(0,i.hasOwn)(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),(0,i.hasOwn)(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),(0,i.hasOwn)(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function s(e,t,n){e.textPosition=e.textPosition||n.position||"inside",null!=n.offset&&(e.textOffset=n.offset),null!=n.rotation&&(e.textRotation=n.rotation),null!=n.distance&&(e.textDistance=n.distance);var r=e.textPosition.indexOf("inside")>=0,a=e.fill||"#000";l(e,t);var o=null==e.textFill;return r?o&&(e.textFill=n.insideFill||"#fff",!e.textStroke&&n.insideStroke&&(e.textStroke=n.insideStroke),e.textStroke||(e.textStroke=a),null==e.textStrokeWidth&&(e.textStrokeWidth=2)):(o&&(e.textFill=e.fill||n.outsideFill||"#000"),!e.textStroke&&n.outsideStroke&&(e.textStroke=n.outsideStroke)),e.text=t.text,e.rich=t.rich,(0,i.each)(t.rich,function(e){l(e,e)}),e}function l(e,t){t&&((0,i.hasOwn)(t,"fill")&&(e.textFill=t.fill),(0,i.hasOwn)(t,"stroke")&&(e.textStroke=t.fill),(0,i.hasOwn)(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),(0,i.hasOwn)(t,"font")&&(e.font=t.font),(0,i.hasOwn)(t,"fontStyle")&&(e.fontStyle=t.fontStyle),(0,i.hasOwn)(t,"fontWeight")&&(e.fontWeight=t.fontWeight),(0,i.hasOwn)(t,"fontSize")&&(e.fontSize=t.fontSize),(0,i.hasOwn)(t,"fontFamily")&&(e.fontFamily=t.fontFamily),(0,i.hasOwn)(t,"align")&&(e.textAlign=t.align),(0,i.hasOwn)(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),(0,i.hasOwn)(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),(0,i.hasOwn)(t,"width")&&(e.textWidth=t.width),(0,i.hasOwn)(t,"height")&&(e.textHeight=t.height),(0,i.hasOwn)(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),(0,i.hasOwn)(t,"padding")&&(e.textPadding=t.padding),(0,i.hasOwn)(t,"borderColor")&&(e.textBorderColor=t.borderColor),(0,i.hasOwn)(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),(0,i.hasOwn)(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),(0,i.hasOwn)(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),(0,i.hasOwn)(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),(0,i.hasOwn)(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),(0,i.hasOwn)(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),(0,i.hasOwn)(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),(0,i.hasOwn)(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),(0,i.hasOwn)(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),(0,i.hasOwn)(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}},26435:function(e,t,n){n.d(t,{Z:()=>i});let i=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){return this._getRawData().indexOfName(e)>=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}()},89125:function(e,t,n){n.d(t,{Z:()=>x});var i=n(67975),r=n(54411),a=n(82517),o=i.each,s=i.isObject,l=function(){function e(t){var n,r,a=t.mappingMethod,s=t.type,l=this.option=i.clone(t);this.type=s,this.mappingMethod=a,this._normalizeData=m[a];var c=e.visualHandlers[s];this.applyVisual=c.applyVisual,this.getColorMapper=c.getColorMapper,this._normalizedToVisual=c._normalizedToVisual[a],"piecewise"===a?(u(l),r=(n=l).pieceList,n.hasSpecialVisual=!1,i.each(r,function(e,t){e.originIndex=t,null!=e.visual&&(n.hasSpecialVisual=!0)})):"category"===a?l.categories?function(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(o(t,function(e,t){n[e]=t}),!i.isArray(r)){var a=[];i.isObject(r)?o(r,function(e,t){var i=n[t];a[null!=i?i:-1]=e}):a[-1]=r,r=y(e,a)}for(var s=t.length-1;s>=0;s--)null==r[s]&&(delete n[t[s]],t.pop())}(l):u(l,!0):(i.assert("linear"!==a||l.dataExtent),u(l))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return i.bind(this._normalizeData,this)},e.listVisualTypes=function(){return i.keys(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){i.isObject(e)?i.each(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var a,o=i.isArray(t)?[]:i.isObject(t)?{}:(a=!0,null);return e.eachVisual(t,function(e,t){var i=n.call(r,e,t);a?o=i:o[t]=i}),o},e.retrieveVisuals=function(t){var n,i={};return t&&o(e.visualHandlers,function(e,r){t.hasOwnProperty(r)&&(i[r]=t[r],n=!0)}),n?i:null},e.prepareVisualTypes=function(e){if(i.isArray(e))e=e.slice();else{if(!s(e))return[];var t=[];o(e,function(e,n){t.push(n)}),e=t}return e.sort(function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1}),e},e.dependsOn=function(e,t){return"color"===t?!!(e&&0===e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var r,a=1/0,o=0,s=t.length;o<s;o++){var l=t[o].value;if(null!=l){if(l===e||i.isString(l)&&l===e+"")return o;n&&_(l,o)}}for(var o=0,s=t.length;o<s;o++){var u,c,h,d,p,g,f,v,y,m,x,b,S=t[o],M=S.interval,w=S.close;if(M){if(M[0]===-1/0){if(u=w[1],c=e,h=M[1],u?c<=h:c<h)return o}else if(M[1]===1/0){if(d=w[0],p=M[0],g=e,d?p<=g:p<g)return o}else{if(f=w[0],v=M[0],y=e,(f?v<=y:v<y)&&(m=w[1],x=e,b=M[1],m?x<=b:x<b))return o}n&&_(M[0],o),n&&_(M[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function _(t,n){var i=Math.abs(t-e);i<a&&(a=i,r=n)}},e.visualHandlers={color:{applyVisual:d("color"),getColorMapper:function(){var e=this.option;return i.bind("category"===e.mappingMethod?function(e,t){return t||(e=this._normalizeData(e)),p.call(this,e)}:function(t,n,i){var a=!!i;return n||(t=this._normalizeData(t)),i=r.fastLerp(t,e.parsedVisual,i),a?i:r.stringify(i,"rgba")},this)},_normalizedToVisual:{linear:function(e){return r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")},category:p,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:g}},colorHue:c(function(e,t){return r.modifyHSL(e,t)}),colorSaturation:c(function(e,t){return r.modifyHSL(e,null,t)}),colorLightness:c(function(e,t){return r.modifyHSL(e,null,null,t)}),colorAlpha:c(function(e,t){return r.modifyAlpha(e,t)}),decal:{applyVisual:d("decal"),_normalizedToVisual:{linear:null,category:p,piecewise:null,fixed:null}},opacity:{applyVisual:d("opacity"),_normalizedToVisual:f([0,1])},liftZ:{applyVisual:d("liftZ"),_normalizedToVisual:{linear:g,category:g,piecewise:g,fixed:g}},symbol:{applyVisual:function(e,t,n){n("symbol",this.mapValueToVisual(e))},_normalizedToVisual:{linear:h,category:p,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=h.call(this,e)),n},fixed:g}},symbolSize:{applyVisual:d("symbolSize"),_normalizedToVisual:f([0,1])}},e}();function u(e,t){var n=e.visual,r=[];i.isObject(n)?o(n,function(e){r.push(e)}):null!=n&&r.push(n),t||1!==r.length||({color:1,symbol:1}).hasOwnProperty(e.type)||(r[1]=r[0]),y(e,r)}function c(e){return{applyVisual:function(t,n,i){var r=this.mapValueToVisual(t);i("color",e(n("color"),r))},_normalizedToVisual:f([0,1])}}function h(e){var t=this.option.visual;return t[Math.round((0,a.NU)(e,[0,1],[0,t.length-1],!0))]||{}}function d(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function p(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function g(){return this.option.visual[0]}function f(e){return{linear:function(t){return(0,a.NU)(t,e,this.option.visual,!0)},category:p,piecewise:function(t,n){var i=v.call(this,n);return null==i&&(i=(0,a.NU)(t,e,this.option.visual,!0)),i},fixed:g}}function v(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=l.findPieceIndex(e,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function y(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=i.map(t,function(e){return r.parse(e)||[0,0,0,1]})),t}var m={linear:function(e){return(0,a.NU)(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=l.findPieceIndex(e,t,!0);if(null!=n)return(0,a.NU)(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?-1:t},fixed:i.noop};let x=l},53835:function(e,t,n){n.d(t,{Z:()=>a});var i=n(67975),r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};let a={get:function(e,t,n){var a=i.clone((r[e]||{})[t]);return n&&i.isArray(a)?a[a.length-1]:a}}},86750:function(e,t,n){n.d(t,{$p:()=>c,Z7:()=>h,jO:()=>u,qD:()=>l});var i=n(67975),r=n(89125),a=n(43928),o=i.each;function s(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function l(e,t,n){var a={};return o(t,function(t){var s,l=a[t]=((s=function(){}).prototype.__hidden=s.prototype,new s);o(e[t],function(e,a){if(r.Z.isValidType(a)){var o={type:a,visual:e};n&&n(o,t),l[a]=new r.Z(o),"opacity"===a&&((o=i.clone(o)).type="colorAlpha",l.__hidden.__alphaForOpacity=new r.Z(o))}})}),a}function u(e,t,n){var r;i.each(n,function(e){t.hasOwnProperty(e)&&s(t[e])&&(r=!0)}),r&&i.each(n,function(n){t.hasOwnProperty(n)&&s(t[n])?e[n]=i.clone(t[n]):delete e[n]})}function c(e,t,n,o,s,l){var u,c={};function h(e){return(0,a.Or)(n,u,e)}function d(e,t){(0,a.LZ)(n,u,e,t)}function p(e,i){u=null==l?e:i;var r=n.getRawDataItem(u);if(!r||!1!==r.visualMap)for(var a=o.call(s,e),p=t[a],g=c[a],f=0,v=g.length;f<v;f++){var y=g[f];p[y]&&p[y].applyVisual(e,h,d)}}i.each(e,function(e){var n=r.Z.prepareVisualTypes(t[e]);c[e]=n}),null==l?n.each(p):n.each([l],p)}function h(e,t,n,o){var s={};return i.each(e,function(e){var n=r.Z.prepareVisualTypes(t[e]);s[e]=n}),{progress:function(e,i){function r(e){return(0,a.Or)(i,c,e)}function l(e,t){(0,a.LZ)(i,c,e,t)}null!=o&&(u=i.getDimensionIndex(o));for(var u,c,h=i.getStore();null!=(c=e.next());){var d=i.getRawDataItem(c);if(!d||!1!==d.visualMap)for(var p=null!=o?h.get(u,c):c,g=n(p),f=t[g],v=s[g],y=0,m=v.length;y<m;y++){var x=v[y];f[x]&&f[x].applyVisual(p,r,l)}}}}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_ScatterChart=self.chunk_ScatterChart||[]).push([["488"],{56050:function(){}}]);
|