(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2289b187"],{"0094":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return u}));var r="\0__throttleOriginMethod",i="\0__throttleRate",a="\0__throttleType";function o(t,e,n){var r,i,a,o,s,u=0,c=0,l=null;function h(){c=(new Date).getTime(),l=null,t.apply(a,o||[])}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[a],h=u[i];if(h!==n||l!==s){if(null==n||!s)return t[e]=c;u=t[e]=o(c,n,"debounce"===s),u[r]=c,u[a]=s,u[i]=n}return u}}function u(t,e){var n=t[e];n&&n[r]&&(t[e]=n[r])}},"0437":function(t,e,n){"use strict";n.d(e,"g",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"c",(function(){return d})),n.d(e,"b",(function(){return p})),n.d(e,"d",(function(){return x})),n.d(e,"f",(function(){return O})),n.d(e,"h",(function(){return w})),n.d(e,"a",(function(){return S}));var r=n("5d70"),i=n("306e"),a=n("7a9c"),o=n("d940"),s=n("2196"),u={};function c(t,e){for(var n=0;ni&&(i+=d);var g=Math.atan2(u,o);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-o)*(v-o)+(y-u)*(y-u),x=(m-o)*(m-o)+(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(T,w,S),r["a"].sub(M,j,S);var n=T.len(),i=M.len();if(!(n<.001||i<.001)){T.scale(1/n),M.scale(1/i);var a=T.dot(M),o=Math.cos(e);if(o1&&r["a"].copy(I,j),I.toArray(t[1])}}}}function D(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(T,S,w),r["a"].sub(M,j,S);var i=T.len(),a=M.len();if(!(i<.001||a<.001)){T.scale(1/i),M.scale(1/a);var o=T.dot(e),s=Math.cos(n);if(o=c)r["a"].copy(I,j);else{I.scaleAndAdd(M,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,a=i?t:t.ensureState(n);a.ignore=e;var o=r.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):a.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]),a=h["dist"](r[1],r[2]);if(!i||!a)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var o=Math.min(i,a)*n,s=h["lerp"]([],r[1],r[0],o/i),u=h["lerp"]([],r[1],r[2],o/a),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;l=r)e|=1&t,t>>=1;return t+e}function o(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(o,t[a])<0?u=a:s=a+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]=o}}function c(t,e,n,r,i,a){var o=0,s=0,u=1;if(a(t,e[n+i])>0){s=r-i;while(u0)o=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}else{s=i+1;while(us&&(u=s);var c=o;o=i-u,u=i-c}o++;while(o>>1);a(t,e[n+l])>0?o=l+1:u=l}return u}function l(t,e,n,r,i,a){var o=0,s=0,u=1;if(a(t,e[n+i])<0){s=i+1;while(us&&(u=s);var c=o;o=i-u,u=i-c}else{s=r-i;while(u=0)o=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}o++;while(o>>1);a(t,e[n+l])<0?u=l:o=l+1}return u}function h(t,e){var n,r,a=i,o=0,s=0;o=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(a=m,a<1&&(a=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(a=y,a<1&&(a=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()}}},"11a1":function(t,e,n){"use strict";function r(t,e){return t.type===e}n.d(e,"a",(function(){return r}))},1290:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n("4a73"),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],a=Object(r["a"])(i),o=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return a(this,t,e)},t}()},"13d8":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.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1}return t}(),a=new i;function o(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[1].split(".")[0]>18),o&&(n.weChat=!0),e.canvasSupported=!!document.createElement("canvas").getContext,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?(a.wxa=!0,a.canvasSupported=!0,a.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?(a.worker=!0,a.canvasSupported=!0):"undefined"===typeof navigator?(a.node=!0,a.canvasSupported=!0,a.svgSupported=!0):o(navigator.userAgent,a),e["a"]=a},1471:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("306e");function i(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(r["isNumber"])(t)?[t]:Object(r["isArray"])(t)?t:null):null}},"157d":function(t,e,n){"use strict";n.d(e,"a",(function(){return M}));var r=n("097a"),i=n("306e"),a=n("cdbd"),o=n("8017"),s=n("51f2"),u=n("e50b"),c=n("c1de"),l=n("f64d");function h(){return!1}function f(t,e,n){var r=i["createCanvas"](),a=e.getWidth(),o=e.getHeight(),s=r.style;return s&&(s.position="absolute",s.left="0",s.top="0",s.width=a+"px",s.height=o+"px",r.setAttribute("data-zr-dom-id",t)),r.width=a*n,r.height=o*n,r}var d=function(t){function e(e,n,a){var o,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,a=a||r["e"],"string"===typeof e?o=f(e,n,a):i["isObject"](e)&&(o=e,e=o.id),s.id=e,s.dom=o;var u=o.style;return u&&(o.onselectstart=h,u.webkitUserSelect="none",u.userSelect="none",u.webkitTapHighlightColor="rgba(0,0,0,0)",u["-webkit-touch-callout"]="none",u.padding="0",u.margin="0",u.borderWidth="0"),s.domBack=null,s.ctxBack=null,s.painter=n,s.config=null,s.dpr=a,s}return Object(a["b"])(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=f("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,a=[],o=this.maxRepaintRectCount,s=!1,u=new c["a"](0,0,0,0);function h(t){if(t.isFinite()&&!t.isZero())if(0===a.length){var e=new c["a"](0,0,0,0);e.copy(t),a.push(e)}else{for(var n=!1,r=1/0,i=0,l=0;l=o)}}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(u=0;ut)break;s=n[r[u]]}if(r.splice(u+1,0,t),n[t]=e,!e.virtual)if(s){var c=s.dom;c.nextSibling?o.insertBefore(e.dom,c.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}else i["logError"]("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,r=0;r0?_:0),this._needsManuallyCompositing),h.__builtin__||i["logError"]("ZLevel "+c+" has been used by unkown layer "+h.id),h!==s&&(h.__used=!0,h.__startIndex!==o&&(h.__dirty=!0),h.__startIndex=o,h.incremental?h.__drawIndex=-1:h.__drawIndex=o,e(o),s=h),r.__dirty&l["a"]&&!r.__inHover&&(h.__dirty=!0,h.incremental&&h.__drawIndex<0&&(h.__drawIndex=o))}e(o),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;r1){var l=u.shift();1===u.length&&(n[s]=u[0]),this._update&&this._update(l,o)}else 1===c?(n[s]=null,this._update&&this._update(u,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,n,a,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_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)for(var d=0;d1)for(var s=0;su&&(s=NaN,u=NaN);var h=Object(r["eqNaN"])(s)||Object(r["eqNaN"])(u)||t&&!i;this._needCrossZero&&(s>0&&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=o[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),o={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function u(t,e,n){var r=t.rawExtentInfo;return r||(r=new a(t,e,n),t.rawExtentInfo=r,r)}function c(t,e){return null==e?null:Object(r["eqNaN"])(e)?NaN:t.parse(e)}},2196:function(t,e,n){"use strict";n.r(e),n.d(e,"extendShape",(function(){return L})),n.d(e,"extendPath",(function(){return N})),n.d(e,"registerShape",(function(){return B})),n.d(e,"getShapeClass",(function(){return E})),n.d(e,"makePath",(function(){return z})),n.d(e,"makeImage",(function(){return F})),n.d(e,"mergePath",(function(){return V})),n.d(e,"resizePath",(function(){return W})),n.d(e,"subPixelOptimizeLine",(function(){return G})),n.d(e,"subPixelOptimizeRect",(function(){return U})),n.d(e,"subPixelOptimize",(function(){return X})),n.d(e,"updateProps",(function(){return q})),n.d(e,"initProps",(function(){return Z})),n.d(e,"removeElement",(function(){return K})),n.d(e,"removeElementWithFadeOut",(function(){return J})),n.d(e,"isElementRemoved",(function(){return $})),n.d(e,"getTransform",(function(){return tt})),n.d(e,"applyTransform",(function(){return et})),n.d(e,"transformDirection",(function(){return nt})),n.d(e,"groupTransition",(function(){return at})),n.d(e,"clipPointsByRect",(function(){return ot})),n.d(e,"clipRectByRect",(function(){return st})),n.d(e,"createIcon",(function(){return ut})),n.d(e,"linePolygonIntersect",(function(){return ct})),n.d(e,"lineLineIntersect",(function(){return lt})),n.d(e,"setTooltipConfig",(function(){return dt}));var r=n("dcf4"),i=n("57d2"),a=n("2055"),o=n("21ac");n.d(e,"Path",(function(){return o["b"]}));var s=n("35c1"),u=n("c8a3");n.d(e,"Image",(function(){return u["a"]}));var c=n("48b8");n.d(e,"Group",(function(){return c["a"]}));var l=n("5d70");n.d(e,"Text",(function(){return l["a"]}));var h=n("8644");n.d(e,"Circle",(function(){return h["a"]}));var f=n("bd50");n.d(e,"Ellipse",(function(){return f["a"]}));var d=n("9945");n.d(e,"Sector",(function(){return d["a"]}));var p=n("2447");n.d(e,"Ring",(function(){return p["a"]}));var g=n("057e");n.d(e,"Polygon",(function(){return g["a"]}));var v=n("3aba");n.d(e,"Polyline",(function(){return v["a"]}));var y=n("b3e3");n.d(e,"Rect",(function(){return y["a"]}));var m=n("a83e");n.d(e,"Line",(function(){return m["a"]}));var b=n("3aa4");n.d(e,"BezierCurve",(function(){return b["a"]}));var _=n("47ca");n.d(e,"Arc",(function(){return _["a"]}));var x=n("726b");n.d(e,"CompoundPath",(function(){return x["a"]}));var O=n("207d");n.d(e,"LinearGradient",(function(){return O["a"]}));var w=n("70c7");n.d(e,"RadialGradient",(function(){return w["a"]}));var S=n("c1de");n.d(e,"BoundingRect",(function(){return S["a"]}));var j=n("3e3e");n.d(e,"OrientedBoundingRect",(function(){return j["a"]}));var T=n("cd0f");n.d(e,"Point",(function(){return T["a"]}));var M=n("d3f8");n.d(e,"IncrementalDisplayable",(function(){return M["a"]}));var k=n("a49f"),C=n("306e"),I=n("d86a"),A=Math.max,D=Math.min,P={};function L(t){return o["b"].extend(t)}var R=r["b"];function N(t,e){return R(t,e)}function B(t,e){P[t]=e}function E(t){if(P.hasOwnProperty(t))return P[t]}function z(t,e,n,i){var a=r["a"](t,e);return n&&("center"===i&&(n=H(n,a.getBoundingRect())),W(a,n)),a}function F(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(H(e,i))}}});return r}function H(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 a=t.x+t.width/2,o=t.y+t.height/2;return{x:a-i/2,y:o-n/2,width:i,height:n}}var V=r["c"];function W(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}}function G(t){return k["b"](t.shape,t.shape,t.style),t}function U(t){return k["c"](t.shape,t.shape,t.style),t}var X=k["a"];function Y(t,e,n,r,i,a,o){var s,u=!1;"function"===typeof i?(o=a,a=i,i=null):Object(C["isObject"])(i)&&(a=i.cb,o=i.during,u=i.isFrom,s=i.removeOpt,i=i.dataIndex);var c,l="update"===t,h="remove"===t;if(r&&r.ecModel){var f=r.ecModel.getUpdatePayload();c=f&&f.animation}var d=r&&r.isAnimationEnabled();if(h||e.stopAnimation("remove"),d){var p=void 0,g=void 0,v=void 0;c?(p=c.duration||0,g=c.easing||"cubicOut",v=c.delay||0):h?(s=s||{},p=Object(C["retrieve2"])(s.duration,200),g=Object(C["retrieve2"])(s.easing,"cubicOut"),v=0):(p=r.getShallow(l?"animationDurationUpdate":"animationDuration"),g=r.getShallow(l?"animationEasingUpdate":"animationEasing"),v=r.getShallow(l?"animationDelayUpdate":"animationDelay")),"function"===typeof v&&(v=v(i,r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null)),"function"===typeof p&&(p=p(i)),p>0?u?e.animateFrom(n,{duration:p,delay:v||0,easing:g,done:a,force:!!a||!!o,scope:t,during:o}):e.animateTo(n,{duration:p,delay:v||0,easing:g,done:a,force:!!a||!!o,setToFinal:!0,scope:t,during:o}):(e.stopAnimation(),!u&&e.attr(n),a&&a())}else e.stopAnimation(),!u&&e.attr(n),o&&o(1),a&&a()}function q(t,e,n,r,i,a){Y("update",t,e,n,r,i,a)}function Z(t,e,n,r,i,a){Y("init",t,e,n,r,i,a)}function K(t,e,n,r,i,a){$(t)||Y("remove",t,e,n,r,i,a)}function Q(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),K(t,{style:{opacity:0}},e,n,r)}function J(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||Q(t,e,n,r)})):Q(t,e,n,r)}function $(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function rt(t){return!t.isGroup}function it(t){return null!=t.shape}function at(t,e,n){if(t&&e){var r=i(t);e.traverse((function(t){if(rt(t)&&t.anid){var e=r[t.anid];if(e){var i=a(t);t.attr(a(e)),q(t,i,n,Object(I["a"])(t).dataIndex)}}}))}function i(t){var e={};return t.traverse((function(t){rt(t)&&t.anid&&(e[t.anid]=t)})),e}function a(t){var e={x:t.x,y:t.y,rotation:t.rotation};return it(t)&&(e.shape=Object(C["extend"])({},t.shape)),e}}function ot(t,e){return Object(C["map"])(t,(function(t){var n=t[0];n=A(n,e.x),n=D(n,e.x+e.width);var r=t[1];return r=A(r,e.y),r=D(r,e.y+e.height),[n,r]}))}function st(t,e){var n=A(t.x,e.x),r=D(t.x+t.width,e.x+e.width),i=A(t.y,e.y),a=D(t.y+t.height,e.y+e.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function ut(t,e,n){var r=Object(C["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(C["defaults"])(i,n),new u["a"](r)):z(t.replace("path://",""),r,n,"center")}function ct(t,e,n,r,i){for(var a=0,o=i[i.length-1];a1)return!1;var v=ht(d,p,l,h)/f;return!(v<0||v>1)}function ht(t,e,n,r){return t*r-n*e}function ft(t){return t<=1e-6&&t>=-1e-6}function dt(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=Object(C["isString"])(e)?{formatter:e}:e,a=n.mainType,o=n.componentIndex,s={componentType:a,name:r,$vars:["name"]};s[a+"Index"]=o;var u=t.formatterParamsExtra;u&&Object(C["each"])(Object(C["keys"])(u),(function(t){Object(C["hasOwn"])(s,t)||(s[t]=u[t],s.$vars.push(t))}));var c=Object(I["a"])(t.el);c.componentMainType=a,c.componentIndex=o,c.tooltipConfig={name:r,option:Object(C["defaults"])({content:r,formatterParams:s},i)}}B("circle",h["a"]),B("ellipse",f["a"]),B("sector",d["a"]),B("ring",p["a"]),B("polygon",g["a"]),B("polyline",v["a"]),B("rect",y["a"]),B("line",m["a"]),B("bezierCurve",b["a"]),B("arc",_["a"])},"21ac":function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n("cdbd"),i=n("7164"),a=n("4ade"),o=n("4c89"),s=n("e623");function u(t,e,n,r,i,a,o,u,c,l,h){if(0===c)return!1;var f=c;if(h>e+f&&h>r+f&&h>a+f&&h>u+f||ht+f&&l>n+f&&l>i+f&&l>o+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("6644"),p=a["a"].CMD,g=2*Math.PI,v=1e-4;function y(t,e){return Math.abs(t-e)e&&l>r&&l>a&&l>u||l1&&_(),p=s["a"](e,r,a,u,b[0]),d>1&&(g=s["a"](e,r,a,u,b[1]))),2===d?ye&&u>r&&u>a||u=0&&l<=1){for(var h=0,f=s["h"](e,r,a,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=a?1:-1;return o>=m[0]+t&&o<=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>o){var v=Math.atan2(s,p);l=a?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 a,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))),T&&(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(o["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 M=l[S++],k=l[S++],C=l[S++],I=l[S++],A=l[S++],D=l[S++];S+=1;var P=!!(1-l[S++]);a=Math.cos(A)*C+M,s=Math.sin(A)*I+k,T?(b=a,_=s):g+=Object(d["a"])(v,m,a,s,r,i);var L=(r-M)*I/C+M;if(n){if(f(M,k,I,A,A+D,P,e,L,i))return!0}else g+=w(M,k,I,A,A+D,P,L,i);v=Math.cos(A+D)*C+M,m=Math.sin(A+D)*I+k;break;case p.R:b=v=l[S++],_=m=l[S++];var R=l[S++],N=l[S++];if(a=b+R,s=_+N,n){if(o["a"](b,_,a,_,e,r,i)||o["a"](a,_,a,s,e,r,i)||o["a"](a,s,b,s,e,r,i)||o["a"](b,s,b,_,e,r,i))return!0}else g+=Object(d["a"])(a,_,a,s,r,i),g+=Object(d["a"])(b,s,b,_,r,i);break;case p.Z:if(n){if(o["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 T(t,e,n,r){return S(t,e,!0,n,r)}var M=n("306e"),k=n("2468"),C=n("097a"),I=n("f64d"),A=Object(M["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"]),D={style:Object(M["defaults"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i["a"].style)},P=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],L=function(t){function e(e){return t.call(this,e)||this}return Object(r["b"])(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 a=i.style;for(var o in r)a[o]!==r[o]&&(a[o]=r[o]);a.fill=r.fill?r.decal:null,a.decal=null,a.shadowColor=null,r.strokeFirst&&(a.stroke=null);for(var s=0;s.5?C["a"]:e>.2?C["c"]:C["d"]}if(t)return C["d"]}return C["a"]},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(M["isString"])(e)){var n=this.__zr,r=!(!n||!n.isDarkMode()),i=Object(k["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 a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;s=Math.max(s,null==u?4:u)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}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 a=this.path;if(this.hasStroke()){var o=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),T(a,o/s,t,e)))return!0}if(this.hasFill())return j(a,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(M["extend"])(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&I["b"])},e.prototype.createStyle=function(t){return Object(M["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(M["extend"])({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,a,o){t.prototype._applyStateObj.call(this,e,n,r,i,a,o);var s,u=!(n&&i);if(n&&n.shape?a?i?s=n.shape:(s=Object(M["extend"])({},r.shape),Object(M["extend"])(s,n.shape)):(s=Object(M["extend"])({},i?this.shape:r.shape),Object(M["extend"])(s,n.shape)):u&&(s=r.shape),s)if(a){this.shape=Object(M["extend"])({},this.shape);for(var c={},l=Object(M["keys"])(s),h=0;h255?255:t}function o(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)?a(parseFloat(e)/100*255):a(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 a=r.length;if("#"!==r.charAt(0)){var o=r.indexOf("("),s=r.indexOf(")");if(-1!==o&&s+1===a){var l=r.substr(0,o),h=r.substr(o+1,s-(o+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 3!==h.length?void f(e,0,0,0,1):(f(e,u(h[0]),u(h[1]),u(h[2]),g),v(t,e),e);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===a||5===a){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===a?parseInt(r.slice(4),16)/15:1),v(t,e),e):void f(e,0,0,0,1)}if(7===a||9===a){y=parseInt(r.slice(1,7),16);return y>=0&&y<=16777215?(f(e,(16711680&y)>>16,(65280&y)>>8,255&y,9===a?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]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return e=e||[],f(e,a(255*l(s,o,n+1/3)),a(255*l(s,o,n)),a(255*l(s,o,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,a=t[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),u=s-o,c=(s+o)/2;if(0===u)e=0,n=0;else{n=c<.5?u/(s+o):u/(2-s-o);var l=((s-r)/6+u/2)/u,h=((s-i)/6+u/2)/u,f=((s-a)/6+u/2)/u;r===s?e=f-h:i===s?e=1/3+l-f:a===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 k(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),o=Math.ceil(r),u=e[i],c=e[o],l=r-i;return n[0]=a(h(u[0],c[0],l)),n[1]=a(h(u[1],c[1],l)),n[2]=a(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),o=Math.ceil(r),u=y(e[i]),c=y(e[o]),l=r-i,f=k([a(h(u[0],c[0],l)),a(h(u[1],c[1],l)),a(h(u[2],c[2],l)),s(h(u[3],c[3],l))],"rgba");return n?{color:f,leftIndex:i,rightIndex:o,value:r}:f}}var j=S;function T(t,e,n,r){var i=y(t);if(t)return i=b(i),null!=e&&(i[0]=o(e)),null!=n&&(i[1]=c(n)),null!=r&&(i[2]=c(r)),k(m(i),"rgba")}function M(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),k(n,"rgba")}function k(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 C(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function I(){var t=Math.round(255*Math.random()),e=Math.round(255*Math.random()),n=Math.round(255*Math.random());return"rgb("+t+","+e+","+n+")"}},"246f":function(t,e,n){"use strict";var r=n("cdbd"),i=n("21ac"),a=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}(),o=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return Object(r["b"])(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-i),s=i+o,u=e.startAngle,c=e.endAngle,l=e.clockwise,h=Math.cos(u),f=Math.sin(u),d=Math.cos(c),p=Math.sin(c),g=l?c-u<2*Math.PI:u-c<2*Math.PI;g&&(t.moveTo(h*i+n,f*i+r),t.arc(h*s+n,f*s+r,o,-Math.PI+u,u,!l)),t.arc(n,r,a,u,c,!l),t.moveTo(d*a+n,p*a+r),t.arc(d*s+n,p*s+r,o,c-2*Math.PI,c-Math.PI,!l),0!==i&&(t.arc(n,r,i,c,u,l),t.moveTo(h*i+n,p*i+r)),t.closePath()},e}(i["b"]);e["a"]=o},"24c7":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("e166"),i=n("13d8"),a={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:". "}}}},o={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("306e"),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,a),p(u,o)},"258c":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("6644"),i=1e-8;function a(t,e){return Math.abs(t-e)=1)&&(t=1),t}s===c&&u===l||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=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&&(o||d1&&r>0?s:o}};return a;function o(){return e=t?null:a=0||(l.push(t),Object(u["isFunction"])(t)&&(t={install:t}),t.install(h))}},"306e":function(t,e,n){"use strict";n.r(e),n.d(e,"$override",(function(){return p})),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 T})),n.d(e,"isArrayLike",(function(){return M})),n.d(e,"each",(function(){return k})),n.d(e,"map",(function(){return C})),n.d(e,"reduce",(function(){return I})),n.d(e,"filter",(function(){return A})),n.d(e,"find",(function(){return D})),n.d(e,"keys",(function(){return P})),n.d(e,"bind",(function(){return R})),n.d(e,"curry",(function(){return N})),n.d(e,"isArray",(function(){return B})),n.d(e,"isFunction",(function(){return E})),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 G})),n.d(e,"isDom",(function(){return U})),n.d(e,"isGradientObject",(function(){return X})),n.d(e,"isImagePatternObject",(function(){return Y})),n.d(e,"isRegExp",(function(){return q})),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 J})),n.d(e,"slice",(function(){return $})),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 at})),n.d(e,"HashMap",(function(){return ot})),n.d(e,"createHashMap",(function(){return st})),n.d(e,"concatArray",(function(){return ut})),n.d(e,"createObject",(function(){return ct})),n.d(e,"hasOwn",(function(){return lt})),n.d(e,"noop",(function(){return ht}));var r={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},i={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},a=Object.prototype.toString,o=Array.prototype,s=o.forEach,u=o.filter,c=o.slice,l=o.map,h=function(){}.constructor,f=h?h.prototype:null,d={};function p(t,e){d[t]=e}var g=2311;function v(){return g++}function y(){for(var t=[],e=0;eo)return!0;if(a){var u=s["c"](t).seriesDataCount,c=r.getExtent();return Math.abs(c[0]-c[1])/u>o}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 o=h(t).pointerEl=new a[i.type](f(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,r){if(e.label){var i=h(t).labelEl=new o["a"](f(e.label));t.add(i),y(i,r)}},t.prototype.updatePointerEl=function(t,e,n){var r=h(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=h(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),y(i,r))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),o=this._handle,s=n.getModel("handle"),l=n.get("status");if(!s.get("show")||!l||"hide"===l)return o&&i.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=a["createIcon"](s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){u["g"](t.event)},onmousedown:d(this._onHandleDragMove,this,0,0),drift:d(this._onHandleDragMove,this),ondragend:d(this._onHandleDragEnd,this)}),i.add(o)),b(o,n,!1),o.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var h=s.get("size");r["isArray"](h)||(h=[h,h]),o.scaleX=h[0]/2,o.scaleY=h[1]/2,c["b"](this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,m(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(m(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(m(r)),h(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)},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 g(t,e,n,r){v(h(n).lastProp,r)||(h(n).lastProp=r,e?a["updateProps"](n,r,t):(n.stopAnimation(),n.attr(r)))}function v(t,e){if(r["isObject"](t)&&r["isObject"](e)){var n=!0;return r["each"](e,(function(e,r){n=n&&v(t[r],e)})),!!n}return t===e}function y(t,e){t[e.get(["label","show"])?"show":"hide"]()}function m(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function b(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"]=p},"35c1":function(t,e,n){"use strict";var r=n("57d2"),i=n("2055"),a=r["identity"],o=5e-5;function s(t){return t>o||t<-o}var u=[],c=[],l=r["create"](),h=Math.abs,f=function(){function t(){}return 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)},t.prototype.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;n||e?(i=i||r["create"](),n?this.getLocalTransform(i):a(i),e&&(n?r["mul"](i,t.transform,i):r["copy"](i,t.transform)),this.transform=i,this._resolveGlobalScaleRatio(i)):i&&a(i)},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,a=((u[0]-n)*e+n)/u[0]||0,o=((u[1]-i)*e+i)/u[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||r["create"](),r["invert"](this.invTransform,t)},t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},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.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.rotation||0,u=t.x,c=t.y,l=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;return n||i?(e[4]=-n*a-l*i*o,e[5]=-i*o-h*n*a):e[4]=e[5]=0,e[0]=a,e[3]=o,e[1]=h*a,e[2]=l*o,s&&r["rotate"](e,e,s),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=function(){var e=t.prototype;e.x=0,e.y=0,e.scaleX=1,e.scaleY=1,e.originX=0,e.originY=0,e.skewX=0,e.skewY=0,e.rotation=0,e.globalScaleRatio=1}(),t}();e["a"]=f},3792:function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return d}));var r=n("13d8"),i=Math.log(2);function a(t,e,n,r,o,s){var u=r+"-"+o,c=t.length;if(s.hasOwnProperty(u))return s[u];if(1===e){var l=Math.round(Math.log((1<>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(o),n.push(o)}return n}function f(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],a=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&&a&&d===a[f]&&p===a[f+1],u.push(t[l].offsetLeft,t[l].offsetTop)}return c&&i?i:(e.srcCoords=s,e[r]=n?o(u,s):o(s,u))}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}},"37d4":function(t,e,n){"use strict";n.r(e);var r=n("2df3"),i=n("d6d0");Object(r["a"])(i["a"])},3913:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s}));var r="[ECharts] ",i="undefined"!==typeof console&&console.warn&&console.log;function a(t){i&&console.error(r+t)}function o(t){0}function s(t){throw new Error(t)}},"39d4":function(t,e,n){"use strict";var r=n("35c1"),i=n("da32"),a=n("c1de"),o=n("8017"),s=n("bbde"),u=n("306e"),c=n("097a"),l=n("2468"),h=n("13d8"),f=n("f64d"),d="__zr_normal__",p=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],g={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},v={},y=new a["a"](0,0,0,0),m=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.attachedTransform,a=void 0,o=void 0,u=!1;i.parent=r?this:null;var c=!1;if(i.x=e.x,i.y=e.y,i.originX=e.originX,i.originY=e.originY,i.rotation=e.rotation,i.scaleX=e.scaleX,i.scaleY=e.scaleY,null!=n.position){var l=y;n.layoutRect?l.copy(n.layoutRect):l.copy(this.getBoundingRect()),r||l.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(v,n,l):Object(s["d"])(v,n,l),i.x=v.x,i.y=v.y,a=v.align,o=v.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var d=void 0,p=void 0;"center"===h?(d=.5*l.width,p=.5*l.height):(d=Object(s["h"])(h[0],l.width),p=Object(s["h"])(h[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 g=n.offset;g&&(i.x+=g[0],i.y+=g[1],c||(i.originX=-g[0],i.originY=-g[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&&a===b.align&&o===b.verticalAlign||(u=!0,b.fill=_,b.stroke=x,b.autoStroke=O,b.align=a,b.verticalAlign=o,e.setDefaultTextStyle(b)),e.__dirty|=f["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(),a=0;a<3;a++)n[a]=n[a]*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(d,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===d,a=this.hasState();if(a||!i){var o=this.currentStates,s=this.stateTransition;if(!(Object(u["indexOf"])(o,t)>=0)||!e&&1!==o.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 h=this._textContent,p=this._textGuide;return h&&h.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&=~f["a"]),c}Object(u["logError"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,a=t.length,o=a===i.length;if(o)for(var s=0;s0,p);var g=this._textContent,v=this._textGuide;g&&g.useStates(t,e,h),v&&v.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~f["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),a=Object(u["indexOf"])(r,e)>=0;i>=0?a?r.splice(i,1):r[i]=e:n&&!a&&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=[],a=0;a8)&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function b(t,e,n,r,i){n=n||{};var a=[];w(t,"",t,e,n,r,a,i);var o=a.length,s=!1,u=n.done,c=n.aborted,l=function(){s=!0,o--,o<=0&&(s?u&&u():c&&c())},h=function(){o--,o<=0&&(s?u&&u():c&&c())};o||u&&u(),a.length>0&&n.during&&a[0].during((function(t,e){n.during(e)}));for(var f=0;f0||a.force&&!s.length){for(var x=t.animators,S=[],j=0;j1e-4)return p[0]=t-n,p[1]=e-i,g[0]=t+n,void(g[1]=e+i);if(l[0]=u(a)*n+t,l[1]=s(a)*i+e,h[0]=u(o)*n+t,h[1]=s(o)*i+e,v(p,l,h),y(g,l,h),a%=c,a<0&&(a+=c),o%=c,o<0&&(o+=c),a>o&&!d?o+=c:aa&&(f[0]=u(_)*n+t,f[1]=s(_)*i+e,v(p,f,p),y(g,f,g))}},"3aa4":function(t,e,n){"use strict";var r=n("cdbd"),i=n("21ac"),a=n("2055"),o=n("e623"),s=[],u=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function c(t,e,n){var r=t.cpx2,i=t.cpy2;return null===r||null===i?[(n?o["b"]:o["a"])(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?o["b"]:o["a"])(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?o["i"]:o["h"])(t.x1,t.cpx1,t.x2,e),(n?o["i"]:o["h"])(t.y1,t.cpy1,t.y2,e)]}var l=function(t){function e(e){return t.call(this,e)||this}return Object(r["b"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new u},e.prototype.buildPath=function(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,u=e.cpx1,c=e.cpy1,l=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,r),null==l||null==h?(f<1&&(Object(o["n"])(n,u,i,f,s),u=s[1],i=s[2],Object(o["n"])(r,c,a,f,s),c=s[1],a=s[2]),t.quadraticCurveTo(u,c,i,a)):(f<1&&(Object(o["g"])(n,u,l,i,f,s),u=s[1],l=s[2],i=s[3],Object(o["g"])(r,c,h,a,f,s),c=s[1],h=s[2],a=s[3]),t.bezierCurveTo(u,c,l,h,i,a)))},e.prototype.pointAt=function(t){return c(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=c(this.shape,t,!0);return a["normalize"](e,e)},e}(i["b"]);l.prototype.type="bezier-curve",e["a"]=l},"3aba":function(t,e,n){"use strict";var r=n("cdbd"),i=n("21ac"),a=n("f6ad"),o=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["b"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){a["a"](t,e,!1)},e}(i["b"]);s.prototype.type="polyline",e["a"]=s},"3ca8":function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n("cdbd"),i=n("306e"),a=n("5d70"),o=n("b3e3"),s=n("d86a"),u=n("0437"),c=n("5892"),l=n("9ba3"),h=n("acdd"),f=n("4614"),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["b"])(e,t),e.type="title",e.defaultOption={zlevel:0,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["b"])(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 a["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 a["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["l"])(b,"_"+t.get("target"))})),_&&m.on("click",(function(){Object(f["l"])(_,"_"+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 T=S.margin,M=t.getItemStyle(["color","opacity"]);M.fill=t.get("backgroundColor");var k=new o["a"]({shape:{x:O.x-T[3],y:O.y-T[0],width:O.width+T[1]+T[3],height:O.height+T[0]+T[2],r:t.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});r.add(k)}},e.type="title",e}(h["a"]);function g(t){t.registerComponentModel(d),t.registerComponentView(p)}},"3e3e":function(t,e,n){"use strict";var r=n("cd0f"),i=[0,0],a=[0,0],o=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,a=t.x,o=t.y,s=a+t.width,u=o+t.height;if(n[0].set(a,o),n[1].set(s,o),n[2].set(s,u),n[3].set(a,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 o.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,o,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,o,s,i,-1)&&(n=!1,i)||i||r["a"].copy(e,n?o:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,o,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,a),i[1]a[1]){if(c=!1,s)return c;var f=Math.abs(a[0]-i[1]),d=Math.abs(i[0]-a[1]);Math.min(f,d)>o.len()&&(f1?"."+e[1]:"")}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=r["normalizeCssArray"],c=/([&<>"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(t){return null==t?"":(t+"").replace(c,(function(t,e){return l[e]}))}function f(t,e,n){var s="{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(i["o"])(t):t;if(!isNaN(+f))return Object(a["h"])(f,s,n);if(h)return"-"}if("ordinal"===e)return r["isStringSafe"](t)?u(t):r["isNumber"](t)&&c(t)?t+"":"-";var d=Object(i["n"])(t);return c(d)?o(d):r["isStringSafe"](t)?u(t):"-"}var d=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function g(t,e,n){r["isArray"](e)||(e=[e]);var i=e.length;if(!i)return"";for(var a=e[0].$vars||[],o=0;o':'';var s=n.markerId||"markerX";return{renderMode:o,content:"{"+s+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function m(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=Object(i["o"])(e),o=n?"UTC":"",s=r["get"+o+"FullYear"](),u=r["get"+o+"Month"]()+1,c=r["get"+o+"Date"](),l=r["get"+o+"Hours"](),h=r["get"+o+"Minutes"](),f=r["get"+o+"Seconds"](),d=r["get"+o+"Milliseconds"]();return t=t.replace("MM",Object(a["y"])(u,2)).replace("M",u).replace("yyyy",s).replace("yy",s%100+"").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 b(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function _(t,e){return e=e||"transparent",r["isString"](t)?t:r["isObject"](t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function x(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},"46da":function(t,e,n){"use strict";var r=Math.round(9*Math.random()),i=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"function"===typeof Object.defineProperty?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}();e["a"]=i},"47ca":function(t,e,n){"use strict";var r=n("cdbd"),i=n("21ac"),a=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}(),o=function(t){function e(e){return t.call(this,e)||this}return Object(r["b"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,u=Math.cos(a),c=Math.sin(a);t.moveTo(u*i+n,c*i+r),t.arc(n,r,i,a,o,!s)},e}(i["b"]);o.prototype.type="arc",e["a"]=o},"48b8":function(t,e,n){"use strict";var r=n("cdbd"),i=n("306e"),a=n("39d4"),o=n("c1de"),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["b"])(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.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;n=0||a&&r["indexOf"](a,u)<0)){var c=n.getShallow(u,e);null!=c&&(o[t[s][0]]=c)}}return o}}},"4ade":function(t,e,n){"use strict";n.d(e,"b",(function(){return T}));var r=n("2055"),i=n("c1de"),a=n("097a"),o=n("3a45"),s=n("e623"),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.sqrt,_=Math.abs,x=Math.PI,O=2*x,w="undefined"!==typeof Float32Array,S=[];function j(t){var e=Math.round(t/x*1e8)/1e8;return e%2*x}function T(t,e){var n=j(t[0]);n<0&&(n+=O);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=O?i=n+O:e&&n-i>=O?i=n-O:!e&&n>i?i=n+(O-j(n-i)):e&&n0&&(this._ux=_(n/a["e"]/t)||0,this._uy=_(n/a["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._lineDash&&(this._lineDash=null,this._dashOffset=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=_(t-this._xi),r=_(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(u.L,t,e),this._ctx&&i&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var a=n*n+r*r;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=a)}return this},t.prototype.bezierCurveTo=function(t,e,n,r,i,a){return this.addData(u.C,t,e,n,r,i,a),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,n,r,i,a):this._ctx.bezierCurveTo(t,e,n,r,i,a)),this._xi=i,this._yi=a,this},t.prototype.quadraticCurveTo=function(t,e,n,r){return this.addData(u.Q,t,e,n,r),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,n,r):this._ctx.quadraticCurveTo(t,e,n,r)),this._xi=n,this._yi=r,this},t.prototype.arc=function(t,e,n,r,i,a){S[0]=r,S[1]=i,T(S,a),r=S[0],i=S[1];var o=i-r;return this.addData(u.A,t,e,n,n,r,o,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,a),this._xi=y(i)*n+t,this._yi=m(i)*n+e,this},t.prototype.arcTo=function(t,e,n,r,i){return this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},t.prototype.rect=function(t,e,n,r){return 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&&(this._needsDash&&this._dashedLineTo(e,n),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.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,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;e0&&d<=t||l<0&&d>=t||0===l&&(h>0&&p<=e||h<0&&p>=e))r=this._dashIdx,n=a[r],d+=l*n,p+=h*n,this._dashIdx=(r+1)%y,l>0&&du||h>0&&pc||o[r%2?"moveTo":"lineTo"](l>=0?g(d,t):v(d,t),h>=0?g(p,e):v(p,e));l=d-t,h=p-e,this._dashOffset=-b(l*l+h*h)},t.prototype._dashedBezierTo=function(t,e,n,r,i,a){var o,u,c,l,h,f=this._ctx,d=this._dashSum,p=this._dashOffset,g=this._lineDash,v=this._xi,y=this._yi,m=0,_=this._dashIdx,x=g.length,O=0;for(p<0&&(p=d+p),p%=d,o=0;o<1;o+=.1)u=Object(s["a"])(v,t,n,i,o+.1)-Object(s["a"])(v,t,n,i,o),c=Object(s["a"])(y,e,r,a,o+.1)-Object(s["a"])(y,e,r,a,o),m+=b(u*u+c*c);for(;_p)break;o=(O-p)/m;while(o<=1)l=Object(s["a"])(v,t,n,i,o),h=Object(s["a"])(y,e,r,a,o),_%2?f.moveTo(l,h):f.lineTo(l,h),o+=g[_]/m,_=(_+1)%x;_%2!==0&&f.lineTo(i,a),u=i-l,c=a-h,this._dashOffset=-b(u*u+c*c)},t.prototype._dashedQuadraticTo=function(t,e,n,r){var i=n,a=r;n=(n+2*t)/3,r=(r+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,r,i,a)},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,w&&this._len>11&&(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,a=0,s=0,c=0;for(t=0;tn||_(T)>r||d===e-1)&&(x=Math.sqrt(j*j+T*T),i=w,a=S);break;case u.C:var M=t[d++],k=t[d++],C=(w=t[d++],S=t[d++],t[d++]),I=t[d++];x=Object(s["d"])(i,a,M,k,w,S,C,I,10),i=C,a=I;break;case u.Q:M=t[d++],k=t[d++],w=t[d++],S=t[d++];x=Object(s["k"])(i,a,M,k,w,S,10),i=w,a=S;break;case u.A:var A=t[d++],D=t[d++],P=t[d++],L=t[d++],R=t[d++],N=t[d++],B=N+R;d+=1;t[d++];b&&(o=y(R)*P+A,c=m(R)*L+D),x=v(P,L)*g(O,Math.abs(N)),i=y(B)*P+A,a=m(B)*L+D;break;case u.R:o=i=t[d++],c=a=t[d++];var E=t[d++],z=t[d++];x=2*E+2*z;break;case u.Z:j=o-i,T=c-a;x=Math.sqrt(j*j+T*T),i=o,a=c;break}x>=0&&(l[f++]=x,h+=x)}return this._pathLen=h,h},t.prototype.rebuildPath=function(t,e){var n,r,i,a,o,h,f,d,p,b,x,O=this.data,w=this._ux,S=this._uy,j=this._len,T=e<1,M=0,k=0,C=0;if(!T||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,d=this._pathLen,p=e*d,p))t:for(var I=0;I0&&(t.lineTo(b,x),C=0),n=i=O[I++],r=a=O[I++],t.moveTo(i,a);break;case u.L:o=O[I++],h=O[I++];var P=_(o-i),L=_(h-a);if(P>w||L>S){if(T){var R=f[k++];if(M+R>p){var N=(p-M)/R;t.lineTo(i*(1-N)+o*N,a*(1-N)+h*N);break t}M+=R}t.lineTo(o,h),i=o,a=h,C=0}else{var B=P*P+L*L;B>C&&(b=o,x=h,C=B)}break;case u.C:var E=O[I++],z=O[I++],F=O[I++],H=O[I++],V=O[I++],W=O[I++];if(T){R=f[k++];if(M+R>p){N=(p-M)/R;Object(s["g"])(i,E,F,V,N,c),Object(s["g"])(a,z,H,W,N,l),t.bezierCurveTo(c[1],l[1],c[2],l[2],c[3],l[3]);break t}M+=R}t.bezierCurveTo(E,z,F,H,V,W),i=V,a=W;break;case u.Q:E=O[I++],z=O[I++],F=O[I++],H=O[I++];if(T){R=f[k++];if(M+R>p){N=(p-M)/R;Object(s["n"])(i,E,F,N,c),Object(s["n"])(a,z,H,N,l),t.quadraticCurveTo(c[1],l[1],c[2],l[2]);break t}M+=R}t.quadraticCurveTo(E,z,F,H),i=F,a=H;break;case u.A:var G=O[I++],U=O[I++],X=O[I++],Y=O[I++],q=O[I++],Z=O[I++],K=O[I++],Q=!O[I++],J=X>Y?X:Y,$=_(X-Y)>.001,tt=q+Z,et=!1;if(T){R=f[k++];M+R>p&&(tt=q+Z*(p-M)/R,et=!0),M+=R}if($&&t.ellipse?t.ellipse(G,U,X,Y,K,q,tt,Q):t.arc(G,U,J,q,tt,Q),et)break t;D&&(n=y(q)*X+G,r=m(q)*Y+U),i=y(tt)*X+G,a=m(tt)*Y+U;break;case u.R:n=i=O[I],r=a=O[I+1],o=O[I++],h=O[I++];var nt=O[I++],rt=O[I++];if(T){R=f[k++];if(M+R>p){var it=p-M;t.moveTo(o,h),t.lineTo(o+g(it,nt),h),it-=nt,it>0&&t.lineTo(o+nt,h+g(it,rt)),it-=rt,it>0&&t.lineTo(o+v(nt-it,0),h+rt),it-=nt,it>0&&t.lineTo(o,h+v(rt-it,0));break t}M+=R}t.rect(o,h,nt,rt);break;case u.Z:if(C>0&&(t.lineTo(b,x),C=0),T){R=f[k++];if(M+R>p){N=(p-M)/R;t.lineTo(i*(1-N)+n*N,a*(1-N)+r*N);break t}M+=R}t.closePath(),i=n,a=r}}},t.CMD=u,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();e["a"]=M},"4c3f":function(t,e,n){"use strict";var r=function(){function t(t){this.value=t}return t}(),i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new r(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),a=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,a=null;if(null==i[t]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var u=n.head;n.remove(u),delete i[u.key],a=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return a},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"]=a},"4c89":function(t,e,n){"use strict";function r(t,e,n,r,i,a,o){if(0===i)return!1;var s=i,u=0,c=t;if(o>e+s&&o>r+s||ot+s&&a>n+s||a1&&r&&r.length>1){var a=d(r)/d(i);!isFinite(a)&&(a=1),e.pinchScale=a;var o=p(r);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}},v="silent";function y(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:m}}function m(){h["g"](this.event)}var b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Object(a["b"])(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(l["a"]),_=function(){function t(t,e){this.x=t,this.y=e}return t}(),x=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],O=function(t){function e(e,n,r,i){var a=t.call(this)||this;return a._hovered=new _(0,0),a.storage=e,a.painter=n,a.painterRoot=i,r=r||new b,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new c(a),a}return Object(a["b"])(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(i["each"](x,(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=S(this,e,n),i=this._hovered,a=i.target;a&&!a.__zr&&(i=this.findHover(i.x,i.y),a=i.target);var o=this._hovered=r?new _(e,n):this.findHover(e,n),s=o.target,u=this.proxy;u.setCursor&&u.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"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 _(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,a=y(e,t,n);while(r)if(r[i]&&(a.cancelBubble=!!r[i].call(r,a)),r.trigger(e,a),r=r.__hostTarget?r.__hostTarget:r.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[i]&&t[i].call(t,a),t.trigger&&t.trigger(e,a)})))}},e.prototype.findHover=function(t,e,n){for(var r=this.storage.getDisplayList(),i=new _(t,e),a=r.length-1;a>=0;a--){var o=void 0;if(r[a]!==n&&!r[a].ignore&&(o=w(r[a],t,e))&&(!i.topTarget&&(i.topTarget=r[a]),o!==v)){i.target=r[a];break}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i;var a=new _;a.target=r.target,this.dispatchToElement(a,i,r.event)}},e}(l["a"]);function w(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var r=t,i=void 0,a=!1;while(r){if(r.ignoreClip&&(a=!0),!a){var o=r.getClipPath();if(o&&!o.contain(e,n))return!1;r.silent&&(i=!0)}var s=r.__hostTarget;r=s||r.parent}return!i||v}return!1}function S(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){O.prototype[t]=function(e){var n,r,i=e.zrX,a=e.zrY,s=S(this,i,a);if("mouseup"===t&&s||(n=this.findHover(i,a),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||o["dist"](this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var j=O,T=n("1136"),M=n("f64d"),k=!1;function C(){k||(k=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function I(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var A=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=I}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(c.__clipPaths=[]),isNaN(c.z)&&(C(),c.z=0),isNaN(c.z2)&&(C(),c.z2=0),isNaN(c.zlevel)&&(C(),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}(),D=A,P=n("4f39"),L=n("da32"),R=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.onframe=e.onframe||function(){},n}return Object(a["b"])(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=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._clipsHead=n,n?n.prev=e:this._clipsTail=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=(new Date).getTime()-this._pausedTime,n=e-this._time,r=this._clipsHead;while(r){var i=r.next,a=r.step(e,n);a?(r.ondestroy&&r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=e,t||(this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Object(P["a"])(e),!t._paused&&t.update())}this._running=!0,Object(P["a"])(e)},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._clipsHead;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new L["b"](t,e.loop);return this.addAnimator(n),n},e}(l["a"]),N=R,B=300,E=r["a"].domSupported,z=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}}(),F={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},H=!1;function V(t){var e=t.pointerType;return"pen"===e||"touch"===e}function W(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 G(t){t&&(t.zrByTouch=!0)}function U(t,e){return Object(h["e"])(t.dom,new Y(t,e),!0)}function X(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 Y=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}(),q={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;X(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){H=!0,t=Object(h["e"])(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){H||(t=Object(h["e"])(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Object(h["e"])(this.dom,t),G(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),q.mousemove.call(this,t),q.mousedown.call(this,t)},touchmove:function(t){t=Object(h["e"])(this.dom,t),G(t),this.handler.processGesture(t,"change"),q.mousemove.call(this,t)},touchend:function(t){t=Object(h["e"])(this.dom,t),G(t),this.handler.processGesture(t,"end"),q.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.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},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.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},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;o--)r[o]&&!l["l"](r[o])?a=!0:(r[o]=null,!a&&i--);r.length=i,t[n]=r}})),delete t[w],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.getLocale=function(t){var e=this.getLocaleModel();return e.get(t)},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 H(t,e){return t.join(",")===e.join(",")}var V=B,W=a["each"],G=a["isObject"],U=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function X(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=U.length;n=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,l)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if(f>=0&&v>0||f<=0&&v<0){f=Object(dt["b"])(f,v),d=v;break}}}return r[0]=f,r[1]=d,r}));o.hostModel.setData(u),e.data=u}))}var vt=n("ff42c"),yt=n("acdd"),mt=n("5e03"),bt=n("b3e3"),_t=n("c8a3"),xt=n("2196"),Ot=n("21ac"),wt=n("d86a"),St=n("7a9c"),jt=n("0094"),Tt=n("4a73"),Mt=n("1290"),kt=n("ebae"),Ct=Object(l["o"])(),It={itemStyle:Object(Tt["a"])(Mt["a"],!0),lineStyle:Object(Tt["a"])(kt["a"],!0)},At={lineStyle:"stroke",itemStyle:"fill"};function Dt(t,e){var n=t.visualStyleMapper||It[e];return n||(console.warn("Unkown style type '"+e+"'."),It.itemStyle)}function Pt(t,e){var n=t.visualDrawType||At[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var Lt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),o=Dt(t,r),s=o(i),u=i.getShallow("decal");u&&(n.setVisual("decal",u),u.dirty=!0);var c=Pt(t,r),l=s[c],h=Object(a["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||"function"===typeof s.fill?d:s.fill,s.stroke="auto"===s.stroke||"function"===typeof 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(a["extend"])({},s);i[c]=h(r),e.setItemVisual(n,"style",i)}}}},Rt=new h["a"],Nt={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),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){Rt.option=n[r];var s=i(Rt),u=t.ensureUniqueItemVisual(e,"style");Object(a["extend"])(u,s),Rt.option.decal&&(t.setItemVisual(e,"decal",Rt.option.decal),Rt.option.decal.dirty=!0),o in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Bt={performRawSeries:!0,overallReset:function(t){var e=Object(a["createHashMap"])();t.eachSeries((function(t){if(t.useColorPaletteOnData){var n=e.get(t.type);n||(n={},e.set(t.type,n)),Ct(t).scope=n}})),t.eachSeries((function(e){if(e.useColorPaletteOnData&&!t.isSeriesFiltered(e)){var n=e.getRawData(),r={},i=e.getData(),a=Ct(e).scope,o=e.visualStyleAccessPath||"itemStyle",s=Pt(e,o);i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(t){var o=r[t],u=i.getItemVisual(o,"colorFromPalette");if(u){var c=i.ensureUniqueItemVisual(o,"style"),l=n.getName(t)||t+"",h=n.count();c[s]=e.getColorFromPalette(l,a,h)}}))}}))}},Et=n("48b8"),zt=n("5d70"),Ft=n("47ca"),Ht=Math.PI;function Vt(t,e){e=e||{},a["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 Et["a"],r=new bt["a"]({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var i,o=new zt["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 bt["a"]({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(s),e.showSpinner&&(i=new Ft["a"]({shape:{startAngle:-Ht/2,endAngle:-Ht/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*Ht/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Ht/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=o.getBoundingRect().width,a=e.showSpinner?e.spinnerRadius:0,u=(t.getWidth()-2*a-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:a),c=t.getHeight()/2;e.showSpinner&&i.setShape({cx:u,cy:c}),s.setShape({x:u-a,y:c-a,width:2*a,height:2*a}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var Wt=n("2d1d"),Gt=n("7ee9"),Ut=function(){function t(t,e,n,r){this._stageTaskMap=Object(a["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,a=i?n.step:null,o=r&&r.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData(),i=r.count(),a=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:a,modDataCount:s,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(a["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(a["each"])(this._allHandlers,(function(r){var i=t.get(r.uid)||t.set(r.uid,{}),o="";Object(a["assert"])(!(r.reset&&r.overallReset),o),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,a=i.context;a.model=e,a.ecModel=n,a.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,o=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(a["each"])(t,(function(t,a){if(!r.visualType||r.visualType===t.visualType){var u=o._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(),o.updatePayload(l,n);var d=o.getPerformArgs(l,r.block);f.each((function(t){t.perform(d)})),l.perform(d)&&(i=!0)}else c&&c.each((function(a,u){s(r,a)&&a.dirty();var c=o.getPerformArgs(a,r.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(a.context.model),o.updatePayload(a,n),a.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,o=e.seriesTaskMap,s=e.seriesTaskMap=Object(a["createHashMap"])(),u=t.seriesType,c=t.getTargetSeries;function l(e){var a=e.uid,u=s.set(a,o&&o.get(a)||Object(Wt["a"])({plan:Kt,reset:Qt,count:te}));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,o=e.overallTask=e.overallTask||Object(Wt["a"])({reset:Xt});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var s=o.agentStubMap,u=o.agentStubMap=Object(a["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(Wt["a"])({reset:Yt,onDirty:Zt})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,i._pipe(t,n)}Object(a["assert"])(!t.createOnAllSeries,d),c?n.eachRawSeriesByType(c,p):l?l(n,r).each(p):(h=!1,Object(a["each"])(n.getSeries(),p)),f&&o.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(a["isFunction"])(t)&&(t={overallReset:t,seriesType:ee(t)}),t.uid=Object(Gt["c"])("stageHandler"),e&&(t.visualType=e),t},t}();function Xt(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 Zt(){this.agent&&this.agent.dirty()}function Kt(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Qt(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Object(l["r"])(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(a["map"])(e,(function(t,e){return $t(e)})):Jt}var Jt=$t(0);function $t(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var a=e.start;a0&&l===i.length-c.length){var h=i.slice(0,l);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,a=!0)}}s.hasOwnProperty(i)&&(n[i]=t,a=!0),a||(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,a=n.model,o=n.view;if(!a||!o)return!0;var s=e.cptQuery,u=e.dataQuery;return c(s,a,"mainType")&&c(s,a,"subType")&&c(s,a,"index","componentIndex")&&c(s,a,"name")&&c(s,a,"id")&&c(u,i,"name")&&c(u,i,"dataIndex")&&c(u,i,"dataType")&&(!o.filterForExposedEvent||o.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}(),ye={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){var r=t.get("symbol"),i=t.get("symbolSize"),o=t.get("symbolKeepAspect"),s=t.get("symbolRotate"),u=t.get("symbolOffset"),c=Object(a["isFunction"])(r),l=Object(a["isFunction"])(i),h=Object(a["isFunction"])(s),f=Object(a["isFunction"])(u),d=c||l||h||f,p=!c&&r?r:t.defaultSymbol,g=l?null:i,v=h?null:s,y=f?null:u;if(n.setVisual({legendIcon:t.legendIcon||p,symbol:p,symbolSize:g,symbolKeepAspect:o,symbolRotate:v,symbolOffset:y}),!e.isSeriesFiltered(t))return{dataEach:d?m:null}}function m(e,n){var a=t.getRawValue(n),o=t.getDataParams(n);c&&e.setItemVisual(n,"symbol",r(a,o)),l&&e.setItemVisual(n,"symbolSize",i(a,o)),h&&e.setItemVisual(n,"symbolRotate",s(a,o)),f&&e.setItemVisual(n,"symbolOffset",u(a,o))}}},me={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t)){var n=t.getData();return{dataEach:n.hasItemOption?r:null}}function r(t,e){var n=t.getItemModel(e),r=n.getShallow("symbol",!0),i=n.getShallow("symbolSize",!0),a=n.getShallow("symbolRotate",!0),o=n.getShallow("symbolOffset",!0),s=n.getShallow("symbolKeepAspect",!0);null!=r&&t.setItemVisual(e,"symbol",r),null!=i&&t.setItemVisual(e,"symbolSize",i),null!=a&&t.setItemVisual(e,"symbolRotate",a),null!=o&&t.setItemVisual(e,"symbolOffset",o),null!=s&&t.setItemVisual(e,"symbolKeepAspect",s)}}},be=n("2b15"),_e=n("c1de"),xe=n("35c1"),Oe=n("10f0"),we=n("62a2"),Se=n("0437");function je(t){if(t){for(var e=[],n=0;n=0&&n.attr(i.oldLayoutSelect),Object(a["indexOf"])(h,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),Object(xt["updateProps"])(n,c,e,u)}else if(n.attr(c),!Object(Se["f"])(n).valueAnimation){var f=Object(a["retrieve2"])(n.style.opacity,1);n.style.opacity=0,Object(xt["initProps"])(n,{style:{opacity:f}},e,u)}if(i.oldLayout=c,n.states.select){var d=i.oldLayoutSelect={};Ae(d,c,De),Ae(d,n.states.select,De)}if(n.states.emphasis){var p=i.oldLayoutEmphasis={};Ae(p,c,De),Ae(p,n.states.emphasis,De)}Object(Se["a"])(n,u,l,e,e)}if(r&&!r.ignore&&!r.invisible){i=Ie(r),o=i.oldLayout;var g={points:r.shape.points};o?(r.attr({shape:o}),Object(xt["updateProps"])(r,{shape:g},e)):(r.setShape(g),r.style.strokePercent=0,Object(xt["initProps"])(r,{style:{strokePercent:1}},e)),i.oldLayout=g}},t}(),Le=Pe,Re=n("e936"),Ne=n("90f1"),Be=n("24c7"),Ee=n("a617"),ze=n("de4e");function Fe(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(t){var n=r.getItemVisual(t,"decal");if(n){var i=r.ensureUniqueItemVisual(t,"style");i.decal=Object(ze["a"])(n,e)}}));var i=r.getVisual("decal");if(i){var a=r.getVisual("style");a.decal=Object(ze["a"])(i,e)}}}))}var He=n("6303"),Ve=a["assert"],We=a["each"],Ge=a["isFunction"],Ue=a["isObject"],Xe=a["indexOf"],Ye="undefined"!==typeof window,qe="5.1.2",Ze={zrender:"5.1.1"},Ke=1,Qe=800,Je=900,$e=1e3,tn=2e3,en=5e3,nn=1e3,rn=1100,an=2e3,on=3e3,sn=4e3,un=4500,cn=4600,ln=5e3,hn=6e3,fn=7e3,dn={PROCESSOR:{FILTER:$e,SERIES_FILTER:Qe,STATISTIC:en},VISUAL:{LAYOUT:nn,PROGRESSIVE_LAYOUT:rn,GLOBAL:an,CHART:on,POST_CHART_LAYOUT:cn,COMPONENT:sn,BRUSH:ln,CHART_ITEM:un,ARIA:hn,DECAL:fn}},pn="__flagInMainProcess",gn="__optionUpdated",vn="__needsUpdateStatus",yn=/^[a-zA-Z0-9_]+$/,mn="__connectUpdateStatus",bn=0,_n=1,xn=2;function On(t){return function(){for(var e=[],n=0;n0&&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.setOption=function(t,e,n){if(this._disposed)Qn(this.id);else{var r,i,a;if(Ue(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,a=e.transition,e=e.notMerge),this[pn]=!0,!this._model||e){var o=new V(this._api),s=this._theme,u=this._model=new A;u.scheduler=this._scheduler,u.init(null,null,null,s,this._locale,o)}this._model.setOption(t,{replaceMerge:i},er),Wn(this,a),n?(this[gn]={silent:r},this[pn]=!1,this.getZr().wakeUp()):(jn(this),kn.update.call(this),this._zr.flush(),this[gn]=!1,this[pn]=!1,Dn.call(this,r),Pn.call(this,r))}},e.prototype.setTheme=function(){console.error("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||Ye&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){if(s["a"].canvasSupported)return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.getSvgDataURL=function(){if(s["a"].svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a["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;We(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.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return We(r,(function(t){t.group.ignore=!1})),a}Qn(this.id)},e.prototype.getConnectedDataURL=function(t){if(this._disposed)Qn(this.id);else if(s["a"].canvasSupported){var e="svg"===t.type,n=this.group,r=Math.min,o=Math.max,u=1/0;if(ur[n]){var c=u,l=u,h=-u,f=-u,d=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();a["each"](sr,(function(i,s){if(i.group===n){var u=e?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(a["clone"](t)),p=i.getDom().getBoundingClientRect();c=r(p.left,c),l=r(p.top,l),h=o(p.right,h),f=o(p.bottom,f),d.push({dom:u,left:p.left,top:p.top})}})),c*=p,l*=p,h*=p,f*=p;var g=h-c,v=f-l,y=a["createCanvas"](),m=i["init"](y,{renderer:e?"svg":"canvas"});if(m.resize({width:g,height:v}),e){var b="";return We(d,(function(t){var e=t.left-c,n=t.top-l;b+=''+t.dom+""})),m.painter.getSvgRoot().innerHTML=b,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new bt["a"]({shape:{x:0,y:0,width:g,height:v},style:{fill:t.connectedBackgroundColor}})),We(d,(function(t){var e=new _t["a"]({style:{x:t.left*p-c,y:t.top*p-l,image:t.dom}});m.add(e)})),m.refreshImmediately(),y.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return Cn(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Cn(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,r=this._model,i=l["s"](r,t);return a["each"](i,(function(t,r){r.indexOf("Models")>=0&&a["each"](t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n=n||a.containPoint(e,t))}else 0}),this)}),this),!!n}Qn(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,r=l["s"](n,t,{defaultMainType:"series"}),i=r.seriesModel;var a=i.getData(),o=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?a.indexOfRawIndex(r.dataIndex):null;return null!=o?Object(be["a"])(a,o,e):Object(be["b"])(a,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;We(Kn,(function(e){var n=function(n){var r,i=t.getModel(),o=n.target,s="globalout"===e;if(s?r={}:o&&Object(Ee["a"])(o,(function(t){var e=Object(wt["a"])(t);if(e&&null!=e.dataIndex){var n=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return r=a["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:o,packedEvent:r,model:l,view:h},t.trigger(e,r)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),We($n,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),We(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),Object(Re["b"])(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Qn(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Qn(this.id);else{this._disposed=!0,l["w"](this.getDom(),hr,"");var t=this._api,e=this._model;We(this._componentsViews,(function(n){n.dispose(e,t)})),We(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete sr[this.id]}},e.prototype.resize=function(t){if(this._disposed)Qn(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[gn]&&(null==r&&(r=this[gn].silent),n=!0,this[gn]=!1),this[pn]=!0,n&&jn(this),kn.update.call(this,{type:"resize",animation:a["extend"]({duration:0},t&&t.animation)}),this[pn]=!1,Dn.call(this,r),Pn.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Qn(this.id);else if(Ue(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),or[t]){var n=or[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){this._disposed?Qn(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=a["extend"]({},t);return e.type=$n[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Qn(this.id);else if(Ue(e)||(e={silent:!!e}),Jn[t.type]&&this._model)if(this[pn])this._pendingActions.push(t);else{var n=e.silent;An.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&s["a"].browser.weChat&&this._throttledZrFlush(),Dn.call(this,n),Pn.call(this,n)}},e.prototype.updateLabelLayout=function(){var t=this._labelManager;t.updateLayoutConfig(this._api),t.layout(this._api),t.processLabelsOverall()},e.prototype.appendData=function(t){if(this._disposed)Qn(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){for(var e=[],n=t.currentStates,r=0;re.get("hoverLayerThreshold")&&!s["a"].node&&!s["a"].worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function n(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||(t.style.blend=n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.style.blend=n}))}))}function i(t,e){t.preventAutoZ||u(e.group,t.get("z")||0,t.get("zlevel")||0,-1/0)}function u(t,e,n,r){var i=t.getTextContent(),a=t.getTextGuideLine(),o=t.isGroup;if(o)for(var s=t.childrenRef(),c=0;c0?{duration:a,delay:r.get("delay"),easing:r.get("easing")}:null;n.group.traverse((function(e){if(e.states&&e.states.emphasis){if(xt["isElementRemoved"](e))return;if(e instanceof Ot["b"]&&Object(St["E"])(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(i){e.stateTransition=o;var r=e.getTextContent(),a=e.getTextGuideLine();r&&(r.stateTransition=o),a&&(a.stateTransition=o)}e.__dirty&&t(e)}}))}jn=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Tn(t,!0),Tn(t,!1),e.plan()},Tn=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,a=e?t._componentsMap:t._chartsMap,o=t._zr,s=t._api,u=0;u=0)){Cr.push(n);var a=oe.wrapStageHandler(n,i);a.__prio=e,a.__raw=n,t.push(a)}}function Ar(t,e){or[t]=e}function Dr(t){a["$override"]("createCanvas",t)}function Pr(t,e,n){He["a"].registerMap(t,e,n)}function Lr(t){return He["a"].getMapForUser(t)}var Rr=Ne["b"];kr(an,Lt),kr(un,Nt),kr(un,Bt),kr(an,ye),kr(un,me),kr(fn,Fe),_r(ft),xr(Je,pt),Ar("default",Vt),Sr({type:St["c"],event:St["c"],update:St["c"]},a["noop"]),Sr({type:St["b"],event:St["b"],update:St["b"]},a["noop"]),Sr({type:St["f"],event:St["f"],update:St["f"]},a["noop"]),Sr({type:St["i"],event:St["i"],update:St["i"]},a["noop"]),Sr({type:St["h"],event:St["h"],update:St["h"]},a["noop"]),br("light",ue),br("dark",pe);var Nr={}},5892: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("306e"),i=n("c1de"),a=n("835f"),o=n("4614"),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 a=0,o=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=a+g,l>r||u.newline?(a=0,l=g,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(p?-p.y+f.y:0);h=o+v,h>i||u.newline?(a+=s+n,o=0,h=v,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=a,u.y=o,u.markRedraw(),"horizontal"===t?a=l+n:o=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(a["p"])(t.left,r),u=Object(a["p"])(t.top,i),c=Object(a["p"])(t.right,r),l=Object(a["p"])(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=o["j"](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=o["j"](n||0);var r=e.width,s=e.height,u=Object(a["p"])(t.left,r),c=Object(a["p"])(t.top,s),l=Object(a["p"])(t.right,r),h=Object(a["p"])(t.bottom,s),f=Object(a["p"])(t.width,r),d=Object(a["p"])(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,a,o){var s=!o||!o.hv||o.hv[0],u=!o||!o.hv||o.hv[1],c=o&&o.boundingMode||"all";if(s||u){var l;if("raw"===c)l="group"===t.type?new i["a"](0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();l=l.clone(),l.applyTransform(h)}var f=d(r["defaults"]({width:l.width,height:l.height},e),n,a),p=s?f.x-l.x:0,g=u?f.y-l.y:0;"raw"===c?(t.x=p,t.y=g):(t.x+=p,t.y+=g),t.markRedraw()}}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 a=u(c[0],0),o=u(c[1],1);function u(n,r){var a={},o=0,u={},c=0,f=2;if(s(n,(function(e){u[e]=t[e]})),s(n,(function(t){l(e,t)&&(a[t]=u[t]=e[t]),h(a,t)&&o++,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&&o){if(o>=f)return a;for(var d=0;d0,R=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),N=o.calculatedLineHeight,B=0;B=0&&(D=O[A],"right"===D.align))this._placeToken(D,t,T,y,I,"right",b),M-=D.width,I-=D.width,A--;C+=(r-(C-v)-(m-I)-M)/2;while(k<=A)D=O[k],this._placeToken(D,t,T,y,C+D.width/2,"center",b),C+=D.width,k++;y+=T}},e.prototype._placeToken=function(t,e,n,r,i,u,c){var h=e.rich[t.styleName]||{};h.text=t.text;var f=t.verticalAlign,d=r+n/2;"top"===f?d=r+t.height/2:"bottom"===f&&(d=r+n-t.height/2);var g=!t.isLineHolder&&j(h);g&&this._renderBackground(h,e,"right"===u?i-t.width:"center"===u?i-t.width/2:i,d-t.height/2,t.width,t.height);var v=!!h.backgroundColor,y=t.textPadding;y&&(i=w(i,u,y),d-=t.height/2-y[0]-t.innerHeight/2);var m=this._getOrCreateChild(a["a"]),b=m.createStyle();m.useStyle(b);var _=this._defaultStyle,O=!1,S=0,T=x("fill"in h?h.fill:"fill"in e?e.fill:(O=!0,_.fill)),M=x("stroke"in h?h.stroke:"stroke"in e?e.stroke:v||c||_.autoStroke&&!O?null:(S=p,_.stroke)),k=h.textShadowBlur>0||e.textShadowBlur>0;b.text=t.text,b.x=i,b.y=d,k&&(b.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,b.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",b.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,b.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),b.textAlign=u,b.textBaseline="middle",b.font=t.font||s["a"],b.opacity=Object(o["retrieve3"])(h.opacity,e.opacity,1),M&&(b.lineWidth=Object(o["retrieve3"])(h.lineWidth,e.lineWidth,S),b.lineDash=Object(o["retrieve2"])(h.lineDash,e.lineDash),b.lineDashOffset=e.lineDashOffset||0,b.stroke=M),T&&(b.fill=T);var C=t.contentWidth,I=t.contentHeight;m.setBoundingRect(new l["a"](Object(s["b"])(b.x,C,b.textAlign),Object(s["c"])(b.y,I,b.textBaseline),C,I))},e.prototype._renderBackground=function(t,e,n,r,i,a){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||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=a,m.r=v,s.dirtyShape()}if(g){var b=s.style;b.fill=h||null,b.fillOpacity=Object(o["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=a}if(f&&d){b=s.style;b.lineWidth=f,b.stroke=d,b.strokeOpacity=Object(o["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(o["retrieve3"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var n="";n="string"!==typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,n,t.fontFamily||"sans-serif"].join(" ")}return e&&Object(o["trim"])(e)||t.textFont||t.font},e}(f["c"]),y={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1};function b(t){return _(t),Object(o["each"])(t.rich,_),t}function _(t){if(t){t.font=v.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||y[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||m[n]?n:"top";var r=t.padding;r&&(t.padding=Object(o["normalizeCssArray"])(t.padding))}}function x(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function w(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function S(t){var e=t.text;return null!=e&&(e+=""),e}function j(t){return!!(t.backgroundColor||t.borderWidth&&t.borderColor)}e["a"]=v},"5db9":function(t,e,n){"use strict";var r=n("cdbd"),i=n("8a03"),a=n("acdd"),o={},s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(r["b"])(e,t),e.prototype.render=function(e,n,r,a){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 a=e.getAxisPointerClass(this.axisPointerClass);if(a){var o=i["d"](t);o?(this._axisPointer||(this._axisPointer=new a)).render(t,o,n,r):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){o[t]=e},e.getAxisPointerClass=function(t){return t&&o[t]},e.type="axis",e}(a["a"]);e["a"]=s},"5e03":function(t,e,n){"use strict";var r=n("306e"),i=n("48b8"),a=n("7ee9"),o=n("f9da"),s=n("d940"),u=n("7a9c"),c=n("2d1d"),l=n("7199"),h=s["o"](),f=Object(l["a"])(),d=function(){function t(){this.group=new i["a"],this.uid=a["c"]("viewChart"),this.renderTask=Object(c["a"])({plan:v,reset:y}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.highlight=function(t,e,n,r){g(t.getData(),r,"emphasis")},t.prototype.downplay=function(t,e,n,r){g(t.getData(),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.markUpdateMethod=function(t,e){h(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function p(t,e,n){t&&("emphasis"===e?u["r"]:u["C"])(t,n)}function g(t,e,n){var i=s["u"](t,e),a=e&&null!=e.highlightKey?Object(u["v"])(e.highlightKey):null;null!=i?Object(r["each"])(s["r"](i),(function(e){p(t.getItemGraphicEl(e),n,a)})):t.eachItemGraphicEl((function(t){p(t,n,a)}))}function v(t){return f(t.model)}function y(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=i&&h(i).updateMethod,u=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==u&&o[u](e,n,r,i),m[u]}o["b"](d,["dispose"]),o["c"](d);var m={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"]=d},"605b":function(t,e,n){"use strict";var r=n("cdbd"),i=n("835f"),a=n("9ba7"),o=n("aedd"),s=n("9d8c"),u=n("6da4"),c=n("306e"),l=function(t,e,n,r){while(n>>1;t[i][1]n&&(this._approxInterval=n);var a=f.length,o=Math.min(l(f,this._approxInterval,0,a),a-1);this._interval=f[o][1],this._minLevelUnit=f[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return"number"===typeof t?t:+i["o"](t)},e.prototype.contain=function(t){return o["a"](this.parse(t),this._extent)},e.prototype.normalize=function(t){return o["d"](this.parse(t),this._extent)},e.prototype.scale=function(t){return o["e"](t,this._extent)},e.type="time",e}(s["a"]),f=[["second",a["d"]],["minute",a["c"]],["hour",a["b"]],["quarter-day",6*a["b"]],["half-day",12*a["b"]],["day",1.2*a["a"]],["half-week",3.5*a["a"]],["week",7*a["a"]],["month",31*a["a"]],["quarter",95*a["a"]],["half-year",a["e"]/2],["year",a["e"]]];function d(t,e,n,r){var o=i["o"](e),s=i["o"](n),u=function(t){return Object(a["n"])(o,t,r)===Object(a["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/=a["a"],t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function g(t){var e=30*a["a"];return t/=e,t>6?6:t>3?3:t>2?2:1}function v(t){return t/=a["b"],t>12?12:t>6?6:t>3.5?4:t>2?2:1}function y(t,e){return t/=e?a["c"]:a["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["m"](t,!0)}function b(t,e,n){var r=new Date(t);switch(Object(a["m"])(e)){case"year":case"month":r[Object(a["x"])(n)](0);case"day":r[Object(a["g"])(n)](1);case"hour":r[Object(a["p"])(n)](0);case"minute":r[Object(a["v"])(n)](0);case"second":r[Object(a["A"])(n)](0),r[Object(a["t"])(n)](0)}return r.getTime()}function _(t,e,n,r){var i=1e4,o=a["B"],s=0;function u(t,e,n,i,a,o,s){var u=new Date(e),c=e,l=u[i]();while(c1&&0===l&&o.unshift({value:o[0].value-_})}}for(l=0;l=r[0]&&M<=r[1]&&_++)}var k=(r[1]-r[0])/e;if(_>1.5*k&&x>k/1.5)break;if(h.push(j),_>k||t===o[O])break}f=[]}}}var C=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=[],A=C.length-1;for(O=0;O0&&a&&O(-h/o,0,o);var v,y,m=t[0],b=t[o-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,o);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 a=r;a0)for(u=0;u0;u--){f=a[u-1]*h;O(-f,u,o)}}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),r=0;r0?O(n,0,r+1):O(-n,o-r-1,o),t-=n,t<=0)return}}function s(t,e,n,r){return o(t,"x","width",e,n,r)}function u(t,e,n,r){return o(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 a(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var o=0;o=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=s&&null!=c&&(h=V(l,{x:0,y:0,width:s,height:c}),!e.ignoreViewBox)){var p=r;r=new a["a"],r.add(p),p.scaleX=p.scaleY=h.scale,p.x=h.x,p.y=h.y}return e.ignoreRootClip||null==s||null==c||r.setClipPath(new u["a"]({shape:{x:0,y:0,width:s,height:c}})),{root:r,width:s,height:c,viewBoxRect:l,viewBoxTransform:h,named:i}},t.prototype._parseNode=function(t,e,n,a,o,s){var u,c=t.nodeName.toLowerCase(),l=a;if("defs"===c&&(o=!0),"text"===c&&(s=!0),"defs"===c||"switch"===c)u=e;else{if(!o){var h=r[c];if(h&&Object(i["hasOwn"])(r,c)){u=h.call(this,t,e);var f=t.getAttribute("name");if(f){var d={name:f,namedFrom:null,svgNodeTagLower:c,el:u};n.push(d),"g"===c&&(l=d)}else a&&n.push({name:a.name,namedFrom:a,svgNodeTagLower:c,el:u});e.add(u)}}var p=S[c];if(p&&Object(i["hasOwn"])(S,c)){var g=p.call(this,t),v=t.getAttribute("id");v&&(this._defs[v]=g)}}if(u&&u.isGroup){var y=t.firstChild;while(y)1===y.nodeType?this._parseNode(y,u,n,l,o,s):3===y.nodeType&&s&&this._parseText(y,u),y=y.nextSibling}},t.prototype._parseText=function(t,e){var n=new y["a"]({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});M(e,n),C(t,n,this._defsUsePending,!1,!1),I(n,e);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var a=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=a;var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=function(){r={g:function(t,e){var n=new a["a"];return M(e,n),C(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new u["a"];return M(e,n),C(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new s["a"];return M(e,n),C(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new l["a"];return M(e,n),C(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new c["a"];return M(e,n),C(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,r=t.getAttribute("points");r&&(n=k(r));var i=new h["a"]({shape:{points:n||[]},silent:!0});return M(e,i),C(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n,r=t.getAttribute("points");r&&(n=k(r));var i=new f["a"]({shape:{points:n||[]},silent:!0});return M(e,i),C(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new o["a"];return M(e,n),C(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",r=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var s=new a["a"];return M(e,s),C(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",s=new a["a"];return M(e,s),C(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),s},path:function(t,e){var n=t.getAttribute("d")||"",r=Object(p["a"])(n);return M(e,r),C(t,r,this._defsUsePending,!1,!1),r.silent=!0,r}}}(),t}(),S={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),r=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),a=new g["a"](e,n,r,i);return j(t,a),T(t,a),a},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),r=parseInt(t.getAttribute("r")||"0",10),i=new v["a"](e,n,r);return j(t,i),T(t,i),i}};function j(t,e){var n=t.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(e.global=!0)}function T(t,e){var n=t.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var a={};F(n,a,a);var o=a.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function M(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(i["defaults"])(e.__inheritedStyle,t.__inheritedStyle))}function k(t){for(var e=R(t),n=[],r=0;r0;a-=2){var o=r[a],s=r[a-1],u=R(o);switch(i=i||d["create"](),s){case"translate":d["translate"](i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":d["scale"](i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":d["rotate"](i,i,-parseFloat(u[0])*B);break;case"skewX":var c=Math.tan(parseFloat(u[0])*B);d["mul"](i,[1,0,c,1,0,0],i);break;case"skewY":var l=Math.tan(parseFloat(u[0])*B);d["mul"](i,[1,l,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(u[0]),i[1]=parseFloat(u[1]),i[2]=parseFloat(u[2]),i[3]=parseFloat(u[3]),i[4]=parseFloat(u[4]),i[5]=parseFloat(u[5]);break}}e.setLocalTransform(i)}}var z=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(t,e,n){var r=t.getAttribute("style");if(r){var a;z.lastIndex=0;while(null!=(a=z.exec(r))){var o=a[1],s=Object(i["hasOwn"])(b,o)?b[o]:null;s&&(e[s]=a[2]);var u=Object(i["hasOwn"])(x,o)?x[o]:null;u&&(n[u]=a[2])}}}function H(t,e,n){for(var r=0;r<_.length;r++){var i=_[r],a=t.getAttribute(i);null!=a&&(e[b[i]]=a)}for(r=0;re&&a>r||ai?s:0}n.d(e,"a",(function(){return r}))},"6da4":function(t,e,n){"use strict";var r=n("f9da"),i=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]e[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},"70c7":function(t,e,n){"use strict";var r=n("cdbd"),i=n("f6dd"),a=function(t){function e(e,n,r,i,a){var o=t.call(this,i)||this;return o.x=null==e?.5:e,o.y=null==n?.5:n,o.r=null==r?.5:r,o.type="radial",o.global=a||!1,o}return Object(r["b"])(e,t),e}(i["a"]);e["a"]=a},7164:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l}));var r=n("cdbd"),i=n("39d4"),a=n("c1de"),o=n("306e"),s=n("f64d"),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["b"])(e,t),e.prototype._init=function(e){for(var n=Object(o["keys"])(e),r=0;r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.niceTicks=function(){},e.prototype.niceExtent=function(){},e.type="ordinal",e}(i["a"]);i["a"].registerClass(u),e["a"]=u},"7a9c":function(t,e,n){"use strict";n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"g",(function(){return g})),n.d(e,"a",(function(){return v})),n.d(e,"j",(function(){return y})),n.d(e,"c",(function(){return b})),n.d(e,"b",(function(){return _})),n.d(e,"f",(function(){return x})),n.d(e,"i",(function(){return O})),n.d(e,"h",(function(){return w})),n.d(e,"H",(function(){return N})),n.d(e,"G",(function(){return V})),n.d(e,"r",(function(){return U})),n.d(e,"C",(function(){return X})),n.d(e,"q",(function(){return Y})),n.d(e,"B",(function(){return q})),n.d(e,"s",(function(){return Z})),n.d(e,"D",(function(){return K})),n.d(e,"k",(function(){return J})),n.d(e,"l",(function(){return tt})),n.d(e,"m",(function(){return et})),n.d(e,"t",(function(){return nt})),n.d(e,"x",(function(){return rt})),n.d(e,"w",(function(){return it})),n.d(e,"J",(function(){return at})),n.d(e,"K",(function(){return ot})),n.d(e,"u",(function(){return st})),n.d(e,"o",(function(){return ut})),n.d(e,"p",(function(){return ct})),n.d(e,"I",(function(){return ft})),n.d(e,"F",(function(){return dt})),n.d(e,"y",(function(){return pt})),n.d(e,"n",(function(){return gt})),n.d(e,"v",(function(){return vt})),n.d(e,"A",(function(){return yt})),n.d(e,"z",(function(){return mt})),n.d(e,"E",(function(){return bt}));var r=n("4c3f"),i=n("306e"),a=n("d86a"),o=n("2468"),s=n("d940"),u=n("21ac"),c=1,l={},h=Object(s["o"])(),f=0,d=1,p=2,g=["emphasis","blur","select"],v=["normal","emphasis","blur","select"],y=10,m=9,b="highlight",_="downplay",x="select",O="unselect",w="toggleSelect";function S(t){return null!=t&&"none"!==t}var j=new r["a"](100);function T(t){if("string"!==typeof t)return t;var e=j.get(t);return e||(e=o["lift"](t,-.1),j.put(t,e)),e}function M(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function k(t){M(t,"emphasis",p)}function C(t){t.hoverState===p&&M(t,"normal",f)}function I(t){M(t,"blur",d)}function A(t){t.hoverState===d&&M(t,"normal",f)}function D(t){t.selected=!0}function P(t){t.selected=!1}function L(t,e,n){e(t,n)}function R(t,e,n){L(t,e,n),t.isGroup&&t.traverse((function(t){L(t,e,n)}))}function N(t,e){switch(e){case"emphasis":t.hoverState=p;break;case"normal":t.hoverState=f;break;case"blur":t.hoverState=d;break;case"select":t.selected=!0}}function B(t,e,n,r){for(var i=t.style,a={},o=0;o=0,o=!1;if(t instanceof u["b"]){var s=h(t),c=a&&s.selectFill||s.normalFill,l=a&&s.selectStroke||s.normalStroke;if(S(c)||S(l)){r=r||{};var f=r.style||{};!S(f.fill)&&S(c)?(o=!0,r=Object(i["extend"])({},r),f=Object(i["extend"])({},f),f.fill=T(c)):!S(f.stroke)&&S(l)&&(o||(r=Object(i["extend"])({},r),f=Object(i["extend"])({},f)),f.stroke=T(l)),r.style=f}}if(r&&null==r.z2){o||(r=Object(i["extend"])({},r));var d=t.z2EmphasisLift;r.z2=t.z2+(null!=d?d:y)}return r}function z(t,e,n){if(n&&null==n.z2){n=Object(i["extend"])({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:m)}return n}function F(t,e,n){var r=Object(i["indexOf"])(t.currentStates,e)>=0,a=t.style.opacity,o=r?null:B(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?a:.1*o.opacity},s),n.style=s),n}function H(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return E(this,t,e,n);if("blur"===t)return F(this,t,n);if("select"===t)return z(this,t,n)}return n}function V(t){t.stateProxy=H;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=H),n&&(n.stateProxy=H)}function W(t,e){!Q(t,e)&&!t.__highByOuter&&R(t,k)}function G(t,e){!Q(t,e)&&!t.__highByOuter&&R(t,C)}function U(t,e){t.__highByOuter|=1<<(e||0),R(t,k)}function X(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&R(t,C)}function Y(t){R(t,I)}function q(t){R(t,A)}function Z(t){R(t,D)}function K(t){R(t,P)}function Q(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function J(t){var e=t.getModel();e.eachComponent((function(e,n){var r="series"===e?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n);r.group.traverse((function(t){A(t)}))}))}function $(t,e,n,r){var a=r.getModel();function o(t,e){for(var n=0;n0){var a={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(a.dataType=r),e.push(a)}}))})),e}function ut(t,e,n){dt(t,!0),R(t,V),ct(t,e,n)}function ct(t,e,n){var r=Object(a["a"])(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var lt=["emphasis","blur","select"],ht={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ft(t,e,n,r){n=n||"itemStyle";for(var i=0;i=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,a){if(t.length){var o=n(e),s=o.graph,u=o.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(a,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)}},8017:function(t,e,n){"use strict";var r=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"===typeof e&&(r=n,n=e,e=null),!n||!t)return this;var a=this._$eventProcessor;null!=e&&a&&a.normalizeQuery&&(e=a.normalizeQuery(e)),i[t]||(i[t]=[]);for(var o=0;oe)return t[r];return t[n-1]}function c(t,e,n,r,i,a,o){a=a||t;var s=e(a),c=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var h=null!=o&&r?u(r,o):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={}}},"821f":function(t,e,n){"use strict";n.d(e,"a",(function(){return N}));var r=n("5db9"),i=n("cdbd"),a=n("34b2"),o=n("e30a"),s=n("59f0"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i["b"])(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var a=n.axis,u=a.grid,h=r.get("type"),f=c(u,a).getOtherAxis(a).getGlobalExtent(),d=a.toGlobalCoord(a.dataToCoord(e,!0));if(h&&"none"!==h){var p=o["b"](r),g=l[h](a,d,f);g.style=p,t.graphicKey=g.type,t.pointer=g}var v=s["c"](u.model,n);o["a"](e,t,v,n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=s["c"](e.axis.grid.model,e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=o["d"](e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,a=i.grid,o=i.getGlobalExtent(!0),s=c(a,i).getOtherAxis(i).getGlobalExtent(),u="x"===i.dim?0:1,l=[t.x,t.y];l[u]+=e[u],l[u]=Math.min(o[1],l[u]),l[u]=Math.max(o[0],l[u]);var h=(s[1]+s[0])/2,f=[h,h];f[u]=l[u];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:f,tooltipOption:d[u]}},e}(a["a"]);function c(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var l={line:function(t,e,n){var r=o["f"]([e,n[0]],[e,n[1]],h(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:o["g"]([e-r/2,n[0]],[r,i],h(t))}}};function h(t){return"x"===t.dim?0:1}var f=u,d=n("9ba3"),p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(i["b"])(e,t),e.type="axisPointer",e.defaultOption={show:"auto",zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(d["a"]),g=p,v=n("0696"),y=n("acdd"),m=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(i["b"])(e,t),e.prototype.render=function(t,e,n){var r=e.getComponent("tooltip"),i=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";v["a"]("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>=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("306e"),x=n("8a03"),O=n("d940"),w=n("51f6"),S=Object(O["o"])();function j(t,e,n){var r=t.currTrigger,i=[t.x,t.y],a=t,o=t.dispatchAction||Object(_["bind"])(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){R(i)&&(i=Object(w["a"])({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var u=R(i),c=a.axesInfo,l=s.axesInfo,h="leave"===r||R(i),f={},d={},p={list:[],map:{}},g={showPointer:Object(_["curry"])(k,d),showTooltip:Object(_["curry"])(C,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,a=P(c,t);if(!h&&n&&(!c||a)){var o=a&&a.value;null!=o||u||(o=r.pointToData(i)),null!=o&&T(t,o,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 a=i.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,L(e),L(t)))),v[t.key]=a}}))})),Object(_["each"])(v,(function(t,e){T(l[e],t,g,!0,f)})),I(d,l,f),A(p,i,t,o),D(l,o,n),f}}function T(t,e,n,r,i){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var o=M(e,t),s=o.payloadBatch,u=o.snapToValue;s[0]&&null==i.seriesIndex&&Object(_["extend"])(i,s[0]),!r&&t.snap&&a.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,s),n.showTooltip(t,o,u)}else n.showPointer(t,e)}function M(t,e){var n=e.axis,r=n.dim,i=t,a=[],o=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<=o&&((p=0&&s<0)&&(o=p,s=d,i=c,a.length=0),Object(_["each"])(l,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:i}}function k(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function C(t,e,n,r){var i=n.payloadBatch,a=e.axis,o=a.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:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.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,a=t[n];a?(!e.useHandle&&(i.status="show"),i.value=a.value,i.seriesDataIndices=(a.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 A(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 D(t,e,n){var r=n.getZr(),i="axisPointerLastHighlights",a=S(r)[i]||{},o=S(r)[i]={};Object(_["each"])(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&Object(_["each"])(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t}))}));var s=[],u=[];Object(_["each"])(a,(function(t,e){!o[e]&&u.push(t)})),Object(_["each"])(o,(function(t,e){!a[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 N(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)}},"82e9":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r={average:function(t){for(var e=0,n=0,r=0;re&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===s.type&&o){var c=s.getBaseAxis(),l=s.getOtherAxis(c),h=c.getExtent(),f=n.getDevicePixelRatio(),d=Math.abs(h[1]-h[0])*(f||1),p=Math.round(u/d);if(p>1){"lttb"===o&&t.setData(a.lttbDownSample(a.mapDimension(l.dim),1/p));var g=void 0;"string"===typeof o?g=r[o]:"function"===typeof o&&(g=o),g&&t.setData(a.downSample(a.mapDimension(l.dim),1/p,g,i))}}}}}},"82ea":function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return d}));var r=n("835f"),i=n("306e"),a=n("3913");function o(t,e){var n=e&&e.type;if("ordinal"===n){var i=e&&e.ordinalMeta;return i?i.parseAndCollect(t):t}return"time"===n&&"number"!==typeof t&&null!=t&&"-"!==t&&(t=+Object(r["o"])(t)),null==t||""===t?NaN:+t}var s=Object(i["createHashMap"])({number:function(t){return parseFloat(t)},time:function(t){return+Object(r["o"])(t)},trim:function(t){return"string"===typeof 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("number"!==typeof e){var n="";0,Object(a["c"])(n)}this._opFn=c[t],this._rvalFloat=Object(r["n"])(e)}return t.prototype.evaluate=function(t){return"number"===typeof t?this._opFn(t,this._rvalFloat):this._opFn(Object(r["n"])(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=typeof t,i=typeof e,a="number"===n?t:Object(r["n"])(t),o="number"===i?e:Object(r["n"])(e),s=isNaN(a),u=isNaN(o);if(s&&(a=this._incomparable),u&&(o=this._incomparable),s&&u){var c="string"===n,l="string"===i;c&&(a=l?t:0),l&&(o=c?e:0)}return ao?-this._resultLT:0},t}(),f=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Object(r["n"])(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["n"])(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}},"835f":function(t,e,n){"use strict";n.d(e,"l",(function(){return s})),n.d(e,"p",(function(){return u})),n.d(e,"v",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return f})),n.d(e,"f",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"b",(function(){return g})),n.d(e,"a",(function(){return v})),n.d(e,"u",(function(){return y})),n.d(e,"k",(function(){return m})),n.d(e,"o",(function(){return _})),n.d(e,"r",(function(){return x})),n.d(e,"s",(function(){return O})),n.d(e,"m",(function(){return w})),n.d(e,"q",(function(){return S})),n.d(e,"t",(function(){return j})),n.d(e,"n",(function(){return T})),n.d(e,"j",(function(){return M})),n.d(e,"i",(function(){return k})),n.d(e,"d",(function(){return I}));var r=n("306e"),i=1e-4,a=20;function o(t){return t.replace(/^\s+|\s+$/g,"")}function s(t,e,n,r){var i=e[0],a=e[1],o=n[0],s=n[1],u=a-i,c=s-o;if(0===u)return 0===c?o:(o+s)/2;if(r)if(u>0){if(t<=i)return o;if(t>=a)return s}else{if(t>=i)return o;if(t<=a)return s}else{if(t===i)return o;if(t===a)return s}return(t-i)/u*c+o}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"string"===typeof t?o(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),a),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,a=e.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-r)}function d(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),a=Math.round(n(Math.abs(e[1]-e[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function p(t,e,n){if(!t[e])return 0;var i=r["reduce"](t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return 0;var a=Math.pow(10,n),o=r["map"](t,(function(t){return(isNaN(t)?0:t)/i*a*100})),s=100*a,u=r["map"](o,(function(t){return Math.floor(t)})),c=r["reduce"](u,(function(t,e){return t+e}),0),l=r["map"](o,(function(t,e){return t-u[e]}));while(ch&&(h=l[d],f=d);++u[f],l[f]=0,++c}return u[e]/a}function g(t,e){var n=Math.max(h(t),h(e)),r=t+e;return n>a?r:c(r,n)}var v=9007199254740991;function y(t){var e=2*Math.PI;return(t%e+e)%e}function m(t){return t>-i&&t=10&&e++,e}function w(t,e){var n,r=O(t),i=Math.pow(10,r),a=t/i;return n=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=n*i,r>=-20?+t.toFixed(r<0?-r:0):t}function S(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],a=n-r;return a?i+a*(t[r]-i):i}function j(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r=0||t===e}function h(t){var e=f(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=r.parse(o));var s=p(n);null==a&&(i.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==o||o>u[1])&&(o=u[1]),oD*D+P*P&&(T=k,M=C),{cx:T,cy:M,x01:-l,y01:-h,x11:T*(i/w-1),y11:M*(i/w-1)}}function b(t,e){var n=p(e.r,0),r=p(e.r0||0,0),i=n>0,b=r>0;if(i||b){if(i||(n=r,r=0),r>n){var _=n;n=r,r=_}var x,O=!!e.clockwise,w=e.startAngle,S=e.endAngle;if(w===S)x=0;else{var j=[w,S];Object(a["b"])(j,!O),x=f(j[0]-j[1])}var T=e.cx,M=e.cy,k=e.cornerRadius||0,C=e.innerCornerRadius||0;if(n>v)if(x>s-v)t.moveTo(T+n*c(w),M+n*u(w)),t.arc(T,M,n,w,S,!O),r>v&&(t.moveTo(T+r*c(S),M+r*u(S)),t.arc(T,M,r,S,w,O));else{var I=f(n-r)/2,A=g(I,k),D=g(I,C),P=D,L=A,R=n*c(w),N=n*u(w),B=r*c(S),E=r*u(S),z=void 0,F=void 0,H=void 0,V=void 0;if((A>v||D>v)&&(z=n*c(S),F=n*u(S),H=r*c(w),V=r*u(w),xv)if(L>v){var K=m(H,V,R,N,n,L,O),Q=m(z,F,B,E,n,L,O);t.moveTo(T+K.cx+K.x01,M+K.cy+K.y01),Lv&&x>v)if(P>v){K=m(B,E,z,F,r,-P,O),Q=m(R,N,H,V,r,-P,O);t.lineTo(T+K.cx+K.x01,M+K.cy+K.y01),P=0;u--)o=i["merge"](o,n[u],!0);e.defaultOption=o}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.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(a["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,a["a"]),Object(s["c"])(h),o["a"](h),o["b"](h,f),e["a"]=h},"9ba7":function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return h})),n.d(e,"i",(function(){return p})),n.d(e,"B",(function(){return v})),n.d(e,"y",(function(){return y})),n.d(e,"m",(function(){return m})),n.d(e,"q",(function(){return b})),n.d(e,"l",(function(){return _})),n.d(e,"h",(function(){return x})),n.d(e,"r",(function(){return O})),n.d(e,"n",(function(){return S})),n.d(e,"j",(function(){return j})),n.d(e,"w",(function(){return T})),n.d(e,"f",(function(){return M})),n.d(e,"o",(function(){return k})),n.d(e,"u",(function(){return C})),n.d(e,"z",(function(){return I})),n.d(e,"s",(function(){return A})),n.d(e,"k",(function(){return D})),n.d(e,"x",(function(){return P})),n.d(e,"g",(function(){return L})),n.d(e,"p",(function(){return R})),n.d(e,"v",(function(){return N})),n.d(e,"A",(function(){return B})),n.d(e,"t",(function(){return E}));var r=n("306e"),i=n("835f"),a=n("24c7"),o=n("e166"),s=1e3,u=60*s,c=60*u,l=24*c,h=365*l,f={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{hh}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {hh}:{mm}:{ss} {SSS}"},d="{yyyy}-{MM}-{dd}",p={year:"{yyyy}",month:"{yyyy}-{MM}",day:d,hour:d+" "+f.hour,minute:d+" "+f.minute,second:d+" "+f.second,millisecond:f.none},g=["year","month","day","hour","minute","second","millisecond"],v=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function y(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function b(t){return t===m(t)}function _(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function x(t,e,n,r){var s=i["o"](t),u=s[j(n)](),c=s[T(n)]()+1,l=Math.floor((c-1)/4)+1,h=s[M(n)](),f=s["get"+(n?"UTC":"")+"Day"](),d=s[k(n)](),p=(d-1)%12+1,g=s[C(n)](),v=s[I(n)](),m=s[A(n)](),b=r instanceof o["a"]?r:Object(a["d"])(r||a["a"])||Object(a["c"])(),_=b.getModel("time"),x=_.get("month"),O=_.get("monthAbbr"),w=_.get("dayOfWeek"),S=_.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,u+"").replace(/{yy}/g,u%100+"").replace(/{Q}/g,l+"").replace(/{MMMM}/g,x[c-1]).replace(/{MMM}/g,O[c-1]).replace(/{MM}/g,y(c,2)).replace(/{M}/g,c+"").replace(/{dd}/g,y(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,w[f]).replace(/{ee}/g,S[f]).replace(/{e}/g,f+"").replace(/{HH}/g,y(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,y(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,y(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,y(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,y(m,3)).replace(/{S}/g,m+"")}function O(t,e,n,i,a){var o=null;if("string"===typeof n)o=n;else if("function"===typeof n)o=n(t.value,e,{level:t.level});else{var s=r["extend"]({},f);if(t.level>0)for(var u=0;u=0;--u)if(c[l]){o=c[l];break}o=o||s.none}if(r["isArray"](o)){var d=null==t.level?0:t.level>=0?t.level:o.length+t.level;d=Math.min(d,o.length-1),o=o[d]}}return x(new Date(t.value),o,a,i)}function w(t,e){var n=i["o"](t),r=n[T(e)]()+1,a=n[M(e)](),o=n[k(e)](),s=n[C(e)](),u=n[I(e)](),c=n[A(e)](),l=0===c,h=l&&0===u,f=h&&0===s,d=f&&0===o,p=d&&1===a,g=p&&1===r;return g?"year":p?"month":d?"day":f?"hour":h?"minute":l?"second":"millisecond"}function S(t,e,n){var r="number"===typeof t?i["o"](t):t;switch(e=e||w(t,n),e){case"year":return r[j(n)]();case"half-year":return r[T(n)]()>=6?1:0;case"quarter":return Math.floor((r[T(n)]()+1)/4);case"month":return r[T(n)]();case"day":return r[M(n)]();case"half-day":return r[k(n)]()/24;case"hour":return r[k(n)]();case"minute":return r[C(n)]();case"second":return r[I(n)]();case"millisecond":return r[A(n)]()}}function j(t){return t?"getUTCFullYear":"getFullYear"}function T(t){return t?"getUTCMonth":"getMonth"}function M(t){return t?"getUTCDate":"getDate"}function k(t){return t?"getUTCHours":"getHours"}function C(t){return t?"getUTCMinutes":"getMinutes"}function I(t){return t?"getUTCSeconds":"getSeconds"}function A(t){return t?"getUTCSeconds":"getSeconds"}function D(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 N(t){return t?"setUTCMinutes":"setMinutes"}function B(t){return t?"setUTCSeconds":"setSeconds"}function E(t){return t?"setUTCSeconds":"setSeconds"}},"9c74":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return o}));var r=n("306e");function i(t,e,n){n=n||{};var i,a,o,s,u=n.byIndex,c=n.stackedCoordDimension,l=!(!t||!t.get("stack"));if(Object(r["each"])(e,(function(t,n){Object(r["isString"])(t)&&(e[n]=t={name:t}),l&&!t.isExtraCoord&&(u||i||!t.ordinalMeta||(i=t),a||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(a=t))})),!a||u||i||(u=!0),a){o="__\0ecstackresult",s="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var h=a.coordDim,f=a.type,d=0;Object(r["each"])(e,(function(t){t.coordDim===h&&d++})),e.push({name:o,coordDim:h,coordDimIndex:d,type:f,isExtraCoord:!0,isCalculationCoord:!0}),d++,e.push({name:s,coordDim:s,coordDimIndex:d,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:i&&i.name,isStackedByIndex:u,stackedOverDimension:s,stackResultDimension:o}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function o(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},"9d8c":function(t,e,n){"use strict";var r=n("cdbd"),i=n("835f"),a=n("4614"),o=n("6da4"),s=n("aedd"),u=i["v"],c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return Object(r["b"])(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s["a"](t,this._extent)},e.prototype.normalize=function(t){return s["d"](t,this._extent)},e.prototype.scale=function(t){return s["e"](t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[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,a=[];if(!e)return a;var o=1e4;n[0]o)return[]}var c=a.length?a[a.length-1].value:r[1];return n[1]>c&&(t?a.push({value:u(c+e,i)}):a.push({value:n[1]})),a},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&fe+l&&c>i+l&&c>o+l||ct+l&&u>n+l&&u>a+l||ua&&(l=s.interval=a);var h=s.intervalPrecision=o(l),f=s.niceTickExtent=[i(Math.ceil(t[0]/l)*l,h),i(Math.floor(t[1]/l)*l,h)];return u(f,t),s}function o(t){return r["g"](t)+2}function s(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function u(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function c(t,e){return t>=e[0]&&t<=e[1]}function l(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function h(t,e){return t*(e[1]-e[0])+e[0]}},b116:function(t,e,n){"use strict";var r,i,a,o,s,u,c,l,h,f,d,p,g,v,y=n("306e"),m=n("e166"),b=n("1a63"),_=n("e0f2"),x=n("c9db"),O=n("442a"),w=n("dc26"),S=n("d940"),j=n("d86a"),T=n("82ea"),M=n("ead8"),k=Math.floor,C=y["isObject"],I=y["map"],A="undefined",D=-1,P="e\0\0",L={float:typeof Float64Array===A?Array:Float64Array,int:typeof Int32Array===A?Array:Int32Array,ordinal:Array,number:Array,time:Array},R=typeof Uint32Array===A?Array:Uint32Array,N=typeof Int32Array===A?Array:Int32Array,B=typeof Uint16Array===A?Array:Uint16Array,E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx","_nameRepeatCount"],z=["_extent","_approximateExtent","_rawExtent"],F=function(){function t(t,e){this.type="list",this._count=0,this._rawCount=0,this._storage={},this._storageArr=[],this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._rawExtent={},this._extent={},this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!0,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"],this.getRawIndex=s,t=t||["x","y"];for(var n={},r=[],i={},a=0;ax[1]&&(x[1]=_)}e&&(this._nameList[y]=e[m],this._dontMakeIdFromName||h(this,y))}this._rawCount=this._count=c,this._extent={},i(this)},t.prototype._initDataFromProvider=function(t,e,n){if(!(t>=e)){for(var r=this._rawData,a=this._storage,s=this.dimensions,u=s.length,c=this._dimensionInfos,l=this._nameList,f=this._idList,d=this._rawExtent,g=r.getSource().sourceFormat,v=g===w["f"],y=0;yk[1]&&(k[1]=M)}if(v&&!r.pure&&x){var C=x.name;null==l[O]&&null!=C&&(l[O]=Object(S["e"])(C,null));var A=x.id;null==f[O]&&null!=A&&(f[O]=Object(S["e"])(A,null))}this._dontMakeIdFromName||h(this,O)}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},i(this)}},t.prototype.count=function(){return this._count},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=0&&e=0&&e=0&&es&&(s=l)}return r=[o,s],this._extent[t]=r,r},t.prototype.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){C(t)?y["extend"](this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var r=0,i=this.count();r=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return a;i=a-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._storage,i=r[t],a=[];if(!i)return a;null==n&&(n=1/0);for(var o=1/0,s=-1,u=0,c=0,l=this.count();c=0&&s<0)&&(o=d,s=f,u=0),f===s&&(a[u++]=c))}return a.length=u,a},t.prototype.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=g&&O<=v||isNaN(O))&&(h[f++]=b),b++}m=!0}else if(2===o){_=y[p[0]];var w=y[p[1]],S=t[r[1]][0],j=t[r[1]][1];for(x=0;x=g&&O<=v||isNaN(O))&&(T>=S&&T<=j||isNaN(T))&&(h[f++]=b),b++}m=!0}}if(!m)if(1===o)for(x=0;x=g&&O<=v||isNaN(O))&&(h[f++]=M)}else for(x=0;xt[A][1])&&(k=!1)}k&&(h[f++]=this.getRawIndex(x))}return fS[1]&&(S[1]=w)}}}return o},t.prototype.downSample=function(t,e,n,r){for(var i=d(this,[t]),o=i._storage,s=[],c=k(1/e),l=o[t],h=this.count(),f=i._rawExtent[t],p=new(a(this))(h),g=0,v=0;vh-v&&(c=h-v,s.length=c);for(var y=0;yf[1]&&(f[1]=b),p[g++]=_}return i._count=g,i._indices=p,i.getRawIndex=u,i},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=d(this,[]),s=o._storage,c=s[t],l=this.count(),h=new(a(this))(l),f=0,p=k(1/e),g=this.getRawIndex(0);h[f++]=g;for(var v=1;vn&&(n=r,i=O))}h[f++]=i,g=i}return h[f++]=this.getRawIndex(l-1),o._count=f,o._indices=h,o.getRawIndex=u,o},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new m["a"](n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new b["a"](t?t.getIndices():[],this.getIndices(),(function(e){return c(t,e)}),(function(t){return c(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},C(t)?y["extend"](this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],r=n&&n[e];return null==r?this.getVisual(e):r},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},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),y["isArray"](i)?i=i.slice():C(i)&&(i=y["extend"]({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,C(e)?y["extend"](r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){if(C(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else 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?y["extend"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel;if(e){var r=Object(j["a"])(e);r.dataIndex=t,r.dataType=this.dataType,r.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(g,e)}this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){y["each"](this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},t.prototype.cloneShallow=function(e){if(!e){var n=I(this.dimensions,this.getDimensionInfo,this);e=new t(n,this.hostModel)}if(e._storage=this._storage,e._storageArr=this._storageArr,v(e,this),this._indices){var r=this._indices.constructor;if(r===Array){var i=this._indices.length;e._indices=new r(i);for(var a=0;a65535?R:B},o=function(t,e,n,r){var i=L[e.type],a=e.name;if(r){var o=t[a],s=o&&o.length;if(s!==n){for(var u=new i(n),c=0;c=0?this._indices[t]:-1},c=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=l(t,t._idDimIdx,t._idOrdinalMeta,e)),null==n&&(n=P+e),n},f=function(t){return y["isArray"](t)||(t=null!=t?[t]:[]),t},function(t,e){for(var n=0;n=0?(o[l]=n(s[l]),a._rawExtent[l]=p(),a._extent[l]=null):o[l]=s[l],u.push(o[l]))}return a},p=function(){return[1/0,-1/0]},g=function(t){var e=Object(j["a"])(t),n=Object(j["a"])(this);e.seriesIndex=n.seriesIndex,e.dataIndex=n.dataIndex,e.dataType=n.dataType},v=function(t,e){y["each"](E.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,y["each"](z,(function(n){t[n]=y["clone"](e[n])})),t._calculationInfo=y["extend"]({},e._calculationInfo)},h=function(t,e){var n=t._nameList,r=t._idList,i=t._nameDimIdx,a=t._idDimIdx,o=n[e],s=r[e];if(null==o&&null!=i&&(n[e]=o=l(t,i,t._nameOrdinalMeta,e)),null==s&&null!=a&&(r[e]=s=l(t,a,t._idOrdinalMeta,e)),null==s&&null!=o){var u=t._nameRepeatCount,c=u[o]=(u[o]||0)+1;s=o,c>1&&(s+="__ec__"+c),r[e]=s}}}(),t}();e["a"]=F},b215:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c}));var r=n("306e"),i=n("ead8"),a=n("dc26"),o=n("a0e7"),s=n("90f1"),u=function(){function t(t){this._sourceList=[],this._upstreamSignList=[],this._versionSignBase=0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[])},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()},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,o=this._getUpstreamSourceManagers(),s=!!o.length;if(l(n)){var u=n,c=void 0,h=void 0,f=void 0;if(s){var d=o[0];d.prepareSource(),f=d.getSource(),c=f.data,h=f.sourceFormat,e=[d._getVersionSign()]}else c=u.get("data",!0),h=Object(r["isTypedArray"])(c)?a["g"]:a["f"],e=[];var p=this._getSourceMetaRawOption(),g=f?f.metaRawOption:null,v=Object(r["retrieve2"])(p.seriesLayoutBy,g?g.seriesLayoutBy:null),y=Object(r["retrieve2"])(p.sourceHeader,g?g.sourceHeader:null),m=Object(r["retrieve2"])(p.dimensions,g?g.dimensions:null);t=[Object(i["b"])(c,{seriesLayoutBy:v,sourceHeader:y,dimensions:m},h,u.get("encode",!0))]}else{var b=n;if(s){var _=this._applyTransform(o);t=_.sourceList,e=_.upstreamSignList}else{var x=b.get("source",!0);t=[Object(i["b"])(x,this._getSourceMetaRawOption(),null,null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,a=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){var u="";1!==t.length&&h(u)}var c=[],l=[];return Object(r["each"])(t,(function(t){t.prepareSource();var e=t.getSource(o||0),n="";null==o||e||h(n),c.push(e),l.push(t._getVersionSign())})),a?e=Object(s["a"])(a,c,{datasetIndex:n.componentIndex}):null!=o&&(e=[Object(i["a"])(c[0])]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){var t=this._sourceList;if(!t.length)return!0;for(var e=this._getUpstreamSourceManagers(),n=0;nc&&(o=n+r,n*=c/o,r*=c/o),i+a>c&&(o=i+a,i*=c/o,a*=c/o),r+i>l&&(o=r+i,r*=l/o,i*=l/o),n+a>l&&(o=n+a,n*=l/o,a*=l/o),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+a,u+l),0!==a&&t.arc(s+a,u+l-a,a,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 o=n("a49f"),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["b"])(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(o["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?a(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},b42d:function(t,e,n){"use strict";n.d(e,"f",(function(){return T})),n.d(e,"i",(function(){return k})),n.d(e,"a",(function(){return C})),n.d(e,"g",(function(){return I})),n.d(e,"h",(function(){return A})),n.d(e,"c",(function(){return D})),n.d(e,"b",(function(){return P})),n.d(e,"e",(function(){return R})),n.d(e,"j",(function(){return N})),n.d(e,"d",(function(){return B})),n.d(e,"k",(function(){return E}));var r=n("306e"),i=n("79c4"),a=n("9d8c"),o=n("6da4"),s=n("d26e"),u=n("c1de"),c=n("605b"),l=n("cdbd"),h=n("835f"),f=n("aedd"),d=o["a"].prototype,p=a["a"].prototype,g=h["v"],v=Math.floor,y=Math.ceil,m=Math.pow,b=Math.log,_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new a["a"],e._interval=0,e}return Object(l["b"])(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent(),a=p.getTicks.call(this,t);return r["map"](a,(function(t){var e=t.value,r=h["v"](m(this.base,e));return r=e===n[0]&&this._fixMin?O(r,i[0]):r,r=e===n[1]&&this._fixMax?O(r,i[1]):r,{value:r}}),this)},e.prototype.setExtent=function(t,e){var n=this.base;t=b(t)/b(n),e=b(e)/b(n),p.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=d.getExtent.call(this);e[0]=m(t,e[0]),e[1]=m(t,e[1]);var n=this._originalScale,r=n.getExtent();return this._fixMin&&(e[0]=O(e[0],r[0])),this._fixMax&&(e[1]=O(e[1],r[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=b(t[0])/b(e),t[1]=b(t[1])/b(e),d.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.niceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var r=h["r"](n),i=t/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var a=[h["v"](y(e[0]/r)*r),h["v"](v(e[1]/r)*r)];this._interval=r,this._niceExtent=a}},e.prototype.niceExtent=function(t){p.niceExtent.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["d"](t,this._extent)},e.prototype.scale=function(t){return t=f["e"](t,this._extent),m(this.base,t)},e.type="log",e}(o["a"]),x=_.prototype;function O(t,e){return g(t,h["g"](e))}x.getMinorTicks=p.getMinorTicks,x.getLabel=p.getLabel,o["a"].registerClass(_);var w=_,S=n("9c74"),j=n("2182");function T(t,e){var n=t.type,i=Object(j["a"])(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var a=i.min,o=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=M(a,o,e,h);a=f.min,o=f.max}}return{extent:[a,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function M(t,e,n,i){var a=n.axis.getExtent(),o=a[1]-a[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)/o,p=f/d-f;return e+=p*(l/h),t-=p*(c/h),{min:t,max:e}}function k(t,e){var n=T(t,e),r=n.extent,i=e.get("splitNumber");t instanceof w&&(t.base=e.get("logBase"));var a=t.type;t.setExtent(r[0],r[1]),t.niceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===a||"time"===a?e.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function C(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(o["a"].getClass(e)||a["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 A(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):"string"===typeof e?function(e){return function(n){var r=t.scale.getLabel(n),i=e.replace("{value}",null!=r?r:"");return i}}(e):"function"===typeof e?function(e){return function(r,i){return null!=n&&(i=r.value-n),e(D(t,r),i,null!=r.level?{level:r.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function D(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,a,o=n.getExtent();n instanceof i["a"]?a=n.count():(r=n.getTicks(),a=r.length);var s,u=t.getLabelModel(),c=A(t),l=1;a>40&&(l=Math.ceil(a/40));for(var h=0;ht[1]&&(t[1]=r[1])}))}},b78c:function(t,e,n){"use strict";var r=n("306e"),i=n("835f"),a=n("bbde"),o=n("d940"),s=n("b42d"),u=Object(o["o"])();function c(t){return"category"===t.type?h(t):p(t)}function l(t,e){return"category"===t.type?d(t,e):{ticks:r["map"](t.scale.getTicks(),(function(t){return t.value}))}}function h(t){var e=t.getLabelModel(),n=f(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function f(t,e){var n,i,a=g(t,"labels"),o=Object(s["e"])(e),u=v(a,o);return u||(r["isFunction"](o)?n=O(t,o):(i="auto"===o?m(t):o,n=x(t,i)),y(a,o,{labels:n,labelCategoryInterval:i}))}function d(t,e){var n,i,a=g(t,"ticks"),o=Object(s["e"])(e),u=v(a,o);if(u)return u;if(e.get("show")&&!t.scale.isBlank()||(n=[]),r["isFunction"](o))n=O(t,o,!0);else if("auto"===o){var c=f(t,t.getLabelModel());i=c.labelCategoryInterval,n=r["map"](c.labels,(function(t){return t.tickValue}))}else i=o,n=x(t,i,!0);return y(a,o,{ticks:n,tickCategoryInterval:i})}function p(t){var e=t.scale.getTicks(),n=Object(s["h"])(t);return{labels:r["map"](e,(function(e,r){return{formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function g(t,e){return u(t)[e]||(u(t)[e]=[])}function v(t,e){for(var n=0;n40&&(l=Math.max(1,Math.floor(c/40)));for(var h=o[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<=o[1];h+=l){var y=0,m=0,b=a["e"](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(),T=S.lastAutoInterval,M=S.lastTickCount;return null!=T&&null!=M&&Math.abs(T-w)<=1&&Math.abs(M-c)<=1&&T>w&&S.axisExtent0===j[0]&&S.axisExtent1===j[1]?w=T:(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,a=i.getExtent(),o=t.getLabelModel(),u=[],c=Math.max((e||0)+1,1),l=a[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=o.get("showMinLabel")||f,p=o.get("showMaxLabel")||f;d&&l!==a[0]&&v(a[0]);for(var g=l;g<=a[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!==a[1]&&v(a[1]),u}function O(t,e,n){var i=t.scale,a=Object(s["h"])(t),o=[];return r["each"](i.getTicks(),(function(t){var r=i.getLabel(t),s=t.value;e(t.value,r)&&o.push(n?s:{formattedLabel:a(t),rawLabel:r,tickValue:s})})),o}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["f"])(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["l"])(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 a=Object(i["l"])(t,n,w,e);return this.scale.scale(a)},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,a=Object(r["map"])(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),o=e.get("alignWithLabel");return T(this,a,o,t.clamp),a},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 T(t,e,n,a){var o=e.length;if(t.onBand&&!n&&o){var s,u,c=t.getExtent();if(1===o)e[0].coord=c[0],s=e[1]={coord:c[0]};else{var l=e[o-1].tickValue-e[0].tickValue,h=(e[o-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[o-1].tickValue,s={coord:e[o-1].coord+h*u},e.push(s)}var d=c[0]>c[1];p(e[0].coord,c[0])&&(a?e[0].coord=c[0]:e.shift()),a&&p(c[0],e[0].coord)&&e.unshift({coord:c[0]}),p(c[1],s.coord)&&(a?s.coord=c[1]:e.pop()),a&&p(s.coord,c[1])&&e.push({coord:c[1]})}function p(t,e){return t=Object(i["v"])(t),e=Object(i["v"])(e),d?t>e:t1||e>0&&!t.noHeader,r=0;Object(i["each"])(t.blocks,(function(t){f(t).planLayout(t);var e=t.__gapLevelBetweenSubBlocks;e>=r&&(r=e+(!n||e&&("section"!==t.type||t.noHeader)?0:1))})),t.__gapLevelBetweenSubBlocks=r},build:function(t,e,n,i){var a=e.noHeader,o=v(e),c=p(t,e,a?n:o.html,i);if(a)return c;var l=Object(r["i"])(e.header,"ordinal",t.useUTC),h=u(i,t.renderMode).nameStyle;return"richText"===t.renderMode?_(t,l,h)+o.richText+c:y('
'+Object(r["d"])(l)+"
"+c,n)}},nameValue:{planLayout:function(t){t.__gapLevelBetweenSubBlocks=0},build:function(t,e,n,a){var o=t.renderMode,s=e.noName,c=e.noValue,l=!e.markerType,h=e.name,f=e.value,d=t.useUTC;if(!s||!c){var p=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",o),g=s?"":Object(r["i"])(h,"ordinal",d),v=e.valueType,O=c?[]:Object(i["isArray"])(f)?Object(i["map"])(f,(function(t,e){return Object(r["i"])(t,Object(i["isArray"])(v)?v[e]:v,d)})):[Object(r["i"])(f,Object(i["isArray"])(v)?v[0]:v,d)],w=!l||!s,S=!l&&s,j=u(a,o),T=j.nameStyle,M=j.valueStyle;return"richText"===o?(l?"":p)+(s?"":_(t,g,T))+(c?"":x(t,O,w,S,M)):y((l?"":p)+(s?"":m(g,!l,T))+(c?"":b(O,w,S,M)),n)}}}};function p(t,e,n,r){var o=[],s=e.blocks||[];Object(i["assert"])(!s||Object(i["isArray"])(s)),s=s||[];var u=t.orderMode;if(e.sortBlocks&&u){s=s.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Object(i["hasOwn"])(c,u)){var l=new a["a"](c[u],null);s.sort((function(t,e){return l.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&s.reverse()}var h=v(e);if(Object(i["each"])(s,(function(e,n){var i=f(e).build(t,e,n>0?h.html:0,r);null!=i&&o.push(i)})),o.length)return"richText"===t.renderMode?o.join(h.richText):y(o.join(""),n)}function g(t,e,n,r,i,a){if(t){var o=f(t);o.planLayout(t);var s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e};return o.build(s,t,0,a)}}function v(t){var e=t.__gapLevelBetweenSubBlocks;return{html:c[e],richText:l[e]}}function y(t,e){var n='
',r="margin: "+e+"px 0 0";return'
'+t+n+"
"}function m(t,e,n){var i=e?"margin-left:2px":"";return''+Object(r["d"])(t)+""}function b(t,e,n,a){var o=n?"10px":"20px",s=e?"float:right;margin-left:"+o:"";return''+Object(i["map"])(t,(function(t){return Object(r["d"])(t)})).join("  ")+""}function _(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function x(t,e,n,r,i){var a=[i],o=r?10:20;return n&&a.push({padding:[0,0,0,o],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(e.join(" "),a)}function O(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return Object(r["c"])(i)}function w(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var S=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Object(o["i"])()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var a="richText"===n?this._generateStyleName():null,o=Object(r["h"])({color:e,type:t,renderMode:n,markerId:a});return Object(i["isString"])(o)?o:(this.richTextStyles[a]=o.style,o.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(i["isArray"])(e)?Object(i["each"])(e,(function(t){return Object(i["extend"])(n,t)})):Object(i["extend"])(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}()},bba5:function(t,e,n){"use strict";var r=n("cdbd"),i=n("ff42c"),a=n("6625"),o=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(r["b"])(e,t),e.prototype.getInitialData=function(t,e){return Object(a["a"])(this.getSource(),this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),r=this.getData(),i=r.getLayout("offset"),a=r.getLayout("size"),o=e.getBaseAxis().isHorizontal()?0:1;return n[o]+=i+a/2,n}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(i["a"]);i["a"].registerClass(o),e["a"]=o},bbde:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"g",(function(){return f})),n.d(e,"e",(function(){return p})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return v})),n.d(e,"f",(function(){return y})),n.d(e,"h",(function(){return m})),n.d(e,"d",(function(){return b}));var r,i,a=n("c1de"),o=n("306e"),s=n("4c3f"),u={},c="12px sans-serif";function l(t,e){return r||(r=Object(o["createCanvas"])().getContext("2d")),i!==e&&(i=r.font=e||c),r.measureText(t)}var h={measureText:l};function f(t,e){e=e||c;var n=u[e];n||(n=u[e]=new s["a"](500));var r=n.get(t);return null==r&&(r=h.measureText(t,e).width,n.put(t,r)),r}function d(t,e,n,r){var i=f(t,e),o=y(e),s=g(0,i,n),u=v(0,o,r),c=new a["a"](s,u,i,o);return c}function p(t,e,n,r){var i=((t||"")+"").split("\n"),o=i.length;if(1===o)return d(i[0],e,n,r);for(var s=new a["a"](0,0,0,0),u=0;u=0?parseFloat(t)/100*e:parseFloat(t):t}function b(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,a=n.height,o=n.width,s=a/2,u=n.x,c=n.y,l="left",h="top";if(r instanceof Array)u+=m(r[0],n.width),c+=m(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+o,c+=s,h="middle";break;case"top":u+=o/2,c-=i,l="center",h="bottom";break;case"bottom":u+=o/2,c+=a+i,l="center";break;case"inside":u+=o/2,c+=s,l="center",h="middle";break;case"insideLeft":u+=i,c+=s,h="middle";break;case"insideRight":u+=o-i,c+=s,l="right",h="middle";break;case"insideTop":u+=o/2,c+=i,l="center";break;case"insideBottom":u+=o/2,c+=a-i,l="center",h="bottom";break;case"insideTopLeft":u+=i,c+=i;break;case"insideTopRight":u+=o-i,c+=i,l="right";break;case"insideBottomLeft":u+=i,c+=a-i,h="bottom";break;case"insideBottomRight":u+=o-i,c+=a-i,l="right",h="bottom";break}return t=t||{},t.x=u,t.y=c,t.align=l,t.verticalAlign=h,t}},bd50:function(t,e,n){"use strict";var r=n("cdbd"),i=n("21ac"),a=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),o=function(t){function e(e){return t.call(this,e)||this}return Object(r["b"])(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var n=.5522848,r=e.cx,i=e.cy,a=e.rx,o=e.ry,s=a*n,u=o*n;t.moveTo(r-a,i),t.bezierCurveTo(r-a,i-u,r-s,i-o,r,i-o),t.bezierCurveTo(r+s,i-o,r+a,i-u,r+a,i),t.bezierCurveTo(r+a,i+u,r+s,i+o,r,i+o),t.bezierCurveTo(r-s,i+o,r-a,i+u,r-a,i),t.closePath()},e}(i["b"]);o.prototype.type="ellipse",e["a"]=o},c1de:function(t,e,n){"use strict";var r=n("57d2"),i=n("cd0f"),a=Math.min,o=Math.max,s=new i["a"],u=new i["a"],c=new i["a"],l=new i["a"],h=new i["a"],f=new i["a"],d=function(){function t(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}return t.prototype.union=function(t){var e=a(t.x,this.x),n=a(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=o(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=o(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,a=r["create"]();return r["translate"](a,a,[-e.x,-e.y]),r["scale"](a,a,[n,i]),r["translate"](a,a,[t.x,t.y]),a},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this,a=r.x,o=r.x+r.width,s=r.y,u=r.y+r.height,c=e.x,l=e.x+e.width,d=e.y,p=e.y+e.height,g=!(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=a(s.x,u.x,c.x,l.x),e.y=a(s.y,u.y,c.y,l.y);var p=o(s.x,u.x,c.x,l.x),g=o(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},c87a:function(t,e,n){"use strict";n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return _}));var r=n("306e"),i=n("21ac"),a=n("a83e"),o=n("b3e3"),s=n("8644"),u=n("2196"),c=n("c1de"),l=n("bbde"),h=i["b"].extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,a=e.height/2;t.moveTo(n,r-a),t.lineTo(n+i,r+a),t.lineTo(n-i,r+a),t.closePath()}}),f=i["b"].extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,a=e.height/2;t.moveTo(n,r-a),t.lineTo(n+i,r),t.lineTo(n,r+a),t.lineTo(n-i,r),t.closePath()}}),d=i["b"].extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,i=e.width/5*3,a=Math.max(i,e.height),o=i/2,s=o*o/(a-o),u=r-a+o+s,c=Math.asin(s/o),l=Math.cos(c)*o,h=Math.sin(c),f=Math.cos(c),d=.6*o,p=.7*o;t.moveTo(n-l,u+s),t.arc(n,u,o,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(n+l-h*d,u+s+f*d,n,r-p,n,r),t.bezierCurveTo(n,r-p,n-l+h*d,u+s+f*d,n-l,u+s),t.closePath()}}),p=i["b"].extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,i=e.x,a=e.y,o=r/3*2;t.moveTo(i,a),t.lineTo(i+o,a+n),t.lineTo(i,a+n/4*3),t.lineTo(i-o,a+n),t.lineTo(i,a),t.closePath()}}),g={line:a["a"],rect:o["a"],roundRect:o["a"],square:o["a"],circle:s["a"],diamond:f,pin:d,arrow:p,triangle:h},v={line:function(t,e,n,r,i){i.x1=t,i.y1=e+r/2,i.x2=t+n,i.y2=e+r/2},rect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r},roundRect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(t,e,n,r,i){var a=Math.min(n,r);i.x=t,i.y=e,i.width=a,i.height=a},circle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.r=Math.min(n,r)/2},diamond:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r},pin:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},arrow:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},triangle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r}},y={};r["each"](g,(function(t,e){y[e]=new t}));var m=i["b"].extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=Object(l["d"])(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(r.y=n.y+.4*n.height),r},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var i=y[r];i||(r="rect",i=y[r]),v[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function b(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function _(t,e,n,r,i,a,o){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?u["makeImage"](t.slice(8),new c["a"](e,n,r,i),o?"center":"cover"):0===t.indexOf("path://")?u["makePath"](t.slice(7),{},new c["a"](e,n,r,i),o?"center":"cover"):new m({shape:{symbolType:t,x:e,y:n,width:r,height:i}}),s.__isEmptyBrush=l,s.setColor=b,a&&s.setColor(a),s}},c8a3:function(t,e,n){"use strict";var r=n("cdbd"),i=n("7164"),a=n("c1de"),o=n("306e"),s=Object(o["defaults"])({x:0,y:0},i["b"]),u={style:Object(o["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["b"])(e,t),e.prototype.createStyle=function(t){return Object(o["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",a=e[i];return null==a?r[t]:r[t]/r[i]*a},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 a["a"](t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i["c"]);l.prototype.type="image",e["a"]=l},c9db:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n("306e"),i=n("dc26");function a(t){var e={},n=e.encode={},a=Object(r["createHashMap"])(),s=[],c=[],l=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};Object(r["each"])(t.dimensions,(function(e){var r=t.getDimensionInfo(e),h=r.coordDim;if(h){0;var f=r.coordDimIndex;o(n,h)[f]=e,r.isExtraCoord||(a.set(h,1),u(r.type)&&(s[0]=e),o(l.encode,h)[f]=r.index),r.defaultTooltip&&c.push(e)}i["i"].each((function(t,e){var i=o(n,e),a=r.otherDims[e];null!=a&&!1!==a&&(i[a]=r.name)}))}));var h=[],f={};a.each((function(t,e){var r=n[e];f[e]=r[0],h=h.concat(r)})),e.dataDimsOnCoord=h,e.encodeFirstDimNotExtra=f;var d=n.label;d&&d.length&&(s=d.slice());var p=n.tooltip;return p&&p.length?c=p.slice():c.length||(c=s.slice()),n.defaultedLabel=s,n.defaultedTooltip=c,e}function o(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function s(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function u(t){return!("ordinal"===t||"time"===t)}},cd0f: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},cdbd:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return o})); /*! ***************************************************************************** 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){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&(o=null===o?u:Math.min(o,u))}n[i]=o}}return n}function g(t){var e=p(t),n=[];return r["each"](t,(function(t){var r,a=t.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var u=o.dim+"_"+o.index,c=e[u],f=Math.abs(s[1]-s[0]),d=o.scale.getExtent(),p=Math.abs(d[1]-d[0]);r=c?f/p*c:f}else{var g=t.getData();r=Math.abs(s[1]-s[0])/g.count()}var v=Object(i["p"])(t.get("barWidth"),r),y=Object(i["p"])(t.get("barMaxWidth"),r),m=Object(i["p"])(t.get("barMinWidth")||1,r),b=t.get("barGap"),_=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:v,barMaxWidth:y,barMinWidth:m,barGap:b,barCategoryGap:_,axisKey:h(o),stackId:l(t)})})),v(n)}function v(t){var e={};r["each"](t,(function(t,n){var r=t.axisKey,i=t.bandWidth,a=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;e[r]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var u=t.barWidth;u&&!o[s].width&&(o[s].width=u,u=Math.min(a.remainedWidth,u),a.remainedWidth-=u);var c=t.barMaxWidth;c&&(o[s].maxWidth=c);var l=t.barMinWidth;l&&(o[s].minWidth=l);var h=t.barGap;null!=h&&(a.gap=h);var f=t.barCategoryGap;null!=f&&(a.categoryGap=f)}));var n={};return r["each"](e,(function(t,e){n[e]={};var a=t.stacks,o=t.bandWidth,s=t.categoryGap;if(null==s){var u=r["keys"](a).length;s=Math.max(35-4*u,15)+"%"}var c=Object(i["p"])(s,o),l=Object(i["p"])(t.gap,1),h=t.remainedWidth,f=t.autoWidthCount,d=(h-c)/(f+(f-1)*l);d=Math.max(d,0),r["each"](a,(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;r["each"](a,(function(t,e){t.width||(t.width=d),p=t,g+=t.width*(1+l)})),p&&(g-=p.width*l);var v=-g/2;r["each"](a,(function(t,r){n[e][r]=n[e][r]||{bandWidth:o,offset:v,width:t.width},v+=t.width*(1+l)}))})),n}function y(t,e,n){if(t&&e){var r=t[h(e)];return null!=r&&null!=n?r[l(n)]:r}}function m(t,e){var n=d(t,e),i=g(n),o={};r["each"](n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),s=l(t),u=i[h(r)][s],c=u.offset,f=u.width,d=n.getOtherAxis(r),p=t.get("barMinHeight")||0;o[s]=o[s]||[],e.setLayout({bandWidth:u.bandWidth,offset:c,size:f});for(var g=e.mapDimension(d.dim),v=e.mapDimension(r.dim),y=Object(a["c"])(e,g),m=d.isHorizontal(),b=O(r,d,y),_=0,x=e.count();_=0?"p":"n",T=b;y&&(o[s][S]||(o[s][S]={p:b,n:b}),T=o[s][S][j]);var M=void 0,k=void 0,C=void 0,I=void 0;if(m){var A=n.dataToPoint([w,S]);M=T,k=A[1]+c,C=A[0]-b,I=f,Math.abs(C)u||(f=u),{progress:function(t,e){var u,d=t.count,p=new c(2*d),g=new c(2*d),v=new c(d),y=[],m=[],b=0,_=0;while(null!=(u=t.next()))m[h]=e.get(o,u),m[1-h]=e.get(s,u),y=n.dataToPoint(m,null),g[b]=l?r.x+r.width:y[0],p[b++]=y[0],g[b]=l?y[1]:r.y+r.height,p[b++]=y[1],v[_++]=u;e.setLayout({largePoints:p,largeDataIndices:v,largeBackgroundPoints:g,barWidth:f,valueAxisStart:O(i,a,!1),backgroundStart:l?r.x:r.y,valueAxisHorizontal:l})}}}}};function _(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function x(t){return t.pipelineContext&&t.pipelineContext.large}function O(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}},d3f8:function(t,e,n){"use strict";var r=n("cdbd"),i=n("7164"),a=n("c1de"),o=[],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["b"])(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;nt&&(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("21ac"),d=n("48b8"),p=n("2196"),g=n("b3e3"),v=n("9945"),y=n("d86a"),m=n("7a9c"),b=n("0437"),_=n("0094"),x=n("1e0b"),O=n("246f"),w=n("5e03"),S=n("11a1"),j=n("9132"),T=[0,0],M=Math.max,k=Math.min;function C(t,e){var n=t.getArea&&t.getArea();if(Object(S["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 I=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return Object(o["b"])(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._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._incrementalRenderLarge(t,e)},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,a=this.group,o=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=P(t,u);h&&this._enableRealtimeSort(h,o,n);var f=t.get("clip",!0)||h,g=C(u,o);a.removeClipPath();var v=t.get("roundCap",!0),y=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),b=m.get("borderRadius")||0,_=[],x=this._backgroundEls,O=r&&r.isInitSort,w=r&&"changeAxisOrder"===r.type;function S(t){var e=R[u.type](o,t),n=Y(u,i,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===u.type&&n.setShape("r",b),_[t]=n,n}o.diff(s).add((function(e){var n=o.getItemModel(e),r=R[u.type](o,e,n);if(y&&S(e),o.hasValue(e)){var s=!1;f&&(s=A[u.type](g,r));var d=D[u.type](t,o,e,r,i,l,c.model,!1,v);B(d,o,e,n,r,t,i,"polar"===u.type),O?d.attr({shape:r}):h?L(h,l,d,r,e,i,!1,!1):Object(p["initProps"])(d,{shape:r},t,e),o.setItemGraphicEl(e,d),a.add(d),d.ignore=s}})).update((function(e,n){var r=o.getItemModel(e),d=R[u.type](o,e,r);if(y){var j=void 0;0===x.length?j=S(n):(j=x[n],j.useStyle(m.getItemStyle()),"cartesian2d"===u.type&&j.setShape("r",b),_[e]=j);var T=R[u.type](o,e),M=X(i,T,u);Object(p["updateProps"])(j,{shape:M},l,e)}var k=s.getItemGraphicEl(n);if(!o.hasValue(e))return a.remove(k),void(k=null);var C=!1;f&&(C=A[u.type](g,d),C&&a.remove(k)),k||(k=D[u.type](t,o,e,d,i,l,c.model,!!k,v)),w||B(k,o,e,r,d,t,i,"polar"===u.type),O?k.attr({shape:d}):h?L(h,l,k,d,e,i,!0,w):Object(p["updateProps"])(k,{shape:d},t,e,null),o.setItemGraphicEl(e,k),k.ignore=C,a.add(k)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Object(p["removeElementWithFadeOut"])(n,t,e)})).execute();var j=this._backgroundGroup||(this._backgroundGroup=new d["a"]);j.removeAll();for(var T=0;T<_.length;++T)j.add(_[T]);a.add(j),this._backgroundEls=_,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),H(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),H(e,this.group,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)?Object(x["a"])(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var r=this;if(e.count()){var i=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var a=function(t){var n=e.getItemGraphicEl(t);if(n){var r=n.shape;return(i.isHorizontal()?Math.abs(r.height):Math.abs(r.width))||0}return 0};this._onRendered=function(){r._updateSortWithinSameData(e,a,i,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),i.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:Object(r["map"])(i,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var r=n.scale,i=t.mapDimension(n.dim),a=Number.MAX_VALUE,o=0,s=r.getOrdinalMeta().categories.length;oa)return!0;a=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,r=n.getExtent(),i=Math.max(0,r[0]),a=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=a;++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,animation:{duration:0}})},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(p["removeElementWithFadeOut"])(e,t,Object(y["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}(w["a"]),A={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,a=t.y+t.height,o=M(e.x,t.x),s=k(e.x+e.width,i),u=M(e.y,t.y),c=k(e.y+e.height,a),l=si?s:o,e.y=h&&u>a?c:u,e.width=l?0:s-o,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=k(e.r,t.r),a=M(e.r0,t.r0);e.r=i,e.r0=a;var o=i-a<0;if(n<0){r=e.r;e.r=e.r0,e.r0=r}return o}},D={cartesian2d:function(t,e,n,i,a,o,s,u,c){var l=new g["a"]({shape:Object(r["extend"])({},i),z2:1});if(l.__dataIndex=n,l.name="item",o){var h=l.shape,f=a?"height":"width";h[f]=0}return l},polar:function(t,e,n,i,a,o,s,u,c){var l=i.startAngle0?1:-1,o=r.height>0?1:-1;return{x:r.x+a*i/2,y:r.y+o*i/2,width:r.width-a*i,height:r.height-o*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}}};function N(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function B(t,e,n,i,a,o,s,u){var c=e.getItemVisual(n,"style");u||t.setShape("r",i.get(["itemStyle","borderRadius"])||0),t.useStyle(c);var l=i.getShallow("cursor");if(l&&t.attr("cursor",l),!u){var h=s?a.height>0?"bottom":"top":a.width>0?"left":"right",f=Object(b["e"])(i);Object(b["g"])(t,f,{labelFetcher:o,labelDataIndex:n,defaultText:Object(j["b"])(o.getData(),n),inheritColor:c.fill,defaultOpacity:c.opacity,defaultOutsidePosition:h});var d=t.getTextContent();Object(b["h"])(d,f,o.getRawValue(n),(function(t){return Object(j["a"])(e,t)}))}var p=i.getModel(["emphasis"]);Object(m["o"])(t,p.get("focus"),p.get("blurScope")),Object(m["I"])(t,i),N(a)&&(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 E(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),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,i,a)}var z=function(){function t(){}return t}(),F=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return Object(o["b"])(e,t),e.prototype.getDefaultShape=function(){return new z},e.prototype.buildPath=function(t,e){for(var n=e.points,r=this.__startPoint,i=this.__baseDimIdx,a=0;a=0?n:null}),30,!1);function W(t,e,n){var r=t.__baseDimIdx,i=1-r,a=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),u=t.__startPoint[i];T[0]=e,T[1]=n;for(var c=T[r],l=T[1-r],h=c-s,f=c+s,d=0,p=a.length/2;d=h&&v<=f&&(u<=y?l>=u&&l<=y:l>=y&&l<=u))return o[d]}return-1}function G(t,e,n){var i=n.getVisual("style");t.useStyle(Object(r["extend"])({},i)),t.style.fill=null,t.style.stroke=i.fill,t.style.lineWidth=n.getLayout("barWidth")}function U(t,e,n){var r=e.get("borderColor")||e.get("color"),i=e.getItemStyle();t.useStyle(i),t.style.fill=null,t.style.stroke=r,t.style.lineWidth=n.getLayout("barWidth")}function X(t,e,n){if(Object(S["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 a=e;return{cx:i.cx,cy:i.cy,r0:t?i.r0:a.r0,r:t?i.r:a.r,startAngle:t?a.startAngle:0,endAngle:t?a.endAngle:2*Math.PI}}function Y(t,e,n){var r="polar"===t.type?v["a"]:g["a"];return new r({shape:X(e,n,t),silent:!0,z2:0})}var q=I;function Z(t){t.registerChartView(q),t.registerSeriesModel(h),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,r["curry"](i["c"],"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i["b"]),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Object(a["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)}))}))}},d86a:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("d940"),i=Object(r["o"])()},d940:function(t,e,n){"use strict";n.d(e,"r",(function(){return c})),n.d(e,"f",(function(){return l})),n.d(e,"c",(function(){return h})),n.d(e,"h",(function(){return f})),n.d(e,"m",(function(){return d})),n.d(e,"q",(function(){return p})),n.d(e,"e",(function(){return w})),n.d(e,"n",(function(){return S})),n.d(e,"l",(function(){return j})),n.d(e,"p",(function(){return T})),n.d(e,"x",(function(){return M})),n.d(e,"d",(function(){return C})),n.d(e,"u",(function(){return I})),n.d(e,"o",(function(){return A})),n.d(e,"s",(function(){return P})),n.d(e,"t",(function(){return L})),n.d(e,"b",(function(){return R})),n.d(e,"a",(function(){return N})),n.d(e,"v",(function(){return B})),n.d(e,"w",(function(){return E})),n.d(e,"g",(function(){return z})),n.d(e,"i",(function(){return F})),n.d(e,"j",(function(){return H})),n.d(e,"k",(function(){return V}));var r=n("306e"),i=n("13d8"),a=n("835f"),o=n("da32"),s="series\0",u="\0_ec_\0";function c(t){return t instanceof Array?t:null==t?[]:[t]}function l(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r.5?e:t}function f(t,e,n,r){for(var i=e.length,a=0;ao;if(s)r.length=o;else for(var u=a;u=2&&this.interpolable},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,r=n.length;if(this.interpolable)if(Object(u["isArrayLike"])(e)){var i=w(e);if(r>0&&this.arrDim!==i)return void(this.interpolable=!1);if(1===i&&"number"!==typeof e[0]||2===i&&"number"!==typeof e[0][0])return void(this.interpolable=!1);if(r>0){var a=n[r-1];this._isAllValueEqual&&(1===i&&y(e,a.value)||(this._isAllValueEqual=!1))}this.arrDim=i}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"===typeof e){var o=s["parse"](e);o?(e=o,this.isValueColor=!0):this.interpolable=!1}else if("number"!==typeof e||isNaN(e))return void(this.interpolable=!1);if(this._isAllValueEqual&&r>0){a=n[r-1];(this.isValueColor&&!y(a.value,e)||a.value!==e)&&(this._isAllValueEqual=!1)}}var c={time:t,value:e,percent:0};return this.keyframes.push(c),c},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var n=this.arrDim,r=e.length,i=e[r-1],a=0;a0&&a!==r-1&&v(e[a].value,i.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var o=e[0].value;for(a=0;a=0;n--)if(a[n].percent<=e)break;n=Math.min(n,o-2)}else{for(n=this._lastFrame;ne)break;n=Math.min(n-1,o-2)}var g=a[n+1],v=a[n];if(v&&g){this._lastFrame=n,this._lastFramePercent=e;var y=g.percent-v.percent;if(0!==y){var x=(e-v.percent)/y,w=r?this._additiveValue:c?S:t[s];if((u>0||c)&&!w&&(w=this._additiveValue=[]),this.useSpline){var j=a[n][i],T=a[0===n?n:n-1][i],M=a[n>o-2?o-1:n+1][i],k=a[n>o-3?o-1:n+2][i];if(u>0)1===u?b(w,T,j,M,k,x,x*x,x*x*x):_(w,T,j,M,k,x,x*x,x*x*x);else if(c)b(w,T,j,M,k,x,x*x,x*x*x),r||(t[s]=O(w));else{var C=void 0;C=this.interpolable?m(T,j,M,k,x,x*x,x*x*x):M,r?this._additiveValue=C:t[s]=C}}else if(u>0)1===u?f(w,v[i],g[i],x):d(w,v[i],g[i],x);else if(c)f(w,v[i],g[i],x),r||(t[s]=O(w));else{C=void 0;C=this.interpolable?l(v[i],g[i],x):h(v[i],g[i],x),r?this._additiveValue=C:t[s]=C}r&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,n=this.propName,r=this._additiveValue;0===e?this.isValueColor?(s["parse"](t[n],S),p(S,S,r,1),t[n]=O(S)):t[n]=t[n]+r:1===e?p(t[n],t[n],r,1):2===e&&g(t[n],t[n],r,1)},t}(),T=function(){function t(t,e,n){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?Object(u["logError"])("Can' use additive animation on looped animation."):this._additiveAnimators=n}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,Object(u["keys"])(e))},t.prototype.whenWithKeys=function(t,e,n){for(var r=this._tracks,i=0;i0)){this._started=1;for(var n=this,r=[],i=0;i1){var o=a.pop();i.addKeyframe(o.time,t[r]),i.prepare(i.getAdditiveTrack())}}}},t}();e["b"]=T},dbec:function(t,e,n){"use strict";var r=n("cdbd"),i=n("7164"),a=n("bbde"),o=n("21ac"),s=n("306e"),u=Object(s["defaults"])({strokeFirst:!0,font:a["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o["a"]),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["b"])(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"])(u,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(a["e"])(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"]);c.prototype.type="tspan",e["a"]=c},dc26:function(t,e,n){"use strict";n.d(e,"i",(function(){return i})),n.d(e,"f",(function(){return a})),n.d(e,"c",(function(){return o})),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("306e"),i=Object(r["createHashMap"])(["tooltip","label","itemName","itemId","seriesName"]),a="original",o="arrayRows",s="objectRows",u="keyedColumns",c="typedArray",l="unknown",h="column",f="row"},dcf4:function(t,e,n){"use strict";n.d(e,"a",(function(){return M})),n.d(e,"b",(function(){return k})),n.d(e,"c",(function(){return C}));var r=n("cdbd"),i=n("21ac"),a=n("4ade"),o=n("2055"),s=a["a"].CMD,u=[[],[],[]],c=Math.sqrt,l=Math.atan2;function h(t,e){var n,r,i,a,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,a=0;i1&&(o*=d(_),s*=d(_));var x=(i===a?-1:1)*d((o*o*(s*s)-o*o*(y*y)-s*s*(f*f))/(o*o*(y*y)+s*s*(f*f)))||0,O=x*o*y/s,w=x*-s*f/o,S=(t+n)/2+g(h)*O-p(h)*w,j=(e+r)/2+p(h)*O+g(h)*w,T=b([1,0],[(f-O)/o,(y-w)/s]),M=[(f-O)/o,(y-w)/s],k=[(-1*f-O)/o,(-1*y-w)/s],C=b(M,k);if(m(M,k)<=-1&&(C=v),m(M,k)>=1&&(C=0),C<0){var I=Math.round(C/v*1e6)/1e6;C=2*v+I%2*v}l.addData(c,S,j,o,s,T,C,h,a)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,O=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function w(t){var e=new a["a"];if(!t)return e;var n,r=0,i=0,o=r,s=i,u=a["a"].CMD,c=t.match(x);if(!c)return e;for(var l=0;l>1^-(1&s),u=u>>1^-(1&u),s+=i,u+=a,i=s,a=u,r.push([s/n,u/n])}return r}function s(t,e){return t=a(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,a=t.geometry,o=[];if("Polygon"===a.type){var s=a.coordinates;o.push({type:"polygon",exterior:s[0],interiors:s.slice(1)})}if("MultiPolygon"===a.type){s=a.coordinates;r["each"](s,(function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}))}var u=new i["a"](n[e||"name"],o,n.cp);return u.properties=n,u}))}},e0f2: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,a,o,s,u=n("306e"),c=n("d940"),l=n("ead8"),h=n("dc26"),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,a){var s=a.sourceFormat,c=a.seriesLayoutBy,l=a.startIndex,f=a.dimensionsDefine,d=o[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,a=0;ac&&(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;e0))}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(a["a"])(e.image,e.__image,n);if(Object(a["c"])(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"===typeof DOMMatrix&&i.setTransform){var o=new DOMMatrix;o.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),o.scaleSelf(e.scaleX||1,e.scaleY||1),o.translateSelf(e.x||0,e.y||0),i.setTransform(o)}return i}}function x(t,e,n,r){var i=v(n),a=y(n),s=n.strokePercent,u=s<1,c=!e.path;e.silent&&!u||!c||e.createPathProxy();var l=e.path||g;if(!r){var d=n.fill,x=n.stroke,O=a&&!!d.colorStops,w=i&&!!x.colorStops,S=a&&!!d.image,j=i&&!!x.image,T=void 0,M=void 0,k=void 0,C=void 0,I=void 0;(O||w)&&(I=e.getBoundingRect()),O&&(T=e.__dirty?Object(o["a"])(t,d,I):e.__canvasFillGradient,e.__canvasFillGradient=T),w&&(M=e.__dirty?Object(o["a"])(t,x,I):e.__canvasStrokeGradient,e.__canvasStrokeGradient=M),S&&(k=e.__dirty||!e.__canvasFillPattern?_(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=k),j&&(C=e.__dirty||!e.__canvasStrokePattern?_(t,x,e):e.__canvasStrokePattern,e.__canvasStrokePattern=k),O?t.fillStyle=T:S&&(k?t.fillStyle=k:a=!1),w?t.strokeStyle=M:j&&(C?t.strokeStyle=C:i=!1)}var A=n.lineDash&&n.lineWidth>0&&Object(f["a"])(n.lineDash,n.lineWidth),D=n.lineDashOffset,P=!!t.setLineDash,L=e.getGlobalScale();if(l.setScale(L[0],L[1],e.segmentIgnoreThreshold),A){var R=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;R&&1!==R&&(A=Object(h["map"])(A,(function(t){return t/R})),D/=R)}var N=!0;(c||e.__dirty&p["b"]||A&&!P&&i)&&(l.setDPR(t.dpr),u?l.setContext(null):(l.setContext(t),N=!1),l.reset(),A&&!P&&(l.setLineDash(A),l.setLineDashOffset(D)),e.buildPath(l,e.shape,r),l.toStatic(),e.pathUpdated()),N&&l.rebuildPath(t,u?s:1),A&&P&&(t.setLineDash(A),t.lineDashOffset=D),r||(n.strokeFirst?(i&&b(t,n),a&&m(t,n)):(a&&m(t,n),i&&b(t,n))),A&&P&&t.setLineDash([])}function O(t,e,n){var r=e.__image=Object(a["a"])(n.image,e.__image,e,e.onload);if(r&&Object(a["c"])(r)){var i=n.x||0,o=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,o,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,o,s,u)}else t.drawImage(r,i,o,s,u)}}function w(t,e,n){var r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||l["a"],t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var i=void 0;if(t.setLineDash){var a=n.lineDash&&n.lineWidth>0&&Object(f["a"])(n.lineDash,n.lineWidth),o=n.lineDashOffset;if(a){var s=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;s&&1!==s&&(a=Object(h["map"])(a,(function(t){return t/s})),o/=s),t.setLineDash(a),t.lineDashOffset=o,i=!0}}n.strokeFirst?(v(n)&&t.strokeText(r,n.x,n.y),y(n)&&t.fillText(r,n.x,n.y)):(y(n)&&t.fillText(r,n.x,n.y),v(n)&&t.strokeText(r,n.x,n.y)),i&&t.setLineDash([])}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],j=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function T(t,e,n,i,a){var o=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){o||(B(t,a),o=!0);var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?r["b"].opacity:s}(i||e.blend!==n.blend)&&(o||(B(t,a),o=!0),t.globalCompositeOperation=e.blend||r["b"].blend);for(var u=0;u-o&&to||t<-o}function g(t,e,n,r,i){var a=1-i;return a*a*(a*t+3*i*e)+i*i*(i*r+3*a*n)}function v(t,e,n,r,i){var a=1-i;return 3*(((e-t)*a+2*(n-e)*i)*a+(r-n)*i*i)}function y(t,e,n,r,o,s){var l=r+3*(e-n)-t,h=3*(n-2*e+t),f=3*(e-t),p=t-o,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=a(_),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 T=(2*g*h-3*l*v)/(2*a(g*g*g)),M=Math.acos(T)/3,k=a(g),C=Math.cos(M),I=(b=(-h-2*k*C)/(3*l),O=(-h+k*(C+u*Math.sin(M)))/(3*l),(-h+k*(C-u*Math.sin(M)))/(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 o=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(o)){var l=-u/o;l>=0&&l<=1&&(i[c++]=l)}}else{var h=o*o-4*s*u;if(d(h))i[0]=-o/(2*s);else if(h>0){var f=a(h),g=(l=(-o+f)/(2*s),(-o-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,a){var o=(e-t)*i+t,s=(n-e)*i+e,u=(r-n)*i+n,c=(s-o)*i+o,l=(u-s)*i+s,h=(l-c)*i+c;a[0]=t,a[1]=o,a[2]=c,a[3]=h,a[4]=h,a[5]=l,a[6]=u,a[7]=r}function _(t,e,n,i,o,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,o,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*o*u;if(d(h)){l=-s/(2*o);l>=0&&l<=1&&(i[c++]=l)}else if(h>0){var f=a(h),g=(l=(-s+f)/(2*o),(-s-f)/(2*o));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 T(t,e,n,r,i){var a=(e-t)*r+t,o=(n-e)*r+e,s=(o-a)*r+a;i[0]=t,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=n}function M(t,e,n,i,o,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,o,m),h[1]=O(e,i,u,m);var b=Object(r["distSquare"])(l,h);b=0&&b0?"top":"bottom",r="center"):Object(h["k"])(a-v)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=a>0&&a0?"right":"left":n>0?"left":"right"),{rotation:a,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}(),m={axisLine:function(t,e,n,i){var o=e.get(["axisLine","show"]);if("auto"===o&&t.handleAutoShown&&(o=t.handleAutoShown("axisLine")),o){var s=e.axis.getExtent(),u=i.transform,c=[s[0],0],l=[s[1],0];u&&(Object(p["applyTransform"])(c,c,u),Object(p["applyTransform"])(l,l,u));var h=Object(r["extend"])({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new a["a"]({subPixelOptimize:!0,shape:{x1:c[0],y1:c[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});d.anid="line",n.add(d);var g=e.get(["axisLine","symbol"]),v=e.get(["axisLine","symbolSize"]),y=e.get(["axisLine","symbolOffset"])||0;if("number"===typeof y&&(y=[y,y]),null!=g){"string"===typeof g&&(g=[g,g]),"string"!==typeof v&&"number"!==typeof v||(v=[v,v]);var m=v[0],b=v[1];Object(r["each"])([{rotate:t.rotation+Math.PI/2,offset:y[0],r:0},{rotate:t.rotation-Math.PI/2,offset:y[1],r:Math.sqrt((c[0]-l[0])*(c[0]-l[0])+(c[1]-l[1])*(c[1]-l[1]))}],(function(e,r){if("none"!==g[r]&&null!=g[r]){var i=Object(f["a"])(g[r],-m/2,-b/2,m,b,h.stroke,!0),a=e.r+e.offset;i.attr({rotation:e.rotate,x:c[0]+a*Math.cos(t.rotation),y:c[1]-a*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,r){var i=j(n,r,e,t),a=M(n,r,e,t);_(e,a,i),T(n,r,e,t.tickDirection)},axisName:function(t,e,n,i){var a=Object(r["retrieve"])(t.axisName,e.get("name"));if(a){var l,h,f=e.get("nameLocation"),d=t.nameDirection,p=e.getModel("nameTextStyle"),g=e.get("nameGap")||0,m=e.axis.getExtent(),_=m[0]>m[1]?-1:1,x=["start"===f?m[0]-_*g:"end"===f?m[1]+_*g:(m[0]+m[1])/2,w(f)?t.labelOffset+d*g:0],O=e.get("nameRotate");null!=O&&(O=O*v/180),w(f)?l=y.innerTextLayout(t.rotation,null!=O?O:t.rotation,d):(l=b(t.rotation,f,O||0,m),h=t.axisNameAvailableWidth,null!=h&&(h=Math.abs(h/Math.sin(l.rotation)),!isFinite(h)&&(h=null)));var S=p.getFont(),j=e.get("nameTruncate",!0)||{},T=j.ellipsis,M=Object(r["retrieve"])(t.nameTruncateMaxWidth,j.maxWidth,h),k=new o["a"]({x:x[0],y:x[1],rotation:l.rotation,silent:y.isLabelSilent(e),style:Object(c["c"])(p,{text:a,font:S,overflow:"truncate",width:M,ellipsis:T,fill:p.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:p.get("align")||l.textAlign,verticalAlign:p.get("verticalAlign")||l.textVerticalAlign}),z2:1});if(s["setTooltipConfig"]({el:k,componentModel:e,itemName:a}),k.__fullText=a,k.anid="name",e.get("triggerEvent")){var C=y.makeAxisEventDataBase(e);C.targetType="axisName",C.name=a,Object(u["a"])(k).eventData=C}i.add(k),k.updateTransform(),n.add(k),k.decomposeTransform()}}};function b(t,e,n,r){var i,a,o=Object(h["u"])(n-t),s=r[0]>r[1],u="start"===e&&!s||"start"!==e&&s;return Object(h["k"])(o-v/2)?(a=u?"bottom":"top",i="center"):Object(h["k"])(o-1.5*v)?(a=u?"top":"bottom",i="center"):(a="middle",i=o<1.5*v&&o>v/2?u?"left":"right":u?"right":"left"),{rotation:o,textAlign:i,textVerticalAlign:a}}function _(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 a=e[0],o=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?(x(a),x(c)):O(a,o)&&(r?(x(o),x(l)):(x(a),x(c))),!1===i?(x(s),x(h)):O(u,s)&&(i?(x(u),x(f)):(x(s),x(h)))}}function x(t){t&&(t.ignore=!0)}function O(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 w(t){return"middle"===t||"center"===t}function S(t,e,n,r,i){for(var o=[],s=[],u=[],c=0;cn-2?n-1:l+1],g=t[l>n-3?n-1:l+2]);var v=h*h,y=h*v;a.push([i(f[0],d[0],p[0],g[0],h,v,y),i(f[1],d[1],p[1],g[1],h,v,y)])}return a}function o(t,e,n,i){var a,o,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&&"spline"!==r){var s=o(i,r,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var u=i.length,c=0;c<(n?u:u-1);c++){var l=s[2*c],h=s[2*c+1],f=i[(c+1)%u];t.bezierCurveTo(l[0],l[1],h[0],h[1],f[0],f[1])}}else{"spline"===r&&(i=a(i,n)),t.moveTo(i[0][0],i[0][1]);c=1;for(var d=i.length;c1||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(a["e"])(d,h,p[0]),n=_.type}else c=e=y?v[0]:v;var x=Object(o["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,o,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 o.length?Object(r["each"])(o,(function(t){d(Object(a["e"])(u,n,t),t)})):Object(r["each"])(t,d),{inlineValues:l,inlineValueTypes:h,blocks:f}}},f9da: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("cdbd"),i=n("306e"),a=".",o="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function u(t){var e={main:"",sub:""};if(t){var n=t.split(a);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=this;function n(){for(var a=[],o=0;o=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),a=r>0?-1:r<0?1:n>0?-1:1;return 3*i*a}function d(t,e,n,r){a?t.addEventListener(e,n,r):t.attachEvent("on"+e,n)}function p(t,e,n,r){a?t.removeEventListener(e,n,r):t.detachEvent("on"+e,n)}var g=a?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function v(t){return 2===t.which||3===t.which}},ff42c:function(t,e,n){"use strict";var r=n("cdbd"),i=n("306e"),a=n("13d8"),o=n("d940"),s=n("9ba3"),u=n("80eb"),c=n("fa74"),l=n("5892"),h=n("2d1d"),f=n("f9da"),d=n("b215"),p=n("f8da"),g=o["o"]();function v(t,e){return t.getName(e)||t.getId(e)}var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return Object(r["b"])(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Object(h["a"])({count:_,reset:x}),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);w(i,this),this.dataTask.context.data=i,g(this).dataBeforeProcessed=i,m(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Object(l["d"])(this),r=n?Object(l["f"])(t):{},a=this.subType;s["a"].hasClass(a)&&(a+="Series"),i["merge"](t,e.getTheme().get(this.subType)),i["merge"](t,this.getDefaultOption()),o["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 a=this.getInitialData(t,e);w(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,g(this).dataBeforeProcessed=a,m(this),this._initSelectedMapFromData(a)},e.prototype.fillDataTextStyle=function(t){if(t&&!i["isTypedArray"](t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},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)for(var r=this.getData(e),i=0;i=0&&n.push(a)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e),i=v(r,t);return n[i]||!1},e.prototype._innerSelect=function(t,e){var n,r,i=this.option.selectedMode,a=e.length;if(i&&a)if("multiple"===i)for(var o=this.option.selectedMap||(this.option.selectedMap={}),s=0;s0&&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.useColorPaletteOnData=!1,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(s["a"]);function m(t){var e=t.name;o["n"](t)||(t.name=b(t)||e)}function b(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 _(t){return t.model.getRawData().count()}function x(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),O}function O(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function w(t,e){i["each"](Object(r["c"])(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,i["curry"](S,e))}))}function S(t,e){var n=j(t);return n&&n.setOutputEnd((e||this).count()),e}function j(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"](y,c["a"]),i["mixin"](y,u["a"]),Object(f["e"])(y,s["a"]),e["a"]=y},ffaa: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("7399"),i=n("306e"),a=n("bbde"),o=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,n,r,i){if(!e)return"";var a=(t+"").split("\n");i=u(e,n,r,i);for(var o=0,s=a.length;o=u;l++)c-=u;var h=Object(a["g"])(n,e);return h>c&&(n="",h=0),c=t-h,o.ellipsis=n,o.ellipsisWidth=h,o.contentWidth=c,o.containerWidth=t,o}function c(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var o=Object(a["g"])(t,r);if(o<=n)return t;for(var s=0;;s++){if(o<=i||s>=e.maxIterations){t+=e.ellipsis;break}var u=0===s?l(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,u),o=Object(a["g"])(t,r)}return""===t&&(t=e.placeholder),t}function l(t,e,n,r){for(var i=0,a=0,o=t.length;av&&d){var y=Math.floor(v/f);n=n.slice(0,y)}var m=v,b=p;if(o&&(m+=o[0]+o[2],null!=b&&(b+=o[1]+o[3])),t&&l&&null!=b)for(var x=u(p,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),O=0;Od&&v(n,t.substring(d,g),e,f),v(n,u[2],e,f,u[1]),d=o.lastIndex}dl){k>0?(j.tokens=j.tokens.slice(0,k),w(j,M,T),n.lines=n.lines.slice(0,S+1)):n.lines=n.lines.slice(0,S);break t}var R=I.width,N=null==R||"auto"===R;if("string"===typeof R&&"%"===R.charAt(R.length-1))C.percentWidth=R,y.push(C),C.contentWidth=Object(a["g"])(C.text,P);else{if(N){var B=I.backgroundColor,E=B&&B.image;E&&(E=r["b"](E),r["c"](E)&&(C.width=Math.max(C.width,E.width*L/E.height)))}var z=x&&null!=c?c-M:null;null!=z&&z0&&y+r.accumWidth>r.width&&(o=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,o=m.lines}}else o=e.split("\n");for(var b=0;b=33&&e<=255}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 o=[],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),o.push(u),s.push(h-l),c+=d,l+=p,u="",h=l):(c&&(u+=c,h+=l,c="",l=0),o.push(u),s.push(h),u=d,h=p)):g?(o.push(c),s.push(l),c=d,l=p):(o.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),o.push(u),s.push(h),u="",c="",l=0,h=0}return o.length||u||(u=t,c="",l=0),c&&(u+=c),u&&(o.push(u),s.push(h)),1===o.length&&(h+=i),{accumWidth:h,lines:o,linesWidths:s}}},fff5:function(t,e,n){"use strict";n.d(e,"a",(function(){return pt}));var r=n("821f"),i=n("2df3"),a=n("cdbd"),o=n("9ba3"),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(a["b"])(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(o["a"]),u=s,c=n("306e"),l=n("13d8"),h=n("2468"),f=n("fc74"),d=n("3792"),p=n("4614");function g(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function v(t){if(l["a"].domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n-1?(i+="top:50%",a+="translateY(-50%) rotate("+("left"===r?-225:-45)+"deg)"):(i+="left:50%",a+="translateX(-50%) rotate("+("top"===r?225:45)+"deg)");var o=e+" solid 1px;",s=["position:absolute;width:10px;height:10px;",i+";"+a+";","border-bottom:"+o,"border-right:"+o,"background-color:"+t+";","box-shadow:8px 8px 16px -3px #000;"];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?","+w+r:",left"+r+",top"+r),O+":"+i}function k(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 a=l["a"].transform3dSupported,o="translate"+(a?"3d":"")+"("+r+","+i+(a?",0":"")+")";return n?"top:0;left:0;"+w+":"+o+";":[["top",0],["left",0],[y,o]]}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"),a=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return i&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),Object(c["each"])(["decoration","align"],(function(n){var r=t.get(n);r&&e.push("text-"+n+":"+r)})),e.join(";")}function I(t,e,n){var r=[],i=t.get("transitionDuration"),a=t.get("backgroundColor"),o=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),f=t.get("shadowOffsetY"),d=t.getModel("textStyle"),g=Object(x["d"])(t,"html"),v=u+"px "+f+"px "+o+"px "+s;return r.push("box-shadow:"+v),e&&i&&r.push(M(i,n)),a&&(l["a"].canvasSupported?r.push("background-color:"+a):(r.push("background-color:#"+Object(h["toHex"])(a)),r.push("filter:alpha(opacity=70)"))),Object(c["each"])(["width","color","radius"],(function(e){var n="border-"+e,i=Object(p["k"])(n),a=t.get(i);null!=a&&r.push(n+":"+a+("color"===e?"":"px"))})),r.push(C(d)),null!=g&&r.push("padding:"+Object(p["j"])(g).join("px ")+"px"),r.join(";")+";"}function A(t,e,n,r,i){var a=e&&e.painter;if(n){var o=a&&a.getViewportRoot();o&&Object(d["c"])(t,o,document.body,r,i)}else{t[0]=r,t[1]=i;var s=a&&a.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._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(),a=this._appendToBody=n&&n.appendToBody;A(this._styleCoord,i,a,e.getWidth()/2,e.getHeight()/2),a?document.body.appendChild(r):t.appendChild(r),this._container=t;var o=this;r.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},r.onmousemove=function(t){if(t=t||window.event,!o._enterable){var e=i.handler,n=i.painter.getViewportRoot();Object(f["e"])(n,t,!0),e.dispatch("mousemove",t)}},r.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=_(e,"position"),r=e.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative");var i=t.get("alwaysShowContent");i&&this._moveIfResized(),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=S+I(t,!this._firstShow,this._longHide)+k(i[0],i[1],!0)+"border-color:"+Object(p["c"])(e)+";"+(t.get("extraCssText")||"")+";pointer-event:"+(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){if(null!=t){var a=this.el;if(Object(c["isString"])(i)&&"item"===n.get("trigger")&&!g(n)&&(t+=T(n.get("backgroundColor"),r,i)),Object(c["isString"])(t))a.innerHTML=t;else if(t){a.innerHTML="",Object(c["isArray"])(t)||(t=[t]);for(var o=0;o=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;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!l["a"].node){var i=st(r,n);this._ticket="";var a=r.dataByCoordSys,o=ft(r,e,n);if(o){var s=o.el.getBoundingRect().clone();s.applyTransform(o.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:o.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=it;u.x=r.x,u.y=r.y,u.update(),Object(J["a"])(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},i)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:a,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var c=Object(W["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._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(st(r,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,r){var i=r.seriesIndex,a=r.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=a&&null!=o){var s=e.getSeriesByIndex(i);if(s){var u=s.getData(),c=ot([u.getItemModel(a),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===c.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:a,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 a,o;this._lastDataByCoordSys=null,Object(tt["a"])(n,(function(t){return null!=Object(J["a"])(t).dataIndex?(a=t,!0):null!=Object(J["a"])(t).tooltipConfig?(o=t,!0):void 0}),!0),a?this._showSeriesItemTooltip(t,a,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=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],a=ot([e.tooltipOption],r),o=this._renderMode,s=[],u=Object(x["c"])("section",{blocks:[],noHeader:!0}),l=[],h=new x["a"];nt(t,(function(t){nt(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var i=q["e"](r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),a=Object(x["c"])("section",{header:i,noHeader:!c["trim"](i),sortBlocks:!0,blocks:[]});u.blocks.push(a),c["each"](t.seriesDataIndices,(function(u){var c=n.getSeriesByIndex(u.seriesIndex),f=u.dataIndexInside,d=c.getDataParams(f);d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=Y["c"](e.axis,{value:r}),d.axisValueLabel=i,d.marker=h.makeTooltipMarker("item",p["c"](d.color),o);var g=Object($["b"])(c.formatTooltip(f,!0,null));g.markupFragment&&a.blocks.push(g.markupFragment),g.markupText&&l.push(g.markupText),s.push(d)}))}}))})),u.blocks.reverse(),l.reverse();var f=e.position,d=a.get("order"),g=Object(x["b"])(u,h,o,d,n.get("useUTC"),a.get("textStyle"));g&&l.unshift(g);var v="richText"===o?"\n\n":"
",y=l.join(v);this._showOrMove(a,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(a,f,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(a,y,s,Math.random()+"",i[0],i[1],f,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var r=this._ecModel,i=Object(J["a"])(e),a=i.seriesIndex,o=r.getSeriesByIndex(a),s=i.dataModel||o,u=i.dataIndex,c=i.dataType,l=s.getData(c),h=this._renderMode,f=t.positionDefault,d=ot([l.getItemModel(u),s,o&&(o.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),g=d.get("trigger");if(null==g||"item"===g){var v=s.getDataParams(u,c),y=new x["a"];v.marker=y.makeTooltipMarker("item",p["c"](v.color),h);var m=Object($["b"])(s.formatTooltip(u,!1,c)),b=d.get("order"),_=m.markupFragment?Object(x["b"])(m.markupFragment,y,h,b,r.get("useUTC"),d.get("textStyle")):m.markupText,O="item_"+s.name+"_"+u;this._showOrMove(d,(function(){this._showTooltipContent(d,_,v,O,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:u,dataIndex:l.getRawIndex(u),seriesIndex:a,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var r=Object(J["a"])(e),i=r.tooltipConfig,a=i.option||{};if(c["isString"](a)){var o=a;a={content:o,formatter:o}}var s=[a],u=this._ecModel.getComponent(r.componentMainType,r.componentIndex);u&&s.push(u),s.push({formatter:a.content});var l=t.positionDefault,h=ot(s,this._tooltipModel,l?{position:l}:null),f=h.get("content"),d=Math.random()+"",p=new x["a"];this._showOrMove(h,(function(){var n=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,a,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var l=this._tooltipContent,h=t.get("formatter");o=o||t.get("position");var f=e,d=this._getNearestPoint([i,a],n,t.get("trigger"),t.get("borderColor")),g=d.color;if(h&&c["isString"](h)){var v=t.ecModel.get("useUTC"),y=c["isArray"](n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=h,m&&(f=Object(Q["h"])(y.axisValue,f,v)),f=p["f"](f,n,!0)}else if(c["isFunction"](h)){var b=et((function(e,r){e===this._ticket&&(l.setContent(r,u,t,g,o),this._updatePosition(t,o,i,a,l,n,s))}),this);this._ticket=r,f=h(n,r,b)}l.setContent(f,u,t,g,o),l.show(t,g),this._updatePosition(t,o,i,a,l,n,s)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||c["isArray"](e)?{color:r||("html"===this._renderMode?"#fff":"none")}:c["isArray"](e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,i,a,o){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=o&&o.getBoundingRect().clone();if(o&&d.applyTransform(o.transform),c["isFunction"](e)&&(e=e([n,r],a,i.el,d,{viewSize:[s,u],contentSize:l.slice()})),c["isArray"](e))n=rt(e[0],s),r=rt(e[1],u);else if(c["isObject"](e)){var p=e;p.width=l[0],p.height=l[1];var v=G["g"](p,{width:s,height:u});n=v.x,r=v.y,h=null,f=null}else if(c["isString"](e)&&o){var y=lt(e,d,l);n=y[0],r=y[1]}else{y=ut(n,r,i,s,u,h?null:20,f?null:20);n=y[0],r=y[1]}if(h&&(n-=ht(h)?l[0]/2:"right"===h?l[0]:0),f&&(r-=ht(f)?l[1]/2:"bottom"===f?l[1]:0),g(t)){y=ct(n,r,i,s,u);n=y[0],r=y[1]}i.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&nt(e,(function(e,r){var i=e.dataByAxis||[],a=t[r]||{},o=a.dataByAxis||[];n=n&&i.length===o.length,n&&nt(i,(function(t,e){var r=o[e]||{},i=t.seriesDataIndices||[],a=r.seriesDataIndices||[];n=n&&t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&i.length===a.length,n&&nt(i,(function(t,e){var r=a[e];n=n&&t.seriesIndex===r.seriesIndex&&t.dataIndex===r.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){l["a"].node||(this._tooltipContent.dispose(),X["b"]("itemTooltip",e))},e.type="tooltip",e}(K["a"]);function ot(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 a=t.length-1;a>=0;a--){var o=t[a];o&&(o instanceof U["a"]&&(o=o.get("tooltip",!0)),c["isString"](o)&&(o={formatter:o}),o&&(r=new U["a"](o,r,i)))}return r}function st(t,e){return t.dispatchAction||c["bind"](e.dispatchAction,e)}function ut(t,e,n,r,i,a,o){var s=n.getOuterSize(),u=s.width,c=s.height;return null!=a&&(t+u+a+2>r?t-=u+a:t+=a),null!=o&&(e+c+o>i?e-=c+o:e+=o),[t,e]}function ct(t,e,n,r,i){var a=n.getOuterSize(),o=a.width,s=a.height;return t=Math.min(t+o,r)-o,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function lt(t,e,n){var r=n[0],i=n[1],a=10,o=5,s=0,u=0,c=e.width,l=e.height;switch(t){case"inside":s=e.x+c/2-r/2,u=e.y+l/2-i/2;break;case"top":s=e.x+c/2-r/2,u=e.y-i-a;break;case"bottom":s=e.x+c/2-r/2,u=e.y+l+a;break;case"left":s=e.x-r-a-o,u=e.y+l/2-i/2;break;case"right":s=e.x+c+a+o,u=e.y+l/2-i/2}return[s,u]}function ht(t){return"center"===t||"middle"===t}function ft(t,e,n){var r=Object(Z["t"])(t).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var a=Object(Z["v"])(e,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s,u=n.getViewOfComponentModel(o);return u.group.traverse((function(e){var n=Object(J["a"])(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:i,componentIndex:o.componentIndex,el:s}:void 0}}}var dt=at;function pt(t){Object(i["a"])(r["a"]),t.registerComponentModel(u),t.registerComponentView(dt),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))}}}]); //# sourceMappingURL=chunk-2289b187.undefined.1670579847644.js.map