(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4347d540"],{"007d":function(t,e,n){"use strict";n.r(e);var r=n("22b4"),i=n("2da7");Object(r["a"])(i["a"])},"0156":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n("6d8b"),i=n("e0d3");function o(t,e,n){n=n||{};var i=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],u=o.position,c=s?"onZero":u,l=o.dim,h=i.getRect(),f=[h.x,h.x+h.width,h.y,h.y+h.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===l?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===l?g[d[c]]:f[0],"x"===l?g[d[c]]:f[3]],a.rotation=Math.PI/2*("x"===l?0:1);var y={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=y[u],a.labelOffset=s?g[d[u]]-g[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),r["retrieve"](n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var m=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===c?-m:m,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return r["each"](e,(function(n,r){var o=r.replace(/Model$/,""),a=t.getReferringComponents(o,i["b"]).models[0];e[r]=a})),e}},"04f6":function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=32,i=7;function o(t){var e=0;while(t>=r)e|=1&t,t>>=1;return t+e}function a(t,e,n,r){var i=e+1;if(i===n)return 1;if(r(t[i++],t[e])<0){while(i=0)i++;return i-e}function s(t,e,n){n--;while(e>>1,i(a,t[o])<0?u=o:s=o+1;var c=r-s;switch(c){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(c>0)t[s+c]=t[s+c-1],c--}t[s]=a}}function c(t,e,n,r,i,o){var a=0,s=0,u=1;if(o(t,e[n+i])>0){s=r-i;while(u0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}else{s=i+1;while(us&&(u=s);var c=a;a=i-u,u=i-c}a++;while(a>>1);o(t,e[n+l])>0?a=l+1:u=l}return u}function l(t,e,n,r,i,o){var a=0,s=0,u=1;if(o(t,e[n+i])<0){s=i+1;while(us&&(u=s);var c=a;a=i-u,u=i-c}else{s=r-i;while(u=0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}a++;while(a>>1);o(t,e[n+l])<0?u=l:a=l+1}return u}function h(t,e){var n,r,o=i,a=0,s=0;a=t.length;var u=[];function h(t,e){n[s]=t,r[s]=e,s+=1}function f(){while(s>1){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;p(t)}}function d(){while(s>1){var t=s-2;t>0&&r[t-1]=i||v>=i);if(y)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===r){for(h=0;h=0;h--)t[v+h]=t[g+h];if(0===r){_=!0;break}}if(t[p--]=u[d--],1===--s){_=!0;break}if(b=s-c(t[f],u,0,s,s-1,e),0!==b){for(p-=b,d-=b,s-=b,v=p+1,g=d+1,h=0;h=i||b>=i);if(_)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===s){for(p-=r,f-=r,v=p+1,g=f+1,h=r-1;h>=0;h--)t[v+h]=t[g+h];t[p]=u[d]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h=0;h--)t[v+h]=t[g+h];t[p]=u[d]}else for(g=p-(s-1),h=0;hf&&(d=f),u(t,n,n+d,n+c,e),c=d}l.pushRun(n,c),l.mergeRuns(),s-=c,n+=c}while(0!==s);l.forceMergeRuns()}}},"04f7":function(t,e,n){"use strict";n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return m}));var r=n("07fd"),i=n("e0d3"),o=n("6d8b"),a=n("2b17"),s=n("b7d9"),u=n("edae"),c=n("ec6f"),l=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Object(s["d"])(t,e)},t}();function h(t,e){var n=new l,i=t.data,s=n.sourceFormat=t.sourceFormat,c=t.startIndex,h="";t.seriesLayoutBy!==r["a"]&&Object(u["c"])(h);var v=[],y={},m=t.dimensionsDefine;if(m)Object(o["each"])(m,(function(t,e){var n=t.name,r={index:e,name:n,displayName:t.displayName};if(v.push(r),null!=n){var i="";Object(o["hasOwn"])(y,n)&&Object(u["c"])(i),y[n]=r}}));else for(var b=0;br?e:t,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;sa;if(s)r.length=a;else for(var u=o;u=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var r=this.keyframes,s=r.length,u=!1,h=C,f=e;if(Object(o["isArrayLike"])(e)){var d=x(e);h=d,(1===d&&!Object(o["isNumber"])(e[0])||2===d&&!Object(o["isNumber"])(e[0][0]))&&(u=!0)}else if(Object(o["isNumber"])(e)&&!Object(o["eqNaN"])(e))h=O;else if(Object(o["isString"])(e))if(isNaN(+e)){var p=c["parse"](e);p&&(f=p,h=j)}else h=O;else if(Object(o["isGradientObject"])(e)){var g=Object(o["extend"])({},f);g.colorStops=Object(o["map"])(e.colorStops,(function(t){return{offset:t.offset,color:c["parse"](t.color)}})),Object(l["m"])(e)?h=M:Object(l["o"])(e)&&(h=T),f=g}0===s?this.valType=h:h===this.valType&&h!==C||(u=!0),this.discrete=this.discrete||u;var v={time:t,value:f,rawValue:e,percent:0};return n&&(v.easing=n,v.easingFunc=Object(o["isFunction"])(n)?n:i[n]||Object(a["a"])(n)),r.push(v),v},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=I(r),u=k(r),c=0;c=0;n--)if(c[n].percent<=e)break;n=y(n,l-2)}else{for(n=v;ne)break;n=y(n-1,l-2)}i=c[n+1],r=c[n]}if(r&&i){this._lastFr=n,this._lastFrP=e;var b=i.percent-r.percent,x=0===b?1:y((e-r.percent)/b,1);i.easingFunc&&(x=i.easingFunc(x));var O=a?this._additiveValue:g?D:t[h];if(!I(u)&&!g||O||(O=this._additiveValue=[]),this.discrete)t[h]=x<1?r.rawValue:i.rawValue;else if(I(u))u===w?d(O,r[s],i[s],x):p(O,r[s],i[s],x);else if(k(u)){var S=r[s],T=i[s],C=u===M;t[h]={type:C?"linear":"radial",x:f(S.x,T.x,x),y:f(S.y,T.y,x),colorStops:Object(o["map"])(S.colorStops,(function(t,e){var n=T.colorStops[e];return{offset:f(t.offset,n.offset,x),color:_(d([],t.color,n.color,x))}})),global:T.global},C?(t[h].x2=f(S.x2,T.x2,x),t[h].y2=f(S.y2,T.y2,x)):t[h].r=f(S.r,T.r,x)}else if(g)d(O,r[s],i[s],x),a||(t[h]=_(O));else{var A=f(r[s],i[s],x);a?this._additiveValue=A:t[h]=A}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,r=this._additiveValue;e===O?t[n]=t[n]+r:e===j?(c["parse"](t[n],D),g(D,D,r,1),t[n]=_(D)):e===w?g(t[n],t[n],r,1):e===S&&v(t[n],t[n],r,1)},t}(),P=function(){function t(t,e,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?Object(o["logError"])("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Object(o["keys"])(e),n)},t.prototype.whenWithKeys=function(t,e,n,r){for(var i=this._tracks,o=0;o0&&s.addKeyframe(0,b(u),r),this._trackKeys.push(a)}s.addKeyframe(t,b(e[a]),r)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i1){var s=a.pop();i.addKeyframe(s.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}();e["b"]=P},"07fd":function(t,e,n){"use strict";n.d(e,"i",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return l})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return f}));var r=n("6d8b"),i=Object(r["createHashMap"])(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",u="keyedColumns",c="typedArray",l="unknown",h="column",f="row"},"0924":function(t,e,n){"use strict";function r(t,e,n){switch(n){case"color":var r=t.getItemVisual(e,"style");return r[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function i(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}function o(t,e,n,r){switch(n){case"color":var i=t.ensureUniqueItemVisual(e,"style");i[t.getVisual("drawType")]=r,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,r);break;default:0}}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o}))},"0da8":function(t,e,n){"use strict";var r=n("9ab4"),i=n("19eb"),o=n("9850"),a=n("6d8b"),s=Object(a["defaults"])({x:0,y:0},i["b"]),u={style:Object(a["defaults"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i["a"].style)};function c(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["a"])(e,t),e.prototype.createStyle=function(t){return Object(a["createObject"])(s,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var r=c(e.image)?e.image:this.__image;if(!r)return 0;var i="width"===t?"height":"width",o=e[i];return null==o?r[t]:r[t]/r[i]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return u},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o["a"](t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i["c"]);l.prototype.type="image",e["a"]=l},"0f99":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return l})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"b",(function(){return d}));var r=n("e0d3"),i=n("6d8b"),o=n("07fd"),a={Must:1,Might:2,Not:3},s=Object(r["o"])();function u(t){s(t).datasetMap=Object(i["createHashMap"])()}function c(t,e,n){var r={},o=h(e);if(!o||!t)return r;var a,u,c=[],l=[],f=e.ecModel,d=s(f).datasetMap,p=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),Object(i["each"])(t,(function(e,n){var o=Object(i["isObject"])(e)?e:t[n]={name:e};"ordinal"===o.type&&null==a&&(a=n,u=y(o)),r[o.name]=[]}));var g=d.get(p)||d.set(p,{categoryWayDim:u,valueWayDim:0});function v(t,e,n){for(var r=0;r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(i["a"]);i["a"].registerClass(u),e["a"]=u},"19eb":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l}));var r=n("9ab4"),i=n("d5b7"),o=n("9850"),a=n("6d8b"),s=n("4bc4"),u="__zr_style_"+Math.round(10*Math.random()),c={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},l={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};c[u]=!0;var h=["z","z2","invisible"],f=["invisible"],d=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype._init=function(e){for(var n=Object(a["keys"])(e),r=0;r=0;a--)r[a]&&!c["l"](r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,t[n]=r}})),delete t[O],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var r=n[e||0];if(r)return r;if(null==e)for(var i=0;i=e:"max"===n?t<=e:t===e}function F(t,e){return t.join(",")===e.join(",")}var H=E,V=o["each"],W=o["isObject"],U=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function G(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=U.length;n=0;g--){var v=t[g];if(s||(f=v.data.rawIndexOf(v.stackedByDimension,h)),f>=0){var y=v.data.getByRawIndex(v.stackResultDimension,f);if("all"===u||"positive"===u&&y>0||"negative"===u&&y<0||"samesign"===u&&d>=0&&y>0||"samesign"===u&&d<=0&&y<0){d=Object(ft["b"])(d,y),p=y;break}}}return r[0]=d,r[1]=p,r}))}))}var gt=n("4f85"),vt=n("b12f"),yt=n("e887"),mt=n("c7a2"),bt=n("0da8"),_t=n("deca"),xt=n("cbe5"),Ot=n("861c"),wt=n("7d6c"),St=n("88b3"),jt=n("282b"),Mt=n("551f"),Tt=n("3901"),Ct=Object(c["o"])(),kt={itemStyle:Object(jt["a"])(Mt["a"],!0),lineStyle:Object(jt["a"])(Tt["a"],!0)},It={lineStyle:"stroke",itemStyle:"fill"};function Dt(t,e){var n=t.visualStyleMapper||kt[e];return n||(console.warn("Unknown style type '"+e+"'."),kt.itemStyle)}function At(t,e){var n=t.visualDrawType||It[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Pt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),a=Dt(t,r),s=a(i),u=i.getShallow("decal");u&&(n.setVisual("decal",u),u.dirty=!0);var c=At(t,r),l=s[c],h=Object(o["isFunction"])(l)?l:null,f="auto"===s.fill||"auto"===s.stroke;if(!s[c]||h||f){var d=t.getColorFromPalette(t.name,null,e.getSeriesCount());s[c]||(s[c]=d,n.setVisual("colorFromPalette",!0)),s.fill="auto"===s.fill||Object(o["isFunction"])(s.fill)?d:s.fill,s.stroke="auto"===s.stroke||Object(o["isFunction"])(s.stroke)?d:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",c),!e.isSeriesFiltered(t)&&h)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var r=t.getDataParams(n),i=Object(o["extend"])({},s);i[c]=h(r),e.setItemVisual(n,"style",i)}}}},Lt=new l["a"],Rt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=Dt(t,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){Lt.option=n[r];var s=i(Lt),u=t.ensureUniqueItemVisual(e,"style");Object(o["extend"])(u,s),Lt.option.decal&&(t.setItemVisual(e,"decal",Lt.option.decal),Lt.option.decal.dirty=!0),a in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Et={performRawSeries:!0,overallReset:function(t){var e=Object(o["createHashMap"])();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var r=t.type+"-"+n,i=e.get(r);i||(i={},e.set(r,i)),Ct(t).scope=i}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),r={},i=e.getData(),o=Ct(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=At(e,a);i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(t){var a=r[t],u=i.getItemVisual(a,"colorFromPalette");if(u){var c=i.ensureUniqueItemVisual(a,"style"),l=n.getName(t)||t+"",h=n.count();c[s]=e.getColorFromPalette(l,o,h)}}))}}))}},Bt=n("2dc5"),Nt=n("76a5"),zt=n("8d32"),Ft=Math.PI;function Ht(t,e){e=e||{},o["defaults"](e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Bt["a"],r=new mt["a"]({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var i,a=new Nt["a"]({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),s=new mt["a"]({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(s),e.showSpinner&&(i=new zt["a"]({shape:{startAngle:-Ft/2,endAngle:-Ft/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*Ft/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Ft/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=a.getBoundingRect().width,o=e.showSpinner?e.spinnerRadius:0,u=(t.getWidth()-2*o-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:o),c=t.getHeight()/2;e.showSpinner&&i.setShape({cx:u,cy:c}),s.setShape({x:u-o,y:c-o,width:2*o,height:2*o}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var Vt=n("9fbc"),Wt=n("8918"),Ut=function(){function t(t,e,n,r){this._stageTaskMap=Object(o["createHashMap"])(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),r=n.context,i=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData(),i=r.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,a=t.get("large")&&i>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(o["createHashMap"])();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Object(o["each"])(this._allHandlers,(function(r){var i=t.get(r.uid)||t.set(r.uid,{}),a="";Object(o["assert"])(!(r.reset&&r.overallReset),a),r.reset&&this._createSeriesStageTask(r,i,e,n),r.overallReset&&this._createOverallStageTask(r,i,e,n)}),this)},t.prototype.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,r){r=r||{};var i=!1,a=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(o["each"])(t,(function(t,o){if(!r.visualType||r.visualType===t.visualType){var u=a._stageTaskMap.get(t.uid),c=u.seriesTaskMap,l=u.overallTask;if(l){var h,f=l.agentStubMap;f.each((function(t){s(r,t)&&(t.dirty(),h=!0)})),h&&l.dirty(),a.updatePayload(l,n);var d=a.getPerformArgs(l,r.block);f.each((function(t){t.perform(d)})),l.perform(d)&&(i=!0)}else c&&c.each((function(o,u){s(r,o)&&o.dirty();var c=a.getPerformArgs(o,r.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(c)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,r){var i=this,a=e.seriesTaskMap,s=e.seriesTaskMap=Object(o["createHashMap"])(),u=t.seriesType,c=t.getTargetSeries;function l(e){var o=e.uid,u=s.set(o,a&&a.get(o)||Object(Vt["a"])({plan:Zt,reset:Kt,count:Jt}));u.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,u)}t.createOnAllSeries?n.eachRawSeries(l):u?n.eachRawSeriesByType(u,l):c&&c(n,r).each(l)},t.prototype._createOverallStageTask=function(t,e,n,r){var i=this,a=e.overallTask=e.overallTask||Object(Vt["a"])({reset:Gt});a.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var s=a.agentStubMap,u=a.agentStubMap=Object(o["createHashMap"])(),c=t.seriesType,l=t.getTargetSeries,h=!0,f=!1,d="";function p(t){var e=t.uid,n=u.set(e,s&&s.get(e)||(f=!0,Object(Vt["a"])({reset:Yt,onDirty:Xt})));n.context={model:t,overallProgress:h},n.agent=a,n.__block=h,i._pipe(t,n)}Object(o["assert"])(!t.createOnAllSeries,d),c?n.eachRawSeriesByType(c,p):l?l(n,r).each(p):(h=!1,Object(o["each"])(n.getSeries(),p)),f&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},t.wrapStageHandler=function(t,e){return Object(o["isFunction"])(t)&&(t={overallReset:t,seriesType:te(t)}),t.uid=Object(Wt["c"])("stageHandler"),e&&(t.visualType=e),t},t}();function Gt(t){t.overallReset(t.ecModel,t.api,t.payload)}function Yt(t){return t.overallProgress&&qt}function qt(){this.agent.dirty(),this.getDownstream().dirty()}function Xt(){this.agent&&this.agent.dirty()}function Zt(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Kt(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Object(c["r"])(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(o["map"])(e,(function(t,e){return $t(e)})):Qt}var Qt=$t(0);function $t(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o0&&l===i.length-c.length){var h=i.slice(0,l);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(i)&&(n[i]=t,o=!0),o||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,u=e.dataQuery;return c(s,o,"mainType")&&c(s,o,"subType")&&c(s,o,"index","componentIndex")&&c(s,o,"name")&&c(s,o,"id")&&c(u,i,"name")&&c(u,i,"dataIndex")&&c(u,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,r,i));function c(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ve=["symbol","symbolSize","symbolRotate","symbolOffset"],ye=ve.concat(["symbolKeepAspect"]),me={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var r={},i={},a=!1,s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Ke])if(this._disposed)Dn(this.id);else{var r,i,a;if(Object(o["isObject"])(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,a=e.transition,e=e.notMerge),this[Ke]=!0,!this._model||e){var s=new H(this._api),u=this._theme,c=this._model=new I;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,s)}this._model.setOption(t,{replaceMerge:i},Rn);var l={seriesTransition:a,optionChanged:!0};if(n)this[Qe]={silent:r,updateParams:l},this[Ke]=!1,this.getZr().wakeUp();else{try{un(this),hn.update.call(this,null,l)}catch(h){throw this[Qe]=null,this[Ke]=!1,h}this._ssr||this._zr.flush(),this[Qe]=null,this[Ke]=!1,gn.call(this,r),vn.call(this,r)}}},e.prototype.setTheme=function(){Object(x["a"])("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a["a"].hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a["a"].svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(o["each"])(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,r=[],i=this;Object(o["each"])(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Object(o["each"])(r,(function(t){t.group.ignore=!1})),a}Dn(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,r=Math.min,a=Math.max,s=1/0;if(Fn[n]){var u=s,c=s,l=-s,h=-s,f=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();Object(o["each"])(zn,(function(i,s){if(i.group===n){var d=e?i.getZr().painter.getSvgDom().innerHTML:i.renderToCanvas(Object(o["clone"])(t)),p=i.getDom().getBoundingClientRect();u=r(p.left,u),c=r(p.top,c),l=a(p.right,l),h=a(p.bottom,h),f.push({dom:d,left:p.left,top:p.top})}})),u*=d,c*=d,l*=d,h*=d;var p=l-u,g=h-c,v=ke["d"].createCanvas(),y=i["init"](v,{renderer:e?"svg":"canvas"});if(y.resize({width:p,height:g}),e){var m="";return Object(o["each"])(f,(function(t){var e=t.left-u,n=t.top-c;m+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new mt["a"]({shape:{x:0,y:0,width:p,height:g},style:{fill:t.connectedBackgroundColor}})),Object(o["each"])(f,(function(t){var e=new bt["a"]({style:{x:t.left*d-u,y:t.top*d-c,image:t.dom}});y.add(e)})),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}Dn(this.id)},e.prototype.convertToPixel=function(t,e){return fn(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return fn(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,r=this._model,i=c["s"](r,t);return Object(o["each"])(i,(function(t,r){r.indexOf("Models")>=0&&Object(o["each"])(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}Dn(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,r=c["s"](n,t,{defaultMainType:"series"}),i=r.seriesModel;var o=i.getData(),a=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=a?Object(_e["a"])(o,a,e):Object(_e["b"])(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;Object(o["each"])(In,(function(e){var n=function(n){var r,i=t.getModel(),a=n.target,s="globalout"===e;if(s?r={}:a&&Object(Se["a"])(a,(function(t){var e=Object(Ot["a"])(t);if(e&&null!=e.dataIndex){var n=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType,a)||{},!0}if(e.eventData)return r=Object(o["extend"])({},e.eventData),!0}),!0),r){var u=r.componentType,c=r.componentIndex;"markLine"!==u&&"markPoint"!==u&&"markArea"!==u||(u="series",c=r.seriesIndex);var l=u&&null!=c&&i.getComponent(u,c),h=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];0,r.event=n,r.type=e,t._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:l,view:h},t.trigger(e,r)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),Object(o["each"])(Pn,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),Object(o["each"])(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),Object(xe["b"])(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Dn(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Dn(this.id);else{this._disposed=!0;var t=this.getDom();t&&c["w"](this.getDom(),Wn,"");var e=this,n=e._api,r=e._model;Object(o["each"])(e._componentsViews,(function(t){t.dispose(r,n)})),Object(o["each"])(e._chartsViews,(function(t){t.dispose(r,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete zn[e.id]}},e.prototype.resize=function(t){if(!this[Ke])if(this._disposed)Dn(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[Qe]&&(null==r&&(r=this[Qe].silent),n=!0,this[Qe]=null),this[Ke]=!0;try{n&&un(this),hn.update.call(this,{type:"resize",animation:Object(o["extend"])({duration:0},t&&t.animation)})}catch(i){throw this[Ke]=!1,i}this[Ke]=!1,gn.call(this,r),vn.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Dn(this.id);else if(Object(o["isObject"])(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Nn[t]){var n=Nn[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){this._disposed?Dn(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(o["extend"])({},t);return e.type=Pn[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Dn(this.id);else if(Object(o["isObject"])(e)||(e={silent:!!e}),An[t.type]&&this._model)if(this[Ke])this._pendingActions.push(t);else{var n=e.silent;pn.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&a["a"].browser.weChat&&this._throttledZrFlush(),gn.call(this,n),vn.call(this,n)}},e.prototype.updateLabelLayout=function(){Ce.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)Dn(this.id);else{var e=t.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(e);0,r.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],r=!1;if(t.eachComponent((function(t,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:i.componentIndex,type:t,key:s})})),r){var i,a,u=e.concat(n);Object(s["a"])(u,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),Object(o["each"])(u,(function(e){var n=t.getComponent(e.type,e.idx),r=e.zlevel,o=e.key;null!=i&&(r=Math.max(i,r)),o?(r===i&&o!==a&&r++,a=o):a&&(r===i&&r++,a=""),i=r,n.setZLevel(r)}))}}function n(t){for(var e=[],n=t.currentStates,r=0;re.get("hoverLayerThreshold")&&!a["a"].node&&!a["a"].worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function u(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function l(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered((function(t){return h(t,n,r,-1/0),!0}))}}function h(t,e,n,r){var i=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),u=0;u0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(_t["d"](t))return;if(t instanceof xt["b"]&&Object(wt["E"])(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(i){t.stateTransition=a;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}un=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cn(t,!0),cn(t,!1),e.plan()},cn=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,u=0;u=0)){ur.push(n);var a=oe.wrapStageHandler(n,i);a.__prio=e,a.__raw=n,t.push(a)}}function lr(t,e){Nn[t]=e}function hr(t){Object(ke["e"])({createCanvas:t})}function fr(t,e,n){var r=Object(Ie["a"])("registerMap");r&&r(t,e,n)}function dr(t){var e=Object(Ie["a"])("getMap");return e&&e(t)}var pr=Oe["b"];sr(He,Pt),sr(Ue,Rt),sr(Ue,Et),sr(He,me),sr(Ue,be),sr(Xe,Me),$n(ht),Jn(Re,dt),lr("default",Ht),rr({type:wt["c"],event:wt["c"],update:wt["c"]},o["noop"]),rr({type:wt["b"],event:wt["b"],update:wt["b"]},o["noop"]),rr({type:wt["f"],event:wt["f"],update:wt["f"]},o["noop"]),rr({type:wt["i"],event:wt["i"],update:wt["i"]},o["noop"]),rr({type:wt["h"],event:wt["h"],update:wt["h"]},o["noop"]),Qn("light",se),Qn("dark",de);var gr={}},"1f39":function(t,e,n){"use strict";var r=n("6d8b"),i={},o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];r["each"](i,(function(r,i){var o=r.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){r["each"](this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){i[t]=e},t.get=function(t){return i[t]},t}();e["a"]=o},"1fb5":function(t,e,n){"use strict";e.byteLength=l,e.toByteArray=f,e.fromByteArray=g;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function l(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function h(t,e,n){return 3*(e+n)/4-n}function f(t){var e,n,r=c(t),a=r[0],s=r[1],u=new o(h(t,a,s)),l=0,f=s>0?a-4:a;for(n=0;n>16&255,u[l++]=e>>8&255,u[l++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[l++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e),u}function d(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function p(t,e,n){for(var r,i=[],o=e;ou?u:s+a));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2023:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}()},"20c8":function(t,e,n){"use strict";n.d(e,"b",(function(){return j}));var r=n("401b"),i=n("9850"),o=n("2cf4c"),a=n("e263"),s=n("4a3f"),u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],l=[],h=[],f=[],d=[],p=[],g=Math.min,v=Math.max,y=Math.cos,m=Math.sin,b=Math.abs,_=Math.PI,x=2*_,O="undefined"!==typeof Float32Array,w=[];function S(t){var e=Math.round(t/_*1e8)/1e8;return e%2*_}function j(t,e){var n=S(t[0]);n<0&&(n+=x);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=x?i=n+x:e&&n-i>=x?i=n-x:!e&&n>i?i=n+(x-S(n-i)):e&&n0&&(this._ux=b(n/o["e"]/t)||0,this._uy=b(n/o["e"]/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(u.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=b(t-this._xi),r=b(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(u.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._drawPendingPt(),this.addData(u.C,t,e,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,o),this._xi=i,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(u.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},t.prototype.arc=function(t,e,n,r,i,o){this._drawPendingPt(),w[0]=r,w[1]=i,j(w,o),r=w[0],i=w[1];var a=i-r;return this.addData(u.A,t,e,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=y(i)*n+t,this._yi=m(i)*n+e,this},t.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},t.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(u.R,t,e,n,r),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!O||(this.data=new Float32Array(e));for(var n=0;nc.length&&(this._expandData(),c=this.data);for(var l=0;l0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){h[0]=h[1]=d[0]=d[1]=Number.MAX_VALUE,f[0]=f[1]=p[0]=p[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,s=0,c=0;for(t=0;tn||b(M)>r||d===e-1)&&(O=Math.sqrt(j*j+M*M),i=w,o=S);break;case u.C:var T=t[d++],C=t[d++],k=(w=t[d++],S=t[d++],t[d++]),I=t[d++];O=Object(s["d"])(i,o,T,C,w,S,k,I,10),i=k,o=I;break;case u.Q:T=t[d++],C=t[d++],w=t[d++],S=t[d++];O=Object(s["k"])(i,o,T,C,w,S,10),i=w,o=S;break;case u.A:var D=t[d++],A=t[d++],P=t[d++],L=t[d++],R=t[d++],E=t[d++],B=E+R;d+=1;t[d++];_&&(a=y(R)*P+D,c=m(R)*L+A),O=v(P,L)*g(x,Math.abs(E)),i=y(B)*P+D,o=m(B)*L+A;break;case u.R:a=i=t[d++],c=o=t[d++];var N=t[d++],z=t[d++];O=2*N+2*z;break;case u.Z:j=a-i,M=c-o;O=Math.sqrt(j*j+M*M),i=a,o=c;break}O>=0&&(l[f++]=O,h+=O)}return this._pathLen=h,h},t.prototype.rebuildPath=function(t,e){var n,r,i,o,a,h,f,d,p,_,x,O=this.data,w=this._ux,S=this._uy,j=this._len,M=e<1,T=0,C=0,k=0;if(!M||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,d=this._pathLen,p=e*d,p))t:for(var I=0;I0&&(t.lineTo(_,x),k=0),D){case u.M:n=i=O[I++],r=o=O[I++],t.moveTo(i,o);break;case u.L:a=O[I++],h=O[I++];var P=b(a-i),L=b(h-o);if(P>w||L>S){if(M){var R=f[C++];if(T+R>p){var E=(p-T)/R;t.lineTo(i*(1-E)+a*E,o*(1-E)+h*E);break t}T+=R}t.lineTo(a,h),i=a,o=h,k=0}else{var B=P*P+L*L;B>k&&(_=a,x=h,k=B)}break;case u.C:var N=O[I++],z=O[I++],F=O[I++],H=O[I++],V=O[I++],W=O[I++];if(M){R=f[C++];if(T+R>p){E=(p-T)/R;Object(s["g"])(i,N,F,V,E,c),Object(s["g"])(o,z,H,W,E,l),t.bezierCurveTo(c[1],l[1],c[2],l[2],c[3],l[3]);break t}T+=R}t.bezierCurveTo(N,z,F,H,V,W),i=V,o=W;break;case u.Q:N=O[I++],z=O[I++],F=O[I++],H=O[I++];if(M){R=f[C++];if(T+R>p){E=(p-T)/R;Object(s["n"])(i,N,F,E,c),Object(s["n"])(o,z,H,E,l),t.quadraticCurveTo(c[1],l[1],c[2],l[2]);break t}T+=R}t.quadraticCurveTo(N,z,F,H),i=F,o=H;break;case u.A:var U=O[I++],G=O[I++],Y=O[I++],q=O[I++],X=O[I++],Z=O[I++],K=O[I++],Q=!O[I++],$=Y>q?Y:q,J=b(Y-q)>.001,tt=X+Z,et=!1;if(M){R=f[C++];T+R>p&&(tt=X+Z*(p-T)/R,et=!0),T+=R}if(J&&t.ellipse?t.ellipse(U,G,Y,q,K,X,tt,Q):t.arc(U,G,$,X,tt,Q),et)break t;A&&(n=y(X)*Y+U,r=m(X)*q+G),i=y(tt)*Y+U,o=m(tt)*q+G;break;case u.R:n=i=O[I],r=o=O[I+1],a=O[I++],h=O[I++];var nt=O[I++],rt=O[I++];if(M){R=f[C++];if(T+R>p){var it=p-T;t.moveTo(a,h),t.lineTo(a+g(it,nt),h),it-=nt,it>0&&t.lineTo(a+nt,h+g(it,rt)),it-=rt,it>0&&t.lineTo(a+v(nt-it,0),h+rt),it-=nt,it>0&&t.lineTo(a,h+v(rt-it,0));break t}T+=R}t.rect(a,h,nt,rt);break;case u.Z:if(M){R=f[C++];if(T+R>p){E=(p-T)/R;t.lineTo(i*(1-E)+n*E,o*(1-E)+r*E);break t}T+=R}t.closePath(),i=n,o=r}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=u,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();e["a"]=M},"216a":function(t,e,n){"use strict";var r=n("9ab4"),i=n("3842"),o=n("f876"),a=n("944e"),s=n("89e3"),u=n("e0d8"),c=n("6d8b"),l=function(t,e,n,r){while(n>>1;t[i][1]n&&(this._approxInterval=n);var o=f.length,a=Math.min(l(f,this._approxInterval,0,o),o-1);this._interval=f[a][1],this._minLevelUnit=f[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return Object(c["isNumber"])(t)?t:+i["p"](t)},e.prototype.contain=function(t){return a["a"](this.parse(t),this._extent)},e.prototype.normalize=function(t){return a["f"](this.parse(t),this._extent)},e.prototype.scale=function(t){return a["g"](t,this._extent)},e.type="time",e}(s["a"]),f=[["second",o["d"]],["minute",o["c"]],["hour",o["b"]],["quarter-day",6*o["b"]],["half-day",12*o["b"]],["day",1.2*o["a"]],["half-week",3.5*o["a"]],["week",7*o["a"]],["month",31*o["a"]],["quarter",95*o["a"]],["half-year",o["e"]/2],["year",o["e"]]];function d(t,e,n,r){var a=i["p"](e),s=i["p"](n),u=function(t){return Object(o["n"])(a,t,r)===Object(o["n"])(s,t,r)},c=function(){return u("year")},l=function(){return c()&&u("month")},h=function(){return l()&&u("day")},f=function(){return h()&&u("hour")},d=function(){return f()&&u("minute")},p=function(){return d()&&u("second")},g=function(){return p()&&u("millisecond")};switch(t){case"year":return c();case"month":return l();case"day":return h();case"hour":return f();case"minute":return d();case"second":return p();case"millisecond":return g()}}function p(t,e){return t/=o["a"],t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function g(t){var e=30*o["a"];return t/=e,t>6?6:t>3?3:t>2?2:1}function v(t){return t/=o["b"],t>12?12:t>6?6:t>3.5?4:t>2?2:1}function y(t,e){return t/=e?o["c"]:o["d"],t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function m(t){return i["n"](t,!0)}function b(t,e,n){var r=new Date(t);switch(Object(o["m"])(e)){case"year":case"month":r[Object(o["x"])(n)](0);case"day":r[Object(o["g"])(n)](1);case"hour":r[Object(o["p"])(n)](0);case"minute":r[Object(o["v"])(n)](0);case"second":r[Object(o["A"])(n)](0),r[Object(o["t"])(n)](0)}return r.getTime()}function _(t,e,n,r){var i=1e4,a=o["B"],s=0;function u(t,e,n,i,o,a,s){var u=new Date(e),c=e,l=u[i]();while(c1&&0===l&&a.unshift({value:a[0].value-_})}}for(l=0;l=r[0]&&T<=r[1]&&_++)}var C=(r[1]-r[0])/e;if(_>1.5*C&&x>C/1.5)break;if(h.push(j),_>C||t===a[O])break}f=[]}}}var k=Object(c["filter"])(Object(c["map"])(h,(function(t){return Object(c["filter"])(t,(function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd}))})),(function(t){return t.length>0})),I=[],D=k.length-1;for(O=0;O1||n>0&&!t.noHeader;return Object(o["each"])(t.blocks,(function(t){var n=g(t);n>=e&&(e=n+ +(r&&(!n||d(t)&&!t.noHeader)))})),e}return 0}function v(t,e,n,s){var l=e.noHeader,h=b(g(e)),f=[],d=e.blocks||[];Object(o["assert"])(!d||Object(o["isArray"])(d)),d=d||[];var v=t.orderMode;if(e.sortBlocks&&v){d=d.slice();var y={valueAsc:"asc",valueDesc:"desc"};if(Object(o["hasOwn"])(y,v)){var m=new a["a"](y[v],null);d.sort((function(t,e){return m.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===v&&d.reverse()}Object(o["each"])(d,(function(n,r){var i=e.valueFormatter,a=p(n)(i?Object(o["extend"])(Object(o["extend"])({},t),{valueFormatter:i}):t,n,r>0?h.html:0,s);null!=a&&f.push(a)}));var x="richText"===t.renderMode?f.join(h.richText):_(f.join(""),l?n:h.html);if(l)return x;var O=Object(i["h"])(e.header,"ordinal",t.useUTC),S=c(s,t.renderMode).nameStyle;return"richText"===t.renderMode?w(t,O,S)+h.richText+x:_('
'+Object(r["a"])(O)+"
"+x,n)}function y(t,e,n,r){var a=t.renderMode,s=e.noName,u=e.noValue,l=!e.markerType,h=e.name,f=t.useUTC,d=e.valueFormatter||t.valueFormatter||function(t){return t=Object(o["isArray"])(t)?t:[t],Object(o["map"])(t,(function(t,e){return Object(i["h"])(t,Object(o["isArray"])(v)?v[e]:v,f)}))};if(!s||!u){var p=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),g=s?"":Object(i["h"])(h,"ordinal",f),v=e.valueType,y=u?[]:d(e.value),m=!l||!s,b=!l&&s,j=c(r,a),M=j.nameStyle,T=j.valueStyle;return"richText"===a?(l?"":p)+(s?"":w(t,g,M))+(u?"":S(t,y,m,b,T)):_((l?"":p)+(s?"":x(g,!l,M))+(u?"":O(y,m,b,T)),n)}}function m(t,e,n,r,i,o){if(t){var a=p(t),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function b(t){return{html:l[t],richText:h[t]}}function _(t,e){var n='
',r="margin: "+e+"px 0 0";return'
'+t+n+"
"}function x(t,e,n){var i=e?"margin-left:2px":"";return''+Object(r["a"])(t)+""}function O(t,e,n,i){var a=n?"10px":"20px",s=e?"float:right;margin-left:"+a:"";return t=Object(o["isArray"])(t)?t:[t],''+Object(o["map"])(t,(function(t){return Object(r["a"])(t)})).join("  ")+""}function w(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function S(t,e,n,r,i){var a=[i],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Object(o["isArray"])(e)?e.join(" "):e,a)}function j(t,e){var n=t.getData().getItemVisual(e,"style"),r=n[t.visualDrawType];return Object(i["c"])(r)}function M(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var T=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Object(s["j"])()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,a=Object(i["g"])({color:e,type:t,renderMode:n,markerId:r});return Object(o["isString"])(a)?a:(this.richTextStyles[r]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(o["isArray"])(e)?Object(o["each"])(e,(function(t){return Object(o["extend"])(n,t)})):Object(o["extend"])(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}()},"22b4":function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n("1be7"),i=n("b12f"),o=n("e887"),a=n("6cb7"),s=n("4f85"),u=n("6d8b"),c=n("58c9"),l=n("697e7"),h=[],f={registerPreprocessor:r["u"],registerProcessor:r["v"],registerPostInit:r["s"],registerPostUpdate:r["t"],registerUpdateLifecycle:r["y"],registerAction:r["m"],registerCoordinateSystem:r["n"],registerLayout:r["o"],registerVisual:r["z"],registerTransform:r["x"],registerLoading:r["p"],registerMap:r["r"],registerImpl:c["b"],PRIORITY:r["a"],ComponentModel:a["a"],ComponentView:i["a"],SeriesModel:s["b"],ChartView:o["a"],registerComponentModel:function(t){a["a"].registerClass(t)},registerComponentView:function(t){i["a"].registerClass(t)},registerSeriesModel:function(t){s["b"].registerClass(t)},registerChartView:function(t){o["a"].registerClass(t)},registerSubTypeDefaulter:function(t,e){a["a"].registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Object(l["registerPainter"])(t,e)}};function d(t){Object(u["isArray"])(t)?Object(u["each"])(t,(function(t){d(t)})):Object(u["indexOf"])(h,t)>=0||(h.push(t),Object(u["isFunction"])(t)&&(t={install:t}),t.install(f))}},"22d1":function(t,e,n){"use strict";var r=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),i=function(){function t(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),o=new i;function a(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e["a"]=o},2306:function(t,e,n){"use strict";n.r(e),n.d(e,"extendShape",(function(){return R})),n.d(e,"extendPath",(function(){return B})),n.d(e,"registerShape",(function(){return N})),n.d(e,"getShapeClass",(function(){return z})),n.d(e,"makePath",(function(){return F})),n.d(e,"makeImage",(function(){return H})),n.d(e,"mergePath",(function(){return W})),n.d(e,"resizePath",(function(){return U})),n.d(e,"subPixelOptimizeLine",(function(){return G})),n.d(e,"subPixelOptimizeRect",(function(){return Y})),n.d(e,"subPixelOptimize",(function(){return q})),n.d(e,"getTransform",(function(){return X})),n.d(e,"applyTransform",(function(){return Z})),n.d(e,"transformDirection",(function(){return K})),n.d(e,"groupTransition",(function(){return J})),n.d(e,"clipPointsByRect",(function(){return tt})),n.d(e,"clipRectByRect",(function(){return et})),n.d(e,"createIcon",(function(){return nt})),n.d(e,"linePolygonIntersect",(function(){return rt})),n.d(e,"lineLineIntersect",(function(){return it})),n.d(e,"setTooltipConfig",(function(){return st})),n.d(e,"traverseElements",(function(){return ct}));var r=n("342d"),i=n("1687"),o=n("401b"),a=n("cbe5");n.d(e,"Path",(function(){return a["b"]}));var s=n("8582"),u=n("0da8");n.d(e,"Image",(function(){return u["a"]}));var c=n("2dc5");n.d(e,"Group",(function(){return c["a"]}));var l=n("76a5");n.d(e,"Text",(function(){return l["a"]}));var h=n("d9fc");n.d(e,"Circle",(function(){return h["a"]}));var f=n("ae69");n.d(e,"Ellipse",(function(){return f["a"]}));var d=n("4aa2");n.d(e,"Sector",(function(){return d["a"]}));var p=n("4573");n.d(e,"Ring",(function(){return p["a"]}));var g=n("87b1");n.d(e,"Polygon",(function(){return g["a"]}));var v=n("d498");n.d(e,"Polyline",(function(){return v["a"]}));var y=n("c7a2");n.d(e,"Rect",(function(){return y["a"]}));var m=n("cb11");n.d(e,"Line",(function(){return m["a"]}));var b=n("ac0f");n.d(e,"BezierCurve",(function(){return b["a"]}));var _=n("8d32");n.d(e,"Arc",(function(){return _["a"]}));var x=n("d4c6");n.d(e,"CompoundPath",(function(){return x["a"]}));var O=n("48a9");n.d(e,"LinearGradient",(function(){return O["a"]}));var w=n("dded");n.d(e,"RadialGradient",(function(){return w["a"]}));var S=n("9850");n.d(e,"BoundingRect",(function(){return S["a"]}));var j=n("ca80");n.d(e,"OrientedBoundingRect",(function(){return j["a"]}));var M=n("dce8");n.d(e,"Point",(function(){return M["a"]}));var T=n("392f");n.d(e,"IncrementalDisplayable",(function(){return T["a"]}));var C=n("9cf9"),k=n("6d8b"),I=n("861c"),D=n("deca");n.d(e,"updateProps",(function(){return D["h"]})),n.d(e,"initProps",(function(){return D["c"]})),n.d(e,"removeElement",(function(){return D["e"]})),n.d(e,"removeElementWithFadeOut",(function(){return D["f"]})),n.d(e,"isElementRemoved",(function(){return D["d"]}));var A=Math.max,P=Math.min,L={};function R(t){return a["b"].extend(t)}var E=r["c"];function B(t,e){return E(t,e)}function N(t,e){L[t]=e}function z(t){if(L.hasOwnProperty(t))return L[t]}function F(t,e,n,i){var o=r["b"](t,e);return n&&("center"===i&&(n=V(n,o.getBoundingRect())),U(o,n)),o}function H(t,e,n){var r=new u["a"]({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(V(e,i))}}});return r}function V(t,e){var n,r=e.width/e.height,i=t.height*r;i<=t.width?n=t.height:(i=t.width,n=i/r);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var W=r["d"];function U(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}}function G(t,e){return C["b"](t,t,{lineWidth:e}),t}function Y(t){return C["c"](t.shape,t.shape,t.style),t}var q=C["a"];function X(t,e){var n=i["identity"]([]);while(t&&t!==e)i["mul"](n,t.getLocalTransform(),n),t=t.parent;return n}function Z(t,e,n){return e&&!Object(k["isArrayLike"])(e)&&(e=s["c"].getLocalTransform(e)),n&&(e=i["invert"]([],e)),o["applyTransform"]([],t,e)}function K(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=Z(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Q(t){return!t.isGroup}function $(t){return null!=t.shape}function J(t,e,n){if(t&&e){var r=i(t);e.traverse((function(t){if(Q(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),Object(D["h"])(t,i,n,Object(I["a"])(t).dataIndex)}}}))}function i(t){var e={};return t.traverse((function(t){Q(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return $(t)&&(e.shape=Object(k["extend"])({},t.shape)),e}}function tt(t,e){return Object(k["map"])(t,(function(t){var n=t[0];n=A(n,e.x),n=P(n,e.x+e.width);var r=t[1];return r=A(r,e.y),r=P(r,e.y+e.height),[n,r]}))}function et(t,e){var n=A(t.x,e.x),r=P(t.x+t.width,e.x+e.width),i=A(t.y,e.y),o=P(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function nt(t,e,n){var r=Object(k["extend"])({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),Object(k["defaults"])(i,n),new u["a"](r)):F(t.replace("path://",""),r,n,"center")}function rt(t,e,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var v=ot(d,p,l,h)/f;return!(v<0||v>1)}function ot(t,e,n,r){return t*r-n*e}function at(t){return t<=1e-6&&t>=-1e-6}function st(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=Object(k["isString"])(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var u=t.formatterParamsExtra;u&&Object(k["each"])(Object(k["keys"])(u),(function(t){Object(k["hasOwn"])(s,t)||(s[t]=u[t],s.$vars.push(t))}));var c=Object(I["a"])(t.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:r,option:Object(k["defaults"])({content:r,formatterParams:s},i)}}function ut(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function ct(t,e){if(t)if(Object(k["isArray"])(t))for(var n=0;n0&&o&&O(-h/a,0,a);var v,y,m=t[0],b=t[a-1];return _(),v<0&&w(-v,.8),y<0&&w(y,.8),_(),x(v,y,1),x(y,v,-1),_(),v<0&&S(-v),y<0&&S(y),c}function _(){v=m.rect[e]-r,y=i-b.rect[e]-b.rect[n]}function x(t,e,n){if(t<0){var r=Math.min(e,-t);if(r>0){O(r*n,0,a);var i=r+t;i<0&&w(-i*n,1)}else w(-t*n,1)}}function O(n,r,i){0!==n&&(c=!0);for(var o=r;o0)for(u=0;u0;u--){f=o[u-1]*h;O(-f,u,a)}}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),r=0;r0?O(n,0,r+1):O(-n,a-r-1,a),t-=n,t<=0)return}}function s(t,e,n,r){return a(t,"x","width",e,n,r)}function u(t,e,n,r){return a(t,"y","height",e,n,r)}function c(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new i["a"](0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a=0||o&&r["indexOf"](o,u)<0)){var c=n.getShallow(u,e);null!=c&&(a[t[s][0]]=c)}}return a}}},"2b17":function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"c",(function(){return g})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return x})),n.d(e,"e",(function(){return w}));var r,i,o,a,s,u=n("6d8b"),c=n("e0d3"),l=n("ec6f"),h=n("07fd"),f=function(){function t(t,e){var n=Object(l["e"])(t)?t:Object(l["c"])(t);this._source=n;var r=this._data=n.data;n.sourceFormat===h["g"]&&(this._offset=0,this._dimSize=e,this._data=r),s(this,r,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;s=function(t,i,o){var s=o.sourceFormat,c=o.seriesLayoutBy,l=o.startIndex,f=o.dimensionsDefine,d=a[O(s,c)];if(Object(u["extend"])(t,d),s===h["g"])t.getItem=e,t.count=r,t.fillStorage=n;else{var p=g(s,c);t.getItem=Object(u["bind"])(p,null,i,l,f);var v=m(s,c);t.count=Object(u["bind"])(v,null,i,l,f)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,r=this._dimSize,i=r*t,o=0;oc&&(c=d)}s[0]=u,s[1]=c}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e-1?(u+="top:50%",l+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(u+="left:50%",l+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var h=o*Math.PI/180,f=s+i,p=f*Math.abs(Math.cos(h))+f*Math.abs(Math.sin(h)),g=Math.round(100*((p-Math.SQRT2*i)/2+Math.SQRT2*i-(p-f)/2))/100;u+=";"+a+":-"+g+"px";var v=e+" solid "+i+"px;",y=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",u+";"+l+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'
'}function M(t,e){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+t/2+"s "+n,i="opacity"+r+",visibility"+r;return e||(r=" "+t+"s "+n,i+=l["a"].transformSupported?","+O+r:",left"+r+",top"+r),x+":"+i}function T(t,e,n){var r=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!l["a"].transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=l["a"].transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+O+":"+a+";":[["top",0],["left",0],[v,a]]}function C(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var i=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return i&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),Object(c["each"])(["decoration","align"],(function(n){var r=t.get(n);r&&e.push("text-"+n+":"+r)})),e.join(";")}function k(t,e,n){var r=[],i=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),l=t.get("shadowOffsetY"),h=t.getModel("textStyle"),f=Object(_["d"])(t,"html"),p=u+"px "+l+"px "+a+"px "+s;return r.push("box-shadow:"+p),e&&i&&r.push(M(i,n)),o&&r.push("background-color:"+o),Object(c["each"])(["width","color","radius"],(function(e){var n="border-"+e,i=Object(d["j"])(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))})),r.push(C(h)),null!=f&&r.push("padding:"+Object(d["i"])(f).join("px ")+"px"),r.join(";")+";"}function I(t,e,n,r,i){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&Object(f["d"])(t,a,document.body,r,i)}else{t[0]=r,t[1]=i;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var D=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l["a"].wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;I(this._styleCoord,i,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(r):t.appendChild(r),this._container=t;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();Object(h["e"])(n,t,!0),e.dispatch("mousemove",t)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=b(e,"position"),r=e.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative");var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=w+k(t,!this._firstShow,this._longHide)+T(i[0],i[1],!0)+"border-color:"+Object(d["c"])(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,r,i){var o=this.el;if(null!=t){var a="";if(Object(c["isString"])(i)&&"item"===n.get("trigger")&&!p(n)&&(a=j(n,r,i)),Object(c["isString"])(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Object(c["isArray"])(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,r):"leave"===t&&this._hide(r))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,r=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!l["a"].node&&n.getDom()){var i=it(r,n);this._ticket="";var o=r.dataByCoordSys,a=ct(r,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=et;u.x=r.x,u.y=r.y,u.update(),Object(Q["a"])(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var c=Object(V["a"])(r,e),h=c.point[0],f=c.point[1];null!=h&&null!=f&&this._tryShow({offsetX:h,offsetY:f,target:c.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(it(r,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,r){var i=r.seriesIndex,o=r.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s){var u=s.getData(),c=rt([u.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===c.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,r=this._tooltipModel;if(r){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var o,a;this._lastDataByCoordSys=null,Object(J["a"])(n,(function(t){return null!=Object(Q["a"])(t).dataIndex?(o=t,!0):null!=Object(Q["a"])(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=Object(c["bind"])(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,r=this._tooltipModel,i=[e.offsetX,e.offsetY],o=rt([e.tooltipOption],r),a=this._renderMode,s=[],u=Object(_["c"])("section",{blocks:[],noHeader:!0}),l=[],h=new _["a"];Object(c["each"])(t,(function(t){Object(c["each"])(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var o=q["e"](i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),f=Object(_["c"])("section",{header:o,noHeader:!Object(c["trim"])(o),sortBlocks:!0,blocks:[]});u.blocks.push(f),Object(c["each"])(t.seriesDataIndices,(function(u){var p=n.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,v=p.getDataParams(g);if(!(v.dataIndex<0)){v.axisDim=t.axisDim,v.axisIndex=t.axisIndex,v.axisType=t.axisType,v.axisId=t.axisId,v.axisValue=Y["c"](e.axis,{value:i}),v.axisValueLabel=o,v.marker=h.makeTooltipMarker("item",Object(d["c"])(v.color),a);var y=Object($["b"])(p.formatTooltip(g,!0,null)),m=y.frag;if(m){var b=rt([p],r).get("valueFormatter");f.blocks.push(b?Object(c["extend"])({valueFormatter:b},m):m)}y.text&&l.push(y.text),s.push(v)}}))}}))})),u.blocks.reverse(),l.reverse();var f=e.position,p=o.get("order"),g=Object(_["b"])(u,h,a,p,n.get("useUTC"),o.get("textStyle"));g&&l.unshift(g);var v="richText"===a?"\n\n":"
",y=l.join(v);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,f,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,y,s,Math.random()+"",i[0],i[1],f,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var r=this._ecModel,i=Object(Q["a"])(e),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,u=i.dataIndex,l=i.dataType,h=s.getData(l),f=this._renderMode,p=t.positionDefault,g=rt([h.getItemModel(u),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),v=g.get("trigger");if(null==v||"item"===v){var y=s.getDataParams(u,l),m=new _["a"];y.marker=m.makeTooltipMarker("item",Object(d["c"])(y.color),f);var b=Object($["b"])(s.formatTooltip(u,!1,l)),x=g.get("order"),O=g.get("valueFormatter"),w=b.frag,S=w?Object(_["b"])(O?Object(c["extend"])({valueFormatter:O},w):w,m,f,x,r.get("useUTC"),g.get("textStyle")):b.text,j="item_"+s.name+"_"+u;this._showOrMove(g,(function(){this._showTooltipContent(g,S,y,j,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:u,dataIndex:h.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var r=Object(Q["a"])(e),i=r.tooltipConfig,o=i.option||{};if(Object(c["isString"])(o)){var a=o;o={content:a,formatter:a}}var s=[o],u=this._ecModel.getComponent(r.componentMainType,r.componentIndex);u&&s.push(u),s.push({formatter:o.content});var l=t.positionDefault,h=rt(s,this._tooltipModel,l?{position:l}:null),f=h.get("content"),d=Math.random()+"",p=new _["a"];this._showOrMove(h,(function(){var n=Object(c["clone"])(h.get("formatterParams")||{});this._showTooltipContent(h,f,n,d,t.offsetX,t.offsetY,t.position,e,p)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,r,i,o,a,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var l=this._tooltipContent;l.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var f=e,p=this._getNearestPoint([i,o],n,t.get("trigger"),t.get("borderColor")),g=p.color;if(h)if(Object(c["isString"])(h)){var v=t.ecModel.get("useUTC"),y=Object(c["isArray"])(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=h,m&&(f=Object(K["h"])(y.axisValue,f,v)),f=Object(d["e"])(f,n,!0)}else if(Object(c["isFunction"])(h)){var b=Object(c["bind"])((function(e,r){e===this._ticket&&(l.setContent(r,u,t,g,a),this._updatePosition(t,a,i,o,l,n,s))}),this);this._ticket=r,f=h(n,r,b)}else f=h;l.setContent(f,u,t,g,a),l.show(t,g),this._updatePosition(t,a,i,o,l,n,s)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||Object(c["isArray"])(e)?{color:r||("html"===this._renderMode?"#fff":"none")}:Object(c["isArray"])(e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,i,o,a){var s=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var l=i.getSize(),h=t.get("align"),f=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),Object(c["isFunction"])(e)&&(e=e([n,r],o,i.el,d,{viewSize:[s,u],contentSize:l.slice()})),Object(c["isArray"])(e))n=Object(F["q"])(e[0],s),r=Object(F["q"])(e[1],u);else if(Object(c["isObject"])(e)){var g=e;g.width=l[0],g.height=l[1];var v=Object(W["g"])(g,{width:s,height:u});n=v.x,r=v.y,h=null,f=null}else if(Object(c["isString"])(e)&&a){var y=st(e,d,l,t.get("borderWidth"));n=y[0],r=y[1]}else{y=ot(n,r,i,s,u,h?null:20,f?null:20);n=y[0],r=y[1]}if(h&&(n-=ut(h)?l[0]/2:"right"===h?l[0]:0),f&&(r-=ut(f)?l[1]/2:"bottom"===f?l[1]:0),p(t)){y=at(n,r,i,s,u);n=y[0],r=y[1]}i.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===t.length;return i&&Object(c["each"])(n,(function(n,o){var a=n.dataByAxis||[],s=t[o]||{},u=s.dataByAxis||[];i=i&&a.length===u.length,i&&Object(c["each"])(a,(function(t,n){var o=u[n]||{},a=t.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===s.length,i&&Object(c["each"])(a,(function(t,e){var n=s[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),r&&Object(c["each"])(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l["a"].node&&e.getDom()&&(Object(tt["a"])(this,"_updatePosition"),this._tooltipContent.dispose(),G["b"]("itemTooltip",e))},e.type="tooltip",e}(Z["a"]);function rt(t,e,n){var r,i=e.ecModel;n?(r=new U["a"](n,i,i),r=new U["a"](e.option,r,i)):r=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof U["a"]&&(a=a.get("tooltip",!0)),Object(c["isString"])(a)&&(a={formatter:a}),a&&(r=new U["a"](a,r,i)))}return r}function it(t,e){return t.dispatchAction||Object(c["bind"])(e.dispatchAction,e)}function ot(t,e,n,r,i,o,a){var s=n.getSize(),u=s[0],c=s[1];return null!=o&&(t+u+o+2>r?t-=u+o:t+=o),null!=a&&(e+c+a>i?e-=c+a:e+=a),[t,e]}function at(t,e,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,r)-a,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function st(t,e,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,u=0,c=e.width,l=e.height;switch(t){case"inside":s=e.x+c/2-i/2,u=e.y+l/2-o/2;break;case"top":s=e.x+c/2-i/2,u=e.y-o-a;break;case"bottom":s=e.x+c/2-i/2,u=e.y+l+a;break;case"left":s=e.x-i-a,u=e.y+l/2-o/2;break;case"right":s=e.x+c+a,u=e.y+l/2-o/2}return[s,u]}function ut(t){return"center"===t||"middle"===t}function ct(t,e,n){var r=Object(X["t"])(t).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o=Object(X["v"])(e,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,u=n.getViewOfComponentModel(a);return u.group.traverse((function(e){var n=Object(Q["a"])(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}var lt=nt;function ht(t){Object(i["a"])(r["a"]),t.registerComponentModel(u),t.registerComponentView(lt),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},c["noop"]),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},c["noop"])}},"2dc5":function(t,e,n){"use strict";var r=n("9ab4"),i=n("6d8b"),o=n("d5b7"),a=n("9850"),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return Object(r["a"])(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=i["indexOf"](this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,r=i["indexOf"](n,t);return r<0||(n.splice(r,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;na){c=(f+u)/2;break}1===h&&(l=d-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),o[n]=t.toGlobalCoord(c)}}));else{var s=this.getData(),u=s.getLayout("offset"),c=s.getLayout("size"),l=r.getBaseAxis().isHorizontal()?0:1;o[l]+=u+c/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(i["b"]);i["b"].registerClass(s),e["a"]=s},"342d":function(t,e,n){"use strict";n.d(e,"b",(function(){return T})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return k})),n.d(e,"a",(function(){return I}));var r=n("9ab4"),i=n("cbe5"),o=n("20c8"),a=n("401b"),s=o["a"].CMD,u=[[],[],[]],c=Math.sqrt,l=Math.atan2;function h(t,e){if(e){var n,r,i,o,h,f,d=t.data,p=t.len(),g=s.M,v=s.C,y=s.L,m=s.R,b=s.A,_=s.Q;for(i=0,o=0;i1&&(a*=d(_),s*=d(_));var x=(i===o?-1:1)*d((a*a*(s*s)-a*a*(y*y)-s*s*(f*f))/(a*a*(y*y)+s*s*(f*f)))||0,O=x*a*y/s,w=x*-s*f/a,S=(t+n)/2+g(h)*O-p(h)*w,j=(e+r)/2+p(h)*O+g(h)*w,M=b([1,0],[(f-O)/a,(y-w)/s]),T=[(f-O)/a,(y-w)/s],C=[(-1*f-O)/a,(-1*y-w)/s],k=b(T,C);if(m(T,C)<=-1&&(k=v),m(T,C)>=1&&(k=0),k<0){var I=Math.round(k/v*1e6)/1e6;k=2*v+I%2*v}l.addData(c,S,j,a,s,M,k,h,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,O=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function w(t){var e=new o["a"];if(!t)return e;var n,r=0,i=0,a=r,s=i,u=o["a"].CMD,c=t.match(x);if(!c)return e;for(var l=0;l=0&&r(c)?c:.5;var l=t.createRadialGradient(s,u,0,s,u,c);return l}function a(t,e,n){for(var r="radial"===e.type?o(t,e,n):i(t,e,n),a=e.colorStops,s=0;s0){if(t<=i)return a;if(t>=o)return s}else{if(t>=i)return a;if(t<=o)return s}else{if(t===i)return a;if(t===o)return s}return(t-i)/u*c+a}function u(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return r["isString"](t)?a(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function c(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),o),t=(+t).toFixed(e),n?t:+t}function l(t){return t.sort((function(t,e){return t-e})),t}function h(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return f(t)}function f(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,i=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function d(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function p(t,e,n){if(!t[e])return 0;var r=g(t,n);return r[e]||0}function g(t,e){var n=r["reduce"](t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var i=Math.pow(10,e),o=r["map"](t,(function(t){return(isNaN(t)?0:t)/n*i*100})),a=100*i,s=r["map"](o,(function(t){return Math.floor(t)})),u=r["reduce"](s,(function(t,e){return t+e}),0),c=r["map"](o,(function(t,e){return t-s[e]}));while(ul&&(l=c[f],h=f);++s[h],c[h]=0,++u}return r["map"](s,(function(t){return t/i}))}function v(t,e){var n=Math.max(h(t),h(e)),r=t+e;return n>o?r:c(r,n)}var y=9007199254740991;function m(t){var e=2*Math.PI;return(t%e+e)%e}function b(t){return t>-i&&t=10&&e++,e}function S(t,e){var n,r=w(t),i=Math.pow(10,r),o=t/i;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*i,r>=-20?+t.toFixed(r<0?-r:0):t}function j(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function M(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r=0&&(s=c.interpolatedValue[u])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return Object(i["e"])(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function u(t){var e,n;return r["isObject"](t)?t.type&&(n=t):e=t,{text:e,frag:n}}},3901:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n("282b"),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=Object(r["a"])(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},"392f":function(t,e,n){"use strict";var r=n("9ab4"),i=n("19eb"),o=n("9850"),a=[],s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return Object(r["a"])(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;ne)return t[r];return t[n-1]}function c(t,e,n,r,i,o,a){o=o||t;var s=e(o),c=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var h=null!=a&&r?u(r,a):n;if(h=h||n,h&&h.length){var f=h[c];return i&&(l[i]=f),s.paletteIdx=(c+1)%h.length,f}}function l(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}},"41ef":function(t,e,n){"use strict";n.r(e),n.d(e,"parse",(function(){return y})),n.d(e,"lift",(function(){return _})),n.d(e,"toHex",(function(){return x})),n.d(e,"fastLerp",(function(){return O})),n.d(e,"fastMapToColor",(function(){return w})),n.d(e,"lerp",(function(){return S})),n.d(e,"mapToColor",(function(){return j})),n.d(e,"modifyHSL",(function(){return M})),n.d(e,"modifyAlpha",(function(){return T})),n.d(e,"stringify",(function(){return C})),n.d(e,"lum",(function(){return k})),n.d(e,"random",(function(){return I}));var r=n("d51b"),i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return t=Math.round(t),t<0?0:t>255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function c(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function l(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function f(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new r["a"](20),g=null;function v(t,e){g&&d(g,e),g=p.put(t,g||e.slice())}function y(t,e){if(t){e=e||[];var n=p.get(t);if(n)return d(e,n);t+="";var r=t.replace(/ /g,"").toLowerCase();if(r in i)return d(e,i[r]),v(t,e),e;var o=r.length;if("#"!==r.charAt(0)){var a=r.indexOf("("),s=r.indexOf(")");if(-1!==a&&s+1===o){var l=r.substr(0,a),h=r.substr(a+1,s-(a+1)).split(","),g=1;switch(l){case"rgba":if(4!==h.length)return 3===h.length?f(e,+h[0],+h[1],+h[2],1):f(e,0,0,0,1);g=c(h.pop());case"rgb":return h.length>=3?(f(e,u(h[0]),u(h[1]),u(h[2]),3===h.length?g:c(h[3])),v(t,e),e):void f(e,0,0,0,1);case"hsla":return 4!==h.length?void f(e,0,0,0,1):(h[3]=c(h[3]),m(h,e),v(t,e),e);case"hsl":return 3!==h.length?void f(e,0,0,0,1):(m(h,e),v(t,e),e);default:return}}f(e,0,0,0,1)}else{if(4===o||5===o){var y=parseInt(r.slice(1,4),16);return y>=0&&y<=4095?(f(e,(3840&y)>>4|(3840&y)>>8,240&y|(240&y)>>4,15&y|(15&y)<<4,5===o?parseInt(r.slice(4),16)/15:1),v(t,e),e):void f(e,0,0,0,1)}if(7===o||9===o){y=parseInt(r.slice(1,7),16);return y>=0&&y<=16777215?(f(e,(16711680&y)>>16,(65280&y)>>8,255&y,9===o?parseInt(r.slice(7),16)/255:1),v(t,e),e):void f(e,0,0,0,1)}}}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=c(t[1]),i=c(t[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return e=e||[],f(e,o(255*l(s,a,n+1/3)),o(255*l(s,a,n)),o(255*l(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a,c=(s+a)/2;if(0===u)e=0,n=0;else{n=c<.5?u/(s+a):u/(2-s-a);var l=((s-r)/6+u/2)/u,h=((s-i)/6+u/2)/u,f=((s-o)/6+u/2)/u;r===s?e=f-h:i===s?e=1/3+l-f:o===s&&(e=2/3+h-l),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,c];return null!=t[3]&&d.push(t[3]),d}}function _(t,e){var n=y(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return C(n,4===n.length?"rgba":"rgb")}}function x(t){var e=y(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function O(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),u=e[i],c=e[a],l=r-i;return n[0]=o(h(u[0],c[0],l)),n[1]=o(h(u[1],c[1],l)),n[2]=o(h(u[2],c[2],l)),n[3]=s(h(u[3],c[3],l)),n}}var w=O;function S(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),u=y(e[i]),c=y(e[a]),l=r-i,f=C([o(h(u[0],c[0],l)),o(h(u[1],c[1],l)),o(h(u[2],c[2],l)),s(h(u[3],c[3],l))],"rgba");return n?{color:f,leftIndex:i,rightIndex:a,value:r}:f}}var j=S;function M(t,e,n,r){var i=y(t);if(t)return i=b(i),null!=e&&(i[0]=a(e)),null!=n&&(i[1]=c(n)),null!=r&&(i[2]=c(r)),C(m(i),"rgba")}function T(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),C(n,"rgba")}function C(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function k(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function I(){return C([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}},"42e5":function(t,e,n){"use strict";var r=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e["a"]=r},4319:function(t,e,n){"use strict";var r=n("22d1"),i=n("625e"),o=n("282b"),a=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],s=Object(o["a"])(a),u=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return s(this,t,e)},t}(),c=n("7837"),l=n("76a5"),h=["textStyle","color"],f=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],d=new l["a"],p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(h):null)},t.prototype.getFont=function(){return Object(c["d"])({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n-a&&ta||t<-a}function g(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function v(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function y(t,e,n,r,a,s){var l=r+3*(e-n)-t,h=3*(n-2*e+t),f=3*(e-t),p=t-a,g=h*h-3*l*f,v=h*f-9*l*p,y=f*f-3*h*p,m=0;if(d(g)&&d(v))if(d(h))s[0]=0;else{var b=-f/h;b>=0&&b<=1&&(s[m++]=b)}else{var _=v*v-4*g*y;if(d(_)){var x=v/g,O=(b=-h/l+x,-x/2);b>=0&&b<=1&&(s[m++]=b),O>=0&&O<=1&&(s[m++]=O)}else if(_>0){var w=o(_),S=g*h+1.5*l*(-v+w),j=g*h+1.5*l*(-v-w);S=S<0?-i(-S,c):i(S,c),j=j<0?-i(-j,c):i(j,c);b=(-h-(S+j))/(3*l);b>=0&&b<=1&&(s[m++]=b)}else{var M=(2*g*h-3*l*v)/(2*o(g*g*g)),T=Math.acos(M)/3,C=o(g),k=Math.cos(T),I=(b=(-h-2*C*k)/(3*l),O=(-h+C*(k+u*Math.sin(T)))/(3*l),(-h+C*(k-u*Math.sin(T)))/(3*l));b>=0&&b<=1&&(s[m++]=b),O>=0&&O<=1&&(s[m++]=O),I>=0&&I<=1&&(s[m++]=I)}}return m}function m(t,e,n,r,i){var a=6*n-12*e+6*t,s=9*e+3*r-3*t-9*n,u=3*e-3*t,c=0;if(d(s)){if(p(a)){var l=-u/a;l>=0&&l<=1&&(i[c++]=l)}}else{var h=a*a-4*s*u;if(d(h))i[0]=-a/(2*s);else if(h>0){var f=o(h),g=(l=(-a+f)/(2*s),(-a-f)/(2*s));l>=0&&l<=1&&(i[c++]=l),g>=0&&g<=1&&(i[c++]=g)}}return c}function b(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,u=(r-n)*i+n,c=(s-a)*i+a,l=(u-s)*i+s,h=(l-c)*i+c;o[0]=t,o[1]=a,o[2]=c,o[3]=h,o[4]=h,o[5]=l,o[6]=u,o[7]=r}function _(t,e,n,i,a,u,c,d,p,v,y){var m,b,_,x,O,w=.005,S=1/0;l[0]=p,l[1]=v;for(var j=0;j<1;j+=.05)h[0]=g(t,n,a,c,j),h[1]=g(e,i,u,d,j),x=Object(r["distSquare"])(l,h),x=0&&x=0&&l<=1&&(i[c++]=l)}}else{var h=s*s-4*a*u;if(d(h)){l=-s/(2*a);l>=0&&l<=1&&(i[c++]=l)}else if(h>0){var f=o(h),g=(l=(-s+f)/(2*a),(-s-f)/(2*a));l>=0&&l<=1&&(i[c++]=l),g>=0&&g<=1&&(i[c++]=g)}}return c}function j(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function M(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function T(t,e,n,i,a,u,c,d,p){var g,v=.005,y=1/0;l[0]=c,l[1]=d;for(var m=0;m<1;m+=.05){h[0]=O(t,n,a,m),h[1]=O(e,i,u,m);var b=Object(r["distSquare"])(l,h);b=0&&bA*A+P*P&&(M=C,T=k),{cx:M,cy:T,x0:-l,y0:-h,x1:M*(i/w-1),y1:T*(i/w-1)}}function b(t){var e;if(Object(o["isArray"])(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function _(t,e){var n,r=p(e.r,0),i=p(e.r0||0,0),o=r>0,_=i>0;if(o||_){if(o||(r=i,i=0),i>r){var x=r;r=i,i=x}var O=e.startAngle,w=e.endAngle;if(!isNaN(O)&&!isNaN(w)){var S=e.cx,j=e.cy,M=!!e.clockwise,T=f(w-O),C=T>s&&T%s;if(C>v&&(T=C),r>v)if(T>s-v)t.moveTo(S+r*c(O),j+r*u(O)),t.arc(S,j,r,O,w,!M),i>v&&(t.moveTo(S+i*c(w),j+i*u(w)),t.arc(S,j,i,w,O,M));else{var k=void 0,I=void 0,D=void 0,A=void 0,P=void 0,L=void 0,R=void 0,E=void 0,B=void 0,N=void 0,z=void 0,F=void 0,H=void 0,V=void 0,W=void 0,U=void 0,G=r*c(O),Y=r*u(O),q=i*c(w),X=i*u(w),Z=T>v;if(Z){var K=e.cornerRadius;K&&(n=b(K),k=n[0],I=n[1],D=n[2],A=n[3]);var Q=f(r-i)/2;if(P=g(Q,D),L=g(Q,A),R=g(Q,k),E=g(Q,I),z=B=p(P,L),F=N=p(R,E),(B>v||N>v)&&(H=r*c(w),V=r*u(w),W=i*c(O),U=i*u(O),Tv){var ot=g(D,z),at=g(A,z),st=m(W,U,G,Y,r,ot,M),ut=m(H,V,q,X,r,at,M);t.moveTo(S+st.cx+st.x0,j+st.cy+st.y0),z0&&t.arc(S+st.cx,j+st.cy,ot,h(st.y0,st.x0),h(st.y1,st.x1),!M),t.arc(S,j,r,h(st.cy+st.y1,st.cx+st.x1),h(ut.cy+ut.y1,ut.cx+ut.x1),!M),at>0&&t.arc(S+ut.cx,j+ut.cy,at,h(ut.y1,ut.x1),h(ut.y0,ut.x0),!M))}else t.moveTo(S+G,j+Y),t.arc(S,j,r,O,w,!M);else t.moveTo(S+G,j+Y);if(i>v&&Z)if(F>v){ot=g(k,F),at=g(I,F),st=m(q,X,H,V,i,-at,M),ut=m(G,Y,W,U,i,-ot,M);t.lineTo(S+st.cx+st.x0,j+st.cy+st.y0),F0&&t.arc(S+st.cx,j+st.cy,at,h(st.y0,st.x0),h(st.y1,st.x1),!M),t.arc(S,j,i,h(st.cy+st.y1,st.cx+st.x1),h(ut.cy+ut.y1,ut.cx+ut.x1),M),ot>0&&t.arc(S+ut.cx,j+ut.cy,ot,h(ut.y1,ut.x1),h(ut.y0,ut.x0),!M))}else t.lineTo(S+q,j+X),t.arc(S,j,i,w,O,M);else t.lineTo(S+q,j+X)}else t.moveTo(S,j);t.closePath()}}}var x=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),O=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new x},e.prototype.buildPath=function(t,e){_(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i["b"]);O.prototype.type="sector";e["a"]=O},"4bc4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o}));var r=1,i=2,o=4},"4cb5":function(t,e,n){"use strict";n.d(e,"a",(function(){return it}));var r=n("6d8b"),i=n("9d57"),o=n("fdde"),a=n("9ab4"),s=n("3014"),u=n("1830"),c=n("8918"),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(a["a"])(e,t),e.prototype.getInitialData=function(){return Object(u["a"])(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Object(c["d"])(s["a"].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}),e}(s["a"]),h=l,f=n("cbe5"),d=n("2dc5"),p=n("2306"),g=n("deca"),v=n("c7a2"),y=n("4aa2"),m=n("861c"),b=n("7d6c"),_=n("7837"),x=n("88b3"),O=n("b0af"),w=n("c2be"),S=n("e887"),j=n("5426"),M=n("c775"),T=n("e86a");function C(t,e){e=e||{};var n=e.isRoundCap;return function(e,r,i){var o=r.position;if(!o||o instanceof Array)return Object(T["c"])(e,r,i);var a=t(o),s=null!=r.distance?r.distance:5,u=this.shape,c=u.cx,l=u.cy,h=u.r,f=u.r0,d=(h+f)/2,p=u.startAngle,g=u.endAngle,v=(p+g)/2,y=n?Math.abs(h-f)/2:0,m=Math.cos,b=Math.sin,_=c+h*m(p),x=l+h*b(p),O="left",w="top";switch(a){case"startArc":_=c+(f-s)*m(v),x=l+(f-s)*b(v),O="center",w="top";break;case"insideStartArc":_=c+(f+s)*m(v),x=l+(f+s)*b(v),O="center",w="bottom";break;case"startAngle":_=c+d*m(p)+I(p,s+y,!1),x=l+d*b(p)+D(p,s+y,!1),O="right",w="middle";break;case"insideStartAngle":_=c+d*m(p)+I(p,-s+y,!1),x=l+d*b(p)+D(p,-s+y,!1),O="left",w="middle";break;case"middle":_=c+d*m(v),x=l+d*b(v),O="center",w="middle";break;case"endArc":_=c+(h+s)*m(v),x=l+(h+s)*b(v),O="center",w="bottom";break;case"insideEndArc":_=c+(h-s)*m(v),x=l+(h-s)*b(v),O="center",w="top";break;case"endAngle":_=c+d*m(g)+I(g,s+y,!0),x=l+d*b(g)+D(g,s+y,!0),O="left",w="middle";break;case"insideEndAngle":_=c+d*m(g)+I(g,-s+y,!0),x=l+d*b(g)+D(g,-s+y,!0),O="right",w="middle";break;default:return Object(T["c"])(e,r,i)}return e=e||{},e.x=_,e.y=x,e.align=O,e.verticalAlign=w,e}}function k(t,e,n,i){if(Object(r["isNumber"])(i))t.setTextConfig({rotation:i});else if(Object(r["isArray"])(e))t.setTextConfig({rotation:0});else{var o,a=t.shape,s=a.clockwise?a.startAngle:a.endAngle,u=a.clockwise?a.endAngle:a.startAngle,c=(s+u)/2,l=n(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=c;break;case"startAngle":case"insideStartAngle":o=s;break;case"endAngle":case"insideEndAngle":o=u;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-o;"middle"===l&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}function I(t,e,n){return e*Math.sin(t)*(n?-1:1)}function D(t,e,n){return e*Math.cos(t)*(n?1:-1)}var A=n("e4b8"),P=Math.max,L=Math.min;function R(t,e){var n=t.getArea&&t.getArea();if(Object(j["a"])(t,"cartesian2d")){var r=t.getBaseAxis();if("category"!==r.type||!r.onBand){var i=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var E=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return Object(a["a"])(e,t),e.prototype.render=function(t,e,n,r){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var i=t.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,r))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){Object(p["traverseElements"])(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,r){var i,o=this.group,a=t.getData(),s=this._data,u=t.coordinateSystem,c=u.getBaseAxis();"cartesian2d"===u.type?i=c.isHorizontal():"polar"===u.type&&(i="angle"===c.dim);var l=t.isAnimationEnabled()?t:null,h=z(t,u);h&&this._enableRealtimeSort(h,a,n);var f=t.get("clip",!0)||h,p=R(u,a);o.removeClipPath();var v=t.get("roundCap",!0),y=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),b=m.get("borderRadius")||0,x=[],O=this._backgroundEls,w=r&&r.isInitSort,S=r&&"changeAxisOrder"===r.type;function j(t){var e=G[u.type](a,t),n=nt(u,i,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===u.type?n.setShape("r",b):n.setShape("cornerRadius",b),x[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),r=G[u.type](a,e,n);if(y&&j(e),a.hasValue(e)&&U[u.type](r)){var s=!1;f&&(s=B[u.type](p,r));var d=N[u.type](t,a,e,r,i,l,c.model,!1,v);h&&(d.forceLabelAnimation=!0),X(d,a,e,n,r,t,i,"polar"===u.type),w?d.attr({shape:r}):h?F(h,l,d,r,e,i,!1,!1):Object(g["c"])(d,{shape:r},t,e),a.setItemGraphicEl(e,d),o.add(d),d.ignore=s}})).update((function(e,n){var r=a.getItemModel(e),d=G[u.type](a,e,r);if(y){var M=void 0;0===O.length?M=j(n):(M=O[n],M.useStyle(m.getItemStyle()),"cartesian2d"===u.type?M.setShape("r",b):M.setShape("cornerRadius",b),x[e]=M);var T=G[u.type](a,e),C=et(i,T,u);Object(g["h"])(M,{shape:C},l,e)}var k=s.getItemGraphicEl(n);if(a.hasValue(e)&&U[u.type](d)){var I=!1;if(f&&(I=B[u.type](p,d),I&&o.remove(k)),k?Object(g["g"])(k):k=N[u.type](t,a,e,d,i,l,c.model,!!k,v),h&&(k.forceLabelAnimation=!0),S){var D=k.getTextContent();if(D){var A=Object(_["f"])(D);null!=A.prevValue&&(A.prevValue=A.value)}}else X(k,a,e,r,d,t,i,"polar"===u.type);w?k.attr({shape:d}):h?F(h,l,k,d,e,i,!0,S):Object(g["h"])(k,{shape:d},t,e,null),a.setItemGraphicEl(e,k),k.ignore=I,o.add(k)}else o.remove(k)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Object(g["f"])(n,t,e)})).execute();var M=this._backgroundGroup||(this._backgroundGroup=new d["a"]);M.removeAll();for(var T=0;To)return!0;o=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,r){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var r=e.baseAxis,i=this._dataSort(t,r,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Object(g["f"])(e,t,Object(m["a"])(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(S["a"]),B={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,o=t.y+t.height,a=P(e.x,t.x),s=L(e.x+e.width,i),u=P(e.y,t.y),c=L(e.y+e.height,o),l=si?s:a,e.y=h&&u>o?c:u,e.width=l?0:s-a,e.height=h?0:c-u,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),l||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var i=L(e.r,t.r),o=P(e.r0,t.r0);e.r=i,e.r0=o;var a=i-o<0;if(n<0){r=e.r;e.r=e.r0,e.r0=r}return a}},N={cartesian2d:function(t,e,n,i,o,a,s,u,c){var l=new v["a"]({shape:Object(r["extend"])({},i),z2:1});if(l.__dataIndex=n,l.name="item",a){var h=l.shape,f=o?"height":"width";h[f]=0}return l},polar:function(t,e,n,r,i,o,a,s,u){var c=!i&&u?w["a"]:y["a"],l=new c({shape:r,z2:1});l.name="item";var h=q(i);if(l.calculateTextPosition=C(h,{isRoundCap:c===w["a"]}),o){var f=l.shape,d=i?"r":"endAngle",p={};f[d]=i?r.r0:r.startAngle,p[d]=r[d],(s?g["h"]:g["c"])(l,{shape:p},o)}return l}};function z(t,e){var n=t.get("realtimeSort",!0),r=e.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===e.type)return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function F(t,e,n,r,i,o,a,s){var u,c;o?(c={x:r.x,width:r.width},u={y:r.y,height:r.height}):(c={y:r.y,height:r.height},u={x:r.x,width:r.width}),s||(a?g["h"]:g["c"])(n,{shape:u},e,i,null);var l=e?t.baseAxis.model:null;(a?g["h"]:g["c"])(n,{shape:c},l,i)}function H(t,e){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function Y(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function q(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function X(t,e,n,i,o,a,s,u){var c=e.getItemVisual(n,"style");if(u){if(!a.get("roundCap")){var l=t.shape,h=Object(A["a"])(i.getModel("itemStyle"),l,!0);Object(r["extend"])(l,h),t.setShape(l)}}else{var f=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",f)}t.useStyle(c);var d=i.getShallow("cursor");d&&t.attr("cursor",d);var p=u?s?o.r>=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":s?o.height>=0?"bottom":"top":o.width>=0?"right":"left",g=Object(_["e"])(i);Object(_["g"])(t,g,{labelFetcher:a,labelDataIndex:n,defaultText:Object(M["b"])(a.getData(),n),inheritColor:c.fill,defaultOpacity:c.opacity,defaultOutsidePosition:p});var v=t.getTextContent();if(u&&v){var y=i.get(["label","position"]);t.textConfig.inside="middle"===y||null,k(t,"outside"===y?p:y,q(s),i.get(["label","rotate"]))}Object(_["h"])(v,g,a.getRawValue(n),(function(t){return Object(M["a"])(e,t)}));var m=i.getModel(["emphasis"]);Object(b["J"])(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),Object(b["I"])(t,i),Y(o)&&(t.style.fill="none",t.style.stroke="none",Object(r["each"])(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function Z(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,i,o)}var K=function(){function t(){}return t}(),Q=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return Object(a["a"])(e,t),e.prototype.getDefaultShape=function(){return new K},e.prototype.buildPath=function(t,e){for(var n=e.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,u=0;u=0?n:null}),30,!1);function tt(t,e,n){for(var r=t.baseDimIdx,i=1-r,o=t.shape.points,a=t.largeDataIndices,s=[],u=[],c=t.barWidth,l=0,h=o.length/3;l=s[0]&&e<=s[0]+u[0]&&n>=s[1]&&n<=s[1]+u[1])return a[l]}return-1}function et(t,e,n){if(Object(j["a"])(n,"cartesian2d")){var r=e,i=n.getArea();return{x:t?r.x:i.x,y:t?i.y:r.y,width:t?r.width:i.width,height:t?i.height:r.height}}i=n.getArea();var o=e;return{cx:i.cx,cy:i.cy,r0:t?i.r0:o.r0,r:t?i.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function nt(t,e,n){var r="polar"===t.type?y["a"]:v["a"];return new r({shape:et(e,n,t),silent:!0,z2:0})}var rt=E;function it(t){t.registerChartView(rt),t.registerSeriesModel(h),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,r["curry"](i["c"],"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Object(i["a"])("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Object(o["a"])("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}},"4f85":function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n("9ab4"),i=n("6d8b"),o=n("22d1"),a=n("e0d3"),s=n("6cb7"),u=n("4041"),c=n("38a2"),l=n("f934"),h=n("9fbc"),f=n("625e"),d=n("f72b"),p=n("f6d8"),g=a["o"]();function v(t,e){return t.getName(e)||t.getId(e)}var y="__universalTransitionEnabled",m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return Object(r["a"])(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Object(h["a"])({count:x,reset:O}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var r=g(this).sourceManager=new d["a"](this);r.prepareSource();var i=this.getInitialData(t,n);S(i,this),this.dataTask.context.data=i,g(this).dataBeforeProcessed=i,b(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Object(l["d"])(this),r=n?Object(l["f"])(t):{},o=this.subType;s["a"].hasClass(o)&&(o+="Series"),i["merge"](t,e.getTheme().get(this.subType)),i["merge"](t,this.getDefaultOption()),a["f"](t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Object(l["h"])(t,r,n)},e.prototype.mergeOption=function(t,e){t=i["merge"](this.option,t,!0),this.fillDataTextStyle(t.data);var n=Object(l["d"])(this);n&&Object(l["h"])(this.option,t,n);var r=g(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(t,e);S(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,g(this).dataBeforeProcessed=o,b(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!i["isTypedArray"](t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=u["a"].prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(o)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[v(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[y])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,r,o=this.option,a=o.selectedMode,s=e.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){i["isObject"](o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s["a"].registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(s["a"]);function b(t){var e=t.name;a["n"](t)||(t.name=_(t)||e)}function _(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return i["each"](n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}function x(t){return t.model.getRawData().count()}function O(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function S(t,e){i["each"](i["concatArray"](t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,i["curry"](j,e))}))}function j(t,e){var n=M(t);return n&&n.setOutputEnd((e||this).count()),e}function M(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}i["mixin"](m,c["a"]),i["mixin"](m,u["a"]),Object(f["e"])(m,s["a"]),e["b"]=m},"4fac":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("401b");function i(t,e,n,i){var o,a,s,u,c=[],l=[],h=[],f=[];if(i){s=[1/0,1/0],u=[-1/0,-1/0];for(var d=0,p=t.length;d=2){if(r){var a=i(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,u=0;u<(n?s:s-1);u++){var c=a[2*u],l=a[2*u+1],h=o[(u+1)%s];t.bezierCurveTo(c[0],c[1],l[0],l[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;u0))}function v(t){return"string"===typeof t&&"none"!==t}function y(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function b(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function _(t,e,n){var r=Object(o["a"])(e.image,e.__image,n);if(Object(o["c"])(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"===typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*l["RADIAN_TO_DEGREE"]),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}function x(t,e,n,r){var i,o=g(n),s=y(n),u=n.strokePercent,c=u<1,l=!e.path;e.silent&&!c||!l||e.createPathProxy();var d=e.path||p,v=e.__dirty;if(!r){var x=n.fill,O=n.stroke,w=s&&!!x.colorStops,S=o&&!!O.colorStops,j=s&&!!x.image,M=o&&!!O.image,T=void 0,C=void 0,k=void 0,I=void 0,D=void 0;(w||S)&&(D=e.getBoundingRect()),w&&(T=v?Object(a["a"])(t,x,D):e.__canvasFillGradient,e.__canvasFillGradient=T),S&&(C=v?Object(a["a"])(t,O,D):e.__canvasStrokeGradient,e.__canvasStrokeGradient=C),j&&(k=v||!e.__canvasFillPattern?_(t,x,e):e.__canvasFillPattern,e.__canvasFillPattern=k),M&&(I=v||!e.__canvasStrokePattern?_(t,O,e):e.__canvasStrokePattern,e.__canvasStrokePattern=k),w?t.fillStyle=T:j&&(k?t.fillStyle=k:s=!1),S?t.strokeStyle=C:M&&(I?t.strokeStyle=I:o=!1)}var A,P,L=e.getGlobalScale();d.setScale(L[0],L[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(i=Object(h["a"])(e),A=i[0],P=i[1]);var R=!0;(l||v&f["b"])&&(d.setDPR(t.dpr),c?d.setContext(null):(d.setContext(t),R=!1),d.reset(),e.buildPath(d,e.shape,r),d.toStatic(),e.pathUpdated()),R&&d.rebuildPath(t,c?u:1),A&&(t.setLineDash(A),t.lineDashOffset=P),r||(n.strokeFirst?(o&&b(t,n),s&&m(t,n)):(s&&m(t,n),o&&b(t,n))),A&&t.setLineDash([])}function O(t,e,n){var r=e.__image=Object(o["a"])(n.image,e.__image,e,e.onload);if(r&&Object(o["c"])(r)){var i=n.x||0,a=n.y||0,s=e.getWidth(),u=e.getHeight(),c=r.width/r.height;if(null==s&&null!=u?s=u*c:null==u&&null!=s?u=s/c:null==s&&null==u&&(s=r.width,u=r.height),n.sWidth&&n.sHeight){var l=n.sx||0,h=n.sy||0;t.drawImage(r,l,h,n.sWidth,n.sHeight,i,a,s,u)}else if(n.sx&&n.sy){l=n.sx,h=n.sy;var f=s-l,d=u-h;t.drawImage(r,l,h,f,d,i,a,s,u)}else t.drawImage(r,i,a,s,u)}}function w(t,e,n){var r,i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||d["a"],t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(r=Object(h["a"])(e),o=r[0],a=r[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(g(n)&&t.strokeText(i,n.x,n.y),y(n)&&t.fillText(i,n.x,n.y)):(y(n)&&t.fillText(i,n.x,n.y),g(n)&&t.strokeText(i,n.x,n.y)),o&&t.setLineDash([])}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],j=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function M(t,e,n,i,o){var a=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){B(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?r["b"].opacity:s}(i||e.blend!==n.blend)&&(a||(B(t,o),a=!0),t.globalCompositeOperation=e.blend||r["b"].blend);for(var u=0;u0&&u>0&&!c&&(s=0),s<0&&u<0&&!l&&(u=0));var f=this._determinedMin,d=this._determinedMax;return null!=f&&(s=f,c=!0),null!=d&&(u=d,l=!0),{min:s,max:u,minFixed:c,maxFixed:l,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=a[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function u(t,e,n){var r=t.rawExtentInfo;return r||(r=new o(t,e,n),t.rawExtentInfo=r,r)}function c(t,e){return null==e?null:Object(r["eqNaN"])(e)?NaN:t.parse(e)}},5426:function(t,e,n){"use strict";function r(t,e){return t.type===e}n.d(e,"a",(function(){return r}))},"551f":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n("282b"),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=Object(r["a"])(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},"58c9":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var r={};function i(t,e){r[t]=e}function o(t){return r[t]}},"5e76":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return c}));var r=n("d51b"),i=n("726e"),o=new r["a"](50);function a(t){if("string"===typeof t){var e=o.get(t);return e&&e.image}return t}function s(t,e,n,r,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),l={hostEl:n,cb:r,cbPayload:a};return s?(e=s.image,!c(e)&&s.pending.push(l)):(e=i["d"].loadImage(t,u,u),e.__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[l]})),e}return t}return e}function u(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=0;if(i){var a="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];a&&u(t,a,e,n)}else{u(t,e,e,n);var s=f(e);e.zrDelta=s?s/120:-(e.detail||0)/3}var c=e.button;return null==e.which&&void 0!==c&&o.test(e.type)&&(e.which=1&c?1:2&c?3:4&c?2:0),e}function f(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;if(null==n||null==r)return e;var i=0!==r?Math.abs(r):Math.abs(n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function d(t,e,n,r){t.addEventListener(e,n,r)}function p(t,e,n,r){t.removeEventListener(e,n,r)}var g=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function v(t){return 2===t.which||3===t.which}},"625e":function(t,e,n){"use strict";n.d(e,"f",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return m}));var r=n("9ab4"),i=n("6d8b"),o=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function u(t){var e={main:"",sub:""};if(t){var n=t.split(o);e.main=n[0]||"",e.sub=n[1]||""}return e}function c(t){i["assert"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function l(t){return!(!t||!t[s])}function h(t,e){t.$constructor=t,t.extend=function(t){var e,n=this;return f(n)?e=function(t){function e(){return t.apply(this,arguments)||this}return Object(r["a"])(e,t),e}(n):(e=function(){(t.$constructor||n).apply(this,arguments)},i["inherits"](e,this)),i["extend"](e.prototype,t),e[s]=!0,e.extend=this.extend,e.superCall=v,e.superApply=y,e.superClass=n,e}}function f(t){return i["isFunction"](t)&&/^class\s/.test(Function.prototype.toString.call(t))}function d(t,e){t.extend=e.extend}var p=Math.round(10*Math.random());function g(t){var e=["__\0is_clz",p++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function v(t,e){for(var n=[],r=2;r>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[u]+":0",i[c]+":0",r[1-u]+":auto",i[1-c]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function f(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,s=[],u=[],c=!0,l=0;l<4;l++){var h=t[l].getBoundingClientRect(),f=2*l,d=h.left,p=h.top;s.push(d,p),c=c&&o&&d===o[f]&&p===o[f+1],u.push(t[l].offsetLeft,t[l].offsetTop)}return c&&i?i:(e.srcCoords=s,e[r]=n?a(u,s):a(s,u))}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,g={"&":"&","<":"<",">":">",'"':""","'":"'"};function v(t){return null==t?"":(t+"").replace(p,(function(t,e){return g[e]}))}},6679:function(t,e,n){"use strict";var r=n("9ab4"),i=n("cd33"),o=n("b12f"),a={},s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(r["a"])(e,t),e.prototype.render=function(e,n,r,o){this.axisPointerClass&&i["b"](e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,r,!0)},e.prototype.updateAxisPointer=function(t,e,n,r){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,r){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=i["d"](t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,r):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o["a"]);e["a"]=s},"68ab":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("4a3f");function i(t,e,n,i,o,a,s,u,c){if(0===s)return!1;var l=s;if(c>e+l&&c>i+l&&c>a+l||ct+l&&u>n+l&&u>o+l||u0)r*=10;var o=[h["w"](y(e[0]/r)*r),h["w"](v(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){p.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=b(t)/b(this.base),f["a"](t,this._extent)},e.prototype.normalize=function(t){return t=b(t)/b(this.base),f["f"](t,this._extent)},e.prototype.scale=function(t){return t=f["g"](t,this._extent),m(this.base,t)},e.type="log",e}(a["a"]),x=_.prototype;function O(t,e){return g(t,h["h"](e))}x.getMinorTicks=p.getMinorTicks,x.getLabel=p.getLabel,a["a"].registerClass(_);var w=_,S=n("ee1a"),j=n("538f");function M(t,e){var n=t.type,i=Object(j["a"])(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var o=i.min,a=i.max,u=e.ecModel;if(u&&"time"===n){var c=Object(s["e"])("bar",u),l=!1;if(r["each"](c,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var h=Object(s["d"])(c),f=T(o,a,e,h);o=f.min,a=f.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function T(t,e,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],u=Object(s["f"])(i,n.axis);if(void 0===u)return{min:t,max:e};var c=1/0;r["each"](u,(function(t){c=Math.min(t.offset,c)}));var l=-1/0;r["each"](u,(function(t){l=Math.max(t.offset+t.width,l)})),c=Math.abs(c),l=Math.abs(l);var h=c+l,f=e-t,d=1-(c+l)/a,p=f/d-f;return e+=p*(l/h),t-=p*(c/h),{min:t,max:e}}function C(t,e){var n=e,r=M(t,n),i=r.extent,o=n.get("splitNumber");t instanceof w&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),u="interval"===a||"time"===a;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:u?n.get("minInterval"):null,maxInterval:u?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function k(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new i["a"]({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new c["a"]({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(a["a"].getClass(e)||o["a"])}}function I(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}function D(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,r){return t.scale.getFormattedLabel(n,r,e)}}(e):r["isString"](e)?function(e){return function(n){var r=t.scale.getLabel(n),i=e.replace("{value}",null!=r?r:"");return i}}(e):r["isFunction"](e)?function(e){return function(r,i){return null!=n&&(i=r.value-n),e(A(t,r),i,null!=r.level?{level:r.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function A(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function P(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var r,o,a=n.getExtent();n instanceof i["a"]?o=n.count():(r=n.getTicks(),o=r.length);var s,u=t.getLabelModel(),c=D(t),l=1;o>40&&(l=Math.ceil(o/40));for(var h=0;ht[1]&&(t[1]=r[1])}))}},"697e7":function(t,e,n){"use strict";n.r(e),n.d(e,"init",(function(){return gt})),n.d(e,"dispose",(function(){return vt})),n.d(e,"disposeAll",(function(){return yt})),n.d(e,"getInstance",(function(){return mt})),n.d(e,"registerPainter",(function(){return bt})),n.d(e,"version",(function(){return _t}));var r=n("22d1"),i=n("6d8b"),o=n("9ab4"),a=n("401b"),s=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),u=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new s(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,e.drift(i,o,t),this.handler.dispatchToElement(new s(e,t),"drag",t.event);var a=this.handler.findHover(n,r,e).target,u=this._dropTarget;this._dropTarget=a,e!==a&&(u&&a!==u&&this.handler.dispatchToElement(new s(u,t),"dragleave",t.event),a&&a!==u&&this.handler.dispatchToElement(new s(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new s(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),c=u,l=n("6fd3"),h=n("607d"),f=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},o=0,a=r.length;o1&&r&&r.length>1){var o=d(r)/d(i);!isFinite(o)&&(o=1),e.pinchScale=o;var a=p(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},v=n("9850"),y="silent";function m(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:b}}function b(){h["g"](this.event)}var _=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Object(o["a"])(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(l["a"]),x=function(){function t(t,e){this.x=t,this.y=e}return t}(),O=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],w=new v["a"](0,0,0,0),S=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._hovered=new x(0,0),a.storage=e,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new _,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new c(a),a}return Object(o["a"])(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(i["each"](O,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,r=T(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?new x(e,n):this.findHover(e,n),s=a.target,u=this.proxy;u.setCursor&&u.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new x(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var r=t.target;if(!r||!r.silent){var i="on"+e,o=m(e,t,n);while(r)if(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(e,o),r=r.__hostTarget?r.__hostTarget:r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var r=this.storage.getDisplayList(),i=new x(t,e);if(M(r,i,t,e,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,u=new v["a"](t-s,e-s,a,a),c=r.length-1;c>=0;c--){var l=r[c];l===n||l.ignore||l.ignoreCoarsePointer||l.parent&&l.parent.ignoreCoarsePointer||(w.copy(l.getBoundingRect()),l.transform&&w.applyTransform(l.transform),w.intersect(u)&&o.push(l))}if(o.length)for(var h=4,f=Math.PI/12,d=2*Math.PI,p=0;p=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=j(a,n,r))&&(!e.topTarget&&(e.topTarget=a),s!==y)){e.target=a;break}}}function T(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}i["each"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){S.prototype[t]=function(e){var n,r,i=e.zrX,o=e.zrY,s=T(this,i,o);if("mouseup"===t&&s||(n=this.findHover(i,o),r=n.target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a["dist"](this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var C=S,k=n("04f6"),I=n("4bc4"),D=!1;function A(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var L=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(c.__clipPaths=[]),isNaN(c.z)&&(A(),c.z=0),isNaN(c.z2)&&(A(),c.z2=0),isNaN(c.zlevel)&&(A(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var l=t.getDecalElement&&t.getDecalElement();l&&this._updateAndAddDisplayable(l,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(r,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),R=L,E=n("98b7"),B=n("06ad");function N(){return(new Date).getTime()}var z=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return Object(o["a"])(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=N()-this._pausedTime,n=e-this._time,r=this._head;while(r){var i=r.next,o=r.step(e,n);o?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Object(E["a"])(e),!t._paused&&t.update())}this._running=!0,Object(E["a"])(e)},e.prototype.start=function(){this._running||(this._time=N(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=N(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=N()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new B["b"](t,e.loop);return this.addAnimator(n),n},e}(l["a"]),F=z,H=300,V=r["a"].domSupported,W=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=i["map"](t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:r}}(),U={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},G=!1;function Y(t){var e=t.pointerType;return"pen"===e||"touch"===e}function q(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function X(t){t&&(t.zrByTouch=!0)}function Z(t,e){return Object(h["e"])(t.dom,new Q(t,e),!0)}function K(t,e){var n=e,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return r}var Q=function(){function t(t,e){this.stopPropagation=i["noop"],this.stopImmediatePropagation=i["noop"],this.preventDefault=i["noop"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),$={mousedown:function(t){t=Object(h["e"])(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Object(h["e"])(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Object(h["e"])(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Object(h["e"])(this.dom,t);var e=t.toElement||t.relatedTarget;K(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){G=!0,t=Object(h["e"])(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){G||(t=Object(h["e"])(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Object(h["e"])(this.dom,t),X(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),$.mousemove.call(this,t),$.mousedown.call(this,t)},touchmove:function(t){t=Object(h["e"])(this.dom,t),X(t),this.handler.processGesture(t,"change"),$.mousemove.call(this,t)},touchend:function(t){t=Object(h["e"])(this.dom,t),X(t),this.handler.processGesture(t,"end"),$.mouseup.call(this,t),+new Date-+this.__lastTouchMoment0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e=0;u--)a=i["merge"](a,n[u],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return Object(u["v"])(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(o["a"]);function f(t){var e=[];return i["each"](h.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=i["map"](e,(function(t){return Object(s["f"])(t).main})),"dataset"!==t&&i["indexOf"](e,"dataset")<=0&&e.unshift("dataset"),e}Object(s["e"])(h,o["a"]),Object(s["c"])(h),a["a"](h),a["b"](h,f),e["a"]=h},"6d8b":function(t,e,n){"use strict";n.r(e),n.d(e,"guid",(function(){return v})),n.d(e,"logError",(function(){return y})),n.d(e,"clone",(function(){return m})),n.d(e,"merge",(function(){return b})),n.d(e,"mergeAll",(function(){return _})),n.d(e,"extend",(function(){return x})),n.d(e,"defaults",(function(){return O})),n.d(e,"createCanvas",(function(){return w})),n.d(e,"indexOf",(function(){return S})),n.d(e,"inherits",(function(){return j})),n.d(e,"mixin",(function(){return M})),n.d(e,"isArrayLike",(function(){return T})),n.d(e,"each",(function(){return C})),n.d(e,"map",(function(){return k})),n.d(e,"reduce",(function(){return I})),n.d(e,"filter",(function(){return D})),n.d(e,"find",(function(){return A})),n.d(e,"keys",(function(){return P})),n.d(e,"bind",(function(){return R})),n.d(e,"curry",(function(){return E})),n.d(e,"isArray",(function(){return B})),n.d(e,"isFunction",(function(){return N})),n.d(e,"isString",(function(){return z})),n.d(e,"isStringSafe",(function(){return F})),n.d(e,"isNumber",(function(){return H})),n.d(e,"isObject",(function(){return V})),n.d(e,"isBuiltInObject",(function(){return W})),n.d(e,"isTypedArray",(function(){return U})),n.d(e,"isDom",(function(){return G})),n.d(e,"isGradientObject",(function(){return Y})),n.d(e,"isImagePatternObject",(function(){return q})),n.d(e,"isRegExp",(function(){return X})),n.d(e,"eqNaN",(function(){return Z})),n.d(e,"retrieve",(function(){return K})),n.d(e,"retrieve2",(function(){return Q})),n.d(e,"retrieve3",(function(){return $})),n.d(e,"slice",(function(){return J})),n.d(e,"normalizeCssArray",(function(){return tt})),n.d(e,"assert",(function(){return et})),n.d(e,"trim",(function(){return nt})),n.d(e,"setAsPrimitive",(function(){return it})),n.d(e,"isPrimitive",(function(){return ot})),n.d(e,"HashMap",(function(){return ct})),n.d(e,"createHashMap",(function(){return lt})),n.d(e,"concatArray",(function(){return ht})),n.d(e,"createObject",(function(){return ft})),n.d(e,"disableUserSelect",(function(){return dt})),n.d(e,"hasOwn",(function(){return pt})),n.d(e,"noop",(function(){return gt})),n.d(e,"RADIAN_TO_DEGREE",(function(){return vt}));var r=n("726e"),i=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,u=s.forEach,c=s.filter,l=s.slice,h=s.map,f=function(){}.constructor,d=f?f.prototype:null,p="__proto__",g=2311;function v(){return g++}function y(){for(var t=[],e=0;e=0)c=u*n.length;else for(var f=0;f0,N=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),z=a.calculatedLineHeight,F=0;F=0&&(A=O[D],"right"===A.align))this._placeToken(A,t,S,y,I,"right",b),j-=A.width,I-=A.width,D--;T+=(r-(T-v)-(m-I)-j)/2;while(M<=D)A=O[M],this._placeToken(A,t,S,y,T+A.width/2,"center",b),T+=A.width,M++;y+=S}},e.prototype._placeToken=function(t,e,n,r,i,u,c){var h=e.rich[t.styleName]||{};h.text=t.text;var d=t.verticalAlign,g=r+n/2;"top"===d?g=r+t.height/2:"bottom"===d&&(g=r+n-t.height/2);var v=!t.isLineHolder&&k(h);v&&this._renderBackground(h,e,"right"===u?i-t.width:"center"===u?i-t.width/2:i,g-t.height/2,t.width,t.height);var y=!!h.backgroundColor,m=t.textPadding;m&&(i=T(i,u,m),g-=t.height/2-m[0]-t.innerHeight/2);var b=this._getOrCreateChild(o["a"]),_=b.createStyle();b.useStyle(_);var O=this._defaultStyle,w=!1,S=0,C=M("fill"in h?h.fill:"fill"in e?e.fill:(w=!0,O.fill)),I=j("stroke"in h?h.stroke:"stroke"in e?e.stroke:y||c||O.autoStroke&&!w?null:(S=p,O.stroke)),D=h.textShadowBlur>0||e.textShadowBlur>0;_.text=t.text,_.x=i,_.y=g,D&&(_.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,_.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",_.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,_.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),_.textAlign=u,_.textBaseline="middle",_.font=t.font||f["a"],_.opacity=Object(a["retrieve3"])(h.opacity,e.opacity,1),x(_,h),I&&(_.lineWidth=Object(a["retrieve3"])(h.lineWidth,e.lineWidth,S),_.lineDash=Object(a["retrieve2"])(h.lineDash,e.lineDash),_.lineDashOffset=e.lineDashOffset||0,_.stroke=I),C&&(_.fill=C);var A=t.contentWidth,P=t.contentHeight;b.setBoundingRect(new l["a"](Object(s["a"])(_.x,A,_.textAlign),Object(s["b"])(_.y,P,_.textBaseline),A,P))},e.prototype._renderBackground=function(t,e,n,r,i,o){var s,l,h=t.backgroundColor,f=t.borderWidth,d=t.borderColor,p=h&&h.image,g=h&&!p,v=t.borderRadius,y=this;if(g||t.lineHeight||f&&d){s=this._getOrCreateChild(c["a"]),s.useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=n,m.y=r,m.width=i,m.height=o,m.r=v,s.dirtyShape()}if(g){var b=s.style;b.fill=h||null,b.fillOpacity=Object(a["retrieve2"])(t.fillOpacity,1)}else if(p){l=this._getOrCreateChild(u["a"]),l.onload=function(){y.dirtyStyle()};var _=l.style;_.image=h.image,_.x=n,_.y=r,_.width=i,_.height=o}if(f&&d){b=s.style;b.lineWidth=f,b.stroke=d,b.strokeOpacity=Object(a["retrieve2"])(t.strokeOpacity,1),b.lineDash=t.borderDash,b.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(b.strokeFirst=!0,b.lineWidth*=2)}var x=(s||l).style;x.shadowBlur=t.shadowBlur||0,x.shadowColor=t.shadowColor||"transparent",x.shadowOffsetX=t.shadowOffsetX||0,x.shadowOffsetY=t.shadowOffsetY||0,x.opacity=Object(a["retrieve3"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return O(t)&&(e=[t.fontStyle,t.fontWeight,_(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(a["trim"])(e)||t.textFont||t.font},e}(h["c"]),y={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},b=["fontStyle","fontWeight","fontSize","fontFamily"];function _(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?f["c"]+"px":t+"px":t}function x(t,e){for(var n=0;n-1){var n=Object(i["parse"])(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var u=1e-4;function c(t){return t-u}function l(t){return a(1e3*t)/1e3}function h(t){return a(1e4*t)/1e4}function f(t){return"matrix("+l(t[0])+","+l(t[1])+","+l(t[2])+","+l(t[3])+","+h(t[4])+","+h(t[5])+")"}var d={left:"start",right:"end",center:"middle",middle:"middle"};function p(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function g(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function v(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function y(t){return t&&!!t.image}function m(t){return t&&!!t.svgElement}function b(t){return y(t)||m(t)}function _(t){return"linear"===t.type}function x(t){return"radial"===t.type}function O(t){return t&&("linear"===t.type||"radial"===t.type)}function w(t){return"url(#"+t+")"}function S(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function j(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*r["RADIAN_TO_DEGREE"],o=Object(r["retrieve2"])(t.scaleX,1),s=Object(r["retrieve2"])(t.scaleY,1),u=t.skewX||0,c=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===o&&1===s||l.push("scale("+o+","+s+")"),(u||c)&&l.push("skew("+a(u*r["RADIAN_TO_DEGREE"])+"deg, "+a(c*r["RADIAN_TO_DEGREE"])+"deg)"),l.join(" ")}var M=function(){return o["a"].hasGlobalWindow&&Object(r["isFunction"])(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!==typeof t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(this,n("b639").Buffer)},"7d6c":function(t,e,n){"use strict";n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return g})),n.d(e,"g",(function(){return v})),n.d(e,"a",(function(){return y})),n.d(e,"j",(function(){return m})),n.d(e,"c",(function(){return _})),n.d(e,"b",(function(){return x})),n.d(e,"f",(function(){return O})),n.d(e,"i",(function(){return w})),n.d(e,"h",(function(){return S})),n.d(e,"H",(function(){return B})),n.d(e,"G",(function(){return W})),n.d(e,"r",(function(){return Y})),n.d(e,"C",(function(){return q})),n.d(e,"q",(function(){return X})),n.d(e,"B",(function(){return Z})),n.d(e,"s",(function(){return K})),n.d(e,"D",(function(){return Q})),n.d(e,"k",(function(){return J})),n.d(e,"l",(function(){return et})),n.d(e,"m",(function(){return nt})),n.d(e,"t",(function(){return rt})),n.d(e,"x",(function(){return it})),n.d(e,"w",(function(){return ot})),n.d(e,"K",(function(){return at})),n.d(e,"L",(function(){return st})),n.d(e,"u",(function(){return ut})),n.d(e,"o",(function(){return ct})),n.d(e,"J",(function(){return ht})),n.d(e,"p",(function(){return ft})),n.d(e,"I",(function(){return gt})),n.d(e,"F",(function(){return vt})),n.d(e,"y",(function(){return yt})),n.d(e,"n",(function(){return mt})),n.d(e,"v",(function(){return bt})),n.d(e,"A",(function(){return _t})),n.d(e,"z",(function(){return xt})),n.d(e,"E",(function(){return Ot}));var r=n("d51b"),i=n("6d8b"),o=n("861c"),a=n("41ef"),s=n("e0d3"),u=n("cbe5"),c=1,l={},h=Object(s["o"])(),f=Object(s["o"])(),d=0,p=1,g=2,v=["emphasis","blur","select"],y=["normal","emphasis","blur","select"],m=10,b=9,_="highlight",x="downplay",O="select",w="unselect",S="toggleSelect";function j(t){return null!=t&&"none"!==t}var M=new r["a"](100);function T(t){if(Object(i["isString"])(t)){var e=M.get(t);return e||(e=a["lift"](t,-.1),M.put(t,e)),e}if(Object(i["isGradientObject"])(t)){var n=Object(i["extend"])({},t);return n.colorStops=Object(i["map"])(t.colorStops,(function(t){return{offset:t.offset,color:a["lift"](t.color,-.1)}})),n}return t}function C(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function k(t){C(t,"emphasis",g)}function I(t){t.hoverState===g&&C(t,"normal",d)}function D(t){C(t,"blur",p)}function A(t){t.hoverState===p&&C(t,"normal",d)}function P(t){t.selected=!0}function L(t){t.selected=!1}function R(t,e,n){e(t,n)}function E(t,e,n){R(t,e,n),t.isGroup&&t.traverse((function(t){R(t,e,n)}))}function B(t,e){switch(e){case"emphasis":t.hoverState=g;break;case"normal":t.hoverState=d;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function N(t,e,n,r){for(var i=t.style,o={},a=0;a=0,a=!1;if(t instanceof u["b"]){var s=h(t),c=o&&s.selectFill||s.normalFill,l=o&&s.selectStroke||s.normalStroke;if(j(c)||j(l)){r=r||{};var f=r.style||{};"inherit"===f.fill?(a=!0,r=Object(i["extend"])({},r),f=Object(i["extend"])({},f),f.fill=c):!j(f.fill)&&j(c)?(a=!0,r=Object(i["extend"])({},r),f=Object(i["extend"])({},f),f.fill=T(c)):!j(f.stroke)&&j(l)&&(a||(r=Object(i["extend"])({},r),f=Object(i["extend"])({},f)),f.stroke=T(l)),r.style=f}}if(r&&null==r.z2){a||(r=Object(i["extend"])({},r));var d=t.z2EmphasisLift;r.z2=t.z2+(null!=d?d:m)}return r}function F(t,e,n){if(n&&null==n.z2){n=Object(i["extend"])({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:b)}return n}function H(t,e,n){var r=Object(i["indexOf"])(t.currentStates,e)>=0,o=t.style.opacity,a=r?null:N(t,["opacity"],e,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=Object(i["extend"])({},n),s=Object(i["extend"])({opacity:r?o:.1*a.opacity},s),n.style=s),n}function V(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return z(this,t,e,n);if("blur"===t)return H(this,t,n);if("select"===t)return F(this,t,n)}return n}function W(t){t.stateProxy=V;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=V),n&&(n.stateProxy=V)}function U(t,e){!$(t,e)&&!t.__highByOuter&&E(t,k)}function G(t,e){!$(t,e)&&!t.__highByOuter&&E(t,I)}function Y(t,e){t.__highByOuter|=1<<(e||0),E(t,k)}function q(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&E(t,I)}function X(t){E(t,D)}function Z(t){E(t,A)}function K(t){E(t,P)}function Q(t){E(t,L)}function $(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function J(t){var e=t.getModel(),n=[],r=[];e.eachComponent((function(e,i){var o=f(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(t){A(t)})),a&&n.push(i)),o.isBlured=!1})),Object(i["each"])(r,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function tt(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(o.dataType=r),e.push(o)}}))})),e}function ct(t,e,n){vt(t,!0),E(t,W),ft(t,e,n)}function lt(t){vt(t,!1)}function ht(t,e,n,r){r?lt(t):ct(t,e,n)}function ft(t,e,n){var r=Object(o["a"])(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var dt=["emphasis","blur","select"],pt={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function gt(t,e,n,r){n=n||"itemStyle";for(var i=0;i30}},"80f0":function(t,e,n){"use strict";function r(t){return null==t?0:t.length||1}function i(t){return t}var o=function(){function t(t,e,n,r,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),o=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a1){var l=u.shift();1===u.length&&(n[s]=u[0]),this._update&&this._update(l,a)}else 1===c?(n[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s1&&1===f)this._updateManyToOne&&this._updateManyToOne(l,c),i[u]=null;else if(1===h&&f>1)this._updateOneToMany&&this._updateOneToMany(l,c),i[u]=null;else if(1===h&&1===f)this._update&&this._update(l,c),i[u]=null;else if(h>1&&f>1)this._updateManyToMany&&this._updateManyToMany(l,c),i[u]=null;else if(h>1)for(var d=0;d1)for(var s=0;s40&&(l=Math.max(1,Math.floor(c/40)));for(var h=a[0],f=t.dataToCoord(h+1)-t.dataToCoord(h),d=Math.abs(f*Math.cos(r)),p=Math.abs(f*Math.sin(r)),g=0,v=0;h<=a[1];h+=l){var y=0,m=0,b=o["d"](n({value:h}),e.font,"center","top");y=1.3*b.width,m=1.3*b.height,g=Math.max(g,y,7),v=Math.max(v,m,7)}var x=g/d,O=v/p;isNaN(x)&&(x=1/0),isNaN(O)&&(O=1/0);var w=Math.max(0,Math.floor(Math.min(x,O))),S=u(t.model),j=t.getExtent(),M=S.lastAutoInterval,T=S.lastTickCount;return null!=M&&null!=T&&Math.abs(M-w)<=1&&Math.abs(T-c)<=1&&M>w&&S.axisExtent0===j[0]&&S.axisExtent1===j[1]?w=M:(S.lastTickCount=c,S.lastAutoInterval=w,S.axisExtent0=j[0],S.axisExtent1=j[1]),w}function _(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function x(t,e,n){var r=Object(s["h"])(t),i=t.scale,o=i.getExtent(),a=t.getLabelModel(),u=[],c=Math.max((e||0)+1,1),l=o[0],h=i.count();0!==l&&c>1&&h/c>2&&(l=Math.round(Math.ceil(l/c)*c));var f=Object(s["j"])(t),d=a.get("showMinLabel")||f,p=a.get("showMaxLabel")||f;d&&l!==o[0]&&v(o[0]);for(var g=l;g<=o[1];g+=c)v(g);function v(t){var e={value:t};u.push(n?t:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:t})}return p&&g-c!==o[1]&&v(o[1]),u}function O(t,e,n){var i=t.scale,o=Object(s["h"])(t),a=[];return r["each"](i.getTicks(),(function(t){var r=i.getLabel(t),s=t.value;e(t.value,r)&&a.push(n?s:{formattedLabel:o(t),rawLabel:r,tickValue:s})})),a}var w=[0,1],S=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return t>=n&&t<=r},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Object(i["g"])(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&(n=n.slice(),j(n,r.count())),Object(i["m"])(t,w,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),j(n,r.count()));var o=Object(i["m"])(t,n,w,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=l(this,e),i=n.ticks,o=Object(r["map"])(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),a=e.get("alignWithLabel");return M(this,o,a,t.clamp),o},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=Object(r["map"])(n,(function(t){return Object(r["map"])(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return c(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},t.prototype.calculateCategoryInterval=function(){return b(this)},t}();function j(t,e){var n=t[1]-t[0],r=e,i=n/r/2;t[0]+=i,t[1]-=i}function M(t,e,n,o){var a=e.length;if(t.onBand&&!n&&a){var s,u,c=t.getExtent();if(1===a)e[0].coord=c[0],s=e[1]={coord:c[1]};else{var l=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/l;Object(r["each"])(e,(function(t){t.coord-=h/2}));var f=t.scale.getExtent();u=1+f[1]-e[a-1].tickValue,s={coord:e[a-1].coord+h*u},e.push(s)}var d=c[0]>c[1];p(e[0].coord,c[0])&&(o?e[0].coord=c[0]:e.shift()),o&&p(c[0],e[0].coord)&&e.unshift({coord:c[0]}),p(c[1],s.coord)&&(o?s.coord=c[1]:e.pop()),o&&p(s.coord,c[1])&&e.push({coord:c[1]})}function p(t,e){return t=Object(i["w"])(t),e=Object(i["w"])(e),d?t>e:ta||t<-a}var u=[],c=[],l=r["create"](),h=Math.abs,f=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||r["create"](),e?this.getLocalTransform(n):o(n),t&&(e?r["mul"](n,t,n):r["copy"](n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(o(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(u);var n=u[0]<0?-1:1,i=u[1]<0?-1:1,o=((u[0]-n)*e+n)/u[0]||0,a=((u[1]-i)*e+i)/u[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||r["create"](),r["invert"](this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(r["mul"](c,t.invTransform,e),e=c);var n=this.originX,i=this.originY;(n||i)&&(l[4]=n,l[5]=i,r["mul"](c,e,l),c[4]-=n,c[5]-=i,e=c),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&i["applyTransform"](n,n,r),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i["applyTransform"](n,n,r),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){p(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,u=t.anchorY,c=t.rotation||0,l=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||u){var p=n+s,g=i+u;e[4]=-p*o-f*g*a,e[5]=-g*a-d*p*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=f*a,c&&r["rotate"](e,e,c),e[4]+=n+l,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),d=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function p(t,e){for(var n=0;ne&&o>r||oi?s:0}n.d(e,"a",(function(){return r}))},"87b1":function(t,e,n){"use strict";var r=n("9ab4"),i=n("cbe5"),o=n("4fac"),a=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o["a"](t,e,!0)},e}(i["b"]);s.prototype.type="polygon",e["a"]=s},"88b3":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return u}));var r="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var r,i,o,a,s,u=0,c=0,l=null;function h(){c=(new Date).getTime(),l=null,t.apply(o,a||[])}e=e||0;var f=function(){for(var t=[],f=0;f=0?h():l=setTimeout(h,-i),u=r};return f.clear=function(){l&&(clearTimeout(l),l=null)},f.debounceNextCall=function(t){s=t},f}function s(t,e,n,s){var u=t[e];if(u){var c=u[r]||u,l=u[o],h=u[i];if(h!==n||l!==s){if(null==n||!s)return t[e]=c;u=t[e]=a(c,n,"debounce"===s),u[r]=c,u[o]=s,u[i]=n}return u}}function u(t,e){var n=t[e];n&&n[r]&&(n.clear&&n.clear(),t[e]=n[r])}},8918:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return c}));var r=n("6d8b"),i=n("625e"),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){var r=Object(i["f"])(t);e[r.main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=Object(i["f"])(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](r))}return o}}function u(t,e){function n(t){var n={},a=[];return r["each"](t,(function(s){var u=i(n,s),c=u.originalDeps=e(s),l=o(c,t);u.entryCount=l.length,0===u.entryCount&&a.push(s),r["each"](l,(function(t){r["indexOf"](u.predecessor,t)<0&&u.predecessor.push(t);var e=i(n,t);r["indexOf"](e.successor,t)<0&&e.successor.push(s)}))})),{graph:n,noEntryList:a}}function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var n=[];return r["each"](t,(function(t){r["indexOf"](e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,o){if(t.length){var a=n(e),s=a.graph,u=a.noEntryList,c={};r["each"](t,(function(t){c[t]=!0}));while(u.length){var l=u.pop(),h=s[l],f=!!c[l];f&&(i.call(o,l,h.originalDeps.slice()),delete c[l]),r["each"](h.successor,f?p:d)}r["each"](c,(function(){var t="";throw new Error(t)}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&u.push(t)}function p(t){c[t]=!0,d(t)}}}function c(t,e){return r["merge"](r["merge"]({},t,!0),e,!0)}},"89b6":function(t,e,n){"use strict";n.d(e,"e",(function(){return C})),n.d(e,"c",(function(){return D})),n.d(e,"b",(function(){return A})),n.d(e,"d",(function(){return R})),n.d(e,"a",(function(){return E}));var r=n("dce8"),i=n("cbe5"),o=n("d498"),a=n("20c8"),s=n("857d"),u=n("4a3f"),c=n("6d8b"),l=n("1687"),h=n("401b"),f=n("7d6c"),d=2*Math.PI,p=a["a"].CMD,g=["top","right","bottom","left"];function v(t,e,n,r,i){var o=n.width,a=n.height;switch(t){case"top":r.set(n.x+o/2,n.y-e),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+e),i.set(0,1);break;case"left":r.set(n.x-e,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+e,n.y+a/2),i.set(1,0);break}}function y(t,e,n,r,i,o,a,u,c){a-=t,u-=e;var l=Math.sqrt(a*a+u*u);a/=l,u/=l;var h=a*n+t,f=u*n+e;if(Math.abs(r-i)%d<1e-4)return c[0]=h,c[1]=f,l-n;if(o){var p=r;r=Object(s["a"])(i),i=Object(s["a"])(p)}else r=Object(s["a"])(r),i=Object(s["a"])(i);r>i&&(i+=d);var g=Math.atan2(u,a);if(g<0&&(g+=d),g>=r&&g<=i||g+d>=r&&g+d<=i)return c[0]=h,c[1]=f,l-n;var v=n*Math.cos(r)+t,y=n*Math.sin(r)+e,m=n*Math.cos(i)+t,b=n*Math.sin(i)+e,_=(v-a)*(v-a)+(y-u)*(y-u),x=(m-a)*(m-a)+(b-u)*(b-u);return _0){e=e/180*Math.PI,w.fromArray(t[0]),S.fromArray(t[1]),j.fromArray(t[2]),r["a"].sub(M,w,S),r["a"].sub(T,j,S);var n=M.len(),i=T.len();if(!(n<.001||i<.001)){M.scale(1/n),T.scale(1/i);var o=M.dot(T),a=Math.cos(e);if(a1&&r["a"].copy(I,j),I.toArray(t[1])}}}}function A(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,w.fromArray(t[0]),S.fromArray(t[1]),j.fromArray(t[2]),r["a"].sub(M,S,w),r["a"].sub(T,j,S);var i=M.len(),o=T.len();if(!(i<.001||o<.001)){M.scale(1/i),T.scale(1/o);var a=M.dot(e),s=Math.cos(n);if(a=c)r["a"].copy(I,j);else{I.scaleAndAdd(T,u/Math.tan(Math.PI/2-h));var f=j.x!==S.x?(I.x-S.x)/(j.x-S.x):(I.y-S.y)/(j.y-S.y);if(isNaN(f))return;f<0?r["a"].copy(I,S):f>1&&r["a"].copy(I,j)}I.toArray(t[1])}}}}function P(t,e,n,r){var i="normal"===n,o=i?t:t.ensureState(n);o.ignore=e;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):o.style=s}function L(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=h["dist"](r[0],r[1]),o=h["dist"](r[1],r[2]);if(!i||!o)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=h["lerp"]([],r[1],r[0],a/i),u=h["lerp"]([],r[1],r[2],a/o),c=h["lerp"]([],s,u,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),t.bezierCurveTo(u[0],u[1],u[0],u[1],r[2][0],r[2][1])}else for(var l=1;le[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s["b"](t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]a)return[]}var c=o.length?o[o.length-1].value:r[1];return n[1]>c&&(t?o.push({value:u(c+e,i)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&f0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(r["isNumber"])(t)?[t]:Object(r["isArray"])(t)?t:null:null}function o(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&i(e.lineDash,e.lineWidth),o=e.lineDashOffset;if(n){var a=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(n=Object(r["map"])(n,(function(t){return t/a})),o/=a)}return[n,o]}},"8d32":function(t,e,n){"use strict";var r=n("9ab4"),i=n("cbe5"),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,u=Math.cos(o),c=Math.sin(o);t.moveTo(u*i+n,c*i+r),t.arc(n,r,i,o,a,!s)},e}(i["b"]);a.prototype.type="arc",e["a"]=a},"8e43":function(t,e,n){"use strict";var r=n("6d8b"),i=0,o=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++i}return t.createByAxisModel=function(e){var n=e.option,i=n.data,o=i&&Object(r["map"])(i,a);return new t({categories:o,needCollect:!o,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Object(r["isString"])(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(r["createHashMap"])(this.categories))},t}();function a(t){return Object(r["isObject"])(t)&&null!=t.value?t.value:t+""}e["a"]=o},9152:function(t,e){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+h>=1?f/u:f*Math.pow(2,1-h),e*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*g}},9394:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n("9ab4"),i=n("6d8b"),o=n("76a5"),a=n("c7a2"),s=n("861c"),u=n("7837"),c=n("f934"),l=n("6cb7"),h=n("b12f"),f=n("eda2"),d=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 Object(r["a"])(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(l["a"]),p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(r["a"])(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,l=t.getModel("textStyle"),h=t.getModel("subtextStyle"),d=t.get("textAlign"),p=i["retrieve2"](t.get("textBaseline"),t.get("textVerticalAlign")),g=new o["a"]({style:Object(u["c"])(l,{text:t.get("text"),fill:l.getTextColor()},{disableBox:!0}),z2:10}),v=g.getBoundingRect(),y=t.get("subtext"),m=new o["a"]({style:Object(u["c"])(h,{text:y,fill:h.getTextColor(),y:v.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),b=t.get("link"),_=t.get("sublink"),x=t.get("triggerEvent",!0);g.silent=!b&&!x,m.silent=!_&&!x,b&&g.on("click",(function(){Object(f["k"])(b,"_"+t.get("target"))})),_&&m.on("click",(function(){Object(f["k"])(_,"_"+t.get("subtarget"))})),Object(s["a"])(g).eventData=Object(s["a"])(m).eventData=x?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(g),y&&r.add(m);var O=r.getBoundingRect(),w=t.getBoxLayoutParams();w.width=O.width,w.height=O.height;var S=Object(c["g"])(w,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));d||(d=t.get("left")||t.get("right"),"middle"===d&&(d="center"),"right"===d?S.x+=S.width:"center"===d&&(S.x+=S.width/2)),p||(p=t.get("top")||t.get("bottom"),"center"===p&&(p="middle"),"bottom"===p?S.y+=S.height:"middle"===p&&(S.y+=S.height/2),p=p||"top"),r.x=S.x,r.y=S.y,r.markRedraw();var j={align:d,verticalAlign:p};g.setStyle(j),m.setStyle(j),O=r.getBoundingRect();var M=S.margin,T=t.getItemStyle(["color","opacity"]);T.fill=t.get("backgroundColor");var C=new a["a"]({shape:{x:O.x-M[3],y:O.y-M[0],width:O.width+M[1]+M[3],height:O.height+M[0]+M[2],r:t.get("borderRadius")},style:T,subPixelOptimize:!0,silent:!0});r.add(C)}},e.type="title",e}(h["a"]);function g(t){t.registerComponentModel(d),t.registerComponentView(p)}},"944e":function(t,e,n){"use strict";n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return f}));var r=n("3842");function i(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,i){var o={},a=t[1]-t[0],u=o.interval=Object(r["n"])(a/e,!0);null!=n&&ui&&(u=o.interval=i);var l=o.intervalPrecision=s(u),h=o.niceTickExtent=[Object(r["w"])(Math.ceil(t[0]/u)*u,l),Object(r["w"])(Math.floor(t[1]/u)*u,l)];return c(h,t),o}function a(t){var e=Math.pow(10,Object(r["t"])(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Object(r["w"])(n*e)}function s(t){return Object(r["h"])(t)+2}function u(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function c(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),u(t,0,e),u(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function l(t,e){return t>=e[0]&&t<=e[1]}function h(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function f(t,e){return t*(e[1]-e[0])+e[0]}},"94b1":function(t,e,n){"use strict";n.r(e);var r=n("22b4"),i=n("4cb5");Object(r["a"])(i["a"])},9680:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){if(0===i)return!1;var s=i,u=0,c=t;if(a>e+s&&a>r+s||at+s&&o>n+s||oy&&(y=O,my&&(y=w,_=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],h=r[3],f=r[4],d=r[5];return e.x=n.x*i+f,e.y=n.y*h+d,e.width=n.width*i,e.height=n.height*h,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=c.x=n.x,s.y=l.y=n.y,u.x=l.x=n.x+n.width,u.y=c.y=n.y+n.height,s.transform(r),l.transform(r),u.transform(r),c.transform(r),e.x=o(s.x,u.x,c.x,l.x),e.y=o(s.y,u.y,c.y,l.y);var p=a(s.x,u.x,c.x,l.x),g=a(s.y,u.y,c.y,l.y);e.width=p-e.x,e.height=g-e.y}else e!==n&&t.copy(e,n)},t}();e["a"]=d},"98b7":function(t,e,n){"use strict";var r,i=n("22d1");r=i["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e["a"]=r},"998a":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("76a5");function i(t,e,n,i,o,a,s,u){var c=new r["a"]({style:{text:t,font:e,align:n,verticalAlign:i,padding:o,rich:a,overflow:s?"truncate":null,lineHeight:u}});return c.getBoundingRect()}},"9ab4":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create},"9cf9":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=Math.round;function i(t,e,n){if(e){var i=e.x1,o=e.x2,s=e.y1,u=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=u;var c=n&&n.lineWidth;return c?(r(2*i)===r(2*o)&&(t.x1=t.x2=a(i,c,!0)),r(2*s)===r(2*u)&&(t.y1=t.y2=a(s,c,!0)),t):t}}function o(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,s=e.height;t.x=r,t.y=i,t.width=o,t.height=s;var u=n&&n.lineWidth;return u?(t.x=a(r,u,!0),t.y=a(i,u,!0),t.width=Math.max(a(r+o,u,!1)-t.x,0===o?0:1),t.height=Math.max(a(i+s,u,!1)-t.y,0===s?0:1),t):t}}function a(t,e,n){if(!e)return t;var i=r(2*t);return(i+r(e))%2===0?i/2:(i+(n?1:-1))/2}},"9d57":function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"d",(function(){return p})),n.d(e,"f",(function(){return v})),n.d(e,"c",(function(){return y})),n.d(e,"a",(function(){return m}));var r=n("6d8b"),i=n("3842"),o=n("ee1a"),a=n("cccd"),s=n("f658"),u="__ec_stack_";function c(t){return t.get("stack")||u+t.seriesIndex}function l(t){return t.dim+t.index}function h(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a0&&(a=null===a?u:Math.min(a,u))}n[i]=a}}return n}function p(t){var e=d(t),n=[];return Object(r["each"])(t,(function(t){var r,o=t.coordinateSystem,a=o.getBaseAxis(),s=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var u=a.dim+"_"+a.index,h=e[u],f=Math.abs(s[1]-s[0]),d=a.scale.getExtent(),p=Math.abs(d[1]-d[0]);r=h?f/p*h:f}else{var g=t.getData();r=Math.abs(s[1]-s[0])/g.count()}var v=Object(i["q"])(t.get("barWidth"),r),y=Object(i["q"])(t.get("barMaxWidth"),r),m=Object(i["q"])(t.get("barMinWidth")||(_(t)?.5:1),r),b=t.get("barGap"),x=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:v,barMaxWidth:y,barMinWidth:m,barGap:b,barCategoryGap:x,axisKey:l(a),stackId:c(t)})})),g(n)}function g(t){var e={};Object(r["each"])(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[r]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var u=t.barWidth;u&&!a[s].width&&(a[s].width=u,u=Math.min(o.remainedWidth,u),o.remainedWidth-=u);var c=t.barMaxWidth;c&&(a[s].maxWidth=c);var l=t.barMinWidth;l&&(a[s].minWidth=l);var h=t.barGap;null!=h&&(o.gap=h);var f=t.barCategoryGap;null!=f&&(o.categoryGap=f)}));var n={};return Object(r["each"])(e,(function(t,e){n[e]={};var o=t.stacks,a=t.bandWidth,s=t.categoryGap;if(null==s){var u=Object(r["keys"])(o).length;s=Math.max(35-4*u,15)+"%"}var c=Object(i["q"])(s,a),l=Object(i["q"])(t.gap,1),h=t.remainedWidth,f=t.autoWidthCount,d=(h-c)/(f+(f-1)*l);d=Math.max(d,0),Object(r["each"])(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){r=t.width;e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,h-=r+l*r,f--}else{var r=d;e&&er&&(r=n),r!==d&&(t.width=r,h-=r+l*r,f--)}})),d=(h-c)/(f+(f-1)*l),d=Math.max(d,0);var p,g=0;Object(r["each"])(o,(function(t,e){t.width||(t.width=d),p=t,g+=t.width*(1+l)})),p&&(g-=p.width*l);var v=-g/2;Object(r["each"])(o,(function(t,r){n[e][r]=n[e][r]||{bandWidth:a,offset:v,width:t.width},v+=t.width*(1+l)}))})),n}function v(t,e,n){if(t&&e){var r=t[l(e)];return null!=r&&null!=n?r[c(n)]:r}}function y(t,e){var n=f(t,e),i=p(n);Object(r["each"])(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=c(t),a=i[l(r)][o],s=a.offset,u=a.width;e.setLayout({bandWidth:a.bandWidth,offset:s,size:u})}))}function m(t){return{seriesType:t,plan:Object(a["a"])(),reset:function(t){if(b(t)){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),a=e.getDimensionIndex(e.mapDimension(i.dim)),u=e.getDimensionIndex(e.mapDimension(r.dim)),c=t.get("showBackground",!0),l=e.mapDimension(i.dim),h=e.getCalculationInfo("stackResultDimension"),f=Object(o["c"])(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),d=i.isHorizontal(),p=x(r,i),g=_(t),v=t.get("barMinHeight")||0,y=h&&e.getDimensionIndex(h),m=e.getLayout("size"),O=e.getLayout("offset");return{progress:function(t,e){var r,i=t.count,o=g&&Object(s["a"])(3*i),l=g&&c&&Object(s["a"])(3*i),h=g&&Object(s["a"])(i),b=n.master.getRect(),_=d?b.width:b.height,x=e.getStore(),w=0;while(null!=(r=t.next())){var S=x.get(f?y:a,r),j=x.get(u,r),M=p,T=void 0;f&&(T=+S-x.get(a,r));var C=void 0,k=void 0,I=void 0,D=void 0;if(d){var A=n.dataToPoint([S,j]);if(f){var P=n.dataToPoint([T,j]);M=P[0]}C=M,k=A[1]+O,I=A[0]-M,D=m,Math.abs(I)=1)&&(t=1),t}s===c&&u===l||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=c,this._modDataCount=l;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(a||d1&&r>0?s:a}};return o;function a(){return e=t?null:o=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){v["b"]("axisPointer",e)},e.prototype.dispose=function(t,e){v["b"]("axisPointer",e)},e.type="axisPointer",e}(y["a"]),b=m,_=n("6d8b"),x=n("cd33"),O=n("e0d3"),w=n("133d"),S=Object(O["o"])();function j(t,e,n){var r=t.currTrigger,i=[t.x,t.y],o=t,a=t.dispatchAction||Object(_["bind"])(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){R(i)&&(i=Object(w["a"])({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var u=R(i),c=o.axesInfo,l=s.axesInfo,h="leave"===r||R(i),f={},d={},p={list:[],map:{}},g={showPointer:Object(_["curry"])(C,d),showTooltip:Object(_["curry"])(k,p)};Object(_["each"])(s.coordSysMap,(function(t,e){var n=u||t.containPoint(i);Object(_["each"])(s.coordSysAxesInfo[e],(function(t,e){var r=t.axis,o=P(c,t);if(!h&&n&&(!c||o)){var a=o&&o.value;null!=a||u||(a=r.pointToData(i)),null!=a&&M(t,a,g,!1,f)}}))}));var v={};return Object(_["each"])(l,(function(t,e){var n=t.linkGroup;n&&!d[e]&&Object(_["each"])(n.axesInfo,(function(e,r){var i=d[r];if(e!==t&&i){var o=i.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,L(e),L(t)))),v[t.key]=o}}))})),Object(_["each"])(v,(function(t,e){M(l[e],t,g,!0,f)})),I(d,l,f),D(p,i,t,a),A(l,a,n),f}}function M(t,e,n,r,i){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=T(e,t),s=a.payloadBatch,u=a.snapToValue;s[0]&&null==i.seriesIndex&&Object(_["extend"])(i,s[0]),!r&&t.snap&&o.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,s),n.showTooltip(t,a,u)}else n.showPointer(t,e)}function T(t,e){var n=e.axis,r=n.dim,i=t,o=[],a=Number.MAX_VALUE,s=-1;return Object(_["each"])(e.seriesModels,(function(e,u){var c,l,h=e.getData().mapDimensionsAll(r);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(h,t,n);l=f.dataIndices,c=f.nestestValue}else{if(l=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null),!l.length)return;c=e.getData().get(h[0],l[0])}if(null!=c&&isFinite(c)){var d=t-c,p=Math.abs(d);p<=a&&((p=0&&s<0)&&(a=p,s=d,i=c,o.length=0),Object(_["each"])(l,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:i}}function C(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function k(t,e,n,r){var i=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var u=e.coordSys.model,c=x["e"](u),l=t.map[c];l||(l=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(l)),l.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function I(t,e,n){var r=n.axesInfo=[];Object(_["each"])(e,(function(e,n){var i=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}function D(t,e,n,r){if(!R(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}function A(t,e,n){var r=n.getZr(),i="axisPointerLastHighlights",o=S(r)[i]||{},a=S(r)[i]={};Object(_["each"])(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&Object(_["each"])(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],u=[];Object(_["each"])(o,(function(t,e){!a[e]&&u.push(t)})),Object(_["each"])(a,(function(t,e){!o[e]&&s.push(t)})),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function P(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function L(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function R(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function E(t){r["a"].registerAxisPointerClass("CartesianAxisPointer",f),t.registerComponentModel(g),t.registerComponentView(b),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(_["isArray"])(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=Object(x["a"])(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},j)}},b0af:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return l}));var r=n("c7a2"),i=n("deca"),o=n("4aa2"),a=n("3842"),s=n("6d8b");function u(t,e,n,o,a){var u=t.getArea(),c=u.x,l=u.y,h=u.width,f=u.height,d=n.get(["lineStyle","width"])||2;c-=d/2,l-=d/2,h+=d,f+=d,c=Math.floor(c),h=Math.round(h);var p=new r["a"]({shape:{x:c,y:l,width:h,height:f}});if(e){var g=t.getBaseAxis(),v=g.isHorizontal(),y=g.inverse;v?(y&&(p.shape.x+=h),p.shape.width=0):(y||(p.shape.y+=f),p.shape.height=0);var m=Object(s["isFunction"])(a)?function(t){a(t,p)}:null;i["c"](p,{shape:{width:h,height:f,x:c,y:l}},n,null,o,m)}return p}function c(t,e,n){var r=t.getArea(),s=Object(a["w"])(r.r0,1),u=Object(a["w"])(r.r,1),c=new o["a"]({shape:{cx:Object(a["w"])(t.cx,1),cy:Object(a["w"])(t.cy,1),r0:s,r:u,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(e){var l="angle"===t.getBaseAxis().dim;l?c.shape.endAngle=r.startAngle:c.shape.r=s,i["c"](c,{shape:{endAngle:r.endAngle,r:u}},n)}return c}function l(t,e,n,r,i){return t?"polar"===t.type?c(t,e,n):"cartesian2d"===t.type?u(t,e,n,r,i):null:null}},b0c0:function(t,e,n){"use strict";var r=n("83ab"),i=n("5e77").EXISTS,o=n("e330"),a=n("edd0"),s=Function.prototype,u=o(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=o(c.exec),h="name";r&&!i&&a(s,h,{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(t){return""}}})},b12f:function(t,e,n){"use strict";var r=n("2dc5"),i=n("8918"),o=n("625e"),a=function(){function t(){this.group=new r["a"],this.uid=i["c"]("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){},t.prototype.updateLayout=function(t,e,n,r){},t.prototype.updateVisual=function(t,e,n,r){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o["b"](a),o["c"](a),e["a"]=a},b1d4:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return f}));var r=n("07fd"),i=n("cd70"),o=n("6d8b"),a=n("ec6f"),s=n("d0ce"),u=n("e0d3"),c=n("0f99"),l=n("80b9");function h(t,e){return f(t,e).dimensions}function f(t,e){Object(a["e"])(t)||(t=Object(a["c"])(t)),e=e||{};var n=e.coordDimensions||[],h=e.dimensionsDefine||t.dimensionsDefine||[],f=Object(o["createHashMap"])(),v=[],y=p(t,n,h,e.dimensionsCount),m=e.canOmitUnusedDimensions&&Object(l["e"])(y),b=h===t.dimensionsDefine,_=b?Object(l["c"])(t):Object(l["b"])(h),x=e.encodeDefine;!x&&e.encodeDefaulter&&(x=e.encodeDefaulter(t,y));for(var O=Object(o["createHashMap"])(x),w=new s["a"](y),S=0;S0&&(r.name=i+(a-1)),a++,e.set(i,a)}}function p(t,e,n,r){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return Object(o["each"])(e,(function(t){var e;Object(o["isObject"])(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}function g(t,e,n){if(n||e.hasKey(t)){var r=0;while(e.hasKey(t+r))r++;t+=r}return e.set(t,!0),t}},b362:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("4a3f"),i=n("6d8b"),o=/cubic-bezier\(([0-9,\.e ]+)\)/;function a(t){var e=t&&o.exec(t);if(e){var n=e[1].split(","),a=+Object(i["trim"])(n[0]),s=+Object(i["trim"])(n[1]),u=+Object(i["trim"])(n[2]),c=+Object(i["trim"])(n[3]);if(isNaN(a+s+u+c))return;var l=[];return function(t){return t<=0?0:t>=1?1:Object(r["f"])(0,a,u,1,t,l)&&Object(r["a"])(0,s,c,1,l[0])}}}},b3c1:function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=Math.round(9*Math.random()),i="function"===typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+r++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return i?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype["delete"]=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=o,s=n("d51b"),u=n("6d8b"),c=n("3842"),l=n("a15a"),h=n("5210"),f=n("726e"),d=new a,p=new s["a"](100),g=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function v(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),r=e.getZr(),i="svg"===r.painter.type;t.dirty&&d["delete"](t);var o=d.get(t);if(o)return o;var a=Object(u["defaults"])(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return v(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,d.set(t,s),t.dirty=!1,s;function v(t){for(var e,o=[n],s=!0,d=0;d * @license MIT */ var r=n("1fb5"),i=n("9152"),o=n("e3db");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),c.alloc(+t)}function _(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(r)return K(t).length;e=(""+e).toLowerCase(),r=!0}}function x(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return B(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return E(this,e,n);case"base64":return D(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function O(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:S(t,e,n,r,i);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):S(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function S(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,f=0;fi&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:o=t[i+1],128===(192&o)&&(u=(31&c)<<6|63&o,u>127&&(l=u));break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a,u>2047&&(u<55296||u>57343)&&(l=u));break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s,u>65535&&u<1114112&&(l=u))}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return L(r)}e.Buffer=c,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return l(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return f(null,t,e,n)},c.allocUnsafe=function(t){return d(null,t)},c.allocUnsafeSlow=function(t){return d(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,r,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,s=Math.min(o,a),u=this.slice(r,i),l=t.slice(e,n),h=0;hi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return j(this,t,e,n);case"utf8":case"utf-8":return M(this,t,e,n);case"ascii":return T(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function L(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var n="",r=0;while(rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function F(t,e,n,r,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function H(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function V(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function W(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(t,e,n,r,o){return o||W(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function G(t,e,n,r,o){return o||W(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e0&&(i*=256))r+=this[t+--e]*i;return r},c.prototype.readUInt8=function(t,e){return e||z(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||z(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||z(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||z(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=this[t],i=1,o=0;while(++o=i&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||z(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||z(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||z(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||z(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||z(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||z(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||z(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;F(this,t,e,n,i,0)}var o=1,a=0;this[e]=255&t;while(++a=0&&(a*=256))this[e+o]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):H(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):H(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):V(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):V(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);F(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;this[e]=255&t;while(++o>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);F(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):H(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):H(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):V(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):V(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return U(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return U(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return G(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return G(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Q(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r)}return o}function J(t){return r.toByteArray(q(t))}function tt(t,e,n,r){for(var i=0;i=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n("c8ba"))},b682:function(t,e,n){"use strict";var r,i,o,a,s,u,c,l=n("6d8b"),h=n("4319"),f=n("80f0"),d=n("2b17"),p=n("2f45"),g=n("cd70"),v=n("07fd"),y=n("e0d3"),m=n("861c"),b=n("ec6f"),_=n("d0ce"),x=n("80b9"),O=l["isObject"],w=l["map"],S="undefined"===typeof Int32Array?Array:Int32Array,j="e\0\0",M=-1,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],C=["_approximateExtent"],k=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;Object(x["d"])(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},o=[],a={},s=!1,u={},c=0;c=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=i.getSource().sourceFormat,u=s===v["f"];if(u&&!i.pure)for(var l=[],h=t;h0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(i=this.getVisual(e),l["isArray"](i)?i=i.slice():O(i)&&(i=l["extend"]({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,O(e)?l["extend"](r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){O(t)?l["extend"](this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?l["extend"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Object(m["b"])(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){l["each"](this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:w(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];l["isFunction"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(l["slice"](arguments)))})},t.internalField=function(){r=function(t){var e=t._invertedIndicesMap;l["each"](e,(function(n,r){var i=t._dimInfos[r],o=i.ordinalMeta,a=t._store;if(o){n=e[r]=new S(o.categories.length);for(var s=0;s1&&(u+="__ec__"+l),r[e]=u}}}(),t}();e["a"]=k},b7d9:function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return d}));var r=n("3842"),i=n("6d8b"),o=n("edae");function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||Object(i["isNumber"])(t)||null==t||"-"===t||(t=+Object(r["p"])(t)),null==t||""===t?NaN:+t)}var s=Object(i["createHashMap"])({number:function(t){return parseFloat(t)},time:function(t){return+Object(r["p"])(t)},trim:function(t){return Object(i["isString"])(t)?Object(i["trim"])(t):t}});function u(t){return s.get(t)}var c={lt:function(t,e){return te},gte:function(t,e){return t>=e}},l=function(){function t(t,e){if(!Object(i["isNumber"])(e)){var n="";0,Object(o["c"])(n)}this._opFn=c[t],this._rvalFloat=Object(r["o"])(e)}return t.prototype.evaluate=function(t){return Object(i["isNumber"])(t)?this._opFn(t,this._rvalFloat):this._opFn(Object(r["o"])(t),this._rvalFloat)},t}(),h=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Object(i["isNumber"])(t)?t:Object(r["o"])(t),o=Object(i["isNumber"])(e)?e:Object(r["o"])(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var u=Object(i["isString"])(t),c=Object(i["isString"])(e);u&&(n=c?t:0),c&&(o=u?e:0)}return no?-this._resultLT:0},t}(),f=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Object(r["o"])(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Object(r["o"])(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function d(t,e){return"eq"===t||"ne"===t?new f("eq"===t,e):Object(i["hasOwn"])(c,t)?new l(t,e):null}},b8a1:function(t,e,n){"use strict";n.d(e,"Z",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"k",(function(){return u})),n.d(e,"O",(function(){return c})),n.d(e,"W",(function(){return l})),n.d(e,"z",(function(){return h})),n.d(e,"A",(function(){return f})),n.d(e,"C",(function(){return d})),n.d(e,"D",(function(){return p})),n.d(e,"b",(function(){return g})),n.d(e,"T",(function(){return v})),n.d(e,"V",(function(){return y})),n.d(e,"Q",(function(){return m})),n.d(e,"o",(function(){return b})),n.d(e,"S",(function(){return _})),n.d(e,"P",(function(){return x})),n.d(e,"x",(function(){return O})),n.d(e,"E",(function(){return w})),n.d(e,"H",(function(){return S})),n.d(e,"J",(function(){return j})),n.d(e,"F",(function(){return M})),n.d(e,"G",(function(){return T})),n.d(e,"K",(function(){return C})),n.d(e,"M",(function(){return k})),n.d(e,"L",(function(){return I})),n.d(e,"r",(function(){return D})),n.d(e,"q",(function(){return A})),n.d(e,"X",(function(){return P})),n.d(e,"Y",(function(){return L})),n.d(e,"I",(function(){return R})),n.d(e,"g",(function(){return E})),n.d(e,"a",(function(){return B})),n.d(e,"R",(function(){return N})),n.d(e,"y",(function(){return z})),n.d(e,"B",(function(){return F})),n.d(e,"f",(function(){return H})),n.d(e,"u",(function(){return V})),n.d(e,"s",(function(){return W})),n.d(e,"t",(function(){return U})),n.d(e,"v",(function(){return G})),n.d(e,"w",(function(){return Y})),n.d(e,"j",(function(){return q})),n.d(e,"c",(function(){return X})),n.d(e,"d",(function(){return Z})),n.d(e,"n",(function(){return K})),n.d(e,"N",(function(){return Q})),n.d(e,"p",(function(){return $})),n.d(e,"U",(function(){return J})),n.d(e,"e",(function(){return tt})),n.d(e,"m",(function(){return et})),n.d(e,"i",(function(){return nt})),n.d(e,"l",(function(){return rt}));var r=n("bc3a"),i=n.n(r);n("379d");function o(t,e){return i.a.post(t,e).then((function(t){var e=t.data;return e}),(function(t){console.info(t)}))}function a(t){var e=headapi+"testSelect";return o(e,t)}function s(t){var e=headapi+"v1/Auth/GenVerifyPic";return o(e,t)}function u(t){var e=headapi+"v1/Auth/GetPhoneVFCode";return o(e,t)}function c(t){var e=headapi+"v1/Auth/PhoneSignIn";return o(e,t)}function l(t){var e=headapi+"v1/Auth/WXBind";return o(e,t)}function h(t){var e=headapi+"v1/Weixin/OderAddByVipUser";return o(e,t)}function f(t){var e=headapi+"v1/Weixin/OderCancelByVipUser";return o(e,t)}function d(t){var e=headapi+"v1/Weixin/OrderListQuery";return o(e,t)}function p(t){var e=headapi+"v1/Weixin/OrderShopQuery";return o(e,t)}function g(t){var e=headapi+"v1/Weixin/CanOrderSchoolTimeTableListQuery";return o(e,t)}function v(t){var e=headapi+"v1/Weixin/VipUserConsumeListQuery";return o(e,t)}function y(t){var e=headapi+"v1/Weixin/VipUserSelfQuery";return o(e,t)}function m(t){var e=headapi+"v1/Weixin/SchoolTimeQueryByDate";return o(e,t)}function b(t){var e=headapi+"v1/User/ManagerSelfQuery";return o(e,t)}function _(t){var e=headapi+"v1/Weixin/VipUserCleCkSum";return o(e,t)}function x(t){var e=headapi+"v1/Weixin/QueryNextWeek";return o(e,t)}function O(t){var e=headapi+"v1/Weixin/MyShopQuery";return o(e,t)}function w(t){var e=headapi+"v1/Weixin/PersonCardStatistics";return o(e,t)}function S(t){var e=headapi+"v1/Weixin/PersonClassStatistics";return o(e,t)}function j(t){var e=headapi+"v1/Weixin/PersonMonthStatistics";return o(e,t)}function M(t){var e=headapi+"v1/Weixin/PersonClassDetail";return o(e,t)}function T(t){var e=headapi+"v1/Weixin/PersonClassList";return o(e,t)}function C(t){var e=headapi+"v1/Weixin/PersonScoreClassQuery";return o(e,t)}function k(t){var e=headapi+"v1/Weixin/PersonTtolistQuery";return o(e,t)}function I(t){var e=headapi+"v1/Weixin/PersonTtdStaticsQuery";return o(e,t)}function D(t){var e=headapi+"v1/Weixin/MyDailyTrainOverviewQuery";return o(e,t)}function A(t){var e=headapi+"v1/Weixin/MyDailyTrainDetailListQuery";return o(e,t)}function P(t){var e=headapi+"v1/Weixin/WxTplClassOverDetail";return o(e,t)}function L(t){var e=headapi+"v1/Weixin/WxTplScoreClassQuery";return o(e,t)}function R(t){var e=headapi+"v1/Weixin/PersonFtoList";return o(e,t)}function E(t){var e=headapi+"v1/FitnessTest/FtoDetailQuery";return o(e,t)}function B(t){var e=headapi+"v1/FitnessTest/CanOrderDateQuery";return o(e,t)}function N(t){var e=headapi+"v1/Shop/ShopQueryByUnLoginLoalLoutUser";return o(e,t)}function z(t){var e=headapi+"v1/Auth/NotUserGetPhoneVFCode";return o(e,t)}function F(t){var e=headapi+"v1/FitnessTest/OrderFitnessTestAdd";return o(e,t)}function H(t){var e=headapi+"v1/FitnessTest/FTGroupTypeIsOrderOneQuery";return o(e,t)}function V(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestListQuery";return o(e,t)}function W(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestCancel";return o(e,t)}function U(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestDetailList";return o(e,t)}function G(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestListQueryByOpenId";return o(e,t)}function Y(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestLogOut";return o(e,t)}function q(t){var e=headapi+"v1/FitnessTest/GetOpenIdAndPhoneByCode";return o(e,t)}function X(t){var e=headapi+"v1/WxPay/ChargeInfoQuery";return o(e,t)}function Z(t){var e=headapi+"v1/WxPay/CurrentPromotionsQuery";return o(e,t)}function K(t){var e=headapi+"v1/WxPay/JsApiPrepayRequest";return o(e,t)}function Q(t){var e=headapi+"v1/WxPay/PhoneRelationShopQuery";return o(e,t)}function $(t){var e=headapi+"v1/WxPay/MyChargeInfoListQuery";return o(e,t)}function J(t){var e=headapi+"v1/Weixin/VipUserSelfInviteCodeQuery";return o(e,t)}function tt(t){var e=headapi+"v1/WxPay/CurrentPromotionsTabQuery";return o(e,t)}function et(t){var e=headbpi+"v1/OutService/GetUserHistoryInfoByDuId";return o(e,t)}function nt(t){var e=headbpi+"v1/OutService/GetHrValueInfoByDuId";return o(e,t)}function rt(t){var e=headbpi+"v1/OutService/GetSportPercentByDuId";return o(e,t)}},bda7:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("6d8b"),i=n("f279");function o(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);var i=e.features;return r["each"](i,(function(t){var e=t.geometry,i=e.encodeOffsets,o=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=s(o,i,n);break;case"Polygon":a(o,i,n);break;case"MultiLineString":a(o,i,n);break;case"MultiPolygon":r["each"](o,(function(t,e){return a(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}function a(t,e,n){for(var r=0;r>1^-(1&s),u=u>>1^-(1&u),s+=i,u+=o,i=s,o=u,r.push([s/n,u/n])}return r}function u(t,e){return t=o(t),r["map"](r["filter"](t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,o=t.geometry,a=[];switch(o.type){case"Polygon":var s=o.coordinates;a.push(new i["b"](s[0],s.slice(1)));break;case"MultiPolygon":r["each"](o.coordinates,(function(t){t[0]&&a.push(new i["b"](t[0],t.slice(1)))}));break;case"LineString":a.push(new i["a"]([o.coordinates]));break;case"MultiLineString":a.push(new i["a"](o.coordinates))}var u=new i["c"](n[e||"name"],a,n.cp);return u.properties=n,u}))}},c2be:function(t,e,n){"use strict";var r=n("9ab4"),i=n("cbe5"),o=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-i),s=i+a,u=e.startAngle,c=e.endAngle,l=e.clockwise,h=2*Math.PI,f=l?c-u=0&&r.push(e[a])}return r.join(" ")}},c7a2:function(t,e,n){"use strict";var r=n("9ab4"),i=n("cbe5");function o(t,e){var n,r,i,o,a,s=e.x,u=e.y,c=e.width,l=e.height,h=e.r;c<0&&(s+=c,c=-c),l<0&&(u+=l,l=-l),"number"===typeof h?n=r=i=o=h:h instanceof Array?1===h.length?n=r=i=o=h[0]:2===h.length?(n=i=h[0],r=o=h[1]):3===h.length?(n=h[0],r=o=h[1],i=h[2]):(n=h[0],r=h[1],i=h[2],o=h[3]):n=r=i=o=0,n+r>c&&(a=n+r,n*=c/a,r*=c/a),i+o>c&&(a=i+o,i*=c/a,o*=c/a),r+i>l&&(a=r+i,r*=l/a,i*=l/a),n+o>l&&(a=n+o,n*=l/a,o*=l/a),t.moveTo(s+n,u),t.lineTo(s+c-r,u),0!==r&&t.arc(s+c-r,u+r,r,-Math.PI/2,0),t.lineTo(s+c,u+l-i),0!==i&&t.arc(s+c-i,u+l-i,i,0,Math.PI/2),t.lineTo(s+o,u+l),0!==o&&t.arc(s+o,u+l-o,o,Math.PI/2,Math.PI),t.lineTo(s,u+n),0!==n&&t.arc(s+n,u+n,n,Math.PI,1.5*Math.PI)}var a=n("9cf9"),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),u={},c=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,r,i,s;if(this.subPixelOptimize){var c=Object(a["c"])(u,e,this.style);n=c.x,r=c.y,i=c.width,s=c.height,c.r=e.r,e=c}else n=e.x,r=e.y,i=e.width,s=e.height;e.r?o(t,e):t.rect(n,r,i,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i["b"]);c.prototype.type="rect";e["a"]=c},ca80:function(t,e,n){"use strict";var r=n("dce8"),i=[0,0],o=[0,0],a=new r["a"],s=new r["a"],u=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r["a"];for(n=0;n<2;n++)this._axes[n]=new r["a"];t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,u=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,u),n[3].set(o,u),e)for(var c=0;c<4;c++)n[c].transform(e);r["a"].sub(i[0],n[1],n[0]),r["a"].sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(c=0;c<2;c++)this._origin[c]=i[c].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(n=!1,i)||i||r["a"].copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,u){for(var c=!0,l=0;l<2;l++){var h=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,i),this._getProjMinMaxOnAxis(l,e._corners,o),i[1]o[1]){if(c=!1,s)return c;var f=Math.abs(o[0]-i[1]),d=Math.abs(i[0]-o[1]);Math.min(f,d)>a.len()&&(fe+f&&h>r+f&&h>o+f&&h>u+f||ht+f&&l>n+f&&l>i+f&&l>a+f||ln||f+ci&&(i+=h);var p=Math.atan2(u,s);return p<0&&(p+=h),p>=r&&p<=i||p+h>=r&&p+h<=i}var d=n("8728"),p=o["a"].CMD,g=2*Math.PI,v=1e-4;function y(t,e){return Math.abs(t-e)e&&l>r&&l>o&&l>u||l1&&_(),p=s["a"](e,r,o,u,b[0]),d>1&&(g=s["a"](e,r,o,u,b[1]))),2===d?ye&&u>r&&u>o||u=0&&l<=1){for(var h=0,f=s["h"](e,r,o,l),d=0;dn||s<-n)return 0;var u=Math.sqrt(n*n-s*s);m[0]=-u,m[1]=u;var c=Math.abs(r-i);if(c<1e-4)return 0;if(c>=g-1e-4){r=0,i=g;var l=o?1:-1;return a>=m[0]+t&&a<=m[1]+t?l:0}if(r>i){var h=r;r=i,i=h}r<0&&(r+=g,i+=g);for(var f=0,d=0;d<2;d++){var p=m[d];if(p+t>a){var v=Math.atan2(s,p);l=o?1:-1;v<0&&(v=g+v),(v>=r&&v<=i||v+g>=r&&v+g<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(l=-l),f+=l)}}return f}function S(t,e,n,r,i){for(var o,s,l=t.data,h=t.len(),g=0,v=0,m=0,b=0,_=0,S=0;S1&&(n||(g+=Object(d["a"])(v,m,b,_,r,i))),M&&(v=l[S],m=l[S+1],b=v,_=m),j){case p.M:b=l[S++],_=l[S++],v=b,m=_;break;case p.L:if(n){if(a["a"](v,m,l[S],l[S+1],e,r,i))return!0}else g+=Object(d["a"])(v,m,l[S],l[S+1],r,i)||0;v=l[S++],m=l[S++];break;case p.C:if(n){if(u(v,m,l[S++],l[S++],l[S++],l[S++],l[S],l[S+1],e,r,i))return!0}else g+=x(v,m,l[S++],l[S++],l[S++],l[S++],l[S],l[S+1],r,i)||0;v=l[S++],m=l[S++];break;case p.Q:if(n){if(c["a"](v,m,l[S++],l[S++],l[S],l[S+1],e,r,i))return!0}else g+=O(v,m,l[S++],l[S++],l[S],l[S+1],r,i)||0;v=l[S++],m=l[S++];break;case p.A:var T=l[S++],C=l[S++],k=l[S++],I=l[S++],D=l[S++],A=l[S++];S+=1;var P=!!(1-l[S++]);o=Math.cos(D)*k+T,s=Math.sin(D)*I+C,M?(b=o,_=s):g+=Object(d["a"])(v,m,o,s,r,i);var L=(r-T)*I/k+T;if(n){if(f(T,C,I,D,D+A,P,e,L,i))return!0}else g+=w(T,C,I,D,D+A,P,L,i);v=Math.cos(D+A)*k+T,m=Math.sin(D+A)*I+C;break;case p.R:b=v=l[S++],_=m=l[S++];var R=l[S++],E=l[S++];if(o=b+R,s=_+E,n){if(a["a"](b,_,o,_,e,r,i)||a["a"](o,_,o,s,e,r,i)||a["a"](o,s,b,s,e,r,i)||a["a"](b,s,b,_,e,r,i))return!0}else g+=Object(d["a"])(o,_,o,s,r,i),g+=Object(d["a"])(b,s,b,_,r,i);break;case p.Z:if(n){if(a["a"](v,m,b,_,e,r,i))return!0}else g+=Object(d["a"])(v,m,b,_,r,i);v=b,m=_;break}}return n||y(m,_)||(g+=Object(d["a"])(v,m,b,_,r,i)||0),0!==g}function j(t,e,n){return S(t,0,!1,e,n)}function M(t,e,n,r){return S(t,e,!0,n,r)}var T=n("6d8b"),C=n("41ef"),k=n("2cf4c"),I=n("4bc4"),D=n("8582"),A=Object(T["defaults"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i["b"]),P={style:Object(T["defaults"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i["a"].style)},L=D["a"].concat(["invisible","culling","z","z2","zlevel","parent"]),R=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?k["a"]:e>.2?k["c"]:k["d"]}if(t)return k["d"]}return k["a"]},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(T["isString"])(e)){var n=this.__zr,r=!(!n||!n.isDarkMode()),i=Object(C["lum"])(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&I["b"])&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;s=Math.max(s,null==u?4:u)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),M(o,a/s,t,e)))return!0}if(this.hasFill())return j(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=I["b"],this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:Object(T["extend"])(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&I["b"])},e.prototype.createStyle=function(t){return Object(T["createObject"])(A,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Object(T["extend"])({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,u=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=Object(T["extend"])({},r.shape),Object(T["extend"])(s,n.shape)):(s=Object(T["extend"])({},i?this.shape:r.shape),Object(T["extend"])(s,n.shape)):u&&(s=r.shape),s)if(o){this.shape=Object(T["extend"])({},this.shape);for(var c={},l=Object(T["keys"])(s),h=0;h=0||t===e}function h(t){var e=f(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=p(n);null==o&&(i.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a65535?u:c}function p(){return[1/0,-1/0]}function g(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function v(t,e,n,r,i){var o=f[n||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==r){for(var u=new o(r),c=0;cy[1]&&(y[1]=g)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,c=Object(i["map"])(a,(function(t){return t.property})),l=0;lb[1]&&(b[1]=m)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;i=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks,i=r[t],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,u=0,c=0,l=this.count();c=0&&s<0)&&(a=d,s=f,u=0),f===s&&(o[u++]=c))}return o.length=u,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i=h&&b<=f||isNaN(b))&&(u[c++]=v),v++}g=!0}else if(2===o){y=p[r[0]];var _=p[r[1]],x=t[r[1]][0],O=t[r[1]][1];for(m=0;m=h&&b<=f||isNaN(b))&&(w>=x&&w<=O||isNaN(w))&&(u[c++]=v),v++}g=!0}}if(!g)if(1===o)for(m=0;m=h&&b<=f||isNaN(b))&&(u[c++]=S)}else for(m=0;mt[T][1])&&(j=!1)}j&&(u[c++]=e.getRawIndex(m))}return cy[1]&&(y[1]=v)}}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=this.clone([t],!0),a=o._chunks,s=a[t],u=this.count(),c=0,l=Math.floor(1/e),h=this.getRawIndex(0),f=new(d(this._rawCount))(Math.min(2*(Math.ceil(u/l)+2),u));f[c++]=h;for(var p=1;pn&&(n=r,i=_))}T>0&&Tc-g&&(s=c-g,a.length=s);for(var v=0;vl[1]&&(l[1]=m),h[f++]=b}return i._count=f,i._indices=h,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,o=this.count();is&&(s=l)}return r=[a,s],this._extent[t]=r,r},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return Object(o["d"])(t[r],this._dimensions[r])}r={arrayRows:t,objectRows:function(t,e,n,r){return Object(o["d"])(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return Object(o["d"])(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}();e["b"]=y},d0e2:function(t,e,n){},d409:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return g}));var r=n("5e76"),i=n("6d8b"),o=n("e86a"),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,n,r,i){if(!e)return"";var o=(t+"").split("\n");i=u(e,n,r,i);for(var a=0,s=o.length;a=u;l++)c-=u;var h=Object(o["f"])(n,e);return h>c&&(n="",h=0),c=t-h,a.ellipsis=n,a.ellipsisWidth=h,a.contentWidth=c,a.containerWidth=t,a}function c(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var a=Object(o["f"])(t,r);if(a<=n)return t;for(var s=0;;s++){if(a<=i||s>=e.maxIterations){t+=e.ellipsis;break}var u=0===s?l(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;t=t.substr(0,u),a=Object(o["f"])(t,r)}return""===t&&(t=e.placeholder),t}function l(t,e,n,r){for(var i=0,o=0,a=t.length;oy&&p){var m=Math.floor(y/f);n=n.slice(0,m)}if(t&&l&&null!=g)for(var b=u(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;xd&&v(n,t.substring(d,g),e,f),v(n,u[2],e,f,u[1]),d=a.lastIndex}dl){C>0?(j.tokens=j.tokens.slice(0,C),w(j,T,M),n.lines=n.lines.slice(0,S+1)):n.lines=n.lines.slice(0,S);break t}var R=I.width,E=null==R||"auto"===R;if("string"===typeof R&&"%"===R.charAt(R.length-1))k.percentWidth=R,y.push(k),k.contentWidth=Object(o["f"])(k.text,P);else{if(E){var B=I.backgroundColor,N=B&&B.image;N&&(N=r["b"](N),r["c"](N)&&(k.width=Math.max(k.width,N.width*L/N.height)))}var z=x&&null!=c?c-T:null;null!=z&&z0&&y+r.accumWidth>r.width&&(a=e.split("\n"),p=!0),r.accumWidth=y}else{var m=_(e,h,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+v,s=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var b=0;b=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var m=Object(i["reduce"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function b(t){return!y(t)||!!m[t]}function _(t,e,n,r,i){for(var a=[],s=[],u="",c="",l=0,h=0,f=0;fn:i+h+p>n)?h?(u||c)&&(g?(u||(u=c,c="",l=0,h=l),a.push(u),s.push(h-l),c+=d,l+=p,u="",h=l):(c&&(u+=c,c="",l=0),a.push(u),s.push(h),u=d,h=p)):g?(a.push(c),s.push(l),c=d,l=p):(a.push(d),s.push(p)):(h+=p,g?(c+=d,l+=p):(c&&(u+=c,c="",l=0),u+=d))}else c&&(u+=c,h+=l),a.push(u),s.push(h),u="",c="",l=0,h=0}return a.length||u||(u=t,c="",l=0),c&&(u+=c),u&&(a.push(u),s.push(h)),1===a.length&&(h+=i),{accumWidth:h,lines:a,linesWidths:s}}},d498:function(t,e,n){"use strict";var r=n("9ab4"),i=n("cbe5"),o=n("4fac"),a=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o["a"](t,e,!1)},e}(i["b"]);s.prototype.type="polyline",e["a"]=s},d4c6:function(t,e,n){"use strict";var r=n("9ab4"),i=n("cbe5"),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return Object(r["a"])(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n=this._maxSize&&a>0){var u=n.head;n.remove(u),delete i[u.key],o=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["a"]=o},d5b7:function(t,e,n){"use strict";var r=n("8582"),i=n("06ad"),o=n("9850"),a=n("6fd3"),s=n("e86a"),u=n("6d8b"),c=n("2cf4c"),l=n("41ef"),h=n("4bc4"),f="__zr_normal__",d=r["a"].concat(["ignore"]),p=Object(u["reduce"])(r["a"],(function(t,e){return t[e]=!0,t}),{ignore:!1}),g={},v=new o["a"](0,0,0,0),y=function(){function t(t){this.id=Object(u["guid"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=e.innerTransformable,o=void 0,a=void 0,u=!1;i.parent=r?this:null;var c=!1;if(i.copyTransform(e),null!=n.position){var l=v;n.layoutRect?l.copy(n.layoutRect):l.copy(this.getBoundingRect()),r||l.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,l):Object(s["c"])(g,n,l),i.x=g.x,i.y=g.y,o=g.align,a=g.verticalAlign;var f=n.origin;if(f&&null!=n.rotation){var d=void 0,p=void 0;"center"===f?(d=.5*l.width,p=.5*l.height):(d=Object(s["g"])(f[0],l.width),p=Object(s["g"])(f[1],l.height)),c=!0,i.originX=-i.x+d+(r?0:l.x),i.originY=-i.y+p+(r?0:l.y)}}null!=n.rotation&&(i.rotation=n.rotation);var y=n.offset;y&&(i.x+=y[0],i.y+=y[1],c||(i.originX=-y[0],i.originY=-y[1]));var m=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,b=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,x=void 0,O=void 0;m&&this.canBeInsideText()?(_=n.insideFill,x=n.insideStroke,null!=_&&"auto"!==_||(_=this.getInsideTextFill()),null!=x&&"auto"!==x||(x=this.getInsideTextStroke(_),O=!0)):(_=n.outsideFill,x=n.outsideStroke,null!=_&&"auto"!==_||(_=this.getOutsideFill()),null!=x&&"auto"!==x||(x=this.getOutsideStroke(_),O=!0)),_=_||"#000",_===b.fill&&x===b.stroke&&O===b.autoStroke&&o===b.align&&a===b.verticalAlign||(u=!0,b.fill=_,b.stroke=x,b.autoStroke=O,b.align=o,b.verticalAlign=a,e.setDefaultTextStyle(b)),e.__dirty|=h["a"],u&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?c["d"]:c["a"]},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Object(l["parse"])(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,Object(l["stringify"])(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Object(u["extend"])(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(Object(u["isObject"])(t))for(var n=t,r=Object(u["keys"])(n),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===f,o=this.hasState();if(o||!i){var a=this.currentStates,s=this.stateTransition;if(!(Object(u["indexOf"])(a,t)>=0)||!e&&1!==a.length){var c;if(this.stateProxy&&!i&&(c=this.stateProxy(t)),c||(c=this.states&&this.states[t]),c||i){i||this.saveCurrentToNormalState(c);var l=!!(c&&c.hoverLayer||r);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,c,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,p=this._textGuide;return d&&d.useState(t,e,n,l),p&&p.useState(t,e,n,l),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h["a"]),c}Object(u["logError"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,o=t.length,a=o===i.length;if(a)for(var s=0;s0,p);var g=this._textContent,v=this._textGuide;g&&g.useStates(t,e,f),v&&v.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h["a"])}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=Object(u["indexOf"])(r,t),o=Object(u["indexOf"])(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,r=n.length,i=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var f=0;f0||o.force&&!s.length){var k=void 0,I=void 0,D=void 0;if(c){I={},p&&(k={});for(j=0;ja)return!0;if(o){var s=u["c"](t).seriesDataCount,c=r.getExtent();return Math.abs(c[0]-c[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,r,i){},t.prototype.createPointerEl=function(t,e,n,r){var i=e.pointer;if(i){var a=f(t).pointerEl=new o[i.type](d(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,r){if(e.label){var i=f(t).labelEl=new a["a"](d(e.label));t.add(i),m(i,r)}},t.prototype.updatePointerEl=function(t,e,n){var r=f(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,r){var i=f(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),m(i,r))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,s=n.getModel("handle"),u=n.get("status");if(!s.get("show")||!u||"hide"===u)return a&&i.remove(a),void(this._handle=null);this._handle||(e=!0,a=this._handle=o["createIcon"](s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){c["g"](t.event)},onmousedown:p(this._onHandleDragMove,this,0,0),drift:p(this._onHandleDragMove,this),ondragend:p(this._onHandleDragEnd,this)}),i.add(a)),_(a,n,!1),a.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var h=s.get("size");r["isArray"](h)||(h=[h,h]),a.scaleX=h[0]/2,a.scaleY=h[1]/2,l["b"](this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){v(this._axisPointerModel,!e&&this._moveAnimation,this._handle,b(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(b(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(b(r)),f(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),l["a"](this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function v(t,e,n,r){y(f(n).lastProp,r)||(f(n).lastProp=r,e?s["h"](n,r,t):(n.stopAnimation(),n.attr(r)))}function y(t,e){if(r["isObject"](t)&&r["isObject"](e)){var n=!0;return r["each"](e,(function(e,r){n=n&&y(t[r],e)})),!!n}return t===e}function m(t,e){t[e.get(["label","show"])?"show":"hide"]()}function b(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function _(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}e["a"]=g},dce8:function(t,e,n){"use strict";var r=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,r){t.x=e.x+n.x*r,t.y=e.y+n.y*r},t.lerp=function(t,e,n,r){var i=1-r;t.x=i*e.x+r*n.x,t.y=i*e.y+r*n.y},t}();e["a"]=r},dd4f:function(t,e,n){"use strict";var r=n("9ab4"),i=n("19eb"),o=n("e86a"),a=n("cbe5"),s=n("6d8b"),u=n("726e"),c=Object(s["defaults"])({strokeFirst:!0,font:u["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a["a"]),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["a"])(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Object(s["createObject"])(c,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Object(o["d"])(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(i["c"]);l.prototype.type="tspan",e["a"]=l},dded:function(t,e,n){"use strict";var r=n("9ab4"),i=n("42e5"),o=function(t){function e(e,n,r,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return Object(r["a"])(e,t),e}(i["a"]);e["a"]=o},deca:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"h",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return p})),n.d(e,"b",(function(){return g}));var r=n("6d8b"),i=n("e0d3"),o=Object(i["o"])();function a(t,e,n,i,o){var a;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();a=s&&s.animation}var u=e&&e.isAnimationEnabled(),c="update"===t;if(u){var l=void 0,h=void 0,f=void 0;i?(l=Object(r["retrieve2"])(i.duration,200),h=Object(r["retrieve2"])(i.easing,"cubicOut"),f=0):(l=e.getShallow(c?"animationDurationUpdate":"animationDuration"),h=e.getShallow(c?"animationEasingUpdate":"animationEasing"),f=e.getShallow(c?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(l=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(f=a.delay)),Object(r["isFunction"])(f)&&(f=f(n,o)),Object(r["isFunction"])(l)&&(l=l(n));var d={duration:l||0,delay:f,easing:h};return d}return null}function s(t,e,n,i,o,s,u){var c,l=!1;Object(r["isFunction"])(o)?(u=s,s=o,o=null):Object(r["isObject"])(o)&&(s=o.cb,u=o.during,l=o.isFrom,c=o.removeOpt,o=o.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var f=a(t,i,o,h?c||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,o):null);if(f&&f.duration>0){var d=f.duration,p=f.delay,g=f.easing,v={duration:d,delay:p||0,easing:g,done:s,force:!!s||!!u,setToFinal:!h,scope:t,during:u};l?e.animateFrom(n,v):e.animateTo(n,v)}else e.stopAnimation(),!l&&e.attr(n),u&&u(1),s&&s()}function u(t,e,n,r,i,o){s("update",t,e,n,r,i,o)}function c(t,e,n,r,i,o){s("enter",t,e,n,r,i,o)}function l(t){if(!t.__zr)return!0;for(var e=0;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();r["c"](i),e["a"]=i},e263:function(t,e,n){"use strict";n.d(e,"d",(function(){return d})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return y})),n.d(e,"e",(function(){return m})),n.d(e,"a",(function(){return b}));var r=n("401b"),i=n("4a3f"),o=Math.min,a=Math.max,s=Math.sin,u=Math.cos,c=2*Math.PI,l=r["create"](),h=r["create"](),f=r["create"]();function d(t,e,n){if(0!==t.length){for(var r=t[0],i=r[0],s=r[0],u=r[1],c=r[1],l=1;l1e-4)return p[0]=t-n,p[1]=e-i,g[0]=t+n,void(g[1]=e+i);if(l[0]=u(o)*n+t,l[1]=s(o)*i+e,h[0]=u(a)*n+t,h[1]=s(a)*i+e,v(p,l,h),y(g,l,h),o%=c,o<0&&(o+=c),a%=c,a<0&&(a+=c),o>a&&!d?a+=c:oo&&(f[0]=u(_)*n+t,f[1]=s(_)*i+e,v(p,f,p),y(g,f,g))}},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e4b8:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("6d8b"),i=n("e86a");function o(t,e,n){var o=t.get("borderRadius");if(null==o)return n?{cornerRadius:0}:null;Object(r["isArray"])(o)||(o=[o,o,o,o]);var a=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Object(r["map"])(o,(function(t){return Object(i["g"])(t,a)}))}}},e86a:function(t,e,n){"use strict";n.d(e,"f",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"g",(function(){return d})),n.d(e,"c",(function(){return p}));var r=n("9850"),i=n("d51b"),o=n("726e"),a={};function s(t,e){e=e||o["a"];var n=a[e];n||(n=a[e]=new i["a"](500));var r=n.get(t);return null==r&&(r=o["d"].measureText(t,e).width,n.put(t,r)),r}function u(t,e,n,i){var o=s(t,e),a=f(e),u=l(0,o,n),c=h(0,a,i),d=new r["a"](u,c,o,a);return d}function c(t,e,n,i){var o=((t||"")+"").split("\n"),a=o.length;if(1===a)return u(o[0],e,n,i);for(var s=new r["a"](0,0,0,0),c=0;c=0?parseFloat(t)/100*e:parseFloat(t):t}function p(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,u=n.x,c=n.y,l="left",h="top";if(r instanceof Array)u+=d(r[0],n.width),c+=d(r[1],n.height),l=null,h=null;else switch(r){case"left":u-=i,c+=s,l="right",h="middle";break;case"right":u+=i+a,c+=s,h="middle";break;case"top":u+=a/2,c-=i,l="center",h="bottom";break;case"bottom":u+=a/2,c+=o+i,l="center";break;case"inside":u+=a/2,c+=s,l="center",h="middle";break;case"insideLeft":u+=i,c+=s,h="middle";break;case"insideRight":u+=a-i,c+=s,l="right",h="middle";break;case"insideTop":u+=a/2,c+=i,l="center";break;case"insideBottom":u+=a/2,c+=o-i,l="center",h="bottom";break;case"insideTopLeft":u+=i,c+=i;break;case"insideTopRight":u+=a-i,c+=i,l="right";break;case"insideBottomLeft":u+=i,c+=o-i,h="bottom";break;case"insideBottomRight":u+=a-i,c+=o-i,l="right",h="bottom";break}return t=t||{},t.x=u,t.y=c,t.align=l,t.verticalAlign=h,t}},e887:function(t,e,n){"use strict";var r=n("6d8b"),i=n("2dc5"),o=n("8918"),a=n("625e"),s=n("e0d3"),u=n("7d6c"),c=n("9fbc"),l=n("cccd"),h=n("2306"),f=s["o"](),d=Object(l["a"])(),p=function(){function t(){this.group=new i["a"],this.uid=o["c"]("viewChart"),this.renderTask=Object(c["a"])({plan:y,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){0},t.prototype.highlight=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&v(i,r,"emphasis")},t.prototype.downplay=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&v(i,r,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateLayout=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.eachRendered=function(t){Object(h["traverseElements"])(this.group,t)},t.markUpdateMethod=function(t,e){f(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function g(t,e,n){t&&Object(u["y"])(t)&&("emphasis"===e?u["r"]:u["C"])(t,n)}function v(t,e,n){var i=s["u"](t,e),o=e&&null!=e.highlightKey?Object(u["v"])(e.highlightKey):null;null!=i?Object(r["each"])(s["r"](i),(function(e){g(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){g(t,n,o)}))}function y(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&f(i).updateMethod,u=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==u&&a[u](e,n,r,i),b[u]}a["b"](p,["dispose"]),a["c"](p);var b={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};e["a"]=p},ec6f:function(t,e,n){"use strict";n.d(e,"e",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return h})),n.d(e,"d",(function(){return f})),n.d(e,"f",(function(){return y}));var r=n("6d8b"),i=n("07fd"),o=n("e0d3"),a=n("0f99"),s=function(){function t(t){this.data=t.data||(t.sourceFormat===i["d"]?{}:[]),this.sourceFormat=t.sourceFormat||i["h"],this.seriesLayoutBy=t.seriesLayoutBy||i["a"],this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n1?"."+e[1]:"")}function u(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var c=r["normalizeCssArray"];function l(t,e,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function u(t){return t&&r["trim"](t)?t:"-"}function c(t){return!(null==t||isNaN(t)||!isFinite(t))}var l="time"===e,h=t instanceof Date;if(l||h){var f=l?Object(o["p"])(t):t;if(!isNaN(+f))return Object(a["h"])(f,i,n);if(h)return"-"}if("ordinal"===e)return r["isStringSafe"](t)?u(t):r["isNumber"](t)&&c(t)?t+"":"-";var d=Object(o["o"])(t);return c(d)?s(d):r["isStringSafe"](t)?u(t):"boolean"===typeof t?t+"":"-"}var h=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e,n){r["isArray"](e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s':'';var u=n.markerId||"markerX";return{renderMode:s,content:"{"+u+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}}function v(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=Object(o["p"])(e),i=n?"getUTC":"get",s=r[i+"FullYear"](),u=r[i+"Month"]()+1,c=r[i+"Date"](),l=r[i+"Hours"](),h=r[i+"Minutes"](),f=r[i+"Seconds"](),d=r[i+"Milliseconds"]();return t=t.replace("MM",Object(a["y"])(u,2)).replace("M",u).replace("yyyy",s).replace("yy",Object(a["y"])(s%100+"",2)).replace("dd",Object(a["y"])(c,2)).replace("d",c).replace("hh",Object(a["y"])(l,2)).replace("h",l).replace("mm",Object(a["y"])(h,2)).replace("m",h).replace("ss",Object(a["y"])(f,2)).replace("s",f).replace("SSS",Object(a["y"])(d,3)),t}function y(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function m(t,e){return e=e||"transparent",r["isString"](t)?t:r["isObject"](t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function b(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},edae:function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return l}));var r="[ECharts] ",i={},o="undefined"!==typeof console&&console.warn&&console.log;function a(t,e,n){if(o){if(n){if(i[e])return;i[e]=!0}console[t](r+e)}}function s(t,e){a("warn",t,e)}function u(t,e){a("error",t,e)}function c(t){0}function l(t){throw new Error(t)}},ee1a:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u}));var r=n("6d8b"),i=n("80b9");function o(t,e,n){n=n||{};var i,o,s,u=n.byIndex,c=n.stackedCoordDimension;a(e)?i=e:(o=e.schema,i=o.dimensions,s=e.store);var l,h,f,d,p=!(!t||!t.get("stack"));if(Object(r["each"])(i,(function(t,e){Object(r["isString"])(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(u||l||!t.ordinalMeta||(l=t),h||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(h=t))})),!h||u||l||(u=!0),h){f="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var g=h.coordDim,v=h.type,y=0;Object(r["each"])(i,(function(t){t.coordDim===g&&y++}));var m={name:f,coordDim:g,coordDimIndex:y,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},b={name:d,coordDim:d,coordDimIndex:y+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(m.storeDimIndex=s.ensureCalculationDimension(d,v),b.storeDimIndex=s.ensureCalculationDimension(f,v)),o.appendCalculationDimension(m),o.appendCalculationDimension(b)):(i.push(m),i.push(b))}return{stackedDimension:h&&h.name,stackedByDimension:l&&l.name,isStackedByIndex:u,stackedOverDimension:d,stackResultDimension:f}}function a(t){return!Object(i["d"])(t.schema)}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function u(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}},ee29:function(t,e,n){"use strict";n.d(e,"a",(function(){return j}));var r=n("e0d3"),i=n("9850"),o=n("deca"),a=n("861c"),s=n("3842"),u=n("8582"),c=n("89b6"),l=n("6d8b"),h=n("2355"),f=n("7837"),d=n("857d");function p(t){if(t){for(var e=[],n=0;n=0&&n.attr(i.oldLayoutSelect),Object(l["indexOf"])(p,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),Object(o["h"])(n,h,e,c)}else if(n.attr(h),!Object(f["f"])(n).valueAnimation){var g=Object(l["retrieve2"])(n.style.opacity,1);n.style.opacity=0,Object(o["c"])(n,{style:{opacity:g}},e,c)}if(i.oldLayout=h,n.states.select){var v=i.oldLayoutSelect={};_(v,h,x),_(v,n.states.select,x)}if(n.states.emphasis){var y=i.oldLayoutEmphasis={};_(y,h,x),_(y,n.states.emphasis,x)}Object(f["a"])(n,c,d,e,e)}if(r&&!r.ignore&&!r.invisible){i=b(r),s=i.oldLayout;var O={points:r.shape.points};s?(r.attr({shape:s}),Object(o["h"])(r,{shape:O},e)):(r.setShape(O),r.style.strokePercent=0,Object(o["c"])(r,{style:{strokePercent:1}},e)),i.oldLayout=O}},t}(),w=O,S=Object(r["o"])();function j(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var r=S(e).labelManager;r||(r=S(e).labelManager=new w),r.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var r=S(e).labelManager;n.updatedSeries.forEach((function(t){r.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()}))}},ef59:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"b",(function(){return g})),n.d(e,"d",(function(){return v})),n.d(e,"c",(function(){return y}));var r=n("4319"),i=n("22d1"),o={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},a={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},s=n("6d8b"),u="ZH",c="EN",l=c,h={},f={},d=i["a"].domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(u)>-1?u:l}():l;function p(t,e){t=t.toUpperCase(),f[t]=new r["a"](e),h[t]=e}function g(t){if(Object(s["isString"])(t)){var e=h[t.toUpperCase()]||{};return t===u||t===c?Object(s["clone"])(e):Object(s["merge"])(Object(s["clone"])(e),Object(s["clone"])(h[l]),!1)}return Object(s["merge"])(Object(s["clone"])(t),Object(s["clone"])(h[l]),!1)}function v(t){return f[t]}function y(){return f[l]}p(c,o),p(u,a)},f279:function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return v})),n.d(e,"d",(function(){return y}));var r=n("9ab4"),i=n("9850"),o=n("401b"),a=n("0655"),s=n("1687"),u=n("6d8b"),c=[];function l(t,e){for(var n=0;nn&&(t=i,n=a)}if(t)return f(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],r=[-1/0,-1/0],o=this.geometries;return Object(u["each"])(o,(function(e){"polygon"===e.type?h(e.exterior,n,r,t):Object(u["each"])(e.points,(function(e){h(e,n,r,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),e=new i["a"](n[0],n[1],r[0]-n[0],r[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var r=0,i=n.length;r1||y&&!g){var b=u(v,l,h,p,m);e=b.inlineValues,n=b.inlineValueTypes,s=b.blocks,c=b.inlineValues[0]}else if(g){var _=d.getDimensionInfo(p[0]);c=e=Object(o["e"])(d,h,p[0]),n=_.type}else c=e=y?v[0]:v;var x=Object(a["n"])(l),O=x&&l.name||"",w=d.getName(h),S=f?O:w;return Object(i["c"])("section",{header:O,noHeader:f||!x,sortParam:c,blocks:[Object(i["c"])("nameValue",{markerType:"item",markerColor:m,name:S,noName:!Object(r["trim"])(S),value:e,valueType:n})].concat(s||[])})}function u(t,e,n,a,s){var u=e.getData(),c=Object(r["reduce"])(t,(function(t,e,n){var r=u.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName}),!1),l=[],h=[],f=[];function d(t,e){var n=u.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(c?f.push(Object(i["c"])("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:t,valueType:n.type})):(l.push(t),h.push(n.type)))}return a.length?Object(r["each"])(a,(function(t){d(Object(o["e"])(u,n,t),t)})):Object(r["each"])(t,d),{inlineValues:l,inlineValueTypes:h,blocks:f}}},f72b:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h}));var r=n("6d8b"),i=n("ec6f"),o=n("07fd"),a=n("0f99"),s=n("04f7"),u=n("d0ce"),c=n("2b17"),l=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(f(n)){var u=n,c=void 0,l=void 0,h=void 0;if(s){var d=a[0];d.prepareSource(),h=d.getSource(),c=h.data,l=h.sourceFormat,e=[d._getVersionSign()]}else c=u.get("data",!0),l=Object(r["isTypedArray"])(c)?o["g"]:o["f"],e=[];var p=this._getSourceMetaRawOption()||{},g=h&&h.metaRawOption||{},v=Object(r["retrieve2"])(p.seriesLayoutBy,g.seriesLayoutBy)||null,y=Object(r["retrieve2"])(p.sourceHeader,g.sourceHeader),m=Object(r["retrieve2"])(p.dimensions,g.dimensions),b=v!==g.seriesLayoutBy||!!y!==!!g.sourceHeader||m;t=b?[Object(i["b"])(c,{seriesLayoutBy:v,sourceHeader:y,dimensions:m},l)]:[]}else{var _=n;if(s){var x=this._applyTransform(a);t=x.sourceList,e=x.upstreamSignList}else{var O=_.get("source",!0);t=[Object(i["b"])(O,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(null!=a){var u="";1!==t.length&&d(u)}var c=[],l=[];return Object(r["each"])(t,(function(t){t.prepareSource();var e=t.getSource(a||0),n="";null==a||e||d(n),c.push(e),l.push(t._getVersionSign())})),o?e=Object(s["a"])(o,c,{datasetIndex:n.componentIndex}):null!=a&&(e=[Object(i["a"])(c[0])]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e0)for(var u=0;u=0;--u)if(c[l]){a=c[l];break}a=a||s.none}if(r["isArray"](a)){var d=null==t.level?0:t.level>=0?t.level:a.length+t.level;d=Math.min(d,a.length-1),a=a[d]}}return x(new Date(t.value),a,o,i)}function w(t,e){var n=i["p"](t),r=n[M(e)]()+1,o=n[T(e)](),a=n[C(e)](),s=n[k(e)](),u=n[I(e)](),c=n[D(e)](),l=0===c,h=l&&0===u,f=h&&0===s,d=f&&0===a,p=d&&1===o,g=p&&1===r;return g?"year":p?"month":d?"day":f?"hour":h?"minute":l?"second":"millisecond"}function S(t,e,n){var o=r["isNumber"](t)?i["p"](t):t;switch(e=e||w(t,n),e){case"year":return o[j(n)]();case"half-year":return o[M(n)]()>=6?1:0;case"quarter":return Math.floor((o[M(n)]()+1)/4);case"month":return o[M(n)]();case"day":return o[T(n)]();case"half-day":return o[C(n)]()/24;case"hour":return o[C(n)]();case"minute":return o[k(n)]();case"second":return o[I(n)]();case"millisecond":return o[D(n)]()}}function j(t){return t?"getUTCFullYear":"getFullYear"}function M(t){return t?"getUTCMonth":"getMonth"}function T(t){return t?"getUTCDate":"getDate"}function C(t){return t?"getUTCHours":"getHours"}function k(t){return t?"getUTCMinutes":"getMinutes"}function I(t){return t?"getUTCSeconds":"getSeconds"}function D(t){return t?"getUTCMilliseconds":"getMilliseconds"}function A(t){return t?"setUTCFullYear":"setFullYear"}function P(t){return t?"setUTCMonth":"setMonth"}function L(t){return t?"setUTCDate":"setDate"}function R(t){return t?"setUTCHours":"setHours"}function E(t){return t?"setUTCMinutes":"setMinutes"}function B(t){return t?"setUTCSeconds":"setSeconds"}function N(t){return t?"setUTCMilliseconds":"setMilliseconds"}},f934:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"g",(function(){return d})),n.d(e,"i",(function(){return p})),n.d(e,"j",(function(){return g})),n.d(e,"d",(function(){return v})),n.d(e,"h",(function(){return y})),n.d(e,"f",(function(){return m})),n.d(e,"c",(function(){return b}));var r=n("6d8b"),i=n("9850"),o=n("3842"),a=n("eda2"),s=r["each"],u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function l(t,e,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;e.eachChild((function(u,c){var l,h,f=u.getBoundingRect(),d=e.childAt(c+1),p=d&&d.getBoundingRect();if("horizontal"===t){var g=f.width+(p?-p.x+f.x:0);l=o+g,l>r||u.newline?(o=0,l=g,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(p?-p.y+f.y:0);h=a+v,h>i||u.newline?(o+=s+n,a=0,h=v,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=o,u.y=a,u.markRedraw(),"horizontal"===t?o=l+n:a=h+n)}))}var h=l;r["curry"](l,"vertical"),r["curry"](l,"horizontal");function f(t,e,n){var r=e.width,i=e.height,s=Object(o["q"])(t.left,r),u=Object(o["q"])(t.top,i),c=Object(o["q"])(t.right,r),l=Object(o["q"])(t.bottom,i);return(isNaN(s)||isNaN(parseFloat(t.left)))&&(s=0),(isNaN(c)||isNaN(parseFloat(t.right)))&&(c=r),(isNaN(u)||isNaN(parseFloat(t.top)))&&(u=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=i),n=a["i"](n||0),{width:Math.max(c-s-n[1]-n[3],0),height:Math.max(l-u-n[0]-n[2],0)}}function d(t,e,n){n=a["i"](n||0);var r=e.width,s=e.height,u=Object(o["q"])(t.left,r),c=Object(o["q"])(t.top,s),l=Object(o["q"])(t.right,r),h=Object(o["q"])(t.bottom,s),f=Object(o["q"])(t.width,r),d=Object(o["q"])(t.height,s),p=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=r-l-g-u),isNaN(d)&&(d=s-h-p-c),null!=v&&(isNaN(f)&&isNaN(d)&&(v>r/s?f=.8*r:d=.8*s),isNaN(f)&&(f=v*d),isNaN(d)&&(d=f/v)),isNaN(u)&&(u=r-l-f-g),isNaN(c)&&(c=s-h-d-p),t.left||t.right){case"center":u=r/2-f/2-n[3];break;case"right":u=r-f-g;break}switch(t.top||t.bottom){case"middle":case"center":c=s/2-d/2-n[0];break;case"bottom":c=s-d-p;break}u=u||0,c=c||0,isNaN(f)&&(f=r-g-u-(l||0)),isNaN(d)&&(d=s-p-c-(h||0));var y=new i["a"](u+n[3],c+n[0],f,d);return y.margin=n,y}function p(t,e,n,o,a,s){var u,c=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if(s=s||t,s.x=t.x,s.y=t.y,!c&&!l)return!1;if("raw"===h)u="group"===t.type?new i["a"](0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();u=u.clone(),u.applyTransform(f)}var p=d(r["defaults"]({width:u.width,height:u.height},e),n,o),g=c?p.x-u.x:0,v=l?p.y-u.y:0;return"raw"===h?(s.x=g,s.y=v):(s.x+=g,s.y+=v),s===t&&t.markRedraw(),!0}function g(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]}function v(t){var e=t.layoutMode||t.constructor.layoutMode;return r["isObject"](e)?e:e?{type:e}:null}function y(t,e,n){var i=n&&n.ignoreSize;!r["isArray"](i)&&(i=[i,i]);var o=u(c[0],0),a=u(c[1],1);function u(n,r){var o={},a=0,u={},c=0,f=2;if(s(n,(function(e){u[e]=t[e]})),s(n,(function(t){l(e,t)&&(o[t]=u[t]=e[t]),h(o,t)&&a++,h(u,t)&&c++})),i[r])return h(e,n[1])?u[n[2]]=null:h(e,n[2])&&(u[n[1]]=null),u;if(c!==f&&a){if(a>=f)return o;for(var d=0;d=a)}}for(var f=this.__startIndex;f15)break}}n.prevElClipPaths&&c.restore()};if(f)if(0===f.length)s=u.__endIndex;else for(var _=d.dpr,x=0;x0&&t>r[0]){for(s=0;st)break;a=n[r[s]]}if(r.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var u=a.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,r=0;r0?b:0),this._needsManuallyCompositing),h.__builtin__||i["logError"]("ZLevel "+c+" has been used by unkown layer "+h.id),h!==s&&(h.__used=!0,h.__startIndex!==a&&(h.__dirty=!0),h.__startIndex=a,h.incremental?h.__drawIndex=-1:h.__drawIndex=a,e(a),s=h),r.__dirty&l["a"]&&!r.__inHover&&(h.__dirty=!0,h.incremental&&h.__drawIndex<0&&(h.__drawIndex=a))}e(a),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,i["each"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?i["merge"](n[t],e,!0):n[t]=e;for(var r=0;r0?"top":"bottom",r="center"):Object(h["l"])(o-y)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),b={axisLine:function(t,e,n,i){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var u=e.axis.getExtent(),c=i.transform,l=[u[0],0],h=[u[1],0],d=l[0]>h[0];c&&(Object(p["applyTransform"])(l,l,c),Object(p["applyTransform"])(h,h,c));var g=Object(r["extend"])({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),v=new o["a"]({shape:{x1:l[0],y1:l[1],x2:h[0],y2:h[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a["subPixelOptimizeLine"](v.shape,v.style.lineWidth),v.anid="line",n.add(v);var y=e.get(["axisLine","symbol"]);if(null!=y){var m=e.get(["axisLine","symbolSize"]);Object(r["isString"])(y)&&(y=[y,y]),(Object(r["isString"])(m)||Object(r["isNumber"])(m))&&(m=[m,m]);var b=Object(f["b"])(e.get(["axisLine","symbolOffset"])||0,m),_=m[0],x=m[1];Object(r["each"])([{rotate:t.rotation+Math.PI/2,offset:b[0],r:0},{rotate:t.rotation-Math.PI/2,offset:b[1],r:Math.sqrt((l[0]-h[0])*(l[0]-h[0])+(l[1]-h[1])*(l[1]-h[1]))}],(function(e,r){if("none"!==y[r]&&null!=y[r]){var i=Object(f["a"])(y[r],-_/2,-x/2,_,x,g.stroke,!0),o=e.r+e.offset,a=d?h:l;i.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,i){var o=M(n,i,e,t),a=C(n,i,e,t);if(x(e,a,o),T(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var s=Object(v["b"])(Object(r["map"])(a,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));Object(v["a"])(s)}},axisName:function(t,e,n,i){var o=Object(r["retrieve"])(t.axisName,e.get("name"));if(o){var l,h,f=e.get("nameLocation"),d=t.nameDirection,p=e.getModel("nameTextStyle"),g=e.get("nameGap")||0,v=e.axis.getExtent(),b=v[0]>v[1]?-1:1,x=["start"===f?v[0]-b*g:"end"===f?v[1]+b*g:(v[0]+v[1])/2,S(f)?t.labelOffset+d*g:0],O=e.get("nameRotate");null!=O&&(O=O*y/180),S(f)?l=m.innerTextLayout(t.rotation,null!=O?O:t.rotation,d):(l=_(t.rotation,f,O||0,v),h=t.axisNameAvailableWidth,null!=h&&(h=Math.abs(h/Math.sin(l.rotation)),!isFinite(h)&&(h=null)));var w=p.getFont(),j=e.get("nameTruncate",!0)||{},M=j.ellipsis,T=Object(r["retrieve"])(t.nameTruncateMaxWidth,j.maxWidth,h),C=new s["a"]({x:x[0],y:x[1],rotation:l.rotation,silent:m.isLabelSilent(e),style:Object(c["c"])(p,{text:o,font:w,overflow:"truncate",width:T,ellipsis:M,fill:p.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:p.get("align")||l.textAlign,verticalAlign:p.get("verticalAlign")||l.textVerticalAlign}),z2:1});if(a["setTooltipConfig"]({el:C,componentModel:e,itemName:o}),C.__fullText=o,C.anid="name",e.get("triggerEvent")){var k=m.makeAxisEventDataBase(e);k.targetType="axisName",k.name=o,Object(u["a"])(C).eventData=k}i.add(C),C.updateTransform(),n.add(C),C.decomposeTransform()}}};function _(t,e,n,r){var i,o,a=Object(h["v"])(n-t),s=r[0]>r[1],u="start"===e&&!s||"start"!==e&&s;return Object(h["l"])(a-y/2)?(o=u?"bottom":"top",i="center"):Object(h["l"])(a-1.5*y)?(o=u?"top":"bottom",i="center"):(o="middle",i=a<1.5*y&&a>y/2?u?"left":"right":u?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function x(t,e,n){if(!Object(g["j"])(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],u=e[e.length-2],c=n[0],l=n[1],h=n[n.length-1],f=n[n.length-2];!1===r?(O(o),O(c)):w(o,a)&&(r?(O(a),O(l)):(O(o),O(c))),!1===i?(O(s),O(h)):w(u,s)&&(i?(O(u),O(f)):(O(s),O(h)))}}function O(t){t&&(t.ignore=!0)}function w(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var i=d["identity"]([]);return d["rotate"](i,i,-t.rotation),n.applyTransform(d["mul"]([],i,t.getLocalTransform())),r.applyTransform(d["mul"]([],i,e.getLocalTransform())),n.intersect(r)}}function S(t){return"middle"===t||"center"===t}function j(t,e,n,r,i){for(var s=[],u=[],c=[],l=0;le&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===u.type&&s){var l=u.getBaseAxis(),h=u.getOtherAxis(l),f=l.getExtent(),d=n.getDevicePixelRatio(),p=Math.abs(f[1]-f[0])*(d||1),g=Math.round(c/p);if(isFinite(g)&&g>1){"lttb"===s&&t.setData(a.lttbDownSample(a.mapDimension(h.dim),1/g));var v=void 0;Object(r["isString"])(s)?v=i[s]:Object(r["isFunction"])(s)&&(v=s),v&&t.setData(a.downSample(a.mapDimension(h.dim),1/g,v,o))}}}}}},ff2e:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return f})),n.d(e,"e",(function(){return p})),n.d(e,"d",(function(){return g})),n.d(e,"a",(function(){return v})),n.d(e,"f",(function(){return y})),n.d(e,"g",(function(){return m})),n.d(e,"h",(function(){return b}));var r=n("6d8b"),i=n("2306"),o=n("e86a"),a=n("eda2"),s=n("1687"),u=n("697e"),c=n("fab2"),l=n("7837");function h(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle(),e.fill=null):"shadow"===n&&(e=r.getAreaStyle(),e.stroke=null),e}function f(t,e,n,r,i){var s=n.get("value"),u=p(s,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),c=n.getModel("label"),h=a["i"](c.get("padding")||0),f=c.getFont(),g=o["d"](u,f),v=i.position,y=g.width+h[1]+h[3],m=g.height+h[0]+h[2],b=i.align;"right"===b&&(v[0]-=y),"center"===b&&(v[0]-=y/2);var _=i.verticalAlign;"bottom"===_&&(v[1]-=m),"middle"===_&&(v[1]-=m/2),d(v,y,m,r);var x=c.get("backgroundColor");x&&"auto"!==x||(x=e.get(["axisLine","lineStyle","color"])),t.label={x:v[0],y:v[1],style:Object(l["c"])(c,{text:u,font:f,fill:c.getTextColor(),padding:h,backgroundColor:x}),z2:10}}function d(t,e,n,r){var i=r.getWidth(),o=r.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function p(t,e,n,i,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var c={value:u["c"](e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};r["each"](i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=t.dataIndexInside,i=e&&e.getDataParams(r);i&&c.seriesData.push(i)})),r["isString"](s)?a=s.replace("{value}",a):r["isFunction"](s)&&(a=s(c))}return a}function g(t,e,n){var r=s["create"]();return s["rotate"](r,r,n.rotation),s["translate"](r,r,n.position),i["applyTransform"]([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function v(t,e,n,r,i,o){var a=c["a"].innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),f(e,r,i,o,{position:g(r.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function y(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function m(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function b(t,e,n,r,i,o){return{cx:t,cy:e,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}}}]); //# sourceMappingURL=chunk-4347d540.undefined.1727314329046.js.map