"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[5127],{18299:function(t,e,n){n.d(e,{ZT:function(){return r}});
/*! *****************************************************************************
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 i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create},4311:function(t,e,n){n.d(e,{ZT:function(){return r}});
/*! *****************************************************************************
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 i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create},51058:function(t,e,n){n.d(e,{D:function(){return u},KZ:function(){return l},XD:function(){return p},Zi:function(){return d},bX:function(){return c},eq:function(){return h}});var i=n(95797),r=n(38496),o=(0,r.Yf)();function a(t,e,n,r,o){var a;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();a=s&&s.animation}var u=e&&e.isAnimationEnabled(),l="update"===t;if(u){var h=void 0,c=void 0,f=void 0;r?(h=(0,i.pD)(r.duration,200),c=(0,i.pD)(r.easing,"cubicOut"),f=0):(h=e.getShallow(l?"animationDurationUpdate":"animationDuration"),c=e.getShallow(l?"animationEasingUpdate":"animationEasing"),f=e.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(f=a.delay)),(0,i.mf)(f)&&(f=f(n,o)),(0,i.mf)(h)&&(h=h(n));var p={duration:h||0,delay:f,easing:c};return p}return null}function s(t,e,n,r,o,s,u){var l,h=!1;(0,i.mf)(o)?(u=s,s=o,o=null):(0,i.Kn)(o)&&(s=o.cb,u=o.during,h=o.isFrom,l=o.removeOpt,o=o.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var f=a(t,r,o,c?l||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,o):null);if(f&&f.duration>0){var p=f.duration,d=f.delay,g=f.easing,v={duration:p,delay:d||0,easing:g,done:s,force:!!s||!!u,setToFinal:!c,scope:t,during:u};h?e.animateFrom(n,v):e.animateTo(n,v)}else e.stopAnimation(),!h&&e.attr(n),u&&u(1),s&&s()}function u(t,e,n,i,r,o){s("update",t,e,n,i,r,o)}function l(t,e,n,i,r,o){s("enter",t,e,n,i,r,o)}function h(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if("leave"===n.scope)return!0}return!1}function c(t,e,n,i,r,o){h(t)||s("leave",t,e,n,i,r,o)}function f(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),c(t,{style:{opacity:0}},e,n,i)}function p(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||f(t,e,n,i)})):f(t,e,n,i)}function d(t){o(t).oldStyle=t.style}},73592:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(38496);function r(){var t=(0,i.Yf)();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}},89480:function(t,e,n){n.d(e,{T:function(){return o}});var i=n(95797),r=n(66332);function o(t,e,n){var o=t.get("borderRadius");if(null==o)return n?{cornerRadius:0}:null;(0,i.kJ)(o)||(o=[o,o,o,o]);var a=Math.abs(e.r||0-e.r0||0);return{cornerRadius:(0,i.UI)(o,(function(t){return(0,r.GM)(t,a)}))}}},13337:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(95797),r=n(38496);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),u=r.gO(s,t);if(null==u||u<0||i.kJ(u))return{point:[]};var l=s.getItemGraphicEl(u),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(u)||[];else if(h&&h.dataToPoint)if(t.isStacked){var c=h.getBaseAxis(),f=h.getOtherAxis(c),p=f.dim,d=c.dim,g="x"===p||"radius"===p?1:0,v=s.mapDimension(d),y=[];y[g]=s.get(v,u),y[1-g]=s.get(s.getCalculationInfo("stackResultDimension"),u),o=h.dataToPoint(y)||[]}else o=h.dataToPoint(s.getValues(i.UI(h.dimensions,(function(t){return s.mapDimension(t)})),u))||[];else if(l){var m=l.getBoundingRect().clone();m.applyTransform(l.transform),o=[m.x+m.width/2,m.y+m.height/2]}return{point:o,el:l}}},72461:function(t,e,n){n.d(e,{E:function(){return d},z:function(){return u}});var i=n(95797),r=n(59979),o=n(38496),a=(0,o.Yf)(),s=i.S6;function u(t,e,n){if(!r.Z.node){var i=e.getZr();a(i).records||(a(i).records={}),l(i,e);var o=a(i).records[t]||(a(i).records[t]={});o.handler=n}}function l(t,e){function n(n,i){t.on(n,(function(n){var r=p(e);s(a(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),h(r.pendings,e)}))}a(t).initialized||(a(t).initialized=!0,n("click",i.WA(f,"click")),n("mousemove",i.WA(f,"mousemove")),n("globalout",c))}function h(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function c(t,e,n){t.handler("leave",null,n)}function f(t,e,n,i){e.handler(t,n,i)}function p(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function d(t,e){if(!r.Z.node){var n=e.getZr(),i=(a(n).records||{})[t];i&&(a(n).records[t]=null)}}},50838:function(t,e,n){n.d(e,{N:function(){return J}});var i=n(32616),r=n(18299),o=n(95797),a=n(3082),s=n(43092),u=n(49386),l=n(51058),h=n(30846),c=n(14834),f=n(54849),p=n(38496),d=(0,p.Yf)(),g=o.d9,v=o.ak,y=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var u=this._group,l=this._handle;if(!s||"hide"===s)return u&&u.hide(),void(l&&l.hide());u&&u.show(),l&&l.show();var h={};this.makeElOption(h,r,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(t,e);if(u){var p=o.WA(m,e,f);this.updatePointerEl(u,h,p),this.updateLabelEl(u,h,p,e)}else u=this._group=new a.Z,this.createPointerEl(u,h,t,e),this.createLabelEl(u,h,t,e),n.getZr().add(u);S(u,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=h.r(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=d(t).pointerEl=new s[r.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=d(t).labelEl=new u.ZP(g(e.label));t.add(r),x(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=d(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=d(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),x(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),u=n.get("status");if(!a.get("show")||!u||"hide"===u)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){c.sT(t.event)},onmousedown:v(this._onHandleDragMove,this,0,0),drift:v(this._onHandleDragMove,this),ondragend:v(this._onHandleDragEnd,this)}),i.add(r)),S(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");o.kJ(l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,f.T9(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,w(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(w(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(w(i)),d(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,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),f.ZH(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function m(t,e,n,i){_(d(n).lastProp,i)||(d(n).lastProp=i,e?l.D(n,i,t):(n.stopAnimation(),n.attr(i)))}function _(t,e){if(o.Kn(t)&&o.Kn(e)){var n=!0;return o.S6(e,(function(e,i){n=n&&_(t[i],e)})),!!n}return t===e}function x(t,e){t[e.get(["label","show"])?"show":"hide"]()}function w(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function S(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var b=y,T=n(56964),M=n(40705),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),u=D(a,o).getOtherAxis(o).getGlobalExtent(),l=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=T.fk(i),c=C[s](o,l,u);c.style=h,t.graphicKey=c.type,t.pointer=c}var f=M.bK(a.model,n);T.gf(e,t,f,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=M.bK(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=T.Zh(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=D(o,r).getOtherAxis(r).getGlobalExtent(),u="x"===r.dim?0:1,l=[t.x,t.y];l[u]+=e[u],l[u]=Math.min(a[1],l[u]),l[u]=Math.max(a[0],l[u]);var h=(s[1]+s[0])/2,c=[h,h];c[u]=l[u];var f=[{verticalAlign:"middle"},{align:"center"}];return{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:f[u]}},e}(b);function D(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var C={line:function(t,e,n){var i=T.BL([e,n[0]],[e,n[1]],I(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:T.uE([e-i/2,n[0]],[i,r],I(t))}}};function I(t){return"x"===t.dim?0:1}var P=k,A=n(13350),O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#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}(A.Z),L=O,R=n(72461),Z=n(59160),z=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";R.z("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){R.E("axisPointer",e)},e.prototype.dispose=function(t,e){R.E("axisPointer",e)},e.type="axisPointer",e}(Z.Z),B=z,N=n(13337),E=(0,p.Yf)();function F(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,s=t.dispatchAction||(0,o.ak)(n.dispatchAction,n),u=e.getComponent("axisPointer").coordSysAxesInfo;if(u){j(r)&&(r=(0,N.Z)({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=j(r),h=a.axesInfo,c=u.axesInfo,f="leave"===i||j(r),p={},d={},g={list:[],map:{}},v={showPointer:(0,o.WA)(V,d),showTooltip:(0,o.WA)(U,g)};(0,o.S6)(u.coordSysMap,(function(t,e){var n=l||t.containPoint(r);(0,o.S6)(u.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=q(h,t);if(!f&&n&&(!h||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&W(t,a,v,!1,p)}}))}));var y={};return(0,o.S6)(c,(function(t,e){var n=t.linkGroup;n&&!d[e]&&(0,o.S6)(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,K(e),K(t)))),y[t.key]=o}}))})),(0,o.S6)(y,(function(t,e){W(c[e],t,v,!0,p)})),G(d,c,p),X(g,r,t,s),Y(c,s,n),p}}function W(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var s=H(e,t),u=s.payloadBatch,l=s.snapToValue;u[0]&&null==r.seriesIndex&&(0,o.l7)(r,u[0]),!i&&t.snap&&a.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,u),n.showTooltip(t,s,l)}else n.showPointer(t,e)}function H(t,e){var n=e.axis,i=n.dim,r=t,a=[],s=Number.MAX_VALUE,u=-1;return(0,o.S6)(e.seriesModels,(function(e,l){var h,c,f=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(f,t,n);c=p.dataIndices,h=p.nestestValue}else{if(c=e.getData().indicesOfNearest(f[0],t,"category"===n.type?.5:null),!c.length)return;h=e.getData().get(f[0],c[0])}if(null!=h&&isFinite(h)){var d=t-h,g=Math.abs(d);g<=s&&((g<s||d>=0&&u<0)&&(s=g,u=d,r=h,a.length=0),(0,o.S6)(c,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}function V(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function U(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var u=e.coordSys.model,l=h.zm(u),c=t.map[l];c||(c=t.map[l]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function G(t,e,n){var i=n.axesInfo=[];(0,o.S6)(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function X(t,e,n,i){if(!j(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function Y(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",a=E(i)[r]||{},s=E(i)[r]={};(0,o.S6)(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.S6)(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var u=[],l=[];(0,o.S6)(a,(function(t,e){!s[e]&&l.push(t)})),(0,o.S6)(s,(function(t,e){!a[e]&&u.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:u})}function q(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function K(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function j(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function J(t){i.Z.registerAxisPointerClass("CartesianAxisPointer",P),t.registerComponentModel(L),t.registerComponentView(B),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.kJ)(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,h.KM)(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},F)}},30846:function(t,e,n){n.d(e,{KM:function(){return o},iG:function(){return c},np:function(){return p},r:function(){return f},zm:function(){return g}});var i=n(85632),r=n(95797);function o(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return a(n,t,e),n.seriesInvolved&&u(n,t),n}function a(t,e,n){var i=e.getComponent("tooltip"),o=e.getComponent("axisPointer"),a=o.get("link",!0)||[],u=[];(0,r.S6)(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var h=g(n.model),c=t.coordSysAxesInfo[h]={};t.coordSysMap[h]=n;var f=n.model,p=f.getModel("tooltip",i);if((0,r.S6)(n.getAxes(),(0,r.WA)(_,!1,null)),n.getTooltipAxes&&i&&p.get("show")){var v="axis"===p.get("trigger"),y="cross"===p.get(["axisPointer","type"]),m=n.getTooltipAxes(p.get(["axisPointer","axis"]));(v||y)&&(0,r.S6)(m.baseAxes,(0,r.WA)(_,!y||"cross",v)),y&&(0,r.S6)(m.otherAxes,(0,r.WA)(_,"cross",!1))}}function _(i,r,h){var f=h.model.getModel("axisPointer",o),v=f.get("show");if(v&&("auto"!==v||i||d(f))){null==r&&(r=f.get("triggerTooltip")),f=i?s(h,p,o,e,i,r):f;var y=f.get("snap"),m=f.get("triggerEmphasis"),_=g(h.model),x=r||y||"category"===h.type,w=t.axesInfo[_]={key:_,axis:h,coordSys:n,axisPointerModel:f,triggerTooltip:r,triggerEmphasis:m,involveSeries:x,snap:y,useHandle:d(f),seriesModels:[],linkGroup:null};c[_]=w,t.seriesInvolved=t.seriesInvolved||x;var S=l(a,h);if(null!=S){var b=u[S]||(u[S]={axesInfo:{}});b.axesInfo[_]=w,b.mapper=a[S].mapper,w.linkGroup=b}}}}))}function s(t,e,n,o,a,s){var u=e.getModel("axisPointer"),l=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],h={};(0,r.S6)(l,(function(t){h[t]=(0,r.d9)(u.get(t))})),h.snap="category"!==t.type&&!!s,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===a){var f=u.get(["label","show"]);if(c.show=null==f||f,!s){var p=h.lineStyle=u.get("crossStyle");p&&(0,r.ce)(c,p.textStyle)}}return t.model.getModel("axisPointer",new i.Z(h,n,o))}function u(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),o=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==o&&!1!==e.get(["axisPointer","show"],!0)&&(0,r.S6)(t.coordSysAxesInfo[g(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}function l(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(h(o[i+"AxisId"],n.id)||h(o[i+"AxisIndex"],n.componentIndex)||h(o[i+"AxisName"],n.name))return r}}function h(t,e){return"all"===t||(0,r.kJ)(t)&&(0,r.cq)(t,e)>=0||t===e}function c(t){var e=f(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=d(n);null==o&&(r.status=s?"show":"hide");var u=i.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function f(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[g(t)]}function p(t){var e=f(t);return e&&e.axisPointerModel}function d(t){return!!t.get(["handle","show"])}function g(t){return t.type+"||"+t.id}},56964:function(t,e,n){n.d(e,{BL:function(){return y},Zh:function(){return g},fk:function(){return c},gf:function(){return v},gk:function(){return d},uE:function(){return m}});var i=n(95797),r=n(43092),o=n(66332),a=n(41054),s=n(66012),u=n(40636),l=n(57180),h=n(19552);function c(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function f(t,e,n,i,r){var s=n.get("value"),u=d(s,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),l=n.getModel("label"),c=a.MY(l.get("padding")||0),f=l.getFont(),g=o.lP(u,f),v=r.position,y=g.width+c[1]+c[3],m=g.height+c[0]+c[2],_=r.align;"right"===_&&(v[0]-=y),"center"===_&&(v[0]-=y/2);var x=r.verticalAlign;"bottom"===x&&(v[1]-=m),"middle"===x&&(v[1]-=m/2),p(v,y,m,i);var w=l.get("backgroundColor");w&&"auto"!==w||(w=e.get(["axisLine","lineStyle","color"])),t.label={x:v[0],y:v[1],style:(0,h.Lr)(l,{text:u,font:f,fill:l.getTextColor(),padding:c,backgroundColor:w}),z2:10}}function p(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function d(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var l={value:u.DX(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.S6(r,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&l.seriesData.push(r)})),i.HD(s)?a=s.replace("{value}",a):i.mf(s)&&(a=s(l))}return a}function g(t,e,n){var i=s.Ue();return s.U1(i,i,n.rotation),s.Iu(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function v(t,e,n,i,r,o){var a=l.Z.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),f(e,i,r,o,{position:g(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function y(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function m(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}},57180:function(t,e,n){var i=n(95797),r=n(3082),o=n(22940),a=n(43092),s=n(49386),u=n(75195),l=n(19552),h=n(85632),c=n(41201),f=n(86741),p=n(66012),d=n(15468),g=n(40636),v=n(96695),y=Math.PI,m=function(){function t(t,e){this.group=new r.Z,this.opt=e,this.axisModel=t,(0,i.ce)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new r.Z({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!_[t]},t.prototype.add=function(t){_[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=(0,c.wW)(e-t);return(0,c.mW)(o)?(r=n>0?"top":"bottom",i="center"):(0,c.mW)(o-y)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<y?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,n,r){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var u=e.axis.getExtent(),l=r.transform,h=[u[0],0],c=[u[1],0],p=h[0]>c[0];l&&((0,d.Ne)(h,h,l),(0,d.Ne)(c,c,l));var g=(0,i.l7)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),v=new o.Z({shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(v.shape,v.style.lineWidth),v.anid="line",n.add(v);var y=e.get(["axisLine","symbol"]);if(null!=y){var m=e.get(["axisLine","symbolSize"]);(0,i.HD)(y)&&(y=[y,y]),((0,i.HD)(m)||(0,i.hj)(m))&&(m=[m,m]);var _=(0,f.Cq)(e.get(["axisLine","symbolOffset"])||0,m),x=m[0],w=m[1];(0,i.S6)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((h[0]-c[0])*(h[0]-c[0])+(h[1]-c[1])*(h[1]-c[1]))}],(function(e,i){if("none"!==y[i]&&null!=y[i]){var r=(0,f.th)(y[i],-x/2,-w/2,x,w,g.stroke,!0),o=e.r+e.offset,a=p?c:h;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,r){var o=k(n,r,e,t),a=C(n,r,e,t);if(w(e,a,o),D(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var s=(0,v.VT)((0,i.UI)(a,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));(0,v.yl)(s)}},axisName:function(t,e,n,r){var o=(0,i.Jv)(t.axisName,e.get("name"));if(o){var h,c,f=e.get("nameLocation"),p=t.nameDirection,d=e.getModel("nameTextStyle"),g=e.get("nameGap")||0,v=e.axis.getExtent(),_=v[0]>v[1]?-1:1,w=["start"===f?v[0]-_*g:"end"===f?v[1]+_*g:(v[0]+v[1])/2,T(f)?t.labelOffset+p*g:0],S=e.get("nameRotate");null!=S&&(S=S*y/180),T(f)?h=m.innerTextLayout(t.rotation,null!=S?S:t.rotation,p):(h=x(t.rotation,f,S||0,v),c=t.axisNameAvailableWidth,null!=c&&(c=Math.abs(c/Math.sin(h.rotation)),!isFinite(c)&&(c=null)));var b=d.getFont(),M=e.get("nameTruncate",!0)||{},k=M.ellipsis,D=(0,i.Jv)(t.nameTruncateMaxWidth,M.maxWidth,c),C=new s.ZP({x:w[0],y:w[1],rotation:h.rotation,silent:m.isLabelSilent(e),style:(0,l.Lr)(d,{text:o,font:b,overflow:"truncate",width:D,ellipsis:k,fill:d.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:d.get("align")||h.textAlign,verticalAlign:d.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:C,componentModel:e,itemName:o}),C.__fullText=o,C.anid="name",e.get("triggerEvent")){var I=m.makeAxisEventDataBase(e);I.targetType="axisName",I.name=o,(0,u.A)(C).eventData=I}r.add(C),C.updateTransform(),n.add(C),C.decomposeTransform()}}};function x(t,e,n,i){var r,o,a=(0,c.wW)(n-t),s=i[0]>i[1],u="start"===e&&!s||"start"!==e&&s;return(0,c.mW)(a-y/2)?(o=u?"bottom":"top",r="center"):(0,c.mW)(a-1.5*y)?(o=u?"top":"bottom",r="center"):(o="middle",r=a<1.5*y&&a>y/2?u?"left":"right":u?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}function w(t,e,n){if(!(0,g.WY)(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],u=e[e.length-2],l=n[0],h=n[1],c=n[n.length-1],f=n[n.length-2];!1===i?(S(o),S(l)):b(o,a)&&(i?(S(a),S(h)):(S(o),S(l))),!1===r?(S(s),S(c)):b(u,s)&&(r?(S(u),S(f)):(S(s),S(c)))}}function S(t){t&&(t.ignore=!0)}function b(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=p.yR([]);return p.U1(r,r,-t.rotation),n.applyTransform(p.dC([],r,t.getLocalTransform())),i.applyTransform(p.dC([],r,e.getLocalTransform())),n.intersect(i)}}function T(t){return"middle"===t||"center"===t}function M(t,e,n,i,r){for(var s=[],u=[],l=[],h=0;h<t.length;h++){var c=t[h].coord;u[0]=c,u[1]=0,l[0]=c,l[1]=n,e&&((0,d.Ne)(u,u,e),(0,d.Ne)(l,l,e));var f=new o.Z({shape:{x1:u[0],y1:u[1],x2:l[0],y2:l[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(f.shape,f.style.lineWidth),f.anid=r+"_"+t[h].tickValue,s.push(f)}return s}function k(t,e,n,r){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick")),s&&!o.scale.isBlank()){for(var u=a.getModel("lineStyle"),l=r.tickDirection*a.get("length"),h=o.getTicksCoords(),c=M(h,e.transform,l,(0,i.ce)(u.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)t.add(c[f]);return c}}function D(t,e,n,r){var o=n.axis,a=n.getModel("minorTick");if(a.get("show")&&!o.scale.isBlank()){var s=o.getMinorTicksCoords();if(s.length)for(var u=a.getModel("lineStyle"),l=r*a.get("length"),h=(0,i.ce)(u.getLineStyle(),(0,i.ce)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<s.length;c++)for(var f=M(s[c],e.transform,l,h,"minorticks_"+c),p=0;p<f.length;p++)t.add(f[p])}}function C(t,e,n,r){var o=n.axis,a=(0,i.Jv)(r.axisLabelShow,n.get(["axisLabel","show"]));if(a&&!o.scale.isBlank()){var c=n.getModel("axisLabel"),f=c.get("margin"),p=o.getViewLabels(),d=((0,i.Jv)(r.labelRotate,c.get("rotate"))||0)*y/180,g=m.innerTextLayout(r.rotation,d,r.labelDirection),v=n.getCategories&&n.getCategories(!0),_=[],x=m.isLabelSilent(n),w=n.get("triggerEvent");return(0,i.S6)(p,(function(a,d){var y="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(a.tickValue):a.tickValue,S=a.formattedLabel,b=a.rawLabel,T=c;if(v&&v[y]){var M=v[y];(0,i.Kn)(M)&&M.textStyle&&(T=new h.Z(M.textStyle,c,n.ecModel))}var k=T.getTextColor()||n.get(["axisLine","lineStyle","color"]),D=o.dataToCoord(y),C=T.getShallow("align",!0)||g.textAlign,I=(0,i.pD)(T.getShallow("alignMinLabel",!0),C),P=(0,i.pD)(T.getShallow("alignMaxLabel",!0),C),A=T.getShallow("verticalAlign",!0)||T.getShallow("baseline",!0)||g.textVerticalAlign,O=(0,i.pD)(T.getShallow("verticalAlignMinLabel",!0),A),L=(0,i.pD)(T.getShallow("verticalAlignMaxLabel",!0),A),R=new s.ZP({x:D,y:r.labelOffset+r.labelDirection*f,rotation:g.rotation,silent:x,z2:10+(a.level||0),style:(0,l.Lr)(T,{text:S,align:0===d?I:d===p.length-1?P:C,verticalAlign:0===d?O:d===p.length-1?L:A,fill:(0,i.mf)(k)?k("category"===o.type?b:"value"===o.type?y+"":y,d):k})});if(R.anid="label_"+y,w){var Z=m.makeAxisEventDataBase(n);Z.targetType="axisLabel",Z.value=b,Z.tickIndex=d,"category"===o.type&&(Z.dataIndex=y),(0,u.A)(R).eventData=Z}e.add(R),R.updateTransform(),_.push(R),t.add(R),R.decomposeTransform()})),_}}e["Z"]=m},32616:function(t,e,n){var i=n(18299),r=n(30846),o=n(59160),a={},s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.iG(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.np(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.Z);e["Z"]=s},84636:function(t,e,n){n.d(e,{N:function(){return $}});var i=n(35183),r=n(18299),o=n(95797),a=n(85632),s=n(38496),u=n(13350),l=function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0},h=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,r.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),o.kJ(e)&&o.S6(e,(function(t,i){o.HD(t)&&(t={type:t}),e[i]=o.TS(t,l(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider,u=a.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(u)),u.length?e=e.concat(u):r=!0}else r=!0;r&&(0,s.yu)(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=o.kW(),u=o.UI(i,(function(t){return(o.HD(t)||o.hj(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new a.Z(t,this,this.ecModel))}),this);this._data=o.hX(u,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected,n=this.get("selectedMode");if("single"===n){var i=this._data;o.S6(i,(function(t){e[t.get("name")]=!1}))}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&o.cq(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(u.Z),c=h,f=n(76171),p=n(3082),d=n(49386),g=n(96354),v=n(43092),y=n(10859),m=n(19552),_=n(41054);function x(t,e){var n=_.MY(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new g.Z({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1}),t}var w=n(16457),S=n(59160),b=n(86741),T=n(4258),M=n(75195),k=o.WA,D=o.S6,C=p.Z,I=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return(0,r.ZT)(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new C),this.group.add(this._selectorGroup=new C),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var s=t.get("selector",!0),u=t.get("selectorPosition",!0);!s||u&&"auto"!==u||(u="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,s,a,u);var l=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),f=w.ME(l,h,c),p=this.layoutInner(t,r,f,i,s,u),d=w.ME(o.ce({width:p.width,height:p.height},l),h,c);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=x(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,a,s){var u=this.getContentGroup(),l=o.kW(),h=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),D(e.getData(),(function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var p=new C;return p.newline=!0,void u.add(p)}var d=n.getSeriesByName(s)[0];if(!l.get(s)){if(d){var g=d.getData(),v=g.getVisual("legendLineStyle")||{},y=g.getVisual("legendIcon"),m=g.getVisual("style"),_=this._createItem(d,s,a,r,e,t,v,m,y,h,i);_.on("click",k(O,s,null,i,c)).on("mouseover",k(R,d.name,null,i,c)).on("mouseout",k(Z,d.name,null,i,c)),n.ssr&&_.eachChild((function(t){var e=(0,M.A)(t);e.seriesIndex=d.seriesIndex,e.dataIndex=a,e.ssrType="legend"})),l.set(s,!0)}else n.eachRawSeries((function(u){if(!l.get(s)&&u.legendVisualProvider){var p=u.legendVisualProvider;if(!p.containName(s))return;var d=p.indexOfName(s),g=p.getItemVisual(d,"style"),v=p.getItemVisual(d,"legendIcon"),y=(0,f.Qc)(g.fill);y&&0===y[3]&&(y[3]=.2,g=o.l7(o.l7({},g),{fill:(0,f.Pz)(y,"rgba")}));var m=this._createItem(u,s,a,r,e,t,{},g,v,h,i);m.on("click",k(O,null,s,i,c)).on("mouseover",k(R,null,s,i,c)).on("mouseout",k(Z,null,s,i,c)),n.ssr&&m.eachChild((function(t){var e=(0,M.A)(t);e.seriesIndex=u.seriesIndex,e.dataIndex=a,e.ssrType="legend"})),l.set(s,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,a,s)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();D(t,(function(t){var i=t.type,r=new d.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);(0,m.ni)(r,{normal:a,emphasis:s},{defaultText:t.title}),(0,y.vF)(r)}))},e.prototype._createItem=function(t,e,n,i,r,a,s,u,l,h,c){var f=t.visualDrawType,p=r.get("itemWidth"),_=r.get("itemHeight"),x=r.isSelected(e),w=i.get("symbolRotate"),S=i.get("symbolKeepAspect"),b=i.get("icon");l=b||l||"roundRect";var T=P(l,i,s,u,f,x,c),M=new C,k=i.getModel("textStyle");if(!o.mf(t.getLegendIcon)||b&&"inherit"!==b){var D="inherit"===b&&t.getData().getVisual("symbol")?"inherit"===w?t.getData().getVisual("symbolRotate"):w:0;M.add(A({itemWidth:p,itemHeight:_,icon:l,iconRotate:D,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:S}))}else M.add(t.getLegendIcon({itemWidth:p,itemHeight:_,icon:l,iconRotate:w,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:S}));var I="left"===a?p+5:-5,O=a,L=r.get("formatter"),R=e;o.HD(L)&&L?R=L.replace("{name}",null!=e?e:""):o.mf(L)&&(R=L(e));var Z=x?k.getTextColor():i.get("inactiveColor");M.add(new d.ZP({style:(0,m.Lr)(k,{text:R,x:I,y:_/2,fill:Z,align:O,verticalAlign:"middle"},{inheritColor:Z})}));var z=new g.Z({shape:M.getBoundingRect(),style:{fill:"transparent"}}),B=i.getModel("tooltip");return B.get("show")&&v.setTooltipConfig({el:z,componentModel:r,itemName:e,itemTooltipOption:B.option}),M.add(z),M.eachChild((function(t){t.silent=!0})),z.silent=!h,this.getContentGroup().add(M),(0,y.vF)(M),M.__legendDataIndex=n,M},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();w.BZ(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var u=a.getBoundingRect(),l=[-u.x,-u.y];if(s.markRedraw(),a.markRedraw(),r){w.BZ("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],f=t.get("selectorButtonGap",!0),p=t.getOrient().index,d=0===p?"width":"height",g=0===p?"height":"width",v=0===p?"y":"x";"end"===o?c[p]+=u[d]+f:l[p]+=h[d]+f,c[1-p]+=u[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=l[0],a.y=l[1];var y={x:0,y:0};return y[d]=u[d]+f+h[d],y[g]=Math.max(u[g],h[g]),y[v]=Math.min(0,h[v]+c[1-p]),y}return a.x=l[0],a.y=l[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(S.Z);function P(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),D(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var u=e.getModel("itemStyle"),l=u.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=u.getShallow("decal");l.decal=c&&"inherit"!==c?(0,T.I)(c,a):i.decal,"inherit"===l.fill&&(l.fill=i[r]),"inherit"===l.stroke&&(l.stroke=i[h]),"inherit"===l.opacity&&(l.opacity=("fill"===r?i:n).opacity),s(l,i);var f=e.getModel("lineStyle"),p=f.getLineStyle();if(s(p,n),"auto"===l.fill&&(l.fill=i.fill),"auto"===l.stroke&&(l.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var d=e.get("inactiveBorderWidth"),g=l[h];l.lineWidth="auto"===d?i.lineWidth>0&&g?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),p.stroke=f.get("inactiveColor"),p.lineWidth=f.get("inactiveWidth")}return{itemStyle:l,lineStyle:p}}function A(t){var e=t.icon||"roundRect",n=(0,b.th)(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function O(t,e,n,i){Z(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),R(t,e,n,i)}function L(t){var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;while(i<r&&!(e=n[i].states.emphasis))i++;return e&&e.hoverLayer}function R(t,e,n,i){L(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function Z(t,e,n,i){L(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var z=I;function B(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function N(t,e,n){var i,r={},a="toggleSelected"===t;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();(0,o.S6)(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function E(t){t.registerAction("legendToggleSelect","legendselectchanged",(0,o.WA)(N,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",(0,o.WA)(N,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",(0,o.WA)(N,"inverseSelect")),t.registerAction("legendSelect","legendselected",(0,o.WA)(N,"select")),t.registerAction("legendUnSelect","legendunselected",(0,o.WA)(N,"unSelect"))}function F(t){t.registerComponentModel(c),t.registerComponentView(z),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,B),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),E(t)}var W=n(40259),H=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=(0,w.tE)(e);t.prototype.init.call(this,e,n,i),V(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),V(this,this.option,e)},e.type="legend.scroll",e.defaultOption=(0,W.ZL)(c.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(c);function V(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,(0,w.dt)(e,n,{type:"box",ignoreSize:!!r})}var U=H,G=n(51058),X=p.Z,Y=["width","height"],q=["x","y"],K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,r.ZT)(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new X),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new X)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,s,u){var l=this;t.prototype.renderInner.call(this,e,n,i,r,a,s,u);var h=this._controllerGroup,c=n.get("pageIconSize",!0),f=o.kJ(c)?c:[c,c];g("pagePrev",0);var p=n.getModel("pageTextStyle");function g(t,e){var i=t+"DataIndex",a=v.createIcon(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:o.ak(l._pageGo,l,i,n,r)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});a.name=t,h.add(a)}h.add(new d.ZP({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),g("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var s=this.getSelectorGroup(),u=t.getOrient().index,l=Y[u],h=q[u],c=Y[1-u],f=q[1-u];r&&w.BZ("horizontal",s,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),d=s.getBoundingRect(),g=[-d.x,-d.y],v=o.d9(n);r&&(v[l]=n[l]-d[l]-p);var y=this._layoutContentAndController(t,i,v,u,l,c,f,h);if(r){if("end"===a)g[u]+=y[l]+p;else{var m=d[l]+p;g[u]-=m,y[h]-=m}y[l]+=d[l]+p,g[1-u]+=y[f]+y[c]/2-d[c]/2,y[c]=Math.max(y[c],d[c]),y[f]=Math.min(y[f],d[f]+g[1-u]),s.x=g[0],s.y=g[1],s.markRedraw()}return y},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,s,u){var l=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;w.BZ(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),w.BZ("horizontal",c,t.get("pageButtonItemGap",!0));var f=l.getBoundingRect(),p=c.getBoundingRect(),d=this._showController=f[r]>n[r],v=[-f.x,-f.y];e||(v[i]=l[u]);var y=[0,0],m=[-p.x,-p.y],_=o.pD(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var x=t.get("pageButtonPosition",!0);"end"===x?m[i]+=n[r]-p[r]:y[i]+=p[r]+_}m[1-i]+=f[a]/2-p[a]/2,l.setPosition(v),h.setPosition(y),c.setPosition(m);var S={x:0,y:0};if(S[r]=d?n[r]:f[r],S[a]=Math.max(f[a],p[a]),S[s]=Math.min(0,p[s]+m[1-i]),h.__rectSize=n[r],d){var b={x:0,y:0};b[r]=Math.max(n[r]-p[r]-_,0),b[a]=S[a],h.setClipPath(new g.Z({shape:b})),h.__rectSize=b[r]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var T=this._getPageInfo(t);return null!=T.pageIndex&&G.D(l,{x:T.contentPosition[0],y:T.contentPosition[1]},d?t:null),this._updatePageInfoView(t,T),S},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;o.S6(["pagePrev","pageNext"],(function(i){var r=i+"DataIndex",o=null!=e[r],a=n.childOfName(i);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,u=e.pageCount;i&&r&&i.setStyle("text",o.HD(r)?r.replace("{current}",null==s?"":s+"").replace("{total}",null==u?"":u+""):r({current:s,total:u}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=Y[r],a=q[r],s=this._findTargetItemIndex(e),u=n.children(),l=u[s],h=u.length,c=h?1:0,f={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!l)return f;var p=m(l);f.contentPosition[r]=-p.s;for(var d=s+1,g=p,v=p,y=null;d<=h;++d)y=m(u[d]),(!y&&v.e>g.s+i||y&&!_(y,g.s))&&(g=v.i>g.i?v:y,g&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=g.i),++f.pageCount)),v=y;for(d=s-1,g=p,v=p,y=null;d>=-1;--d)y=m(u[d]),y&&_(v,y.s)||!(g.i<v.i)||(v=g,null==f.pagePrevDataIndex&&(f.pagePrevDataIndex=g.i),++f.pageCount,++f.pageIndex),g=y;return f;function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n},e.type="legend.scroll",e}(z),j=K;function J(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function Q(t){(0,i.D)(F),t.registerComponentModel(U),t.registerComponentView(j),J(t)}function $(t){(0,i.D)(F),(0,i.D)(Q)}},78537:function(t,e,n){n.d(e,{N:function(){return ct}});var i=n(50838),r=n(35183),o=n(18299),a=n(13350),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={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}(a.Z),u=s,l=n(95797),h=n(59979),c=n(14834),f=n(99837),p=n(41054);function d(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function g(t){if(h.Z.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var v=g(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),y=g(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function m(t,e){if(!t)return e;e=(0,p.zW)(e,!0);var n=t.indexOf(e);return t=-1===n?e:"-"+t.slice(0,n)+"-"+e,t.toLowerCase()}function _(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var x=n(43803),w=m(y,"transition"),S=m(v,"transform"),b="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(h.Z.transform3dSupported?"will-change:transform;":"");function T(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top",t}function M(t,e,n){if(!(0,l.HD)(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=(0,p.Lz)(e);var o,a=T(n),s=Math.max(1.5*Math.round(r),6),u="",h=S+":";(0,l.cq)(["left","right"],a)>-1?(u+="top:50%",h+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var c=o*Math.PI/180,f=s+r,d=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),g=Math.round(100*((d-Math.SQRT2*r)/2+Math.SQRT2*r-(d-f)/2))/100;u+=";"+a+":-"+g+"px";var v=e+" solid "+r+"px;",y=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",u+";"+h+";","border-bottom:"+v,"border-right:"+v,"background-color:"+i+";"];return'<div style="'+y.join("")+'"></div>'}function k(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=h.Z.transformSupported?","+S+i:",left"+i+",top"+i),w+":"+r}function D(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!h.Z.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=h.Z.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+S+":"+a+";":[["top",0],["left",0],[v,a]]}function C(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+r),(0,l.S6)(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function I(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),h=t.get("shadowOffsetY"),c=t.getModel("textStyle"),f=(0,x.d_)(t,"html"),d=u+"px "+h+"px "+a+"px "+s;return i.push("box-shadow:"+d),e&&r&&i.push(k(r,n)),o&&i.push("background-color:"+o),(0,l.S6)(["width","color","radius"],(function(e){var n="border-"+e,r=(0,p.zW)(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(C(c)),null!=f&&i.push("padding:"+(0,p.MY)(f).join("px ")+"px"),i.join(";")+";"}function P(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,f.YB)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var A=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,h.Z.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,l.HD)(r)?document.querySelector(r):(0,l.Mh)(r)?r:(0,l.mf)(r)&&r(t.getDom()));P(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,c.OD)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=_(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=b+I(t,!this._firstShow,this._longHide)+D(r[0],r[1],!0)+"border-color:"+(0,p.Lz)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if((0,l.HD)(r)&&"item"===n.get("trigger")&&!d(n)&&(a=M(n,i,r)),(0,l.HD)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,l.kJ)(t)||(t=[t]);for(var s=0;s<t.length;s++)(0,l.Mh)(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(P(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=D(n[0],n[1]);(0,l.S6)(r,(function(t){i[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",h.Z.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,l.ak)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),O=A,L=n(49386),R=n(3313),Z=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),N(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;l.Kn(t)&&(0,R._y)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new L.ZP({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,x.d_)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),l.S6(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),l.S6(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=B(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;N(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=z(r.borderWidth||0),a=B(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(l.ak(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function z(t){return Math.max(0,t)}function B(t){var e=z(t.shadowBlur||0),n=z(t.shadowOffsetX||0),i=z(t.shadowOffsetY||0);return{left:z(e-n),right:z(e+n),top:z(e-i),bottom:z(e+i)}}function N(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var E=Z,F=n(41201),W=n(96354),H=n(13337),V=n(16457),U=n(85632),G=n(72461),X=n(40636),Y=n(56964),q=n(38496),K=n(59160),j=n(31360),J=n(75195),Q=n(4735),$=n(78834),tt=n(54849),et=new W.Z({shape:{x:-1,y:-1,width:2,height:2}}),nt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.prototype.init=function(t,e){if(!h.Z.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,q.U9)(n.get("renderMode"));this._tooltipContent="richText"===i?new E(e):new O(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!h.Z.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,tt.T9)(this,"_updatePosition",50,"fixRate"):(0,tt.ZH)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");G.z("itemTooltip",this._api,(0,l.ak)((function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!h.Z.node&&n.getDom()){var r=rt(i,n);this._ticket="";var o=i.dataByCoordSys,a=lt(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=et;u.x=i.x,u.y=i.y,u.update(),(0,J.A)(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=(0,H.Z)(i,e),c=l.point[0],f=l.point[1];null!=c&&null!=f&&this._tryShow({offsetX:c,offsetY:f,target:l.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(rt(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var u=s.getData(),l=it([u.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===l.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var o,a,s=(0,J.A)(n);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,(0,$.o)(n,(function(t){return null!=(0,J.A)(t).dataIndex?(o=t,!0):null!=(0,J.A)(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,l.ak)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=it([e.tooltipOption],i),a=this._renderMode,s=[],u=(0,x.TX)("section",{blocks:[],noHeader:!0}),h=[],c=new x.iv;(0,l.S6)(t,(function(t){(0,l.S6)(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=Y.gk(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),f=(0,x.TX)("section",{header:o,noHeader:!(0,l.fy)(o),sortBlocks:!0,blocks:[]});u.blocks.push(f),(0,l.S6)(t.seriesDataIndices,(function(u){var d=n.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,v=d.getDataParams(g);if(!(v.dataIndex<0)){v.axisDim=t.axisDim,v.axisIndex=t.axisIndex,v.axisType=t.axisType,v.axisId=t.axisId,v.axisValue=X.DX(e.axis,{value:r}),v.axisValueLabel=o,v.marker=c.makeTooltipMarker("item",(0,p.Lz)(v.color),a);var y=(0,Q.f)(d.formatTooltip(g,!0,null)),m=y.frag;if(m){var _=it([d],i).get("valueFormatter");f.blocks.push(_?(0,l.l7)({valueFormatter:_},m):m)}y.text&&h.push(y.text),s.push(v)}}))}}))})),u.blocks.reverse(),h.reverse();var f=e.position,d=o.get("order"),g=(0,x.BY)(u,c,a,d,n.get("useUTC"),o.get("textStyle"));g&&h.unshift(g);var v="richText"===a?"\n\n":"<br/>",y=h.join(v);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,f,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,y,s,Math.random()+"",r[0],r[1],f,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,J.A)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,u=r.dataIndex,h=r.dataType,c=s.getData(h),f=this._renderMode,d=t.positionDefault,g=it([c.getItemModel(u),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),v=g.get("trigger");if(null==v||"item"===v){var y=s.getDataParams(u,h),m=new x.iv;y.marker=m.makeTooltipMarker("item",(0,p.Lz)(y.color),f);var _=(0,Q.f)(s.formatTooltip(u,!1,h)),w=g.get("order"),S=g.get("valueFormatter"),b=_.frag,T=b?(0,x.BY)(S?(0,l.l7)({valueFormatter:S},b):b,m,f,w,i.get("useUTC"),g.get("textStyle")):_.text,M="item_"+s.name+"_"+u;this._showOrMove(g,(function(){this._showTooltipContent(g,T,y,M,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,J.A)(e),o=r.tooltipConfig,a=o.option||{},s=a.encodeHTMLContent;if((0,l.HD)(a)){var u=a;a={content:u,formatter:u},s=!0}s&&i&&a.content&&(a=(0,l.d9)(a),a.content=(0,f.F1)(a.content));var h=[a],c=this._ecModel.getComponent(r.componentMainType,r.componentIndex);c&&h.push(c),h.push({formatter:a.content});var p=t.positionDefault,d=it(h,this._tooltipModel,p?{position:p}:null),g=d.get("content"),v=Math.random()+"",y=new x.iv;this._showOrMove(d,(function(){var n=(0,l.d9)(d.get("formatterParams")||{});this._showTooltipContent(d,g,n,v,t.offsetX,t.offsetY,t.position,e,y)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var f=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")),g=d.color;if(c)if((0,l.HD)(c)){var v=t.ecModel.get("useUTC"),y=(0,l.kJ)(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=c,m&&(f=(0,j.WU)(y.axisValue,f,v)),f=(0,p.kF)(f,n,!0)}else if((0,l.mf)(c)){var _=(0,l.ak)((function(e,i){e===this._ticket&&(h.setContent(i,u,t,g,a),this._updatePosition(t,a,r,o,h,n,s))}),this);this._ticket=i,f=c(n,i,_)}else f=c;h.setContent(f,u,t,g,a),h.show(t,g),this._updatePosition(t,a,r,o,h,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,l.kJ)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,l.kJ)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),f=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),(0,l.mf)(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,u],contentSize:h.slice()})),(0,l.kJ)(e))n=(0,F.GM)(e[0],s),i=(0,F.GM)(e[1],u);else if((0,l.Kn)(e)){var g=e;g.width=h[0],g.height=h[1];var v=(0,V.ME)(g,{width:s,height:u});n=v.x,i=v.y,c=null,f=null}else if((0,l.HD)(e)&&a){var y=st(e,p,h,t.get("borderWidth"));n=y[0],i=y[1]}else{y=ot(n,i,r,s,u,c?null:20,f?null:20);n=y[0],i=y[1]}if(c&&(n-=ut(c)?h[0]/2:"right"===c?h[0]:0),f&&(i-=ut(f)?h[1]/2:"bottom"===f?h[1]:0),d(t)){y=at(n,i,r,s,u);n=y[0],i=y[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&(0,l.S6)(n,(function(n,o){var a=n.dataByAxis||[],s=t[o]||{},u=s.dataByAxis||[];r=r&&a.length===u.length,r&&(0,l.S6)(a,(function(t,n){var o=u[n]||{},a=t.seriesDataIndices||[],s=o.seriesDataIndices||[];r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===s.length,r&&(0,l.S6)(a,(function(t,e){var n=s[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&(0,l.S6)(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!h.Z.node&&e.getDom()&&((0,tt.ZH)(this,"_updatePosition"),this._tooltipContent.dispose(),G.E("itemTooltip",e))},e.type="tooltip",e}(K.Z);function it(t,e,n){var i,r=e.ecModel;n?(i=new U.Z(n,r,r),i=new U.Z(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof U.Z&&(a=a.get("tooltip",!0)),(0,l.HD)(a)&&(a={formatter:a}),a&&(i=new U.Z(a,i,r)))}return i}function rt(t,e){return t.dispatchAction||(0,l.ak)(e.dispatchAction,e)}function ot(t,e,n,i,r,o,a){var s=n.getSize(),u=s[0],l=s[1];return null!=o&&(t+u+o+2>i?t-=u+o:t+=o),null!=a&&(e+l+a>r?e-=l+a:e+=a),[t,e]}function at(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function st(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,u=0,l=e.width,h=e.height;switch(t){case"inside":s=e.x+l/2-r/2,u=e.y+h/2-o/2;break;case"top":s=e.x+l/2-r/2,u=e.y-o-a;break;case"bottom":s=e.x+l/2-r/2,u=e.y+h+a;break;case"left":s=e.x-r-a,u=e.y+h/2-o/2;break;case"right":s=e.x+l+a,u=e.y+h/2-o/2}return[s,u]}function ut(t){return"center"===t||"middle"===t}function lt(t,e,n){var i=(0,q.zH)(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=(0,q.HZ)(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,u=n.getViewOfComponentModel(a);return u.group.traverse((function(e){var n=(0,J.A)(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}var ht=nt;function ct(t){(0,r.D)(i.N),t.registerComponentModel(u),t.registerComponentView(ht),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},l.ZT),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},l.ZT)}},43803:function(t,e,n){n.d(e,{BY:function(){return m},TX:function(){return f},d_:function(){return k},iv:function(){return D},jT:function(){return M}});var i=n(99837),r=n(41054),o=n(95797),a=n(63354),s=n(41201),u="line-height:1";function l(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,u=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.F1)(r+"")+"px;color:"+(0,i.F1)(n)+";font-weight:"+(0,i.F1)(o+""),valueStyle:"font-size:"+(0,i.F1)(s+"")+"px;color:"+(0,i.F1)(a)+";font-weight:"+(0,i.F1)(u+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var h=[0,10,20,30],c=["","\n","\n\n","\n\n\n"];function f(t,e){return e.type=t,e}function p(t){return"section"===t.type}function d(t){return p(t)?v:y}function g(t){if(p(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return(0,o.S6)(t.blocks,(function(t){var n=g(t);n>=e&&(e=n+ +(i&&(!n||p(t)&&!t.noHeader)))})),e}return 0}function v(t,e,n,s){var h=e.noHeader,c=_(g(e)),f=[],p=e.blocks||[];(0,o.hu)(!p||(0,o.kJ)(p)),p=p||[];var v=t.orderMode;if(e.sortBlocks&&v){p=p.slice();var y={valueAsc:"asc",valueDesc:"desc"};if((0,o.RI)(y,v)){var m=new a.ID(y[v],null);p.sort((function(t,e){return m.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===v&&p.reverse()}(0,o.S6)(p,(function(n,i){var r=e.valueFormatter,a=d(n)(r?(0,o.l7)((0,o.l7)({},t),{valueFormatter:r}):t,n,i>0?c.html:0,s);null!=a&&f.push(a)}));var w="richText"===t.renderMode?f.join(c.richText):x(f.join(""),h?n:c.html);if(h)return w;var S=(0,r.uX)(e.header,"ordinal",t.useUTC),T=l(s,t.renderMode).nameStyle;return"richText"===t.renderMode?b(t,S,T)+c.richText+w:x('<div style="'+T+";"+u+';">'+(0,i.F1)(S)+"</div>"+w,n)}function y(t,e,n,i){var a=t.renderMode,s=e.noName,u=e.noValue,h=!e.markerType,c=e.name,f=t.useUTC,p=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.kJ)(t)?t:[t],(0,o.UI)(t,(function(t,e){return(0,r.uX)(t,(0,o.kJ)(v)?v[e]:v,f)}))};if(!s||!u){var d=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),g=s?"":(0,r.uX)(c,"ordinal",f),v=e.valueType,y=u?[]:p(e.value,e.dataIndex),m=!h||!s,_=!h&&s,M=l(i,a),k=M.nameStyle,D=M.valueStyle;return"richText"===a?(h?"":d)+(s?"":b(t,g,k))+(u?"":T(t,y,m,_,D)):x((h?"":d)+(s?"":w(g,!h,k))+(u?"":S(y,m,_,D)),n)}}function m(t,e,n,i,r,o){if(t){var a=d(t),s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function _(t){return{html:h[t],richText:c[t]}}function x(t,e){var n='<div style="clear:both"></div>',i="margin: "+e+"px 0 0";return'<div style="'+i+";"+u+';">'+t+n+"</div>"}function w(t,e,n){var r=e?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+(0,i.F1)(t)+"</span>"}function S(t,e,n,r){var a=n?"10px":"20px",s=e?"float:right;margin-left:"+a:"";return t=(0,o.kJ)(t)?t:[t],'<span style="'+s+";"+r+'">'+(0,o.UI)(t,(function(t){return(0,i.F1)(t)})).join("&nbsp;&nbsp;")+"</span>"}function b(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function T(t,e,n,i,r){var a=[r],s=i?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle((0,o.kJ)(e)?e.join("  "):e,a)}function M(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return(0,r.Lz)(i)}function k(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var D=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.A0)({color:e,type:t,renderMode:n,markerId:i});return(0,o.HD)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.kJ)(e)?(0,o.S6)(e,(function(t){return(0,o.l7)(n,t)})):(0,o.l7)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},40636:function(t,e,n){n.d(e,{aG:function(){return q},Do:function(){return Q},DX:function(){return J},PY:function(){return nt},rk:function(){return tt},Xv:function(){return G},Yb:function(){return K},J9:function(){return j},Jk:function(){return Y},WY:function(){return et}});var i=n(95797),r=n(18299),o=n(85558),a=n(41021),s=n(89583),u=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new a.Z({})),(0,i.kJ)(r)&&(r=new a.Z({categories:(0,i.UI)(r,(function(t){return(0,i.Kn)(t)?t.value:t}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return(0,r.ZT)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,i.HD)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),s.XS(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.bA(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var u=0;r<o;++r){while(null!=i[u])u++;n.push(u),i[u]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(o.Z);o.Z.registerClass(u);var l=u,h=n(28584),c=n(99441),f=n(96805),p=n(41201),d=n(31360),g=function(t,e,n,i){while(n<i){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},v=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,r.ZT)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,d.WU)(t.value,d.V8[(0,d.xC)((0,d.Tj)(this._minLevelUnit))]||d.V8.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,d.k7)(t,e,n,r,i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=M(this._minLevelUnit,this._approxInterval,i,e);return n=n.concat(r),n.push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=d.s2,e[1]+=d.s2),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-d.s2}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=y.length,a=Math.min(g(y,this._approxInterval,0,o),o-1);this._interval=y[a][1],this._minLevelUnit=y[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,i.hj)(t)?t:+p.sG(t)},e.prototype.contain=function(t){return s.XS(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.Fv(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.type="time",e}(h.Z),y=[["second",d.WT],["minute",d.yR],["hour",d.dV],["quarter-day",6*d.dV],["half-day",12*d.dV],["day",1.2*d.s2],["half-week",3.5*d.s2],["week",7*d.s2],["month",31*d.s2],["quarter",95*d.s2],["half-year",d.P5/2],["year",d.P5]];function m(t,e,n,i){var r=p.sG(e),o=p.sG(n),a=function(t){return(0,d.q5)(r,t,i)===(0,d.q5)(o,t,i)},s=function(){return a("year")},u=function(){return s()&&a("month")},l=function(){return u()&&a("day")},h=function(){return l()&&a("hour")},c=function(){return h()&&a("minute")},f=function(){return c()&&a("second")},g=function(){return f()&&a("millisecond")};switch(t){case"year":return s();case"month":return u();case"day":return l();case"hour":return h();case"minute":return c();case"second":return f();case"millisecond":return g()}}function _(t,e){return t/=d.s2,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function x(t){var e=30*d.s2;return t/=e,t>6?6:t>3?3:t>2?2:1}function w(t){return t/=d.dV,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function S(t,e){return t/=e?d.yR:d.WT,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function b(t){return p.kx(t,!0)}function T(t,e,n){var i=new Date(t);switch((0,d.Tj)(e)){case"year":case"month":i[(0,d.vh)(n)](0);case"day":i[(0,d.f5)(n)](1);case"hour":i[(0,d.En)(n)](0);case"minute":i[(0,d.eN)(n)](0);case"second":i[(0,d.rM)(n)](0),i[(0,d.cb)(n)](0)}return i.getTime()}function M(t,e,n,r){var o=1e4,a=d.FW,s=0;function u(t,e,n,i,o,a,s){var u=new Date(e),l=e,h=u[i]();while(l<n&&l<=r[1])s.push({value:l}),h+=t,u[o](h),l=u.getTime();s.push({value:l,notAdd:!0})}function l(t,i,o){var a=[],s=!i.length;if(!m((0,d.Tj)(t),r[0],r[1],n)){s&&(i=[{value:T(new Date(r[0]),t,n)},{value:r[1]}]);for(var l=0;l<i.length-1;l++){var h=i[l].value,c=i[l+1].value;if(h!==c){var f=void 0,p=void 0,g=void 0,v=!1;switch(t){case"year":f=Math.max(1,Math.round(e/d.s2/365)),p=(0,d.sx)(n),g=(0,d.xL)(n);break;case"half-year":case"quarter":case"month":f=x(e),p=(0,d.CW)(n),g=(0,d.vh)(n);break;case"week":case"half-week":case"day":f=_(e,31),p=(0,d.xz)(n),g=(0,d.f5)(n),v=!0;break;case"half-day":case"quarter-day":case"hour":f=w(e),p=(0,d.Wp)(n),g=(0,d.En)(n);break;case"minute":f=S(e,!0),p=(0,d.fn)(n),g=(0,d.eN)(n);break;case"second":f=S(e,!1),p=(0,d.MV)(n),g=(0,d.rM)(n);break;case"millisecond":f=b(e),p=(0,d.RZ)(n),g=(0,d.cb)(n);break}u(f,h,c,p,g,v,a),"year"===t&&o.length>1&&0===l&&o.unshift({value:o[0].value-f})}}for(l=0;l<a.length;l++)o.push(a[l]);return a}}for(var h=[],c=[],f=0,p=0,g=0;g<a.length&&s++<o;++g){var v=(0,d.Tj)(a[g]);if((0,d.$K)(a[g])){l(a[g],h[h.length-1]||[],c);var y=a[g+1]?(0,d.Tj)(a[g+1]):null;if(v!==y){if(c.length){p=f,c.sort((function(t,e){return t.value-e.value}));for(var M=[],k=0;k<c.length;++k){var D=c[k].value;0!==k&&c[k-1].value===D||(M.push(c[k]),D>=r[0]&&D<=r[1]&&f++)}var C=(r[1]-r[0])/e;if(f>1.5*C&&p>C/1.5)break;if(h.push(M),f>C||t===a[g])break}c=[]}}}var I=(0,i.hX)((0,i.UI)(h,(function(t){return(0,i.hX)(t,(function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd}))})),(function(t){return t.length>0})),P=[],A=I.length-1;for(g=0;g<I.length;++g)for(var O=I[g],L=0;L<O.length;++L)P.push({value:O[L].value,level:A-g});P.sort((function(t,e){return t.value-e.value}));var R=[];for(g=0;g<P.length;++g)0!==g&&P[g].value===P[g-1].value||R.push(P[g]);return R}o.Z.registerClass(v);var k=v,D=o.Z.prototype,C=h.Z.prototype,I=p.NM,P=Math.floor,A=Math.ceil,O=Math.pow,L=Math.log,R=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new h.Z,e._interval=0,e}return(0,r.ZT)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent(),o=C.getTicks.call(this,t);return i.UI(o,(function(t){var e=t.value,i=p.NM(O(this.base,e));return i=e===n[0]&&this._fixMin?z(i,r[0]):i,i=e===n[1]&&this._fixMax?z(i,r[1]):i,{value:i}}),this)},e.prototype.setExtent=function(t,e){var n=L(this.base);t=L(Math.max(0,t))/n,e=L(Math.max(0,e))/n,C.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=D.getExtent.call(this);e[0]=O(t,e[0]),e[1]=O(t,e[1]);var n=this._originalScale,i=n.getExtent();return this._fixMin&&(e[0]=z(e[0],i[0])),this._fixMax&&(e[1]=z(e[1],i[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=L(t[0])/L(e),t[1]=L(t[1])/L(e),D.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=p.Xd(n),r=t/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var o=[p.NM(A(e[0]/i)*i),p.NM(P(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){C.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=L(t)/L(this.base),s.XS(t,this._extent)},e.prototype.normalize=function(t){return t=L(t)/L(this.base),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=s.bA(t,this._extent),O(this.base,t)},e.type="log",e}(o.Z),Z=R.prototype;function z(t,e){return I(t,p.p8(e))}Z.getMinorTicks=C.getMinorTicks,Z.getLabel=C.getLabel,o.Z.registerClass(R);var B=R,N=n(86366),E=n(66332),F=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var o=e.get("min",!0);null==o&&(o=e.get("startValue",!0));var a=this._modelMinRaw=o;(0,i.mf)(a)?this._modelMinNum=U(t,a({min:n[0],max:n[1]})):"dataMin"!==a&&(this._modelMinNum=U(t,a));var s=this._modelMaxRaw=e.get("max",!0);if((0,i.mf)(s)?this._modelMaxNum=U(t,s({min:n[0],max:n[1]})):"dataMax"!==s&&(this._modelMaxNum=U(t,s)),r)this._axisDataLen=e.getCategories().length;else{var u=e.get("boundaryGap"),l=(0,i.kJ)(u)?u:[u||0,u||0];"boolean"===typeof l[0]||"boolean"===typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,E.GM)(l[0],1),(0,E.GM)(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,u="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=s,h=null!=u;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==u&&(u=t?r?r-1:NaN:n+o[1]*a),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN);var c=(0,i.Bu)(s)||(0,i.Bu)(u)||t&&!r;this._needCrossZero&&(s>0&&u>0&&!l&&(s=0),s<0&&u<0&&!h&&(u=0));var f=this._determinedMin,p=this._determinedMax;return null!=f&&(s=f,l=!0),null!=p&&(u=p,h=!0),{min:s,max:u,minFixed:l,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[H[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=W[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),W={min:"_determinedMin",max:"_determinedMax"},H={min:"_dataMin",max:"_dataMax"};function V(t,e,n){var i=t.rawExtentInfo;return i||(i=new F(t,e,n),t.rawExtentInfo=i,i)}function U(t,e){return null==e?null:(0,i.Bu)(e)?NaN:t.parse(e)}function G(t,e){var n=t.type,r=V(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var o=r.min,a=r.max,s=e.ecModel;if(s&&"time"===n){var u=(0,c.Ge)("bar",s),l=!1;if(i.S6(u,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var h=(0,c.My)(u),f=X(o,a,e,h);o=f.min,a=f.max}}return{extent:[o,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function X(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=(0,c.G_)(r,n.axis);if(void 0===s)return{min:t,max:e};var u=1/0;i.S6(s,(function(t){u=Math.min(t.offset,u)}));var l=-1/0;i.S6(s,(function(t){l=Math.max(t.offset+t.width,l)})),u=Math.abs(u),l=Math.abs(l);var h=u+l,f=e-t,p=1-(u+l)/a,d=f/p-f;return e+=d*(l/h),t-=d*(u/h),{min:t,max:e}}function Y(t,e){var n=e,i=G(t,n),r=i.extent,o=n.get("splitNumber");t instanceof B&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),u="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:u?n.get("minInterval"):null,maxInterval:u?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function q(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new l({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new k({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(o.Z.getClass(e)||h.Z)}}function K(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function j(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,i){return t.scale.getFormattedLabel(n,i,e)}}(e):i.HD(e)?function(e){return function(n){var i=t.scale.getLabel(n),r=e.replace("{value}",null!=i?i:"");return r}}(e):i.mf(e)?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(J(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function J(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function Q(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();n instanceof l?r=n.count():(i=n.getTicks(),r=i.length);var a,s=t.getLabelModel(),u=j(t),h=1;r>40&&(h=Math.ceil(r/40));for(var c=0;c<r;c+=h){var f=i?i[c]:{value:o[0]+c},p=u(f,c),d=s.getTextRect(p),g=$(d,s.get("rotate")||0);a?a.union(g):a=g}return a}}function $(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n)),s=new f.Z(t.x,t.y,o,a);return s}function tt(t){var e=t.get("interval");return null==e?"auto":e}function et(t){return"category"===t.type&&0===tt(t.getLabelModel())}function nt(t,e){var n={};return i.S6(t.mapDimensionsAll(e),(function(e){n[(0,N.IR)(t,e)]=!0})),i.XP(n)}},40705:function(t,e,n){n.d(e,{Mk:function(){return s},Yh:function(){return a},bK:function(){return o}});var i=n(95797),r=n(38496);function o(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],u=o.position,l=s?"onZero":u,h=o.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,g="x"===h?[f[2]-d,f[3]+d]:[f[0]-d,f[1]+d];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[p.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===h?g[p[l]]:f[0],"x"===h?g[p[l]]:f[3]],a.rotation=Math.PI/2*("x"===h?0:1);var y={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=y[u],a.labelOffset=s?g[p[u]]-g[p.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),i.Jv(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var m=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===l?-m:m,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.S6(e,(function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.C6).models[0];e[i]=a})),e}},99799:function(t,e,n){var i=n(95797),r={},o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.S6(r,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){i.S6(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}();e["Z"]=o},72935:function(t,e,n){n.d(e,{Hr:function(){return Ke},S1:function(){return Vn},zl:function(){return Jn},RS:function(){return Qn},qR:function(){return $n},yn:function(){return ii},je:function(){return ri},sq:function(){return qn},Br:function(){return Kn},ds:function(){return Xn},Pu:function(){return Yn},OB:function(){return oi},YK:function(){return jn},Og:function(){return ti}});var i=n(18299),r=n(24503),o=n(95797),a=n(59979),s=n(1994),u=n(18626),l=n(38496),h=n(85632),c=n(13350),f="";"undefined"!==typeof navigator&&(f=navigator.platform||"");var p="rgba(0, 0, 0, 0.2)",d={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:p,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:p,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:p,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:p,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:p,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:p,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:f.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},g=n(45452),v=(0,o.kW)();function y(t,e,n){var i=v.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}var m,_,x,w=n(25650),S="\0_ec_inner",b=1;var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new h.Z(i),this._locale=new h.Z(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=I(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,I(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):x(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,o.S6)(s,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],s=(0,o.kW)(),u=e&&e.replaceMergeMainTypeMap;function h(e){var a=y(this,e,l.kF(t[e])),s=i.get(e),h=s?u&&u.get(e)?"replaceMerge":"normalMerge":"replaceAll",f=l.ab(s,a,h);l.O0(f,e,c.Z),n[e]=null,i.set(e,null),r.set(e,0);var p,d=[],g=[],v=0;(0,o.S6)(f,(function(t,n){var i=t.existing,r=t.newOption;if(r){var a="series"===e,s=c.Z.getClass(e,t.keyInfo.subType,!a);if(!s)return;if("tooltip"===e){if(p)return void 0;p=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var u=(0,o.l7)({componentIndex:n},t.keyInfo);i=new s(r,this,this,u),(0,o.l7)(i,u),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(d.push(i.option),g.push(i),v++):(d.push(void 0),g.push(void 0))}),this),n[e]=d,i.set(e,g),r.set(e,v),"series"===e&&m(this)}(0,g.md)(this),(0,o.S6)(t,(function(t,e){null!=t&&(c.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,o.d9)(t):(0,o.TS)(n[e],t,!0))})),u&&u.each((function(t,e){c.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))})),c.Z.topologicalTravel(a,c.Z.getAllClassMainTypes(),h,this),this._seriesIndices||m(this)},e.prototype.getOption=function(){var t=(0,o.d9)(this.option);return(0,o.S6)(t,(function(e,n){if(c.Z.hasClass(n)){for(var i=l.kF(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!l.lY(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[S],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,a=t.name,s=this._componentsMap.get(e);return s&&s.length?(null!=i?(n=[],(0,o.S6)(l.kF(i),(function(t){s[t]&&n.push(s[t])}))):n=null!=r?D("id",r,s):null!=a?D("name",a,s):(0,o.hX)(s,(function(t){return!!t})),C(n,t)):[]},e.prototype.findComponents=function(t){var e=t.query,n=t.mainType,i=a(e),r=i?this.queryComponents(i):(0,o.hX)(this._componentsMap.get(n),(function(t){return!!t}));return s(C(r,t));function a(t){var e=n+"Index",i=n+"Id",r=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[r]?null:{mainType:n,index:t[e],id:t[i],name:t[r]}}function s(e){return t.filter?(0,o.hX)(e,t.filter):e}},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,o.mf)(t)){var r=e,a=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&a.call(r,e,i,i.componentIndex)}}))}else for(var s=(0,o.HD)(t)?i.get(t):(0,o.Kn)(t)?this.findComponents(t):null,u=0;s&&u<s.length;u++){var l=s[u];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=l.U5(t,null);return(0,o.hX)(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,o.hX)(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return(0,o.hX)(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){_(this),(0,o.S6)(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){(0,o.S6)(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){_(this),(0,o.S6)(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,o.S6)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return _(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){_(this);var n=[];(0,o.S6)(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=(0,o.kW)(n)},e.prototype.restoreData=function(t){m(this);var e=this._componentsMap,n=[];e.each((function(t,e){c.Z.hasClass(e)&&n.push(e)})),c.Z.topologicalTravel(n,c.Z.getAllClassMainTypes(),(function(n){(0,o.S6)(e.get(n),(function(e){!e||"series"===n&&M(e,t)||e.restoreData()}))}))},e.internalField=function(){m=function(t){var e=t._seriesIndices=[];(0,o.S6)(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=(0,o.kW)(e)},_=function(t){0},x=function(t,e){t.option={},t.option[S]=b,t._componentsMap=(0,o.kW)({series:[]}),t._componentsCount=(0,o.kW)();var n=e.aria;(0,o.Kn)(n)&&null==n.enabled&&(n.enabled=!0),k(e,t._theme.option),(0,o.TS)(e,d,!1),t._mergeOption(e,null)}}(),e}(h.Z);function M(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function k(t,e){var n=t.color&&!t.colorLayer;(0,o.S6)(e,(function(e,i){"colorLayer"===i&&n||c.Z.hasClass(i)||("object"===typeof e?t[i]=t[i]?(0,o.TS)(t[i],e,!1):(0,o.d9)(e):null==t[i]&&(t[i]=e))}))}function D(t,e,n){if((0,o.kJ)(e)){var i=(0,o.kW)();return(0,o.S6)(e,(function(t){if(null!=t){var e=l.U5(t,null);null!=e&&i.set(t,!0)}})),(0,o.hX)(n,(function(e){return e&&i.get(e[t])}))}var r=l.U5(e,null);return(0,o.hX)(n,(function(e){return e&&null!=r&&e[t]===r}))}function C(t,e){return e.hasOwnProperty("subType")?(0,o.hX)(t,(function(t){return t&&t.subType===e.subType})):t}function I(t){var e=(0,o.kW)();return t&&(0,o.S6)(l.kF(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}(0,o.jB)(T,w._);var P=T,A=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],O=function(){function t(t){o.S6(A,(function(e){this[e]=o.ak(t[e],t)}),this)}return t}(),L=O,R=n(99799),Z=/^(min|max)?(.+)$/,z=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,o.S6)((0,l.kF)(t.series),(function(t){t&&t.data&&(0,o.fU)(t.data)&&(0,o.s7)(t.data)})),(0,o.S6)((0,l.kF)(t.dataset),(function(t){t&&t.source&&(0,o.fU)(t.source)&&(0,o.s7)(t.source)}))),t=(0,o.d9)(t);var i=this._optionBackup,r=B(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,o.d9)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,o.d9)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,a=[],s=[];if(!i.length&&!r)return s;for(var u=0,l=i.length;u<l;u++)N(i[u].query,e,n)&&a.push(u);return!a.length&&r&&(a=[-1]),a.length&&!F(a,this._currentMediaIndices)&&(s=(0,o.UI)(a,(function(t){return(0,o.d9)(-1===t?r.option:i[t].option)}))),this._currentMediaIndices=a,s},t}();function B(t,e,n){var i,r,a=[],s=t.baseOption,u=t.timeline,l=t.options,h=t.media,c=!!t.media,f=!!(l||u||s&&s.timeline);function p(t){(0,o.S6)(e,(function(e){e(t,n)}))}return s?(r=s,r.timeline||(r.timeline=u)):((f||c)&&(t.options=t.media=null),r=t),c&&(0,o.kJ)(h)&&(0,o.S6)(h,(function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))})),p(r),(0,o.S6)(l,(function(t){return p(t)})),(0,o.S6)(a,(function(t){return p(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:a}}function N(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,o.S6)(t,(function(t,e){var n=e.match(Z);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();E(i[a],t,o)||(r=!1)}})),r}function E(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function F(t,e){return t.join(",")===e.join(",")}var W=z,H=o.S6,V=o.Kn,U=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function G(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=U.length;n<i;n++){var r=U[n],a=e.normal,s=e.emphasis;a&&a[r]&&(t[r]=t[r]||{},t[r].normal?o.TS(t[r].normal,a[r]):t[r].normal=a[r],a[r]=null),s&&s[r]&&(t[r]=t[r]||{},t[r].emphasis?o.TS(t[r].emphasis,s[r]):t[r].emphasis=s[r],s[r]=null)}}function X(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,o.ce(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function Y(t){X(t,"itemStyle"),X(t,"lineStyle"),X(t,"areaStyle"),X(t,"label"),X(t,"labelLine"),X(t,"upperLabel"),X(t,"edgeLabel")}function q(t,e){var n=V(t)&&t[e],i=V(n)&&n.textStyle;if(i){0;for(var r=0,o=l.Td.length;r<o;r++){var a=l.Td[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}}function K(t){t&&(Y(t),q(t,"label"),t.emphasis&&q(t.emphasis,"label"))}function j(t){if(V(t)){G(t),Y(t),q(t,"label"),q(t,"upperLabel"),q(t,"edgeLabel"),t.emphasis&&(q(t.emphasis,"label"),q(t.emphasis,"upperLabel"),q(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(G(e),K(e));var n=t.markLine;n&&(G(n),K(n));var i=t.markArea;i&&K(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var a=t.links||t.edges;if(a&&!o.fU(a))for(var s=0;s<a.length;s++)K(a[s]);o.S6(t.categories,(function(t){Y(t)}))}if(r&&!o.fU(r))for(s=0;s<r.length;s++)K(r[s]);if(e=t.markPoint,e&&e.data){var u=e.data;for(s=0;s<u.length;s++)K(u[s])}if(n=t.markLine,n&&n.data){var l=n.data;for(s=0;s<l.length;s++)o.kJ(l[s])?(K(l[s][0]),K(l[s][1])):K(l[s])}"gauge"===t.type?(q(t,"axisLabel"),q(t,"title"),q(t,"detail")):"treemap"===t.type?(X(t.breadcrumb,"itemStyle"),o.S6(t.levels,(function(t){Y(t)}))):"tree"===t.type&&Y(t.leaves)}}function J(t){return o.kJ(t)?t:t?[t]:[]}function Q(t){return(o.kJ(t)?t[0]:t)||{}}function $(t,e){H(J(t.series),(function(t){V(t)&&j(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),H(n,(function(e){H(J(t[e]),(function(t){t&&(q(t,"axisLabel"),q(t.axisPointer,"label"))}))})),H(J(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;q(e,"axisLabel"),q(e&&e.axisPointer,"label")})),H(J(t.calendar),(function(t){X(t,"itemStyle"),q(t,"dayLabel"),q(t,"monthLabel"),q(t,"yearLabel")})),H(J(t.radar),(function(t){q(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),H(J(t.geo),(function(t){V(t)&&(K(t),H(J(t.regions),(function(t){K(t)})))})),H(J(t.timeline),(function(t){K(t),X(t,"label"),X(t,"itemStyle"),X(t,"controlStyle",!0);var e=t.data;o.kJ(e)&&o.S6(e,(function(t){o.Kn(t)&&(X(t,"label"),X(t,"itemStyle"))}))})),H(J(t.toolbox),(function(t){X(t,"iconStyle"),H(t.feature,(function(t){X(t,"iconStyle")}))})),q(Q(t.axisPointer),"label"),q(Q(t.tooltip).axisPointer,"label")}function tt(t,e){for(var n=e.split(","),i=t,r=0;r<n.length;r++)if(i=i&&i[n[r]],null==i)break;return i}function et(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)r=o[s],null==a[r]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}function nt(t){t&&(0,o.S6)(it,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var it=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],rt=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],ot=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function at(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<ot.length;n++){var i=ot[n][1],r=ot[n][0];null!=e[i]&&(e[r]=e[i])}}function st(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function ut(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function lt(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}function ht(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&ht(t[n].children,e)}function ct(t,e){$(t,e),t.series=(0,l.kF)(t.series),(0,o.S6)(t.series,(function(t){if((0,o.Kn)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),st(t.label);var n=t.data;if(n&&!(0,o.fU)(n))for(var i=0;i<n.length;i++)st(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=tt(t,"pointer.color");null!=r&&et(t,"itemStyle.color",r)}else if("bar"===e){at(t),at(t.backgroundStyle),at(t.emphasis);n=t.data;if(n&&!(0,o.fU)(n))for(i=0;i<n.length;i++)"object"===typeof n[i]&&(at(n[i]),at(n[i]&&n[i].emphasis))}else if("sunburst"===e){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),ut(t),ht(t.data,ut)}else"graph"===e||"sankey"===e?lt(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,o.ce)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),nt(t)}})),t.dataRange&&(t.visualMap=t.dataRange),(0,o.S6)(rt,(function(e){var n=t[e];n&&((0,o.kJ)(n)||(n=[n]),(0,o.S6)(n,(function(t){nt(t)})))}))}var ft=n(41201);function pt(t){var e=(0,o.kW)();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(dt)}function dt(t){(0,o.S6)(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,u=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,l,h){var c,f,p=a.get(e.stackedDimension,h);if(isNaN(p))return r;s?f=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var d=NaN,g=n-1;g>=0;g--){var v=t[g];if(s||(f=v.data.rawIndexOf(v.stackedByDimension,c)),f>=0){var y=v.data.getByRawIndex(v.stackResultDimension,f);if("all"===u||"positive"===u&&y>0||"negative"===u&&y<0||"samesign"===u&&p>=0&&y>0||"samesign"===u&&p<=0&&y<0){p=(0,ft.S$)(p,y),d=y;break}}}return i[0]=p,i[1]=d,i}))}))}var gt=n(29865),vt=n(59160),yt=n(55486),mt=n(96354),_t=n(12222),xt=n(51058),wt=n(47397),St=n(75195),bt=n(10859),Tt=n(54849),Mt=n(26314),kt=n(63918),Dt=n(61599),Ct=(0,l.Yf)(),It={itemStyle:(0,Mt.Z)(kt.t,!0),lineStyle:(0,Mt.Z)(Dt.v,!0)},Pt={lineStyle:"stroke",itemStyle:"fill"};function At(t,e){var n=t.visualStyleMapper||It[e];return n||(console.warn("Unknown style type '"+e+"'."),It.itemStyle)}function Ot(t,e){var n=t.visualDrawType||Pt[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Lt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=At(t,i),s=a(r),u=r.getShallow("decal");u&&(n.setVisual("decal",u),u.dirty=!0);var l=Ot(t,i),h=s[l],c=(0,o.mf)(h)?h:null,f="auto"===s.fill||"auto"===s.stroke;if(!s[l]||c||f){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());s[l]||(s[l]=p,n.setVisual("colorFromPalette",!0)),s.fill="auto"===s.fill||(0,o.mf)(s.fill)?p:s.fill,s.stroke="auto"===s.stroke||(0,o.mf)(s.stroke)?p:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,o.l7)({},s);r[l]=c(i),e.setItemVisual(n,"style",r)}}}},Rt=new h.Z,Zt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=At(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Rt.option=n[i];var s=r(Rt),u=t.ensureUniqueItemVisual(e,"style");(0,o.l7)(u,s),Rt.option.decal&&(t.setItemVisual(e,"decal",Rt.option.decal),Rt.option.decal.dirty=!0),a in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},zt={performRawSeries:!0,overallReset:function(t){var e=(0,o.kW)();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Ct(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Ct(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Ot(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t],u=r.getItemVisual(a,"colorFromPalette");if(u){var l=r.ensureUniqueItemVisual(a,"style"),h=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(h,o,c)}}))}}))}},Bt=n(3082),Nt=n(49386),Et=n(13026),Ft=Math.PI;function Wt(t,e){e=e||{},o.ce(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Bt.Z,i=new mt.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new Nt.ZP({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),s=new mt.Z({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(s),e.showSpinner&&(r=new Et.Z({shape:{startAngle:-Ft/2,endAngle:-Ft/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*Ft/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Ft/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.getBoundingRect().width,o=e.showSpinner?e.spinnerRadius:0,u=(t.getWidth()-2*o-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:o),l=t.getHeight()/2;e.showSpinner&&r.setShape({cx:u,cy:l}),s.setShape({x:u-o,y:l-o,width:2*o,height:2*o}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var Ht=n(17787),Vt=n(40259),Ut=function(){function t(t,e,n,i){this._stageTaskMap=(0,o.kW)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,o.kW)();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,o.S6)(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),a="";(0,o.hu)(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,a=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,o.S6)(t,(function(t,o){if(!i.visualType||i.visualType===t.visualType){var u=a._stageTaskMap.get(t.uid),l=u.seriesTaskMap,h=u.overallTask;if(h){var c,f=h.agentStubMap;f.each((function(t){s(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),a.updatePayload(h,n);var p=a.getPerformArgs(h,i.block);f.each((function(t){t.perform(p)})),h.perform(p)&&(r=!0)}else l&&l.each((function(o,u){s(i,o)&&o.dirty();var l=a.getPerformArgs(o,i.block);l.skip=!t.performRawSeries&&e.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(l)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,a=e.seriesTaskMap,s=e.seriesTaskMap=(0,o.kW)(),u=t.seriesType,l=t.getTargetSeries;function h(e){var o=e.uid,u=s.set(o,a&&a.get(o)||(0,Ht.v)({plan:Kt,reset:jt,count:$t}));u.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,u)}t.createOnAllSeries?n.eachRawSeries(h):u?n.eachRawSeriesByType(u,h):l&&l(n,i).each(h)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,a=e.overallTask=e.overallTask||(0,Ht.v)({reset:Gt});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var s=a.agentStubMap,u=a.agentStubMap=(0,o.kW)(),l=t.seriesType,h=t.getTargetSeries,c=!0,f=!1,p="";function d(t){var e=t.uid,n=u.set(e,s&&s.get(e)||(f=!0,(0,Ht.v)({reset:Xt,onDirty:qt})));n.context={model:t,overallProgress:c},n.agent=a,n.__block=c,r._pipe(t,n)}(0,o.hu)(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):h?h(n,i).each(d):(c=!1,(0,o.S6)(n.getSeries(),d)),f&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,o.mf)(t)&&(t={overallReset:t,seriesType:te(t)}),t.uid=(0,Vt.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function Gt(t){t.overallReset(t.ecModel,t.api,t.payload)}function Xt(t){return t.overallProgress&&Yt}function Yt(){this.agent.dirty(),this.getDownstream().dirty()}function qt(){this.agent&&this.agent.dirty()}function Kt(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function jt(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,l.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,o.UI)(e,(function(t,e){return Qt(e)})):Jt}var Jt=Qt(0);function Qt(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function $t(t){return t.data.count()}function te(t){ee=null;try{t(ne,ie)}catch(e){}return ee}var ee,ne={},ie={};function re(t,e){for(var n in e.prototype)t[n]=o.ZT}re(ne,P),re(ie,L),ne.eachSeriesByType=ne.eachRawSeriesByType=function(t){ee=t},ne.eachComponent=function(t){"series"===t.mainType&&t.subType&&(ee=t.subType)};var oe=Ut,ae=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],se={color:ae,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],ae]},ue="#B9B8CE",le="#100C2A",he=function(){return{axisLine:{lineStyle:{color:ue}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},ce=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],fe={darkMode:!0,color:ce,backgroundColor:le,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:ue}},textStyle:{color:ue},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:ue}},dataZoom:{borderColor:"#71708A",textStyle:{color:ue},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:ue}},timeline:{lineStyle:{color:ue},label:{color:ue},controlStyle:{color:ue,borderColor:ue}},calendar:{itemStyle:{color:le},dayLabel:{color:ue},monthLabel:{color:ue},yearLabel:{color:ue}},timeAxis:he(),logAxis:he(),valueAxis:he(),categoryAxis:he(),line:{symbol:"circle"},graph:{color:ce},gauge:{title:{color:ue},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:ue},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};fe.categoryAxis.splitLine.show=!1;var pe=fe,de=n(6990),ge=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(o.HD(t)){var r=(0,de.u9)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.S6(t,(function(t,r){for(var o=!1,u=0;u<a.length;u++){var l=a[u],h=r.lastIndexOf(l);if(h>0&&h===r.length-l.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[l.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(r)&&(n[r]=t,o=!0),o||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,u=e.dataQuery;return l(s,o,"mainType")&&l(s,o,"subType")&&l(s,o,"index","componentIndex")&&l(s,o,"name")&&l(s,o,"id")&&l(u,r,"name")&&l(u,r,"dataIndex")&&l(u,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function l(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ve=["symbol","symbolSize","symbolRotate","symbolOffset"],ye=ve.concat(["symbolKeepAspect"]),me={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},a=!1,s=0;s<ve.length;s++){var u=ve[s],l=t.get(u);(0,o.mf)(l)?(a=!0,r[u]=l):i[u]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,o.l7)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var h=(0,o.XP)(r);return{dataEach:a?c:null}}}function c(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<h.length;a++){var s=h[a];e.setItemVisual(n,s,r[s](i,o))}}}},_e={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t)){var n=t.getData();return{dataEach:n.hasItemOption?i:null}}function i(t,e){for(var n=t.getItemModel(e),i=0;i<ye.length;i++){var r=ye[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}}};function xe(t,e,n){switch(n){case"color":var i=t.getItemVisual(e,"style");return i[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function we(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}var Se=n(3313),be=n(43704),Te=n(19874),Me=n(62645),ke=n(78834),De=n(4258);function Ce(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");if(n){var r=i.ensureUniqueItemVisual(t,"style");r.decal=(0,De.I)(n,e)}}));var r=i.getVisual("decal");if(r){var o=i.getVisual("style");o.decal=(0,De.I)(r,e)}}}))}var Ie=new u.Z,Pe=Ie,Ae=n(9886),Oe=n(25587),Le=1,Re=800,Ze=900,ze=1e3,Be=2e3,Ne=5e3,Ee=1e3,Fe=1100,We=2e3,He=3e3,Ve=4e3,Ue=4500,Ge=4600,Xe=5e3,Ye=6e3,qe=7e3,Ke={PROCESSOR:{FILTER:ze,SERIES_FILTER:Re,STATISTIC:Ne},VISUAL:{LAYOUT:Ee,PROGRESSIVE_LAYOUT:Fe,GLOBAL:We,CHART:He,POST_CHART_LAYOUT:Ge,COMPONENT:Ve,BRUSH:Xe,CHART_ITEM:Ue,ARIA:Ye,DECAL:qe}},je="__flagInMainProcess",Je="__pendingUpdate",Qe="__needsUpdateStatus",$e=/^[a-zA-Z0-9_]+$/,tn="__connectUpdateStatus",en=0,nn=1,rn=2;function on(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return sn(this,t,e);An(this.id)}}function an(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return sn(this,t,e)}}function sn(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),u.Z.prototype[e].apply(t,n)}var un,ln,hn,cn,fn,pn,dn,gn,vn,yn,mn,_n,xn,wn,Sn,bn,Tn,Mn,kn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(u.Z),Dn=kn.prototype;Dn.on=an("on"),Dn.off=an("off");var Cn=function(t){function e(e,n,i){var a=t.call(this,new ge)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},(0,o.HD)(n)&&(n=Bn[n]),a._dom=e;var u="canvas",l="auto",h=!1;i.ssr&&r.Qq((function(t){var e=(0,St.A)(t),n=e.dataIndex;if(null!=n){var i=(0,o.kW)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}}));var c=a._zr=r.S1(e,{renderer:i.renderer||u,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,o.pD)(i.useDirtyRect,h),useCoarsePointer:(0,o.pD)(i.useCoarsePointer,l),pointerSize:i.pointerSize});a._ssr=i.ssr,a._throttledZrFlush=(0,Tt.P2)((0,o.ak)(c.flush,c),17),n=(0,o.d9)(n),n&&ct(n,!0),a._theme=n,a._locale=(0,Me.D0)(i.locale||Me.sO),a._coordSysMgr=new R.Z;var f=a._api=Sn(a);function p(t,e){return t.__prio-e.__prio}return(0,s.Z)(zn,p),(0,s.Z)(Rn,p),a._scheduler=new oe(a,f,Rn,zn),a._messageCenter=new kn,a._initEvents(),a.resize=(0,o.ak)(a.resize,a),c.animation.on("frame",a._onframe,a),yn(c,a),mn(c,a),(0,o.s7)(a),a}return(0,i.ZT)(e,t),e.prototype._onframe=function(){if(!this._disposed){Mn(this);var t=this._scheduler;if(this[Je]){var e=this[Je].silent;this[je]=!0;try{un(this),cn.update.call(this,null,this[Je].updateParams)}catch(a){throw this[je]=!1,this[Je]=null,a}this._zr.flush(),this[je]=!1,this[Je]=null,gn.call(this,e),vn.call(this,e)}else if(t.unfinished){var n=Le,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),pn(this,i),t.performVisualTasks(i),wn(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[je])if(this._disposed)An(this.id);else{var i,r,a;if((0,o.Kn)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this[je]=!0,!this._model||e){var s=new W(this._api),u=this._theme,l=this._model=new P;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,u,this._locale,s)}this._model.setOption(t,{replaceMerge:r},Zn);var h={seriesTransition:a,optionChanged:!0};if(n)this[Je]={silent:i,updateParams:h},this[je]=!1,this.getZr().wakeUp();else{try{un(this),cn.update.call(this,null,h)}catch(c){throw this[Je]=null,this[je]=!1,c}this._ssr||this._zr.flush(),this[Je]=null,this[je]=!1,gn.call(this,i),vn.call(this,i)}}},e.prototype.setTheme=function(){(0,Se.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,o.S6)(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,i=[],r=this;(0,o.S6)(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,o.S6)(i,(function(t){t.group.ignore=!1})),a}An(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,a=Math.max,s=1/0;if(Fn[n]){var u=s,l=s,h=-s,c=-s,f=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();(0,o.S6)(En,(function(r,s){if(r.group===n){var p=e?r.getZr().painter.getSvgDom().innerHTML:r.renderToCanvas((0,o.d9)(t)),d=r.getDom().getBoundingClientRect();u=i(d.left,u),l=i(d.top,l),h=a(d.right,h),c=a(d.bottom,c),f.push({dom:p,left:d.left,top:d.top})}})),u*=p,l*=p,h*=p,c*=p;var d=h-u,g=c-l,v=Ae.qW.createCanvas(),y=r.S1(v,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:g}),e){var m="";return(0,o.S6)(f,(function(t){var e=t.left-u,n=t.top-l;m+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new mt.Z({shape:{x:0,y:0,width:d,height:g},style:{fill:t.connectedBackgroundColor}})),(0,o.S6)(f,(function(t){var e=new _t.ZP({style:{x:t.left*p-u,y:t.top*p-l,image:t.dom}});y.add(e)})),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}An(this.id)},e.prototype.convertToPixel=function(t,e){return fn(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return fn(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=l.pm(i,t);return(0,o.S6)(r,(function(t,i){i.indexOf("Models")>=0&&(0,o.S6)(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}An(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=l.pm(n,t,{defaultMainType:"series"}),r=i.seriesModel;var o=r.getData(),a=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return null!=a?xe(o,a,e):we(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,o.S6)(Pn,(function(e){var n=function(n){var i,r=t.getModel(),a=n.target,s="globalout"===e;if(s?i={}:a&&(0,ke.o)(a,(function(t){var e=(0,St.A)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,a)||{},!0}if(e.eventData)return i=(0,o.l7)({},e.eventData),!0}),!0),i){var u=i.componentType,l=i.componentIndex;"markLine"!==u&&"markPoint"!==u&&"markArea"!==u||(u="series",l=i.seriesIndex);var h=u&&null!=l&&r.getComponent(u,l),c=h&&t["series"===h.mainType?"_chartsMap":"_componentsMap"][h.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:h,view:c},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),(0,o.S6)(Ln,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),(0,o.S6)(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),(0,be.s)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?An(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)An(this.id);else{this._disposed=!0;var t=this.getDom();t&&l.P$(this.getDom(),Hn,"");var e=this,n=e._api,i=e._model;(0,o.S6)(e._componentsViews,(function(t){t.dispose(i,n)})),(0,o.S6)(e._chartsViews,(function(t){t.dispose(i,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete En[e.id]}},e.prototype.resize=function(t){if(!this[je])if(this._disposed)An(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Je]&&(null==i&&(i=this[Je].silent),n=!0,this[Je]=null),this[je]=!0;try{n&&un(this),cn.update.call(this,{type:"resize",animation:(0,o.l7)({duration:0},t&&t.animation)})}catch(r){throw this[je]=!1,r}this[je]=!1,gn.call(this,i),vn.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)An(this.id);else if((0,o.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Nn[t]){var n=Nn[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?An(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,o.l7)({},t);return e.type=Ln[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)An(this.id);else if((0,o.Kn)(e)||(e={silent:!!e}),On[t.type]&&this._model)if(this[je])this._pendingActions.push(t);else{var n=e.silent;dn.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&a.Z.browser.weChat&&this._throttledZrFlush(),gn.call(this,n),vn.call(this,n)}},e.prototype.updateLabelLayout=function(){Pe.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)An(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);0,i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,a,u=e.concat(n);(0,s.Z)(u,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),(0,o.S6)(u,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,o=e.key;null!=r&&(i=Math.max(r,i)),o?(i===r&&o!==a&&i++,a=o):a&&(i===r&&i++,a=""),r=i,n.setZLevel(i)}))}}function n(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===bt.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===bt.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function r(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!a.Z.node&&!a.Z.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function u(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function h(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered((function(t){return c(t,n,i,-1/0),!0}))}}function c(t,e,n,i){var r=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),u=0;u<s.length;u++)i=Math.max(c(s[u],e,n,i),i);else t.z=e,t.zlevel=n,i=Math.max(t.z2,i);if(r&&(r.z=e,r.zlevel=n,isFinite(i)&&(r.z2=i+2)),o){var l=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(i)&&(o.z2=i+(l&&l.showAbove?1:-1))}return i}function f(t,e){e.eachRendered((function(t){if(!xt.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function p(t,e){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(xt.eq(t))return;if(t instanceof wt.ZP&&(0,bt.e9)(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}un=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),ln(t,!0),ln(t,!1),e.plan()},ln=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,u=0;u<r.length;u++)r[u].__alive=!1;function l(t){var u=t.__requireNewView;t.__requireNewView=!1;var l="_ec_"+t.id+"_"+t.type,h=!u&&o[l];if(!h){var c=(0,de.u9)(t.type),f=e?vt.Z.getClass(c.main,c.sub):yt.Z.getClass(c.sub);0,h=new f,h.init(n,s),o[l]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=l,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(h,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&l(e)})):n.eachSeries(l);for(u=0;u<r.length;){var h=r[u];h.__alive?u++:(!e&&h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(u,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},hn=function(t,e,n,i,r){var a=t._model;if(a.setUpdatePayload(n),i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var u={mainType:i,query:s};r&&(u.subType=r);var h,c=n.excludeSeriesId;null!=c&&(h=(0,o.kW)(),(0,o.S6)(l.kF(c),(function(t){var e=l.U5(t,null);null!=e&&h.set(e,!0)}))),a&&a.eachComponent(u,(function(e){var i=h&&null!=h.get(e.id);if(!i)if((0,bt.xp)(n))if(e instanceof gt.Z)n.type!==bt.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,bt.UL)(e,n,t._api);else{var r=(0,bt.oJ)(e.mainType,e.componentIndex,n.name,t._api),a=r.focusSelf,s=r.dispatchers;n.type===bt.Ki&&a&&!n.notBlur&&(0,bt.zI)(e.mainType,e.componentIndex,t._api),s&&(0,o.S6)(s,(function(t){n.type===bt.Ki?(0,bt.fD)(t):(0,bt.Mh)(t)}))}else(0,bt.aG)(n)&&e instanceof gt.Z&&((0,bt.og)(e,n,t._api),(0,bt.ci)(e),Tn(t))}),t),a&&a.eachComponent(u,(function(e){var n=h&&null!=h.get(e.id);n||f(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else(0,o.S6)([].concat(t._componentsViews).concat(t._chartsViews),f);function f(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}},cn={prepareAndUpdate:function(t){un(this),cn.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),pn(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),_n(this,i,r,e,n);var u=i.get("backgroundColor")||"transparent",l=i.get("darkMode");o.setBackgroundColor(u),null!=l&&"auto"!==l&&o.setDarkMode(l),Pe.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var a=[];i.eachComponent((function(t,o){if("series"!==t){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var u=s.updateTransform(o,i,r,e);u&&u.update&&a.push(s)}else a.push(s)}}));var s=(0,o.kW)();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var a=o.updateTransform(t,i,r,e);a&&a.update&&s.set(t.uid,1)}else s.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:s}),wn(this,i,r,e,{},s),Pe.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),yt.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),_n(this,n,this._api,e,{}),Pe.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),yt.Z.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){var r=n._chartsMap[t.__viewId];r.updateVisual(t,i,n._api,e)})),Pe.trigger("afterupdate",i,this._api))},updateLayout:function(t){cn.update.call(this,t)}},fn=function(t,e,n,i){if(t._disposed)An(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=l.pm(o,n),u=0;u<a.length;u++){var h=a[u];if(h[e]&&null!=(r=h[e](o,s,i)))return r}0}},pn=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},dn=function(t,e){var n=this,i=this.getModel(),r=t.type,a=t.escapeConnect,s=On[r],u=s.actionInfo,h=(u.update||"update").split(":"),c=h.pop(),f=null!=h[0]&&(0,de.u9)(h[0]);this[je]=!0;var p=[t],d=!1;t.batch&&(d=!0,p=(0,o.UI)(t.batch,(function(e){return e=(0,o.ce)((0,o.l7)({},e),t),e.batch=null,e})));var g,v=[],y=(0,bt.aG)(t),m=(0,bt.xp)(t);if(m&&(0,bt.T5)(this._api),(0,o.S6)(p,(function(e){if(g=s.action(e,n._model,n._api),g=g||(0,o.l7)({},e),g.type=u.event||g.type,v.push(g),m){var i=l.zH(t),r=i.queryOptionMap,a=i.mainTypeSpecified,h=a?r.keys()[0]:"series";hn(n,c,e,h),Tn(n)}else y?(hn(n,c,e,"series"),Tn(n)):f&&hn(n,c,e,f.main,f.sub)})),"none"!==c&&!m&&!y&&!f)try{this[Je]?(un(this),cn.update.call(this,t),this[Je]=null):cn[c].call(this,t)}catch(w){throw this[je]=!1,w}if(g=d?{type:u.event||r,escapeConnect:a,batch:v}:v[0],this[je]=!1,!e){var _=this._messageCenter;if(_.trigger(g.type,g),y){var x={type:"selectchanged",escapeConnect:a,selected:(0,bt.C5)(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};_.trigger(x.type,x)}}},gn=function(t){var e=this._pendingActions;while(e.length){var n=e.shift();dn.call(this,n,t)}},vn=function(t){!t&&this.trigger("updated")},yn=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[Je]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},mn=function(t,e){t.on("mouseover",(function(t){var n=t.target,i=(0,ke.o)(n,bt.Av);i&&((0,bt.$l)(i,t,e._api),Tn(e))})).on("mouseout",(function(t){var n=t.target,i=(0,ke.o)(n,bt.Av);i&&((0,bt.xr)(i,t,e._api),Tn(e))})).on("click",(function(t){var n=t.target,i=(0,ke.o)(n,(function(t){return null!=(0,St.A)(t).dataIndex}),!0);if(i){var r=i.selected?"unselect":"select",o=(0,St.A)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},_n=function(t,n,i,r,a){e(n),xn(t,n,i,r,a),(0,o.S6)(t._chartsViews,(function(t){t.__alive=!1})),wn(t,n,i,r,a),(0,o.S6)(t._chartsViews,(function(t){t.__alive||t.remove(n,i)}))},xn=function(t,e,n,i,r,a){(0,o.S6)(a||t._componentsViews,(function(t){var r=t.__model;f(r,t),t.render(r,e,n,i),h(r,t),p(r,t)}))},wn=function(t,e,n,i,a,s){var l=t._scheduler;a=(0,o.l7)(a||{},{updatedSeries:e.getSeries()}),Pe.trigger("series:beforeupdate",e,n,a);var c=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;l.updatePayload(r,i),f(e,n),s&&s.get(e.uid)&&r.dirty(),r.perform(l.getPerformArgs(r))&&(c=!0),n.group.silent=!!e.get("silent"),u(e,n),(0,bt.ci)(e)})),l.unfinished=c||l.unfinished,Pe.trigger("series:layoutlabels",e,n,a),Pe.trigger("series:transition",e,n,a),e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];h(e,n),p(e,n)})),r(t,e),Pe.trigger("series:afterupdate",e,n,a)},Tn=function(t){t[Qe]=!0,t.getZr().wakeUp()},Mn=function(t){t[Qe]&&(t.getZr().storage.traverse((function(t){xt.eq(t)||n(t)})),t[Qe]=!1)},Sn=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,bt.fD)(e,n),Tn(t)},n.prototype.leaveEmphasis=function(e,n){(0,bt.Mh)(e,n),Tn(t)},n.prototype.enterBlur=function(e){(0,bt.SX)(e),Tn(t)},n.prototype.leaveBlur=function(e){(0,bt.VP)(e),Tn(t)},n.prototype.enterSelect=function(e){(0,bt.XX)(e),Tn(t)},n.prototype.leaveSelect=function(e){(0,bt.SJ)(e),Tn(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(L))(t)},bn=function(t){function e(t,e){for(var n=0;n<t.length;n++){var i=t[n];i[tn]=e}}(0,o.S6)(Ln,(function(n,i){t._messageCenter.on(i,(function(n){if(Fn[t.group]&&t[tn]!==en){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];(0,o.S6)(En,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,en),(0,o.S6)(r,(function(t){t[tn]!==nn&&t.dispatchAction(i)})),e(r,rn)}}))}))}}(),e}(u.Z),In=Cn.prototype;In.on=on("on"),In.off=on("off"),In.one=function(t,e,n){var i=this;function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];e&&e.apply&&e.apply(this,n),i.off(t,r)}(0,Se.Sh)("ECharts#one is deprecated."),this.on.call(this,t,r,n)};var Pn=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function An(t){0}var On={},Ln={},Rn=[],Zn=[],zn=[],Bn={},Nn={},En={},Fn={},Wn=+new Date-0,Hn=(new Date,"_echarts_instance_");function Vn(t,e,n){var i=!(n&&n.ssr);if(i){0;var r=Un(t);if(r)return r;0}var o=new Cn(t,e,n);return o.id="ec_"+Wn++,En[o.id]=o,i&&l.P$(t,Hn,o.id),bn(o),Pe.trigger("afterinit",o),o}function Un(t){return En[l.IL(t,Hn)]}function Gn(t,e){Bn[t]=e}function Xn(t){(0,o.cq)(Zn,t)<0&&Zn.push(t)}function Yn(t,e){ni(Rn,t,e,Be)}function qn(t){jn("afterinit",t)}function Kn(t){jn("afterupdate",t)}function jn(t,e){Pe.on(t,e)}function Jn(t,e,n){(0,o.mf)(e)&&(n=e,e="");var i=(0,o.Kn)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,Ln[e]||((0,o.hu)($e.test(i)&&$e.test(e)),On[i]||(On[i]={action:n,actionInfo:t}),Ln[e]=i)}function Qn(t,e){R.Z.register(t,e)}function $n(t,e){ni(zn,t,e,Ee,"layout")}function ti(t,e){ni(zn,t,e,He,"visual")}var ei=[];function ni(t,e,n,i,r){if(((0,o.mf)(e)||(0,o.Kn)(e))&&(n=e,e=i),!((0,o.cq)(ei,n)>=0)){ei.push(n);var a=oe.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function ii(t,e){Nn[t]=e}function ri(t,e,n){var i=(0,Oe.C)("registerMap");i&&i(t,e,n)}var oi=Te.DA;ti(We,Lt),ti(Ue,Zt),ti(Ue,zt),ti(We,me),ti(Ue,_e),ti(qe,Ce),Xn(ct),Yn(Ze,pt),ii("default",Wt),Jn({type:bt.Ki,event:bt.Ki,update:bt.Ki},o.ZT),Jn({type:bt.yx,event:bt.yx,update:bt.yx},o.ZT),Jn({type:bt.Hg,event:bt.Hg,update:bt.Hg},o.ZT),Jn({type:bt.JQ,event:bt.JQ,update:bt.JQ},o.ZT),Jn({type:bt.iK,event:bt.iK,update:bt.iK},o.ZT),Gn("light",se),Gn("dark",pe)},25587:function(t,e,n){n.d(e,{C:function(){return o},M:function(){return r}});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},62645:function(t,e,n){n.d(e,{sO:function(){return p},D0:function(){return g},Li:function(){return y},G8:function(){return v}});var i=n(85632),r=n(59979),o={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},a={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},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(95797),u="ZH",l="EN",h=l,c={},f={},p=r.Z.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage||h).toUpperCase();return t.indexOf(u)>-1?u:h}():h;function d(t,e){t=t.toUpperCase(),f[t]=new i.Z(e),c[t]=e}function g(t){if((0,s.HD)(t)){var e=c[t.toUpperCase()]||{};return t===u||t===l?(0,s.d9)(e):(0,s.TS)((0,s.d9)(e),(0,s.d9)(c[h]),!1)}return(0,s.TS)((0,s.d9)(t),(0,s.d9)(c[h]),!1)}function v(t){return f[t]}function y(){return f[h]}d(l,o),d(u,a)},17787:function(t,e,n){n.d(e,{v:function(){return r}});var i=n(95797);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var a,s=c(this._modBy),u=this._modDataCount||0,l=c(t&&t.modBy),h=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}s===l&&u===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(r)),this._modBy=l,this._modDataCount=h;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(a||p<d)){var g=this._progress;if((0,i.kJ)(g))for(var v=0;v<g.length;v++)this._doProgress(g[v],p,d,l,h);else this._doProgress(g,p,d,l,h)}this._dueIndex=d;var y=null!=this._settedOutputEnd?this._settedOutputEnd:d;0,this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.kJ)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(u,l,h,c){e=u,t=l,n=h,i=c,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},18517:function(t,e,n){n.d(e,{hG:function(){return h}});var i,r=n(95797),o=n(63354),a=n(26214),s="undefined",u=typeof Uint32Array===s?Array:Uint32Array,l=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,f={float:c,int:h,ordinal:Array,number:Array,time:c};function p(t){return t>65535?u:l}function d(){return[1/0,-1/0]}function g(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function v(t,e,n,i,r){var o=f[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var u=new o(i),l=0;l<s;l++)u[l]=a[l];t[e]=u}}else t[e]=new o(i)}var y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.kW)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[];(0,a.QY)(o);this._dimensions=(0,r.UI)(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new f[e||"float"](this._rawCount),this._rawExtent[r]=d(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=d());for(var s=r[t],u=o;u<a;u++){var l=n[u]=e.parseAndCollect(n[u]);isNaN(l)||(s[0]=Math.min(l,s[0]),s[1]=Math.max(l,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),u=s+Math.max(t.length,e||0),l=0;l<o;l++){var h=r[l];v(n,l,h.type,u,!0)}for(var c=[],f=s;f<u;f++)for(var p=f-s,d=0;d<o;d++){h=r[d];var g=i.arrayRows.call(this,t[p]||c,h.property,p,d);n[d][f]=g;var y=a[d];g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,l=(0,r.UI)(a,(function(t){return t.property})),h=0;h<s;h++){var c=a[h];u[h]||(u[h]=d()),v(o,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,u);else for(var f=[],p=t;p<e;p++){f=i.getItem(p,f);for(var g=0;g<s;g++){var y=o[g],m=this._dimValueGetter(f,l[g],p,g);y[p]=m;var _=u[g];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;var i=0,r=this._count-1;while(i<=r){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,u=0,l=0,h=this.count();l<h;l++){var c=this.getRawIndex(l),f=e-r[c],p=Math.abs(f);p<=n&&((p<a||p===a&&f>=0&&s<0)&&(a=p,s=f,u=0),f===s&&(o[u++]=l))}return o.length=u,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{n=p(this._rawCount);t=new n(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=p(n._rawCount),o=new r(i),a=[],s=t.length,u=0,l=t[0],h=n._chunks,c=0;c<i;c++){var f=void 0,d=n.getRawIndex(c);if(0===s)f=e(c);else if(1===s){var g=h[l][d];f=e(g,c)}else{for(var v=0;v<s;v++)a[v]=h[t[v]][d];a[v]=c,f=e.apply(null,a)}f&&(o[u++]=d)}return u<i&&(n._indices=o),n._count=u,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.XP)(t),o=i.length;if(!o)return this;var a=e.count(),s=p(e._rawCount),u=new s(a),l=0,h=i[0],c=t[h][0],f=t[h][1],d=e._chunks,g=!1;if(!e._indices){var v=0;if(1===o){for(var y=d[i[0]],m=0;m<n;m++){var _=y[m];(_>=c&&_<=f||isNaN(_))&&(u[l++]=v),v++}g=!0}else if(2===o){y=d[i[0]];var x=d[i[1]],w=t[i[1]][0],S=t[i[1]][1];for(m=0;m<n;m++){_=y[m];var b=x[m];(_>=c&&_<=f||isNaN(_))&&(b>=w&&b<=S||isNaN(b))&&(u[l++]=v),v++}g=!0}}if(!g)if(1===o)for(m=0;m<a;m++){var T=e.getRawIndex(m);_=d[i[0]][T];(_>=c&&_<=f||isNaN(_))&&(u[l++]=T)}else for(m=0;m<a;m++){for(var M=!0,k=(T=e.getRawIndex(m),0);k<o;k++){var D=i[k];_=d[D][T];(_<t[D][0]||_>t[D][1])&&(M=!1)}M&&(u[l++]=e.getRawIndex(m))}return l<a&&(e._indices=u),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,l=0;l<e.length;l++)u[e[l]]=d();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),f=0;f<o;f++)s[f]=i[e[f]][c];s[o]=h;var p=n&&n.apply(null,s);if(null!=p){"object"!==typeof p&&(r[0]=p,p=r);for(l=0;l<p.length;l++){var g=e[l],v=p[l],y=u[g],m=i[g];m&&(m[c]=v),v<y[0]&&(y[0]=v),v>y[1]&&(y[1]=v)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks,s=a[t],u=this.count(),l=0,h=Math.floor(1/e),c=this.getRawIndex(0),f=new(p(this._rawCount))(Math.min(2*(Math.ceil(u/h)+2),u));f[l++]=c;for(var d=1;d<u-1;d+=h){for(var g=Math.min(d+h,u-1),v=Math.min(d+2*h,u),y=(v+g)/2,m=0,_=g;_<v;_++){var x=this.getRawIndex(_),w=s[x];isNaN(w)||(m+=w)}m/=v-g;var S=d,b=Math.min(d+h,u),T=d-1,M=s[c];n=-1,r=S;var k=-1,D=0;for(_=S;_<b;_++){x=this.getRawIndex(_),w=s[x];isNaN(w)?(D++,k<0&&(k=x)):(i=Math.abs((T-y)*(w-M)-(T-_)*(m-M)),i>n&&(n=i,r=x))}D>0&&D<b-S&&(f[l++]=Math.min(k,r),r=Math.max(k,r)),f[l++]=r,c=r}return f[l++]=this.getRawIndex(u-1),o._count=l,o._indices=f,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),u=o[t],l=this.count(),h=r._rawExtent[t]=d(),c=new(p(this._rawCount))(Math.ceil(l/s)),f=0,g=0;g<l;g+=s){s>l-g&&(s=l-g,a.length=s);for(var v=0;v<s;v++){var y=this.getRawIndex(g+v);a[v]=u[y]}var m=n(a),_=this.getRawIndex(Math.min(g+i(a,m)||0,l-1));u[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[f++]=_}return r._count=f,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,u=[];s<n;s++)u[s]=i[t[s]][a];u[s]=r,e.apply(null,u)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=d();if(!e)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var a=i[0],s=i[1],u=0;u<r;u++){var l=this.getRawIndex(u),h=e[l];h<a&&(a=h),h>s&&(s=h)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.u4)(e,(function(t,e){return t[e]=!0,t}),{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?g(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.d9)(this._extent),t._rawExtent=(0,r.d9)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}();e["ZP"]=y},41021:function(t,e,n){var i=n(95797),r=0,o=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,o=r&&(0,i.UI)(r,a);return new t({categories:o,needCollect:!o,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.HD)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return e=r.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.kW)(this.categories))},t}();function a(t){return(0,i.Kn)(t)&&null!=t.value?t.value:t+""}e["Z"]=o},5244:function(t,e,n){n.d(e,{Z:function(){return L}});var i=n(95797),r=n(85632);function o(t){return null==t?0:t.length||1}function a(t){return t}var s,u,l,h,c,f,p,d=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||a,this._newKeyGetter=i||a,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],u=n[s],l=o(u);if(l>1){var h=u.shift();1===u.length&&(n[s]=u[0]),this._update&&this._update(h,a)}else 1===l?(n[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],a=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s<r.length;s++){var u=r[s],l=n[u],h=i[u],c=o(l),f=o(h);if(c>1&&1===f)this._updateManyToOne&&this._updateManyToOne(h,l),i[u]=null;else if(1===c&&f>1)this._updateOneToMany&&this._updateOneToMany(h,l),i[u]=null;else if(1===c&&1===f)this._update&&this._update(h,l),i[u]=null;else if(c>1&&f>1)this._updateManyToMany&&this._updateManyToMany(h,l),i[u]=null;else if(c>1)for(var p=0;p<c;p++)this._remove&&this._remove(l[p]);else this._remove&&this._remove(l)}this._performRestAdd(a,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],a=o(r);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(r[s]);else 1===a&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(r||(n[a]=s),e){var u=e[s],l=o(u);0===l?(e[s]=a,r&&n.push(s)):1===l?e[s]=[u,a]:u.push(a)}}},t}(),g=d,v=n(29221),y=n(50876),m=n(87112),_=n(86594),x=n(38496),w=n(75195),S=n(26214),b=n(18517),T=n(7846),M=i.Kn,k=i.UI,D="undefined"===typeof Int32Array?Array:Int32Array,C="e\0\0",I=-1,P=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],A=["_approximateExtent"],O=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;(0,T.bB)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var o={},a=[],s={},u=!1,l={},h=0;h<n.length;h++){var c=n[h],f=i.HD(c)?new m.Z({name:c}):c instanceof m.Z?c:new m.Z(c),p=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=p,f.coordDimIndex=0);var d=f.otherDims=f.otherDims||{};a.push(p),o[p]=f,null!=l[p]&&(u=!0),f.createInvertedIndices&&(s[p]=[]),0===d.itemName&&(this._nameDimIdx=h),0===d.itemId&&(this._idDimIdx=h),r&&(f.storeDimIndex=h)}if(this.dimensions=a,this._dimInfos=o,this._initGetDimensionInfo(u),this.hostModel=e,this._invertedIndicesMap=s,this._dimOmitted){var g=this._dimIdxToName=i.kW();i.S6(a,(function(t){g.set(o[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(i.hj(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var r,o=this;if(t instanceof b.ZP&&(r=t),!r){var a=this.dimensions,s=(0,S.Ld)(t)||i.zG(t)?new v.Pl(t,a.length):t;r=new b.ZP;var u=k(a,(function(t){return{type:o._dimInfos[t].type,property:t}}));r.initData(s,u,n)}this._store=r,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=(0,y.y)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&p(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==_.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList,a=i.getSource().sourceFormat,u=a===_.cy;if(u&&!i.pure)for(var l=[],h=t;h<e;h++){var c=i.getItem(h,l);if(!this.hasItemOption&&(0,x.Co)(c)&&(this.hasItemOption=!0),c){var f=c.name;null==r[h]&&null!=f&&(r[h]=(0,x.U5)(f,null));var d=c.id;null==o[h]&&null!=d&&(o[h]=(0,x.U5)(d,null))}}if(this._shouldMakeIdFromName())for(h=t;h<e;h++)p(this,h);s(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){M(t)?i.l7(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=l(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return u(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,r=this._store;return i.kJ(t)?r.getValues(k(t,(function(t){return n._getStoreDimIndex(t)})),e):r.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n[e];return null==i||isNaN(i)?I:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){i.mf(t)&&(n=e,e=t,t=[]);var r=n||this,o=k(h(t),this._getStoreDimIndex,this);this._store.each(o,r?i.ak(e,r):e)},t.prototype.filterSelf=function(t,e,n){i.mf(t)&&(n=e,e=t,t=[]);var r=n||this,o=k(h(t),this._getStoreDimIndex,this);return this._store=this._store.filter(o,r?i.ak(e,r):e),this},t.prototype.selectRange=function(t){var e=this,n={},r=i.XP(t),o=[];return i.S6(r,(function(i){var r=e._getStoreDimIndex(i);n[r]=t[i],o.push(r)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){i.mf(t)&&(n=e,e=t,t=[]),n=n||this;var r=[];return this.each(t,(function(){r.push(e&&e.apply(this,arguments))}),n),r},t.prototype.map=function(t,e,n,r){var o=n||r||this,a=k(h(t),this._getStoreDimIndex,this),s=f(this);return s._store=this._store.map(a,o?i.ak(e,o):e),s},t.prototype.modify=function(t,e,n,r){var o=n||r||this;var a=k(h(t),this._getStoreDimIndex,this);this._store.modify(a,o?i.ak(e,o):e)},t.prototype.downSample=function(t,e,n,i){var r=f(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=f(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new r.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new g(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return u(t,e)}),(function(t){return u(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},M(t)?i.l7(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var o=r[e];return null==o&&(o=this.getVisual(e),i.kJ(o)?o=o.slice():M(o)&&(o=i.l7({},o)),r[e]=o),o},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,M(e)?i.l7(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){M(t)?i.l7(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.l7(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,w.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){i.S6(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:k(this.dimensions,this._getDimInfo,this),this.hostModel)),c(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];i.mf(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.tP(arguments)))})},t.internalField=function(){s=function(t){var e=t._invertedIndicesMap;i.S6(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new D(o.categories.length);for(var s=0;s<n.length;s++)n[s]=I;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},l=function(t,e,n){return(0,x.U5)(t._getCategory(e,n),null)},u=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=l(t,t._idDimIdx,e)),null==n&&(n=C+e),n},h=function(t){return i.kJ(t)||(t=null!=t?[t]:[]),t},f=function(e){var n=new t(e._schema?e._schema:k(e.dimensions,e._getDimInfo,e),e.hostModel);return c(n,e),n},c=function(t,e){i.S6(P.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,i.S6(A,(function(n){t[n]=i.d9(e[n])})),t._calculationInfo=i.l7({},e._calculationInfo)},p=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=l(t,r,e)),null==s&&null!=o&&(i[e]=s=l(t,o,e)),null==s&&null!=a){var u=t._nameRepeatCount,h=u[a]=(u[a]||0)+1;s=a,h>1&&(s+="__ec__"+h),i[e]=s}}}(),t}(),L=O},87112:function(t,e,n){var i=n(95797),r=function(){function t(t){this.otherDims={},null!=t&&i.l7(this,t)}return t}();e["Z"]=r},26214:function(t,e,n){n.d(e,{Kp:function(){return f},Ld:function(){return u},ML:function(){return c},QY:function(){return y},_P:function(){return l},nx:function(){return h}});var i=n(95797),r=n(86594),o=n(38496),a=n(45452),s=function(){function t(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.u7)(this,n)===a.Dq.Must&&(i.type="ordinal")}}return t}();function u(t){return t instanceof s}function l(t,e,n){n=n||f(t);var r=e.seriesLayoutBy,o=p(t,n,r,e.sourceHeader,e.dimensions),a=new s({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:o.dimensionsDefine,startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount,metaRawOption:(0,i.d9)(e)});return a}function h(t){return new s({data:t,sourceFormat:(0,i.fU)(t)?r.J5:r.cy})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.d9)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function f(t){var e=r.RA;if((0,i.fU)(t))e=r.J5;else if((0,i.kJ)(t)){0===t.length&&(e=r.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.kJ)(a)||(0,i.fU)(a)){e=r.XD;break}if((0,i.Kn)(a)){e=r.qb;break}}}}else if((0,i.Kn)(t))for(var s in t)if((0,i.RI)(t,s)&&(0,i.zG)(t[s])){e=r.hL;break}return e}function p(t,e,n,a,s){var u,l;if(!t)return{dimensionsDefine:g(s),startIndex:l,dimensionsDetectedCount:u};if(e===r.XD){var h=t;"auto"===a||null==a?v((function(t){null!=t&&"-"!==t&&((0,i.HD)(t)?null==l&&(l=1):l=0)}),n,h,10):l=(0,i.hj)(a)?a:a?1:0,s||1!==l||(s=[],v((function(t,e){s[e]=null!=t?t+"":""}),n,h,1/0)),u=s?s.length:n===r.Wc?h.length:h[0]?h[0].length:null}else if(e===r.qb)s||(s=d(t));else if(e===r.hL)s||(s=[],(0,i.S6)(t,(function(t,e){s.push(e)})));else if(e===r.cy){var c=(0,o.C4)(t[0]);u=(0,i.kJ)(c)&&c.length||1}else r.J5;return{startIndex:l,dimensionsDefine:g(s),dimensionsDetectedCount:u}}function d(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e)return(0,i.XP)(e)}function g(t){if(t){var e=(0,i.kW)();return(0,i.UI)(t,(function(t,n){t=(0,i.Kn)(t)?t:{name:t};var r={name:t.name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r}))}}function v(t,e,n,i){if(e===r.Wc)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else{var a=n[0]||[];for(o=0;o<a.length&&o<i;o++)t(a[o],o)}}function y(t){var e=t.sourceFormat;return e===r.qb||e===r.hL}},7846:function(t,e,n){n.d(e,{Eo:function(){return u},Jj:function(){return c},Jl:function(){return f},bB:function(){return l},v5:function(){return h}});var i=n(95797),r=n(38496),o=n(26214),a=(0,r.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},u=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.pD)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!f(t),i="",r=[],a=0,u=0;a<t;a++){var l=void 0,h=void 0,c=void 0,p=this.dimensions[u];if(p&&p.storeDimIndex===a)l=e?p.name:null,h=p.type,c=p.ordinalMeta,u++;else{var d=this.getSourceDimension(a);d&&(l=e?d.name:null,h=d.type)}r.push({property:l,type:h,ordinalMeta:c}),!e||null==l||p&&p.isCalculationCoord||(i+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),i+="$",i+=s[h]||"f",c&&(i+=c.uid),i+="$"}var g=this.source,v=[g.seriesLayoutBy,g.startIndex,i].join("$$");return{dimensions:r,hash:v}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function l(t){return t instanceof u}function h(t){for(var e=(0,i.kW)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.Kn)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function f(t){return t>30}},32262:function(t,e,n){n.d(e,{Z:function(){return c}});var i=n(86594),r=n(87112),o=n(95797),a=n(26214),s=n(18517),u=n(38496),l=n(45452),h=n(7846);function c(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t)),e=e||{};var n=e.coordDimensions||[],c=e.dimensionsDefine||t.dimensionsDefine||[],g=(0,o.kW)(),v=[],y=p(t,n,c,e.dimensionsCount),m=e.canOmitUnusedDimensions&&(0,h.Jl)(y),_=c===t.dimensionsDefine,x=_?(0,h.Jj)(t):(0,h.v5)(c),w=e.encodeDefine;!w&&e.encodeDefaulter&&(w=e.encodeDefaulter(t,y));for(var S=(0,o.kW)(w),b=new s.hG(y),T=0;T<b.length;T++)b[T]=-1;function M(t){var e=b[t];if(e<0){var n=c[t],i=(0,o.Kn)(n)?n:{name:n},a=new r.Z,s=i.name;null!=s&&null!=x.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=v.length;return b[t]=u,a.storeDimIndex=t,v.push(a),a}return v[e]}if(!m)for(T=0;T<y;T++)M(T);S.each((function(t,e){var n=(0,u.kF)(t).slice();if(1===n.length&&!(0,o.HD)(n[0])&&n[0]<0)S.set(e,!1);else{var i=S.set(e,[]);(0,o.S6)(n,(function(t,n){var r=(0,o.HD)(t)?x.get(t):t;null!=r&&r<y&&(i[n]=r,D(M(r),e,n))}))}}));var k=0;function D(t,e,n){null!=i.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,g.set(e,!0))}(0,o.S6)(n,(function(t){var e,n,i,r;if((0,o.HD)(t))e=t,r={};else{r=t,e=r.name;var a=r.ordinalMeta;r.ordinalMeta=null,r=(0,o.l7)({},r),r.ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=S.get(e);if(!1!==s){if(s=(0,u.kF)(s),!s.length)for(var l=0;l<(n&&n.length||1);l++){while(k<y&&null!=M(k).coordDim)k++;k<y&&s.push(k++)}(0,o.S6)(s,(function(t,a){var s=M(t);if(_&&null!=r.type&&(s.type=r.type),D((0,o.ce)(s,r),e,a),null==s.name&&n){var u=n[a];!(0,o.Kn)(u)&&(u={name:u}),s.name=s.displayName=u.name,s.defaultTooltip=u.defaultTooltip}i&&(0,o.ce)(s.otherDims,i)}))}}));var C=e.generateCoord,I=e.generateCoordCount,P=null!=I;I=C?I||1:0;var A=C||"value";function O(t){null==t.name&&(t.name=t.coordDim)}if(m)(0,o.S6)(v,(function(t){O(t)})),v.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var L=0;L<y;L++){var R=M(L),Z=R.coordDim;null==Z&&(R.coordDim=d(A,g,P),R.coordDimIndex=0,(!C||I<=0)&&(R.isExtraCoord=!0),I--),O(R),null!=R.type||(0,l.u7)(t,L)!==l.Dq.Must&&(!R.isExtraCoord||null==R.otherDims.itemName&&null==R.otherDims.seriesName)||(R.type="ordinal")}return f(v),new h.Eo({source:t,dimensions:v,fullDimensionCount:y,dimensionOmitted:m})}function f(t){for(var e=(0,o.kW)(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}function p(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return(0,o.S6)(e,(function(t){var e;(0,o.Kn)(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function d(t,e,n){if(n||e.hasKey(t)){var i=0;while(e.hasKey(t+i))i++;t+=i}return e.set(t,!0),t}},29221:function(t,e,n){n.d(e,{Pl:function(){return f},_j:function(){return g},a:function(){return m},hk:function(){return b},tB:function(){return w}});var i,r,o,a,s,u=n(95797),l=n(38496),h=n(26214),c=n(86594),f=function(){function t(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,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,r,o){var s=o.sourceFormat,l=o.seriesLayoutBy,h=o.startIndex,f=o.dimensionsDefine,p=a[S(s,l)];if((0,u.l7)(t,p),s===c.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var d=g(s,l);t.getItem=(0,u.ak)(d,null,r,h,f);var v=m(s,l);t.count=(0,u.ak)(v,null,r,h,f)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],u=null==s[0]?1/0:s[0],l=null==s[1]?-1/0:s[1],h=e-t,c=n[a],f=0;f<h;f++){var p=r[f*o+a];c[t+f]=p,p<u&&(u=p),p>l&&(l=p)}s[0]=u,s[1]=l}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}t={},t[c.XD+"_"+c.fY]={pure:!0,appendData:r},t[c.XD+"_"+c.Wc]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.qb]={pure:!0,appendData:r},t[c.hL]={pure:!0,appendData:function(t){var e=this._data;(0,u.S6)(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[c.cy]={appendData:r},t[c.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),t}(),p=function(t,e,n,i){return t[i]},d=(i={},i[c.XD+"_"+c.fY]=function(t,e,n,i){return t[i+e]},i[c.XD+"_"+c.Wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var u=a[s];o[s]=u?u[i]:null}return o},i[c.qb]=p,i[c.hL]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name;0;var u=t[s];o[a]=u?u[i]:null}return o},i[c.cy]=p,i);function g(t,e){var n=d[S(t,e)];return n}var v=function(t,e,n){return t.length},y=(r={},r[c.XD+"_"+c.fY]=function(t,e,n){return Math.max(0,t.length-e)},r[c.XD+"_"+c.Wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[c.qb]=v,r[c.hL]=function(t,e,n){var i=n[0].name;var r=t[i];return r?r.length:0},r[c.cy]=v,r);function m(t,e){var n=y[S(t,e)];return n}var _=function(t,e,n){return t[e]},x=(o={},o[c.XD]=_,o[c.qb]=function(t,e,n){return t[n]},o[c.hL]=_,o[c.cy]=function(t,e,n){var i=(0,l.C4)(t);return i instanceof Array?i[e]:i},o[c.J5]=_,o);function w(t){var e=x[t];return e}function S(t,e){return t===c.XD?t+"_"+e:t}function b(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return w(o)(i,a,s)}var u=i;return o===c.cy&&(u=(0,l.C4)(i)),u}}}},86366:function(t,e,n){n.d(e,{BM:function(){return o},IR:function(){return u},M:function(){return s}});var i=n(95797),r=n(7846);function o(t,e,n){n=n||{};var r,o,s,u=n.byIndex,l=n.stackedCoordDimension;a(e)?r=e:(o=e.schema,r=o.dimensions,s=e.store);var h,c,f,p,d=!(!t||!t.get("stack"));if((0,i.S6)(r,(function(t,e){(0,i.HD)(t)&&(r[e]=t={name:t}),d&&!t.isExtraCoord&&(u||h||!t.ordinalMeta||(h=t),c||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(c=t))})),!c||u||h||(u=!0),c){f="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,h&&(h.createInvertedIndices=!0);var g=c.coordDim,v=c.type,y=0;(0,i.S6)(r,(function(t){t.coordDim===g&&y++}));var m={name:f,coordDim:g,coordDimIndex:y,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},_={name:p,coordDim:p,coordDimIndex:y+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};o?(s&&(m.storeDimIndex=s.ensureCalculationDimension(p,v),_.storeDimIndex=s.ensureCalculationDimension(f,v)),o.appendCalculationDimension(m),o.appendCalculationDimension(_)):(r.push(m),r.push(_))}return{stackedDimension:c&&c.name,stackedByDimension:h&&h.name,isStackedByIndex:u,stackedOverDimension:p,stackResultDimension:f}}function a(t){return!(0,r.bB)(t.schema)}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function u(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}},63354:function(t,e,n){n.d(e,{ID:function(){return u},yQ:function(){return a}});var i=n(41201),r=n(95797),o=n(3313);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.hj)(t)||null==t||"-"===t||(t=+(0,i.sG)(t)),null==t||""===t?NaN:Number(t))}(0,r.kW)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i.sG)(t)},trim:function(t){return(0,r.HD)(t)?(0,r.fy)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},u=(function(){function t(t,e){if(!(0,r.hj)(e)){var n="";0,(0,o._y)(n)}this._opFn=s[t],this._rvalFloat=(0,i.FK)(e)}t.prototype.evaluate=function(t){return(0,r.hj)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)}}(),function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.hj)(t)?t:(0,i.FK)(t),o=(0,r.hj)(e)?e:(0,i.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var u=(0,r.HD)(t),l=(0,r.HD)(e);u&&(n=l?t:0),l&&(o=u?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}());(function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(e)}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=(0,i.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}})()},50876:function(t,e,n){n.d(e,{T:function(){return u},y:function(){return a}});var i=n(95797),r=n(86594),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},u=(0,i.kW)(),h=[],c=[],f={};(0,i.S6)(t.dimensions,(function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){0;var o=n.coordDimIndex;s(a,i)[o]=e,n.isExtraCoord||(u.set(i,1),l(n.type)&&(h[0]=e),s(f,i)[o]=t.getDimensionIndex(n.name)),n.defaultTooltip&&c.push(e)}r.f7.each((function(t,e){var i=s(a,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)}))}));var p=[],d={};u.each((function(t,e){var n=a[e];d[e]=n[0],p=p.concat(n)})),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.UI)(p,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=d;var g=a.label;g&&g.length&&(h=g.slice());var v=a.tooltip;return v&&v.length?c=v.slice():c.length||(c=h.slice()),a.defaultedLabel=h,a.defaultedTooltip=c,n.userOutput=new o(f,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function u(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function l(t){return!("ordinal"===t||"time"===t)}},45452:function(t,e,n){n.d(e,{Dq:function(){return a},JT:function(){return f},Ss:function(){return h},Wd:function(){return c},md:function(){return u},pY:function(){return l},u7:function(){return p}});var i=n(38496),r=n(95797),o=n(86594),a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function u(t){s(t).datasetMap=(0,r.kW)()}function l(t,e,n){var i={},o=c(e);if(!o||!t)return i;var a,u,l=[],h=[],f=e.ecModel,p=s(f).datasetMap,d=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.S6)(t,(function(e,n){var o=(0,r.Kn)(e)?e:t[n]={name:e};"ordinal"===o.type&&null==a&&(a=n,u=y(o)),i[o.name]=[]}));var g=p.get(d)||p.set(d,{categoryWayDim:u,valueWayDim:0});function v(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.S6)(t,(function(t,e){var n=t.name,r=y(t);if(null==a){var o=g.valueWayDim;v(i[n],o,r),v(h,o,r),g.valueWayDim+=r}else if(a===e)v(i[n],0,r),v(l,0,r);else{o=g.categoryWayDim;v(i[n],o,r),v(h,o,r),g.categoryWayDim+=r}})),l.length&&(i.itemName=l),h.length&&(i.seriesName=h),i}function h(t,e,n){var i={},s=c(t);if(!s)return i;var u,l=e.sourceFormat,h=e.dimensionsDefine;l!==o.qb&&l!==o.hL||(0,r.S6)(h,(function(t,e){"name"===((0,r.Kn)(t)?t.name:t)&&(u=e)}));var f=function(){for(var t={},i={},r=[],o=0,s=Math.min(5,n);o<s;o++){var c=d(e.data,l,e.seriesLayoutBy,h,e.startIndex,o);r.push(c);var f=c===a.Not;if(f&&null==t.v&&o!==u&&(t.v=o),(null==t.n||t.n===t.v||!f&&r[t.n]===a.Not)&&(t.n=o),p(t)&&r[t.n]!==a.Not)return t;f||(c===a.Might&&null==i.v&&o!==u&&(i.v=o),null!=i.n&&i.n!==i.v||(i.n=o))}function p(t){return null!=t.v&&null!=t.n}return p(t)?t:p(i)?i:null}();if(f){i.value=[f.v];var p=null!=u?u:f.n;i.itemName=[p],i.seriesName=[p]}return i}function c(t){var e=t.get("data",!0);if(!e)return(0,i.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.C6).models[0]}function f(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.C6).models:[]}function p(t,e){return d(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function d(t,e,n,s,u,l){var h,c,f,p=5;if((0,r.fU)(t))return a.Not;if(s){var d=s[l];(0,r.Kn)(d)?(c=d.name,f=d.type):(0,r.HD)(d)&&(c=d)}if(null!=f)return"ordinal"===f?a.Must:a.Not;if(e===o.XD){var g=t;if(n===o.Wc){for(var v=g[l],y=0;y<(v||[]).length&&y<p;y++)if(null!=(h=T(v[u+y])))return h}else for(y=0;y<g.length&&y<p;y++){var m=g[u+y];if(m&&null!=(h=T(m[l])))return h}}else if(e===o.qb){var _=t;if(!c)return a.Not;for(y=0;y<_.length&&y<p;y++){var x=_[y];if(x&&null!=(h=T(x[c])))return h}}else if(e===o.hL){var w=t;if(!c)return a.Not;v=w[c];if(!v||(0,r.fU)(v))return a.Not;for(y=0;y<v.length&&y<p;y++)if(null!=(h=T(v[y])))return h}else if(e===o.cy){var S=t;for(y=0;y<S.length&&y<p;y++){x=S[y];var b=(0,i.C4)(x);if(!(0,r.kJ)(b))return a.Not;if(null!=(h=T(b[l])))return h}}function T(t){var e=(0,r.HD)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},78799:function(t,e,n){n.d(e,{U:function(){return h},t:function(){return c}});var i=n(95797),r=n(26214),o=n(86594),a=n(45452),s=n(19874),u=n(18517),l=n(29221),h=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(f(n)){var u=n,l=void 0,h=void 0,c=void 0;if(s){var p=a[0];p.prepareSource(),c=p.getSource(),l=c.data,h=c.sourceFormat,e=[p._getVersionSign()]}else l=u.get("data",!0),h=(0,i.fU)(l)?o.J5:o.cy,e=[];var d=this._getSourceMetaRawOption()||{},g=c&&c.metaRawOption||{},v=(0,i.pD)(d.seriesLayoutBy,g.seriesLayoutBy)||null,y=(0,i.pD)(d.sourceHeader,g.sourceHeader),m=(0,i.pD)(d.dimensions,g.dimensions),_=v!==g.seriesLayoutBy||!!y!==!!g.sourceHeader||m;t=_?[(0,r._P)(l,{seriesLayoutBy:v,sourceHeader:y,dimensions:m},h)]:[]}else{var x=n;if(s){var w=this._applyTransform(a);t=w.sourceList,e=w.upstreamSignList}else{var S=x.get("source",!0);t=[(0,r._P)(S,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(null!=a){var u="";1!==t.length&&p(u)}var l=[],h=[];return(0,i.S6)(t,(function(t){t.prepareSource();var e=t.getSource(a||0),n="";null==a||e||p(n),l.push(e),h.push(t._getVersionSign())})),o?e=(0,s.vK)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.ML)(l[0])]),{sourceList:e,upstreamSignList:h}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=0,r=this._storeList,o=r[i];o||(o=r[i]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];f(this._sourceHost)&&s?a=s._innerGetDataStore(t,e,n):(a=new u.ZP,a.initData(new l.Pl(e,t.length),t)),o[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(f(t)){var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]}return(0,i.UI)((0,a.JT)(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(f(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function c(t){var e=t.option.transform;e&&(0,i.s7)(t.option.transform)}function f(t){return"series"===t.mainType}function p(t){throw new Error(t)}},19874:function(t,e,n){n.d(e,{DA:function(){return y},vK:function(){return m}});var i=n(86594),r=n(38496),o=n(95797),a=n(29221),s=n(63354),u=n(3313),l=n(26214),h=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.yQ)(t,e)},t}();function c(t,e){var n=new h,r=t.data,s=n.sourceFormat=t.sourceFormat,l=t.startIndex,c="";t.seriesLayoutBy!==i.fY&&(0,u._y)(c);var v=[],y={},m=t.dimensionsDefine;if(m)(0,o.S6)(m,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(v.push(i),null!=n){var r="";(0,o.RI)(y,n)&&(0,u._y)(r),y[n]=i}}));else for(var _=0;_<t.dimensionsDetectedCount;_++)v.push({index:_});var x=(0,a._j)(s,i.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return x(r,l,v,t)},n.getRawData=(0,o.ak)(f,null,t)),n.cloneRawData=(0,o.ak)(p,null,t);var w=(0,a.a)(s,i.fY);n.count=(0,o.ak)(w,null,r,l,v);var S=(0,a.tB)(s);n.retrieveValue=function(t,e){var n=x(r,l,v,t);return b(n,e)};var b=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=v[e];return n?S(t,e,n.name):void 0}};return n.getDimensionInfo=(0,o.ak)(d,null,v,y),n.cloneAllDimensionInfo=(0,o.ak)(g,null,v),n}function f(t){var e=t.sourceFormat;if(!x(e)){var n="";0,(0,u._y)(n)}return t.data}function p(t){var e=t.sourceFormat,n=t.data;if(!x(e)){var r="";0,(0,u._y)(r)}if(e===i.XD){for(var a=[],s=0,l=n.length;s<l;s++)a.push(n[s].slice());return a}if(e===i.qb){for(a=[],s=0,l=n.length;s<l;s++)a.push((0,o.l7)({},n[s]));return a}}function d(t,e,n){if(null!=n)return(0,o.hj)(n)||!isNaN(n)&&!(0,o.RI)(e,n)?t[n]:(0,o.RI)(e,n)?e[n]:void 0}function g(t){return(0,o.d9)(t)}var v=(0,o.kW)();function y(t){t=(0,o.d9)(t);var e=t.type,n="";e||(0,u._y)(n);var i=e.split(":");2!==i.length&&(0,u._y)(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,v.set(e,t)}function m(t,e,n){var i=(0,r.kF)(t),o=i.length,a="";o||(0,u._y)(a);for(var s=0,l=o;s<l;s++){var h=i[s];e=_(h,e,n,1===o?null:s),s!==l-1&&(e.length=Math.max(e.length,1))}return e}function _(t,e,n,a){var s="";e.length||(0,u._y)(s),(0,o.Kn)(t)||(0,u._y)(s);var h=t.type,f=v.get(h);f||(0,u._y)(s);var p=(0,o.UI)(e,(function(t){return c(t,f)})),d=(0,r.kF)(f.transform({upstream:p[0],upstreamList:p,config:(0,o.d9)(t.config)}));return(0,o.UI)(d,(function(t,n){var r="";(0,o.Kn)(t)||(0,u._y)(r),t.data||(0,u._y)(r);var a,s=(0,l.Kp)(t.data);x(s)||(0,u._y)(r);var h=e[0];if(h&&0===n&&!t.dimensions){var c=h.startIndex;c&&(t.data=h.data.slice(0,c).concat(t.data)),a={seriesLayoutBy:i.fY,sourceHeader:c,dimensions:h.metaRawOption.dimensions}}else a={seriesLayoutBy:i.fY,sourceHeader:0,dimensions:t.dimensions};return(0,l._P)(t.data,a,null)}))}function x(t){return t===i.XD||t===i.qb}},35183:function(t,e,n){n.d(e,{D:function(){return p}});var i=n(72935),r=n(59160),o=n(55486),a=n(13350),s=n(29865),u=n(95797),l=n(25587),h=n(24503),c=[],f={registerPreprocessor:i.ds,registerProcessor:i.Pu,registerPostInit:i.sq,registerPostUpdate:i.Br,registerUpdateLifecycle:i.YK,registerAction:i.zl,registerCoordinateSystem:i.RS,registerLayout:i.qR,registerVisual:i.Og,registerTransform:i.OB,registerLoading:i.yn,registerMap:i.je,registerImpl:l.M,PRIORITY:i.Hr,ComponentModel:a.Z,ComponentView:r.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){r.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.wm)(t,e)}};function p(t){(0,u.kJ)(t)?(0,u.S6)(t,(function(t){p(t)})):(0,u.cq)(c,t)>=0||(c.push(t),(0,u.mf)(t)&&(t={install:t}),t.install(f))}},96695:function(t,e,n){n.d(e,{GI:function(){return u},VT:function(){return o},WE:function(){return s},yl:function(){return l}});var i=n(63772),r=n(96805);function o(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var o=r.label,a=o.getComputedTransform(),s=o.getBoundingRect(),u=!a||a[1]<1e-5&&a[2]<1e-5,l=o.style.margin||0,h=s.clone();h.applyTransform(a),h.x-=l/2,h.y-=l/2,h.width+=l,h.height+=l;var c=u?new i.Z(s,a):null;e.push({label:o,labelLine:r.labelLine,rect:h,localRect:s,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:u,transform:a})}}return e}function a(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,u=0,l=!1,h=[],c=0,f=0;f<a;f++){var p=t[f],d=p.rect;s=d[e]-u,s<0&&(d[e]-=s,p.label[e]-=s,l=!0);var g=Math.max(-s,0);h.push(g),c+=g,u=d[e]+d[n]}c>0&&o&&S(-c/a,0,a);var v,y,m=t[0],_=t[a-1];return x(),v<0&&b(-v,.8),y<0&&b(y,.8),x(),w(v,y,1),w(y,v,-1),x(),v<0&&T(-v),y<0&&T(y),l}function x(){v=m.rect[e]-i,y=r-_.rect[e]-_.rect[n]}function w(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){S(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function S(n,i,r){0!==n&&(l=!0);for(var o=i;o<r;o++){var a=t[o],s=a.rect;s[e]+=n,a.label[e]+=n}}function b(i,r){for(var o=[],s=0,u=1;u<a;u++){var l=t[u-1].rect,h=Math.max(t[u].rect[e]-l[e]-l[n],0);o.push(h),s+=h}if(s){var c=Math.min(Math.abs(i)/s,r);if(i>0)for(u=0;u<a-1;u++){var f=o[u]*c;S(f,0,u+1)}else for(u=a-1;u>0;u--){f=o[u-1]*c;S(-f,u,a)}}}function T(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?S(n,0,i+1):S(-n,a-i-1,a),t-=n,t<=0)return}}function s(t,e,n,i){return a(t,"x","width",e,n,i)}function u(t,e,n,i){return a(t,"y","height",e,n,i)}function l(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new r.Z(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],u=s.axisAligned,l=s.localRect,h=s.transform,c=s.label,f=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var p=s.obb,d=!1,g=0;g<e.length;g++){var v=e[g];if(n.intersect(v.rect)){if(u&&v.axisAligned){d=!0;break}if(v.obb||(v.obb=new i.Z(v.localRect,v.transform)),p||(p=new i.Z(l,h)),p.intersect(v.obb)){d=!0;break}}}d?(o(c),f&&o(f)):(c.attr("ignore",s.defaultAttr.ignore),f&&f.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},19552:function(t,e,n){n.d(e,{Lr:function(){return p},k3:function(){return f},ni:function(){return c},pe:function(){return b},qA:function(){return S},qT:function(){return w},tD:function(){return T}});var i=n(49386),r=n(95797),o=n(10859),a=n(38496),s=n(51058),u={};function l(t,e){for(var n=0;n<o.L1.length;n++){var i=o.L1[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function h(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,u=t.labelDimIndex,l=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,u,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.mf)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:i},c=0;c<o.L1.length;c++){var f=o.L1[c],p=e[f];h[f]=(0,r.pD)(a?a.getFormattedLabel(s,f,null,u,p&&p.get("formatter")):null,i)}return h}function c(t,e,n,a){n=n||u;for(var s=t instanceof i.ZP,c=!1,f=0;f<o.qc.length;f++){var g=e[o.qc[f]];if(g&&g.getShallow("show")){c=!0;break}}var v=s?t:t.getTextContent();if(c){s||(v||(v=new i.ZP,t.setTextContent(v)),t.stateProxy&&(v.stateProxy=t.stateProxy));var y=h(n,e),m=e.normal,_=!!m.getShallow("show"),x=p(m,a&&a.normal,n,!1,!s);x.text=y.normal,s||t.setTextConfig(d(m,n,!1));for(f=0;f<o.L1.length;f++){var w=o.L1[f];g=e[w];if(g){var b=v.ensureState(w),T=!!(0,r.pD)(g.getShallow("show"),_);if(T!==_&&(b.ignore=!T),b.style=p(g,a&&a[w],n,!0,!s),b.style.text=y[w],!s){var M=t.ensureState(w);M.textConfig=d(g,n,!0)}}}v.silent=!!m.getShallow("silent"),null!=v.style.x&&(x.x=v.style.x),null!=v.style.y&&(x.y=v.style.y),v.ignore=!_,v.useStyle(x),v.dirty(),n.enableTextSetter&&(S(v).setLabelText=function(t){var i=h(n,e,t);l(v,i)})}else v&&(v.ignore=!0);t.dirty()}function f(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.L1.length;i++){var r=o.L1[i];n[r]=t.getModel([r,e])}return n}function p(t,e,n,i,o){var a={};return g(a,t,n,i,o),e&&(0,r.l7)(a,e),a}function d(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.pD)(t.getShallow("distance"),n?null:5),u=t.getShallow("offset");return i=t.getShallow("position")||(n?null:"inside"),"outside"===i&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=u&&(o.offset=u),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}function g(t,e,n,i,r){n=n||u;var o,a=e.ecModel,s=a&&a.option.textStyle,l=v(e);if(l)for(var h in o={},l)if(l.hasOwnProperty(h)){var c=e.getModel(["rich",h]);x(o[h]={},c,s,n,i,r,!1,!0)}o&&(t.rich=o);var f=e.get("overflow");f&&(t.overflow=f);var p=e.get("minMargin");null!=p&&(t.margin=p),x(t,e,s,n,i,r,!0,!1)}function v(t){var e;while(t&&t!==t.ecModel){var n=(t.option||u).rich;if(n){e=e||{};for(var i=(0,r.XP)(n),o=0;o<i.length;o++){var a=i[o];e[a]=1}}t=t.parentModel}return e}var y=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],m=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],_=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function x(t,e,n,i,o,a,s,l){n=!o&&n||u;var h=i&&i.inheritColor,c=e.getShallow("color"),f=e.getShallow("textBorderColor"),p=(0,r.pD)(e.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=h||null),"inherit"!==f&&"auto"!==f||(f=h||null),a||(c=c||n.color,f=f||n.textBorderColor),null!=c&&(t.fill=c),null!=f&&(t.stroke=f);var d=(0,r.pD)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var g=(0,r.pD)(e.getShallow("textBorderType"),n.textBorderType);null!=g&&(t.lineDash=g);var v=(0,r.pD)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=v&&(t.lineDashOffset=v),o||null!=p||l||(p=i&&i.defaultOpacity),null!=p&&(t.opacity=p),o||a||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var x=0;x<y.length;x++){var w=y[x],S=(0,r.pD)(e.getShallow(w),n[w]);null!=S&&(t[w]=S)}for(x=0;x<m.length;x++){w=m[x],S=e.getShallow(w);null!=S&&(t[w]=S)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!s||!i.disableBox){for(x=0;x<_.length;x++){w=_[x],S=e.getShallow(w);null!=S&&(t[w]=S)}var T=e.getShallow("borderType");null!=T&&(t.borderDash=T),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!h||(t.backgroundColor=h),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!h||(t.borderColor=h)}}function w(t,e){var n=e&&e.getModel("textStyle");return(0,r.fy)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var S=(0,a.Yf)();function b(t,e,n,i){if(t){var r=S(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function T(t,e,n,i,o){var u=S(t);if(u.valueAnimation&&u.prevValue!==u.value){var c=u.defaultInterpolatedText,f=(0,r.pD)(u.interpolatedValue,u.prevValue),p=u.value;t.percent=0,(null==u.prevValue?s.KZ:s.D)(t,{percent:1},i,e,null,d)}function d(i){var r=(0,a.pk)(n,u.precision,f,p,i);u.interpolatedValue=1===i?null:r;var s=h({labelDataIndex:e,labelFetcher:o,defaultText:c?c(r):r+""},u.statesModels,r);l(t,s)}}},99441:function(t,e,n){n.d(e,{Bk:function(){return _},bK:function(){return m},My:function(){return g},Ge:function(){return p},G_:function(){return y}});var i=n(95797),r=n(41201),o=n(86366),a=n(73592),s="undefined"!==typeof Float32Array,u=s?Float32Array:Array;function l(t){return(0,i.kJ)(t)?s?new Float32Array(t):t:new u(t)}var h="__ec_stack_";function c(t){return t.get("stack")||h+t.seriesIndex}function f(t){return t.dim+t.index}function p(t,e){var n=[];return e.eachSeriesByType(t,(function(t){x(t)&&n.push(t)})),n}function d(t){var e={};(0,i.S6)(t,(function(t){var n=t.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=t.getData(),o=i.dim+"_"+i.index,a=r.getDimensionIndex(r.mapDimension(i.dim)),s=r.getStore(),u=0,l=s.count();u<l;++u){var h=s.get(a,u);e[o]?e[o].push(h):e[o]=[h]}}));var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort((function(t,e){return t-e}));for(var a=null,s=1;s<o.length;++s){var u=o[s]-o[s-1];u>0&&(a=null===a?u:Math.min(a,u))}n[r]=a}}return n}function g(t){var e=d(t),n=[];return(0,i.S6)(t,(function(t){var i,o=t.coordinateSystem,a=o.getBaseAxis(),s=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var u=a.dim+"_"+a.index,l=e[u],h=Math.abs(s[1]-s[0]),p=a.scale.getExtent(),d=Math.abs(p[1]-p[0]);i=l?h/d*l:h}else{var g=t.getData();i=Math.abs(s[1]-s[0])/g.count()}var v=(0,r.GM)(t.get("barWidth"),i),y=(0,r.GM)(t.get("barMaxWidth"),i),m=(0,r.GM)(t.get("barMinWidth")||(w(t)?.5:1),i),_=t.get("barGap"),x=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:v,barMaxWidth:y,barMinWidth:m,barGap:_,barCategoryGap:x,axisKey:f(a),stackId:c(t)})})),v(n)}function v(t){var e={};(0,i.S6)(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var u=t.barWidth;u&&!a[s].width&&(a[s].width=u,u=Math.min(o.remainedWidth,u),o.remainedWidth-=u);var l=t.barMaxWidth;l&&(a[s].maxWidth=l);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var f=t.barCategoryGap;null!=f&&(o.categoryGap=f)}));var n={};return(0,i.S6)(e,(function(t,e){n[e]={};var o=t.stacks,a=t.bandWidth,s=t.categoryGap;if(null==s){var u=(0,i.XP)(o).length;s=Math.max(35-4*u,15)+"%"}var l=(0,r.GM)(s,a),h=(0,r.GM)(t.gap,1),c=t.remainedWidth,f=t.autoWidthCount,p=(c-l)/(f+(f-1)*h);p=Math.max(p,0),(0,i.S6)(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+h*i,f--}else{var i=p;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==p&&(t.width=i,c-=i+h*i,f--)}})),p=(c-l)/(f+(f-1)*h),p=Math.max(p,0);var d,g=0;(0,i.S6)(o,(function(t,e){t.width||(t.width=p),d=t,g+=t.width*(1+h)})),d&&(g-=d.width*h);var v=-g/2;(0,i.S6)(o,(function(t,i){n[e][i]=n[e][i]||{bandWidth:a,offset:v,width:t.width},v+=t.width*(1+h)}))})),n}function y(t,e,n){if(t&&e){var i=t[f(e)];return null!=i&&null!=n?i[c(n)]:i}}function m(t,e){var n=p(t,e),r=g(n);(0,i.S6)(n,(function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),o=c(t),a=r[f(i)][o],s=a.offset,u=a.width;e.setLayout({bandWidth:a.bandWidth,offset:s,size:u})}))}function _(t){return{seriesType:t,plan:(0,a.Z)(),reset:function(t){if(x(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),a=e.getDimensionIndex(e.mapDimension(r.dim)),s=e.getDimensionIndex(e.mapDimension(i.dim)),u=t.get("showBackground",!0),h=e.mapDimension(r.dim),c=e.getCalculationInfo("stackResultDimension"),f=(0,o.M)(e,h)&&!!e.getCalculationInfo("stackedOnSeries"),p=r.isHorizontal(),d=S(i,r),g=w(t),v=t.get("barMinHeight")||0,y=c&&e.getDimensionIndex(c),m=e.getLayout("size"),_=e.getLayout("offset");return{progress:function(t,e){var i,r=t.count,o=g&&l(3*r),h=g&&u&&l(3*r),c=g&&l(r),x=n.master.getRect(),w=p?x.width:x.height,S=e.getStore(),b=0;while(null!=(i=t.next())){var T=S.get(f?y:a,i),M=S.get(s,i),k=d,D=void 0;f&&(D=+T-S.get(a,i));var C=void 0,I=void 0,P=void 0,A=void 0;if(p){var O=n.dataToPoint([T,M]);if(f){var L=n.dataToPoint([D,M]);k=L[0]}C=k,I=O[1]+_,P=O[0]-k,A=m,Math.abs(P)<v&&(P=(P<0?-1:1)*v)}else{O=n.dataToPoint([M,T]);if(f){L=n.dataToPoint([M,D]);k=L[1]}C=O[0]+_,I=k,P=m,A=O[1]-k,Math.abs(A)<v&&(A=(A<=0?-1:1)*v)}g?(o[b]=C,o[b+1]=I,o[b+2]=p?P:A,h&&(h[b]=p?x.x:C,h[b+1]=p?I:x.y,h[b+2]=w),c[i]=i):e.setItemLayout(i,{x:C,y:I,width:P,height:A}),b+=3}g&&e.setLayout({largePoints:o,largeDataIndices:c,largeBackgroundPoints:h,valueAxisHorizontal:p})}}}}}}function x(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function w(t){return t.pipelineContext&&t.pipelineContext.large}function S(t,e){var n=e.model.get("startValue");return n||(n=0),e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}},43704:function(t,e,n){n.d(e,{s:function(){return s},y:function(){return o}});var i=n(95797),r=n(38496);function o(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}(0,i.S6)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,r,o){e=(0,i.l7)({},e),o.dispatchAction((0,i.l7)(e,{type:t[1],seriesIndex:n(r,e)}))}))}))}function a(t,e,n,o,a){var s=t+e;n.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,u=a.selected,l=0;l<u.length;l++)if(u[l].seriesIndex===e){var h=t.getData(),c=(0,r.gO)(h,a.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,i.kJ)(c)?h.getName(c[0]):h.getName(c),selected:(0,i.HD)(o)?o:(0,i.l7)({},o)})}}))}function s(t,e,n){t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(a("map","selectchanged",e,i,t),a("pie","selectchanged",e,i,t)):"select"===t.fromAction?(a("map","selected",e,i,t),a("pie","selected",e,i,t)):"unselect"===t.fromAction&&(a("map","unselected",e,i,t),a("pie","unselected",e,i,t))}))}},13350:function(t,e,n){var i=n(18299),r=n(95797),o=n(85632),a=n(40259),s=n(6990),u=n(38496),l=n(16457),h=(0,u.Yf)(),c=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.Kr("ec_cpt_model"),r}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=l.YD(this),i=n?l.tE(t):{},o=e.getTheme();r.TS(t,o.get(this.mainType)),r.TS(t,this.getDefaultOption()),n&&l.dt(t,i,n)},e.prototype.mergeOption=function(t,e){r.TS(this.option,t,!0);var n=l.YD(this);n&&l.dt(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){var n=[],i=t;while(i){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},u=n.length-1;u>=0;u--)a=r.TS(a,n[u],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return(0,u.HZ)(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(o.Z);function f(t){var e=[];return r.S6(c.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=r.UI(e,(function(t){return(0,s.u9)(t).main})),"dataset"!==t&&r.cq(e,"dataset")<=0&&e.unshift("dataset"),e}(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,f),e["Z"]=c},85632:function(t,e,n){n.d(e,{Z:function(){return x}});var i=n(59979),r=n(6990),o=n(26314),a=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],s=(0,o.Z)(a),u=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return s(this,t,e)},t}(),l=n(19552),h=n(49386),c=["textStyle","color"],f=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],p=new h.ZP,d=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(c):null)},t.prototype.getFont=function(){return(0,l.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<f.length;n++)e[f[n]]=this.getShallow(f[n]);return p.useStyle(e),p.update(),p.getBoundingRect()},t}(),g=d,v=n(61599),y=n(63918),m=n(95797),_=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,m.TS)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null,o=i?this._doGet(r):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),new t(o,n,this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){var t=this.constructor;return new t((0,m.d9)(this.option))},t.prototype.parsePath=function(t){return"string"===typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.Z.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length;i++)if(t[i]&&(n=n&&"object"===typeof n?n[t[i]]:null,null==n))break;return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.dm)(_),(0,r.Qj)(_),(0,m.jB)(_,v.K),(0,m.jB)(_,y.D),(0,m.jB)(_,u),(0,m.jB)(_,g);var x=_},29865:function(t,e,n){n.d(e,{Z:function(){return P}});var i=n(18299),r=n(95797),o=n(59979),a=n(38496),s=n(13350),u=n(25650),l=n(4735),h=n(16457),c=n(17787),f=n(6990),p=n(78799),d=n(43803),g=n(29221);function v(t){var e,n,i,o,s=t.series,u=t.dataIndex,l=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),f=c.length,p=s.getRawValue(u),v=(0,r.kJ)(p),m=(0,d.jT)(s,u);if(f>1||v&&!f){var _=y(p,s,u,c,m);e=_.inlineValues,n=_.inlineValueTypes,i=_.blocks,o=_.inlineValues[0]}else if(f){var x=h.getDimensionInfo(c[0]);o=e=(0,g.hk)(h,u,c[0]),n=x.type}else o=e=v?p[0]:p;var w=(0,a.yu)(s),S=w&&s.name||"",b=h.getName(u),T=l?S:b;return(0,d.TX)("section",{header:S,noHeader:l||!w,sortParam:o,blocks:[(0,d.TX)("nameValue",{markerType:"item",markerColor:m,name:T,noName:!(0,r.fy)(T),value:e,valueType:n,dataIndex:u})].concat(i||[])})}function y(t,e,n,i,o){var a=e.getData(),s=(0,r.u4)(t,(function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),u=[],l=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,d.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(u.push(t),l.push(n.type)))}return i.length?(0,r.S6)(i,(function(t){c((0,g.hk)(a,n,t),t)})):(0,r.S6)(t,c),{inlineValues:u,inlineValueTypes:l,blocks:h}}var m=a.Yf();function _(t,e){return t.getName(e)||t.getId(e)}var x="__universalTransitionEnabled",w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:T,reset:M}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=m(this).sourceManager=new p.U(this);i.prepareSource();var r=this.getInitialData(t,n);D(r,this),this.dataTask.context.data=r,m(this).dataBeforeProcessed=r,S(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),r.TS(t,e.getTheme().get(this.subType)),r.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,i,n)},e.prototype.mergeOption=function(t,e){t=r.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var i=m(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);D(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,m(this).dataBeforeProcessed=o,S(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!r.fU(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){var e=this.getRawData();e.appendData(t.data)},e.prototype.getData=function(t){var e=I(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return m(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=I(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}m(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.kW(t)},e.prototype.getSourceManager=function(){return m(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return m(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return v({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=u._.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=t[o],s=_(r,a);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.XP(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[_(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[x])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){r.Kn(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,l=0;l<s;l++){var h=e[l],c=_(t,h);u[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var f=e[s-1];c=_(t,f);o.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=t.getRawIndex(f),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s.Z.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(s.Z);function S(t){var e=t.name;a.yu(t)||(t.name=b(t)||e)}function b(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return r.S6(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function T(t){return t.model.getRawData().count()}function M(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),k}function k(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function D(t,e){r.S6(r.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,r.WA(C,e))}))}function C(t,e){var n=I(t);return n&&n.setOutputEnd((e||this).count()),e}function I(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.jB(w,l.X),r.jB(w,u._),(0,f.pw)(w,s.Z);var P=w},4735:function(t,e,n){n.d(e,{X:function(){return s},f:function(){return u}});var i=n(95797),r=n(29221),o=n(41054),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),u=s&&s[n.getItemVisual(t,"drawType")||"fill"],l=s&&s.stroke,h=this.mainType,c="series"===h,f=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:u,borderColor:l,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,u,l){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);if(l&&(c.value=l.interpolatedValue),null!=s&&i.kJ(c.value)&&(c.value=c.value[s]),!u){var f=h.getItemModel(t);u=f.get("normal"===e?["label","formatter"]:[e,"label","formatter"])}if(i.mf(u))return c.status=e,c.dimensionIndex=s,u(c);if(i.HD(u)){var p=(0,o.kF)(u,c);return p.replace(a,(function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.hk)(h,t,a);if(l&&i.kJ(l.interpolatedValue)){var u=h.getDimensionIndex(a);u>=0&&(s=l.interpolatedValue[u])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return(0,r.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function u(t){var e,n;return i.Kn(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},63918:function(t,e,n){n.d(e,{D:function(){return a},t:function(){return r}});var i=n(26314),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},61599:function(t,e,n){n.d(e,{K:function(){return a},v:function(){return r}});var i=n(26314),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},26314:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(95797);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var u=t[s][1];if(!(r&&i.cq(r,u)>=0||o&&i.cq(o,u)<0)){var l=n.getShallow(u,e);null!=l&&(a[t[s][0]]=l)}}return a}}},25650:function(t,e,n){n.d(e,{_:function(){return o}});var i=n(38496),r=(0,i.Yf)(),o=((0,i.Yf)(),function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var o=(0,i.kF)(this.get("color",!0)),a=this.get("colorLayer",!0);return s(this,r,o,a,t,e,n)},t.prototype.clearColorPalette=function(){u(this,r)},t}());function a(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}function s(t,e,n,i,r,o,s){o=o||t;var u=e(o),l=u.paletteIdx||0,h=u.paletteNameMap=u.paletteNameMap||{};if(h.hasOwnProperty(r))return h[r];var c=null!=s&&i?a(i,s):n;if(c=c||n,c&&c.length){var f=c[l];return r&&(h[r]=f),u.paletteIdx=(l+1)%c.length,f}}function u(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}},6228:function(t,e,n){n.d(e,{N:function(){return M}});var i=n(25815),r=n(95797),o=n(4311),a=n(18626),s=n(24250),u=n(85621),l=n(96805),h=n(8088),c=n(9886);function f(t,e,n){var i=c.qW.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var p=function(t){function e(e,n,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||i.KL,"string"===typeof e?a=f(e,n,o):r.Kn(e)&&(a=e,e=a.id),s.id=e,s.dom=a;var u=a.style;return u&&(r.$j(a),a.onselectstart=function(){return!1},u.padding="0",u.margin="0",u.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.ZT)(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,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,u=new l.Z(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new l.Z(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var f=new l.Z(0,0,0,0);f.copy(c),f.union(t),o[h]=f,n=!0;break}if(s){u.copy(t),u.union(c);var p=t.width*t.height,d=c.width*c.height,g=u.width*u.height,v=g-p-d;v<i&&(i=v,r=h)}}if(s&&(o[r].union(t),n=!0),!n){e=new l.Z(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var p=t[f];if(p){var d=p.shouldBePainted(n,i,!0,!0),g=p.__isRendered&&(p.__dirty&h.YV||!d)?p.getPrevPaintRect():null;g&&c(g);var v=d&&(p.__dirty&h.YV||!p.__isRendered)?p.getPaintRect():null;v&&c(v)}}for(f=this.__prevStartIndex;f<this.__prevEndIndex;++f){p=e[f],d=p&&p.shouldBePainted(n,i,!0,!0);if(p&&(!d||!p.__zr)&&p.__isRendered){g=p.getPrevPaintRect();g&&c(g)}}do{r=!1;for(f=0;f<o.length;)if(o[f].isZero())o.splice(f,1);else{for(var y=f+1;y<o.length;)o[f].intersect(o[y])?(r=!0,o[f].union(o[y]),o.splice(y,1)):y++;f++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,l=i.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,f=this.dpr,p=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/f,l/f));var d=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var l=void 0;if(r.Qq(e)){var g=e.global||e.__width===i&&e.__height===a;l=g&&e.__canvasGradient||(0,s.ZF)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=l,e.__width=i,e.__height=a}else r.dL(e)&&(e.scaleX=e.scaleX||f,e.scaleY=e.scaleY||f,l=(0,u.RZ)(o,e,{dirty:function(){p.setUnpainted(),p.painter.refresh()}}));o.save(),o.fillStyle=l||e,o.fillRect(t,n,i,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(d,t,n,i,a),o.restore())}!n||h?g(0,0,a,l):n.length&&r.S6(n,(function(t){g(t.x*f,t.y*f,t.width*f,t.height*f)}))},e}(a.Z),d=p,g=n(33851),v=n(59979),y=1e5,m=314159,_=.01,x=.001;function w(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}function S(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var b=function(){function t(t,e,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=r.l7({},n||{}),this.dpr=n.devicePixelRatio||i.KL,this._singleCanvas=a,this.root=t;var u=t.style;u&&(r.$j(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var h=this._layers;if(a){var c=t,f=c.width,p=c.height;null!=n.width&&(f=n.width),null!=n.height&&(p=n.height),this.dpr=n.devicePixelRatio||1,c.width=f*this.dpr,c.height=p*this.dpr,this._width=f,this._height=p;var g=new d(c,this,this.dpr);g.__builtin__=!0,g.initContext(),h[m]=g,g.zlevel=m,l.push(m),this._domRoot=t}else{this._width=(0,s.ap)(t,0,n),this._height=(0,s.ap)(t,1,n);var v=this._domRoot=S(this._width,this._height);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(y)),i||(i=n.ctx,i.save()),(0,u.Dm)(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(y)},t.prototype.paintOne=function(t,e){(0,u.RV)(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;(0,g.Z)((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(m).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var u=this._zlevelList[s],l=this._layers[u];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&o.push(l)}for(var h=!0,c=!1,f=function(r){var s,u=o[r],l=u.ctx,f=a&&u.createRepaintRects(t,e,p._width,p._height),d=n?u.__startIndex:u.__drawIndex,g=!n&&u.incremental&&Date.now,v=g&&Date.now(),y=u.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(u.__startIndex===u.__endIndex)u.clear(!1,y,f);else if(d===u.__startIndex){var m=t[d];m.incremental&&m.notClear&&!n||u.clear(!1,y,f)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=u.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=d;s<u.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,u,a,e,n,s===u.__endIndex-1),g){var o=Date.now()-v;if(o>15)break}}n.prevElClipPaths&&l.restore()};if(f)if(0===f.length)s=u.__endIndex;else for(var x=p.dpr,w=0;w<f.length;++w){var S=f[w];l.save(),l.beginPath(),l.rect(S.x*x,S.y*x,S.width*x,S.height*x),l.clip(),_(S),l.restore()}else l.save(),_(),l.restore();u.__drawIndex=s,u.__drawIndex<u.__endIndex&&(h=!1)},p=this,d=0;d<o.length;d++)f(d);return v.Z.wxa&&r.S6(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,u.Dm)(a,t,r,o),t.setPrevPaintRect(s))}else(0,u.Dm)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=m);var n=this._layers[t];return n||(n=new d("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?r.TS(n,this._layerConfig[t],!0):this._layerConfig[t-_]&&r.TS(n,this._layerConfig[t-_],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&w(e)){if(r>0&&t>i[0]){for(s=0;s<r-1;s++)if(i[s]<t&&i[s+1]>t)break;a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var u=a.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var o,a,s=null,u=0;for(a=0;a<t.length;a++){i=t[a];var l=i.zlevel,c=void 0;o!==l&&(o=l,u=0),i.incremental?(c=this.getLayer(l+x,this._needsManuallyCompositing),c.incremental=!0,u=1):c=this.getLayer(l+(u>0?_:0),this._needsManuallyCompositing),c.__builtin__||r.H("ZLevel "+l+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==a&&(c.__dirty=!0),c.__startIndex=a,c.incremental?c.__drawIndex=-1:c.__drawIndex=a,e(a),s=c),i.__dirty&h.YV&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=a))}e(a),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,r.S6(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.TS(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+_){var a=this._layers[o];r.TS(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(r.cq(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.ap)(r,0,i),e=(0,s.ap)(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(m).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[m].dom;var e=new d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var h=a[s];(0,u.Dm)(n,h,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),T=b;function M(t){t.registerPainter("canvas",T)}},28584:function(t,e,n){var i=n(18299),r=n(41201),o=n(41054),a=n(85558),s=n(89583),u=r.NM,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,i.ZT)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.XS(t,this._extent)},e.prototype.normalize=function(t){return s.Fv(t,this._extent)},e.prototype.scale=function(t){return s.bA(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[0]&&(e[0]=t[0]),t[1]>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.lb(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]<i[0]&&(t?o.push({value:u(i[0]-e,r)}):o.push({value:n[0]}));var s=i[0];while(s<=i[1]){if(o.push({value:s}),s=u(s+e,r),s===o[o.length-1].value)break;if(o.length>a)return[]}var l=o.length?o[o.length-1].value:i[1];return n[1]>l&&(t?o.push({value:u(l+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){var o=e[r],a=e[r-1],s=0,l=[],h=o.value-a.value,c=h/t;while(s<t-1){var f=u(a.value+(s+1)*c);f>i[0]&&f<i[1]&&l.push(f),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=r.p8(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=u(t.value,n,!0);return o.OD(i)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=s.Qf(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=u(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=u(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.Z);a.Z.registerClass(l),e["Z"]=l},85558:function(t,e,n){var i=n(6990),r=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[0]&&(e[0]=t[0]),t[1]>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}();i.au(r),e["Z"]=r},89583:function(t,e,n){n.d(e,{Fv:function(){return c},Qf:function(){return o},XS:function(){return h},bA:function(){return f},lM:function(){return r},lb:function(){return s},r1:function(){return a}});var i=n(41201);function r(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,r){var o={},a=t[1]-t[0],u=o.interval=(0,i.kx)(a/e,!0);null!=n&&u<n&&(u=o.interval=n),null!=r&&u>r&&(u=o.interval=r);var h=o.intervalPrecision=s(u),c=o.niceTickExtent=[(0,i.NM)(Math.ceil(t[0]/u)*u,h),(0,i.NM)(Math.floor(t[1]/u)*u,h)];return l(c,t),o}function a(t){var e=Math.pow(10,(0,i.xW)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,i.NM)(n*e)}function s(t){return(0,i.p8)(t)+2}function u(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),u(t,0,e),u(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function h(t,e){return t>=e[0]&&t<=e[1]}function c(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function f(t,e){return t*(e[1]-e[0])+e[0]}},6990:function(t,e,n){n.d(e,{PT:function(){return h},Qj:function(){return g},au:function(){return m},dm:function(){return c},pw:function(){return p},u9:function(){return u}});var i=n(18299),r=n(95797),o=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function u(t){var e={main:"",sub:""};if(t){var n=t.split(o);e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){r.hu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function h(t){return!(!t||!t[s])}function c(t,e){t.$constructor=t,t.extend=function(t){var e,n=this;return f(n)?e=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(n):(e=function(){(t.$constructor||n).apply(this,arguments)},r.XW(e,this)),r.l7(e.prototype,t),e[s]=!0,e.extend=this.extend,e.superCall=v,e.superApply=y,e.superClass=n,e}}function f(t){return r.mf(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function p(t,e){t.extend=e.extend}var d=Math.round(10*Math.random());function g(t){var e=["__\0is_clz",d++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function v(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function y(t,e,n){return this.superClass.prototype[e].apply(t,n)}function m(t){var e={};function n(t){var n=e[t.main];return n&&n[a]||(n=e[t.main]={},n[a]=!0),n}t.registerClass=function(t){var i=t.type||t.prototype.type;if(i){l(i),t.prototype.type=i;var r=u(i);if(r.sub){if(r.sub!==a){var o=n(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[a]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=u(t),i=[],o=e[n.main];return o&&o[a]?r.S6(o,(function(t,e){e!==a&&i.push(t)})):i.push(o),i},t.hasClass=function(t){var n=u(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return r.S6(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=u(t),i=e[n.main];return i&&i[a]}}},40259:function(t,e,n){n.d(e,{Kr:function(){return a},ZL:function(){return l},cj:function(){return s},jS:function(){return u}});var i=n(95797),r=n(6990),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=(0,r.u9)(t);e[i.main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function u(t,e){function n(t){var n={},a=[];return i.S6(t,(function(s){var u=r(n,s),l=u.originalDeps=e(s),h=o(l,t);u.entryCount=h.length,0===u.entryCount&&a.push(s),i.S6(h,(function(t){i.cq(u.predecessor,t)<0&&u.predecessor.push(t);var e=r(n,t);i.cq(e.successor,t)<0&&e.successor.push(s)}))})),{graph:n,noEntryList:a}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var n=[];return i.S6(t,(function(t){i.cq(e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,r,o){if(t.length){var a=n(e),s=a.graph,u=a.noEntryList,l={};i.S6(t,(function(t){l[t]=!0}));while(u.length){var h=u.pop(),c=s[h],f=!!l[h];f&&(r.call(o,h,c.originalDeps.slice()),delete l[h]),i.S6(c.successor,f?d:p)}i.S6(l,(function(){var t="";throw new Error(t)}))}function p(t){s[t].entryCount--,0===s[t].entryCount&&u.push(t)}function d(t){l[t]=!0,p(t)}}}function l(t,e){return i.TS(i.TS({},t,!0),e,!0)}},4258:function(t,e,n){n.d(e,{I:function(){return v}});var i=Math.round(9*Math.random()),r="function"===typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype["delete"]=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=o,s=n(86634),u=n(95797),l=n(41201),h=n(86741),c=n(85621),f=n(9886),p=new a,d=new s.ZP(100),g=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function v(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p["delete"](t);var o=p.get(t);if(o)return o;var a=(0,u.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return v(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,p.set(t,s),t.dirty=!1,s;function v(t){for(var e,o=[n],s=!0,p=0;p<g.length;++p){var v=a[g[p]];if(null!=v&&!(0,u.kJ)(v)&&!(0,u.HD)(v)&&!(0,u.hj)(v)&&"boolean"!==typeof v){s=!1;break}o.push(v)}if(s){e=o.join(",")+(r?"-svg":"");var S=d.get(e);S&&(r?t.svgElement=S:t.image=S)}var b,T=m(a.dashArrayX),M=_(a.dashArrayY),k=y(a.symbol),D=x(T),C=w(M),I=!r&&f.qW.createCanvas(),P=r&&{tag:"g",attrs:{},key:"dcl",children:[]},A=O();function O(){for(var t=1,e=0,n=D.length;e<n;++e)t=(0,l.nl)(t,D[e]);var i=1;for(e=0,n=k.length;e<n;++e)i=(0,l.nl)(i,k[e].length);t*=i;var r=C*D.length*k.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}function L(){b&&(b.clearRect(0,0,I.width,I.height),a.backgroundColor&&(b.fillStyle=a.backgroundColor,b.fillRect(0,0,I.width,I.height)));for(var t=0,e=0;e<M.length;++e)t+=M[e];if(!(t<=0)){var o=-C,s=0,u=0,l=0;while(o<A.height){if(s%2===0){var f=u/2%k.length,p=0,d=0,g=0;while(p<2*A.width){var v=0;for(e=0;e<T[l].length;++e)v+=T[l][e];if(v<=0)break;if(d%2===0){var y=.5*(1-a.symbolSize),m=p+T[l][d]*y,_=o+M[s]*y,x=T[l][d]*a.symbolSize,w=M[s]*a.symbolSize,S=g/2%k[f].length;D(m,_,x,w,k[f][S])}p+=T[l][d],++g,++d,d===T[l].length&&(d=0)}++l,l===T.length&&(l=0)}o+=M[s],++u,++s,s===M.length&&(s=0)}}function D(t,e,o,s,u){var l=r?1:n,f=(0,h.th)(u,t*l,e*l,o*l,s*l,a.color,a.symbolKeepAspect);if(r){var p=i.painter.renderOneToVNode(f);p&&P.children.push(p)}else(0,c.RV)(b,f)}}I&&(I.width=A.width*n,I.height=A.height*n,b=I.getContext("2d")),L(),s&&d.put(e,I||P),t.image=I,t.svgElement=P,t.svgWidth=A.width,t.svgHeight=A.height}}function y(t){if(!t||0===t.length)return[["rect"]];if((0,u.HD)(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!(0,u.HD)(t[n])){e=!1;break}if(e)return y([t]);var i=[];for(n=0;n<t.length;++n)(0,u.HD)(t[n])?i.push([t[n]]):i.push(t[n]);return i}function m(t){if(!t||0===t.length)return[[0,0]];if((0,u.hj)(t)){var e=Math.ceil(t);return[[e,e]]}for(var n=!0,i=0;i<t.length;++i)if(!(0,u.hj)(t[i])){n=!1;break}if(n)return m([t]);var r=[];for(i=0;i<t.length;++i)if((0,u.hj)(t[i])){e=Math.ceil(t[i]);r.push([e,e])}else{e=(0,u.UI)(t[i],(function(t){return Math.ceil(t)}));e.length%2===1?r.push(e.concat(e)):r.push(e)}return r}function _(t){if(!t||"object"===typeof t&&0===t.length)return[0,0];if((0,u.hj)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,u.UI)(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}function x(t){return(0,u.UI)(t,(function(t){return w(t)}))}function w(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?2*e:e}},78834:function(t,e,n){function i(t,e,n){var i;while(t){if(e(t)&&(i=t,n))break;t=t.__hostTarget||t.parent}return i}n.d(e,{o:function(){return i}})},41054:function(t,e,n){n.d(e,{A0:function(){return d},Lz:function(){return g},MY:function(){return l},OD:function(){return s},kF:function(){return p},uX:function(){return h},zW:function(){return u}});var i=n(95797),r=n(99837),o=n(41201),a=n(31360);function s(t){if(!(0,o.kE)(t))return i.HD(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function u(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=i.MY;function h(t,e,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function u(t){return t&&i.fy(t)?t:"-"}function l(t){return!(null==t||isNaN(t)||!isFinite(t))}var h="time"===e,c=t instanceof Date;if(h||c){var f=h?(0,o.sG)(t):t;if(!isNaN(+f))return(0,a.WU)(f,r,n);if(c)return"-"}if("ordinal"===e)return i.cd(t)?u(t):i.hj(t)&&l(t)?t+"":"-";var p=(0,o.FK)(t);return l(p)?s(p):i.cd(t)?u(t):"boolean"===typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){i.kJ(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var u=c[s];t=t.replace(f(u),f(u,0))}for(var l=0;l<o;l++)for(var h=0;h<a.length;h++){var p=e[l][a[h]];t=t.replace(f(c[h],l),n?(0,r.F1)(p):p)}return t}function d(t,e){var n=i.HD(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";if(!o)return"";if("html"===s)return"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>';var u=n.markerId||"markerX";return{renderMode:s,content:"{"+u+"|}  ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}}function g(t,e){return e=e||"transparent",i.HD(t)?t:i.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}},43092:function(t,e,n){n.r(e),n.d(e,{Arc:function(){return nt.Z},BezierCurve:function(){return et},BoundingRect:function(){return ct.Z},Circle:function(){return Z.Z},CompoundPath:function(){return rt},Ellipse:function(){return N},Group:function(){return L.Z},Image:function(){return O.ZP},IncrementalDisplayable:function(){return yt},Line:function(){return K.Z},LinearGradient:function(){return ut},OrientedBoundingRect:function(){return ft.Z},Path:function(){return r.ZP},Point:function(){return pt.Z},Polygon:function(){return X},Polyline:function(){return Y.Z},RadialGradient:function(){return ht},Rect:function(){return q.Z},Ring:function(){return H},Sector:function(){return E.C},Text:function(){return R.ZP},applyTransform:function(){return Nt},clipPointsByRect:function(){return Vt},clipRectByRect:function(){return Ut},createIcon:function(){return Gt},extendPath:function(){return kt},extendShape:function(){return Tt},getShapeClass:function(){return Ct},getTransform:function(){return Bt},groupTransition:function(){return Ht},initProps:function(){return xt.KZ},isElementRemoved:function(){return xt.eq},lineLineIntersect:function(){return Yt},linePolygonIntersect:function(){return Xt},makeImage:function(){return Pt},makePath:function(){return It},mergePath:function(){return Ot},registerShape:function(){return Dt},removeElement:function(){return xt.bX},removeElementWithFadeOut:function(){return xt.XD},resizePath:function(){return Lt},setTooltipConfig:function(){return jt},subPixelOptimize:function(){return zt},subPixelOptimizeLine:function(){return Rt},subPixelOptimizeRect:function(){return Zt},transformDirection:function(){return Et},traverseElements:function(){return Qt},updateProps:function(){return xt.D}});var i=n(4311),r=n(47397),o=n(355),a=n(15468),s=o.Z.CMD,u=[[],[],[]],l=Math.sqrt,h=Math.atan2;function c(t,e){if(e){var n,i,r,o,c,f,p=t.data,d=t.len(),g=s.M,v=s.C,y=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<d;){switch(n=p[r++],o=r,i=0,n){case g:i=1;break;case y:i=1;break;case v:i=3;break;case x:i=2;break;case _:var w=e[4],S=e[5],b=l(e[0]*e[0]+e[1]*e[1]),T=l(e[2]*e[2]+e[3]*e[3]),M=h(-e[1]/T,e[0]/b);p[r]*=b,p[r++]+=w,p[r]*=T,p[r++]+=S,p[r++]*=b,p[r++]*=T,p[r++]+=M,p[r++]+=M,r+=2,o=r;break;case m:f[0]=p[r++],f[1]=p[r++],(0,a.Ne)(f,f,e),p[o++]=f[0],p[o++]=f[1],f[0]+=p[r++],f[1]+=p[r++],(0,a.Ne)(f,f,e),p[o++]=f[0],p[o++]=f[1]}for(c=0;c<i;c++){var k=u[c];k[0]=p[r++],k[1]=p[r++],(0,a.Ne)(k,k,e),p[o++]=k[0],p[o++]=k[1]}}t.increaseVersion()}}var f=n(95797),p=Math.sqrt,d=Math.sin,g=Math.cos,v=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function m(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))}function x(t,e,n,i,r,o,a,s,u,l,h){var c=u*(v/180),f=g(c)*(t-n)/2+d(c)*(e-i)/2,y=-1*d(c)*(t-n)/2+g(c)*(e-i)/2,x=f*f/(a*a)+y*y/(s*s);x>1&&(a*=p(x),s*=p(x));var w=(r===o?-1:1)*p((a*a*(s*s)-a*a*(y*y)-s*s*(f*f))/(a*a*(y*y)+s*s*(f*f)))||0,S=w*a*y/s,b=w*-s*f/a,T=(t+n)/2+g(c)*S-d(c)*b,M=(e+i)/2+d(c)*S+g(c)*b,k=_([1,0],[(f-S)/a,(y-b)/s]),D=[(f-S)/a,(y-b)/s],C=[(-1*f-S)/a,(-1*y-b)/s],I=_(D,C);if(m(D,C)<=-1&&(I=v),m(D,C)>=1&&(I=0),I<0){var P=Math.round(I/v*1e6)/1e6;I=2*v+P%2*v}h.addData(l,T,M,a,s,k,I,c,o)}var w=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,S=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function b(t){var e=new o.Z;if(!t)return e;var n,i=0,r=0,a=i,s=r,u=o.Z.CMD,l=t.match(w);if(!l)return e;for(var h=0;h<l.length;h++){for(var c=l[h],f=c.charAt(0),p=void 0,d=c.match(S)||[],g=d.length,v=0;v<g;v++)d[v]=parseFloat(d[v]);var y=0;while(y<g){var m=void 0,_=void 0,b=void 0,T=void 0,M=void 0,k=void 0,D=void 0,C=i,I=r,P=void 0,A=void 0;switch(f){case"l":i+=d[y++],r+=d[y++],p=u.L,e.addData(p,i,r);break;case"L":i=d[y++],r=d[y++],p=u.L,e.addData(p,i,r);break;case"m":i+=d[y++],r+=d[y++],p=u.M,e.addData(p,i,r),a=i,s=r,f="l";break;case"M":i=d[y++],r=d[y++],p=u.M,e.addData(p,i,r),a=i,s=r,f="L";break;case"h":i+=d[y++],p=u.L,e.addData(p,i,r);break;case"H":i=d[y++],p=u.L,e.addData(p,i,r);break;case"v":r+=d[y++],p=u.L,e.addData(p,i,r);break;case"V":r=d[y++],p=u.L,e.addData(p,i,r);break;case"C":p=u.C,e.addData(p,d[y++],d[y++],d[y++],d[y++],d[y++],d[y++]),i=d[y-2],r=d[y-1];break;case"c":p=u.C,e.addData(p,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r),i+=d[y-2],r+=d[y-1];break;case"S":m=i,_=r,P=e.len(),A=e.data,n===u.C&&(m+=i-A[P-4],_+=r-A[P-3]),p=u.C,C=d[y++],I=d[y++],i=d[y++],r=d[y++],e.addData(p,m,_,C,I,i,r);break;case"s":m=i,_=r,P=e.len(),A=e.data,n===u.C&&(m+=i-A[P-4],_+=r-A[P-3]),p=u.C,C=i+d[y++],I=r+d[y++],i+=d[y++],r+=d[y++],e.addData(p,m,_,C,I,i,r);break;case"Q":C=d[y++],I=d[y++],i=d[y++],r=d[y++],p=u.Q,e.addData(p,C,I,i,r);break;case"q":C=d[y++]+i,I=d[y++]+r,i+=d[y++],r+=d[y++],p=u.Q,e.addData(p,C,I,i,r);break;case"T":m=i,_=r,P=e.len(),A=e.data,n===u.Q&&(m+=i-A[P-4],_+=r-A[P-3]),i=d[y++],r=d[y++],p=u.Q,e.addData(p,m,_,i,r);break;case"t":m=i,_=r,P=e.len(),A=e.data,n===u.Q&&(m+=i-A[P-4],_+=r-A[P-3]),i+=d[y++],r+=d[y++],p=u.Q,e.addData(p,m,_,i,r);break;case"A":b=d[y++],T=d[y++],M=d[y++],k=d[y++],D=d[y++],C=i,I=r,i=d[y++],r=d[y++],p=u.A,x(C,I,i,r,k,D,b,T,M,p,e);break;case"a":b=d[y++],T=d[y++],M=d[y++],k=d[y++],D=d[y++],C=i,I=r,i+=d[y++],r+=d[y++],p=u.A,x(C,I,i,r,k,D,b,T,M,p,e);break}}"z"!==f&&"Z"!==f||(p=u.Z,e.addData(p),i=a,r=s),n=p}return e.toStatic(),e}var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(r.ZP);function M(t){return null!=t.setData}function k(t,e){var n=b(t),i=(0,f.l7)({},e);return i.buildPath=function(t){if(M(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){c(n,t),this.dirtyShape()},i}function D(t,e){return new T(k(t,e))}function C(t,e){var n=k(t,e),r=function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return(0,i.ZT)(e,t),e}(T);return r}function I(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.ZP(e);return s.createPathProxy(),s.buildPath=function(t){if(M(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}var P=n(66012),A=n(87184),O=n(12222),L=n(3082),R=n(49386),Z=n(79001),z=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),B=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new z},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,u=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-u,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-u,i+o,r),t.bezierCurveTo(i+o,r+u,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+u,i-o,r),t.closePath()},e}(r.ZP);B.prototype.type="ellipse";var N=B,E=n(60497),F=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),W=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new F},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(r.ZP);W.prototype.type="ring";var H=W,V=n(92411),U=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),G=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new U},e.prototype.buildPath=function(t,e){V.L(t,e,!0)},e}(r.ZP);G.prototype.type="polygon";var X=G,Y=n(12484),q=n(96354),K=n(22940),j=n(3816),J=[],Q=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 $(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?j.X_:j.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?j.X_:j.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?j.AZ:j.Zm)(t.x1,t.cpx1,t.x2,e),(n?j.AZ:j.Zm)(t.y1,t.cpy1,t.y2,e)]}var tt=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Q},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,u=e.cpx2,l=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==u||null==l?(h<1&&((0,j.Lx)(n,a,r,h,J),a=J[1],r=J[2],(0,j.Lx)(i,s,o,h,J),s=J[1],o=J[2]),t.quadraticCurveTo(a,s,r,o)):(h<1&&((0,j.Vz)(n,a,u,r,h,J),a=J[1],u=J[2],r=J[3],(0,j.Vz)(i,s,l,o,h,J),s=J[1],l=J[2],o=J[3]),t.bezierCurveTo(a,s,u,l,r,o)))},e.prototype.pointAt=function(t){return $(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=$(this.shape,t,!0);return a.Fv(e,e)},e}(r.ZP);tt.prototype.type="bezier-curve";var et=tt,nt=n(13026),it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.ZT)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.ZP.prototype.getBoundingRect.call(this)},e}(r.ZP),rt=it,ot=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),at=ot,st=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.ZT)(e,t),e}(at),ut=st,lt=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.ZT)(e,t),e}(at),ht=lt,ct=n(96805),ft=n(63772),pt=n(11123),dt=n(68992),gt=[],vt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.ZT)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new ct.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(gt)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(t,e))return!0}return!1},e}(dt.ZP),yt=vt,mt=n(96751),_t=n(75195),xt=n(51058),wt=Math.max,St=Math.min,bt={};function Tt(t){return r.ZP.extend(t)}var Mt=C;function kt(t,e){return Mt(t,e)}function Dt(t,e){bt[t]=e}function Ct(t){if(bt.hasOwnProperty(t))return bt[t]}function It(t,e,n,i){var r=D(t,e);return n&&("center"===i&&(n=At(n,r.getBoundingRect())),Lt(r,n)),r}function Pt(t,e,n){var i=new O.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(At(e,r))}}});return i}function At(t,e){var n,i=e.width/e.height,r=t.height*i;r<=t.width?n=t.height:(r=t.width,n=r/i);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-r/2,y:a-n/2,width:r,height:n}}var Ot=I;function Lt(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function Rt(t,e){return mt._3(t,t,{lineWidth:e}),t}function Zt(t){return mt.Pw(t.shape,t.shape,t.style),t}var zt=mt.vu;function Bt(t,e){var n=P.yR([]);while(t&&t!==e)P.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function Nt(t,e,n){return e&&!(0,f.zG)(e)&&(e=A.ZP.getLocalTransform(e)),n&&(e=P.U_([],e)),a.Ne([],t,e)}function Et(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Nt(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Ft(t){return!t.isGroup}function Wt(t){return null!=t.shape}function Ht(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(Ft(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),(0,xt.D)(t,r,n,(0,_t.A)(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Ft(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return Wt(t)&&(e.shape=(0,f.l7)({},t.shape)),e}}function Vt(t,e){return(0,f.UI)(t,(function(t){var n=t[0];n=wt(n,e.x),n=St(n,e.x+e.width);var i=t[1];return i=wt(i,e.y),i=St(i,e.y+e.height),[n,i]}))}function Ut(t,e){var n=wt(t.x,e.x),i=St(t.x+t.width,e.x+e.width),r=wt(t.y,e.y),o=St(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Gt(t,e,n){var i=(0,f.l7)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,f.ce)(r,n),new O.ZP(i)):It(t.replace("path://",""),i,n,"center")}function Xt(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Yt(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function Yt(t,e,n,i,r,o,a,s){var u=n-t,l=i-e,h=a-r,c=s-o,f=qt(h,c,u,l);if(Kt(f))return!1;var p=t-r,d=e-o,g=qt(p,d,u,l)/f;if(g<0||g>1)return!1;var v=qt(p,d,h,c)/f;return!(v<0||v>1)}function qt(t,e,n,i){return t*i-n*e}function Kt(t){return t<=1e-6&&t>=-1e-6}function jt(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,f.HD)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var u=t.formatterParamsExtra;u&&(0,f.S6)((0,f.XP)(u),(function(t){(0,f.RI)(s,t)||(s[t]=u[t],s.$vars.push(t))}));var l=(0,_t.A)(t.el);l.componentMainType=o,l.componentIndex=a,l.tooltipConfig={name:i,option:(0,f.ce)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function Jt(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Qt(t,e){if(t)if((0,f.kJ)(t))for(var n=0;n<t.length;n++)Jt(t[n],e);else Jt(t,e)}Dt("circle",Z.Z),Dt("ellipse",N),Dt("sector",E.C),Dt("ring",H),Dt("polygon",X),Dt("polyline",Y.Z),Dt("rect",q.Z),Dt("line",K.Z),Dt("bezierCurve",et),Dt("arc",nt.Z)},75195:function(t,e,n){n.d(e,{A:function(){return r},Q:function(){return o}});var i=n(38496),r=(0,i.Yf)(),o=function(t,e,n,i){if(i){var o=r(i);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===i.type&&i.traverse((function(i){var o=r(i);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"}))}}},16457:function(t,e,n){n.d(e,{BZ:function(){return c},ME:function(){return f},YD:function(){return p},dt:function(){return d},tE:function(){return g}});var i=n(95797),r=n(96805),o=n(41201),a=n(41054),s=i.S6,u=["left","right","top","bottom","width","height"],l=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(u,l){var h,c,f=u.getBoundingRect(),p=e.childAt(l+1),d=p&&p.getBoundingRect();if("horizontal"===t){var g=f.width+(d?-d.x+f.x:0);h=o+g,h>i||u.newline?(o=0,h=g,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(d?-d.y+f.y:0);c=a+v,c>r||u.newline?(o+=s+n,a=0,c=v,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=o,u.y=a,u.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var c=h;i.WA(h,"vertical"),i.WA(h,"horizontal");function f(t,e,n){n=a.MY(n||0);var i=e.width,s=e.height,u=(0,o.GM)(t.left,i),l=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,i),c=(0,o.GM)(t.bottom,s),f=(0,o.GM)(t.width,i),p=(0,o.GM)(t.height,s),d=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=i-h-g-u),isNaN(p)&&(p=s-c-d-l),null!=v&&(isNaN(f)&&isNaN(p)&&(v>i/s?f=.8*i:p=.8*s),isNaN(f)&&(f=v*p),isNaN(p)&&(p=f/v)),isNaN(u)&&(u=i-h-f-g),isNaN(l)&&(l=s-c-p-d),t.left||t.right){case"center":u=i/2-f/2-n[3];break;case"right":u=i-f-g;break}switch(t.top||t.bottom){case"middle":case"center":l=s/2-p/2-n[0];break;case"bottom":l=s-p-d;break}u=u||0,l=l||0,isNaN(f)&&(f=i-g-u-(h||0)),isNaN(p)&&(p=s-d-l-(c||0));var y=new r.Z(u+n[3],l+n[0],f,p);return y.margin=n,y}function p(t){var e=t.layoutMode||t.constructor.layoutMode;return i.Kn(e)?e:e?{type:e}:null}function d(t,e,n){var r=n&&n.ignoreSize;!i.kJ(r)&&(r=[r,r]);var o=u(l[0],0),a=u(l[1],1);function u(n,i){var o={},a=0,u={},l=0,f=2;if(s(n,(function(e){u[e]=t[e]})),s(n,(function(t){h(e,t)&&(o[t]=u[t]=e[t]),c(o,t)&&a++,c(u,t)&&l++})),r[i])return c(e,n[1])?u[n[2]]=null:c(e,n[2])&&(u[n[1]]=null),u;if(l!==f&&a){if(a>=f)return o;for(var p=0;p<n.length;p++){var d=n[p];if(!h(o,d)&&h(t,d)){o[d]=t[d];break}}return o}return u}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,n){s(t,(function(t){e[t]=n[t]}))}f(l[0],t,o),f(l[1],t,a)}function g(t){return v({},t)}function v(t,e){return e&&t&&s(u,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}},3313:function(t,e,n){n.d(e,{Sh:function(){return i},_y:function(){return r}});"undefined"!==typeof console&&console.warn&&console.log;function i(t){0}function r(t){throw new Error(t)}},38496:function(t,e,n){n.d(e,{C4:function(){return f},C6:function(){return L},Cc:function(){return h},Co:function(){return p},HZ:function(){return R},IL:function(){return z},O0:function(){return k},P$:function(){return Z},Td:function(){return c},U5:function(){return b},U9:function(){return B},Yf:function(){return I},ab:function(){return d},gO:function(){return C},kF:function(){return l},lY:function(){return M},pk:function(){return N},pm:function(){return A},yu:function(){return T},zH:function(){return O}});var i=n(95797),r=n(59979),o=n(41201);function a(t,e,n){return(e-t)*n+t}var s="series\0",u="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function h(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var c=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function f(t){return!(0,i.Kn)(t)||(0,i.kJ)(t)||t instanceof Date?t:t.value}function p(t){return(0,i.Kn)(t)&&!(t instanceof Array)}function d(t,e,n){var r="normalMerge"===n,o="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var s=(0,i.kW)();(0,i.S6)(e,(function(t,n){(0,i.Kn)(t)||(e[n]=null)}));var u=g(t,s,n);return(r||o)&&v(u,t,s,e),r&&y(u,e),r||o?m(u,e,o):a&&_(u,e),x(u),u}function g(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||M(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}function v(t,e,n,r){(0,i.S6)(r,(function(o,a){if(o&&null!=o.id){var s=S(o.id),u=n.get(s);if(null!=u){var l=t[u];(0,i.hu)(!l.newOption,'Duplicated option on id "'+s+'".'),l.newOption=o,l.existing=e[u],r[a]=null}}}))}function y(t,e){(0,i.S6)(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!M(n)&&!M(o)&&w("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}function m(t,e,n){(0,i.S6)(e,(function(e){if(e){var i,r=0;while((i=t[r])&&(i.newOption||M(i.existing)||i.existing&&null!=e.id&&!w("id",e,i.existing)))r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}function _(t,e){(0,i.S6)(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}function x(t){var e=(0,i.kW)();(0,i.S6)(t,(function(t){var n=t.existing;n&&e.set(n.id,t)})),(0,i.S6)(t,(function(t){var n=t.newOption;(0,i.hu)(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),(0,i.S6)(t,(function(t,n){var r=t.existing,o=t.newOption,a=t.keyInfo;if((0,i.Kn)(o)){if(a.name=null!=o.name?S(o.name):r?r.name:s+n,r)a.id=S(r.id);else if(null!=o.id)a.id=S(o.id);else{var u=0;do{a.id="\0"+a.name+"\0"+u++}while(e.get(a.id))}e.set(a.id,t)}}))}function w(t,e,n){var i=b(e[t],null),r=b(n[t],null);return null!=i&&null!=r&&i===r}function S(t){return b(t,"")}function b(t,e){return null==t?e:(0,i.HD)(t)?t:(0,i.hj)(t)||(0,i.cd)(t)?t+"":e}function T(t){var e=t.name;return!(!e||!e.indexOf(s))}function M(t){return t&&null!=t.id&&0===S(t.id).indexOf(u)}function k(t,e,n){(0,i.S6)(t,(function(t){var r=t.newOption;(0,i.Kn)(r)&&(t.keyInfo.mainType=e,t.keyInfo.subType=D(e,r,t.existing,n))}))}function D(t,e,n,i){var r=e.type?e.type:n?n.subType:i.determineSubType(t,e);return r}function C(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.kJ)(e.dataIndex)?(0,i.UI)(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.kJ)(e.name)?(0,i.UI)(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function I(){var t="__ec_inner_"+P++;return function(e){return e[t]||(e[t]={})}}var P=(0,o.jj)();function A(t,e,n){var i=O(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=a,u=n?n.defaultMainType:null;return!r&&u&&o.set(u,{}),o.each((function(e,i){var r=R(t,i,e,{useDefault:u===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[i+"Models"]=r.models,s[i+"Model"]=r.models[0]})),s}function O(t,e){var n;if((0,i.HD)(t)){var r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.kW)(),a={},s=!1;return(0,i.S6)(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],u=r[1],l=(r[2]||"").toLowerCase();if(u&&l&&!(e&&e.includeMainTypes&&(0,i.cq)(e.includeMainTypes,u)<0)){s=s||!!u;var h=o.get(u)||o.set(u,{});h[l]=t}}else a[n]=t})),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var L={useDefault:!0,enableAll:!1,enableNone:!1};function R(t,e,n,r){r=r||L;var o=n.index,a=n.id,s=n.name,u={models:null,specified:null!=o||null!=a||null!=s};if(!u.specified){var l=void 0;return u.models=r.useDefault&&(l=t.getComponent(e))?[l]:[],u}return"none"===o||!1===o?((0,i.hu)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),u.models=[],u):("all"===o&&((0,i.hu)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),u.models=t.queryComponents({mainType:e,index:o,id:a,name:s}),u)}function Z(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function z(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function B(t){return"auto"===t?r.Z.domSupported?"html":"richText":t||"html"}function N(t,e,n,r,s){var u=null==e||"auto"===e;if(null==r)return r;if((0,i.hj)(r)){var l=a(n||0,r,s);return(0,o.NM)(l,u?Math.max((0,o.p8)(n||0),(0,o.p8)(r)):e)}if((0,i.HD)(r))return s<1?n:r;for(var h=[],c=n,f=r,p=Math.max(c?c.length:0,f.length),d=0;d<p;++d){var g=t.getDimensionInfo(d);if(g&&"ordinal"===g.type)h[d]=(s<1&&c?c:f)[d];else{var v=c&&c[d]?c[d]:0,y=f[d];l=a(v,y,s);h[d]=(0,o.NM)(l,u?Math.max((0,o.p8)(v),(0,o.p8)(y)):e)}}return h}},41201:function(t,e,n){n.d(e,{FK:function(){return S},GM:function(){return u},HD:function(){return p},M9:function(){return f},NM:function(){return l},NU:function(){return s},S$:function(){return d},Xd:function(){return _},jj:function(){return T},kE:function(){return b},kx:function(){return w},mW:function(){return v},nl:function(){return k},p8:function(){return h},sG:function(){return m},wW:function(){return g},xW:function(){return x}});var i=n(95797),r=1e-4,o=20;function a(t){return t.replace(/^\s+|\s+$/g,"")}function s(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],u=o-r,l=s-a;if(0===u)return 0===l?a:(a+s)/2;if(i)if(u>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/u*l+a}function u(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return i.HD(t)?a(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),o),t=(+t).toFixed(e),n?t:+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 c(t)}function c(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function f(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function p(t,e){var n=i.u4(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var r=Math.pow(10,e),o=i.UI(t,(function(t){return(isNaN(t)?0:t)/n*r*100})),a=100*r,s=i.UI(o,(function(t){return Math.floor(t)})),u=i.u4(s,(function(t,e){return t+e}),0),l=i.UI(o,(function(t,e){return t-s[e]}));while(u<a){for(var h=Number.NEGATIVE_INFINITY,c=null,f=0,p=l.length;f<p;++f)l[f]>h&&(h=l[f],c=f);++s[c],l[c]=0,++u}return i.UI(s,(function(t){return t/r}))}function d(t,e){var n=Math.max(h(t),h(e)),i=t+e;return n>o?i:l(i,n)}function g(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-r&&t<r}var y=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function m(t){if(t instanceof Date)return t;if(i.HD(t)){var e=y.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function _(t){return Math.pow(10,x(t))}function x(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function w(t,e){var n,i=x(t),r=Math.pow(10,i),o=t/r;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function S(t){var e=parseFloat(t);return e==t&&(0!==e||!i.HD(t)||t.indexOf("x")<=0)?e:NaN}function b(t){return!isNaN(S(t))}function T(){return Math.round(9*Math.random())}function M(t,e){return 0===e?t:M(e,t%e)}function k(t,e){return null==t?e:null==e?t:t*e/M(t,e)}},10859:function(t,e,n){n.d(e,{$l:function(){return tt},Av:function(){return pt},C5:function(){return rt},CX:function(){return p},Hg:function(){return w},JQ:function(){return S},Ki:function(){return _},L1:function(){return g},Mh:function(){return V},RW:function(){return dt},SJ:function(){return Y},SX:function(){return U},T5:function(){return K},UL:function(){return Q},VP:function(){return G},WO:function(){return ct},XX:function(){return X},aG:function(){return gt},ci:function(){return it},e9:function(){return yt},fD:function(){return H},iK:function(){return b},k5:function(){return st},oJ:function(){return $},og:function(){return nt},qc:function(){return v},vF:function(){return ot},wU:function(){return d},xp:function(){return vt},xr:function(){return et},yx:function(){return x},zI:function(){return J}});var i=n(95797),r=n(75195),o=n(76171),a=n(38496),s=n(47397),u=1,l={},h=(0,a.Yf)(),c=(0,a.Yf)(),f=0,p=1,d=2,g=["emphasis","blur","select"],v=["normal","emphasis","blur","select"],y=10,m=9,_="highlight",x="downplay",w="select",S="unselect",b="toggleSelect";function T(t){return null!=t&&"none"!==t}function M(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function k(t){M(t,"emphasis",d)}function D(t){t.hoverState===d&&M(t,"normal",f)}function C(t){M(t,"blur",p)}function I(t){t.hoverState===p&&M(t,"normal",f)}function P(t){t.selected=!0}function A(t){t.selected=!1}function O(t,e,n){e(t,n)}function L(t,e,n){O(t,e,n),t.isGroup&&t.traverse((function(t){O(t,e,n)}))}function R(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],u=r[s];o[s]=null==u?i&&i[s]:u}for(a=0;a<t.animators.length;a++){var l=t.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(n)<0&&"style"===l.targetName&&l.saveTo(o,e)}return o}function Z(t,e,n,r){var a=n&&(0,i.cq)(n,"select")>=0,u=!1;if(t instanceof s.ZP){var l=h(t),c=a&&l.selectFill||l.normalFill,f=a&&l.selectStroke||l.normalStroke;if(T(c)||T(f)){r=r||{};var p=r.style||{};"inherit"===p.fill?(u=!0,r=(0,i.l7)({},r),p=(0,i.l7)({},p),p.fill=c):!T(p.fill)&&T(c)?(u=!0,r=(0,i.l7)({},r),p=(0,i.l7)({},p),p.fill=(0,o.fD)(c)):!T(p.stroke)&&T(f)&&(u||(r=(0,i.l7)({},r),p=(0,i.l7)({},p)),p.stroke=(0,o.fD)(f)),r.style=p}}if(r&&null==r.z2){u||(r=(0,i.l7)({},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=(0,i.l7)({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:m)}return n}function B(t,e,n){var r=(0,i.cq)(t.currentStates,e)>=0,o=t.style.opacity,a=r?null:R(t,["opacity"],e,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=(0,i.l7)({},n),s=(0,i.l7)({opacity:r?o:.1*a.opacity},s),n.style=s),n}function N(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return Z(this,t,e,n);if("blur"===t)return B(this,t,n);if("select"===t)return z(this,t,n)}return n}function E(t){t.stateProxy=N;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=N),n&&(n.stateProxy=N)}function F(t,e){!q(t,e)&&!t.__highByOuter&&L(t,k)}function W(t,e){!q(t,e)&&!t.__highByOuter&&L(t,D)}function H(t,e){t.__highByOuter|=1<<(e||0),L(t,k)}function V(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&L(t,D)}function U(t){L(t,C)}function G(t){L(t,I)}function X(t){L(t,P)}function Y(t){L(t,A)}function q(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function K(t){var e=t.getModel(),n=[],r=[];e.eachComponent((function(e,i){var o=c(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(t){I(t)})),a&&n.push(i)),o.isBlured=!1})),(0,i.S6)(r,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function j(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&G(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var s=o.getSeriesByIndex(t),u=s.coordinateSystem;u&&u.master&&(u=u.master);var l=[];o.eachSeries((function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var f=h&&u?h===u:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!f||"series"===e&&o)){var p=r.getViewOfSeriesModel(t);if(p.group.traverse((function(t){t.__highByOuter&&o&&"self"===e||C(t)})),(0,i.zG)(e))a(t.getData(),e);else if((0,i.Kn)(e))for(var d=(0,i.XP)(e),g=0;g<d.length;g++)a(t.getData(d[g]),e[d[g]]);l.push(t),c(t).isBlured=!0}})),o.eachComponent((function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,o)}}))}}function J(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){c(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){C(t)}))}}}function Q(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var u=(0,a.gO)(s,e);u=((0,i.kJ)(u)?u[0]:u)||0;var l=s.getItemGraphicEl(u);if(!l){var h=s.count(),c=0;while(!l&&c<h)l=s.getItemGraphicEl(c++)}if(l){var f=(0,r.A)(l);j(o,f.focus,f.blurScope,n)}else{var p=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=p&&j(o,p,d,n)}}}function $(t,e,n,i){var o={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return o;var a=i.getModel().getComponent(t,e);if(!a)return o;var s=i.getViewOfComponentModel(a);if(!s||!s.findHighDownDispatchers)return o;for(var u,l=s.findHighDownDispatchers(n),h=0;h<l.length;h++)if("self"===(0,r.A)(l[h]).focus){u=!0;break}return{focusSelf:u,dispatchers:l}}function tt(t,e,n){var o=(0,r.A)(t),a=$(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,u=a.focusSelf;s?(u&&J(o.componentMainType,o.componentIndex,n),(0,i.S6)(s,(function(t){return F(t,e)}))):(j(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&J(o.componentMainType,o.componentIndex,n),F(t,e))}function et(t,e,n){K(n);var o=(0,r.A)(t),a=$(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.S6)(a,(function(t){return W(t,e)})):W(t,e)}function nt(t,e,n){if(gt(e)){var r=e.dataType,o=t.getData(r),s=(0,a.gO)(o,e);(0,i.kJ)(s)||(s=[s]),t[e.type===b?"toggleSelect":e.type===w?"select":"unselect"](s,r)}}function it(t){var e=t.getAllData();(0,i.S6)(e,(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?X(e):Y(e)}))}))}function rt(t){var e=[];return t.eachSeries((function(t){var n=t.getAllData();(0,i.S6)(n,(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function ot(t,e,n){ft(t,!0),L(t,E),ut(t,e,n)}function at(t){ft(t,!1)}function st(t,e,n,i){i?at(t):ot(t,e,n)}function ut(t,e,n){var i=(0,r.A)(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var lt=["emphasis","blur","select"],ht={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ct(t,e,n,i){n=n||"itemStyle";for(var r=0;r<lt.length;r++){var o=lt[r],a=e.getModel([o,n]),s=t.ensureState(o);s.style=i?i(a):a[ht[n]]()}}function ft(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function pt(t){return!(!t||!t.__highDownDispatcher)}function dt(t){var e=l[t];return null==e&&u<=32&&(e=l[t]=u++),e}function gt(t){var e=t.type;return e===w||e===S||e===b}function vt(t){var e=t.type;return e===_||e===x}function yt(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},86741:function(t,e,n){n.d(e,{Cq:function(){return S},th:function(){return w}});var i=n(95797),r=n(47397),o=n(22940),a=n(96354),s=n(79001),u=n(43092),l=n(96805),h=n(66332),c=n(41201),f=r.ZP.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),p=r.ZP.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),d=r.ZP.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),u=i-o+a+s,l=Math.asin(s/a),h=Math.cos(l)*a,c=Math.sin(l),f=Math.cos(l),p=.6*a,d=.7*a;t.moveTo(n-h,u+s),t.arc(n,u,a,Math.PI-l,2*Math.PI+l),t.bezierCurveTo(n+h-c*p,u+s+f*p,n,i-d,n,i),t.bezierCurveTo(n,i-d,n-h+c*p,u+s+f*p,n-h,u+s),t.closePath()}}),g=r.ZP.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),v={line:o.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,diamond:p,pin:d,arrow:g,triangle:f},y={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},m={};(0,i.S6)(v,(function(t,e){m[e]=new t}));var _=r.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,h.wI)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=m[i];r||(i="rect",r=m[i]),y[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function x(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 w(t,e,n,i,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?u.makeImage(t.slice(8),new l.Z(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?u.makePath(t.slice(7),{},new l.Z(e,n,i,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:i,height:r}}),s.__isEmptyBrush=h,s.setColor=x,o&&s.setColor(o),s}function S(t,e){if(null!=t)return(0,i.kJ)(t)||(t=[t,t]),[(0,c.GM)(t[0],e[0])||0,(0,c.GM)((0,i.pD)(t[1],t[0]),e[1])||0]}},54849:function(t,e,n){n.d(e,{P2:function(){return a},T9:function(){return s},ZH:function(){return u}});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,u=0,l=0,h=null;function c(){l=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var f=function(){for(var t=[],f=0;f<arguments.length;f++)t[f]=arguments[f];i=(new Date).getTime(),o=this,a=t;var p=s||e,d=s||n;s=null,r=i-(d?u:l)-p,clearTimeout(h),d?h=setTimeout(c,p):r>=0?c():h=setTimeout(c,-r),u=i};return f.clear=function(){h&&(clearTimeout(h),h=null)},f.debounceNextCall=function(t){s=t},f}function s(t,e,n,s){var u=t[e];if(u){var l=u[i]||u,h=u[o],c=u[r];if(c!==n||h!==s){if(null==n||!s)return t[e]=l;u=t[e]=a(l,n,"debounce"===s),u[i]=l,u[o]=s,u[r]=n}return u}}function u(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},31360:function(t,e,n){n.d(e,{$K:function(){return _},CW:function(){return k},En:function(){return Z},FW:function(){return v},MV:function(){return P},P5:function(){return c},RZ:function(){return A},Tj:function(){return m},V8:function(){return d},WT:function(){return s},WU:function(){return w},Wp:function(){return C},cb:function(){return N},dV:function(){return l},eN:function(){return z},f5:function(){return R},fn:function(){return I},k7:function(){return S},q5:function(){return T},rM:function(){return B},s2:function(){return h},sx:function(){return M},vh:function(){return L},xC:function(){return x},xL:function(){return O},xz:function(){return D},yR:function(){return u}});var i=n(95797),r=n(41201),o=n(62645),a=n(85632),s=1e3,u=60*s,l=60*u,h=24*l,c=365*h,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}"},p="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:p,hour:p+" "+f.hour,minute:p+" "+f.minute,second:p+" "+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 _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function w(t,e,n,i){var s=r.sG(t),u=s[M(n)](),l=s[k(n)]()+1,h=Math.floor((l-1)/3)+1,c=s[D(n)](),f=s["get"+(n?"UTC":"")+"Day"](),p=s[C(n)](),d=(p-1)%12+1,g=s[I(n)](),v=s[P(n)](),m=s[A(n)](),_=p>=12?"pm":"am",x=_.toUpperCase(),w=i instanceof a.Z?i:(0,o.G8)(i||o.sO)||(0,o.Li)(),S=w.getModel("time"),b=S.get("month"),T=S.get("monthAbbr"),O=S.get("dayOfWeek"),L=S.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,x+"").replace(/{yyyy}/g,u+"").replace(/{yy}/g,y(u%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,b[l-1]).replace(/{MMM}/g,T[l-1]).replace(/{MM}/g,y(l,2)).replace(/{M}/g,l+"").replace(/{dd}/g,y(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,O[f]).replace(/{ee}/g,L[f]).replace(/{e}/g,f+"").replace(/{HH}/g,y(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,y(d+"",2)).replace(/{h}/g,d+"").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 S(t,e,n,r,o){var a=null;if(i.HD(n))a=n;else if(i.mf(n))a=n(t.value,e,{level:t.level});else{var s=i.l7({},f);if(t.level>0)for(var u=0;u<g.length;++u)s[g[u]]="{primary|"+s[g[u]]+"}";var l=n?!1===n.inherit?n:i.ce(n,s):s,h=b(t.value,o);if(l[h])a=l[h];else if(l.inherit){var c=v.indexOf(h);for(u=c-1;u>=0;--u)if(l[h]){a=l[h];break}a=a||s.none}if(i.kJ(a)){var p=null==t.level?0:t.level>=0?t.level:a.length+t.level;p=Math.min(p,a.length-1),a=a[p]}}return w(new Date(t.value),a,o,r)}function b(t,e){var n=r.sG(t),i=n[k(e)]()+1,o=n[D(e)](),a=n[C(e)](),s=n[I(e)](),u=n[P(e)](),l=n[A(e)](),h=0===l,c=h&&0===u,f=c&&0===s,p=f&&0===a,d=p&&1===o,g=d&&1===i;return g?"year":d?"month":p?"day":f?"hour":c?"minute":h?"second":"millisecond"}function T(t,e,n){var o=i.hj(t)?r.sG(t):t;switch(e=e||b(t,n),e){case"year":return o[M(n)]();case"half-year":return o[k(n)]()>=6?1:0;case"quarter":return Math.floor((o[k(n)]()+1)/4);case"month":return o[k(n)]();case"day":return o[D(n)]();case"half-day":return o[C(n)]()/24;case"hour":return o[C(n)]();case"minute":return o[I(n)]();case"second":return o[P(n)]();case"millisecond":return o[A(n)]()}}function M(t){return t?"getUTCFullYear":"getFullYear"}function k(t){return t?"getUTCMonth":"getMonth"}function D(t){return t?"getUTCDate":"getDate"}function C(t){return t?"getUTCHours":"getHours"}function I(t){return t?"getUTCMinutes":"getMinutes"}function P(t){return t?"getUTCSeconds":"getSeconds"}function A(t){return t?"getUTCMilliseconds":"getMilliseconds"}function O(t){return t?"setUTCFullYear":"setFullYear"}function L(t){return t?"setUTCMonth":"setMonth"}function R(t){return t?"setUTCDate":"setDate"}function Z(t){return t?"setUTCHours":"setHours"}function z(t){return t?"setUTCMinutes":"setMinutes"}function B(t){return t?"setUTCSeconds":"setSeconds"}function N(t){return t?"setUTCMilliseconds":"setMilliseconds"}},86594:function(t,e,n){n.d(e,{J5:function(){return l},RA:function(){return h},Wc:function(){return f},XD:function(){return a},cy:function(){return o},f7:function(){return r},fY:function(){return c},hL:function(){return u},qb:function(){return s}});var i=n(95797),r=(0,i.kW)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",u="keyedColumns",l="typedArray",h="unknown",c="column",f="row"},55486:function(t,e,n){var i=n(95797),r=n(3082),o=n(40259),a=n(6990),s=n(38496),u=n(10859),l=n(17787),h=n(73592),c=n(43092),f=s.Yf(),p=(0,h.Z)(),d=function(){function t(){this.group=new r.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,l.v)({plan:y,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&v(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&v(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){f(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function g(t,e,n){t&&(0,u.Av)(t)&&("emphasis"===e?u.fD:u.Mh)(t,n)}function v(t,e,n){var r=s.gO(t,e),o=e&&null!=e.highlightKey?(0,u.RW)(e.highlightKey):null;null!=r?(0,i.S6)(s.kF(r),(function(e){g(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){g(t,n,o)}))}function y(t){return p(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&f(r).updateMethod,u=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==u&&a[u](e,n,i,r),_[u]}a.dm(d,["dispose"]),a.au(d);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};e["Z"]=d},59160:function(t,e,n){var i=n(3082),r=n(40259),o=n(6990),a=function(){function t(){this.group=new i.Z,this.uid=r.Kr("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.dm(a),o.au(a),e["Z"]=a},88452:function(t,e,n){var i=n(87184),r=n(6997),o=n(96805),a=n(18626),s=n(66332),u=n(95797),l=n(25815),h=n(76171),c=n(8088),f="__zr_normal__",p=i.dN.concat(["ignore"]),d=(0,u.u4)(i.dN,(function(t,e){return t[e]=!0,t}),{ignore:!1}),g={},v=new o.Z(0,0,0,0),y=function(){function t(t){this.id=(0,u.M8)(),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 i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,u=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var h=v;n.layoutRect?h.copy(n.layoutRect):h.copy(this.getBoundingRect()),i||h.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,h):(0,s.wI)(g,n,h),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var f=n.origin;if(f&&null!=n.rotation){var p=void 0,d=void 0;"center"===f?(p=.5*h.width,d=.5*h.height):(p=(0,s.GM)(f[0],h.width),d=(0,s.GM)(f[1],h.height)),l=!0,r.originX=-r.x+p+(i?0:h.x),r.originY=-r.y+d+(i?0:h.y)}}null!=n.rotation&&(r.rotation=n.rotation);var y=n.offset;y&&(r.x+=y[0],r.y+=y[1],l||(r.originX=-y[0],r.originY=-y[1]));var m=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,w=void 0,S=void 0;m&&this.canBeInsideText()?(x=n.insideFill,w=n.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=w&&"auto"!==w||(w=this.getInsideTextStroke(x),S=!0)):(x=n.outsideFill,w=n.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=w&&"auto"!==w||(w=this.getOutsideStroke(x),S=!0)),x=x||"#000",x===_.fill&&w===_.stroke&&S===_.autoStroke&&o===_.align&&a===_.verticalAlign||(u=!0,_.fill=x,_.stroke=w,_.autoStroke=S,_.align=o,_.verticalAlign=a,e.setDefaultTextStyle(_)),e.__dirty|=c.YV,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()?l.GD:l.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&(0,h.Qc)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,(0,h.Pz)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,u.l7)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if((0,u.Kn)(t))for(var n=t,i=(0,u.XP)(n),r=0;r<i.length;r++){var o=i[r];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==f)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,p)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===f,o=this.hasState();if(o||!r){var a=this.currentStates,s=this.stateTransition;if(!((0,u.cq)(a,t)>=0)||!e&&1!==a.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||r){r||this.saveCurrentToNormalState(l);var h=!!(l&&l.hoverLayer||i);h&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var p=this._textContent,d=this._textGuide;return p&&p.useState(t,e,n,h),d&&d.useState(t,e,n,h),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),l}(0,u.H)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var u=t[s],l=void 0;this.stateProxy&&(l=this.stateProxy(u,t)),l||(l=this.states[u]),l&&i.push(l)}var h=i[o-1],f=!!(h&&h.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(i),d=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var g=this._textContent,v=this._textGuide;g&&g.useStates(t,e,f),v&&v.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}else this.clearStates()},t.prototype.isSilent=function(){var t=this.silent,e=this.parent;while(!t&&e){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,u.cq)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,u.cq)(i,t),o=(0,u.cq)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];(0,u.l7)(n,r),r.textConfig&&(e=e||{},(0,u.l7)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,u.l7)({},i?this.textConfig:n.textConfig),(0,u.l7)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,h=0;h<p.length;h++){var c=p[h],f=r&&d[c];e&&null!=e[c]?f?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(f?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(h=0;h<this.animators.length;h++){var g=this.animators[h],v=g.targetName;g.getLoop()||g.__changeFinalValue(v?(e||n)[v]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,u.l7)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var o=new r.Z(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=(0,u.cq)(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=m(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[n]){var t=this[n]=[];o(this,t)}return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,i,r){n=n||{};var o=[];T(t,"",t,e,n,i,o,r);var a=o.length,s=!1,u=n.done,l=n.aborted,h=function(){s=!0,a--,a<=0&&(s?u&&u():l&&l())},c=function(){a--,a<=0&&(s?u&&u():l&&l())};a||u&&u(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var f=0;f<o.length;f++){var p=o[f];h&&p.done(h),c&&p.aborted(c),n.force&&p.duration(n.duration),p.start(n.easing)}return o}function _(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function x(t){return(0,u.zG)(t[0])}function w(t,e,n){if((0,u.zG)(e[n]))if((0,u.zG)(t[n])||(t[n]=[]),(0,u.fU)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),_(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(x(r))for(var s=r[0].length,l=0;l<a;l++)o[l]?_(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else _(o,r,a);o.length=r.length}else t[n]=e[n]}function S(t,e){return t===e||(0,u.zG)(t)&&(0,u.zG)(e)&&b(t,e)}function b(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function T(t,e,n,i,o,a,s,l){for(var h=(0,u.XP)(i),c=o.duration,f=o.delay,p=o.additive,d=o.setToFinal,g=!(0,u.Kn)(a),v=t.animators,y=[],m=0;m<h.length;m++){var _=h[m],x=i[_];if(null!=x&&null!=n[_]&&(g||a[_]))if(!(0,u.Kn)(x)||(0,u.zG)(x)||(0,u.Qq)(x))y.push(_);else{if(e){l||(n[_]=x,t.updateDuringAnimation(e));continue}T(t,_,n[_],x,o,a&&a[_],s,l)}else l||(n[_]=x,t.updateDuringAnimation(e),y.push(_))}var b=y.length;if(!p&&b)for(var M=0;M<v.length;M++){var k=v[M];if(k.targetName===e){var D=k.stopTracks(y);if(D){var C=(0,u.cq)(v,k);v.splice(C,1)}}}if(o.force||(y=(0,u.hX)(y,(function(t){return!S(i[t],n[t])})),b=y.length),b>0||o.force&&!s.length){var I=void 0,P=void 0,A=void 0;if(l){P={},d&&(I={});for(M=0;M<b;M++){_=y[M];P[_]=n[_],d?I[_]=i[_]:n[_]=i[_]}}else if(d){A={};for(M=0;M<b;M++){_=y[M];A[_]=(0,r.V)(n[_]),w(n,i,_)}}k=new r.Z(n,!1,!1,p?(0,u.hX)(v,(function(t){return t.targetName===e})):null);k.targetName=e,o.scope&&(k.scope=o.scope),d&&I&&k.whenWithKeys(0,I,y),A&&k.whenWithKeys(0,A,y),k.whenWithKeys(null==c?500:c,l?P:i,y).delay(f||0),t.addAnimator(k,e),s.push(k)}}(0,u.jB)(y,a.Z),(0,u.jB)(y,i.ZP),e["Z"]=y},6997:function(t,e,n){n.d(e,{V:function(){return b},Z:function(){return N}});var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},r=i,o=n(95797),a=n(3816),s=/cubic-bezier\(([0-9,\.e ]+)\)/;function u(t){var e=t&&s.exec(t);if(e){var n=e[1].split(","),i=+(0,o.fy)(n[0]),r=+(0,o.fy)(n[1]),u=+(0,o.fy)(n[2]),l=+(0,o.fy)(n[3]);if(isNaN(i+r+u+l))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,a.kD)(0,i,u,1,t,h)&&(0,a.af)(0,r,l,1,h[0])}}}var l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||o.ZT,this.ondestroy=t.ondestroy||o.ZT,this.onrestart=t.onrestart||o.ZT,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,o.mf)(t)?t:r[t]||u(t)},t}(),h=l,c=n(76171),f=n(59979);Math.round;function p(t){return"linear"===t.type}function d(t){return"radial"===t.type}(function(){f.Z.hasGlobalWindow&&(0,o.mf)(window.btoa)})();var g=Array.prototype.slice;function v(t,e,n){return(e-t)*n+t}function y(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=v(e[o],n[o],i);return t}function m(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=v(e[a][s],n[a][s],i)}return t}function _(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function x(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function w(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function S(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a){var s=o>a;if(s)i.length=a;else for(var u=o;u<a;u++)i.push(1===n?r[u]:g.call(r[u]))}var l=i[0]&&i[0].length;for(u=0;u<i.length;u++)if(1===n)isNaN(i[u])&&(i[u]=r[u]);else for(var h=0;h<l;h++)isNaN(i[u][h])&&(i[u][h]=r[u][h])}}function b(t){if((0,o.zG)(t)){var e=t.length;if((0,o.zG)(t[0])){for(var n=[],i=0;i<e;i++)n.push(g.call(t[i]));return n}return g.call(t)}return t}function T(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function M(t){return(0,o.zG)(t&&t[0])?2:1}var k=0,D=1,C=2,I=3,P=4,A=5,O=6;function L(t){return t===P||t===A}function R(t){return t===D||t===C}var Z=[0,0,0,0],z=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,a=i.length,s=!1,l=O,h=e;if((0,o.zG)(e)){var f=M(e);l=f,(1===f&&!(0,o.hj)(e[0])||2===f&&!(0,o.hj)(e[0][0]))&&(s=!0)}else if((0,o.hj)(e)&&!(0,o.Bu)(e))l=k;else if((0,o.HD)(e))if(isNaN(+e)){var g=c.Qc(e);g&&(h=g,l=I)}else l=k;else if((0,o.Qq)(e)){var v=(0,o.l7)({},h);v.colorStops=(0,o.UI)(e.colorStops,(function(t){return{offset:t.offset,color:c.Qc(t.color)}})),p(e)?l=P:d(e)&&(l=A),h=v}0===a?this.valType=l:l===this.valType&&l!==O||(s=!0),this.discrete=this.discrete||s;var y={time:t,value:h,rawValue:e,percent:0};return n&&(y.easing=n,y.easingFunc=(0,o.mf)(n)?n:r[n]||u(n)),i.push(y),y},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=R(i),u=L(i),l=0;l<r;l++){var h=n[l],c=h.value,f=o.value;h.percent=h.time/t,a||(s&&l!==r-1?S(c,f,i):u&&w(c.colorStops,f.colorStops))}if(!a&&i!==A&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(l=0;l<r;l++)i===k?n[l].additiveValue=n[l].value-p:i===I?n[l].additiveValue=_([],n[l].value,p,-1):R(i)&&(n[l].additiveValue=i===D?_([],n[l].value,p,-1):x([],n[l].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,a=null!=this._additiveTrack,s=a?"additiveValue":"value",u=this.valType,l=this.keyframes,h=l.length,c=this.propName,f=u===I,p=this._lastFr,d=Math.min;if(1===h)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){var g=d(p+1,h-1);for(n=g;n>=0;n--)if(l[n].percent<=e)break;n=d(n,h-2)}else{for(n=p;n<h;n++)if(l[n].percent>e)break;n=d(n-1,h-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var _=r.percent-i.percent,x=0===_?1:d((e-i.percent)/_,1);r.easingFunc&&(x=r.easingFunc(x));var w=a?this._additiveValue:f?Z:t[c];if(!R(u)&&!f||w||(w=this._additiveValue=[]),this.discrete)t[c]=x<1?i.rawValue:r.rawValue;else if(R(u))u===D?y(w,i[s],r[s],x):m(w,i[s],r[s],x);else if(L(u)){var S=i[s],b=r[s],M=u===P;t[c]={type:M?"linear":"radial",x:v(S.x,b.x,x),y:v(S.y,b.y,x),colorStops:(0,o.UI)(S.colorStops,(function(t,e){var n=b.colorStops[e];return{offset:v(t.offset,n.offset,x),color:T(y([],t.color,n.color,x))}})),global:b.global},M?(t[c].x2=v(S.x2,b.x2,x),t[c].y2=v(S.y2,b.y2,x)):t[c].r=v(S.r,b.r,x)}else if(f)y(w,i[s],r[s],x),a||(t[c]=T(w));else{var k=v(i[s],r[s],x);a?this._additiveValue=k:t[c]=k}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===k?t[n]=t[n]+i:e===I?(c.Qc(t[n],Z),_(Z,Z,i,1),t[n]=T(Z)):e===D?_(t[n],t[n],i,1):e===C&&x(t[n],t[n],i,1)},t}(),B=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?(0,o.H)("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,o.XP)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new z(a);var u=void 0,l=this._getAdditiveTrack(a);if(l){var h=l.keyframes,c=h[h.length-1];u=c&&c.value,l.valType===I&&u&&(u=T(u))}else u=this._target[a];if(null==u)continue;t>0&&s.addKeyframe(0,b(u),i),this._trackKeys.push(a)}s.addKeyframe(t,b(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,l=u.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=u[l-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var f=new h({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,o.UI)(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=b(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,o.XP)(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var s=a.pop();r.addKeyframe(s.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),N=B},33851:function(t,e,n){var i,r=n(59979);i=r.Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e["Z"]=i},85621:function(t,e,n){n.d(e,{Dm:function(){return W},RV:function(){return F},RZ:function(){return w}});var i=n(68992),r=n(355),o=n(50322),a=n(24250),s=n(47397),u=n(12222),l=n(29912),h=n(95797);function c(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:(0,h.hj)(t)?[t]:(0,h.kJ)(t)?t:null:null}function f(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&c(e.lineDash,e.lineWidth),i=e.lineDashOffset;if(n){var r=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;r&&1!==r&&(n=(0,h.UI)(n,(function(t){return t/r})),i/=r)}return[n,i]}var p=n(8088),d=n(9886),g=new r.Z(!0);function v(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function y(t){return"string"===typeof t&&"none"!==t}function m(t){var e=t.fill;return null!=e&&"none"!==e}function _(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 x(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 w(t,e,n){var i=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.I3),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}function S(t,e,n,i){var r,o=v(n),s=m(n),u=n.strokePercent,l=u<1,h=!e.path;e.silent&&!l||!h||e.createPathProxy();var c=e.path||g,d=e.__dirty;if(!i){var y=n.fill,S=n.stroke,b=s&&!!y.colorStops,T=o&&!!S.colorStops,M=s&&!!y.image,k=o&&!!S.image,D=void 0,C=void 0,I=void 0,P=void 0,A=void 0;(b||T)&&(A=e.getBoundingRect()),b&&(D=d?(0,a.ZF)(t,y,A):e.__canvasFillGradient,e.__canvasFillGradient=D),T&&(C=d?(0,a.ZF)(t,S,A):e.__canvasStrokeGradient,e.__canvasStrokeGradient=C),M&&(I=d||!e.__canvasFillPattern?w(t,y,e):e.__canvasFillPattern,e.__canvasFillPattern=I),k&&(P=d||!e.__canvasStrokePattern?w(t,S,e):e.__canvasStrokePattern,e.__canvasStrokePattern=I),b?t.fillStyle=D:M&&(I?t.fillStyle=I:s=!1),T?t.strokeStyle=C:k&&(P?t.strokeStyle=P:o=!1)}var O,L,R=e.getGlobalScale();c.setScale(R[0],R[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(r=f(e),O=r[0],L=r[1]);var Z=!0;(h||d&p.RH)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),Z=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),Z&&c.rebuildPath(t,l?u:1),O&&(t.setLineDash(O),t.lineDashOffset=L),i||(n.strokeFirst?(o&&x(t,n),s&&_(t,n)):(s&&_(t,n),o&&x(t,n))),O&&t.setLineDash([])}function b(t,e,n){var i=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),u=e.getHeight(),l=i.width/i.height;if(null==s&&null!=u?s=u*l:null==u&&null!=s?u=s/l:null==s&&null==u&&(s=i.width,u=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,u)}else if(n.sx&&n.sy){h=n.sx,c=n.sy;var f=s-h,p=u-c;t.drawImage(i,h,c,f,p,r,a,s,u)}else t.drawImage(i,r,a,s,u)}}function T(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||d.Uo,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(i=f(e),o=i[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(v(n)&&t.strokeText(r,n.x,n.y),m(n)&&t.fillText(r,n.x,n.y)):(m(n)&&t.fillText(r,n.x,n.y),v(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}var M=["shadowBlur","shadowOffsetX","shadowOffsetY"],k=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function D(t,e,n,r,o){var a=!1;if(!r&&(n=n||{},e===n))return!1;if(r||e.opacity!==n.opacity){N(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(r||e.blend!==n.blend)&&(a||(N(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var u=0;u<M.length;u++){var l=M[u];(r||e[l]!==n[l])&&(a||(N(t,o),a=!0),t[l]=t.dpr*(e[l]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(N(t,o),a=!0),t.shadowColor=e.shadowColor||i.tj.shadowColor),a}function C(t,e,n,i,r){var o=E(e,r.inHover),a=i?null:n&&E(n,r.inHover)||{};if(o===a)return!1;var s=D(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(N(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(N(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(N(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var u=o.lineWidth,l=u/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(N(t,r),s=!0),t.lineWidth=l)}for(var h=0;h<k.length;h++){var c=k[h],f=c[0];(i||o[f]!==a[f])&&(s||(N(t,r),s=!0),t[f]=o[f]||c[1])}return s}function I(t,e,n,i,r){return D(t,E(e,r.inHover),n&&E(n,r.inHover),i,r)}function P(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function A(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),P(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}function O(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var L=1,R=2,Z=3,z=4;function B(t){var e=m(t),n=v(t);return!(t.lineDash||!(+e^+n)||e&&"string"!==typeof t.fill||n&&"string"!==typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function N(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function E(t,e){return e&&t.__hoverStyle||t.style}function F(t,e){W(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function W(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~p.YV,void(e.__isRendered=!1);var o=e.__clipPaths,h=n.prevElClipPaths,c=!1,f=!1;if(h&&!(0,a.cF)(o,h)||(h&&h.length&&(N(t,n),t.restore(),f=c=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(N(t,n),t.save(),A(o,t,n),c=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var d=n.prevEl;d||(f=c=!0);var g=e instanceof s.ZP&&e.autoBatch&&B(e.style);c||O(r,d.transform)?(N(t,n),P(t,e)):g||N(t,n);var v=E(e,n.inHover);e instanceof s.ZP?(n.lastDrawType!==L&&(f=!0,n.lastDrawType=L),C(t,e,d,f,n),g&&(n.batchFill||n.batchStroke)||t.beginPath(),S(t,e,v,g),g&&(n.batchFill=v.fill||"",n.batchStroke=v.stroke||"")):e instanceof l.Z?(n.lastDrawType!==Z&&(f=!0,n.lastDrawType=Z),C(t,e,d,f,n),T(t,e,v)):e instanceof u.ZP?(n.lastDrawType!==R&&(f=!0,n.lastDrawType=R),I(t,e,d,f,n),b(t,e,v)):e.getTemporalDisplayables&&(n.lastDrawType!==z&&(f=!0,n.lastDrawType=z),H(t,e,n)),g&&i&&N(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function H(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){var u=i[o];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),W(t,u,s,o===a-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),s.prevEl=u}for(var l=0,h=r.length;l<h;l++){u=r[l];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),W(t,u,s,l===h-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),s.prevEl=u}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}},24250:function(t,e,n){function i(t){return isFinite(t)}function r(t,e,n){var r=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,s=null==e.y2?0:e.y2;e.global||(r=r*n.width+n.x,o=o*n.width+n.x,a=a*n.height+n.y,s=s*n.height+n.y),r=i(r)?r:0,o=i(o)?o:1,a=i(a)?a:0,s=i(s)?s:0;var u=t.createLinearGradient(r,a,o,s);return u}function o(t,e,n){var r=n.width,o=n.height,a=Math.min(r,o),s=null==e.x?.5:e.x,u=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(s=s*r+n.x,u=u*o+n.y,l*=a),s=i(s)?s:.5,u=i(u)?u:.5,l=l>=0&&i(l)?l:.5;var h=t.createRadialGradient(s,u,0,s,u,l);return h}function a(t,e,n){for(var i="radial"===e.type?o(t,e,n):r(t,e,n),a=e.colorStops,s=0;s<a.length;s++)i.addColorStop(a[s].offset,a[s].color);return i}function s(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function u(t){return parseInt(t,10)}function l(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||u(s[i])||u(t.style[i]))-(u(s[o])||0)-(u(s[a])||0)|0}n.d(e,{ZF:function(){return a},ap:function(){return l},cF:function(){return s}})},25815:function(t,e,n){n.d(e,{Ak:function(){return a},GD:function(){return u},KL:function(){return o},iv:function(){return l},vU:function(){return s}});var i=n(59979),r=1;i.Z.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",u="#ccc",l="#eee"},66332:function(t,e,n){n.d(e,{Dp:function(){return f},GM:function(){return p},M3:function(){return h},dz:function(){return s},lP:function(){return l},mU:function(){return c},wI:function(){return d}});var i=n(96805),r=n(86634),o=n(9886),a={};function s(t,e){e=e||o.Uo;var n=a[e];n||(n=a[e]=new r.ZP(500));var i=n.get(t);return null==i&&(i=o.qW.measureText(t,e).width,n.put(t,i)),i}function u(t,e,n,r){var o=s(t,e),a=f(e),u=h(0,o,n),l=c(0,a,r),p=new i.Z(u,l,o,a);return p}function l(t,e,n,r){var o=((t||"")+"").split("\n"),a=o.length;if(1===a)return u(o[0],e,n,r);for(var s=new i.Z(0,0,0,0),l=0;l<o.length;l++){var h=u(o[l],e,n,r);0===l?s.copy(h):s.union(h)}return s}function h(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function f(t){return s("国",t)}function p(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,u=n.x,l=n.y,h="left",c="top";if(i instanceof Array)u+=p(i[0],n.width),l+=p(i[1],n.height),h=null,c=null;else switch(i){case"left":u-=r,l+=s,h="right",c="middle";break;case"right":u+=r+a,l+=s,c="middle";break;case"top":u+=a/2,l-=r,h="center",c="bottom";break;case"bottom":u+=a/2,l+=o+r,h="center";break;case"inside":u+=a/2,l+=s,h="center",c="middle";break;case"insideLeft":u+=r,l+=s,c="middle";break;case"insideRight":u+=a-r,l+=s,h="right",c="middle";break;case"insideTop":u+=a/2,l+=r,h="center";break;case"insideBottom":u+=a/2,l+=o-r,h="center",c="bottom";break;case"insideTopLeft":u+=r,l+=r;break;case"insideTopRight":u+=a-r,l+=r,h="right";break;case"insideBottomLeft":u+=r,l+=o-r,c="bottom";break;case"insideBottomRight":u+=a-r,l+=o-r,h="right",c="bottom";break}return t=t||{},t.x=u,t.y=l,t.align=h,t.verticalAlign=c,t}},79214:function(t,e,n){n.d(e,{m:function(){return r}});var i=2*Math.PI;function r(t){return t%=i,t<0&&(t+=i),t}},96805:function(t,e,n){var i=n(66012),r=n(11123),o=Math.min,a=Math.max,s=new r.Z,u=new r.Z,l=new r.Z,h=new r.Z,c=new r.Z,f=new r.Z,p=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,r=t.height/e.height,o=i.Ue();return i.Iu(o,o,[-e.x,-e.y]),i.bA(o,o,[n,r]),i.Iu(o,o,[t.x,t.y]),o},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,o=i.x,a=i.x+i.width,s=i.y,u=i.y+i.height,l=e.x,h=e.x+e.width,p=e.y,d=e.y+e.height,g=!(a<l||h<o||u<p||d<s);if(n){var v=1/0,y=0,m=Math.abs(a-l),_=Math.abs(h-o),x=Math.abs(u-p),w=Math.abs(d-s),S=Math.min(m,_),b=Math.min(x,w);a<l||h<o?S>y&&(y=S,m<_?r.Z.set(f,-m,0):r.Z.set(f,_,0)):S<v&&(v=S,m<_?r.Z.set(c,m,0):r.Z.set(c,-_,0)),u<p||d<s?b>y&&(y=b,x<w?r.Z.set(f,0,-x):r.Z.set(f,0,w)):S<v&&(v=S,x<w?r.Z.set(c,0,x):r.Z.set(c,0,-w))}return n&&r.Z.copy(n,g?c:f),g},t.prototype.contain=function(t,e){var n=this;return t>=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,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],c=i[3],f=i[4],p=i[5];return e.x=n.x*r+f,e.y=n.y*c+p,e.width=n.width*r,e.height=n.height*c,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=l.x=n.x,s.y=h.y=n.y,u.x=h.x=n.x+n.width,u.y=l.y=n.y+n.height,s.transform(i),h.transform(i),u.transform(i),l.transform(i),e.x=o(s.x,u.x,l.x,h.x),e.y=o(s.y,u.y,l.y,h.y);var d=a(s.x,u.x,l.x,h.x),g=a(s.y,u.y,l.y,h.y);e.width=d-e.x,e.height=g-e.y}else e!==n&&t.copy(e,n)},t}();e["Z"]=p},18626:function(t,e){var n=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},u=r[t].length-1,l=r[t][u];return l&&l.callAtLast?r[t].splice(u,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var u=i[s];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,e[0]);break;case 2:u.h.call(u.ctx,e[0],e[1]);break;default:u.h.apply(u.ctx,e);break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,u=0;u<s;u++){var l=i[u];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(a);break;case 1:l.h.call(a,e[0]);break;case 2:l.h.call(a,e[0],e[1]);break;default:l.h.apply(a,e.slice(1,o-1));break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}();e["Z"]=n},86634:function(t,e,n){var i=function(){function t(t){this.value=t}return t}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var u=n.head;n.remove(u),delete r[u.key],o=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["ZP"]=o},63772:function(t,e,n){var i=n(11123),r=[0,0],o=[0,0],a=new i.Z,s=new i.Z,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 i.Z;for(n=0;n<2;n++)this._axes[n]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,u=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,u),n[3].set(o,u),e)for(var l=0;l<4;l++)n[l].transform(e);i.Z.sub(r[0],n[1],n[0]),i.Z.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r)||r||i.Z.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,u){for(var l=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(l=!1,s)return l;var f=Math.abs(o[0]-r[1]),p=Math.abs(r[0]-o[1]);Math.min(f,p)>a.len()&&(f<p?i.Z.scale(a,c,-f*u):i.Z.scale(a,c,p*u))}else if(n){f=Math.abs(o[0]-r[1]),p=Math.abs(r[0]-o[1]);Math.min(f,p)<n.len()&&(f<p?i.Z.scale(n,c,f*u):i.Z.scale(n,c,-p*u))}}return l},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,u=1;u<e.length;u++){var l=e[u].dot(i)+r[t];a=Math.min(l,a),s=Math.max(l,s)}n[0]=a,n[1]=s},t}();e["Z"]=u},355:function(t,e,n){n.d(e,{Z:function(){return F},L:function(){return N}});var i=n(15468),r=n(96805),o=n(25815),a=n(3816),s=Math.min,u=Math.max,l=Math.sin,h=Math.cos,c=2*Math.PI,f=i.Ue(),p=i.Ue(),d=i.Ue();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=u(t,n),o[1]=u(e,i)}var v=[],y=[];function m(t,e,n,i,r,o,l,h,c,f){var p=a.pP,d=a.af,g=p(t,n,r,l,v);c[0]=1/0,c[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var m=0;m<g;m++){var _=d(t,n,r,l,v[m]);c[0]=s(_,c[0]),f[0]=u(_,f[0])}g=p(e,i,o,h,y);for(m=0;m<g;m++){var x=d(e,i,o,h,y[m]);c[1]=s(x,c[1]),f[1]=u(x,f[1])}c[0]=s(t,c[0]),f[0]=u(t,f[0]),c[0]=s(l,c[0]),f[0]=u(l,f[0]),c[1]=s(e,c[1]),f[1]=u(e,f[1]),c[1]=s(h,c[1]),f[1]=u(h,f[1])}function _(t,e,n,i,r,o,l,h){var c=a.QC,f=a.Zm,p=u(s(c(t,n,r),1),0),d=u(s(c(e,i,o),1),0),g=f(t,n,r,p),v=f(e,i,o,d);l[0]=s(t,r,g),l[1]=s(e,o,v),h[0]=u(t,r,g),h[1]=u(e,o,v)}function x(t,e,n,r,o,a,s,u,g){var v=i.VV,y=i.Fp,m=Math.abs(o-a);if(m%c<1e-4&&m>1e-4)return u[0]=t-n,u[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(f[0]=h(o)*n+t,f[1]=l(o)*r+e,p[0]=h(a)*n+t,p[1]=l(a)*r+e,v(u,f,p),y(g,f,p),o%=c,o<0&&(o+=c),a%=c,a<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(d[0]=h(x)*n+t,d[1]=l(x)*r+e,v(u,d,u),y(g,d,g))}var w={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},S=[],b=[],T=[],M=[],k=[],D=[],C=Math.min,I=Math.max,P=Math.cos,A=Math.sin,O=Math.abs,L=Math.PI,R=2*L,Z="undefined"!==typeof Float32Array,z=[];function B(t){var e=Math.round(t/L*1e8)/1e8;return e%2*L}function N(t,e){var n=B(t[0]);n<0&&(n+=R);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=R?r=n+R:e&&n-r>=R?r=n-R:!e&&n>r?r=n+(R-B(n-r)):e&&n<r&&(r=n-(R-B(r-n))),t[0]=n,t[1]=r}var E=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){n=n||0,n>0&&(this._ux=O(n/o.KL/t)||0,this._uy=O(n/o.KL/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(w.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=O(t-this._xi),i=O(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(w.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(w.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(w.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),z[0]=i,z[1]=r,N(z,o),i=z[0],r=z[1];var a=r-i;return this.addData(w.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=P(r)*n+t,this._yi=A(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(w.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(w.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Z||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();Z&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,u){if(this._saveData){var l=this.data;this._len+arguments.length>l.length&&(this._expandData(),l=this.data);for(var h=0;h<arguments.length;h++)l[this._len++]=arguments[h]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(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;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Z&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){T[0]=T[1]=k[0]=k[1]=Number.MAX_VALUE,M[0]=M[1]=D[0]=D[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,a=0,s=0;for(t=0;t<this._len;){var u=e[t++],l=1===t;switch(l&&(n=e[t],o=e[t+1],a=n,s=o),u){case w.M:n=a=e[t++],o=s=e[t++],k[0]=a,k[1]=s,D[0]=a,D[1]=s;break;case w.L:g(n,o,e[t],e[t+1],k,D),n=e[t++],o=e[t++];break;case w.C:m(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],k,D),n=e[t++],o=e[t++];break;case w.Q:_(n,o,e[t++],e[t++],e[t],e[t+1],k,D),n=e[t++],o=e[t++];break;case w.A:var h=e[t++],c=e[t++],f=e[t++],p=e[t++],d=e[t++],v=e[t++]+d;t+=1;var y=!e[t++];l&&(a=P(d)*f+h,s=A(d)*p+c),x(h,c,f,p,d,v,y,k,D),n=P(v)*f+h,o=A(v)*p+c;break;case w.R:a=n=e[t++],s=o=e[t++];var S=e[t++],b=e[t++];g(a,s,a+S,s+b,k,D);break;case w.Z:n=a,o=s;break}i.VV(T,T,k),i.Fp(M,M,D)}return 0===t&&(T[0]=T[1]=M[0]=M[1]=0),new r.Z(T[0],T[1],M[0]-T[0],M[1]-T[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,h=0,c=0,f=0;f<e;){var p=t[f++],d=1===f;d&&(r=t[f],o=t[f+1],s=r,u=o);var g=-1;switch(p){case w.M:r=s=t[f++],o=u=t[f++];break;case w.L:var v=t[f++],y=t[f++],m=v-r,_=y-o;(O(m)>n||O(_)>i||f===e-1)&&(g=Math.sqrt(m*m+_*_),r=v,o=y);break;case w.C:var x=t[f++],S=t[f++],b=(v=t[f++],y=t[f++],t[f++]),T=t[f++];g=(0,a.Ci)(r,o,x,S,v,y,b,T,10),r=b,o=T;break;case w.Q:x=t[f++],S=t[f++],v=t[f++],y=t[f++];g=(0,a.wQ)(r,o,x,S,v,y,10),r=v,o=y;break;case w.A:var M=t[f++],k=t[f++],D=t[f++],L=t[f++],Z=t[f++],z=t[f++],B=z+Z;f+=1,d&&(s=P(Z)*D+M,u=A(Z)*L+k),g=I(D,L)*C(R,Math.abs(z)),r=P(B)*D+M,o=A(B)*L+k;break;case w.R:s=r=t[f++],u=o=t[f++];var N=t[f++],E=t[f++];g=2*N+2*E;break;case w.Z:m=s-r,_=u-o;g=Math.sqrt(m*m+_*_),r=s,o=u;break}g>=0&&(l[c++]=g,h+=g)}return this._pathLen=h,h},t.prototype.rebuildPath=function(t,e){var n,i,r,o,s,u,l,h,c,f,p,d=this.data,g=this._ux,v=this._uy,y=this._len,m=e<1,_=0,x=0,T=0;if(!m||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,h=this._pathLen,c=e*h,c))t:for(var M=0;M<y;){var k=d[M++],D=1===M;switch(D&&(r=d[M],o=d[M+1],n=r,i=o),k!==w.L&&T>0&&(t.lineTo(f,p),T=0),k){case w.M:n=r=d[M++],i=o=d[M++],t.moveTo(r,o);break;case w.L:s=d[M++],u=d[M++];var L=O(s-r),R=O(u-o);if(L>g||R>v){if(m){var Z=l[x++];if(_+Z>c){var z=(c-_)/Z;t.lineTo(r*(1-z)+s*z,o*(1-z)+u*z);break t}_+=Z}t.lineTo(s,u),r=s,o=u,T=0}else{var B=L*L+R*R;B>T&&(f=s,p=u,T=B)}break;case w.C:var N=d[M++],E=d[M++],F=d[M++],W=d[M++],H=d[M++],V=d[M++];if(m){Z=l[x++];if(_+Z>c){z=(c-_)/Z;(0,a.Vz)(r,N,F,H,z,S),(0,a.Vz)(o,E,W,V,z,b),t.bezierCurveTo(S[1],b[1],S[2],b[2],S[3],b[3]);break t}_+=Z}t.bezierCurveTo(N,E,F,W,H,V),r=H,o=V;break;case w.Q:N=d[M++],E=d[M++],F=d[M++],W=d[M++];if(m){Z=l[x++];if(_+Z>c){z=(c-_)/Z;(0,a.Lx)(r,N,F,z,S),(0,a.Lx)(o,E,W,z,b),t.quadraticCurveTo(S[1],b[1],S[2],b[2]);break t}_+=Z}t.quadraticCurveTo(N,E,F,W),r=F,o=W;break;case w.A:var U=d[M++],G=d[M++],X=d[M++],Y=d[M++],q=d[M++],K=d[M++],j=d[M++],J=!d[M++],Q=X>Y?X:Y,$=O(X-Y)>.001,tt=q+K,et=!1;if(m){Z=l[x++];_+Z>c&&(tt=q+K*(c-_)/Z,et=!0),_+=Z}if($&&t.ellipse?t.ellipse(U,G,X,Y,j,q,tt,J):t.arc(U,G,Q,q,tt,J),et)break t;D&&(n=P(q)*X+U,i=A(q)*Y+G),r=P(tt)*X+U,o=A(tt)*Y+G;break;case w.R:n=r=d[M],i=o=d[M+1],s=d[M++],u=d[M++];var nt=d[M++],it=d[M++];if(m){Z=l[x++];if(_+Z>c){var rt=c-_;t.moveTo(s,u),t.lineTo(s+C(rt,nt),u),rt-=nt,rt>0&&t.lineTo(s+nt,u+C(rt,it)),rt-=it,rt>0&&t.lineTo(s+I(nt-rt,0),u+it),rt-=nt,rt>0&&t.lineTo(s,u+I(it-rt,0));break t}_+=Z}t.rect(s,u,nt,it);break;case w.Z:if(m){Z=l[x++];if(_+Z>c){z=(c-_)/Z;t.lineTo(r*(1-z)+n*z,o*(1-z)+i*z);break t}_+=Z}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=w,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),F=E},11123:function(t,e){var n=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}();e["Z"]=n},87184:function(t,e,n){n.d(e,{dN:function(){return p}});var i=n(66012),r=n(15468),o=i.yR,a=5e-5;function s(t){return t>a||t<-a}var u=[],l=[],h=i.Ue(),c=Math.abs,f=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||i.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?i.dC(n,t,n):i.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(o(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(u);var n=u[0]<0?-1:1,r=u[1]<0?-1:1,o=((u[0]-n)*e+n)/u[0]||0,a=((u[1]-r)*e+r)/u[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.Ue(),i.U_(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.Ue(),i.dC(l,t.invTransform,e),e=l);var n=this.originX,r=this.originY;(n||r)&&(h[4]=n,h[5]=r,i.dC(l,e,h),l[4]-=n,l[5]-=r,e=l),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],i=this.invTransform;return i&&r.Ne(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.Ne(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){d(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,h=t.x,c=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||u){var d=n+s,g=r+u;e[4]=-d*o-f*g*a,e[5]=-g*a-p*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=f*a,l&&i.U1(e,e,l),e[4]+=n+h,e[5]+=r+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function d(t,e){for(var n=0;n<p.length;n++){var i=p[n];t[i]=e[i]}}e["ZP"]=f},3816:function(t,e,n){n.d(e,{AZ:function(){return b},Ci:function(){return w},Jz:function(){return T},Lx:function(){return k},QC:function(){return M},Vz:function(){return _},Wr:function(){return D},X_:function(){return v},Zm:function(){return S},af:function(){return g},kD:function(){return y},pP:function(){return m},t1:function(){return x},wQ:function(){return C}});var i=n(15468),r=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,u=o(3),l=1/3,h=(0,i.Ue)(),c=(0,i.Ue)(),f=(0,i.Ue)();function p(t){return t>-a&&t<a}function d(t){return t>a||t<-a}function g(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function v(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function y(t,e,n,i,a,s){var h=i+3*(e-n)-t,c=3*(n-2*e+t),f=3*(e-t),d=t-a,g=c*c-3*h*f,v=c*f-9*h*d,y=f*f-3*c*d,m=0;if(p(g)&&p(v))if(p(c))s[0]=0;else{var _=-f/c;_>=0&&_<=1&&(s[m++]=_)}else{var x=v*v-4*g*y;if(p(x)){var w=v/g,S=(_=-c/h+w,-w/2);_>=0&&_<=1&&(s[m++]=_),S>=0&&S<=1&&(s[m++]=S)}else if(x>0){var b=o(x),T=g*c+1.5*h*(-v+b),M=g*c+1.5*h*(-v-b);T=T<0?-r(-T,l):r(T,l),M=M<0?-r(-M,l):r(M,l);_=(-c-(T+M))/(3*h);_>=0&&_<=1&&(s[m++]=_)}else{var k=(2*g*c-3*h*v)/(2*o(g*g*g)),D=Math.acos(k)/3,C=o(g),I=Math.cos(D),P=(_=(-c-2*C*I)/(3*h),S=(-c+C*(I+u*Math.sin(D)))/(3*h),(-c+C*(I-u*Math.sin(D)))/(3*h));_>=0&&_<=1&&(s[m++]=_),S>=0&&S<=1&&(s[m++]=S),P>=0&&P<=1&&(s[m++]=P)}}return m}function m(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,u=3*e-3*t,l=0;if(p(s)){if(d(a)){var h=-u/a;h>=0&&h<=1&&(r[l++]=h)}}else{var c=a*a-4*s*u;if(p(c))r[0]=-a/(2*s);else if(c>0){var f=o(c),g=(h=(-a+f)/(2*s),(-a-f)/(2*s));h>=0&&h<=1&&(r[l++]=h),g>=0&&g<=1&&(r[l++]=g)}}return l}function _(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,u=(i-n)*r+n,l=(s-a)*r+a,h=(u-s)*r+s,c=(h-l)*r+l;o[0]=t,o[1]=a,o[2]=l,o[3]=c,o[4]=c,o[5]=h,o[6]=u,o[7]=i}function x(t,e,n,r,a,u,l,p,d,v,y){var m,_,x,w,S,b=.005,T=1/0;h[0]=d,h[1]=v;for(var M=0;M<1;M+=.05)c[0]=g(t,n,a,l,M),c[1]=g(e,r,u,p,M),w=(0,i.WU)(h,c),w<T&&(m=M,T=w);T=1/0;for(var k=0;k<32;k++){if(b<s)break;_=m-b,x=m+b,c[0]=g(t,n,a,l,_),c[1]=g(e,r,u,p,_),w=(0,i.WU)(c,h),_>=0&&w<T?(m=_,T=w):(f[0]=g(t,n,a,l,x),f[1]=g(e,r,u,p,x),S=(0,i.WU)(f,h),x<=1&&S<T?(m=x,T=S):b*=.5)}return y&&(y[0]=g(t,n,a,l,m),y[1]=g(e,r,u,p,m)),o(T)}function w(t,e,n,i,r,o,a,s,u){for(var l=t,h=e,c=0,f=1/u,p=1;p<=u;p++){var d=p*f,v=g(t,n,r,a,d),y=g(e,i,o,s,d),m=v-l,_=y-h;c+=Math.sqrt(m*m+_*_),l=v,h=y}return c}function S(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function b(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function T(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),u=t-i,l=0;if(p(a)){if(d(s)){var h=-u/s;h>=0&&h<=1&&(r[l++]=h)}}else{var c=s*s-4*a*u;if(p(c)){h=-s/(2*a);h>=0&&h<=1&&(r[l++]=h)}else if(c>0){var f=o(c),g=(h=(-s+f)/(2*a),(-s-f)/(2*a));h>=0&&h<=1&&(r[l++]=h),g>=0&&g<=1&&(r[l++]=g)}}return l}function M(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function k(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function D(t,e,n,r,a,u,l,p,d){var g,v=.005,y=1/0;h[0]=l,h[1]=p;for(var m=0;m<1;m+=.05){c[0]=S(t,n,a,m),c[1]=S(e,r,u,m);var _=(0,i.WU)(h,c);_<y&&(g=m,y=_)}y=1/0;for(var x=0;x<32;x++){if(v<s)break;var w=g-v,b=g+v;c[0]=S(t,n,a,w),c[1]=S(e,r,u,w);_=(0,i.WU)(c,h);if(w>=0&&_<y)g=w,y=_;else{f[0]=S(t,n,a,b),f[1]=S(e,r,u,b);var T=(0,i.WU)(f,h);b<=1&&T<y?(g=b,y=T):v*=.5}}return d&&(d[0]=S(t,n,a,g),d[1]=S(e,r,u,g)),o(y)}function C(t,e,n,i,r,o,a){for(var s=t,u=e,l=0,h=1/a,c=1;c<=a;c++){var f=c*h,p=S(t,n,r,f),d=S(e,i,o,f),g=p-s,v=d-u;l+=Math.sqrt(g*g+v*v),s=p,u=d}return l}},99837:function(t,e,n){n.d(e,{F1:function(){return v},UK:function(){return p},A4:function(){return h},YB:function(){return l}});var i=n(59979),r=Math.log(2);function o(t,e,n,i,a,s){var u=i+"-"+a,l=t.length;if(s.hasOwnProperty(u))return s[u];if(1===e){var h=Math.round(Math.log((1<<l)-1&~a)/r);return t[n][h]}var c=i|1<<n,f=n+1;while(i&1<<f)f++;for(var p=0,d=0,g=0;d<l;d++){var v=1<<d;v&a||(p+=(g%2?-1:1)*t[n][d]*o(t,e-1,f,c,a|v,s),g++)}return s[u]=p,p}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var u=0;u<8;u++)null==a[u]&&(a[u]=0),a[u]+=((s+u)%2?-1:1)*o(n,7,0===s?1:0,1<<s,1<<u,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s="___zrEVENTSAVED",u=[];function l(t,e,n,i,r){return h(u,e,i,r,!0)&&h(t,n,u[0],u[1])}function h(t,e,n,r,o){if(e.getBoundingClientRect&&i.Z.domSupported&&!p(e)){var a=e[s]||(e[s]={}),u=c(e,a),l=f(u,a,o);if(l)return l(t,n,r),!0}return!1}function c(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,u=o%2,l=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[u]+":0",r[l]+":0",i[1-u]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function f(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],u=[],l=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),f=2*h,p=c.left,d=c.top;s.push(p,d),l=l&&o&&p===o[f]&&d===o[f+1],u.push(t[h].offsetLeft,t[h].offsetTop)}return l&&r?r:(e.srcCoords=s,e[i]=n?a(u,s):a(s,u))}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}var d=/([&<>"'])/g,g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function v(t){return null==t?"":(t+"").replace(d,(function(t,e){return g[e]}))}},59979:function(t,e){var n=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 n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),r=new i;function o(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="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?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?r.worker=!0:"undefined"===typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(r.node=!0,r.svgSupported=!0):o(navigator.userAgent,r),e["Z"]=r},14834:function(t,e,n){n.d(e,{OD:function(){return c},Oo:function(){return p},eV:function(){return u},iP:function(){return h},sT:function(){return g},xg:function(){return d}});var i=n(59979),r=n(99837),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.Z.browser.firefox&&+i.Z.browser.version.split(".")[0]<39;function u(t,e,n,i){return n=n||{},i?l(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):l(t,e,n),n}function l(t,e,n){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.UK)(t)){var u=t.getBoundingClientRect();return n.zrX=o-u.left,void(n.zrY=s-u.top)}if((0,r.A4)(a,t,o,s))return n.zrX=a[0],void(n.zrY=a[1])}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(e=h(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?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 l=e.button;return null==e.which&&void 0!==l&&o.test(e.type)&&(e.which=1&l?1:2&l?3:4&l?2:0),e}function f(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),o=i>0?-1:i<0?1:n>0?-1:1;return 3*r*o}function p(t,e,n,i){t.addEventListener(e,n,i)}function d(t,e,n,i){t.removeEventListener(e,n,i)}var g=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}},66012:function(t,e,n){function i(){return[1,0,0,1,0,0]}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],u=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=u,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function u(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],u=e[3],l=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+u*h,t[3]=-o*h+c*u,t[4]=c*(a-i[0])+h*(l-i[1])+i[0],t[5]=c*(l-i[1])-h*(a-i[0])+i[1],t}function l(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function h(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],u=n*a-o*i;return u?(u=1/u,t[0]=a*u,t[1]=-o*u,t[2]=-i*u,t[3]=n*u,t[4]=(i*s-a*r)*u,t[5]=(o*r-n*s)*u,t):null}n.d(e,{Iu:function(){return s},JG:function(){return o},U1:function(){return u},U_:function(){return h},Ue:function(){return i},bA:function(){return l},dC:function(){return a},yR:function(){return r}})},9886:function(t,e,n){n.d(e,{Uo:function(){return o},n5:function(){return i},qW:function(){return c}});var i=12,r="sans-serif",o=i+"px "+r,a=20,s=100,u="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function l(t){var e={};if("undefined"===typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-a)/s;e[i]=r}return e}var h=l(u),c={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,r){if(!t){var a=c.createCanvas();t=a&&a.getContext("2d")}if(t)return e!==r&&(e=t.font=r||o),t.measureText(n);n=n||"",r=r||o;var s=/((?:\d+)?\.?\d*)px/.exec(r),u=s&&+s[1]||i,l=0;if(r.indexOf("mono")>=0)l=u*n.length;else for(var f=0;f<n.length;f++){var p=h[n[f]];l+=null==p?u:p*u}return{width:l}}}(),loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}}},1994:function(t,e,n){n.d(e,{Z:function(){return f}});var i=32,r=7;function o(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function a(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;s(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function s(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function u(t,e,n,i,r){for(i===e&&i++;i<n;i++){var o,a=t[i],s=e,u=i;while(s<u)o=s+u>>>1,r(a,t[o])<0?u=o:s=o+1;var l=i-s;switch(l){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(l>0)t[s+l]=t[s+l-1],l--}t[s]=a}}function l(t,e,n,i,r,o){var a=0,s=0,u=1;if(o(t,e[n+r])>0){s=i-r;while(u<s&&o(t,e[n+r+u])>0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=r,u+=r}else{s=r+1;while(u<s&&o(t,e[n+r-u])<=0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s);var l=a;a=r-u,u=r-l}a++;while(a<u){var h=a+(u-a>>>1);o(t,e[n+h])>0?a=h+1:u=h}return u}function h(t,e,n,i,r,o){var a=0,s=0,u=1;if(o(t,e[n+r])<0){s=r+1;while(u<s&&o(t,e[n+r-u])<0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s);var l=a;a=r-u,u=r-l}else{s=i-r;while(u<s&&o(t,e[n+r+u])>=0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=r,u+=r}a++;while(a<u){var h=a+(u-a>>>1);o(t,e[n+h])<0?u=h:a=h+1}return u}function c(t,e){var n,i,o=r,a=0,s=[];function u(t,e){n[a]=t,i[a]=e,a+=1}function c(){while(a>1){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;p(t)}}function f(){while(a>1){var t=a-2;t>0&&i[t-1]<i[t+1]&&t--,p(t)}}function p(r){var o=n[r],s=i[r],u=n[r+1],c=i[r+1];i[r]=s+c,r===a-3&&(n[r+1]=n[r+2],i[r+1]=i[r+2]),a--;var f=h(t[u],t,o,s,0,e);o+=f,s-=f,0!==s&&(c=l(t[o+s-1],t,u,c,c-1,e),0!==c&&(s<=c?d(o,s,u,c):g(o,s,u,c)))}function d(n,i,a,u){var c=0;for(c=0;c<i;c++)s[c]=t[n+c];var f=0,p=a,d=n;if(t[d++]=t[p++],0!==--u)if(1!==i){var g,v,y,m=o;while(1){g=0,v=0,y=!1;do{if(e(t[p],s[f])<0){if(t[d++]=t[p++],v++,g=0,0===--u){y=!0;break}}else if(t[d++]=s[f++],g++,v=0,1===--i){y=!0;break}}while((g|v)<m);if(y)break;do{if(g=h(t[p],s,f,i,0,e),0!==g){for(c=0;c<g;c++)t[d+c]=s[f+c];if(d+=g,f+=g,i-=g,i<=1){y=!0;break}}if(t[d++]=t[p++],0===--u){y=!0;break}if(v=l(s[f],t,p,u,0,e),0!==v){for(c=0;c<v;c++)t[d+c]=t[p+c];if(d+=v,p+=v,u-=v,0===u){y=!0;break}}if(t[d++]=s[f++],1===--i){y=!0;break}m--}while(g>=r||v>=r);if(y)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===i){for(c=0;c<u;c++)t[d+c]=t[p+c];t[d+u]=s[f]}else{if(0===i)throw new Error;for(c=0;c<i;c++)t[d+c]=s[f+c]}}else{for(c=0;c<u;c++)t[d+c]=t[p+c];t[d+u]=s[f]}else for(c=0;c<i;c++)t[d+c]=s[f+c]}function g(n,i,a,u){var c=0;for(c=0;c<u;c++)s[c]=t[a+c];var f=n+i-1,p=u-1,d=a+u-1,g=0,v=0;if(t[d--]=t[f--],0!==--i)if(1!==u){var y=o;while(1){var m=0,_=0,x=!1;do{if(e(s[p],t[f])<0){if(t[d--]=t[f--],m++,_=0,0===--i){x=!0;break}}else if(t[d--]=s[p--],_++,m=0,1===--u){x=!0;break}}while((m|_)<y);if(x)break;do{if(m=i-h(s[p],t,n,i,i-1,e),0!==m){for(d-=m,f-=m,i-=m,v=d+1,g=f+1,c=m-1;c>=0;c--)t[v+c]=t[g+c];if(0===i){x=!0;break}}if(t[d--]=s[p--],1===--u){x=!0;break}if(_=u-l(t[f],s,0,u,u-1,e),0!==_){for(d-=_,p-=_,u-=_,v=d+1,g=p+1,c=0;c<_;c++)t[v+c]=s[g+c];if(u<=1){x=!0;break}}if(t[d--]=t[f--],0===--i){x=!0;break}y--}while(m>=r||_>=r);if(x)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===u){for(d-=i,f-=i,v=d+1,g=f+1,c=i-1;c>=0;c--)t[v+c]=t[g+c];t[d]=s[p]}else{if(0===u)throw new Error;for(g=d-(u-1),c=0;c<u;c++)t[g+c]=s[c]}}else{for(d-=i,f-=i,v=d+1,g=f+1,c=i-1;c>=0;c--)t[v+c]=t[g+c];t[d]=s[p]}else for(g=d-(u-1),c=0;c<u;c++)t[g+c]=s[c]}return n=[],i=[],{mergeRuns:c,forceMergeRuns:f,pushRun:u}}function f(t,e,n,r){n||(n=0),r||(r=t.length);var s=r-n;if(!(s<2)){var l=0;if(s<i)return l=a(t,n,r,e),void u(t,n,r,n+l,e);var h=c(t,e),f=o(s);do{if(l=a(t,n,r,e),l<f){var p=s;p>f&&(p=f),u(t,n,n+p,n+l,e),l=p}h.pushRun(n,l),h.mergeRuns(),s-=l,n+=l}while(0!==s);h.forceMergeRuns()}}},95797:function(t,e,n){n.d(e,{$j:function(){return lt},Bu:function(){return G},H:function(){return y},HD:function(){return z},I3:function(){return ft},Jv:function(){return X},Kn:function(){return E},M8:function(){return v},MY:function(){return j},Mh:function(){return H},Qq:function(){return V},R1:function(){return q},RI:function(){return ht},S6:function(){return k},TS:function(){return _},UI:function(){return D},WA:function(){return L},WW:function(){return st},XP:function(){return P},XW:function(){return b},ZT:function(){return ct},ak:function(){return O},cd:function(){return B},ce:function(){return w},cq:function(){return S},d9:function(){return m},dL:function(){return U},fU:function(){return W},fy:function(){return Q},hX:function(){return I},hj:function(){return N},hu:function(){return J},jB:function(){return T},kJ:function(){return R},kW:function(){return at},l7:function(){return x},mf:function(){return Z},nW:function(){return ut},pD:function(){return Y},s7:function(){return tt},tP:function(){return K},u4:function(){return C},zG:function(){return M}});var i=n(9886),r=C(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=C(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,u=s.forEach,l=s.filter,h=s.slice,c=s.map,f=function(){}.constructor,p=f?f.prototype:null,d="__proto__",g=2311;function v(){return g++}function y(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!==typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!==typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!et(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!et(t)){var u=t.constructor;if(u.from)e=u.from(t);else{e=new u(t.length);for(i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!et(t)&&!H(t))for(var l in e={},t)t.hasOwnProperty(l)&&l!==d&&(e[l]=m(t[l]));return e}function _(t,e,n){if(!E(e)||!E(t))return n?m(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==d){var r=t[i],o=e[i];!E(o)||!E(r)||R(o)||R(r)||H(o)||H(r)||F(o)||F(r)||et(o)||et(r)?!n&&i in t||(t[i]=m(e[i])):_(r,o,n)}return t}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==d&&(t[n]=e[n]);return t}function w(t,e,n){for(var i=P(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}i.qW.createCanvas;function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function b(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function T(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,n)}function M(t){return!!t&&("string"!==typeof t&&"number"===typeof t.length)}function k(t,e,n){if(t&&e)if(t.forEach&&t.forEach===u)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function D(t,e,n){if(!t)return[];if(!e)return K(t);if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function C(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function I(t,e,n){if(!t)return[];if(!e)return K(t);if(t.filter&&t.filter===l)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function P(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function A(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(h.call(arguments)))}}var O=p&&Z(p.bind)?p.call.bind(p.bind):A;function L(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function R(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function Z(t){return"function"===typeof t}function z(t){return"string"===typeof t}function B(t){return"[object String]"===a.call(t)}function N(t){return"number"===typeof t}function E(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function F(t){return!!r[a.call(t)]}function W(t){return!!o[a.call(t)]}function H(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function V(t){return null!=t.colorStops}function U(t){return null!=t.image}function G(t){return t!==t}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function Y(t,e){return null!=t?t:e}function q(t,e,n){return null!=t?t:null!=e?e:n}function K(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function j(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function J(t,e){if(!t)throw new Error(e)}function Q(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $="__ec_primitive__";function tt(t){t[$]=!0}function et(t){return t[$]}var nt=function(){function t(){this.data={}}return t.prototype["delete"]=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return P(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),it="function"===typeof Map;function rt(){return it?new Map:new nt}var ot=function(){function t(e){var n=R(e);this.data=rt();var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&k(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,i){t.call(e,n,i)}))},t.prototype.keys=function(){var t=this.data.keys();return it?Array.from(t):t},t.prototype.removeKey=function(t){this.data["delete"](t)},t}();function at(t){return new ot(t)}function st(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function ut(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&x(n,e),n}function lt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function ht(t,e){return t.hasOwnProperty(e)}function ct(){}var ft=180/Math.PI},15468:function(t,e,n){function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t){return[t[0],t[1]]}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t){return Math.sqrt(u(t))}n.d(e,{Fp:function(){return m},Fv:function(){return h},IH:function(){return o},Ne:function(){return v},TE:function(){return c},TK:function(){return f},Ue:function(){return i},VV:function(){return y},WU:function(){return d},bA:function(){return l},d9:function(){return r},lu:function(){return a},t7:function(){return g}});function u(t){return t[0]*t[0]+t[1]*t[1]}function l(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function h(t,e){var n=s(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function c(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var f=c;function p(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var d=p;function g(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function v(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function y(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},68992:function(t,e,n){n.d(e,{ik:function(){return h},tj:function(){return l}});var i=n(4311),r=n(88452),o=n(96805),a=n(95797),s=n(8088),u="__zr_style_"+Math.round(10*Math.random()),l={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};l[u]=!0;var c=["z","z2","invisible"],f=["invisible"],p=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype._init=function(e){for(var n=(0,a.XP)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&v(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var u=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-u),t.y=Math.floor(t.y-u),t.width=Math.ceil(t.width+1+2*u),t.height=Math.ceil(t.height+1+2*u))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"===typeof t?this.style[t]=e:(0,a.l7)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},e.prototype.styleUpdated=function(){this.__dirty&=~s.SE},e.prototype.createStyle=function(t){return(0,a.nW)(l,t)},e.prototype.useStyle=function(t){t[u]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[u]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},e.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var u,l=!(n&&r);if(n&&n.style?o?r?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(u,n.style)):l&&(u=i.style),u)if(o){var h=this.style;if(this.style=this.createStyle(l?{}:h),l)for(var p=(0,a.XP)(h),d=0;d<p.length;d++){var g=p[d];g in u&&(u[g]=u[g],this.style[g]=h[g])}var v=(0,a.XP)(u);for(d=0;d<v.length;d++){g=v[d];this.style[g]=this.style[g]}this._transitionState(e,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);var y=this.__inHover?f:c;for(d=0;d<y.length;d++){g=y[d];n&&null!=n[g]?this[g]=n[g]:l&&null!=i[g]&&(this[g]=i[g])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return(0,a.l7)(t,e),t},e.prototype.getAnimationStyleProps=function(){return h},e.initDefaultProps=function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=s.YV|s.SE}(),e}(r.Z),d=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);function v(t,e,n){return d.copy(t.getBoundingRect()),t.transform&&d.applyTransform(t.transform),g.width=e,g.height=n,!d.intersect(g)}e["ZP"]=p},3082:function(t,e,n){var i=n(4311),r=n(95797),o=n(88452),a=n(96805),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.cq(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=r.cq(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var u=s.getBoundingRect(),l=s.getLocalTransform(i);l?(a.Z.applyTransform(e,u,l),r=r||e.clone(),r.union(e)):(r=r||u.clone(),r.union(u))}}return r||e},e}(o.Z);s.prototype.type="group",e["Z"]=s},12222:function(t,e,n){var i=n(4311),r=n(68992),o=n(96805),a=n(95797),s=(0,a.ce)({x:0,y:0},r.tj),u={style:(0,a.ce)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.ik.style)};function l(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.createStyle=function(t){return(0,a.nW)(s,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=l(e.image)?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return u},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.ZP);h.prototype.type="image",e["ZP"]=h},47397:function(t,e,n){n.d(e,{$t:function(){return O},ZP:function(){return z}});var i=n(4311),r=n(68992),o=n(355);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,u=0,l=t;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;u=(e-i)/(t-n),l=(t*i-n*e)/(t-n);var h=u*o-a+l,c=h*h/(u*u+1);return c<=s/2*s/2}var s=n(3816);function u(t,e,n,i,r,o,a,u,l,h,c){if(0===l)return!1;var f=l;if(c>e+f&&c>i+f&&c>o+f&&c>u+f||c<e-f&&c<i-f&&c<o-f&&c<u-f||h>t+f&&h>n+f&&h>r+f&&h>a+f||h<t-f&&h<n-f&&h<r-f&&h<a-f)return!1;var p=s.t1(t,e,n,i,r,o,a,u,h,c,null);return p<=f/2}function l(t,e,n,i,r,o,a,u,l){if(0===a)return!1;var h=a;if(l>e+h&&l>i+h&&l>o+h||l<e-h&&l<i-h&&l<o-h||u>t+h&&u>n+h&&u>r+h||u<t-h&&u<n-h&&u<r-h)return!1;var c=(0,s.Wr)(t,e,n,i,r,o,u,l,null);return c<=h/2}var h=n(79214),c=2*Math.PI;function f(t,e,n,i,r,o,a,s,u){if(0===a)return!1;var l=a;s-=t,u-=e;var f=Math.sqrt(s*s+u*u);if(f-l>n||f+l<n)return!1;if(Math.abs(i-r)%c<1e-4)return!0;if(o){var p=i;i=(0,h.m)(r),r=(0,h.m)(p)}else i=(0,h.m)(i),r=(0,h.m)(r);i>r&&(r+=c);var d=Math.atan2(u,s);return d<0&&(d+=c),d>=i&&d<=r||d+c>=i&&d+c<=r}function p(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var u=a*(n-t)+t;return u===r?1/0:u>r?s:0}var d=o.Z.CMD,g=2*Math.PI,v=1e-4;function y(t,e){return Math.abs(t-e)<v}var m=[-1,-1,-1],_=[-1,-1];function x(){var t=_[0];_[0]=_[1],_[1]=t}function w(t,e,n,i,r,o,a,u,l,h){if(h>e&&h>i&&h>o&&h>u||h<e&&h<i&&h<o&&h<u)return 0;var c=s.kD(e,i,o,u,h,m);if(0===c)return 0;for(var f=0,p=-1,d=void 0,g=void 0,v=0;v<c;v++){var y=m[v],w=0===y||1===y?.5:1,S=s.af(t,n,r,a,y);S<l||(p<0&&(p=s.pP(e,i,o,u,_),_[1]<_[0]&&p>1&&x(),d=s.af(e,i,o,u,_[0]),p>1&&(g=s.af(e,i,o,u,_[1]))),2===p?y<_[0]?f+=d<e?w:-w:y<_[1]?f+=g<d?w:-w:f+=u<g?w:-w:y<_[0]?f+=d<e?w:-w:f+=u<d?w:-w)}return f}function S(t,e,n,i,r,o,a,u){if(u>e&&u>i&&u>o||u<e&&u<i&&u<o)return 0;var l=s.Jz(e,i,o,u,m);if(0===l)return 0;var h=s.QC(e,i,o);if(h>=0&&h<=1){for(var c=0,f=s.Zm(e,i,o,h),p=0;p<l;p++){var d=0===m[p]||1===m[p]?.5:1,g=s.Zm(t,n,r,m[p]);g<a||(m[p]<h?c+=f<e?d:-d:c+=o<f?d:-d)}return c}d=0===m[0]||1===m[0]?.5:1,g=s.Zm(t,n,r,m[0]);return g<a?0:o<e?d:-d}function b(t,e,n,i,r,o,a,s){if(s-=e,s>n||s<-n)return 0;var u=Math.sqrt(n*n-s*s);m[0]=-u,m[1]=u;var l=Math.abs(i-r);if(l<1e-4)return 0;if(l>=g-1e-4){i=0,r=g;var h=o?1:-1;return a>=m[0]+t&&a<=m[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=g,r+=g);for(var f=0,p=0;p<2;p++){var d=m[p];if(d+t>a){var v=Math.atan2(s,d);h=o?1:-1;v<0&&(v=g+v),(v>=i&&v<=r||v+g>=i&&v+g<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),f+=h)}}return f}function T(t,e,n,i,r){for(var o,s,h=t.data,c=t.len(),g=0,v=0,m=0,_=0,x=0,T=0;T<c;){var M=h[T++],k=1===T;switch(M===d.M&&T>1&&(n||(g+=p(v,m,_,x,i,r))),k&&(v=h[T],m=h[T+1],_=v,x=m),M){case d.M:_=h[T++],x=h[T++],v=_,m=x;break;case d.L:if(n){if(a(v,m,h[T],h[T+1],e,i,r))return!0}else g+=p(v,m,h[T],h[T+1],i,r)||0;v=h[T++],m=h[T++];break;case d.C:if(n){if(u(v,m,h[T++],h[T++],h[T++],h[T++],h[T],h[T+1],e,i,r))return!0}else g+=w(v,m,h[T++],h[T++],h[T++],h[T++],h[T],h[T+1],i,r)||0;v=h[T++],m=h[T++];break;case d.Q:if(n){if(l(v,m,h[T++],h[T++],h[T],h[T+1],e,i,r))return!0}else g+=S(v,m,h[T++],h[T++],h[T],h[T+1],i,r)||0;v=h[T++],m=h[T++];break;case d.A:var D=h[T++],C=h[T++],I=h[T++],P=h[T++],A=h[T++],O=h[T++];T+=1;var L=!!(1-h[T++]);o=Math.cos(A)*I+D,s=Math.sin(A)*P+C,k?(_=o,x=s):g+=p(v,m,o,s,i,r);var R=(i-D)*P/I+D;if(n){if(f(D,C,P,A,A+O,L,e,R,r))return!0}else g+=b(D,C,P,A,A+O,L,R,r);v=Math.cos(A+O)*I+D,m=Math.sin(A+O)*P+C;break;case d.R:_=v=h[T++],x=m=h[T++];var Z=h[T++],z=h[T++];if(o=_+Z,s=x+z,n){if(a(_,x,o,x,e,i,r)||a(o,x,o,s,e,i,r)||a(o,s,_,s,e,i,r)||a(_,s,_,x,e,i,r))return!0}else g+=p(o,x,o,s,i,r),g+=p(_,s,_,x,i,r);break;case d.Z:if(n){if(a(v,m,_,x,e,i,r))return!0}else g+=p(v,m,_,x,i,r);v=_,m=x;break}}return n||y(m,x)||(g+=p(v,m,_,x,i,r)||0),0!==g}function M(t,e,n){return T(t,0,!1,e,n)}function k(t,e,n,i){return T(t,e,!0,n,i)}var D=n(95797),C=n(76171),I=n(25815),P=n(8088),A=n(87184),O=(0,D.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.tj),L={style:(0,D.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.ik.style)},R=A.dN.concat(["invisible","culling","z","z2","zlevel","parent"]),Z=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<R.length;++s)r[R[s]]=this[R[s]];r.__dirty|=P.YV}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=(0,D.XP)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,D.l7)(this.style,a):this.useStyle(a):"shape"===o?(0,D.l7)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,D.HD)(t)){var e=(0,C.L0)(t,0);return e>.5?I.vU:e>.2?I.iv:I.GD}if(t)return I.GD}return I.vU},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,D.HD)(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=(0,C.L0)(t,0)<I.Ak;if(i===r)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~P.RH},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new o.Z(!1)},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.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&P.RH)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;s=Math.max(s,null==u?4:u)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),k(o,a/s,t,e)))return!0}if(this.hasFill())return M(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=P.RH,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:(0,D.l7)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&P.RH)},e.prototype.createStyle=function(t){return(0,D.nW)(O,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,D.l7)({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,u=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=(0,D.l7)({},i.shape),(0,D.l7)(s,n.shape)):(s=(0,D.l7)({},r?this.shape:i.shape),(0,D.l7)(s,n.shape)):u&&(s=i.shape),s)if(o){this.shape=(0,D.l7)({},this.shape);for(var l={},h=(0,D.XP)(s),c=0;c<h.length;c++){var f=h[c];"object"===typeof s[f]?this.shape[f]=s[f]:l[f]=s[f]}this._transitionState(e,{shape:l},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return L},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.ZT)(n,e),n.prototype.getDefaultStyle=function(){return(0,D.d9)(t.style)},n.prototype.getDefaultShape=function(){return(0,D.d9)(t.shape)},n}(e);for(var r in t)"function"===typeof t[r]&&(n.prototype[r]=t[r]);return n},e.initDefaultProps=function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=P.YV|P.SE|P.RH}(),e}(r.ZP),z=Z},29912:function(t,e,n){var i=n(4311),r=n(68992),o=n(66332),a=n(47397),s=n(95797),u=n(9886),l=(0,s.ce)({strokeFirst:!0,font:u.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(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(0,s.nW)(l,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=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(r.ZP);h.prototype.type="tspan",e["Z"]=h},49386:function(t,e,n){n.d(e,{ZP:function(){return G}});var i=n(4311),r=n(50322),o=n(95797),a=n(66332),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function u(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=l(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=h(o[a],r);return o.join("\n")}function l(t,e,n,i){i=i||{};var r=(0,o.l7)({},i);r.font=e,n=(0,o.pD)(n,"..."),r.maxIterations=(0,o.pD)(i.maxIterations,2);var s=r.minChar=(0,o.pD)(i.minChar,0);r.cnCharWidth=(0,a.dz)("国",e);var u=r.ascCharWidth=(0,a.dz)("a",e);r.placeholder=(0,o.pD)(i.placeholder,"");for(var l=t=Math.max(0,t-1),h=0;h<s&&l>=u;h++)l-=u;var c=(0,a.dz)(n,e);return c>l&&(n="",c=0),l=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=l,r.containerWidth=t,r}function h(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=(0,a.dz)(t,i);if(o<=n)return t;for(var s=0;;s++){if(o<=r||s>=e.maxIterations){t+=e.ellipsis;break}var u=0===s?c(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,u),o=(0,a.dz)(t,i)}return""===t&&(t=e.placeholder),t}function c(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}function f(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,s=e.font,u="truncate"===i,c=(0,a.Dp)(s),f=(0,o.pD)(e.lineHeight,c),p=!!e.backgroundColor,d="truncate"===e.lineOverflow,g=e.width;n=null==g||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?w(t,e.font,g,"breakAll"===i,0).lines:[];var v=n.length*f,y=(0,o.pD)(e.height,v);if(v>y&&d){var m=Math.floor(y/f);n=n.slice(0,m)}if(t&&u&&null!=g)for(var _=l(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;x<n.length;x++)n[x]=h(n[x],_);var S=y,b=0;for(x=0;x<n.length;x++)b=Math.max((0,a.dz)(n[x],s),b);null==g&&(g=b);var T=b;return r&&(S+=r[0]+r[2],T+=r[1]+r[3],g+=r[1]+r[3]),p&&(T=g),{lines:n,height:y,outerWidth:T,outerHeight:S,lineHeight:f,calculatedLineHeight:c,contentWidth:b,contentHeight:v,width:g}}var p=function(){function t(){}return t}(),d=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),g=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function v(t,e){var n=new g;if(null!=t&&(t+=""),!t)return n;var i,l=e.width,h=e.height,c=e.overflow,f="break"!==c&&"breakAll"!==c||null==l?null:{width:l,accumWidth:0,breakAll:"breakAll"===c},p=s.lastIndex=0;while(null!=(i=s.exec(t))){var d=i.index;d>p&&y(n,t.substring(p,d),e,f),y(n,i[2],e,f,i[1]),p=s.lastIndex}p<t.length&&y(n,t.substring(p,t.length),e,f);var v=[],m=0,_=0,x=e.padding,w="truncate"===c,S="truncate"===e.lineOverflow;function b(t,e,n){t.width=e,t.lineHeight=n,m+=n,_=Math.max(_,e)}t:for(var T=0;T<n.lines.length;T++){for(var M=n.lines[T],k=0,D=0,C=0;C<M.tokens.length;C++){var I=M.tokens[C],P=I.styleName&&e.rich[I.styleName]||{},A=I.textPadding=P.padding,O=A?A[1]+A[3]:0,L=I.font=P.font||e.font;I.contentHeight=(0,a.Dp)(L);var R=(0,o.pD)(P.height,I.contentHeight);if(I.innerHeight=R,A&&(R+=A[0]+A[2]),I.height=R,I.lineHeight=(0,o.R1)(P.lineHeight,e.lineHeight,R),I.align=P&&P.align||e.align,I.verticalAlign=P&&P.verticalAlign||"middle",S&&null!=h&&m+I.lineHeight>h){C>0?(M.tokens=M.tokens.slice(0,C),b(M,D,k),n.lines=n.lines.slice(0,T+1)):n.lines=n.lines.slice(0,T);break t}var Z=P.width,z=null==Z||"auto"===Z;if("string"===typeof Z&&"%"===Z.charAt(Z.length-1))I.percentWidth=Z,v.push(I),I.contentWidth=(0,a.dz)(I.text,L);else{if(z){var B=P.backgroundColor,N=B&&B.image;N&&(N=r.ko(N),r.v5(N)&&(I.width=Math.max(I.width,N.width*R/N.height)))}var E=w&&null!=l?l-D:null;null!=E&&E<I.width?!z||E<O?(I.text="",I.width=I.contentWidth=0):(I.text=u(I.text,E-O,L,e.ellipsis,{minChar:e.truncateMinChar}),I.width=I.contentWidth=(0,a.dz)(I.text,L)):I.contentWidth=(0,a.dz)(I.text,L)}I.width+=O,D+=I.width,P&&(k=Math.max(k,I.lineHeight))}b(M,D,k)}n.outerWidth=n.width=(0,o.pD)(l,_),n.outerHeight=n.height=(0,o.pD)(h,m),n.contentHeight=m,n.contentWidth=_,x&&(n.outerWidth+=x[1]+x[3],n.outerHeight+=x[0]+x[2]);for(T=0;T<v.length;T++){I=v[T];var F=I.percentWidth;I.width=parseInt(F,10)/100*n.width}return n}function y(t,e,n,i,r){var o,s,u=""===e,l=r&&n.rich[r]||{},h=t.lines,c=l.font||n.font,f=!1;if(i){var g=l.padding,v=g?g[1]+g[3]:0;if(null!=l.width&&"auto"!==l.width){var y=(0,a.GM)(l.width,i.width)+v;h.length>0&&y+i.accumWidth>i.width&&(o=e.split("\n"),f=!0),i.accumWidth=y}else{var m=w(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+v,s=m.linesWidths,o=m.lines}}else o=e.split("\n");for(var _=0;_<o.length;_++){var x=o[_],S=new p;if(S.styleName=r,S.text=x,S.isLineHolder=!x&&!u,"number"===typeof l.width?S.width=l.width:S.width=s?s[_]:(0,a.dz)(x,c),_||f)h.push(new d([S]));else{var b=(h[h.length-1]||(h[0]=new d)).tokens,T=b.length;1===T&&b[0].isLineHolder?b[0]=S:(x||!T||u)&&b.push(S)}}}function m(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var _=(0,o.u4)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function x(t){return!m(t)||!!_[t]}function w(t,e,n,i,r){for(var o=[],s=[],u="",l="",h=0,c=0,f=0;f<t.length;f++){var p=t.charAt(f);if("\n"!==p){var d=(0,a.dz)(p,e),g=!i&&!x(p);(o.length?c+d>n:r+c+d>n)?c?(u||l)&&(g?(u||(u=l,l="",h=0,c=h),o.push(u),s.push(c-h),l+=p,h+=d,u="",c=h):(l&&(u+=l,l="",h=0),o.push(u),s.push(c),u=p,c=d)):g?(o.push(l),s.push(h),l=p,h=d):(o.push(p),s.push(d)):(c+=d,g?(l+=p,h+=d):(l&&(u+=l,l="",h=0),u+=p))}else l&&(u+=l,c+=h),o.push(u),s.push(c),u="",l="",h=0,c=0}return o.length||u||(u=t,l="",h=0),l&&(u+=l),u&&(o.push(u),s.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:s}}var S=n(29912),b=n(12222),T=n(96354),M=n(96805),k=n(68992),D=n(9886),C={fill:"#000"},I=2,P={style:(0,o.ce)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},k.ik.style)},A=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=C,n.attr(e),n}return(0,i.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,N(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new M.Z(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),i=i||t.clone(),i.union(t)):(i=i||a.clone(),i.union(a))}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||C},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,o.l7)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,o.XP)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,o.l7)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return P},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||D.Uo,n=t.padding,i=V(t),r=f(i,t),o=U(t),s=!!t.backgroundColor,u=r.outerHeight,l=r.outerWidth,h=r.contentWidth,c=r.lines,p=r.lineHeight,d=this._defaultStyle,g=t.x||0,v=t.y||0,y=t.align||d.align||"left",m=t.verticalAlign||d.verticalAlign||"top",_=g,x=(0,a.mU)(v,r.contentHeight,m);if(o||n){var w=(0,a.M3)(g,l,y),b=(0,a.mU)(v,u,m);o&&this._renderBackground(t,t,w,b,l,u)}x+=p/2,n&&(_=H(g,y,n),"top"===m?x+=n[0]:"bottom"===m&&(x-=n[2]));for(var T=0,k=!1,C=(W("fill"in t?t.fill:(k=!0,d.fill))),P=(F("stroke"in t?t.stroke:s||d.autoStroke&&!k?null:(T=I,d.stroke))),A=t.textShadowBlur>0,O=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),L=r.calculatedLineHeight,R=0;R<c.length;R++){var Z=this._getOrCreateChild(S.Z),B=Z.createStyle();Z.useStyle(B),B.text=c[R],B.x=_,B.y=x,y&&(B.textAlign=y),B.textBaseline="middle",B.opacity=t.opacity,B.strokeFirst=!0,A&&(B.shadowBlur=t.textShadowBlur||0,B.shadowColor=t.textShadowColor||"transparent",B.shadowOffsetX=t.textShadowOffsetX||0,B.shadowOffsetY=t.textShadowOffsetY||0),B.stroke=P,B.fill=C,P&&(B.lineWidth=t.lineWidth||T,B.lineDash=t.lineDash,B.lineDashOffset=t.lineDashOffset||0),B.font=e,z(B,t),x+=p,O&&Z.setBoundingRect(new M.Z((0,a.M3)(B.x,t.width,B.textAlign),(0,a.mU)(B.y,L,B.textBaseline),h,L))}},e.prototype._updateRichTexts=function(){var t=this.style,e=V(t),n=v(e,t),i=n.width,r=n.outerWidth,o=n.outerHeight,s=t.padding,u=t.x||0,l=t.y||0,h=this._defaultStyle,c=t.align||h.align,f=t.verticalAlign||h.verticalAlign,p=(0,a.M3)(u,r,c),d=(0,a.mU)(l,o,f),g=p,y=d;s&&(g+=s[3],y+=s[0]);var m=g+i;U(t)&&this._renderBackground(t,t,p,d,r,o);for(var _=!!t.backgroundColor,x=0;x<n.lines.length;x++){var w=n.lines[x],S=w.tokens,b=S.length,T=w.lineHeight,M=w.width,k=0,D=g,C=m,I=b-1,P=void 0;while(k<b&&(P=S[k],!P.align||"left"===P.align))this._placeToken(P,t,T,y,D,"left",_),M-=P.width,D+=P.width,k++;while(I>=0&&(P=S[I],"right"===P.align))this._placeToken(P,t,T,y,C,"right",_),M-=P.width,C-=P.width,I--;D+=(i-(D-g)-(m-C)-M)/2;while(k<=I)P=S[k],this._placeToken(P,t,T,y,D+P.width/2,"center",_),D+=P.width,k++;y+=T}},e.prototype._placeToken=function(t,e,n,i,r,s,u){var l=e.rich[t.styleName]||{};l.text=t.text;var h=t.verticalAlign,c=i+n/2;"top"===h?c=i+t.height/2:"bottom"===h&&(c=i+n-t.height/2);var f=!t.isLineHolder&&U(l);f&&this._renderBackground(l,e,"right"===s?r-t.width:"center"===s?r-t.width/2:r,c-t.height/2,t.width,t.height);var p=!!l.backgroundColor,d=t.textPadding;d&&(r=H(r,s,d),c-=t.height/2-d[0]-t.innerHeight/2);var g=this._getOrCreateChild(S.Z),v=g.createStyle();g.useStyle(v);var y=this._defaultStyle,m=!1,_=0,x=W("fill"in l?l.fill:"fill"in e?e.fill:(m=!0,y.fill)),w=F("stroke"in l?l.stroke:"stroke"in e?e.stroke:p||u||y.autoStroke&&!m?null:(_=I,y.stroke)),b=l.textShadowBlur>0||e.textShadowBlur>0;v.text=t.text,v.x=r,v.y=c,b&&(v.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,v.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",v.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,v.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),v.textAlign=s,v.textBaseline="middle",v.font=t.font||D.Uo,v.opacity=(0,o.R1)(l.opacity,e.opacity,1),z(v,l),w&&(v.lineWidth=(0,o.R1)(l.lineWidth,e.lineWidth,_),v.lineDash=(0,o.pD)(l.lineDash,e.lineDash),v.lineDashOffset=e.lineDashOffset||0,v.stroke=w),x&&(v.fill=x);var T=t.contentWidth,k=t.contentHeight;g.setBoundingRect(new M.Z((0,a.M3)(v.x,T,v.textAlign),(0,a.mU)(v.y,k,v.textBaseline),T,k))},e.prototype._renderBackground=function(t,e,n,i,r,a){var s,u,l=t.backgroundColor,h=t.borderWidth,c=t.borderColor,f=l&&l.image,p=l&&!f,d=t.borderRadius,g=this;if(p||t.lineHeight||h&&c){s=this._getOrCreateChild(T.Z),s.useStyle(s.createStyle()),s.style.fill=null;var v=s.shape;v.x=n,v.y=i,v.width=r,v.height=a,v.r=d,s.dirtyShape()}if(p){var y=s.style;y.fill=l||null,y.fillOpacity=(0,o.pD)(t.fillOpacity,1)}else if(f){u=this._getOrCreateChild(b.ZP),u.onload=function(){g.dirtyStyle()};var m=u.style;m.image=l.image,m.x=n,m.y=i,m.width=r,m.height=a}if(h&&c){y=s.style;y.lineWidth=h,y.stroke=c,y.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),y.lineDash=t.borderDash,y.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var _=(s||u).style;_.shadowBlur=t.shadowBlur||0,_.shadowColor=t.shadowColor||"transparent",_.shadowOffsetX=t.shadowOffsetX||0,_.shadowOffsetY=t.shadowOffsetY||0,_.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return B(t)&&(e=[t.fontStyle,t.fontWeight,Z(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,o.fy)(e)||t.textFont||t.font},e}(k.ZP),O={left:!0,right:1,center:1},L={top:1,bottom:1,middle:1},R=["fontStyle","fontWeight","fontSize","fontFamily"];function Z(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?D.n5+"px":t+"px":t}function z(t,e){for(var n=0;n<R.length;n++){var i=R[n],r=e[i];null!=r&&(t[i]=r)}}function B(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function N(t){return E(t),(0,o.S6)(t.rich,E),t}function E(t){if(t){t.font=A.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||O[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||L[n]?n:"top";var i=t.padding;i&&(t.padding=(0,o.MY)(t.padding))}}function F(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function W(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function H(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function V(t){var e=t.text;return null!=e&&(e+=""),e}function U(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var G=A},8088:function(t,e,n){n.d(e,{RH:function(){return o},SE:function(){return r},YV:function(){return i}});var i=1,r=2,o=4},50322:function(t,e,n){n.d(e,{Gq:function(){return s},ko:function(){return a},v5:function(){return l}});var i=n(86634),r=n(9886),o=new i.ZP(50);function a(t){if("string"===typeof t){var e=o.get(t);return e&&e.image}return t}function s(t,e,n,i,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:i,cbPayload:a};return s?(e=s.image,!l(e)&&s.pending.push(h)):(e=r.qW.loadImage(t,u,u),e.__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}return t}return e}function u(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}},92411:function(t,e,n){n.d(e,{L:function(){return o}});var i=n(15468);function r(t,e,n,r){var o,a,s,u,l=[],h=[],c=[],f=[];if(r){s=[1/0,1/0],u=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)(0,i.VV)(s,s,t[p]),(0,i.Fp)(u,u,t[p]);(0,i.VV)(s,s,r[0]),(0,i.Fp)(u,u,r[1])}for(p=0,d=t.length;p<d;p++){var g=t[p];if(n)o=t[p?p-1:d-1],a=t[(p+1)%d];else{if(0===p||p===d-1){l.push((0,i.d9)(t[p]));continue}o=t[p-1],a=t[p+1]}(0,i.lu)(h,a,o),(0,i.bA)(h,h,e);var v=(0,i.TE)(g,o),y=(0,i.TE)(g,a),m=v+y;0!==m&&(v/=m,y/=m),(0,i.bA)(c,h,-v),(0,i.bA)(f,h,y);var _=(0,i.IH)([],g,c),x=(0,i.IH)([],g,f);r&&((0,i.Fp)(_,_,s),(0,i.VV)(_,_,u),(0,i.Fp)(x,x,s),(0,i.VV)(x,x,u)),l.push(_),l.push(x)}return n&&l.push(l.shift()),l}function o(t,e,n){var i=e.smooth,o=e.points;if(o&&o.length>=2){if(i){var a=r(o,i,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,u=0;u<(n?s:s-1);u++){var l=a[2*u],h=a[2*u+1],c=o[(u+1)%s];t.bezierCurveTo(l[0],l[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;u<f;u++)t.lineTo(o[u][0],o[u][1])}n&&t.closePath()}}},96751:function(t,e,n){n.d(e,{Pw:function(){return o},_3:function(){return r},vu:function(){return a}});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,u=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=u;var l=n&&n.lineWidth;return l?(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,l,!0)),i(2*s)===i(2*u)&&(t.y1=t.y2=a(s,l,!0)),t):t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var u=n&&n.lineWidth;return u?(t.x=a(i,u,!0),t.y=a(r,u,!0),t.width=Math.max(a(i+o,u,!1)-t.x,0===o?0:1),t.height=Math.max(a(r+s,u,!1)-t.y,0===s?0:1),t):t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2===0?r/2:(r+(n?1:-1))/2}},13026:function(t,e,n){var i=n(4311),r=n(47397),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,u=Math.cos(o),l=Math.sin(o);t.moveTo(u*r+n,l*r+i),t.arc(n,i,r,o,a,!s)},e}(r.ZP);a.prototype.type="arc",e["Z"]=a},79001:function(t,e,n){var i=n(4311),r=n(47397),o=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.ZP);a.prototype.type="circle",e["Z"]=a},22940:function(t,e,n){var i=n(4311),r=n(47397),o=n(96751),a={},s=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),u=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,i,r,s;if(this.subPixelOptimize){var u=(0,o._3)(a,e,this.style);n=u.x1,i=u.y1,r=u.x2,s=u.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var l=e.percent;0!==l&&(t.moveTo(n,i),l<1&&(r=n*(1-l)+r*l,s=i*(1-l)+s*l),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.ZP);u.prototype.type="line",e["Z"]=u},12484:function(t,e,n){var i=n(4311),r=n(47397),o=n(92411),a=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!1)},e}(r.ZP);s.prototype.type="polyline",e["Z"]=s},96354:function(t,e,n){n.d(e,{Z:function(){return h}});var i=n(4311),r=n(47397);function o(t,e){var n,i,r,o,a,s=e.x,u=e.y,l=e.width,h=e.height,c=e.r;l<0&&(s+=l,l=-l),h<0&&(u+=h,h=-h),"number"===typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>l&&(a=n+i,n*=l/a,i*=l/a),r+o>l&&(a=r+o,r*=l/a,o*=l/a),i+r>h&&(a=i+r,i*=h/a,r*=h/a),n+o>h&&(a=n+o,n*=h/a,o*=h/a),t.moveTo(s+n,u),t.lineTo(s+l-i,u),0!==i&&t.arc(s+l-i,u+i,i,-Math.PI/2,0),t.lineTo(s+l,u+h-r),0!==r&&t.arc(s+l-r,u+h-r,r,0,Math.PI/2),t.lineTo(s+o,u+h),0!==o&&t.arc(s+o,u+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,u+n),0!==n&&t.arc(s+n,u+n,n,Math.PI,1.5*Math.PI)}var a=n(96751),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),u={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,i,r,s;if(this.subPixelOptimize){var l=(0,a.Pw)(u,e,this.style);n=l.x,i=l.y,r=l.width,s=l.height,l.r=e.r,e=l}else n=e.x,i=e.y,r=e.width,s=e.height;e.r?o(t,e):t.rect(n,i,r,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.ZP);l.prototype.type="rect";var h=l},60497:function(t,e,n){n.d(e,{C:function(){return b}});var i=n(4311),r=n(47397),o=n(95797),a=Math.PI,s=2*a,u=Math.sin,l=Math.cos,h=Math.acos,c=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,g=Math.min,v=1e-4;function y(t,e,n,i,r,o,a,s){var u=n-t,l=i-e,h=a-r,c=s-o,f=c*u-h*l;if(!(f*f<v))return f=(h*(e-o)-c*(t-r))/f,[t+f*u,e+f*l]}function m(t,e,n,i,r,o,a){var s=t-n,u=e-i,l=(a?o:-o)/p(s*s+u*u),h=l*u,c=-l*s,f=t+h,g=e+c,v=n+h,y=i+c,m=(f+v)/2,_=(g+y)/2,x=v-f,w=y-g,S=x*x+w*w,b=r-o,T=f*y-v*g,M=(w<0?-1:1)*p(d(0,b*b*S-T*T)),k=(T*w-x*M)/S,D=(-T*x-w*M)/S,C=(T*w+x*M)/S,I=(-T*x+w*M)/S,P=k-m,A=D-_,O=C-m,L=I-_;return P*P+A*A>O*O+L*L&&(k=C,D=I),{cx:k,cy:D,x0:-h,y0:-c,x1:k*(r/b-1),y1:D*(r/b-1)}}function _(t){var e;if((0,o.kJ)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function x(t,e){var n,i=d(e.r,0),r=d(e.r0||0,0),o=i>0,x=r>0;if(o||x){if(o||(i=r,r=0),r>i){var w=i;i=r,r=w}var S=e.startAngle,b=e.endAngle;if(!isNaN(S)&&!isNaN(b)){var T=e.cx,M=e.cy,k=!!e.clockwise,D=f(b-S),C=D>s&&D%s;if(C>v&&(D=C),i>v)if(D>s-v)t.moveTo(T+i*l(S),M+i*u(S)),t.arc(T,M,i,S,b,!k),r>v&&(t.moveTo(T+r*l(b),M+r*u(b)),t.arc(T,M,r,b,S,k));else{var I=void 0,P=void 0,A=void 0,O=void 0,L=void 0,R=void 0,Z=void 0,z=void 0,B=void 0,N=void 0,E=void 0,F=void 0,W=void 0,H=void 0,V=void 0,U=void 0,G=i*l(S),X=i*u(S),Y=r*l(b),q=r*u(b),K=D>v;if(K){var j=e.cornerRadius;j&&(n=_(j),I=n[0],P=n[1],A=n[2],O=n[3]);var J=f(i-r)/2;if(L=g(J,A),R=g(J,O),Z=g(J,I),z=g(J,P),E=B=d(L,R),F=N=d(Z,z),(B>v||N>v)&&(W=i*l(b),H=i*u(b),V=r*l(S),U=r*u(S),D<a)){var Q=y(G,X,V,U,W,H,Y,q);if(Q){var $=G-Q[0],tt=X-Q[1],et=W-Q[0],nt=H-Q[1],it=1/u(h(($*et+tt*nt)/(p($*$+tt*tt)*p(et*et+nt*nt)))/2),rt=p(Q[0]*Q[0]+Q[1]*Q[1]);E=g(B,(i-rt)/(it+1)),F=g(N,(r-rt)/(it-1))}}}if(K)if(E>v){var ot=g(A,E),at=g(O,E),st=m(V,U,G,X,i,ot,k),ut=m(W,H,Y,q,i,at,k);t.moveTo(T+st.cx+st.x0,M+st.cy+st.y0),E<B&&ot===at?t.arc(T+st.cx,M+st.cy,E,c(st.y0,st.x0),c(ut.y0,ut.x0),!k):(ot>0&&t.arc(T+st.cx,M+st.cy,ot,c(st.y0,st.x0),c(st.y1,st.x1),!k),t.arc(T,M,i,c(st.cy+st.y1,st.cx+st.x1),c(ut.cy+ut.y1,ut.cx+ut.x1),!k),at>0&&t.arc(T+ut.cx,M+ut.cy,at,c(ut.y1,ut.x1),c(ut.y0,ut.x0),!k))}else t.moveTo(T+G,M+X),t.arc(T,M,i,S,b,!k);else t.moveTo(T+G,M+X);if(r>v&&K)if(F>v){ot=g(I,F),at=g(P,F),st=m(Y,q,W,H,r,-at,k),ut=m(G,X,V,U,r,-ot,k);t.lineTo(T+st.cx+st.x0,M+st.cy+st.y0),F<N&&ot===at?t.arc(T+st.cx,M+st.cy,F,c(st.y0,st.x0),c(ut.y0,ut.x0),!k):(at>0&&t.arc(T+st.cx,M+st.cy,at,c(st.y0,st.x0),c(st.y1,st.x1),!k),t.arc(T,M,r,c(st.cy+st.y1,st.cx+st.x1),c(ut.cy+ut.y1,ut.cx+ut.x1),k),ot>0&&t.arc(T+ut.cx,M+ut.cy,ot,c(ut.y1,ut.x1),c(ut.y0,ut.x0),!k))}else t.lineTo(T+Y,M+q),t.arc(T,M,r,b,S,k);else t.lineTo(T+Y,M+q)}else t.moveTo(T,M);t.closePath()}}}var w=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),S=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new w},e.prototype.buildPath=function(t,e){x(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.ZP);S.prototype.type="sector";var b=S},76171:function(t,e,n){n.d(e,{L0:function(){return x},Pz:function(){return _},Qc:function(){return v},fD:function(){return S}});var i=n(86634),r=n(95797),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return t=Math.round(t),t<0?0:t>255?255: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 l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function h(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i.ZP(20),d=null;function g(t,e){d&&f(d,e),d=p.put(t,d||e.slice())}function v(t,e){if(t){e=e||[];var n=p.get(t);if(n)return f(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in o)return f(e,o[i]),g(t,e),e;var r=i.length;if("#"!==i.charAt(0)){var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===r){var h=i.substr(0,a),d=i.substr(a+1,s-(a+1)).split(","),v=1;switch(h){case"rgba":if(4!==d.length)return 3===d.length?c(e,+d[0],+d[1],+d[2],1):c(e,0,0,0,1);v=l(d.pop());case"rgb":return d.length>=3?(c(e,u(d[0]),u(d[1]),u(d[2]),3===d.length?v:l(d[3])),g(t,e),e):void c(e,0,0,0,1);case"hsla":return 4!==d.length?void c(e,0,0,0,1):(d[3]=l(d[3]),y(d,e),g(t,e),e);case"hsl":return 3!==d.length?void c(e,0,0,0,1):(y(d,e),g(t,e),e);default:return}}c(e,0,0,0,1)}else{if(4===r||5===r){var m=parseInt(i.slice(1,4),16);return m>=0&&m<=4095?(c(e,(3840&m)>>4|(3840&m)>>8,240&m|(240&m)>>4,15&m|(15&m)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e):void c(e,0,0,0,1)}if(7===r||9===r){m=parseInt(i.slice(1,7),16);return m>=0&&m<=16777215?(c(e,(16711680&m)>>16,(65280&m)>>8,255&m,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e):void c(e,0,0,0,1)}}}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=l(t[1]),r=l(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return e=e||[],c(e,a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=v(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return _(n,4===n.length?"rgba":"rgb")}}function _(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 x(t,e){var n=v(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var w=new i.ZP(100);function S(t){if((0,r.HD)(t)){var e=w.get(t);return e||(e=m(t,-.1),w.put(t,e)),e}if((0,r.Qq)(t)){var n=(0,r.l7)({},t);return n.colorStops=(0,r.UI)(t.colorStops,(function(t){return{offset:t.offset,color:m(t.color,-.1)}})),n}return t}},24503:function(t,e,n){n.d(e,{S1:function(){return gt},wm:function(){return vt},Qq:function(){return yt}});var i=n(59979),r=n(95797),o=n(4311),a=n(15468),s=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),u=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new s(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new s(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,u=this._dropTarget;this._dropTarget=a,e!==a&&(u&&a!==u&&this.handler.dispatchToElement(new s(u,t),"dragleave",t.event),a&&a!==u&&this.handler.dispatchToElement(new s(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new s(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),l=u,h=n(18626),c=n(14834),f=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],u=c.eV(n,s,{});r.points.push([u.zrX,u.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in g)if(g.hasOwnProperty(e)){var n=g[e](this._track,t);if(n)return n}},t}();function p(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function d(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var g={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=p(i)/p(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=d(i);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},v=n(96805),y="silent";function m(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:_}}function _(){c.sT(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,o.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(h.Z),w=function(){function t(t,e){this.x=t,this.y=e}return t}(),S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],b=new v.Z(0,0,0,0),T=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new w(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new x,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new l(a),a}return(0,o.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(r.S6(S,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=D(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?new w(e,n):this.findHover(e,n),s=a.target,u=this.proxy;u.setCursor&&u.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new w(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,o=m(e,t,n);while(i)if(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new w(t,e);if(k(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,u=new v.Z(t-s,e-s,a,a),l=i.length-1;l>=0;l--){var h=i[l];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(b.copy(h.getBoundingRect()),h.transform&&b.applyTransform(h.transform),b.intersect(u)&&o.push(h))}if(o.length)for(var c=4,f=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=c)for(var g=0;g<p;g+=f){var y=t+d*Math.cos(g),m=e+d*Math.sin(g);if(k(o,r,y,m,n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new w;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(h.Z);function M(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i=t,r=void 0,o=!1;while(i){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||y}return!1}function k(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=M(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==y)){e.target=a;break}}}function D(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}r.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){T.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,s=D(this,r,o);if("mouseup"===t&&s||(n=this.findHover(r,o),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var C=T,I=n(1994),P=n(8088),A=!1;function O(){A||(A=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var R=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,I.Z)(n,L)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];var r=i,o=t;while(r)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var u=a[s];t.__dirty&&(u.__dirty|=P.YV),this._updateAndAddDisplayable(u,e,n)}t.__dirty=0}else{var l=t;e&&e.length?l.__clipPaths=e:l.__clipPaths&&l.__clipPaths.length>0&&(l.__clipPaths=[]),isNaN(l.z)&&(O(),l.z=0),isNaN(l.z2)&&(O(),l.z2=0),isNaN(l.zlevel)&&(O(),l.zlevel=0),this._displayList[this._displayListLen++]=l}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,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<n;e++)this.delRoot(t[e]);else{var i=r.cq(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Z=R,z=n(33851),B=n(6997);function N(){return(new Date).getTime()}var E=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return(0,o.ZT)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=N()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,o=i.step(e,n);o?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&((0,z.Z)(e),!t._paused&&t.update())}this._running=!0,(0,z.Z)(e)},e.prototype.start=function(){this._running||(this._time=N(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=N(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=N()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new B.Z(t,e.loop);return this.addAnimator(n),n},e}(h.Z),F=E,W=300,H=i.Z.domSupported,V=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},i=r.UI(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),U={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},G=!1;function X(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Y(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 q(t){t&&(t.zrByTouch=!0)}function K(t,e){return(0,c.OD)(t.dom,new J(t,e),!0)}function j(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var J=function(){function t(t,e){this.stopPropagation=r.ZT,this.stopImmediatePropagation=r.ZT,this.preventDefault=r.ZT,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=(0,c.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,c.OD)(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,c.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=(0,c.OD)(this.dom,t);var e=t.toElement||t.relatedTarget;j(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){G=!0,t=(0,c.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){G||(t=(0,c.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=(0,c.OD)(this.dom,t),q(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Q.mousemove.call(this,t),Q.mousedown.call(this,t)},touchmove:function(t){t=(0,c.OD)(this.dom,t),q(t),this.handler.processGesture(t,"change"),Q.mousemove.call(this,t)},touchend:function(t){t=(0,c.OD)(this.dom,t),q(t),this.handler.processGesture(t,"end"),Q.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<W&&Q.click.call(this,t)},pointerdown:function(t){Q.mousedown.call(this,t)},pointermove:function(t){X(t)||Q.mousemove.call(this,t)},pointerup:function(t){Q.mouseup.call(this,t)},pointerout:function(t){X(t)||Q.mouseout.call(this,t)}};r.S6(["click","dblclick","contextmenu"],(function(t){Q[t]=function(e){e=(0,c.OD)(this.dom,e),this.trigger(t,e)}}));var $={pointermove:function(t){X(t)||$.mousemove.call(this,t)},pointerup:function(t){$.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function tt(t,e){var n=e.domHandlers;i.Z.pointerEventsSupported?r.S6(V.pointer,(function(i){nt(e,i,(function(e){n[i].call(t,e)}))})):(i.Z.touchEventsSupported&&r.S6(V.touch,(function(i){nt(e,i,(function(r){n[i].call(t,r),Y(e)}))})),r.S6(V.mouse,(function(i){nt(e,i,(function(r){r=(0,c.iP)(r),e.touching||n[i].call(t,r)}))})))}function et(t,e){function n(n){function i(i){i=(0,c.iP)(i),j(t,i.target)||(i=K(t,i),e.domHandlers[n].call(t,i))}nt(e,n,i,{capture:!0})}i.Z.pointerEventsSupported?r.S6(U.pointer,n):i.Z.touchEventsSupported||r.S6(U.mouse,n)}function nt(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,c.Oo)(t.domTarget,e,n,i)}function it(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,c.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var rt=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),ot=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new rt(e,Q),H&&(i._globalHandlerScope=new rt(document,$)),tt(i,i._localHandlerScope),i}return(0,o.ZT)(e,t),e.prototype.dispose=function(){it(this._localHandlerScope),H&&it(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,H&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?et(this,e):it(e)}},e}(h.Z),at=ot,st=n(76171),ut=n(25815),lt=n(3082),ht={},ct={};function ft(t){delete ct[t]}function pt(t){if(!t)return!1;if("string"===typeof t)return(0,st.L0)(t,1)<ut.Ak;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,st.L0)(e[r].color,1);return n/=i,n<ut.Ak}return!1}var dt=function(){function t(t,e,n){var o=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var a=new Z,s=n.renderer||"canvas";ht[s]||(s=r.XP(ht)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new ht[s](e,a,n,t),l=n.ssr||u.ssrOnly;this.storage=a,this.painter=u;var h,c=i.Z.node||i.Z.worker||l?null:new at(u.getViewportRoot(),u.root),f=n.useCoarsePointer,p=null==f||"auto"===f?i.Z.touchEventsSupported:!!f,d=44;p&&(h=r.pD(n.pointerSize,d)),this.handler=new C(a,u,c,u.root,h),this.animation=new F({stage:{update:l?null:function(){return o._flush(!0)}}}),l||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=pt(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=N();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=N();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof lt.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,ft(this.id))},t}();function gt(t,e){var n=new dt(r.M8(),t,e);return ct[n.id]=n,n}function vt(t,e){ht[t]=e}function yt(t){t}}}]);