1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4769],{16964:(t,e,n)=>{n.d(e,{C:()=>H,F:()=>k,a:()=>l,b:()=>R,c:()=>L,d:()=>T,e:()=>O,f:()=>eI,g:()=>I,h:()=>eS,i:()=>P,j:()=>t0,k:()=>tR,l:()=>ec,m:()=>Z,n:()=>B,r:()=>x,t:()=>z});var o=n(20426),i=n(59991),r=function(t){this.coordSysDims=[],this.axisMap=(0,o.c)(),this.categoryAxisMap=(0,o.c)(),this.coordSysName=t},a={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",o.cf).models[0],a=t.getReferringComponents("yAxis",o.cf).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),s(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),s(a)&&(i.set("y",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",o.cf).models[0];e.coordSysDims=["single"],n.set("single",r),s(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",o.cf).models[0],a=r.findAxisModel("radiusAxis"),l=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",l),s(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),s(l)&&(i.set("angle",l),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,o){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,a=r.getComponent("parallel",t.get("parallelIndex")),l=e.co
1ordSysDims=a.dimensions.slice();(0,o.g)(a.parallelAxisIndex,function(t,o){var a=r.getComponent("parallelAxis",t),u=l[o];n.set(u,a),s(a)&&(i.set(u,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))})},matrix:function(t,e,n,i){var r=t.getReferringComponents("matrix",o.cf).models[0];e.coordSysDims=["x","y"];var a=r.getDimensionModel("x"),s=r.getDimensionModel("y");n.set("x",a),n.set("y",s),i.set("x",a),i.set("y",s)}};function s(t){return"category"===t.get("type")}function l(t,e,n){n=n||{};var s,l,u,c,d,h,p,g,f=e.getSourceManager(),v=!1;v=(g=f.getSource()).sourceFormat===o.aJ;var m=function(t){var e=t.get("coordinateSystem"),n=new r(e),o=a[e];if(o)return o(t,n,n.axisMap,n.categoryAxisMap),n}(e),x=(l=e.get("coordinateSystem"),u=o.de.get(l),m&&m.coordSysDims&&(s=(0,o.A)(m.coordSysDims,function(t){var e={name:t},n=m.axisMap.get(t);if(n){var o=n.get("type");e.type=(0,i.F)(o)}return e})),s||(s=u&&(u.getDimensionsInfo?u.getDimensionsInfo():u.dimensions.slice())||["x","y"]),s),y=n.useEncodeDefaulter,_=(0,o.at)(y)?y:y?(0,o.Q)(o.dd,x,e):null,M={coordDimensions:x,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:_,canOmitUnusedDimensions:!v},b=(0,i.z)(g,M),A=(c=b.dimensions,d=n.createInvertedIndices,m&&(0,o.g)(c,function(t,e){var n=t.coordDim,o=m.categoryAxisMap.get(n);o&&(null==h&&(h=e),t.ordinalMeta=o.getOrdinalMeta(),d&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(p=!0)}),p||null==h||(c[h].otherDims.itemName=0),h),S=v?null:f.getSharedDataStore(b),w=(0,i.E)(e,{schema:b,store:S}),C=new i.S(b,e);C.setCalculationInfo(w);var I=null!=A&&function(t){if(t.sourceFormat===o.aJ){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!(0,o.s)((0,o.df)(e))}}(g)?function(t,e,n,o){return o===A?n:this.defaultDimValueGetter(t,e,n,o)}:null;return C.hasItemOption=!1,C.initData(v?g:S,null,I),C}var u=function(){function t(){}return t.prototype.needIncludeZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),c=(0,o.U)(),d=function(){function t(t,e,n,r,a){var s,l=(0,i.i)(t),u=l?e.getCategories().length:null;if(l){var c=e.getCategories(!0);s=c&&!c.length}var d=n.slice();((0,i.J)(t)||(0,i.K)(t)||(0,i.M)(t))&&((0,o.dg)(d,p(t,e.get("dataMin",!0))),(0,o.dh)(d,p(t,e.get("dataMax",!0)))),(0,o.di)(d)||(d[0]=d[1]=NaN);var f=[],v=[!1,!1],m=e.get("min",!0);"dataMin"===m?(f[0]=d[0],v[0]=!0):(f[0]=p(t,(0,o.at)(m)?m({min:d[0],max:d[1]}):m),v[0]=null!=f[0]);var x=e.get("max",!0);"dataMax"===x?(f[1]=d[1],v[1]=!0):(f[1]=p(t,(0,o.at)(x)?x({min:d[0],max:d[1]}):x),v[1]=null!=f[1]);var y=function(t,e){var n;if((0,i.i)(t))n=[0,0];else{var r=e.get("boundaryGap");"boolean"==typeof r&&(r=null),n=(0,o.s)(r)?r:[r,r]}return[g(n[0]),g(n[1])]}(t,e),_=l?null:d[1]-d[0]||Math.abs(d[0]);null==f[0]&&(f[0]=l?s?d[0]:u?0:NaN:d[0]-y[0]*_),null==f[1]&&(f[1]=l?s?d[1]:u?u-1:NaN:d[1]+y[1]*_),(0,o.aU)(f[0])||(f[0]=NaN),(0,o.aU)(f[1])||(f[1]=NaN);var M=s||(0,o.dj)(f[0])||(0,o.dj)(f[1])||l&&!u,b=(0,i.J)(t),A=b&&e.needIncludeZero&&e.needIncludeZero();A&&(f[0]>0&&f[1]>0&&!v[0]&&(f[0]=0),f[0]<0&&f[1]<0&&!v[1]&&(f[1]=0));var S=!1;f[0]>f[1]&&(f.reverse(),S=!0);var w=p(t,e.get("startValue",!0)),C=null!=w;!(0,o.i)(w)&&r&&(w=t.getDefaultStartValue?t.getDefaultStartValue():0),(0,o.i)(w)&&(C||!b||A)&&(w<f[0]&&!v[0]?(f[0]=w,v[0]=!0):w>f[1]&&!v[1]&&(f[1]=w,v[1]=!0)),h(this._i={scale:t,dataMM:d,noZoomEffMM:f,zoomMM:[],fixMM:v,zoomFixMM:[!1,!1],startValue:w,isBlank:M,incl0:A,tggAxInv:S,ctnShp:a},f)}return t.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},t.prototype.makeFinal=function(){var t=this._i,e=t.zoomMM,n=t.noZoomEffMM,o=t.zoomFixMM,i=t.fixMM,r={fixMM:i,zoomFixMM:o,isBlank:t.isBlank,incl0:t.incl0,tggAxInv:t.tggAxInv,ctnShp:t.ctnShp,effMM:n.slice()},a=r.effMM;return null!=e[0]&&(a[0]=e[0],i[0]=o[0]=!0),null!=e[1]&&(a[1]=e[1],i[1]=o[1]=!0),h(t,a),r},t.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},t.prototype.setZoomMM=function(t,e){this._i.zoomMM[t]=e},t}();function h(t,e){var n=t.scale,i=t.dataMM;n.sanitize&&(e[0]=n.sanitize(e[0],i),e[1]=n.sanitize(e[1],i),(0,o.dk)(e))}function p(t,e){return null==e?null:(0,o.dj)(e)?NaN:t.parse(e)}function g(t){return(0,o.aw)("boolean"==typeof t?0:t,1)||0}function f(t){var e=c(t.scale);return e.extent||(e.extent=(0,o.aS)()),e}function v(t,e){var n,r,a,s,l,u,c,h,p,g,v=t.scale,x=t.model,_=t.dim;v.rawExtentInfo||(n=v,r=t,a=_,s=x,l=e,c=(u=f(r)).extent,h=!1,(0,i.G)(r,function(t){if(t.boxCoordinateSystem){var e=(0,o.dl)(t).coord,s=u.dimIdxInCoord;if(s>=0&&(0,o.s)(e)){var l=e[s];null==l||(0,o.s)(l)||(0,o.dm)(c,n.parse(l))}}else if(t.coordinateSystem){var d=t.getData();if(d){var p=n.getFilter?n.getFilter():null;(0,o.g)((0,i.P)(d,a),function(t){(0,o.dn)(c,d.getApproximateExtent(t,p))})}t.__requireStartValue&&t.__requireStartValue(r)&&(h=!0)}}
1),p=function(t,e,n){var o=(0,i.H)(t,n),r=n.get("containShape",!0);if(null!=r||o||(r=!0),!r)return!1;var a=!1;return(0,i.I)(e,function(t){a=!!y.get(t)||a}),a}(n,r,s),g=new d(n,s,c,h,p),m(n,g,l),u.extent=null)}function m(t,e,n){t.rawExtentInfo=e,e.from=n}function x(t,e){y.set(t,e)}var y=(0,o.c)();function _(t,e,n,i,r){t.rawExtentInfo||(a={scale:t,model:e},s=(0,o.aS)(),m(l=a.scale,new d(l,a.model,s,!1,!1),3));var a,s,l,u=t.rawExtentInfo.makeFinal(),c=u.effMM;return t.setExtent(c[0],c[1]),t.setBlank(u.isBlank),i&&u.tggAxInv&&n&&!n.get("legacyMinMaxDontInverseAxis")&&(i.inverse=!i.inverse),u}function M(t,e){var n,r,a,s,l,u,c,d,h,p,g,f,v,m,x,y,_,M,b=(0,i.K)(t),A=b?t.intervalStub:t,S=e.fixMinMax||[],w=b?t.getExtent():null,C=A.getExtent(),I=(0,i.R)(C,S,e.rawExtentResult);A.setExtent(I[0],I[1]),I=A.getExtent();var T=b?(n=A,r=e,a=(0,i.W)(r.splitNumber,10),s=n.getExtent(),l=(0,i.V)(n),u=(0,o.k)((0,o.dr)(l),1),a/l*u<=.5&&(u*=10),c=(0,i.T)(u),d=[(0,o.aZ)((0,o.dq)(s[0]/u)*u,c),(0,o.aZ)((0,o.dp)(s[1]/u)*u,c)],{intervalPrecision:c,interval:u,niceExtent:d}):(h=A,p=e,g=(0,i.W)(p.splitNumber,5),f=(0,i.V)(h),v=p.minInterval,m=p.maxInterval,x=(0,o.bj)(f/g,!0),null!=v&&x<v&&(x=v),null!=m&&x>m&&(x=m),y=(0,i.T)(x),_=h.getExtent(),M=[(0,o.aZ)((0,o.dq)(_[0]/x)*x,y),(0,o.aZ)((0,o.dp)(_[1]/x)*x,y)],{interval:x,intervalPrecision:y,niceExtent:M}),D=T.intervalPrecision,k=T.interval,L=e.userInterval;null!=L&&(T.interval=L,T.intervalPrecision=(0,i.T)(L)),S[0]||(I[0]=(0,o.aZ)((0,o.dp)(I[0]/k)*k,D)),S[1]||(I[1]=(0,o.aZ)((0,o.dq)(I[1]/k)*k,D)),null!=L&&(T.niceExtent=I.slice()),(0,i.U)(t,S,C,I,w,T)}function b(t){var e,n,r,a,s,l,u,c,d=t.scale,h=t.model,p=h.axis,g=h.ecModel;e=d,n=h,r=p,s=_(e,n,a=g,r),l=(0,i.J)(e)||(0,i.M)(e),u=e,c={splitNumber:n.get("splitNumber"),fixMinMax:s.fixMM,userInterval:n.get("interval"),minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null,rawExtentResult:s},A[u.type](u,c),r&&a&&function(t,e,n,r){if(n.ctnShp&&((0,i.I)(t,function(e){var n=y.get(e);if(n){var s=n(t,r);s&&(a=a||[0,0],(0,o.dg)(a,s[0]),(0,o.dh)(a,s[1]),(0,i.N)(t))}}),a)){var a,s=e.getExtent();if((0,i.i)(e))t.onBand||e.setExtent2(i.O,(0,o.j)(s[0],s[0]+a[0]),(0,o.k)(s[1],s[1]+a[1]));else{var l=s.slice();n.zoomFixMM[0]||(l[0]=(0,o.j)(l[0],e.transformOut(e.transformIn(l[0],null)+a[0],null))),n.zoomFixMM[1]||(l[1]=(0,o.k)(l[1],e.transformOut(e.transformIn(l[1],null)+a[1],null))),(l[0]<s[0]||l[1]>s[1])&&e.setExtent2(i.O,l[0],l[1])}}}(r,e,s,a)}var A={interval:M,log:M,time:i.Q,ordinal:o.aR},S=[0,1],w=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),o=Math.max(e[0],e[1]);return t>=n&&t<=o},t.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this.scale;return t=n.normalize(n.parse(t)),(0,o.a2)(t,S,C(this),e)},t.prototype.coordToData=function(t,e){var n=(0,o.a2)(t,C(this),S,e);return this.scale.scale(n)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=(0,i.X)(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),r=(0,o.A)(n.ticks,function(t){return{coord:this.dataToCoord((0,i.Y)(this.scale,t)),tick:t}},this),a=function(t,e,n){var r=e.length;if(!t.onBand||n||!r)return!1;var a=(0,i.c)(t).w;if(!a)return!1;(0,o.g)(e,function(t){t.coord-=a/2});var s=t.scale.getExtent(),l=e[r-1];return l.tick.offInterval&&e.pop(),e.push({coord:l.coord+a,tick:{value:s[1]+1}}),!0}(this,r,e.get("alignWithLabel"));return(0,o.A)(r,function(t){return{coord:t.coord,tickValue:t.tick.value,onBand:a}})},t.prototype.getMinorTicksCoords=function(){if((0,i.i)(this.scale))return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,o.A)(e,function(t){return(0,o.A)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(t){return t=t||(0,i.$)(i.a0.determine),(0,i.Z)(this,t).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){return(0,i.c)(this,{min:1}).w},t.prototype.calculateCategoryInterval=function(t){return t=t||(0,i.$)(i.a0.determine),(0,i._)(this,t)},t}();function C(t){var e=t.getExtent();if(t.onBand){var n=(e[1]-e[0])/t.scale.count()/2;e[0]+=n,e[1]-=n}return e}function I(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=(0,o.ds)(t,e,n[0]);return null!=r?r+"":null}if(i){for(var a=[],s=0;s<n.length;s++)a.push((0,o.ds)(t,e,n[s]));return a.join(" ")}}function T(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,o.s)(e))return e+"";for(var i=[],r=0;r<n.length;r++){var a=t.getDimensionIndex(n[r]);a>=0&&i.push(e[a])}return i.join(" ")}var D=typeof Float32Array!==o.du?Float32Array:void 0,k=typeof Float64Array!==o.du?Float64Array:void 0;function L(t){return z({ctor:D},t).arr}function z(t,e){var n=t.arr,i=t.ctor;if(e>o.dt&&(e=o.dt),!n||t.typed&&n.length<e){var r=void 0;if(i)try{r=new i(e),t.typed=!0,n&&r.set(n)}catch(t){}if(!r&&(r=[],t.typed=!1,n))for(var a=0,s=n.length;a<s;a++)r[a]=n[a];t.arr=r}return t}function Z(t,e,n,i,r){var a=t.getArea(),s=a.x,l=a.y,u=a.width,c=a.height,d=n.get(["lineStyle","width"])||0;s-=d/2,l-=d/2,u+=d,c+=d,u=Math.ceil(u),s!==Math.floor(s)&&(s=Math.floor(s),u++);var h=new o.R({shape:{x:s,y:l,width:u,height:c}});if(e){var p=t.getBaseAxis(),g=p.isHorizontal(),f=p.inverse;g?(f&&(h.shape.x+=u),h.shape.width=0):(f||(h.shape.y+=c),h.shape.height=0);var v=(0,o.at)(r)?function(t){r(t,h)}:null;(0,o.v)(h,{shape:{width:u,height:c,x:s,y:l}},n,null,i,v)}return h}function B(t,e,n){var i=t.getArea(),r=(0,o.aZ)(i.r0,1),a=(0,o.aZ)(i.r,1),s=new o.D({shape:{cx:(0,o.aZ)(t.cx,1),cy:(0,o.aZ)(t.cy,1),r0:r,r:a,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&("angle"===t.getBaseAxis().dim?s.shape.endAngle=i.startAngle:s.shape.r=r,(0,o.v)(s,{shape:{endAngle:i.endAngle,r:a}},n)),s}function R(t,e,n,o,i){if(t){if("polar"===t.type)return B(t,e,n);else if("cartesian2d"===t.type)return Z(t,e,n,o,i)}return null}function P(t,e){return t.type===e}var E={average:function(t){for(var e=0,n=0,o=0;o<t.length;
1o++)!isNaN(t[o])&&(e+=t[o],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},N=function(t){return Math.round(t.length/2)};function O(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),a=t.coordinateSystem,s=i.count();if(s>10&&"cartesian2d"===a.type&&r){var l=a.getBaseAxis(),u=a.getOtherAxis(l),c=l.getExtent(),d=n.getDevicePixelRatio(),h=Math.round(s/(Math.abs(c[1]-c[0])*(d||1)));if(isFinite(h)&&h>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/h));var p=void 0;(0,o.aA)(r)?p=E[r]:(0,o.at)(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,p,N))}}}}}var V=function(t){function e(e,n,o,i,r){var a=t.call(this,e,n,o)||this;return a.index=0,a.type=i||"value",a.position=r||"bottom",a}return(0,o._)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(w),G={left:0,right:0,top:0,bottom:0},H="cartesian2d",F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o._)(e,t),e.prototype.mergeDefaultAndTheme=function(e,n){var i=(0,o.cS)(e.outerBounds);t.prototype.mergeDefaultAndTheme.apply(this,arguments),i&&e.outerBounds&&(0,o.al)(e.outerBounds,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&e.outerBounds&&(0,o.al)(this.option.outerBounds,e.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:G,outerBoundsContain:"all",outerBoundsClampWidth:"25%",outerBoundsClampHeight:"25%",backgroundColor:o.t.color.transparent,borderWidth:1,borderColor:o.t.color.neutral30},e}(o.aj),W=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o._)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",o.cf).models[0]},e.type="cartesian2dAxis",e}(o.aj);(0,o.dv)(W,u);var Y={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:"auto",onZeroAxisIndex:null,lineStyle:{color:o.t.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:o.t.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:o.t.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[o.t.color.backgroundTint,o.t.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:o.t.color.neutral00,borderColor:o.t.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},X=(0,o.ak)({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},Y),j=(0,o.ak)({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:o.t.color.axisMinorSplitLine,width:1}}},Y),U=(0,o.ak)({splitNumber:6,axisLabel:{rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},j),q=(0,o.aM)({logBase:10},j),K={category:X,value:j,time:U,log:q};function J(t,e,n,r){(0,o.g)(i.a2,function(a,s){var l=(0,o.ak)((0,o.ak)({},K[s],!0),r,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+s,n}return(0,o._)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,o.dw)(this),i=n?(0,o.cS)(t):{},r=e.getTheme();(0,o.ak)(t,r.get(s+"Axis")),(0,o.ak)(t,this.getDefaultOption()),t.type=Q(t),n&&(0,o.al)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=i.a1.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.prototype.updateAxisBreaks=function(t){return{breaks:[]}},n.type=e+"Axis."+s,n.defaultOption=l,n}(n);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",Q)}function Q(t){return t.type||(t.data?"category":"value")}var $=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return(0,o.A)(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),(0,o.ah)(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),tt=["x","y"];function te(t){return("interval"===t.type||"time"===t.type)&&!(0,o.c5)(t)}var tn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=H,e.dimensions=tt,e}return(0,o._)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(te(t)&&te(e)){var n=(0,i.a3)(t,null),r=(0,i.a3)(e,null),a=this.dataToPoint([n[0],r[0]]),s=this.dataToPoint([n[1],r[1]]),l=n[1]-n[0],u=r[1]-r[0];if(l&&u){var c=(s[0]-a[0])/l,d=(s[1]-a[1])/u,h=a[0]-n[0]*c,p=a[1]-r[0]*d,g=this._transform=[c,0,0,d,h,p];this._invTransform=(0,o.cb)([],g)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),a=new o.Y(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(a)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,o.c4)(n,t,this._transform);var a=this.getAxis("x"),s=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(i,e)),n[1]=s.toGlobalCoord(s.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,o=this.getAxis("y").scale,i=n.getExtent(),r=o.getExtent(),a=n.parse(t[0]),s=o.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},e.prototype.pointToData=function(t,e,n){if(n=n||[],this._invTransform)return(0,o.c4)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,a=Math.max(e[0],e[1])-i+t,s=Math.max(n[0],n[1])-r+t;return new o.Y(i,r,a,s)},e}($),to=[[3,1],[0,2]],ti=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=tt,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function r(t){for(var e=(0,o.a8)(t),n=[],r=e.length-1;r>=0;r--){var a=t[+e[r]];a.__alignTo?n.push(a):b(a)}(0,o.g)(n,function(t){var e,n;(e=t,n=t.__alignTo,(0,o.c5)(e.scale)||(0,o.c5)(n.scale)||n.scale.getTicks().length<2)?b(t):function(t,e){var n,r,a,s,l,u,c,d,h,p=t.scale,g=t.model,f=_(p,g,g.ecModel,t),v=(0,i.K)(p),m=(0,i.K)(e)?e.intervalStub:e,x=v?p.intervalStub:p,y=p.base,M=m.getTicks(),b=m.getTicks({expandToNicedExtent:!0}),A=M.length-1;if(1===A)n=r=0,a=1;else if(2===A){var S=(0,o.e)(M[0].value-M[1].value),w=(0,o.e)(M[1].value-M[2].value);n=r=0,S===w?a=2:(a=1,S<w?n=S/w:r=w/S)}else{var C=m.getConfig().interval;n=(1-(M[0].value-b[0].value)/C)%1,r=(1-(b[A].value-M[A].value)/C)%1,a=A-!!n-!!r}var I=f.zoomFixMM,T=I[0]||I[1],D=[f.fixMM[0]||T,f.fixMM[1]||T],k=p.getExtent(),L=x.getExtent(),z=(0,i.R)(L,D);function Z(t){for(var e=0;e<50&&!t();e++)u=v?u*(0,o.k)(y,2):(0,i.a4)(u),c=(0,i.T)(u)}function B(){s=(0,o.aZ)(h-u*n,c)}function R(){l=(0,o.aZ)(d+u*r,c)}function P(){h=n?(0,o.aZ)(s+u*n,c):s}function E(){d=r?(0,o.aZ)(l-u*r,c):l}if(D[0]&&D[1]){s=z[0],u=((l=z[1])-s)/(a+n+r);var N=t.getExtent(),O=(0,o.e)(N[1]-N[0]);c=(0,o.dx)([l,s],O,.5/a),P(),E(),(0,o.i)(c)&&(u=(0,o.aZ)(u,c))}else{var V=z[1]-z[0];u=v?(0,o.k)((0,o.dr)(V),1):(0,o.bj)(V/a,o.dy),c=(0,i.T)(u),D[0]?(s=z[0],Z(function(){if(P(),d=(0,o.aZ)(h+u*a,c),R(),l>=z[1])return!0})):D[1]?(l=z[1],Z(function(){if(E(),h=(0,o.aZ)(d-u*a,c),B(),s<=z[0])return!0})):Z(function(){h=(0,o.aZ)((0,o.dq)(z[0]/u)*u,c),d=(0,o.aZ)((0,o.dp)(z[1]/u)*u,c);var t=(0,o.a_)((d-h)/u);if(t<=a){var e=a-t,n=void 0,i=f.incl0||v;if(i&&0===z[0])n=[0,e];else if(i&&0===z[1])n=[e,0];else{var r=(0,o.dp)(e/2);n=e%2==0?[r,r]:s+l<z[0]+z[1]?[r,r+1]:[r+1,r]}if(h=(0,o.aZ)(h-u*n[0],c),d=(0,o.aZ)(d+u*n[1],c),B(),R(),s<=z[0]&&l>=z[1])return!0}})}(0,i.U)(p,D,L,[s,l],k,{interval:u,intervalCount:a,intervalPrecision:c,niceExtent:[h,d]})}(t,t.__alignTo.scale)})}(0,o.g)(this._axesList,function(t){v(t,1);var e=t.scale;(0,i.i)(e)&&e.setSortInfo(t.model.get("categorySortInfo"))}),r(n.x),r(n.y);var a={};(0,o.g)(n.x,function(t){tr(n,"y",t,a)}),(0,o.g)(n.y,function(t){tr(n,"x",t,a)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var r=(0,o.cL)(t,e),a=this._rect=(0,o.cH)(t.getBoxLayoutParams(),r.refContainer),s=this._axesMap,l=this._coordsList,u=t.get("containLabel");
1if(tl(s,a),!n){var c=(h=a,p=l,g=s,f=u,v=e,m=new i.aa(th),(0,o.g)(g,function(t){return(0,o.g)(t,function(t){(0,i.a8)(t.model)&&(t.axisBuilder=(0,i.a9)(h,p,t.model,v,m,!f))})}),m),d=void 0;if(u)d=tc(a.clone(),"axisLabel",null,a,s,c,r);else{var h,p,g,f,v,m,x,y,_,M,b,A,S=(x=t,y=a,_=r,"same"===(b=x.get("outerBoundsMode",!0))?M=y.clone():(null==b||"auto"===b)&&(M=(0,o.cH)(x.get("outerBounds",!0)||G,_.refContainer)),{outerBoundsRect:M,parsedOuterBoundsContain:null==(A=x.get("outerBoundsContain",!0))||"auto"===A||0>(0,o.ac)(["all","axisLabel"],A)?"all":A,outerBoundsClamp:[(0,o.dB)((0,o.as)(x.get("outerBoundsClampWidth",!0),"25%"),y.width),(0,o.dB)((0,o.as)(x.get("outerBoundsClampHeight",!0),"25%"),y.height)]}),w=S.outerBoundsRect,C=S.parsedOuterBoundsContain,I=S.outerBoundsClamp;w&&(d=tc(w,C,I,a,s,c,r))}td(a,s,i.a0.determine,null,d,r),(0,o.g)(this._coordsList,function(t){t.calcAffineTransform()})}},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,o.ay)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var o=this._findConvertTarget(e);return o.cartesian?o.cartesian.dataToPoint(n):o.axis?o.axis.toGlobalCoord(o.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var o=this._findConvertTarget(e);return o.cartesian?o.cartesian.pointToData(n):o.axis?o.axis.coordToData(o.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",o.cf).models[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis",o.cf).models[0],s=t.gridModel,l=this._coordsList;return i?(e=i.coordinateSystem,0>(0,o.ac)(l,e)&&(e=null)):r&&a?e=this.getCartesian(r.componentIndex,a.componentIndex):r?n=this.getAxis("x",r.componentIndex):a?n=this.getAxis("y",a.componentIndex):s&&s.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var r=this,a=this,s={left:!1,right:!1,top:!1,bottom:!1},l={x:{},y:{}},u={x:0,y:0};if(e.eachComponent("xAxis",c("x"),this),e.eachComponent("yAxis",c("y"),this),!u.x||!u.y){this._axesMap={},this._axesList=[];return}function c(e){return function(n,o){var r,c;if(r=n,c=t,r.getCoordSysModel()===c){var d=n.get("position");"x"===e?"top"!==d&&"bottom"!==d&&(d=s.bottom?"top":"bottom"):"left"!==d&&"right"!==d&&(d=s.left?"right":"left"),s[d]=!0;var h=(0,i.a5)(n),p=new V(e,(0,i.a6)(n,h),[0,0],h,d);p.onBand=(0,i.H)(p.scale,n),p.inverse=n.get("inverse"),n.axis=p,p.model=n,p.grid=a,p.index=o,a._axesList.push(p),l[e][o]=p,u[e]++}}}this._axesMap=l,(0,o.g)(l.x,function(e,n){(0,o.g)(l.y,function(o,i){var a="x"+n+"y"+i,s=new tn(a);s.master=r,s.model=t,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(e),s.addAxis(o)})}),ts(l.x),ts(l.y)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,o.g)(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(r);0>(0,o.ac)(e,r)&&e.push(r),0>(0,o.ac)(n,a)&&n.push(a)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var r=[];return e.eachComponent("grid",function(i,a){var s=new t(i,e,n);s.name="grid_"+a,s.resize(i,n,!0),i.coordinateSystem=s,r.push(s),(0,o.g)(s._axesList,function(e){var n;n=t.dimIdxMap,f(e).dimIdxInCoord=n.get(e.dim)})}),e.eachSeries(function(t){var e,n;(0,o.dz)({targetModel:t,coordSysType:H,coordSysProvider:function(){var o=(0,i.aj)(t),r=o.xAxisModel,a=o.yAxisModel;return e=r.axis,n=a.axis,r.getCoordSysModel().coordinateSystem.getCartesian(r.componentIndex,a.componentIndex)}}),e&&n&&((0,i.ak)(e,t,H),(0,i.ak)(n,t,H))},this),r},t.dimensions=tt,t.dimIdxMap=(0,i.a7)(tt),t}();function tr(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,a=t[e],s=n.model,l=s.get(["axisLine","onZero"]),u=s.get(["axisLine","onZeroAxisIndex"]);if(l){if(null!=u)ta(l,a[u])&&(r=a[u]);else for(var c in a)if((0,o.h)(a,c)&&ta(l,a[c])&&!i[d(a[c])]){r=a[c];break}r&&(i[d(r)]=!0)}function d(t){return t.dim+"_"+t.index}}function ta(t,e){if(!e)return!1;var n=e.scale,o=(0,i.ad)(n,0),r=e&&"category"!==e.type&&"time"!==e.type&&o!==i.af;return r&&"auto"===t&&(0,i.ae)(e)&&(r=!1),r}function ts(t){for(var e,n=(0,o.a8)(t),r=[],a=n.length-1;a>=0;a--){var s=t[+n[a]];(0,i.al)(s.scale)&&null==(0,i.am)(s.model)&&(s.model.get("alignTicks")&&null==s.model.get("interval")?r.push(s):e=s)}e||(e=r.pop()),e&&(0,o.g)(r,function(t){t.__alignTo=e})}function tl(t,e){(0,o.g)(t.x,function(t){return tu(t,e.x,e.width)}),(0,o.g)(t.y,function(t){return tu(t,e.y,e.height)})}function tu(t,e,n){var o,i,r=[0,n],a=+!!t.inverse;
1t.setExtent(r[a],r[1-a]),i=(o=t.getExtent())[0]+o[1],t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}function tc(t,e,n,r,a,s,l){td(r,a,i.a0.estimate,e,!1,l);var u=[0,0,0,0];d(0),d(1),h(r,0,NaN),h(r,1,NaN);var c=null==(0,o.dA)(u,function(t){return t>0});return(0,o.bW)(r,u,!0,!0,n),tl(a,r),c;function d(t){(0,o.g)(a[o.bY[t]],function(e){if((0,i.a8)(e.model)){var n=s.ensureRecord(e.model),o=n.labelInfoList;if(o)for(var r=0;r<o.length;r++){var a=o[r],l=e.scale.normalize((0,i.Y)(e.scale,(0,i.ab)(a.label).labelInfo.tick));l=1===t?1-l:l,h(a.rect,t,l),h(a.rect,1-t,NaN)}var u=n.nameLayout;if(u){var l=(0,i.ah)(n.nameLocation)?.5:NaN;h(u.rect,t,l),h(u.rect,1-t,NaN)}}})}function h(e,n,i){var r=t[o.bY[n]]-e[o.bY[n]],a=e[o.bZ[n]]+e[o.bY[n]]-(t[o.bZ[n]]+t[o.bY[n]]);r=p(r,1-i),a=p(a,i);var s=to[n][0],l=to[n][1];u[s]=(0,o.k)(u[s],r),u[l]=(0,o.k)(u[l],a)}function p(t,e){return t>0&&!(0,o.dj)(e)&&e>1e-4&&(t/=e),t}}function td(t,e,n,r,a,s){var l=n===i.a0.determine;(0,o.g)(e,function(e){return(0,o.g)(e,function(e){(0,i.a8)(e.model)&&((0,i.ac)(e.axisBuilder,t,e.model),e.axisBuilder.build(l?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:a}))})});var u={x:0,y:0};function c(e){u[o.bY[1-e]]=t[o.bZ[e]]<=.5*s.refContainer[o.bZ[e]]?0:1-e==1?2:1}c(0),c(1),(0,o.g)(e,function(t,e){return(0,o.g)(t,function(t){(0,i.a8)(t.model)&&(("all"===r||l)&&t.axisBuilder.build({axisName:!0},{nameMarginLevel:u[e]}),l&&t.axisBuilder.build({axisLine:!0}))})})}var th=function(t,e,n,r,a,s){var l="x"===n.axis.dim?"y":"x";(0,i.ag)(t,e,n,r,a,s),(0,i.ah)(t.nameLocation)||(0,o.g)(e.recordMap[l],function(t){t&&t.labelInfoList&&t.dirVec&&(0,i.ai)(t.labelInfoList,t.dirVec,r,a)})},tp=(0,o.U)(),tg=["splitArea","splitLine","minorSplitLine","breakArea"],tf=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,o._)(e,t),e.prototype.render=function(e,n,r,a){this.group.removeAll();var s=this._axisGroup;this._axisGroup=new o.G,this.group.add(this._axisGroup),(0,i.a8)(e)&&(this._axisGroup.add(e.axis.axisBuilder.group),(0,o.g)(tg,function(t){e.get([t,"show"])&&tv[t](this,this._axisGroup,e,e.getCoordSysModel(),r)},this),a&&"changeAxisOrder"===a.type&&a.isInitSort||(0,o.dC)(s,this._axisGroup,e),t.prototype.render.call(this,e,n,r,a))},e.prototype.remove=function(){tp(this).splitAreaColors=null},e.type="cartesianAxis",e}(i.an),tv={splitLine:function(t,e,n,i,r){var a=n.axis;if(!a.scale.isBlank()){var s=n.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=!1!==s.get("showMinLine"),d=!1!==s.get("showMaxLine");u=(0,o.s)(u)?u:[u];for(var h=i.coordinateSystem.getRect(),p=a.isHorizontal(),g=0,f=a.getTicksCoords({tickModel:s,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),v=[],m=[],x=l.getLineStyle(),y=0;y<f.length;y++){var _=a.toGlobalCoord(f[y].coord);if((0!==y||c)&&(y!==f.length-1||d)){var M=f[y].tickValue;p?(v[0]=_,v[1]=h.y,m[0]=_,m[1]=h.y+h.height):(v[0]=h.x,v[1]=_,m[0]=h.x+h.width,m[1]=_);var b=g++%u.length,A=new o.c6({anid:null!=M?"line_"+M:null,autoBatch:!0,shape:{x1:v[0],y1:v[1],x2:m[0],y2:m[1]},style:(0,o.aM)({stroke:u[b]},x),silent:!0});(0,o.c7)(A.shape,x.lineWidth),e.add(A)}}}},minorSplitLine:function(t,e,n,i,r){var a=n.axis,s=n.getModel("minorSplitLine").getModel("lineStyle"),l=i.coordinateSystem.getRect(),u=a.isHorizontal(),c=a.getMinorTicksCoords();if(c.length)for(var d=[],h=[],p=s.getLineStyle(),g=0;g<c.length;g++)for(var f=0;f<c[g].length;f++){var v=a.toGlobalCoord(c[g][f].coord);u?(d[0]=v,d[1]=l.y,h[0]=v,h[1]=l.y+l.height):(d[0]=l.x,d[1]=v,h[0]=l.x+l.width,h[1]=v);var m=new o.c6({anid:"minor_line_"+c[g][f].tickValue,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:h[0],y2:h[1]},style:p,silent:!0});(0,o.c7)(m.shape,p.lineWidth),e.add(m)}},splitArea:function(t,e,n,i,r){!function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var a=n.getModel("splitArea"),s=a.getModel("areaStyle"),l=s.get("color"),u=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(c.length){var d=l.length,h=tp(t).splitAreaColors,p=(0,o.c)(),g=0;if(h)for(var f=0;f<c.length;f++){var v=h.get(c[f].tickValue);if(null!=v){g=(v+(d-1)*f)%d;break}}var m=r.toGlobalCoord(c[0].coord),x=s.getAreaStyle();l=(0,o.s)(l)?l:[l];for(var f=1;f<c.length;f++){var y=r.toGlobalCoord(c[f].coord),_=void 0,M=void 0,b=void 0,A=void 0;r.isHorizontal()?(_=m,M=u.y,b=y-_,A=u.height,m=_+b):(_=u.x,M=m,b=u.width,A=y-M,m=M+A);var S=c[f-1].tickValue;null!=S&&p.set(S,g),e.add(new o.R({anid:null!=S?"area_"+S:null,shape:{x:_,y:M,width:b,height:A},style:(0,o.aM)({fill:l[g]},x),autoBatch:!0,silent:!0})),g=(g+1)%d}tp(t).splitAreaColors=p}}}(t,e,n,i)},breakArea:function(t,e,n,o,i){}},tm=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o._)(e,t),e.type="xAxis",e}(tf),tx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=tm.type,e}return(0,o._)(e,t),e.type="yAxis",e}(tf),ty=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,o._)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new o.R({shape:t.coordinateSystem.getRect(),style:(0,o.aM)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}
1))},e.type="grid",e}(o.aq),t_={offset:0};function tM(t){t.registerComponentView(ty),t.registerComponentModel(F),t.registerCoordinateSystem("cartesian2d",ti),J(t,"x",W,t_),J(t,"y",W,t_),t.registerComponentView(tm),t.registerComponentView(tx),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var tb=(0,o.U)();(0,o.bK)({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},o.aR);var tA={axisPointer:1,tooltip:1,brush:1},tS=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=(0,o.N)(n._mousedownHandler,n),r=(0,o.N)(n._mousemoveHandler,n),a=(0,o.N)(n._mouseupHandler,n),s=(0,o.N)(n._mousewheelHandler,n),l=(0,o.N)(n._pinchHandler,n);return n.enable=function(t,n){var u=n.zInfo,c=(0,o.dD)(u.component),d=c.z,h=c.zlevel,p={component:u.component,z:d,zlevel:h,z2:(0,o.as)(u.z2,-1/0)},g=(0,o.E)({},n.triggerInfo);this._opt=(0,o.aM)((0,o.E)({},n),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:p,triggerInfo:g,cursorGrab:"grab",cursorGrabbing:"grabbing"}),null==t&&(t=!0),this._enabled&&this._controlType===t||(this.disable(),this._enabled=!0,(!0===t||"move"===t||"pan"===t)&&(tT(e,"mousedown",i,p),tT(e,"mousemove",r,p),tT(e,"mouseup",a,p)),(!0===t||"scale"===t||"zoom"===t)&&(tT(e,"mousewheel",s,p),tT(e,"pinch",l,p)))},n.disable=function(){this._enabled&&(this._enabled=!1,tD(e,"mousedown",i),tD(e,"mousemove",r),tD(e,"mouseup",a),tD(e,"mousewheel",s),tD(e,"pinch",l))},n}return(0,o._)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype._checkPointer=function(t,e,n){var i=this._opt,r=i.zInfoParsed;
1if(function(t,e,n){var i=e.getComponentByElement(t.topTarget);if(!i||i===n||tA.hasOwnProperty(i.mainType))return!1;var r=i.coordinateSystem;if(!r||r.model===n)return!1;var a=(0,o.dD)(i),s=(0,o.dD)(n);return!(0>=(a.zlevel-s.zlevel||a.z-s.z))}(t,i.api,r.component))return!1;var a=i.triggerInfo,s=a.roamTrigger,l=!1;return"global"===s&&(l=!0),l||(l=a.isInSelf(t,e,n)),l&&a.isInClip&&!a.isInClip(t,e,n)&&(l=!1),l},e.prototype._decideCursorStyle=function(t,e,n,o){var i=t.target;return!i&&this._checkPointer(t,e,n)?this._opt.cursorGrab:o?i&&i.cursor||"default":void 0},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!((0,o.dE)(t)||tw(t))){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this._checkPointer(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var e=this._zr;if(!("pinch"===t.gestureEvent||tb(e).globalPan||tw(t))){var n=t.offsetX,i=t.offsetY;if(!this._dragging||!tL("moveOnMouseMove",t,this._opt)){var r=this._decideCursorStyle(t,n,i,!1);r&&e.setCursorStyle(r);return}e.setCursorStyle(this._opt.cursorGrabbing);var a=this._x,s=this._y,l=n-a,u=i-s;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&(0,o.ck)(t.event),t.__ecRoamConsumed=!0,tk(this,"pan","moveOnMouseMove",t,{dx:l,dy:u,oldX:a,oldY:s,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!tw(t)){var e=this._zr;if(!(0,o.dE)(t)){this._dragging=!1;var n=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);n&&e.setCursorStyle(n)}}},e.prototype._mousewheelHandler=function(t){if(!tw(t)){var e=tL("zoomOnMouseWheel",t,this._opt),n=tL("moveOnMouseWheel",t,this._opt),o=t.wheelDelta,i=Math.abs(o),r=t.offsetX,a=t.offsetY;if(0!==o&&(e||n)){if(e){var s=i>3?1.4:i>1?1.2:1.1;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:o>0?s:1/s,originX:r,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(o);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(o>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:r,originY:a,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!(tb(this._zr).globalPan||tw(t))){var e=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,e,n,i,r){t._checkPointer(i,r.originX,r.originY)&&((0,o.ck)(i.event),i.__ecRoamConsumed=!0,tk(t,e,n,i,r))},e}(o.cY);function tw(t){return t.__ecRoamConsumed}var tC=(0,o.U)();function tI(t){var e=tC(t);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function tT(t,e,n,o){for(var i,r,a,s=tI(t).roam,l=s[e]=s[e]||[],u=0;u<l.length;u++){var c=l[u].zInfoParsed;
1if(0>=(c.zlevel-o.zlevel||c.z-o.z||c.z2-o.z2))break}l.splice(u,0,{listener:n,zInfoParsed:o}),i=t,r=e,(a=tI(i)).uniform[r]||i.on(r,a.uniform[r]=function(t){var e=a.roam[r];if(e)for(var n=0;n<e.length;n++)e[n].listener(t)})}function tD(t,e,n){for(var o=tI(t).roam[e]||[],i=0;i<o.length;i++)if(o[i].listener===n){o.splice(i,1),o.length||function(t,e){var n=tI(t).uniform;n[e]&&(t.off(e,n[e]),n[e]=null)}(t,e);return}}function tk(t,e,n,i,r){r.isAvailableBehavior=(0,o.N)(tL,null,n,i),t.trigger(e,r)}function tL(t,e,n){var i=n[t];return!t||i&&(!(0,o.aA)(i)||e.event[i+"Key"])}function tz(t,e,n,i,r,a){t=t||0;var s,l=(0,o.dF)(n[1],-n[0]);if(null!=r&&(r=tB(r,[0,l])),null!=a&&(a=Math.max(a,null!=r?r:0)),"all"===i){var u=Math.abs((0,o.dF)(e[1],-e[0]));u=tB(u,[0,l]),r=a=tB(u,[r,a]),i=0}e[0]=tB(e[0],n),e[1]=tB(e[1],n);var c=tZ(e,i);e[i]+=t;var d=r||0,h=n.slice();return c.sign<0?h[0]=(0,o.dF)(h[0],d):h[1]=(0,o.dF)(h[1],-d),e[i]=tB(e[i],h),s=tZ(e,i),null!=r&&(s.sign!==c.sign||s.span<r)&&(e[1-i]=(0,o.dF)(e[i],c.sign*r)),s=tZ(e,i),null!=a&&s.span>a&&(e[1-i]=(0,o.dF)(e[i],s.sign*a)),e}function tZ(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function tB(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}function tR(t){(0,i.u)(tM),(0,i.u)(i.ao)}var tP=["x","y","radius","angle","single"],tE=(0,o.U)(),tN=["cartesian2d","polar","singleAxis"];function tO(t){return t+"Axis"}function tV(t){var e=t.ecModel,n={infoList:[],infoMap:(0,o.c)()};return t.eachTargetAxis(function(t,o){var i=e.getComponent(tO(t),o);if(i){var r=i.getCoordSysModel();if(r){var a=r.uid,s=n.infoMap.get(a);s||(s={model:r,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}}),n}function tG(t){var e=tE((0,o.bB)(t));return e.axisProxyMap||(e.axisProxyMap=(0,o.c)())}function tH(t){if(t)return tG(t.ecModel).get(t.uid)}function tF(t,e){var n=e.getAxisModel().axis.__alignTo;return n&&t.getAxisProxy(n.dim,n.model.componentIndex)?tH(n.model):null}var tW=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),tY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,o._)(e,t),e.prototype.init=function(t,e,n){var o=tX(t);this.settledOption=o,this.mergeDefaultAndTheme(t,n),this._doInit(o)},e.prototype.mergeOption=function(t){var e=tX(t);(0,o.ak)(this.option,t,!0),(0,o.ak)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,o.g)([["start","startValue"],["end","endValue"]],function(t,o){"value"===this._rangePropMode[o]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,o.c)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,o.g)(tP,function(n){var i=this.getReferringComponents(tO(n),o.dG);if(i.specified){e=!0;var r=new tW;(0,o.g)(i.models,function(t){r.add(t.componentIndex)}),t.set(n,r)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0,r="vertical"===e?"y":"x",a=n.findComponents({mainType:r+"Axis"});if(s(a,r),i){var a=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});s(a,"single")}function s(e,n){var r=e[0];if(r){var a=new tW;if(a.add(r.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var s=r.getReferringComponents("grid",o.cf).models[0];s&&(0,o.g)(e,function(t){r.componentIndex!==t.componentIndex&&s===t.getReferringComponents("grid",o.cf).models[0]&&a.add(t.componentIndex)})}}}i&&(0,o.g)(tP,function(e){if(i){var o=n.findComponents({mainType:tO(e),filter:function(t){return"category"===t.get("type",!0)}});if(o[0]){var r=new tW;r.add(o[0].componentIndex),t.set(e,r),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,o.g)([["start","startValue"],["end","endValue"]],function(o,i){var r=null!=t[o[0]],a=null!=t[o[1]];r&&!a?e[i]="percent":!r&&a?e[i]="value":n?e[i]=n[i]:r&&(e[i]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;
1return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(tO(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){(0,o.g)(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){return tH(this.getAxisModel(t,e))},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(tO(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,o.g)([["start","startValue"],["end","endValue"]],function(o){(null!=t[o[0]]||null!=t[o[1]])&&(e[o[0]]=n[o[0]]=t[o[0]],e[o[1]]=n[o[1]]=t[o[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,o.g)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getWindow().percent},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getWindow().value;var n=this.findRepresentativeAxisProxy();if(n)return n.getWindow().value},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return tH(t);for(var e,n=this._targetAxisInfoMap.keys(),o=0;o<n.length;o++)for(var i=n[o],r=this._targetAxisInfoMap.get(i),a=0;a<r.indexList.length;a++){var s=this.getAxisProxy(i,r.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(o.aj);function tX(t){var e={};return(0,o.g)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var tj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o._)(e,t),e.prototype.render=function(t,e,n,o){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(o.aq),tU=function(){function t(t,e,n,o){this._dimName=t,this._axisIndex=e,this.ecModel=o,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getWindow=function(){return(0,o.a3)(this._window)},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(n=e.get("coordinateSystem"),(0,o.ac)(tN,n)>=0){var n,i=tO(this._dimName),r=e.getReferringComponents(i,o.cf).models[0];r&&this._axisIndex===r.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return(0,o.a3)(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._extent,r=this.getAxisModel().axis,a=r.scale,s=this._dataZoomModel.getRangePropMode(),l=[0,100],u=[],c=[],d=[!1,!1];(0,o.g)(["start","end"],function(i,r){var h=t[i],p=t[i+"Value"];"percent"===s[r]?(null==h&&(h=l[r]),p=(0,o.a2)(h,l,n),d[r]=!0):(e=!0,null==p?p=n[r]:(p=a.parse(p),a.sanitize&&(p=a.sanitize(p,n))),h=(0,o.a2)(p,n,l)),c[r]=null==p||isNaN(p)?n[r]:p,u[r]=null==h||isNaN(h)?l[r]:h}),(0,o.a)(c),(0,o.a)(u);var h=this._minMaxSpan;function p(t,e,n,i,r){var a=r?"Span":"ValueSpan";tz(0,t,n,"all",h["min"+a],h["max"+a]);for(var s=0;s<2;s++)e[s]=(0,o.a2)(t[s],n,i,!0),r&&(e[s]=e[s],d[s]=!0);(0,o.dk)(e)}e?p(c,u,n,l,!1):p(u,c,l,n,!0);var g=(0,i.i)(a)||(0,i.M)(a),f=r.getExtent(),v=(0,o.e)(f[1]-f[0]),m=g?0:(0,o.dx)(c,v,.5);(0,o.g)([[0,o.dq],[1,o.dp]],function(t){var e=t[0],i=t[1];d[e]&&isFinite(m)&&(c[e]=(0,o.aZ)(c[e],m),c[e]=(0,o.j)(n[1],(0,o.k)(n[0],c[e])),u[e]===l[e]&&(c[e]=n[e],g&&(c[e]=i(c[e]))))}),(0,o.dk)(c);var x=[(0,o.a2)(c[0],n,l,!0),(0,o.a2)(c[1],n,l,!0)];return(0,o.dk)(x),{value:c,percent:u,percentInverted:x,valuePrecision:m}},t.prototype.reset=function(t,e){if(this.hostedBy(t)){var n=this.getAxisModel().axis;v(n,2);var i=n.scale.rawExtentInfo;this._extent=i.makeNoZoom(),this._updateMinMaxSpan();var r=t.settledOption;e&&(r=(0,o.aM)({start:e[0],end:e[1]},r));var a=this._window=this.calculateDataWindow(r),s=a.percent,l=a.value;0!==s[0]&&i.setZoomMM(0,l[0]),100!==s[1]&&i.setZoomMM(1,l[1])}},t.prototype.filterData=function(t,e){if(this.hostedBy(t)){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._window.value;"none"!==r&&(0,o.g)(i,function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var s=e.getStore(),l=(0,o.A)(i,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,o,r=0;r<i.length;r++){var u=s.get(l[r],t),c=!isNaN(u),d=u<a[0],h=u>a[1];if(c&&!d&&!h)return!0;c&&(o=!0),d&&(e=!0),h&&(n=!0)}return o&&e&&n})}else(0,o.g)(i,function(n){if("empty"===r)t.setData(e=e.map(n,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:NaN}
1));else{var o={};o[n]=a,e.selectRange(o)}});(0,o.g)(i,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._extent;(0,o.g)(["min","max"],function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=(0,o.a2)(n[0]+a,n,[0,100],!0):null!=r&&(a=(0,o.a2)(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a},this)},t}(),tq={dirtyOnOverallProgress:!0,getTargetSeries:function(t){var e,n=[];e=function(e,o,i,r){if(!tH(i)){var a=new tU(e,o,r,t);n.push(a),tG(i.ecModel).set(i.uid,a)}},t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(o,i){var r=t.getComponent(tO(o),i);e(o,i,r,n)})});var i=(0,o.c)();return(0,o.g)(n,function(t){(0,o.g)(t.getTargetSeriesModels(),function(t){i.set(t.uid,t)})}),i},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){var n=[];t.eachTargetAxis(function(e,o){var i=t.getAxisProxy(e,o),r=tF(t,i);r?n.push([i,r]):i.reset(t,null)}),(0,o.g)(n,function(e){e[0].reset(t,e[1].getWindow().percentInverted)}),t.eachTargetAxis(function(n,o){t.getAxisProxy(n,o).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getWindow(),o=n.percent,i=n.value;t.setCalculatedRange({start:o[0],end:o[1],startValue:i[0],endValue:i[1]})}})}},tK=(0,o.m)();function tJ(t){tK(t,function(){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,tq),t.registerAction("dataZoom",function(t,e){var n=function(t,e){var n,i=(0,o.c)(),r=[],a=(0,o.c)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do n=!1,t.eachComponent("dataZoom",s);while(n);function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,n){var o=i.get(t);o&&o[n]&&(e=!0)}),e)&&(l(t),n=!0)}function l(t){a.set(t.uid,!0),r.push(t),t.eachTargetAxis(function(t,e){(i.get(t)||i.set(t,[]))[e]=!0})}return r}(e,t);(0,o.g)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"})})}var tQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,o._)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:o.t.size.m,backgroundColor:o.t.color.transparent,borderColor:o.t.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:o.t.color.primary},subtextStyle:{fontSize:12,color:o.t.color.quaternary}},e}(o.aj),t$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o._)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),a=t.getModel("subtextStyle"),s=t.get("textAlign"),l=(0,o.as)(t.get("textBaseline"),t.get("textVerticalAlign")),u=new o.a4({style:(0,o.c3)(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),c=u.getBoundingRect(),d=t.get("subtext"),h=new o.a4({style:(0,o.c3)(a,{text:d,fill:a.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),g=t.get("sublink"),f=t.get("triggerEvent",!0);u.silent=!p&&!f,h.silent=!g&&!f,p&&u.on("click",function(){(0,o.dH)(p,"_"+t.get("target"))}),g&&h.on("click",function(){(0,o.dH)(g,"_"+t.get("subtarget"))}),(0,o.B)(u).eventData=(0,o.B)(h).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(u),d&&i.add(h);var v=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=v.width,m.height=v.height;var x=(0,o.cL)(t,n),y=(0,o.cH)(m,x.refContainer,t.get("padding"));s||("middle"===(s=t.get("left")||t.get("right"))&&(s="center"),"right"===s?y.x+=y.width:"center"===s&&(y.x+=y.width/2)),l||("center"===(l=t.get("top")||t.get("bottom"))&&(l="middle"),"bottom"===l?y.y+=y.height:"middle"===l&&(y.y+=y.height/2),l=l||"top"),i.x=y.x,i.y=y.y,i.markRedraw();var _={align:s,verticalAlign:l};
1u.setStyle(_),h.setStyle(_),v=i.getBoundingRect();var M=y.margin,b=t.getItemStyle(["color","opacity"]);b.fill=t.get("backgroundColor");var A=new o.R({shape:{x:v.x-M[3],y:v.y-M[0],width:v.width+M[1]+M[3],height:v.height+M[0]+M[2],r:t.get("borderRadius")},style:b,subPixelOptimize:!0,silent:!0});i.add(A)}},e.type="title",e}(o.aq);function t0(t){t.registerComponentModel(tQ),t.registerComponentView(t$)}var t1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o._)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,o.n)(tY.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(tY),t2=(0,o.U)();function t5(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function t3(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function t7(t,e,n,o){return t.coordinateSystem.containPoint([n,o])}var t4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,o._)(e,t),e.prototype.render=function(e,n,i){var r;if(t.prototype.render.apply(this,arguments),e.noTarget())return void this._clear();this.range=e.getPercentRange(),r={pan:(0,o.N)(t9.pan,this),zoom:(0,o.N)(t9.zoom,this),scrollMove:(0,o.N)(t9.scrollMove,this)},t2(i).coordSysRecordMap.each(function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=r)})},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=t2(t).coordSysRecordMap,o=n.keys(),i=0;i<o.length;i++){var r=o[i],a=n.get(r),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||t5(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(tj),t9={zoom:function(t,e,n,o){var i=this.range,r=i.slice(),a=t.axisModels[0];if(a){var s=t6[e](null,[o.originX,o.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(r[1]-r[0])+r[0],u=Math.max(1/o.scale,0);r[0]=(r[0]-l)*u+l,r[1]=(r[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();
1if(tz(0,r,[0,100],0,c.minSpan,c.maxSpan),this.range=r,i[0]!==r[0]||i[1]!==r[1])return r}},pan:t8(function(t,e,n,o,i,r){var a=t6[o]([r.oldX,r.oldY],[r.newX,r.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:t8(function(t,e,n,o,i,r){return t6[o]([0,0],[r.scrollDelta,r.scrollDelta],e,i,n).signal*(t[1]-t[0])*r.scrollDelta})};function t8(t){return function(e,n,o,i){var r=this.range,a=r.slice(),s=e.axisModels[0];if(s&&(tz(t(a,s,e,n,o,i),a,[0,100],"all"),this.range=a,r[0]!==a[0]||r[1]!==a[1]))return a}}var t6={grid:function(t,e,n,o,i){var r=n.axis,a={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=r.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=r.inverse?-1:1),a},polar:function(t,e,n,o,i){var r=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=r.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=r.inverse?-1:1),a},singleAxis:function(t,e,n,o,i){var r=n.axis,a=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=r.inverse?-1:1),s}};function et(t){tJ(t),t.registerComponentModel(t1),t.registerComponentView(t4),t.registerUpdateLifecycle("coordsys:aftercreate",function(t,e){var n=t2(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=(0,o.c)());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=tV(t);(0,o.g)(n.infoList,function(n){var r,a,s,l=n.model.uid,u=i.get(l)||i.set(l,(s=(a={model:r=n.model,containsPoint:(0,o.Q)(t7,r),dispatchAction:(0,o.Q)(t3,e),dataZoomInfoMap:null,controller:null}).controller=new tS(e.getZr()),(0,o.g)(["pan","zoom","scrollMove"],function(t){s.on(t,function(e){var n=[];a.dataZoomInfoMap.each(function(o){if(e.isAvailableBehavior(o.model.option)){var i=(o.getRange||{})[t],r=i&&i(o.dzReferCoordSysInfo,a.model.mainType,a.controller,e);!o.model.get("disabled",!0)&&r&&n.push({dataZoomId:o.model.id,start:r[0],end:r[1]})}}),n.length&&a.dispatchAction(n)})}),a));(u.dataZoomInfoMap||(u.dataZoomInfoMap=(0,o.c)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var n,r,a,s,l,u,c,d=t.controller,h=t.dataZoomInfoMap;if(h){var p=h.keys()[0];null!=p&&(c=h.get(p))}if(!c)return void t5(i,t);var g=(s="type_",l={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0,h.each(function(t){var e=t.model,i=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");l[s+i]>l[s+n]&&(n=i),u=u&&e.get("preventDefaultMouseMove",!0),r=(0,o.as)(e.get("cursorGrab",!0),r),a=(0,o.as)(e.get("cursorGrabbing",!0),a)}),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u,api:e,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint},cursorGrab:r,cursorGrabbing:a}});d.enable(g.controlType,g.opt),(0,o.ci)(t,"dispatchAction",c.model.get("throttle",!0),"fixRate")})})}var ee=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o._)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,o.n)(tY.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:o.t.color.accent10,borderRadius:0,backgroundColor:o.t.color.transparent,dataBackground:{lineStyle:{color:o.t.color.accent30,width:.5},areaStyle:{color:o.t.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:o.t.color.accent40,width:.5},areaStyle:{color:o.t.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:o.t.color.
1neutral00,borderColor:o.t.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:o.t.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:o.t.color.tertiary},brushSelect:!0,brushStyle:{color:o.t.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:o.t.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e}(tY),en=o.R,eo="horizontal",ei="vertical",er=["line","bar","candlestick","scatter"],ea={easing:"cubicOut",duration:100,delay:0},es=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return(0,o._)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=(0,o.N)(this._onBrush,this),this._onBrushEnd=(0,o.N)(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),(0,o.ci)(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show"))return void this.group.removeAll();if(e.noTarget()){this._clear(),this.group.removeAll();return}r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){(0,o.cj)(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new o.G;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=(0,o.cL)(t,e).refContainer,r=this._findCoordRect(),a=t.get("defaultLocationEdgeGap",!0)||0,s=this._orient===eo?{right:i.width-r.x-r.width,top:i.height-30-a-7*!!n,width:r.width,height:30}:{right:a,top:r.y,width:30,height:r.height},l=(0,o.cS)(t.option);(0,o.g)(["right","top","width","height"],function(t){"ph"===l[t]&&(l[t]=s[t])});var u=(0,o.cH)(l,i);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===ei&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,o=this.dataZoomModel.getFirstTargetAxisModel(),i=o&&o.get("inverse"),r=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(n!==eo||i?n===eo&&i?{scaleY:a?1:-1,scaleX:-1}:n!==ei||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([r]),l=isNaN(s.x)?0:s.x,u=isNaN(s.y)?0:s.y;t.x=e.x-l,t.y=e.y-u,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new en({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new en({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:(0,o.N)(this._onClickPanel,this)}),a=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),a=i.getShadowDim&&i.getShadowDim(),s=a&&r.getDimensionInfo(a)?i.getShadowDim():t.otherDim;if(null!=s){var l=this._shadowPolygonPts,u=this._shadowPolylinePts;if(r!==this._shadowData||s!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var c,d=r.getDataExtent(t.thisDim),h=r.getDataExtent(s),p=(h[1]-h[0])*.3;h=[h[0]-p,h[1]+p];var g=[0,e[1]],f=[0,e[0]],v=[[e[0],0],[0,0]],m=[],x=f[1]/Math.max(1,r.count()-1),y=e[0]/(d[1]-d[0]),_="time"===t.thisAxis.t
1ype,M=-x,b=Math.round(r.count()/e[0]);r.each([t.thisDim,s],function(t,e,n){if(b>0&&n%b){_||(M+=x);return}M=_?(t-d[0])*y:M+x;var i=null==e||isNaN(e)||""===e,r=i?0:(0,o.a2)(e,h,g,!0);i&&!c&&n?(v.push([v[v.length-1][0],0]),m.push([m[m.length-1][0],0])):!i&&c&&(v.push([M,0]),m.push([M,0])),i||(v.push([M,r]),m.push([M,r])),c=i}),l=this._shadowPolygonPts=v,u=this._shadowPolylinePts=m}this._shadowData=r,this._shadowDim=s,this._shadowSize=[e[0],e[1]];for(var A=this.dataZoomModel,S=0;S<3;S++){var w=function(t){var e=A.getModel(t?"selectedDataBackground":"dataBackground"),n=new o.G,i=new o.dL({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new o.a5({shape:{points:u},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}(1===S);this._displayables.sliderGroup.add(w),this._displayables.dataShadowSegs.push(w)}}}},e.prototype._prepareDataShadowInfo=function(){var t,e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i=this.ecModel;return e.eachTargetAxis(function(r,a){var s=e.getAxisProxy(r,a).getTargetSeriesModels();(0,o.g)(s,function(e){if(!t&&!(!0!==n&&0>(0,o.ac)(er,e.get("type")))){var s,l=i.getComponent(tO(r),a).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[r],c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u);var d=e.getData().mapDimension(r);t={thisAxis:l,series:e,thisDim:d,otherDim:u,otherAxisInverse:s}}},this)},this),t}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,a=this._size,s=this.dataZoomModel,l=this.api,u=s.get("borderRadius")||0,c=s.get("brushSelect"),d=e.filler=new en({silent:c,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});r.add(d),r.add(new en({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:u},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:o.t.color.transparent}})),(0,o.g)([0,1],function(e){var a=s.get("handleIcon");!o.dI[a]&&0>a.indexOf("path://")&&0>a.indexOf("image://")&&(a="path://"+a);var l=(0,o.c9)(a,-1,0,2,2,null,!0);l.attr({cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:(0,o.N)(this._onDragMove,this,e),ondragend:(0,o.N)(this._onDragEnd,this),onmouseover:(0,o.N)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,o.N)(this._onOverDataInfoTriggerArea,this,!1),z2:5});var u=l.getBoundingRect(),c=s.get("handleSize");this._handleHeight=(0,o.f)(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,l.setStyle(s.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,o.cO)(l);var d=s.get("handleColor");null!=d&&(l.style.fill=d),r.add(n[e]=l);var h=s.getModel("textStyle"),p=(s.get("handleLabel")||{}).show||!1;t.add(i[e]=new o.a4({silent:!0,invisible:!p,style:(0,o.c3)(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))},this);var h=d;if(c){var p=(0,o.f)(s.get("moveHandleSize"),a[1]),g=e.moveHandle=new o.R({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:p}}),f=.8*p,v=e.moveHandleIcon=(0,o.c9)(s.get("moveHandleIcon"),-f/2,-f/2,f,f,o.t.color.neutral00,!0);v.silent=!0,v.y=a[1]+p/2-.5,g.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(a[1]/2,Math.max(p,10));(h=e.moveZone=new o.R({invisible:!0,shape:{y:a[1]-m,height:p+m}})).on("mouseover",function(){l.enterEmphasis(g)}).on("mouseout",function(){l.leaveEmphasis(g)}),r.add(g),r.add(v),r.add(h)}h.attr({draggable:!0,cursor:"grab",drift:(0,o.N)(this._onActualMoveZoneDrift,this),ondragstart:(0,o.N)(this._onActualMoveZoneDragStart,this),ondragend:(0,o.N)(this._onActualMoveZoneDragEnd,this),onmouseover:(0,o.N)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,o.N)(this._onOverDataInfoTriggerArea,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,o.a2)(t[0],[0,100],e,!0),(0,o.a2)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];tz(e,i,r,n.get("zoomLock")?"all":t,null!=a.minSpan?(0,o.a2)(a.minSpan,s,r,!0):null,null!=a.maxSpan?(0,o.a2)(a.maxSpan,s,r,!0):null);var l=this._range,u=this._range=(0,o.a)([(0,o.a2)(i[0],r,s,!0),(0,o.a2)(i[1],r,s,!0)]);return!l||l[0]!==u[0]||l[1]!==u[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=(0,o.a)(n.slice()),r=this._size;(0,o.g)([0,1],function(t){var o=e.handles[t],i=this._handleHeight;o.attr({scaleX:i/2,scaleY:i/2,x:n[t]+(t?-1:1),y:r[1]/2-i/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var a={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(a),e.moveZone.setShape(a),e.moveZone.getBoundingRect
1(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",a.x+a.width/2));for(var s=e.dataShadowSegs,l=[0,i[0],i[1],r[0]],u=0;u<s.length;u++){var c=s[u],d=c.getClipPath();d||(d=new o.R,c.setClipPath(d)),d.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy(),l=s.getAxisModel().axis.scale;if(s){var u,c=this._range;if(t){var d={start:c[0],end:c[1]},h=tF(e,s);if(h){var p=h.calculateDataWindow(d).percentInverted;d={start:p[0],end:p[1]}}u=s.calculateDataWindow(d)}else u=s.getWindow();a=[el(e,0,u,l),el(e,1,u,l)]}}var g=(0,o.a)(this._handleEnds.slice());function f(t){var e=(0,o.dJ)(n.handles[t].parent,this.group),s=(0,o.dK)(0===t?"right":"left",e),l=this._handleWidth/2+5,u=(0,o.cm)([g[t]+(0===t?-l:l),this._size[1]/2],e);i[t].setStyle({x:u[0],y:u[1],verticalAlign:r===eo?"middle":s,align:r===eo?s:"center",text:a[t]})}f.call(this,0),f.call(this,1)},e.prototype._onOverDataInfoTriggerArea=function(t){this._isOverDataInfoTriggerArea=t,this._showDataInfo(t)},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,o=t||this._dragging?n:e,i=this._displayables,r=i.handleLabels;r[0].attr("invisible",!o),r[1].attr("invisible",!o),i.moveHandle&&this.api[o?"enterEmphasis":"leaveEmphasis"](i.moveHandle,1)},e.prototype._onActualMoveZoneDrift=function(t,e,n){this.api.getZr().setCursorStyle("grabbing"),this._onDragMove("all",t,e,n)},e.prototype._onActualMoveZoneDragStart=function(t){t.target.attr("cursor","grabbing"),this._showDataInfo(!0)},e.prototype._onActualMoveZoneDragEnd=function(t){t.target.attr("cursor","grab"),this._onDragEnd()},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,(0,o.ck)(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),a=(0,o.cm)([e,n],r,!0),s=this._updateInterval(t,a[0]),l=this.dataZoomModel.get("realtime");this._updateView(!l),s&&l&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._isOverDataInfoTriggerArea||this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0)&&!(n[0]>e[0])&&!(n[1]<0)&&!(n[1]>e[1])){var o=this._handleEnds,i=(o[0]+o[1])/2,r=this._updateInterval("all",n[0]-i);this._updateView(),r&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new o.Z(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(new Date-this._brushStartTime<200&&5>Math.abs(n.width))){var i=this._getViewExtent(),r=[0,100],a=this._handleEnds=[n.x,n.x+n.width],s=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();tz(0,a,i,0,null!=s.minSpan?(0,o.a2)(s.minSpan,r,i,!0):null,null!=s.maxSpan?(0,o.a2)(s.maxSpan,r,i,!0):null),this._range=(0,o.a)([(0,o.a2)(a[0],i,r,!0),(0,o.a2)(a[1],i,r,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&((0,o.ck)(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,o=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new en({silent:!0,style:o.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var r=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(r.x,r.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?ea:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=tV(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var o=this.api.getWidth(),i=this.api.getHeight();t={x:.2*o,y:.2*i,width:.6*o,height:.6*i}}return t},e.type="dataZoom.slider",e}(tj);function el(t,e,n,r){var a=t.get("labelFormatter"),s=t.get("labelPrecision");(null==s||"auto"===s)&&(s=n.valuePrecision);var l=n.value[e],u=null==l||isNaN(l)?"":(0,i.i)(r)||(0,i.M)(r)?r.getLabel({value:Math.round(l)}):isFinite(s)?(0,o.aZ)(l,s,!0):l+"";return(0,o.at)(a)?a(l,u):(0,o.aA)(a)?a.replace("{value}",u):u}function eu(t){t.registerComponentModel(ee),t.registerComponentView(es),tJ(t)}function ec(t){(0,i.u)(et),(0,i.u)(eu)}var ed={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},eh=function(){function t(t){null==(this._condVal=(0,o.aA)(t)?new RegExp(t):(0,o.dO)(t)?t:null)&&(0,o.cx)("")}return t.prototype.evaluate=function(t){var e=typeof t;return(0,o.aA)(e)?this._condVal.test(t):!!(0,o.q)(e)&&this._condVal.test(t+"")},t}(),ep=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),eg=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),ef=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),ev=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),em=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,o=0;o<this.subCondList.length;o++)if(!this.subCondList[o].evaluate(t?n:e))return!1;return!0},t}();function ex(t,e){if(!0===t||!1===t){var n,i,r,a,s=new ep;return s.value=t,s}if(e_(t)||(0,o.cx)(""),t.and)return ey("and",t,e);if(t.or)return ey("or",t,e);if(t.not){return n=t,i=e,e_(r=n.not)||(0,o.cx)(""),(a=new ev).child=ex(r,i),a.child||(0,o.cx)(""),a}return function(t,e){for(var n=e.prepareGetValue(t),i=[],r=(0,o.a8)(t),a=t.parser,s=a?(0,o.dM)(a):null,l=0;l<r.length;l++){var u=r[l];if(!("parser"===u||e.valueGetterAttrMap.get(u))){var c=(0,o.h)(ed,u)?ed[u]:u,d=t[u],h=s?s(d):d,p=(0,o.dN)(c,h)||"reg"===c&&new eh(h);p||(0,o.cx)(""),i.push(p)}}i.length||(0,o.cx)("");var g=new em;return g.valueGetterParam=n,g.valueParser=s,g.getValue=e.getValue,g.subCondList=i,g}(t,e)}function ey(t,e,n){var i=e[t];(0,o.s)(i)||(0,o.cx)(""),i.length||(0,o.cx)("");var r="and"===t?new eg:new ef;return r.children=(0,o.A)(i,function(t){return ex(t,n)}),r.children.length||(0,o.cx)(""),r}function e_(t){return(0,o.ay)(t)&&!(0,o.af)(t)}var eM=function(){function t(t,e){this._cond=ex(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}(),eb={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,i=new eM(t.config,{valueGetterAttrMap:(0,o.c)({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;(0,o.h)(t,"dimension")||(0,o.cx)("");var i=n.getDimensionInfo(e);
1return i||(0,o.cx)(""),{dimIdx:i.index}},getValue:function(t){return n.retrieveValueFromItem(e,t.dimIdx)}}),r=[],a=0,s=n.count();a<s;a++)e=n.getRawDataItem(a),i.evaluate()&&r.push(e);return{data:r}}},eA={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i=(0,o.ab)(n);i.length||(0,o.cx)("");var r=[];(0,o.g)(i,function(t){var n=t.dimension,i=t.order,a=t.parser,s=t.incomparable;null==n&&(0,o.cx)(""),"asc"!==i&&"desc"!==i&&(0,o.cx)(""),s&&"min"!==s&&"max"!==s&&(0,o.cx)(""),"asc"!==i&&"desc"!==i&&(0,o.cx)("");var l=e.getDimensionInfo(n);l||(0,o.cx)("");var u=a?(0,o.dM)(a):null;a&&!u&&(0,o.cx)(""),r.push({dimIdx:l.index,parser:u,comparator:new o.dP(i,s)})});var a=e.sourceFormat;a!==o.dQ&&a!==o.dR&&(0,o.cx)("");for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort(function(t,n){for(var o=0;o<r.length;o++){var i=r[o],a=e.retrieveValueFromItem(t,i.dimIdx),s=e.retrieveValueFromItem(n,i.dimIdx);i.parser&&(a=i.parser(a),s=i.parser(s));var l=i.comparator.evaluate(a,s);if(0!==l)return l}return 0}),{data:s}}};function eS(t){t.registerTransform(eb),t.registerTransform(eA)}var ew=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,o._)(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new o.dS(this),(0,o.dT)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),(0,o.dT)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:o.dU},e}(o.aj),eC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,o._)(e,t),e.type="dataset",e}(o.aq);function eI(t){t.registerComponentModel(ew),t.registerComponentView(eC)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.