text: (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"+TT/":function(t,e,n){var i=n("bYtY"),a=n("mFDi"),r=n("OELB").parsePercent,o=n("7aKB"),s=i.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(t,e,n,i,a){var r=0,o=0;null==i&&(i=1/0),null==a&&(a=1/0);var s=0;e.eachChild(function(l,u){var c,h,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var m=f.width+(g?-g.x+f.x:0);(c=r+m)>i||l.newline?(r=0,c=m,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(h=o+v)>a||l.newline?(r+=s+n,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=c+n:o=h+n)})}var h=c,d=i.curry(c,"vertical"),f=i.curry(c,"horizontal");function p(t,e,n){n=o.normalizeCssArray(n||0);var i=e.width,s=e.height,l=r(t.left,i),u=r(t.top,s),c=r(t.right,i),h=r(t.bottom,s),d=r(t.width,i),f=r(t.height,s),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=i-c-g-l),isNaN(f)&&(f=s-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>i/s?d=.8*i:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=i-c-d-g),isNaN(u)&&(u=s-h-f-p),t.left||t.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=i-g-l-(c||0)),isNaN(f)&&(f=s-p-u-(h||0));var v=new a(l+n[3],u+n[0],d,f);return v.margin=n,v}function g(t,e){return e&&t&&s(l,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=h,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,n){var i=e.width,a=e.height,s=r(t.x,i),l=r(t.y,a),u=r(t.x2,i),c=r(t.y2,a);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=a),n=o.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(c=c.clone()).applyTransform(h)}e=p(i.defaults({width:c.width,height:c.height},e),n,r);var d=t.position,f=s?e.x-c.x:0,g=l?e.y-c.y:0;t.attr("position","raw"===u?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,n){!i.isObject(n)&&(n={});var a=n.ignoreSize;!i.isArray(a)&&(a=[a,a]);var r=l(u[0],0),o=l(u[1],1);function l(n,i){var r={},o=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){c(e,t)&&(r[t]=l[t]=e[t]),h(r,t)&&o++,h(l,t)&&u++}),a[i])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&o){if(o>=2)return r;for(var d=0;d<n.length;d++){var f=n[d];if(!c(r,f)&&c(t,f)){r[f]=t[f];break}}return r}return l}function c(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function d(t,e,n){s(t,function(t){e[t]=n[t]})}d(u[0],t,r),d(u[1],t,o)},e.getLayoutParams=function(t){return g({},t)},e.copyLayoutParams=g},"+lIL":function(t,e,n){var i=n("ProS");n("/ry/"),n("3OrL");var a=n("L5E0"),r=n("7Phj");i.registerVisual(a),i.registerLayout(r)},"+rIm":function(t,e,n){var i=n("bYtY"),a=i.retrieve,r=i.defaults,o=i.extend,s=i.each,l=n("7aKB"),u=n("IwbS"),c=n("Qxkt"),h=n("OELB"),d=h.isRadianAroundZero,f=h.remRadian,p=n("oVpE").createSymbol,g=n("Fofx"),m=n("QBsz").applyTransform,v=Math.PI;function y(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e}var x=function(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};x.prototype={constructor:x,hasBuilder:function(t){return!!_[t]},add:function(t){_[t].call(this)},getGroup:function(){return this.group}};var _={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,a=[n[0],0],r=[n[1],0];i&&(m(a,a,i),m(r,r,i));var l=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line(u.subPixelOptimizeLine({anid:"line",shape:{x1:a[0],y1:a[1],x2:r[0],y2:r[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})));var c=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"==typeof d&&(d=[d,d]),null!=c){"string"==typeof c&&(c=[c,c]),"string"!=typeof h&&"number"!=typeof h||(h=[h,h]);var f=h[0],g=h[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((a[0]-r[0])*(a[0]-r[0])+(a[1]-r[1])*(a[1]-r[1]))}],function(e,n){if("none"!==c[n]&&null!=c[n]){var i=p(c[n],-f/2,-g/2,f,g,l.stroke,!0),r=e.r+e.offset,o=[a[0]+r*Math.cos(t.rotation),a[1]-r*Math.sin(t.rotation)];i.attr({rotation:e.rotate,position:o,silent:!0}),this.group.add(i)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=function(t,e,n){var i=e.axis;if(e.get("axisTick.show")&&!i.scale.isBlank()){for(var a=e.getModel("axisTick"),o=a.getModel("lineStyle"),s=a.get("length"),l=i.getTicksCoords(),c=[],h=[],d=t._transform,f=[],p=0;p<l.length;p++){var g=l[p].coord;c[0]=g,c[1]=0,h[0]=g,h[1]=n.tickDirection*s,d&&(m(c,c,d),m(h,h,d));var v=new u.Line(u.subPixelOptimizeLine({anid:"tick_"+l[p].tickValue,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:r(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0}));t.group.add(v),f.push(v)}return f}}(this,t,e),i=function(t,e,n){var i=e.axis;if(a(n.axisLabelShow,e.get("axisLabel.show"))&&!i.scale.isBlank()){var r=e.getModel("axisLabel"),o=r.get("margin"),l=i.getViewLabels(),h=(a(n.labelRotate,r.get("rotate"))||0)*v/180,d=b(n.rotation,h,n.labelDirection),f=e.getCategories(!0),p=[],g=w(e),m=e.get("triggerEvent");return s(l,function(a,s){var l=a.tickValue,h=a.formattedLabel,v=a.rawLabel,x=r;f&&f[l]&&f[l].textStyle&&(x=new c(f[l].textStyle,r,e.ecModel));var _=x.getTextColor()||e.get("axisLine.lineStyle.color"),b=i.dataToCoord(l),w=new u.Text({anid:"label_"+l,position:[b,n.labelOffset+n.labelDirection*o],rotation:d.rotation,silent:g,z2:10});u.setTextStyle(w.style,x,{text:h,textAlign:x.getShallow("align",!0)||d.textAlign,textVerticalAlign:x.getShallow("verticalAlign",!0)||x.getShallow("baseline",!0)||d.textVerticalAlign,textFill:"function"==typeof _?_("category"===i.type?v:"value"===i.type?l+"":l,s):_}),m&&(w.eventData=y(e),w.eventData.targetType="axisLabel",w.eventData.value=v),t._dumbGroup.add(w),w.updateTransform(),p.push(w),t.group.add(w),w.decomposeTransform()}),p}}(this,t,e);!function(t,e,n){var i=t.get("axisLabel.showMinLabel"),a=t.get("axisLabel.showMaxLabel"),r=(e=e||[])[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=(n=n||[])[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(S(r),S(u)):M(r,o)&&(i?(S(o),S(c)):(S(r),S(u))),!1===a?(S(s),S(h)):M(l,s)&&(a?(S(l),S(d)):(S(s),S(h)))}(t,i,n)},axisName:function(){var t=this.opt,e=this.axisModel,n=a(t.axisName,e.get("name"));if(n){var i,r,s=e.get("nameLocation"),c=t.nameDirection,h=e.getModel("nameTextStyle"),p=e.get("nameGap")||0,g=this.axisModel.axis.getExtent(),m=g[0]>g[1]?-1:1,x=["start"===s?g[0]-m*p:"end"===s?g[1]+m*p:(g[0]+g[1])/2,I(s)?t.labelOffset+c*p:0],_=e.get("nameRotate");null!=_&&(_=_*v/180),I(s)?i=b(t.rotation,null!=_?_:t.rotation,c):(i=function(t,e,n,i){var a,r,o=f((_||0)-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return d(o-v/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*v)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*v&&o>v/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a,textVerticalAlign:r}}(t,s,0,g),null!=(r=t.axisNameAvailableWidth)&&(r=Math.abs(r/Math.sin(i.rotation)),!isFinite(r)&&(r=null)));var S=h.getFont(),M=e.get("nameTruncate",!0)||{},T=M.ellipsis,A=a(t.nameTruncateMaxWidth,M.maxWidth,r),D=null!=T&&null!=A?l.truncateText(n,A,S,T,{minChar:2,placeholder:M.placeholder}):n,C=e.get("tooltip",!0),L=e.mainType,P={componentType:L,name:n,$vars:["name"]};P[L+"Index"]=e.componentIndex;var k=new u.Text({anid:"name",__fullText:n,__truncatedText:D,position:x,rotation:i.rotation,silent:w(e),z2:1,tooltip:C&&C.show?o({content:n,formatter:function(){return n},formatterParams:P},C):null});u.setTextStyle(k.style,h,{text:D,textFont:S,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:i.textAlign,textVerticalAlign:i.textVerticalAlign}),e.get("triggerEvent")&&(k.eventData=y(e),k.eventData.targetType="axisName",k.eventData.name=n),this._dumbGroup.add(k),k.updateTransform(),this.group.add(k),k.decomposeTransform()}}},b=x.innerTextLayout=function(t,e,n){var i,a,r=f(e-t);return d(r)?(a=n>0?"top":"bottom",i="center"):d(r-v)?(a=n>0?"bottom":"top",i="center"):(a="middle",i=r>0&&r<v?n>0?"right":"left":n>0?"left":"right"),{rotation:r,textAlign:i,textVerticalAlign:a}};function w(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function S(t){t&&(t.ignore=!0)}function M(t,e,n){var i=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(i&&a){var r=g.identity([]);return g.rotate(r,r,-t.rotation),i.applyTransform(g.mul([],r,t.getLocalTransform())),a.applyTransform(g.mul([],r,e.getLocalTransform())),i.intersect(a)}}function I(t){return"middle"===t||"center"===t}t.exports=x},"+wW9":function(t,e,n){var i=n("bYtY"),a=i.each,r=i.isArray,o=i.isObject,s=n("JuEJ"),l=n("4NO4").normalizeToArray;function u(t){a(c,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var c=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],h=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];t.exports=function(t,e){s(t,e),t.series=l(t.series),a(t.series,function(t){if(o(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var n=function(t,e){e=e.split(",");for(var n=t,i=0;i<e.length&&null!=(n=n&&n[e[i]]);i++);return n}(t,"pointer.color");null!=n&&function(t,e,n,i){e=e.split(",");for(var a,r=t,o=0;o<e.length-1;o++)null==r[a=e[o]]&&(r[a]={}),r=r[a];null==r[e[o]]&&(r[e[o]]=n)}(t,"itemStyle.normal.color",n)}u(t)}}),t.dataRange&&(t.visualMap=t.dataRange),a(h,function(e){var n=t[e];n&&(r(n)||(n=[n]),a(n,function(t){u(t)}))})}},"/IIm":function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("H6uX"),r=n("IwbS"),o=n("pP6R"),s=n("gPAo"),l=i.curry,u=i.each,c=i.map,h=Math.min,d=Math.max,f=Math.pow,p=1e4,g=6,m=6,v={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},y={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},_=0;function b(t){a.call(this),this._zr=t,this.group=new r.Group,this._track=[],this._covers=[],this._uid="brushController_"+_++,this._handlers={},u(Z,function(t,e){this._handlers[e]=i.bind(t,this)},this)}function w(t,e){var n=q[e.brushType].createCover(t,e);return n.__brushOption=e,I(n,e),t.group.add(n),n}function S(t,e){var n=A(e);return n.endCreating&&(n.endCreating(t,e),I(e,e.__brushOption)),e}function M(t,e){var n=e.__brushOption;A(e).updateCoverShape(t,e,n.range,n)}function I(t,e){var n=e.z;null==n&&(n=p),t.traverse(function(t){t.z=n,t.z2=n})}function T(t,e){A(e).updateCommon(t,e),M(t,e)}function A(t){return q[t.__brushOption.brushType]}function D(t,e,n){var i,a=t._panels;if(!a)return!0;var r=t._transform;return u(a,function(t){t.isTargetByCursor(e,n,r)&&(i=t)}),i}function C(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function L(t){var e=t._covers,n=e.length;return u(e,function(e){t.group.remove(e)},t),e.length=0,!!n}function P(t,e){var n=c(t._covers,function(t){var e=t.__brushOption,n=i.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function k(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function O(t,e,n,i){var a=new r.Group;return a.add(new r.Rect({name:"main",style:z(n),silent:!0,draggable:!0,cursor:"move",drift:l(t,e,a,"nswe"),ondragend:l(P,e,{isEnd:!0})})),u(i,function(n){a.add(new r.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(t,e,a,n),ondragend:l(P,e,{isEnd:!0})}))}),a}function E(t,e,n,i){var a=i.brushStyle.lineWidth||0,r=d(a,m),o=n[0][0],s=n[1][0],l=o-a/2,u=s-a/2,c=n[0][1],h=n[1][1],f=c-r+a/2,p=h-r+a/2,g=c-o,v=h-s,y=g+a,x=v+a;R(t,e,"main",o,s,g,v),i.transformable&&(R(t,e,"w",l,u,r,x),R(t,e,"e",f,u,r,x),R(t,e,"n",l,u,y,r),R(t,e,"s",l,p,y,r),R(t,e,"nw",l,u,r,r),R(t,e,"ne",f,u,r,r),R(t,e,"sw",l,p,r,r),R(t,e,"se",f,p,r,r))}function N(t,e){var n=e.__brushOption,i=n.transformable,a=e.childAt(0);a.useStyle(z(n)),a.attr({silent:!i,cursor:i?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],function(n){var a=e.childOfName(n),o=function t(e,n){var i;return n.length>1?(("e"===(i=[t(e,(n=n.split(""))[0]),t(e,n[1])])[0]||"w"===i[0])&&i.reverse(),i.join("")):{left:"w",right:"e",top:"n",bottom:"s"}[i=r.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(t){return r.getTransform(t.group)}(e))]}(t,n);a&&a.attr({silent:!i,invisible:!i,cursor:i?y[o]+"-resize":null})})}function R(t,e,n,i,a,r,o){var s,l,u,c=e.childOfName(n);c&&c.setShape((s=F(t,e,[[i,a],[i+r,a+o]]),{x:l=h(s[0][0],s[1][0]),y:u=h(s[0][1],s[1][1]),width:d(s[0][0],s[1][0])-l,height:d(s[0][1],s[1][1])-u}))}function z(t){return i.defaults({strokeNoScale:!0},t.brushStyle)}function B(t,e,n,i){var a=[h(t,n),h(e,i)],r=[d(t,n),d(e,i)];return[[a[0],r[0]],[a[1],r[1]]]}function V(t,e,n,i,a,r,o,s){var l=i.__brushOption,c=t(l.range),h=G(n,r,o);u(a.split(""),function(t){var e=v[t];c[e[0]][e[1]]+=h[e[0]]}),l.range=e(B(c[0][0],c[1][0],c[0][1],c[1][1])),T(n,i),P(n,{isEnd:!1})}function Y(t,e,n,i,a){var r=e.__brushOption.range,o=G(t,n,i);u(r,function(t){t[0]+=o[0],t[1]+=o[1]}),T(t,e),P(t,{isEnd:!1})}function G(t,e,n){var i=t.group,a=i.transformCoordToLocal(e,n),r=i.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function F(t,e,n){var a=C(t,e);return a&&!0!==a?a.clipPath(n,t._transform):i.clone(n)}function H(t){var e=t.event;e.preventDefault&&e.preventDefault()}function W(t,e,n){return t.childOfName("main").contain(e,n)}function j(t,e,n,a){var r,o=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],a=n[0]-i[0],r=n[1]-i[1];return f(a*a+r*r,.5)>g}(t)||o){if(s&&!o){"single"===l.brushMode&&L(t);var u=i.clone(l);u.brushType=U(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=t._creatingCover=w(t,u),t._covers.push(o)}if(o){var c=q[U(t._brushType,s)];o.__brushOption.range=c.getCreatingRange(F(t,o,t._track)),a&&(S(t,o),c.updateCommon(t,o)),M(t,o),r={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&D(t,e,n)&&L(t)&&(r={isEnd:a,removeOnClick:!0});return r}function U(t,e){return"auto"===t?e.defaultBrushType:t}b.prototype={constructor:b,enableBrush:function(t){var e;return this._brushType&&(o.release(e=this._zr,"globalPan",this._uid),u(this._handlers,function(t,n){e.off(n,t)}),this._brushType=this._brushOption=null),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||o.take(n,"globalPan",t._uid),u(t._handlers,function(t,e){n.on(e,t)}),t._brushType=e.brushType,t._brushOption=i.merge(i.clone(x),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};i.each(t,function(t){e[t.panelId]=i.clone(t)})}else this._panels=null;return this},mount:function(t){this._enableGlobalPan=(t=t||{}).enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=i.map(t,function(t){return i.merge(i.clone(x),t,!0)});var e="\0-brush-index-",n=this._covers,a=this._covers=[],r=this,o=this._creatingCover;return new s(n,t,function(t,e){return l(t.__brushOption,e)},l).add(u).update(u).remove(function(t){n[t]!==o&&r.group.remove(n[t])}).execute(),this;function l(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function u(e,i){var s=t[e];if(null!=i&&n[i]===o)a[e]=n[i];else{var l=a[e]=null!=i?(n[i].__brushOption=s,n[i]):S(r,w(r,s));T(r,l)}}},unmount:function(){return this.enableBrush(!1),L(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(b,a);var Z={mousedown:function(t){if(this._dragging)X.call(this,t);else if(!t.target||!t.target.draggable){H(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=D(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,n){if(t._brushType){var i=t._zr,a=t._covers,r=D(t,e,n);if(!t._dragging)for(var o=0;o<a.length;o++){var s=a[o].__brushOption;if(r&&(!0===r||s.panelId===r.panelId)&&q[s.brushType].contain(a[o],n[0],n[1]))return}r&&i.setCursorStyle("crosshair")}}(this,t,e),this._dragging){H(t);var n=j(this,t,e,!1);n&&P(this,n)}},mouseup:X};function X(t){if(this._dragging){H(t);var e=j(this,t,this.group.transformCoordToLocal(t.offsetX,t.offsetY),!0);this._dragging=!1,this._track=[],this._creatingCover=null,e&&P(this,e)}}var q={lineX:K(0),lineY:K(1),rect:{createCover:function(t,e){return O(l(V,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=k(t);return B(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){E(t,e,n,i)},updateCommon:N,contain:W},polygon:{createCover:function(t,e){var n=new r.Group;return n.add(new r.Polyline({name:"main",style:z(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new r.Polygon({name:"main",draggable:!0,drift:l(Y,t,e),ondragend:l(P,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:F(t,e,n)})},updateCommon:N,contain:W}};function K(t){return{createCover:function(e,n){return O(l(V,function(e){var n=[e,[0,100]];return t&&n.reverse(),n},function(e){return e[t]}),e,n,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var n=k(e);return[h(n[0][t],n[1][t]),d(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,a){var r,o=C(e,n);if(!0!==o&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;r=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,r];t&&l.reverse(),E(e,n,l,a)},updateCommon:N,contain:W}}t.exports=b},"/SeX":function(t,e,n){var i=n("knOB"),a=n("qZFw"),r=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this};r.prototype={type:"polar",axisPointerEnabled:!0,constructor:r,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),a=i.getExtent(),r=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);i.inverse?r=o-360:o=r+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<r?1:-1;l<r||l>o;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]}},t.exports=r},"/WM3":function(t,e,n){var i=n("QuXc");t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(n.setVisual("color",r),!e.isSeriesFiltered(t))return"function"!=typeof r||r instanceof i||n.each(function(e){n.setItemVisual(e,"color",r(t.getDataParams(e)))}),{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e).get(a,!0);null!=n&&t.setItemVisual(e,"color",n)}:null}}}},"/d5a":function(t,e){var n={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},i=function(t,e){return Math.round(t.length/2)};t.exports=function(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,a){var r=t.getData(),o=t.get("sampling"),s=t.coordinateSystem;if("cartesian2d"===s.type&&o){var l,u=s.getBaseAxis(),c=s.getOtherAxis(u),h=u.getExtent(),d=h[1]-h[0],f=Math.round(r.count()/d);f>1&&("string"==typeof o?l=n[o]:"function"==typeof o&&(l=o),l&&t.setData(r.downSample(r.mapDimension(c.dim),1/f,l,i)))}}}}},"/iHx":function(t,e,n){var i=n("6GrX"),a=n("IwbS"),r=["textStyle","color"];t.exports={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return i.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("rich"),this.getShallow("truncateText"))}}},"/ry/":function(t,e,n){var i=n("bYtY"),a=n("T4UG"),r=n("5GhG").seriesModelMixin,o=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(o,r,!0),t.exports=o},"/stD":function(t,e,n){var i=n("bYtY"),a=n("IUWy"),r=n("Kagy");function o(t,e,n){this.model=t,this.ecModel=e,this.api=n}o.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:i.clone(r.toolbox.brush.title)};var s=o.prototype;s.render=s.updateView=function(t,e,n){var a,r,o;e.eachComponent({mainType:"brush"},function(t){a=t.brushType,r=t.brushOption.brushMode||"single",o|=t.areas.length}),this._brushType=a,this._brushMode=r,i.each(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===a)?"emphasis":"normal")})},s.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return i.each(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},s.onclick=function(t,e,n){var i=this._brushType,a=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===a?"single":"multiple":a}})},a.register("brush",o),t.exports=o},"/y7N":function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("6GrX"),o=n("7aKB"),s=n("Fofx"),l=n("aX7z"),u=n("+rIm");function c(t,e,n,i,a){var s=h(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),l=n.getModel("label"),u=o.normalizeCssArray(l.get("padding")||0),c=l.getFont(),d=r.getBoundingRect(s,c),f=a.position,p=d.width+u[1]+u[3],g=d.height+u[0]+u[2],m=a.align;"right"===m&&(f[0]-=p),"center"===m&&(f[0]-=p/2);var v=a.verticalAlign;"bottom"===v&&(f[1]-=g),"middle"===v&&(f[1]-=g/2),function(t,e,n,i){var a=i.getWidth(),r=i.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+n,r)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(f,p,g,i);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:p,height:g,r:l.get("borderRadius")},position:f.slice(),style:{text:s,textFont:c,textFill:l.getTextColor(),textPosition:"inside",fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function h(t,e,n,a,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var u={value:l.getAxisRawValue(e,t),seriesData:[]};i.each(a,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=e&&e.getDataParams(t.dataIndexInside);i&&u.seriesData.push(i)}),i.isString(s)?o=s.replace("{value}",o):i.isFunction(s)&&(o=s(u))}return o}function d(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),a.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}e.buildElStyle=function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e},e.buildLabelElOption=c,e.getValueLabel=h,e.getTransformedPosition=d,e.buildCartesianSingleLabelElOption=function(t,e,n,i,a,r){var o=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get("label.margin"),c(e,i,a,r,{position:d(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})},e.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},e.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},e.makeSectorShape=function(t,e,n,i,a,r){return{cx:t,cy:e,r0:n,r:i,startAngle:a,endAngle:r,clockwise:!0}}},"0/Rx":function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),a=0;a<n.length;a++)if(!n[a].isSelected(e))return!1;return!0})}}}}},"01d+":function(t,e,n){var i=n("bYtY").each,a=n("HF/U"),r=a.simpleLayout,o=a.simpleLayoutEdge;t.exports=function(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var a=t.getData(),s=[];i(n.dimensions,function(t){s=s.concat(a.mapDimension(t,!0))});for(var l=0;l<a.count();l++){for(var u=[],c=!1,h=0;h<s.length;h++){var d=a.get(s[h],l);isNaN(d)||(c=!0),u.push(d)}a.setItemLayout(l,c?n.dataToPoint(u):[NaN,NaN])}o(a.graph)}else e&&"none"!==e||r(t)})}},"06DH":function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("Kagy"),o=n("IUWy");function s(t){this.model=t}s.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:a.clone(r.toolbox.magicType.title),option:{},seriesIndex:{}};var l=s.prototype;l.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return a.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n};var u={line:function(t,e,n,i){if("bar"===t)return a.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(t,e,n,i){if("line"===t)return a.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(t,e,n,i){if("line"===t||"bar"===t)return a.merge({id:e,stack:"__ec_magicType_stack__"},i.get("option.stack")||{},!0)},tiled:function(t,e,n,i){if("line"===t||"bar"===t)return a.merge({id:e,stack:""},i.get("option.tiled")||{},!0)}},c=[["line","bar"],["stack","tiled"]];l.onclick=function(t,e,n){var i=this.model,r=i.get("seriesIndex."+n);if(u[n]){var o={series:[]};a.each(c,function(t){a.indexOf(t,n)>=0&&a.each(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(e){var r=u[n](e.subType,e.id,e,i);r&&(a.defaults(r,e.option),o.series.push(r));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var c=l.dim+"Axis",h=t.queryComponents({mainType:c,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;o[c]=o[c]||[];for(var d=0;d<=h;d++)o[c][h]=o[c][h]||{};o[c][h].boundaryGap="bar"===n}}}),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:o})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),o.register("magicType",s),t.exports=s},"06Qe":function(t,e,n){var i,a=n("ItGF"),r="urn:schemas-microsoft-com:vml",o="undefined"==typeof window?null:window,s=!1,l=o&&o.document;if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",r),i=function(t){return l.createElement("<zrvml:"+t+' class="zrvml">')}}catch(u){i=function(t){return l.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return i(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"0Bwj":function(t,e,n){var i=n("T4UG"),a=n("I3/A"),r=n("7aKB").encodeHTML,o=i.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,n=t.data||t.nodes;if(n&&e)return a(n,e,this,!0).data},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getDataParams(t,n),a=i.data,s=a.source+" -- "+a.target;return i.value&&(s+=" : "+i.value),r(s)}return o.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}});t.exports=o},"0HBW":function(t,e,n){var i=n("ProS"),a=n("bYtY");function r(t,e){e.update="updateView",i.registerAction(e,function(e,n){var i={};return n.eachComponent({mainType:"geo",query:e},function(n){n[t](e.name),a.each(n.coordinateSystem.regions,function(t){i[t.name]=n.isSelected(t.name)||!1})}),{selected:i,name:e.name}})}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(t,e,n){var i=n("bYtY"),a=n("+TT/"),r=n("OELB"),o=n("IDmD");function s(t,e,n){this._model=t}function l(t,e,n,i){var a=n.calendarModel,r=n.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem:null;return o===this?o[t](i):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=r.parseDate(t)).getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var i=t.getDate();i=i<10?"0"+i:i;var a=t.getDay();return{y:e,m:n,d:i,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+n+"-"+i,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)?this.getDateInfo(t):((t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t))},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],o=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],function(t){h(o,t)&&(s[r[t]]=o[t]*l[t])});var u={width:e.getWidth(),height:e.getHeight()},c=this._rect=a.getLayoutRect(s,u);function h(t,e){return null!=t[e]&&"auto"!==t[e]}i.each([0,1],function(t){h(o,t)||(o[t]=c[r[t]]/l[t])}),this._sw=o[0],this._sh=o[1]},dataToPoint:function(t,e){i.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),a=this._rangeInfo;if(e&&!(n.time>=a.start.time&&n.time<a.end.time+864e5))return[NaN,NaN];var r=n.day,o=this._getRangeInfo([a.start.time,n.formatedDate]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]:[this._rect.x+o*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(i.isArray(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var n=this.getDateInfo(e),a=n.date;a.setMonth(a.getMonth()+1);var r=this.getNextNDay(a,-1);t=[n.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,i=new Date(t[0].time),a=i.getDate(),r=t[1].date.getDate();if(i.setDate(a+n-1),i.getDate()!==r)for(var o=i.getTime()-t[1].time>0?1:-1;i.getDate()!==r&&(i.getTime()-t[1].time)*o>0;)i.setDate(a+(n-=o)-1);var s=Math.floor((n+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return!1;var a=7*(t-1)-i.fweek+e,r=new Date(i.start.time);return r.setDate(i.start.d+a),this.getDateInfo(r)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var n=[];return t.eachComponent("calendar",function(i){var a=new s(i,t,e);n.push(a),i.coordinateSystem=a}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])}),n},o.register("calendar",s),t.exports=s},"0V0F":function(t,e,n){var i=n("bYtY"),a=i.createHashMap,r=i.each;function o(t){r(t,function(e,n){var i=[],a=[NaN,NaN],r=e.data,o=e.isStackedByIndex,s=r.map([e.stackResultDimension,e.stackedOverDimension],function(s,l,u){var c,h,d=r.get(e.stackedDimension,u);if(isNaN(d))return a;o?h=r.getRawIndex(u):c=r.get(e.stackedByDimension,u);for(var f=NaN,p=n-1;p>=0;p--){var g=t[p];if(o||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return i[0]=d,i[1]=f,i});r.hostModel.setData(s),e.data=s})}t.exports=function(t){var e=a();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),a=t.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;i.length&&a.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(r)}}),e.each(o)}},"0o9m":function(t,e,n){var i=n("ProS");n("hNWo"),n("RlCK"),n("XpcN");var a=n("kDyi"),r=n("bLfw");i.registerProcessor(a),r.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(t,e,n){var i=n("ProS");i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0s+r":function(t,e,n){var i=n("bYtY"),a=n("QBsz"),r=n("y23F"),o=n("H6uX"),s=n("YH21"),l="silent";function u(t){s.stop(this.event)}function c(){}c.prototype.dispose=function(){};var h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(t,e,n,i){o.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new c,this.proxy=null,this._hovered={},r.call(this),this.setHandlerProxy(n)};function f(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,a=t;a;){if(a.clipPath&&!a.clipPath.contain(e,n))return!1;a.silent&&(i=!0),a=a.parent}return!i||l}return!1}d.prototype={constructor:d,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(h,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=this._hovered,a=i.target;a&&!a.__zr&&(a=(i=this.findHover(i.x,i.y)).target);var r=this._hovered=this.findHover(e,n),o=r.target,s=this.proxy;s.setCursor&&s.setCursor(o?o.cursor:"default"),a&&o!==a&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(r,"mousemove",t),o&&o!==a&&this.dispatchToElement(r,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,n=t.toElement||t.relatedTarget;do{n=n&&n.parentNode}while(n&&9!=n.nodeType&&!(e=n===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var a="on"+e,r=function(t,n,i){return{type:e,event:i,target:n.target,topTarget:n.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:u}}(0,t,n);i&&(i[a]&&(r.cancelBubble=i[a].call(i,r)),i.trigger(e,r),i=i.parent,!r.cancelBubble););r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[a]&&t[a].call(t,r),t.trigger&&t.trigger(e,r)}))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),a={x:t,y:e},r=i.length-1;r>=0;r--){var o;if(i[r]!==n&&!i[r].ignore&&(o=f(i[r],t,e))&&(!a.topTarget&&(a.topTarget=i[r]),o!==l)){a.target=i[r];break}}return a}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){d.prototype[t]=function(e){var n=this.findHover(e.zrX,e.zrY),i=n.target;if("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.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}),i.mixin(d,o),i.mixin(d,r),t.exports=d},"10cm":function(t,e,n){var i=n("ProS"),a=n("2B6p").updateCenterAndZoom;n("0qV/"),i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",query:t},function(e){var n=a(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})},"1Jh7":function(t,e,n){var i=n("y+Vt"),a=n("T6xi"),r=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){a.buildPath(t,e,!1)}});t.exports=r},"1LEl":function(t,e,n){var i=n("ProS"),a=n("F9bG"),r=i.extendComponentView({type:"axisPointer",render:function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";a.register("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})})},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}});t.exports=r},"1MYJ":function(t,e,n){var i=n("y+Vt"),a=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n<e.length;n++)t=t||e[n].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},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])},buildPath:function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});t.exports=a},"1NG9":function(t,e,n){var i=n("y+Vt"),a=n("QBsz"),r=n("iXp4"),o=a.min,s=a.max,l=a.scaleAndAdd,u=a.copy,c=[],h=[],d=[];function f(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,n,i,r,p,g,m,v,y,x){return"none"!==y&&y?(function(t,e,n,i,a,r,o,s,l,c,p){for(var g=0,m=n,v=0;v<i;v++){var y=e[m];if(m>=a||m<0)break;if(f(y)){if(p){m+=r;continue}break}if(m===n)t[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}).apply(this,arguments):(function(t,e,n,i,r,p,g,m,v,y,x){for(var _=0,b=n,w=0;w<i;w++){var S=e[b];if(b>=r||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===n)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(v>0){var M=b+p,I=e[M];if(x)for(;I&&f(e[M]);)I=e[M+=p];var T=.5,A=e[_];if(!(I=e[M])||f(I))u(d,S);else{var D,C;if(f(I)&&!x&&(I=S),a.sub(c,I,A),"x"===y||"y"===y){var L="x"===y?0:1;D=Math.abs(S[L]-A[L]),C=Math.abs(S[L]-I[L])}else D=a.dist(S,A),C=a.dist(S,I);l(d,S,c,-v*(1-(T=C/(C+D))))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,v*T)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}).apply(this,arguments)}function g(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var a=0;a<t.length;a++){var r=t[a];r[0]<n[0]&&(n[0]=r[0]),r[1]<n[1]&&(n[1]=r[1]),r[0]>i[0]&&(i[0]=r[0]),r[1]>i[1]&&(i[1]=r[1])}return{min:e?n:i,max:e?i:n}}var m=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,a=n.length,r=g(n,e.smoothConstraint);if(e.connectNulls){for(;a>0&&f(n[a-1]);a--);for(;i<a&&f(n[i]);i++);}for(;i<a;)i+=p(t,n,i,a,a,1,r.min,r.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),v=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:r(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,a=0,r=n.length,o=e.smoothMonotone,s=g(n,e.smoothConstraint),l=g(i,e.smoothConstraint);if(e.connectNulls){for(;r>0&&f(n[r-1]);r--);for(;a<r&&f(n[a]);a++);}for(;a<r;){var u=p(t,n,a,r,r,1,s.min,s.max,e.smooth,o,e.connectNulls);p(t,i,a+u-1,u,r,-1,l.min,l.max,e.stackedOnSmooth,o,e.connectNulls),a+=u+1,t.closePath()}}});e.Polyline=m,e.Polygon=v},"1RvN":function(t,e){var n=function(){this.head=null,this.tail=null,this._len=0},i=n.prototype;i.insert=function(t){var e=new a(t);return this.insertEntry(e),e},i.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++},i.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--},i.len=function(){return this._len},i.clear=function(){this.head=this.tail=null,this._len=0};var a=function(t){this.value=t},r=function(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=r.prototype;o.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,n.insertEntry(s),i[t]=s}return r},o.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},o.clear=function(){this._list.clear(),this._map={}},t.exports=r},"1bdT":function(t,e,n){var i=n("3gBT"),a=n("H6uX"),r=n("DN4a"),o=n("vWvF"),s=n("bYtY"),l=function(t){r.call(this,t),a.call(this,t),o.call(this,t),this.id=t.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(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)},removeSelfFromZr:function(t){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)}},s.mixin(l,o),s.mixin(l,r),s.mixin(l,a),t.exports=l},"1tlw":function(t,e,n){var i=n("MBQ8").extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(t){return t.stack=null,i.superApply(this,"getInitialData",arguments)}});t.exports=i},"1u/T":function(t,e,n){n("ProS").registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})})},"1xaR":function(t,e,n){var i=n("ProS"),a=n("bYtY");n("qgGe"),n("NA0q"),n("RPvy");var r=n("mOdp"),o=n("y3NT"),s=n("0/Rx");i.registerVisual(a.curry(r,"sunburst")),i.registerLayout(a.curry(o,"sunburst")),i.registerProcessor(a.curry(s,"sunburst"))},2548:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("6GrX"),o=n("IUWy"),s=n("IwbS"),l=n("Qxkt"),u=n("gPAo"),c=n("eRkO"),h=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h=this.group;if(h.removeAll(),t.get("show")){var d=+t.get("itemSize"),f=t.get("feature")||{},p=this._features||(this._features={}),g=[];a.each(f,function(t,e){g.push(e)}),new u(this._featureNames||[],g).add(m).update(m).remove(a.curry(m,null)).execute(),this._featureNames=g,c.layout(h,t,n),h.add(c.makeBackground(h.getBoundingRect(),t)),h.eachChild(function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var a=r.getBoundingRect(e,r.makeFont(i)),o=t.position[0]+h.position[0],s=!1;t.position[1]+h.position[1]+d+a.height>n.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-a.height:d+8;o+a.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):o-a.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}})}function m(r,u){var c,m=g[r],v=g[u],y=new l(f[m],t,t.ecModel);if(m&&!v){if(function(t){return 0===t.indexOf("my")}(m))c={model:y,onclick:y.option.onclick,featureName:m};else{var x=o.get(m);if(!x)return;c=new x(y,e,n)}p[m]=c}else{if(!(c=p[v]))return;c.model=y,c.ecModel=e,c.api=n}m||!v?y.get("show")&&!c.unusable?(function(i,r,o){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=r.getIcons?r.getIcons():i.get("icon"),f=i.get("title")||{};if("string"==typeof c){var p=c,g=f;f={},(c={})[o]=p,f[o]=g}var m=i.iconPaths={};a.each(c,function(o,c){var p=s.createIcon(o,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[c],p.on("mouseover",function(){var t=u.getItemStyle();p.setStyle({text:f[c],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){p.setStyle({textFill:null})})),p.trigger(i.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",a.bind(r.onclick,r,e,n,c)),m[c]=p})}(y,c,m),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},c.render&&c.render(y,e,n,i)):c.remove&&c.remove(e,n):c.dispose&&c.dispose(e,n)}},updateView:function(t,e,n,i){a.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,n,i)})},remove:function(t,e){a.each(this._features,function(n){n.remove&&n.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){a.each(this._features,function(n){n.dispose&&n.dispose(t,e)})}});t.exports=h},"2B6p":function(t,e){e.updateCenterAndZoom=function(t,e,n){var i=t.getZoom(),a=t.getCenter(),r=e.zoom,o=t.dataToPoint(a);if(null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,a=t.pointToData(o),t.setCenter(a)),null!=r){if(n){var s=n.min||0;r=Math.max(Math.min(i*r,n.max||1/0),s)/i}t.scale[0]*=r,t.scale[1]*=r;var l=t.position,u=(e.originY-l[1])*(r-1);l[0]-=(e.originX-l[0])*(r-1),l[1]-=u,t.updateTransform(),a=t.pointToData(o),t.setCenter(a),t.setZoom(r*i)}return{center:t.getCenter(),zoom:t.getZoom()}}},"2DNl":function(t,e,n){var i=n("IMiH"),a=n("loD1"),r=n("59Ip"),o=n("aKvl"),s=n("n1HI"),l=n("hX1E").normalizeRadian,u=n("Sj9i"),c=n("hyiK"),h=i.CMD,d=2*Math.PI,f=1e-4,p=[-1,-1,-1],g=[-1,-1];function m(t,e,n,i,a,r,o,s,l,c){if(c>e&&c>i&&c>r&&c>s||c<e&&c<i&&c<r&&c<s)return 0;var h,d=u.cubicRootAt(e,i,r,s,c,p);if(0===d)return 0;for(var f,m,v=0,y=-1,x=0;x<d;x++){var _=p[x],b=0===_||1===_?.5:1;u.cubicAt(t,n,a,o,_)<l||(y<0&&(y=u.cubicExtrema(e,i,r,s,g),g[1]<g[0]&&y>1&&(h=g[0],g[0]=g[1],g[1]=h),f=u.cubicAt(e,i,r,s,g[0]),y>1&&(m=u.cubicAt(e,i,r,s,g[1]))),v+=2==y?_<g[0]?f<e?b:-b:_<g[1]?m<f?b:-b:s<m?b:-b:_<g[0]?f<e?b:-b:s<f?b:-b)}return v}function v(t,e,n,i,a,r,o,s){if(s>e&&s>i&&s>r||s<e&&s<i&&s<r)return 0;var l=u.quadraticRootAt(e,i,r,s,p);if(0===l)return 0;var c=u.quadraticExtremum(e,i,r);if(c>=0&&c<=1){for(var h=0,d=u.quadraticAt(e,i,r,c),f=0;f<l;f++){var g=0===p[f]||1===p[f]?.5:1;u.quadraticAt(t,n,a,p[f])<o||(h+=p[f]<c?d<e?g:-g:r<d?g:-g)}return h}return g=0===p[0]||1===p[0]?.5:1,u.quadraticAt(t,n,a,p[0])<o?0:r<e?g:-g}function y(t,e,n,i,a,r,o,s){if((s-=e)>n||s<-n)return 0;var u=Math.sqrt(n*n-s*s);p[0]=-u,p[1]=u;var c=Math.abs(i-a);if(c<1e-4)return 0;if(c%d<1e-4){i=0,a=d;var h=r?1:-1;return o>=p[0]+t&&o<=p[1]+t?h:0}r?(u=i,i=l(a),a=l(u)):(i=l(i),a=l(a)),i>a&&(a+=d);for(var f=0,g=0;g<2;g++){var m=p[g];if(m+t>o){var v=Math.atan2(s,m);h=r?1:-1,v<0&&(v=d+v),(v>=i&&v<=a||v+d>=i&&v+d<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),f+=h)}}return f}function x(t,e,n,i,l){for(var u=0,d=0,p=0,g=0,x=0,_=0;_<t.length;){var b=t[_++];switch(b===h.M&&_>1&&(n||(u+=c(d,p,g,x,i,l))),1==_&&(g=d=t[_],x=p=t[_+1]),b){case h.M:d=g=t[_++],p=x=t[_++];break;case h.L:if(n){if(a.containStroke(d,p,t[_],t[_+1],e,i,l))return!0}else u+=c(d,p,t[_],t[_+1],i,l)||0;d=t[_++],p=t[_++];break;case h.C:if(n){if(r.containStroke(d,p,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],e,i,l))return!0}else u+=m(d,p,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],i,l)||0;d=t[_++],p=t[_++];break;case h.Q:if(n){if(o.containStroke(d,p,t[_++],t[_++],t[_],t[_+1],e,i,l))return!0}else u+=v(d,p,t[_++],t[_++],t[_],t[_+1],i,l)||0;d=t[_++],p=t[_++];break;case h.A:var w=t[_++],S=t[_++],M=t[_++],I=t[_++],T=t[_++],A=t[_++],D=(_++,1-t[_++]),C=Math.cos(T)*M+w,L=Math.sin(T)*I+S;_>1?u+=c(d,p,C,L,i,l):(g=C,x=L);var P=(i-w)*I/M+w;if(n){if(s.containStroke(w,S,I,T,T+A,D,e,P,l))return!0}else u+=y(w,S,I,T,T+A,D,P,l);d=Math.cos(T+A)*M+w,p=Math.sin(T+A)*I+S;break;case h.R:if(g=d=t[_++],x=p=t[_++],C=g+t[_++],L=x+t[_++],n){if(a.containStroke(g,x,C,x,e,i,l)||a.containStroke(C,x,C,L,e,i,l)||a.containStroke(C,L,g,L,e,i,l)||a.containStroke(g,L,g,x,e,i,l))return!0}else u+=c(C,x,C,L,i,l),u+=c(g,L,g,x,i,l);break;case h.Z:if(n){if(a.containStroke(d,p,g,x,e,i,l))return!0}else u+=c(d,p,g,x,i,l);d=g,p=x}}return n||Math.abs(p-x)<f||(u+=c(d,p,g,x,i,l)||0),0!==u}e.contain=function(t,e,n){return x(t,0,!1,e,n)},e.containStroke=function(t,e,n,i){return x(t,e,!0,n,i)}},"2dDv":function(t,e,n){var i=n("bYtY"),a=n("Fofx"),r=n("+TT/"),o=n("aX7z"),s=n("D1WM"),l=n("IwbS"),u=n("OELB"),c=n("72pK"),h=i.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=u.round,v=Math.PI;function y(t,e,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}function x(t,e){return d(f(t,e[0]),e[1])}y.prototype={type:"parallel",constructor:y,_init:function(t,e,n){var i=t.parallelAxisIndex;h(t.dimensions,function(t,n){var a=i[n],r=e.getComponent("parallelAxis",a),l=this._axesMap.set(t,new s(t,o.createScaleByModel(r),[0,0],r.get("type"),a));l.onBand="category"===l.type&&r.get("boundaryGap"),l.inverse=r.get("inverse"),r.axis=l,l.model=r,l.coordinateSystem=r.coordinateSystem=this},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,a=e.pixelDimIndex,r=t[1-a],o=t[a];return r>=n&&r<=n+e.axisLength&&o>=i&&o<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();h(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=n[a[o]],l=[0,s],u=this.dimensions.length,c=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=x(f[1]-f[0],l),f[1]=f[0]+t):(t=x(c*(h-1),l),(f=[c*(e.get("axisExpandCenter")||p(u/2))-t/2])[1]=f[0]+t);var v=(s-t)/(u-h);v<3&&(v=0);var y=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1];return{layout:r,pixelDimIndex:o,layoutBase:n[i[o]],layoutLength:s,axisBase:n[i[1-o]],axisLength:n[a[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:v,axisExpandWindow:f,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:v/c*f[0]}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),h(n,function(e,n){var o=(i.axisExpandable?function(t,e){var n,i,a=e.axisExpandWidth,r=e.axisCollapseWidth,o=e.winInnerIndices,s=r,l=!1;return t<o[0]?(n=t*r,i=r):t<=o[1]?(n=e.axisExpandWindow0Pos+t*a-e.axisExpandWindow[0],s=a,l=!0):(n=e.layoutLength-(e.axisCount-1-t)*r,i=r),{position:n,axisNameAvailableWidth:s,axisLabelShow:l,nameTruncateMaxWidth:i}}:function(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}})(n,i),s={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},l=[s[r].x+t.x,s[r].y+t.y],u={horizontal:v/2,vertical:0}[r],c=a.create();a.rotate(c,c,u),a.translate(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,a){null==n&&(n=0),null==a&&(a=t.count());var r=this._axesMap,o=this.dimensions,s=[],l=[];i.each(o,function(e){s.push(t.mapDimension(e)),l.push(r.get(e).model)});for(var u=this.hasAxisBrushed(),c=n;c<a;c++){var h;if(u){h="active";for(var d=t.getValues(s,c),f=0,p=o.length;f<p;f++)if("inactive"===l[f].getActiveState(d[f])){h="inactive";break}}else h="normal";e(h,c)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,a=t.length;i<a;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(t,e){return l.applyTransform([t,0],this._axesLayout[e].transform)},getAxisLayout:function(t){return i.clone(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),a=i[1]-i[0],r=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var o,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),p=null!=h[0];return u?(p&&u&&s<a*h[0]?(l="jump",o=s-a*h[2]):p&&u&&s>a*(1-h[0])?(l="jump",o=s-a*(1-h[2])):(o=s-a*h[1])>=0&&(o=s-a*(1-h[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?c(o,i,r,"all"):l="none"):((i=[f(0,r[1]*s/(a=i[1]-i[0])-a/2)])[1]=d(r[1],i[0]+a),i[0]=i[1]-a),{axisExpandWindow:i,behavior:l}}},t.exports=y},"2fGM":function(t,e,n){var i=n("bYtY"),a=n("bLfw"),r=n("nkfE"),o=n("ICMv"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}i.merge(s.prototype,o),r("angle",s,l,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),r("radius",s,l,{splitNumber:5})},"2fw6":function(t,e,n){var i=n("y+Vt").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=i},"2uGb":function(t,e,n){var i=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var a=n("kMLO"),r=n("nKiI");i.registerVisual(a),i.registerLayout(r)},"2w7y":function(t,e,n){var i=n("ProS");n("qMZE"),n("g0SD"),i.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},"33Ds":function(t,e,n){var i=n("ProS"),a=n("b9oc"),r=n("Kagy"),o=n("IUWy");function s(t){this.model=t}s.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:r.toolbox.restore.title},s.prototype.onclick=function(t,e,n){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},o.register("restore",s),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")}),t.exports=s},"3C/r":function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},t.exports=n},"3CBa":function(t,e,n){var i=n("hydK").createElement,a=n("bYtY"),r=a.each,o=n("SUKs"),s=n("y+Vt"),l=n("Dagg"),u=n("dqUG"),c=n("DBLp"),h=n("sW+o"),d=n("n6Mw"),f=n("vKoX"),p=n("P47w"),g=p.path,m=p.image,v=p.text;function y(t){return parseInt(t,10)}function x(t,e){return e&&t&&e.parentNode!==t}function _(t,e,n){if(x(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function b(t,e){if(x(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function w(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function S(t){return t.__textSvgEl}function M(t){return t.__svgEl}var I=function(t,e,n,r){this.root=t,this.storage=e,this._opts=n=a.extend({},n||{});var o=i("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new h(r,o),this.clipPathManager=new d(r,o),this.shadowManager=new f(r,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=s,t.appendChild(s),s.appendChild(o),this.resize(n.width,n.height),this._visibleList=[]};I.prototype={constructor:I,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n,i=this._svgRoot,a=this._visibleList,r=t.length,o=[];for(e=0;e<r;e++){var h=(n=T=t[e])instanceof s?g:n instanceof l?m:n instanceof u?v:g,d=M(T)||S(T);T.invisible||(T.__dirty&&(h&&h.brush(T),this.clipPathManager.update(T),T.style&&(this.gradientManager.update(T.style.fill),this.gradientManager.update(T.style.stroke),this.shadowManager.update(d,T)),T.__dirty=!1),o.push(T))}var f,p=c(a,o);for(e=0;e<p.length;e++)if((I=p[e]).removed)for(var y=0;y<I.count;y++){d=M(T=a[I.indices[y]]);var x=S(T);w(i,d),w(i,x)}for(e=0;e<p.length;e++){var I;if((I=p[e]).added)for(y=0;y<I.count;y++)d=M(T=o[I.indices[y]]),x=S(T),f?_(i,d,f):b(i,d),d?_(i,x,d):f?_(i,x,f):b(i,x),_(i,x,d),f=x||d||f,this.gradientManager.addWithoutUpdate(d,T),this.shadowManager.addWithoutUpdate(f,T),this.clipPathManager.markUsed(T);else if(!I.removed)for(y=0;y<I.count;y++){var T;f=d=S(T=o[I.indices[y]])||M(T)||f,this.gradientManager.markUsed(T),this.gradientManager.addWithoutUpdate(d,T),this.shadowManager.markUsed(T),this.shadowManager.addWithoutUpdate(d,T),this.clipPathManager.markUsed(T)}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=o},_getDefs:function(t){var e,n=this._svgRoot;return 0===(e=this._svgRoot.getElementsByTagName("defs")).length?t?((e=n.insertBefore(i("defs"),n.firstChild)).contains||(e.contains=function(t){var n=e.children;if(!n)return!1;for(var i=n.length-1;i>=0;--i)if(n[i]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=n.style;a.width=t+"px",a.height=e+"px";var r=this._svgRoot;r.setAttribute("width",t),r.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[i]||y(s[n])||y(o.style[n]))-(y(s[a])||0)-(y(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},r(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;I.prototype[t]=(e=t,function(){o('In SVG mode painter not support method "'+e+'"')})}),t.exports=I},"3LNs":function(t,e,n){var i=n("bYtY"),a=n("Yl7c"),r=n("IwbS"),o=n("zTMp"),s=n("YH21"),l=n("iLNv"),u=(0,n("4NO4").makeInner)(),c=i.clone,h=i.bind;function d(){}function f(t,e,n,a){(function t(e,n){if(i.isObject(e)&&i.isObject(n)){var a=!0;return i.each(n,function(n,i){a=a&&t(e[i],n)}),!!a}return e===n})(u(n).lastProp,a)||(u(n).lastProp=a,e?r.updateProps(n,a,t):(n.stopAnimation(),n.attr(a)))}function p(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),a=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=a&&(t.zlevel=a),t.silent=n)})}(d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,o,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=i.curry(f,e,d);this.updatePointerEl(l,c,p,e),this.updateLabelEl(l,c,p,e)}else l=this._group=new r.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);m(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),i=t.axis,a="category"===i.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,a){},createPointerEl:function(t,e,n,i){var a=e.pointer;if(a){var o=u(t).pointerEl=new r[a.type](c(e.pointer));t.add(o)}},createLabelEl:function(t,e,n,i){if(e.label){var a=u(t).labelEl=new r.Rect(c(e.label));t.add(a),p(a,i)}},updatePointerEl:function(t,e,n){var i=u(t).pointerEl;i&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var a=u(t).labelEl;a&&(a.setStyle(e.label.style),n(a,{shape:e.label.shape,position:e.label.position}),p(a,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,a=this._api.getZr(),o=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),a.add(o)),m(o,n,!1),o.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");i.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(g(i)),u(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,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)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=d,a.enableClassExtend(d),t.exports=d},"3OrL":function(t,e,n){var i=n("bYtY"),a=n("6Ic6"),r=n("IwbS"),o=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=a.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),a=this.group,r=this._data;this._data||a.removeAll();var o="horizontal"===t.get("layout")?1:0;i.diff(r).add(function(t){if(i.hasValue(t)){var e=h(i.getItemLayout(t),i,t,o,!0);i.setItemGraphicEl(t,e),a.add(e)}}).update(function(t,e){var n=r.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?d(s,n,i,t):n=h(s,i,t,o),a.add(n),i.setItemGraphicEl(t,n)}else a.remove(n)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&a.remove(e)}).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},dispose:i.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),t.lineTo(n[++i][0],n[i][1])}});function h(t,e,n,i,a){var r=t.ends,o=new c({shape:{points:a?f(r,i,t):r}});return d(t,o,e,n,a),o}function d(t,e,n,i,a){(0,r[a?"initProps":"updateProps"])(e,{shape:{points:t.ends}},n.hostModel,i);var o=n.getItemModel(i),u=o.getModel(s),c=n.getItemVisual(i,"color"),h=u.getItemStyle(["borderColor"]);h.stroke=c,h.strokeNoScale=!0,e.useStyle(h),e.z2=100;var d=o.getModel(l).getItemStyle();r.setHoverStyle(e,d)}function f(t,e,n){return i.map(t,function(t){return(t=t.slice())[e]=n.initBaseline,t})}t.exports=u},"3TkU":function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("QUw5"),n("Swgg"),n("LBfv"),n("noeP")},"3X6L":function(t,e,n){var i=n("bYtY"),a=n("7a+S"),r=n("OKJ2"),o=a.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(o,r),t.exports=o},"3e3G":function(t,e,n){var i=n("bYtY"),a=n("QuXc"),r=function(t,e,n,i,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=r||!1,a.call(this,i)};r.prototype={constructor:r},i.inherits(r,a),t.exports=r},"3gBT":function(t,e){var n=2311;t.exports=function(){return n++}},"3hzK":function(t,e){t.exports={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}}},"3m61":function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),i=t.getEdgeData(),a=n(t.get("edgeSymbol")),r=n(t.get("edgeSymbolSize")),o="lineStyle.color".split("."),s="lineStyle.opacity".split(".");i.setVisual("fromSymbol",a&&a[0]),i.setVisual("toSymbol",a&&a[1]),i.setVisual("fromSymbolSize",r&&r[0]),i.setVisual("toSymbolSize",r&&r[1]),i.setVisual("color",t.get(o)),i.setVisual("opacity",t.get(s)),i.each(function(t){var a=i.getItemModel(t),r=e.getEdgeByIndex(t),l=n(a.getShallow("symbol",!0)),u=n(a.getShallow("symbolSize",!0)),c=a.get(o),h=a.get(s);switch(c){case"source":c=r.node1.getVisual("color");break;case"target":c=r.node2.getVisual("color")}l[0]&&r.setVisual("fromSymbol",l[0]),l[1]&&r.setVisual("toSymbol",l[1]),u[0]&&r.setVisual("fromSymbolSize",u[0]),u[1]&&r.setVisual("toSymbolSize",u[1]),r.setVisual("color",c),r.setVisual("opacity",h)})})}},"3zoK":function(t,e,n){var i=n("bYtY"),a=n("bLfw"),r=n("KCsZ"),o=n("nkfE"),s=n("OELB"),l=n("ICMv"),u=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return r([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=i.clone(t);if(e)for(var n=e.length-1;n>=0;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,a=e.length;i<a;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"}});i.merge(u.prototype,l),o("parallel",u,function(t,e){return e.type||(e.data?"category":"value")},{type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10}),t.exports=u},"4Feb":function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("IwbS"),r=n("x3X8").getDefaultLabel,o=n("MwEJ"),s=n("nVfU").getLayoutOnAxis,l=n("gPAo"),u=n("T4UG"),c=n("6Ic6"),h=n("qj72"),d=n("ANjR"),f=n("MHtr"),p=n("6usn"),g=n("Rx6q"),m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"],_="e\0\0",b={cartesian2d:h,geo:d,singleAxis:f,polar:p,calendar:g};function w(t,e,n,i,a){null==n[t]||a||(e[t]=n[t],n[t]=i[t])}function S(t,e,n,o){var l=t.get("renderItem"),u=t.coordinateSystem,c={};u&&(c=u.prepareCustoms?u.prepareCustoms():b[u.type](u));var h,d,f,p,g,_=i.defaults({getWidth:o.getWidth,getHeight:o.getHeight,getZr:o.getZr,getDevicePixelRatio:o.getDevicePixelRatio,value:function(t,n){return null==n&&(n=h),e.get(e.getDimension(t||0),n)},style:function(n,o){null==o&&(o=h),I(o);var s=d.getModel(m).getItemStyle();null!=g&&(s.fill=g);var l=e.getItemVisual(o,"opacity");return null!=l&&(s.opacity=l),a.setTextStyle(s,f,null,{autoColor:g,isRectText:!0}),s.text=f.getShallow("show")?i.retrieve2(t.getFormattedLabel(o,"normal"),r(e,o)):null,n&&i.extend(s,n),s},styleEmphasis:function(n,o){null==o&&(o=h),I(o);var s=d.getModel(v).getItemStyle();return a.setTextStyle(s,p,null,{isRectText:!0},!0),s.text=p.getShallow("show")?i.retrieve3(t.getFormattedLabel(o,"emphasis"),t.getFormattedLabel(o,"normal"),r(e,o)):null,n&&i.extend(s,n),s},visual:function(t,n){return null==n&&(n=h),e.getItemVisual(n,t)},barLayout:function(t){if(u.getBaseAxis){var e=u.getBaseAxis();return s(i.defaults({axis:e},t),o)}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return a.getFont(t,n)}},c.api||{}),w={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:c.coordSys,dataInsideLength:e.count(),encode:M(t.getData())},S=!0;return function(t,n){return h=t,S=!0,l&&l(i.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},w),_)};function I(t){null==t&&(t=h),S&&(d=e.getItemModel(t),f=d.getModel(y),p=d.getModel(x),g=e.getItemVisual(t,"color"),S=!1)}}function M(t){var e={};return i.each(t.dimensions,function(n,i){var a=t.getDimensionInfo(n);if(!a.isExtraCoord){var r=a.coordDim;(e[r]=e[r]||[])[a.coordDimIndex]=i}}),e}function I(t,e,n,i,a,r){return(t=T(t,e,n,i,a,r,!0))&&r.setItemGraphicEl(e,t),t}function T(t,e,n,r,o,s,u){var c,h=!n,d=(n=n||{}).type,f=n.shape,p=n.style;if(t&&(h||null!=d&&d!==t.__customGraphicType||"path"===d&&(c=f)&&(c.hasOwnProperty("pathData")||c.hasOwnProperty("d"))&&L(f)!==t.__customPathData||"image"===d&&P(p,"image")&&p.image!==t.__customImagePath||"text"===d&&P(f,"text")&&p.text!==t.__customText)&&(o.remove(t),t=null),!h){var g=!t;return!t&&(t=function(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=L(i);(e=a.makePath(o,null,r,i.layout||"center")).__customPathData=o}else"image"===n?(e=new a.Image({})).__customImagePath=t.style.image:"text"===n?(e=new a.Text({})).__customText=t.style.text:e=new(0,a[n.charAt(0).toUpperCase()+n.slice(1)]);return e.__customGraphicType=n,e.name=t.name,e}(n)),function(t,e,n,r,o,s,l){var u={},c=n.style||{};if(n.shape&&(u.shape=i.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===t.type&&n.style){var h=u.style={};i.each(["x","y","width","height"],function(e){w(e,h,c,t.style,s)})}if("text"===t.type&&n.style&&(h=u.style={},i.each(["x","y"],function(e){w(e,h,c,t.style,s)}),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)),"group"!==t.type&&(t.useStyle(c),s)){t.style.opacity=0;var d=c.opacity;null==d&&(d=1),a.initProps(t,{style:{opacity:d}},r,e)}s?t.attr(u):a.updateProps(t,u,r,e),n.hasOwnProperty("z2")&&t.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&t.attr("silent",n.silent),n.hasOwnProperty("invisible")&&t.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&t.attr("ignore",n.ignore),n.hasOwnProperty("info")&&t.attr("info",n.info);var f=n.styleEmphasis,p=!1===f;t.__cusHasEmphStl&&null==f||!t.__cusHasEmphStl&&p||(a.setElementHoverStyle(t,f),t.__cusHasEmphStl=!p),l&&a.setAsHoverStyleTrigger(t,!p)}(t,e,n,r,0,g,u),"group"===d&&function(t,e,n,i,a){var r=n.children,o=r?r.length:0,s=n.$mergeChildren,u="byName"===s||n.diffChildrenByName,c=!1===s;if(o||u||c){if(u)return h={oldChildren:t.children()||[],newChildren:r||[],dataIndex:e,animatableModel:i,group:t,data:a},void new l(h.oldChildren,h.newChildren,A,A,h).add(D).update(D).remove(C).execute();var h;c&&t.removeAll();for(var d=0;d<o;d++)r[d]&&T(t.childAt(d),e,r[d],i,t,a)}}(t,e,n,r,s),o.add(t),t}}function A(t,e){var n=t&&t.name;return null!=n?n:_+e}function D(t,e){var n=this.context;T(null!=e?n.oldChildren[e]:null,n.dataIndex,null!=t?n.newChildren[t]:null,n.animatableModel,n.group,n.data)}function C(t){var e=this.context,n=e.oldChildren[t];n&&e.group.remove(n)}function L(t){return t&&(t.pathData||t.d)}function P(t,e){return t&&t.hasOwnProperty(e)}u.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0},getInitialData:function(t,e){return o(this.getSource(),this)},getDataParams:function(t,e,n){var i=u.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),c.extend({type:"custom",_data:null,render:function(t,e,n,i){var a=this._data,r=t.getData(),o=this.group,s=S(t,r,e,n);r.diff(a).add(function(e){I(null,e,s(e,i),t,o,r)}).update(function(e,n){I(a.getItemGraphicEl(n),e,s(e,i),t,o,r)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&o.remove(e)}).execute(),this._data=r},incrementalPrepareRender:function(t,e,n){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,n,i,a){var r=e.getData(),o=S(e,r,n,i);function s(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)}for(var l=t.start;l<t.end;l++)I(null,l,o(l,a),e,this.group,r).traverse(s)},dispose:i.noop,filterForExposedEvent:function(t,e,n,i){var a=e.element;if(null==a||n.name===a)return!0;for(;(n=n.parent)&&n!==this.group;)if(n.name===a)return!0;return!1}})},"4HMb":function(t,e,n){var i=n("bYtY"),a=n("6GrX"),r=n("4NO4").makeInner,o=n("aX7z").makeLabelFormatter,s=r();function l(t,e){var n,a,r=u(t,"labels"),o=p(e);return c(r,o)||(i.isFunction(o)?n=f(t,o):(a="auto"===o?function(t){var e=s(t).autoInterval;return null!=e?e:s(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=d(t,a)),h(r,o,{labels:n,labelCategoryInterval:a}))}function u(t,e){return s(t)[e]||(s(t)[e]=[])}function c(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function h(t,e,n){return t.push({key:e,value:n}),n}function d(t,e,n){var i=o(t),a=t.scale,r=a.getExtent(),s=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),c=r[0],h=a.count();0!==c&&u>1&&h/u>2&&(c=Math.round(Math.ceil(c/u)*u));var d=s.get("showMinLabel"),f=s.get("showMaxLabel");d&&c!==r[0]&&g(r[0]);for(var p=c;p<=r[1];p+=u)g(p);function g(t){l.push(n?t:{formattedLabel:i(t),rawLabel:a.getLabel(t),tickValue:t})}return f&&p!==r[1]&&g(r[1]),l}function f(t,e,n){var a=t.scale,r=o(t),s=[];return i.each(a.getTicks(),function(t){var i=a.getLabel(t);e(t,i)&&s.push(n?t:{formattedLabel:r(t),rawLabel:i,tickValue:t})}),s}function p(t){var e=t.get("interval");return null==e?"auto":e}e.createAxisLabels=function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=l(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=o(t);return{labels:i.map(e,function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e}})}}(t)},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var n,a,r=u(t,"ticks"),o=p(e),s=c(r,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(n=[]),i.isFunction(o))n=f(t,o,!0);else if("auto"===o){var g=l(t,t.getLabelModel());a=g.labelCategoryInterval,n=i.map(g.labels,function(t){return t.tickValue})}else n=d(t,a=o,!0);return h(r,o,{ticks:n,tickCategoryInterval:a})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=o(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,l=r.getExtent(),u=r.count();if(l[1]-l[0]<1)return 0;var c=1;u>40&&(c=Math.max(1,Math.floor(u/40)));for(var h=l[0],d=t.dataToCoord(h+1)-t.dataToCoord(h),f=Math.abs(d*Math.cos(i)),p=Math.abs(d*Math.sin(i)),g=0,m=0;h<=l[1];h+=c){var v,y=a.getBoundingRect(n(h),e.font,"center","top");v=1.3*y.height,g=Math.max(g,1.3*y.width,7),m=Math.max(m,v,7)}var x=g/f,_=m/p;isNaN(x)&&(x=1/0),isNaN(_)&&(_=1/0);var b=Math.max(0,Math.floor(Math.min(x,_))),w=s(t.model),S=w.lastAutoInterval,M=w.lastTickCount;return null!=S&&null!=M&&Math.abs(S-b)<=1&&Math.abs(M-u)<=1&&S>b?b=S:(w.lastTickCount=u,w.lastAutoInterval=b),b}},"4NO4":function(t,e,n){var i=n("bYtY"),a=n("ItGF"),r=i.each,o=i.isObject,s=i.isArray;function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function h(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=l,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,a=n.length;i<a;i++){var r=n[i];!t.emphasis[e].hasOwnProperty(r)&&t[e].hasOwnProperty(r)&&(t.emphasis[e][r]=t[e][r])}}},e.TEXT_STYLE_OPTIONS=["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"],e.getDataItemValue=function(t){return!o(t)||s(t)||t instanceof Date?t:t.value},e.isDataItemOption=function(t){return o(t)&&!(t instanceof Array)},e.mappingToExists=function(t,e){e=(e||[]).slice();var n=i.map(t||[],function(t,e){return{exist:t}});return r(e,function(t,i){if(o(t)){for(var a=0;a<n.length;a++)if(!n[a].option&&null!=t.id&&n[a].exist.id===t.id+"")return n[a].option=t,void(e[i]=null);for(a=0;a<n.length;a++){var r=n[a].exist;if(!(n[a].option||null!=r.id&&null!=t.id||null==t.name||u(t)||u(r)||r.name!==t.name+""))return n[a].option=t,void(e[i]=null)}}}),r(e,function(t,e){if(o(t)){for(var i=0;i<n.length;i++)if(!n[i].option&&!u(n[i].exist)&&null==t.id){n[i].option=t;break}i>=n.length&&n.push({option:t})}}),n},e.makeIdAndName=function(t){var e=i.createHashMap();r(t,function(t,n){var i=t.exist;i&&e.set(i.id,t)}),r(t,function(t,n){var a=t.option;i.assert(!a||null==a.id||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})}),r(t,function(t,n){var i=t.exist,a=t.option,r=t.keyInfo;if(o(a)){if(r.name=null!=a.name?a.name+"":i?i.name:"series\0"+n,i)r.id=i.id;else if(null!=a.id)r.id=a.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}})},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},i={};return a(t||[],n),a(e||[],i,n),[r(n),r(i)];function a(t,e,n){for(var i=0,a=t.length;i<a;i++)for(var r=t[i].seriesId,o=l(t[i].dataIndex),s=n&&n[r],u=0,c=o.length;u<c;u++){var h=o[u];s&&s[h]?s[h]=null:(e[r]||(e[r]={}))[h]=1}}function r(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var a=r(t[i],!0);a.length&&n.push({seriesId:i,dataIndex:a})}return n}},e.queryDataIndex=function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?i.isArray(e.dataIndex)?i.map(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?i.isArray(e.name)?i.map(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0},e.makeInner=function(){var t="__\0ec_inner_"+c+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}},e.parseFinder=function(t,e,n){if(i.isString(e)){var a={};a[e+"Index"]=0,e=a}var o=n&&n.defaultMainType;!o||h(e,o+"Index")||h(e,o+"Id")||h(e,o+"Name")||(e[o+"Index"]=0);var s={};return r(e,function(a,r){if(a=e[r],"dataIndex"!==r&&"dataIndexInside"!==r){var o=r.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],u=(o[2]||"").toLowerCase();if(!(!l||!u||null==a||"index"===u&&"none"===a||n&&n.includeMainTypes&&i.indexOf(n.includeMainTypes,l)<0)){var c={mainType:l};"index"===u&&"all"===a||(c[u]=a);var h=t.queryComponents(c);s[l+"Models"]=h,s[l+"Model"]=h[0]}}else s[r]=a}),s},e.setAttribute=function(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n},e.getAttribute=function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},e.getTooltipRenderMode=function(t){return"auto"===t?a.domSupported?"html":"richText":t||"html"}},"4NgU":function(t,e,n){var i=n("Yl7c");function a(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}a.prototype.parse=function(t){return t},a.prototype.getSetting=function(t){return this._setting[t]},a.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},a.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},a.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},a.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(t){this._isBlank=t},a.prototype.getLabel=null,i.enableClassExtend(a),i.enableClassManagement(a,{registerWhenExtend:!0}),t.exports=a},"4fz+":function(t,e,n){var i=n("bYtY"),a=n("1bdT"),r=n("mFDi"),o=function(t){for(var e in a.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},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},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,a=this._children,r=i.indexOf(a,t);return r<0?this:(a.splice(r,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),e&&e.refresh(),this)},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e<n.length;e++)t=n[e],i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),t.parent=null;return n.length=0,this},eachChild:function(t,e){for(var n=this._children,i=0;i<n.length;i++)t.call(e,n[i],i);return this},traverse:function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n];t.call(e,i),"group"===i.type&&i.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.addToStorage(n),n instanceof o&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromStorage(n),n instanceof o&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new r(0,0,0,0),i=t||this._children,a=[],o=0;o<i.length;o++){var s=i[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(a);u?(n.copy(l),n.applyTransform(u),(e=e||n.clone()).union(n)):(e=e||l.clone()).union(l)}}return e||n}},i.inherits(o,a),t.exports=o},"4mN7":function(t,e,n){var i=n("QBsz"),a=n("Sj9i"),r=Math.min,o=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),d=i.create(),f=[],p=[];e.fromPoints=function(t,e,n){if(0!==t.length){var i,a=t[0],s=a[0],l=a[0],u=a[1],c=a[1];for(i=1;i<t.length;i++)s=r(s,(a=t[i])[0]),l=o(l,a[0]),u=r(u,a[1]),c=o(c,a[1]);e[0]=s,e[1]=u,n[0]=l,n[1]=c}},e.fromLine=function(t,e,n,i,a,s){a[0]=r(t,n),a[1]=r(e,i),s[0]=o(t,n),s[1]=o(e,i)},e.fromCubic=function(t,e,n,i,s,l,u,c,h,d){var g,m=a.cubicExtrema,v=a.cubicAt,y=m(t,n,s,u,f);for(h[0]=1/0,h[1]=1/0,d[0]=-1/0,d[1]=-1/0,g=0;g<y;g++){var x=v(t,n,s,u,f[g]);h[0]=r(x,h[0]),d[0]=o(x,d[0])}for(y=m(e,i,l,c,p),g=0;g<y;g++){var _=v(e,i,l,c,p[g]);h[1]=r(_,h[1]),d[1]=o(_,d[1])}h[0]=r(t,h[0]),d[0]=o(t,d[0]),h[0]=r(u,h[0]),d[0]=o(u,d[0]),h[1]=r(e,h[1]),d[1]=o(e,d[1]),h[1]=r(c,h[1]),d[1]=o(c,d[1])},e.fromQuadratic=function(t,e,n,i,s,l,u,c){var h=a.quadraticExtremum,d=a.quadraticAt,f=o(r(h(t,n,s),1),0),p=o(r(h(e,i,l),1),0),g=d(t,n,s,f),m=d(e,i,l,p);u[0]=r(t,s,g),u[1]=r(e,l,m),c[0]=o(t,s,g),c[1]=o(e,l,m)},e.fromArc=function(t,e,n,a,r,o,f,p,g){var m=i.min,v=i.max,y=Math.abs(r-o);if(y%u<1e-4&&y>1e-4)return p[0]=t-n,p[1]=e-a,g[0]=t+n,void(g[1]=e+a);if(c[0]=l(r)*n+t,c[1]=s(r)*a+e,h[0]=l(o)*n+t,h[1]=s(o)*a+e,m(p,c,h),v(g,c,h),(r%=u)<0&&(r+=u),(o%=u)<0&&(o+=u),r>o&&!f?o+=u:r<o&&f&&(r+=u),f){var x=o;o=r,r=x}for(var _=0;_<o;_+=Math.PI/2)_>r&&(d[0]=l(_)*n+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}},"56rv":function(t,e,n){var i=n("IwbS"),a=n("x3X8").getDefaultLabel;function r(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,n,o,s,l,u){var c=n.getModel("label"),h=n.getModel("emphasis.label");i.setLabelStyle(t,e,c,h,{labelFetcher:s,labelDataIndex:l,defaultText:a(s.getData(),l),isRectText:!0,autoColor:o}),r(t),r(e)}},"59Ip":function(t,e,n){var i=n("Sj9i");e.containStroke=function(t,e,n,a,r,o,s,l,u,c,h){if(0===u)return!1;var d=u;return!(h>e+d&&h>a+d&&h>o+d&&h>l+d||h<e-d&&h<a-d&&h<o-d&&h<l-d||c>t+d&&c>n+d&&c>r+d&&c>s+d||c<t-d&&c<n-d&&c<r-d&&c<s-d)&&i.cubicProjectPoint(t,e,n,a,r,o,s,l,c,h,null)<=d/2}},"5GhG":function(t,e,n){var i=n("5GtS"),a=n("bYtY"),r=n("L0Ub").getDimensionTypeByAxis;e.seriesModelMixin={_baseAxisDim:null,getInitialData:function(t,e){var n,o,s=e.getComponent("xAxis",this.get("xAxisIndex")),l=e.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(t.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===c?(t.layout="vertical",n=l.getOrdinalMeta(),o=!0):t.layout=t.layout||"horizontal";var h=["x","y"],d="horizontal"===t.layout?0:1,f=this._baseAxisDim=h[d],p=h[1-d],g=[s,l],m=g[d].get("type"),v=g[1-d].get("type"),y=t.data;if(y&&o){var x=[];a.each(y,function(t,e){var n;t.value&&a.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):a.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,x.push(n)}),t.data=x}var _=this.defaultValueDimensions;return i(this,{coordDimensions:[{name:f,type:r(m),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:r(v),dimsDef:_.slice()}],dimensionsCount:_.length+1})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}}},"5GtS":function(t,e,n){var i=n("sdST"),a=n("YXkt"),r=n("bYtY"),o=r.extend,s=r.isArray;t.exports=function(t,e,n){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=i(r,e),u=new a(l,t);return u.initData(r,n),u}},"5Hur":function(t,e,n){var i=n("4NO4"),a=i.normalizeToArray,r=(0,i.makeInner)();t.exports={clearColorPalette:function(){r(this).colorIdx=0,r(this).colorNameMap={}},getColorFromPalette:function(t,e,n){var i=r(e=e||this),o=i.colorIdx||0,s=i.colorNameMap=i.colorNameMap||{};if(s.hasOwnProperty(t))return s[t];var l=a(this.get("color",!0)),u=this.get("colorLayer",!0),c=null!=n&&u?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(u,n):l;if((c=c||l)&&c.length){var h=c[o];return t&&(s[t]=h),i.colorIdx=(o+1)%c.length,h}}}},"5s0K":function(t,e,n){var i=n("bYtY");e.createWrap=function(){var t,e=[],n={};return{add:function(t,a,r,o,s){return i.isString(o)&&(s=o,o=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:a,time:r,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,a=0,r=e.length;a<r;a++){var o=e[a];o.el.animateTo(o.target,o.time,o.delay,o.easing,s)}return this;function s(){--i||(e.length=0,n={},t&&t())}}}}},"6/nd":function(t,e,n){n("ProS").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)})})},"62sa":function(t,e,n){var i=n("bYtY"),a=n("4NO4").makeInner,r=n("zTMp"),o=n("Ez2D"),s=i.each,l=i.curry,u=a();function c(t,e,n,a,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var l=function(t,e){var n=e.axis,i=n.dim,a=t,r=[],o=Number.MAX_VALUE,l=-1;return s(e.seriesModels,function(e,u){var c,h,d=e.getData().mapDimension(i,!0);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(d,t,n);h=f.dataIndices,c=f.nestestValue}else{if(!(h=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null)).length)return;c=e.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var p=t-c,g=Math.abs(p);g<=o&&((g<o||p>=0&&l<0)&&(o=g,l=p,a=c,r.length=0),s(h,function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:r,snapToValue:a}}(e,t),u=l.payloadBatch,c=l.snapToValue;u[0]&&null==r.seriesIndex&&i.extend(r,u[0]),!a&&t.snap&&o.containData(c)&&null!=c&&(e=c),n.showPointer(t,e,u,r),n.showTooltip(t,l,c)}else n.showPointer(t,e)}function h(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function d(t,e,n,i){var a=n.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,c=r.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function f(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 p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var a=t.currTrigger,r=[t.x,t.y],g=t,m=t.dispatchAction||i.bind(n.dispatchAction,n),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){p(r)&&(r=o({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(r),x=g.axesInfo,_=v.axesInfo,b="leave"===a||p(r),w={},S={},M={list:[],map:{}},I={showPointer:l(h,S),showTooltip:l(d,M)};s(v.coordSysMap,function(t,e){var n=y||t.containPoint(r);s(v.coordSysAxesInfo[e],function(t,e){var i=t.axis,a=function(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}}(x,t);if(!b&&n&&(!x||a)){var o=a&&a.value;null!=o||y||(o=i.pointToData(r)),null!=o&&c(t,o,I,!1,w)}})});var T={};return s(_,function(t,e){var n=t.linkGroup;n&&!S[e]&&s(n.axesInfo,function(e,i){var a=S[i];if(e!==t&&a){var r=a.value;n.mapper&&(r=t.axis.scale.parse(n.mapper(r,f(e),f(t)))),T[t.key]=r}})}),s(T,function(t,e){c(_[e],t,I,!0,w)}),function(t,e,n){var i=n.axesInfo=[];s(e,function(e,n){var a=e.axisPointerModel.option,r=t[n];r?(!e.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})})}(S,_,w),function(t,e,n,i){if(!p(e)&&t.list.length){var a=((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:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(M,r,t,m),function(t,e,n){var a=n.getZr(),r=u(a).axisPointerLastHighlights||{},o=u(a).axisPointerLastHighlights={};s(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&s(n.seriesDataIndices,function(t){o[t.seriesIndex+" | "+t.dataIndex]=t})});var l=[],c=[];i.each(r,function(t,e){!o[e]&&c.push(t)}),i.each(o,function(t,e){!r[e]&&l.push(t)}),c.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,n),w}}},"6GrX":function(t,e,n){var i=n("mFDi"),a=n("Xnb7"),r=n("bYtY"),o=r.getContext,s=r.extend,l=r.retrieve2,u=r.retrieve3,c=r.trim,h={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",m={};function v(t,e){var n=t+":"+(e=e||g);if(h[n])return h[n];for(var i=(t+"").split("\n"),a=0,r=0,o=i.length;r<o;r++)a=Math.max(I(i[r],e).width,a);return d>f&&(d=0,h={}),d++,h[n]=a,a}function y(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function x(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function _(t,e,n,i,a){if(!e)return"";var r=(t+"").split("\n");a=b(e,n,i,a);for(var o=0,s=r.length;o<s;o++)r[o]=w(r[o],a);return r.join("\n")}function b(t,e,n,i){(i=s({},i)).font=e,n=l(n,"..."),i.maxIterations=l(i.maxIterations,2);var a=i.minChar=l(i.minChar,0);i.cnCharWidth=v("\u56fd",e);var r=i.ascCharWidth=v("a",e);i.placeholder=l(i.placeholder,"");for(var o=t=Math.max(0,t-1),u=0;u<a&&o>=r;u++)o-=r;var c=v(n);return c>o&&(n="",c=0),o=t-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=o,i.containerWidth=t,i}function w(t,e){var n=e.containerWidth,i=e.font,a=e.contentWidth;if(!n)return"";var r=v(t,i);if(r<=n)return t;for(var o=0;;o++){if(r<=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?S(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;r=v(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function S(t,e,n,i){for(var a=0,r=0,o=t.length;r<o&&a<e;r++){var s=t.charCodeAt(r);a+=0<=s&&s<=127?n:i}return r}function M(t){return v("\u56fd",t)}function I(t,e){return m.measureText(t,e)}function T(t,e,n,i){null!=t&&(t+="");var a=M(e),r=t?t.split("\n"):[],o=r.length*a,s=o;if(n&&(s+=n[0]+n[2]),t&&i){var l=i.outerHeight,u=i.outerWidth;if(null!=l&&s>l)t="",r=[];else if(null!=u)for(var c=b(u-(n?n[1]+n[3]:0),e,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),h=0,d=r.length;h<d;h++)r[h]=w(r[h],c)}return{lines:r,height:o,outerHeight:s,lineHeight:a}}function A(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;for(var i,r=p.lastIndex=0;null!=(i=p.exec(t));){var o=i.index;o>r&&D(n,t.substring(r,o)),D(n,i[2],i[1]),r=p.lastIndex}r<t.length&&D(n,t.substring(r,t.length));var s=n.lines,c=0,h=0,d=[],f=e.textPadding,g=e.truncate,m=g&&g.outerWidth,y=g&&g.outerHeight;f&&(null!=m&&(m-=f[1]+f[3]),null!=y&&(y-=f[0]+f[2]));for(var x=0;x<s.length;x++){for(var b=s[x],w=0,S=0,I=0;I<b.tokens.length;I++){var T=(z=b.tokens[I]).styleName&&e.rich[z.styleName]||{},A=z.textPadding=T.textPadding,C=z.font=T.font||e.font,L=z.textHeight=l(T.textHeight,M(C));if(A&&(L+=A[0]+A[2]),z.height=L,z.lineHeight=u(T.textLineHeight,e.textLineHeight,L),z.textAlign=T&&T.textAlign||e.textAlign,z.textVerticalAlign=T&&T.textVerticalAlign||"middle",null!=y&&c+z.lineHeight>y)return{lines:[],width:0,height:0};z.textWidth=v(z.text,C);var P=T.textWidth,k=null==P||"auto"===P;if("string"==typeof P&&"%"===P.charAt(P.length-1))z.percentWidth=P,d.push(z),P=0;else{if(k){P=z.textWidth;var O=T.textBackgroundColor,E=O&&O.image;E&&(E=a.findExistImage(E),a.isImageReady(E)&&(P=Math.max(P,E.width*L/E.height)))}var N=A?A[1]+A[3]:0;P+=N;var R=null!=m?m-S:null;null!=R&&R<P&&(!k||R<N?(z.text="",z.textWidth=P=0):(z.text=_(z.text,R-N,C,g.ellipsis,{minChar:g.minChar}),z.textWidth=v(z.text,C),P=z.textWidth+N))}S+=z.width=P,T&&(w=Math.max(w,z.lineHeight))}b.width=S,b.lineHeight=w,c+=w,h=Math.max(h,S)}for(n.outerWidth=n.width=l(e.textWidth,h),n.outerHeight=n.height=l(e.textHeight,c),f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),x=0;x<d.length;x++){var z;(z=d[x]).width=parseInt(z.percentWidth,10)/100*h}return n}function D(t,e,n){for(var i=""===e,a=e.split("\n"),r=t.lines,o=0;o<a.length;o++){var s=a[o],l={styleName:n,text:s,isLineHolder:!s&&!i};if(o)r.push({tokens:[l]});else{var u=(r[r.length-1]||(r[0]={tokens:[]})).tokens,c=u.length;1===c&&u[0].isLineHolder?u[0]=l:(s||!c||i)&&u.push(l)}}}m.measureText=function(t,e){var n=o();return n.font=e||g,n.measureText(t)},e.DEFAULT_FONT=g,e.$override=function(t,e){m[t]=e},e.getWidth=v,e.getBoundingRect=function(t,e,n,a,r,o,s){return o?function(t,e,n,a,r,o,s){var l=A(t,{rich:o,truncate:s,font:e,textAlign:n,textPadding:r}),u=l.outerWidth,c=l.outerHeight,h=y(0,u,n),d=x(0,c,a);return new i(h,d,u,c)}(t,e,n,a,r,o,s):function(t,e,n,a,r,o){var s=T(t,e,r,o),l=v(t,e);r&&(l+=r[1]+r[3]);var u=s.outerHeight,c=y(0,l,n),h=x(0,u,a),d=new i(c,h,l,u);return d.lineHeight=s.lineHeight,d}(t,e,n,a,r,s)},e.adjustTextX=y,e.adjustTextY=x,e.adjustTextPositionOnRect=function(t,e,n){var i=e.x,a=e.y,r=e.height,o=e.width,s=r/2,l="left",u="top";switch(t){case"left":i-=n,a+=s,l="right",u="middle";break;case"right":i+=n+o,a+=s,u="middle";break;case"top":i+=o/2,a-=n,l="center",u="bottom";break;case"bottom":i+=o/2,a+=r+n,l="center";break;case"inside":i+=o/2,a+=s,l="center",u="middle";break;case"insideLeft":i+=n,a+=s,u="middle";break;case"insideRight":i+=o-n,a+=s,l="right",u="middle";break;case"insideTop":i+=o/2,a+=n,l="center";break;case"insideBottom":i+=o/2,a+=r-n,l="center",u="bottom";break;case"insideTopLeft":i+=n,a+=n;break;case"insideTopRight":i+=o-n,a+=n,l="right";break;case"insideBottomLeft":i+=n,a+=r-n,u="bottom";break;case"insideBottomRight":i+=o-n,a+=r-n,l="right",u="bottom"}return{x:i,y:a,textAlign:l,textVerticalAlign:u}},e.truncateText=_,e.getLineHeight=M,e.measureText=I,e.parsePlainText=T,e.parseRichText=A,e.makeFont=function(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&c(e)||t.textFont||t.font}},"6Ic6":function(t,e,n){var i=n("bYtY").each,a=n("4fz+"),r=n("iRjW"),o=n("Yl7c"),s=n("4NO4"),l=n("9H2F").createTask,u=n("zM3Q"),c=s.makeInner(),h=u();function d(){this.group=new a,this.uid=r.getUID("viewChart"),this.renderTask=l({plan:m,reset:v}),this.renderTask.context={view:this}}var f=d.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){g(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){g(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};function p(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var n=0;n<t.childCount();n++)p(t.childAt(n),e)}function g(t,e,n){var a=s.queryDataIndex(t,e);null!=a?i(s.normalizeToArray(a),function(e){p(t.getItemGraphicEl(e),n)}):t.eachItemGraphicEl(function(t){p(t,n)})}function m(t){return h(t.model)}function v(t){var e=t.model,n=t.ecModel,i=t.api,a=t.payload,r=e.pipelineContext.progressiveRender,o=t.view,s=a&&c(a).updateMethod,l=r?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,n,i,a),y[l]}f.updateView=f.updateLayout=f.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},o.enableClassExtend(d,["dispose"]),o.enableClassManagement(d,{registerWhenExtend:!0}),d.markUpdateMethod=function(t,e){c(t).updateMethod=e};var y={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)}}};t.exports=d},"6fms":function(t,e,n){var i=n("SUKs"),a=n("06Qe"),r=n("bYtY").each;function o(t){return parseInt(t,10)}function s(t,e){a.initVML(),this.root=t,this.storage=e;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",t.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var r=e.delFromStorage,o=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&t.onRemove&&t.onRemove(i)},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),o.call(e,t)},this._firstPaint=!0}s.prototype={constructor:s,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,n=0;n<t.length;n++){var i=t[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(e),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(e),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,e),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){if(t=null==t?this._getWidth():t,e=null==e?this._getHeight():e,this._width!=t||this._height!=e){this._width=t,this._height=e;var n=this._vmlViewport.style;n.width=t+"px",n.height=e+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,e=t.currentStyle;return(t.clientWidth||o(e.width))-o(e.paddingLeft)-o(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||o(e.height))-o(e.paddingTop)-o(e.paddingBottom)|0}},r(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;s.prototype[t]=(e=t,function(){i('In IE8.0 VML mode painter not support method "'+e+'"')})}),t.exports=s},"6r85":function(t,e,n){var i=n("bYtY");t.exports=function(t){t&&i.isArray(t.series)&&i.each(t.series,function(t){i.isObject(t)&&"k"===t.type&&(t.type="candlestick")})}},"6uqw":function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("ItGF"),o=n("YOMW"),s=n("XxSj"),l=n("K4ya"),u=n("4NO4"),c=n("OELB"),h=s.mapVisual,d=s.eachVisual,f=a.isArray,p=a.each,g=c.asc,m=c.linearMap,v=a.noop,y=i.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,n){this.targetVisuals={},this.controllerVisuals={},this.mergeDefaultAndTheme(t,n)},optionUpdated:function(t,e){var n=this.option;r.canvasSupported||(n.realtime=!1),!e&&l.replaceVisualOption(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=a.bind(t,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,e,t),this.targetVisuals=l.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,n){e.push(n)}):e=u.normalizeToArray(t),e},eachTargetSeries:function(t,e){a.each(this.getTargetSeriesIndices(),function(n){t.call(e,this.ecModel.getSeriesByIndex(n))},this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},formatValueText:function(t,e,n){var i,r,o=this.option,s=o.precision,l=this.dataBound,u=o.formatter;return n=n||["<",">"],a.isArray(t)&&(t=t.slice(),i=!0),r=e?t:i?[c(t[0]),c(t[1])]:c(t),a.isString(u)?u.replace("{value}",i?r[0]:r).replace("{value2}",i?r[1]:r):a.isFunction(u)?i?u(t[0],t[1]):u(t):i?t[0]===l[0]?n[0]+" "+r[1]:t[1]===l[1]?n[1]+" "+r[0]:r[0]+" - "+r[1]:r;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension;if(null!=e||t.dimensions.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var a=n[i];if(!t.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});a.merge(i,n),a.merge(r,n);var l=this.isCategory();function u(n){f(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,function(t){var e=n[t];if(a.isString(e)){var i=o.get(e,"active",l);i?(n[t]={},n[t][e]=i):delete n[t]}},this)}u.call(this,i),u.call(this,r),(function(t,e,n){var i=t[e],a=t[n];i&&!a&&(a=t[n]={},p(i,function(t,e){if(s.isValidType(e)){var n=o.get(e,"inactive",l);null!=n&&(a[e]=n,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}).call(this,i,"inRange","outOfRange"),(function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:l?i:[i]}),null==s.symbol&&(s.symbol=e&&a.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&a.clone(n)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,function(t){t>c&&(c=t)}),s.symbolSize=h(u,function(t){return m(t,[0,c],[0,o[0]],!0)})}},this)}).call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=y},"6usn":function(t,e,n){var i=n("bYtY");function a(t,e){return i.map(["Radius","Angle"],function(n,i){var a=this["get"+n+"Axis"](),r=e[i],o=t[i]/2,s="dataTo"+n,l="category"===a.type?a.getBandWidth():Math.abs(a[s](r-o)-a[s](r+o));return"Angle"===n&&(l=l*Math.PI/180),l},this)}t.exports=function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:i.bind(function(i){var a=e.dataToRadius(i[0]),r=n.dataToAngle(i[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o}),size:i.bind(a,t)}}}},"72pK":function(t,e){function n(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function i(t,e){return Math.min(e[1],Math.max(e[0],t))}t.exports=function(t,e,a,r,o,s){e[0]=i(e[0],a),e[1]=i(e[1],a),t=t||0,null!=o&&(o=i(o,[0,a[1]-a[0]])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===r&&(o=s=Math.abs(e[1]-e[0]),r=0);var l=n(e,r);e[r]+=t;var u=o||0,c=a.slice();l.sign<0?c[0]+=u:c[1]-=u,e[r]=i(e[r],c);var h=n(e,r);return null!=o&&(h.sign!==l.sign||h.span<o)&&(e[1-r]=e[r]+l.sign*o),h=n(e,r),null!=s&&h.span>s&&(e[1-r]=e[r]+h.sign*s),e}},"75ce":function(t,e,n){var i=n("ProS");n("IXuL"),n("8X+K");var a=n("f5Yq"),r=n("h8O9"),o=n("/d5a");n("Ae16"),i.registerVisual(a("line","circle","line")),i.registerLayout(r("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,o("line"))},"75ev":function(t,e,n){var i=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var a=n("f5Yq"),r=n("yik8");i.registerVisual(a("tree","circle")),i.registerLayout(r)},"7AJT":function(t,e,n){var i=n("bYtY"),a=n("hM6l"),r=function(t,e,n,i,r){a.call(this,t,e,n),this.type=i||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},i.inherits(r,a),t.exports=r},"7DRL":function(t,e,n){n("Tghj");var i=n("bYtY"),a=i.createHashMap,r=i.isString,o=i.isArray,s=i.each,l=n("MEGo").parseXML,u=a(),c={registerMap:function(t,e,n){var i;return o(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:n}]),s(i,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,h[e])(t)}),u.set(t,i)},retrieveMap:function(t){return u.get(t)}},h={geoJSON:function(t){var e=t.source;t.geoJSON=r(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports=c},"7G+c":function(t,e,n){var i=n("bYtY"),a=i.createHashMap,r=i.isTypedArray,o=n("Yl7c").enableClassCheck,s=n("k9D9"),l=s.SOURCE_FORMAT_ORIGINAL,u=s.SERIES_LAYOUT_BY_COLUMN,c=s.SOURCE_FORMAT_UNKNOWN,h=s.SOURCE_FORMAT_TYPED_ARRAY,d=s.SOURCE_FORMAT_KEYED_COLUMNS;function f(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===d?{}:[]),this.sourceFormat=t.sourceFormat||c,this.seriesLayoutBy=t.seriesLayoutBy||u,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&a(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}f.seriesDataToSource=function(t){return new f({data:t,sourceFormat:r(t)?h:l,fromDataset:!1})},o(f),t.exports=f},"7Phj":function(t,e,n){var i=n("bYtY"),a=n("OELB").parsePercent,r=i.each;t.exports=function(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",function(t){var a=t.getBaseAxis(),r=i.indexOf(n,a);r<0&&(n[r=n.length]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)}),e}(t);r(e,function(t){var e=t.seriesModels;e.length&&(function(t){var e,n,o=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===o.type)n=o.getBandWidth();else{var d=0;r(s,function(t){d=Math.max(d,t.getData().count())}),e=o.getExtent(),Math.abs(e[1]-e[0])}r(s,function(t){var e=t.get("boxWidth");i.isArray(e)||(e=[e,e]),h.push([a(e[0],n)||0,a(e[1],n)||0])});var f=.8*n-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;r(s,function(t,e){c.push(m),m+=p+g,u.push(Math.min(Math.max(g,h[e][0]),h[e][1]))})}(t),r(e,function(e,n){!function(t,e,n){var i=t.coordinateSystem,a=t.getData(),r=n/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=a.mapDimension(l[o]),c=a.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;h<a.count();h++){var d=a.get(u,h),f=x(d,c[2],h),p=x(d,c[0],h),g=x(d,c[1],h),m=x(d,c[3],h),v=x(d,c[4],h),y=[];_(y,g,0),_(y,m,1),y.push(p,g,v,m),b(y,p),b(y,v),b(y,f),a.setItemLayout(h,{initBaseline:f[s],ends:y})}function x(t,n,r){var l,u=a.get(n,r),c=[];return c[o]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c))[o]+=e,l}function _(t,e,n){var i=e.slice(),a=e.slice();i[o]+=r,a[o]-=r,n?t.push(i,a):t.push(a,i)}function b(t,e){var n=e.slice(),i=e.slice();n[o]-=r,i[o]+=r,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])}))})}},"7SHv":function(t,e,n){var i=n("LPTA").devicePixelRatio,a=n("bYtY"),r=n("SUKs"),o=n("mFDi"),s=n("BPZU"),l=n("Xmg4"),u=n("mLcG"),c=n("Dagg"),h=n("ItGF");function d(t){return parseInt(t,10)}var f=new o(0,0,0,0),p=new o(0,0,0,0),g=function(t,e,n){this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=a.extend({},n||{}),this.dpr=n.devicePixelRatio||i,this._singleCanvas=r,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,r){var c=t.width,h=t.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,t.width=c*this.dpr,t.height=h*this.dpr,this._width=c,this._height=h;var d=new l(t,this,this.dpr);d.__builtin__=!0,d.initContext(),u[314159]=d,d.zlevel=314159,s.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};g.prototype={constructor:g,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i<n.length;i++){var a=this._layers[n[i]];!a.__builtin__&&a.refresh&&a.refresh(0===i?this._backgroundColor:null)}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return n.__from=t,t.__hoverMir=n,e&&n.setStyle(e),this._hoverElements.push(n),n}},removeHover:function(t){var e=this._hoverElements,n=a.indexOf(e,t.__hoverMir);n>=0&&e.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n<e.length;n++){var i=e[n].__from;i&&(i.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){s(t,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(1e5));var i={};n.ctx.save();for(var a=0;a<e;){var r=t[a],o=r.__from;o&&o.__zr?(a++,o.invisible||(r.transform=o.transform,r.invTransform=o.invTransform,r.__clipPaths=o.__clipPaths,this._doPaintEl(r,n,!0,i))):(t.splice(a,1),o.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(t,e,n){if(this._redrawId===n){e=e||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var a=this;u(function(){a._paintList(t,e,n)})}}},_compositeManually:function(){var t=this.getLayer(314159).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)})},_doPaintList:function(t,e){for(var n=[],i=0;i<this._zlevelList.length;i++)(s=this._layers[this._zlevelList[i]]).__builtin__&&s!==this._hoverlayer&&(s.__dirty||e)&&n.push(s);for(var r=!0,o=0;o<n.length;o++){var s,l=(s=n[o]).ctx,u={};l.save();var c=e?s.__startIndex:s.__drawIndex,d=!e&&s.incremental&&Date.now,f=d&&Date.now(),p=s.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,p);else if(c===s.__startIndex){var g=t[c];g.incremental&&g.notClear&&!e||s.clear(!1,p)}-1===c&&(console.error("For some unknown reason. drawIndex is -1"),c=s.__startIndex);for(var m=c;m<s.__endIndex;m++){var v=t[m];if(this._doPaintEl(v,s,e,u),v.__dirty=v.__dirtyText=!1,d&&Date.now()-f>15)break}s.__drawIndex=m,s.__drawIndex<s.__endIndex&&(r=!1),u.prevElClipPaths&&l.restore(),l.restore()}return h.wxa&&a.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),r},_doPaintEl:function(t,e,n,i){var a=e.ctx,r=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!r||r[0]||r[3])&&(!t.culling||!function(t,e,n){return f.copy(t.getBoundingRect()),t.transform&&f.applyTransform(t.transform),p.width=e,p.height=n,!f.intersect(p)}(t,this._width,this._height))){var o=t.__clipPaths;i.prevElClipPaths&&!function(t,e){if(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}(o,i.prevElClipPaths)||(i.prevElClipPaths&&(e.ctx.restore(),i.prevElClipPaths=null,i.prevEl=null),o&&(a.save(),function(t,e){for(var n=0;n<t.length;n++){var i=t[n];i.setTransform(e),e.beginPath(),i.buildPath(e,i.shape),e.clip(),i.restoreTransform(e)}}(o,a),i.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(a),t.brush(a,i.prevEl||null),i.prevEl=t,t.afterBrush&&t.afterBrush(a)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new l("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]&&a.merge(n,this._layerConfig[t],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},insertLayer:function(t,e){var n=this._layers,i=this._zlevelList,a=i.length,o=null,s=-1,l=this._domRoot;if(n[t])r("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(a>0&&t>i[0]){for(s=0;s<a-1&&!(i[s]<t&&i[s+1]>t);s++);o=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else r("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,a=this._zlevelList;for(i=0;i<a.length;i++)t.call(e,this._layers[n=a[i]],n)},eachBuiltinLayer:function(t,e){var n,i,a,r=this._zlevelList;for(a=0;a<r.length;a++)(n=this._layers[i=r[a]]).__builtin__&&t.call(e,n,i)},eachOtherLayer:function(t,e){var n,i,a,r=this._zlevelList;for(a=0;a<r.length;a++)(n=this._layers[i=r[a]]).__builtin__||t.call(e,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){i&&(i.__endIndex!==t&&(i.__dirty=!0),i.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n=1;n<t.length;n++)if((o=t[n]).zlevel!==t[n-1].zlevel||o.incremental){this._needsManuallyCompositing=!0;break}var i=null,a=0;for(n=0;n<t.length;n++){var o,s,l=(o=t[n]).zlevel;o.incremental?((s=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):s=this.getLayer(l+(a>0?.01:0),this._needsManuallyCompositing),s.__builtin__||r("ZLevel "+l+" has been used by unkown layer "+s.id),s!==i&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.__drawIndex=s.incremental?-1:n,e(n),i=s),o.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),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)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?a.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];r!==t&&r!==t+.01||a.merge(this._layers[r],n[t],!0)}}},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(a.indexOf(n,t),1))},resize:function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!=t||e!=this._height){for(var r in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);a.each(this._progressiveLayers,function(n){n.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(314159).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new l("image",this,(t=t||{}).pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height,a=e.ctx;this.eachLayer(function(t){t.__builtin__?a.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var r={},o=this.storage.getDisplayList(!0),s=0;s<o.length;s++)this._doPaintEl(o[s],e,!0,r);return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[i]||d(s[n])||d(o.style[n]))-(d(s[a])||0)-(d(s[r])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),a=t.getBoundingRect(),r=t.style,o=r.shadowBlur*e,s=r.shadowOffsetX*e,l=r.shadowOffsetY*e,u=r.hasStroke()?r.lineWidth:0,h=Math.max(u/2,-s+o),d=Math.max(u/2,s+o),f=Math.max(u/2,-l+o),p=Math.max(u/2,l+o),g=a.width+h+d,m=a.height+f+p;n.width=g*e,n.height=m*e,i.scale(e,e),i.clearRect(0,0,g,m),i.dpr=e;var v={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[h-a.x,f-a.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(i);var y=new c({style:{x:0,y:0,image:n}});return null!=v.position&&(y.position=t.position=v.position),null!=v.rotation&&(y.rotation=t.rotation=v.rotation),null!=v.scale&&(y.scale=t.scale=v.scale),y}},t.exports=g},"7a+S":function(t,e,n){var i=n("bYtY"),a=n("bLfw"),r=n("YXkt"),o=n("4NO4"),s=a.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,a=this._names=[];if("category"===n){var s=[];i.each(e,function(t,e){var n,r=o.getDataItemValue(t);i.isObject(t)?(n=i.clone(t)).value=e:n=e,s.push(n),i.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")}),e=s}(this._data=new r([{name:"value",type:{category:"ordinal",time:"time"}[n]||"number"}],this)).initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},"7aKB":function(t,e,n){var i=n("bYtY"),a=n("6GrX"),r=n("OELB"),o=i.normalizeCssArray,s=/([&<>"'])/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function u(t){return null==t?"":(t+"").replace(s,function(t,e){return l[e]})}var c=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e){return"0000".substr(0,e-(t+="").length)+t}var f=a.truncateText,p=a.getBoundingRect;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(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},e.normalizeCssArray=o,e.encodeHTML=u,e.formatTpl=function(t,e,n){i.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var s=c[o];t=t.replace(h(s),h(s,0))}for(var l=0;l<a;l++)for(var d=0;d<r.length;d++){var f=e[l][r[d]];t=t.replace(h(c[d],l),n?u(f):f)}return t},e.formatTplSimple=function(t,e,n){return i.each(e,function(e,i){t=t.replace("{"+i+"}",n?u(e):e)}),t},e.getTooltipMarker=function(t,e){var n=(t=i.isString(t)?{color:t,extraCssText:e}:t||{}).color,a=(e=t.extraCssText,t.renderMode||"html"),r=t.markerId||"X";return n?"html"===a?"subItem"===t.type?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+u(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+u(n)+";"+(e||"")+'"></span>':{renderMode:a,content:"{marker"+r+"|}  ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=r.parseDate(e),a=n?"UTC":"",o=i["get"+a+"FullYear"](),s=i["get"+a+"Month"]()+1,l=i["get"+a+"Date"](),u=i["get"+a+"Hours"](),c=i["get"+a+"Minutes"](),h=i["get"+a+"Seconds"](),f=i["get"+a+"Milliseconds"]();return t.replace("MM",d(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",d(l,2)).replace("d",l).replace("hh",d(u,2)).replace("h",u).replace("mm",d(c,2)).replace("m",c).replace("ss",d(h,2)).replace("s",h).replace("SSS",d(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=f,e.getTextRect=p},"7bkD":function(t,e,n){var i=n("bYtY");e.layout=function(t,e){e=e||{};var n=t.axis,a={},r=n.position,o=n.orient,s=t.coordinateSystem.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};a.position=["vertical"===o?u.vertical[r]:l[0],"horizontal"===o?u.horizontal[r]:l[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var c=e.rotate;return null==c&&(c=t.get("axisLabel.rotate")),a.labelRotation="top"===r?-c:c,a.z2=1,a}},"7hqr":function(t,e,n){var i=n("bYtY"),a=i.each,r=i.isString;function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var i,o,s,l,u=(n=n||{}).byIndex,c=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(a(e,function(t,n){r(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(u||i||!t.ordinalMeta||(i=t),o||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(o=t))}),!o||u||i||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;a(e,function(t){t.coordDim===d&&p++}),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),e.push({name:l,coordDim:l,coordDimIndex:++p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:i&&i.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=o,e.getStackedDimension=function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e}},"7mYs":function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("IwbS"),o=n("7aKB"),s=n("OELB"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},u={EN:["S","M","T","W","T","F","S"],CN:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var a=t.coordinateSystem,r=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(t,r,i),this._renderLines(t,r,o,i),this._renderYearText(t,r,o,i),this._renderMonthText(t,o,i),this._renderWeekText(t,r,o,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,a=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new r.Rect({shape:{x:u[0],y:u[1],width:o,height:s},cursor:"default",style:a});n.add(c)}},_renderLines:function(t,e,n,i){var a=this,r=t.coordinateSystem,o=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=r.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=r.getDateInfo(h)}function d(e){a._firstDayOfMonth.push(r.getDateInfo(e)),a._firstDayPoints.push(r.dataToRect([e],!1).tl);var l=a._getLinePointsOfOneWeek(t,e,n);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,o,i)}d(r.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,n),o,i),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,n),o,i)},_getEdgesPoints:function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],a="horizontal"===n?0:1;return i[0][a]=i[0][a]-e/2,i[1][a]=i[1][a]+e/2,i},_drawSplitline:function(t,e,n){var i=new r.Polyline({z2:20,shape:{points:t},style:e});n.add(i)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var a=[],r=0;r<7;r++){var o=i.getNextNDay(e.time,r),s=i.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===n?"bl":"tr"]}return a},_formatterLabel:function(t,e){return"string"==typeof t&&t?o.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,a){e=e.slice();var r=["center","bottom"];"bottom"===i?(e[1]+=a,r=["center","top"]):"left"===i?e[0]-=a:"right"===i?(e[0]+=a,r=["center","top"]):e[1]-=a;var o=0;return"left"!==i&&"right"!==i||(o=Math.PI/2),{rotation:o,position:e,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(t,e,n,i){var a=t.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),s=a.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,d={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},f=e.start.y;+e.end.y>+e.start.y&&(f=f+"-"+e.end.y);var p=a.get("formatter"),g=this._formatterLabel(p,{start:e.start.y,end:e.end.y,nameMap:f}),m=new r.Text({z2:30});r.setTextStyle(m.style,a,{text:g}),m.attr(this._yearTextPositionControl(m,d[s],n,s,o)),i.add(m)}},_monthTextPositionControl:function(t,e,n,i,a){var r="left",o="top",s=t[0],l=t[1];return"horizontal"===n?(l+=a,e&&(r="center"),"start"===i&&(o="bottom")):(s+=a,e&&(o="middle"),"start"===i&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),h=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g<h[d].length-1;g++){var m=h[d][g].slice(),v=this._firstDayOfMonth[g];p&&(m[f]=(this._firstDayPoints[g][f]+h[0][g+1][f])/2);var y=i.get("formatter"),x=o[+v.m-1],_={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:x},b=this._formatterLabel(y,_),w=new r.Text({z2:30});a.extend(r.setTextStyle(w.style,i,{text:b}),this._monthTextPositionControl(m,p,e,u,s)),n.add(w)}}},_weekTextPositionControl:function(t,e,n,i,a){var r="center",o="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*a[0]/2,r=u?"right":"left"):(l=l+i+(u?1:-1)*a[1]/2,o=u?"bottom":"top"),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderWeekText:function(t,e,n,i){var o=t.getModel("dayLabel");if(o.get("show")){var l=t.coordinateSystem,c=o.get("position"),h=o.get("nameMap"),d=o.get("margin"),f=l.getFirstDayOfWeek();a.isString(h)&&(h=u[h.toUpperCase()]||[]);var p=l.getNextNDay(e.end.time,7-e.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];d=s.parsePercent(d,g["horizontal"===n?0:1]),"start"===c&&(p=l.getNextNDay(e.start.time,-(7+e.fweek)).time,d=-d);for(var m=0;m<7;m++){var v,y=l.getNextNDay(p,m),x=l.dataToRect([y.time],!1).center;v=Math.abs((m+f)%7);var _=new r.Text({z2:30});a.extend(r.setTextStyle(_.style,o,{text:h[v]}),this._weekTextPositionControl(x,n,c,d,g)),i.add(_)}}}});t.exports=c},"7oTu":function(t,e,n){var i=n("IMiH"),a=n("QBsz").applyTransform,r=i.CMD,o=[[],[],[]],s=Math.sqrt,l=Math.atan2;t.exports=function(t,e){var n,i,u,c,h,d=t.data,f=r.M,p=r.C,g=r.L,m=r.R,v=r.A,y=r.Q;for(u=0,c=0;u<d.length;){switch(n=d[u++],c=u,i=0,n){case f:case g:i=1;break;case p:i=3;break;case y:i=2;break;case v:var x=e[4],_=e[5],b=s(e[0]*e[0]+e[1]*e[1]),w=s(e[2]*e[2]+e[3]*e[3]),S=l(-e[1]/w,e[0]/b);d[u]*=b,d[u++]+=x,d[u]*=w,d[u++]+=_,d[u++]*=b,d[u++]*=w,d[u++]+=S,d[u++]+=S,c=u+=2;break;case m:M[0]=d[u++],M[1]=d[u++],a(M,M,e),d[c++]=M[0],d[c++]=M[1],M[0]+=d[u++],M[1]+=d[u++],a(M,M,e),d[c++]=M[0],d[c++]=M[1]}for(h=0;h<i;h++){var M;(M=o[h])[0]=d[u++],M[1]=d[u++],a(M,M,e),d[c++]=M[0],d[c++]=M[1]}}}},"7pVf":function(t,e,n){var i=n("ProS"),a=n("ZqQs");n("oE7X"),n("OUJF"),n("3X6L"),n("NH9N"),i.registerPreprocessor(a)},"7ph2":function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}var i="lineStyle.opacity".split(".");t.exports={seriesType:"lines",reset:function(t,e,a){var r=n(t.get("symbol")),o=n(t.get("symbolSize")),s=t.getData();return s.setVisual("fromSymbol",r&&r[0]),s.setVisual("toSymbol",r&&r[1]),s.setVisual("fromSymbolSize",o&&o[0]),s.setVisual("toSymbolSize",o&&o[1]),s.setVisual("opacity",t.get(i)),{dataEach:s.hasItemOption?function(t,e){var a=t.getItemModel(e),r=n(a.getShallow("symbol",!0)),o=n(a.getShallow("symbolSize",!0)),s=a.get(i);r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),o[0]&&t.setItemVisual(e,"fromSymbolSize",o[0]),o[1]&&t.setItemVisual(e,"toSymbolSize",o[1]),t.setItemVisual(e,"opacity",s)}:null}}}},"7uqq":function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("AUH6"),o=n("+TT/"),s=n("OELB"),l=n("W4dC"),u=n("7DRL");function c(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],a=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(i[0],i[1],a[0]-i[0],a[1]-i[1])}var r,l=this.getBoundingRect(),u=t.get("layoutCenter"),c=t.get("layoutSize"),h=e.getWidth(),d=e.getHeight(),f=l.width/l.height*this.aspectScale,p=!1;if(u&&c&&(u=[s.parsePercent(u[0],h),s.parsePercent(u[1],d)],c=s.parsePercent(c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(p=!0)),p){var g={};f>1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else(r=t.getBoxLayoutParams()).aspect=f,g=o.getLayoutRect(r,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function h(t,e){a.each(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}var d={dimensions:r.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",function(t,i){var a=t.get("map"),o=t.get("aspectScale"),s=!0,l=u.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var d=new r(a+i,a,t.get("nameMap"),s);d.aspectScale=o,d.zoomLimit=t.get("scaleLimit"),n.push(d),h(d,t),t.coordinateSystem=d,d.model=t,d.resize=c,d.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var i={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}}),a.each(i,function(t,i){var o=a.map(t,function(t){return t.get("nameMap")}),s=new r(i,i,a.mergeAll(o));s.zoomLimit=a.retrieve.apply(null,a.map(t,function(t){return t.get("scaleLimit")})),n.push(s),s.resize=c,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),a.each(t,function(t){t.coordinateSystem=s,h(s,t)})}),n},getFilledRegions:function(t,e,n){for(var i=(t||[]).slice(),r=a.createHashMap(),o=0;o<i.length;o++)r.set(i[o].name,i[o]);var s=l.load(e,n);return a.each(s.regions,function(t){var e=t.name;!r.get(e)&&i.push({name:e})}),i}};i.registerCoordinateSystem("geo",d),t.exports=d},"7yuC":function(t,e,n){var i=n("QBsz"),a=i.scaleAndAdd;e.forceLayout=function(t,e,n){for(var r=n.rect,o=r.width,s=r.height,l=[r.x+o/2,r.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<t.length;c++){var h=t[c];h.p||(h.p=i.create(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=i.clone(h.p),h.edges=null}var d=.6;return{warmUp:function(){d=.5},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(n){for(var r=[],o=t.length,s=0;s<e.length;s++){var c=e[s];i.sub(r,(m=c.n2).p,(p=c.n1).p);var h=i.len(r)-c.d,f=m.w/(p.w+m.w);isNaN(f)&&(f=0),i.normalize(r,r),!p.fixed&&a(p.p,p.p,r,f*h*d),!m.fixed&&a(m.p,m.p,r,-(1-f)*h*d)}for(s=0;s<o;s++)(x=t[s]).fixed||(i.sub(r,l,x.p),a(x.p,x.p,r,u*d));for(s=0;s<o;s++)for(var p=t[s],g=s+1;g<o;g++){var m;i.sub(r,(m=t[g]).p,p.p),0===(h=i.len(r))&&(i.set(r,Math.random()-.5,Math.random()-.5),h=1);var v=(p.rep+m.rep)/h/h;!p.fixed&&a(p.pp,p.pp,r,v),!m.fixed&&a(m.pp,m.pp,r,-v)}var y=[];for(s=0;s<o;s++){var x;(x=t[s]).fixed||(i.sub(y,x.p,x.pp),a(x.p,x.p,y,d),i.copy(x.pp,x.p))}d*=.992,n&&n(t,e,d<.01)}}}},"8SMY":function(t,e,n){var i=n("n4Lv"),a=i.prepareDataCoordInfo,r=i.getStackedOnPoint;t.exports=function(t,e,n,i,o,s,l,u){for(var c=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),h=[],d=[],f=[],p=[],g=[],m=[],v=[],y=a(o,e,l),x=a(s,t,u),_=0;_<c.length;_++){var b=c[_],w=!0;switch(b.cmd){case"=":var S=t.getItemLayout(b.idx),M=e.getItemLayout(b.idx1);(isNaN(S[0])||isNaN(S[1]))&&(S=M.slice()),h.push(S),d.push(M),f.push(n[b.idx]),p.push(i[b.idx1]),v.push(e.getRawIndex(b.idx1));break;case"+":h.push(o.dataToPoint([e.get(y.dataDimsForPoint[0],P=b.idx),e.get(y.dataDimsForPoint[1],P)])),d.push(e.getItemLayout(P).slice()),f.push(r(y,o,e,P)),p.push(i[P]),v.push(e.getRawIndex(P));break;case"-":var I=t.getRawIndex(P=b.idx);I!==P?(h.push(t.getItemLayout(P)),d.push(s.dataToPoint([t.get(x.dataDimsForPoint[0],P),t.get(x.dataDimsForPoint[1],P)])),f.push(n[P]),p.push(r(x,s,t,P)),v.push(I)):w=!1}w&&(g.push(b),m.push(m.length))}m.sort(function(t,e){return v[t]-v[e]});var T=[],A=[],D=[],C=[],L=[];for(_=0;_<m.length;_++){var P;T[_]=h[P=m[_]],A[_]=d[P],D[_]=f[P],C[_]=p[P],L[_]=g[P]}return{current:T,next:A,stackedOnCurrent:D,stackedOnNext:C,status:L}}},"8Th4":function(t,e,n){var i=n("IwbS"),a=n("3LNs"),r=n("/y7N"),o=n("7bkD"),s=n("Znkb"),l=["x","y"],u=["width","height"],c=a.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.coordinateSystem,u=f(l,1-d(s)),c=l.dataToPoint(e)[0],p=i.get("type");if(p&&"none"!==p){var g=r.buildElStyle(i),m=h[p](s,c,u,g);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=o.layout(n);r.buildCartesianSingleLabelElOption(e,t,v,n,i,a)},getHandleTransform:function(t,e,n){var i=o.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,r=a.coordinateSystem,o=d(a),s=f(r,o),l=t.position;l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var u=f(r,1-o),c=(u[1]+u[0])/2,h=[c,c];return h[o]=l[o],{position:l,rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}}}),h={line:function(t,e,n,a){var o=r.makeLineShape([e,n[0]],[e,n[1]],d(t));return i.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(t,e,n,i){var a=t.getBandWidth();return{type:"Rect",shape:r.makeRectShape([e-a/2,n[0]],[a,n[1]-n[0]],d(t))}}};function d(t){return t.isHorizontal()?0:1}function f(t,e){var n=t.getRect();return[n[l[e]],n[l[e]]+n[u[e]]]}s.registerAxisPointerClass("SingleAxisPointer",c),t.exports=c},"8Uz6":function(t,e,n){var i=n("hNWo"),a=n("+TT/"),r=a.mergeLayoutParam,o=a.getLayoutParams,s=i.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},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},init:function(t,e,n,i){var a=o(t);s.superCall(this,"init",t,e,n,i),l(this,t,a)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}}});function l(t,e,n){var i=[1,1];i[t.getOrient().index]=0,r(e,n,{type:"box",ignoreSize:i})}t.exports=s},"8X+K":function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("9wZj"),r=n("FBjb"),o=n("8SMY"),s=n("IwbS"),l=n("4NO4"),u=n("1NG9"),c=u.Polyline,h=u.Polygon,d=n("6Ic6"),f=n("OELB").round,p=n("n4Lv"),g=p.prepareDataCoordInfo,m=p.getStackedOnPoint;function v(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++){var i=t[n],a=e[n];if(i[0]!==a[0]||i[1]!==a[1])return}return!0}}function y(t){return"number"==typeof t?t:t?.5:0}function x(t){var e=t.getGlobalExtent();if(t.onBand){var n=t.getBandWidth()/2-1,i=e[1]>e[0]?1:-1;e[0]+=i*n,e[1]-=i*n}return e}function _(t,e,n,i){return"polar"===t.type?function(t,e,n,i){var a=t.getAngleAxis(),r=t.getRadiusAxis().getExtent().slice();r[0]>r[1]&&r.reverse();var o=a.getExtent(),l=Math.PI/180;n&&(r[0]-=.5,r[1]+=.5);var u=new s.Sector({shape:{cx:f(t.cx,1),cy:f(t.cy,1),r0:f(r[0],1),r:f(r[1],1),startAngle:-o[0]*l,endAngle:-o[1]*l,clockwise:a.inverse}});return e&&(u.shape.endAngle=-o[0]*l,s.initProps(u,{shape:{endAngle:-o[1]*l}},i)),u}(t,e,n,i):function(t,e,n,i){var a=x(t.getAxis("x")),r=x(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),l=Math.min(a[0],a[1]),u=Math.min(r[0],r[1]),c=Math.max(a[0],a[1])-l,h=Math.max(r[0],r[1])-u;if(n)l-=.5,c+=.5,u-=.5,h+=.5;else{var d=i.get("lineStyle.width")||2,f=i.get("clipOverflow")?d/2:Math.max(c,h);o?(u-=f,h+=2*f):(l-=f,c+=2*f)}var p=new s.Rect({shape:{x:l,y:u,width:c,height:h}});return e&&(p.shape[o?"width":"height"]=0,s.initProps(p,{shape:{width:c,height:h}},i)),p}(t,e,n,i)}function b(t,e,n){for(var i=e.getBaseAxis(),a="x"===i.dim||"radius"===i.dim?0:1,r=[],o=0;o<t.length-1;o++){var s=t[o+1],l=t[o];r.push(l);var u=[];switch(n){case"end":u[a]=s[a],u[1-a]=l[1-a],r.push(u);break;case"middle":var c=[];u[a]=c[a]=(l[a]+s[a])/2,u[1-a]=l[1-a],c[1-a]=s[1-a],r.push(u),r.push(c);break;default:u[a]=l[a],u[1-a]=s[1-a],r.push(u)}}return t[o]&&r.push(t[o]),r}var w=d.extend({type:"line",init:function(){var t=new s.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var a=t.coordinateSystem,o=this.group,l=t.getData(),u=t.getModel("lineStyle"),c=t.getModel("areaStyle"),h=l.mapArray(l.getItemLayout),d="polar"===a.type,f=this._coordSys,p=this._symbolDraw,x=this._polyline,w=this._polygon,S=this._lineGroup,M=t.get("animation"),I=!c.isEmpty(),T=c.get("origin"),A=function(t,e,n){if(!n.valueDim)return[];for(var i=[],a=0,r=e.count();a<r;a++)i.push(m(n,t,e,a));return i}(a,l,g(a,l,T)),D=t.get("showSymbol"),C=D&&!d&&function(t,e,n){var a=t.get("showAllSymbol"),o="auto"===a;if(!a||o){var s=n.getAxesByScale("ordinal")[0];if(s&&(!o||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var a=e.count(),o=Math.max(1,Math.round(a/5)),s=0;s<a;s+=o)if(1.5*r.getSymbolSize(e,s)[t.isHorizontal()?1:0]>i)return!1;return!0}(s,e))){var l=e.mapDimension(s.dim),u={};return i.each(s.getViewLabels(),function(t){u[t.tickValue]=1}),function(t){return!u.hasOwnProperty(e.get(l,t))}}}}(t,l,a),L=this._data;L&&L.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),L.setItemGraphicEl(e,null))}),D||p.remove(),o.add(S);var P=!d&&t.get("step");x&&f.type===a.type&&P===this._step?(I&&!w?w=this._newPolygon(h,A,a,M):w&&!I&&(S.remove(w),w=this._polygon=null),S.setClipPath(_(a,!1,!1,t)),D&&p.updateData(l,{isIgnore:C,clipShape:_(a,!1,!0,t)}),l.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),v(this._stackedOnPoints,A)&&v(this._points,h)||(M?this._updateAnimation(l,A,a,n,P,T):(P&&(h=b(h,a,P),A=b(A,a,P)),x.setShape({points:h}),w&&w.setShape({points:h,stackedOnPoints:A})))):(D&&p.updateData(l,{isIgnore:C,clipShape:_(a,!1,!0,t)}),P&&(h=b(h,a,P),A=b(A,a,P)),x=this._newPolyline(h,a,M),I&&(w=this._newPolygon(h,A,a,M)),S.setClipPath(_(a,!0,!1,t)));var k=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var a,r,o=n.length-1;o>=0;o--){var l=t.getDimensionInfo(t.dimensions[n[o].dimension]);if("x"===(a=l&&l.coordDim)||"y"===a){r=n[o];break}}if(r){var u=e.getAxis(a),c=i.map(r.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),h=c.length,d=r.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),d.reverse());var f=c[0].coord-10,p=c[h-1].coord+10,g=p-f;if(g<.001)return"transparent";i.each(c,function(t){t.offset=(t.coord-f)/g}),c.push({offset:h?c[h-1].offset:.5,color:d[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:d[0]||"transparent"});var m=new s.LinearGradient(0,0,0,0,c,!0);return m[a]=f,m[a+"2"]=p,m}}}(l,a)||l.getVisual("color");x.useStyle(i.defaults(u.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"}));var O=t.get("smooth");if(O=y(t.get("smooth")),x.setShape({smooth:O,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),w){var E=l.getCalculationInfo("stackedOnSeries"),N=0;w.useStyle(i.defaults(c.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel"})),E&&(N=y(E.get("smooth"))),w.setShape({smooth:O,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=l,this._coordSys=a,this._stackedOnPoints=A,this._points=h,this._step=P,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,n,i){var a=t.getData(),o=l.queryDataIndex(a,i);if(!(o instanceof Array)&&null!=o&&o>=0){var s=a.getItemGraphicEl(o);if(!s){var u=a.getItemLayout(o);if(!u)return;(s=new r(a,o)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,a.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var a=t.getData(),r=l.queryDataIndex(a,i);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else d.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new c({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new h({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,a,r){var l=this._polyline,u=this._polygon,c=t.hostModel,h=o(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,r),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;a&&(d=b(h.current,n,a),f=b(h.stackedOnCurrent,n,a),p=b(h.next,n,a),g=b(h.stackedOnNext,n,a)),l.shape.__points=h.current,l.shape.points=d,s.updateProps(l,{shape:{points:p}},c),u&&(u.setShape({points:d,stackedOnPoints:f}),s.updateProps(u,{shape:{points:p,stackedOnPoints:g}},c));for(var m=[],v=h.status,y=0;y<v.length;y++)if("="===v[y].cmd){var x=t.getItemGraphicEl(v[y].idx1);x&&m.push({el:x,ptIdx:y})}l.animators&&l.animators.length&&l.animators[0].during(function(){for(var t=0;t<m.length;t++)m[t].el.attr("position",l.shape.__points[m[t].ptIdx])})},remove:function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=w},"8XDt":function(t,e,n){n("qH13"),(0,n("aX58").registerPainter)("vml",n("6fms"))},"8hn6":function(t,e){var n=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],i={color:n,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:"#eee"},crossStyle:{color:"#eee"}}},legend:{textStyle:{color:"#eee"}},textStyle:{color:"#eee"},title:{textStyle:{color:"#eee"}},toolbox:{iconStyle:{normal:{borderColor:"#eee"}}},dataZoom:{textStyle:{color:"#eee"}},visualMap:{textStyle:{color:"#eee"}},timeline:{lineStyle:{color:"#eee"},itemStyle:{normal:{color:n[1]}},label:{normal:{textStyle:{color:"#eee"}}},controlStyle:{normal:{color:"#eee",borderColor:"#eee"}}},timeAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},logAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},valueAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},categoryAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},line:{symbol:"circle"},graph:{color:n},gauge:{title:{textStyle:{color:"#eee"}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};i.categoryAxis.splitLine.show=!1,t.exports=i},"8nMs":function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("+rIm"),o=n("Znkb"),s=n("AVZG"),l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],c=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,o){this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),f=s.layout(d,t),p=new r(t,f);i.each(l,p.add,p),this._axisGroup.add(p.getGroup()),i.each(u,function(e){t.get(e+".show")&&this["_"+e](t,d)},this),a.groupTransition(h,this._axisGroup,t),c.superCall(this,"render",t,e,n,o)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var r=t.getModel("splitLine"),o=r.getModel("lineStyle"),s=o.get("color");s=i.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,h=n.getTicksCoords({tickModel:r}),d=[],f=[],p=o.getLineStyle(),g=0;g<h.length;g++){var m=n.toGlobalCoord(h[g].coord);u?(d[0]=m,d[1]=l.y,f[0]=m,f[1]=l.y+l.height):(d[0]=l.x,d[1]=m,f[0]=l.x+l.width,f[1]=m);var v=c++%s.length;this._axisGroup.add(new a.Line(a.subPixelOptimizeLine({anid:null!=h[g].tickValue?"line_"+h[g].tickValue:null,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:i.defaults({stroke:s[v]},p),silent:!0})))}}},_splitArea:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var r=t.getModel("splitArea"),o=r.getModel("areaStyle"),s=o.get("color"),l=e.coordinateSystem.getRect(),u=n.getTicksCoords({tickModel:r,clamp:!0});if(u.length){var c=s.length,h=this._splitAreaColors,d=i.createHashMap(),f=0;if(h)for(var p=0;p<u.length;p++){var g=h.get(u[p].tickValue);if(null!=g){f=(g+(c-1)*p)%c;break}}var m=n.toGlobalCoord(u[0].coord),v=o.getAreaStyle();for(s=i.isArray(s)?s:[s],p=1;p<u.length;p++){var y,x,_,b,w=n.toGlobalCoord(u[p].coord);n.isHorizontal()?(x=l.y,b=l.height,m=(y=m)+(_=w-y)):(y=l.x,_=l.width,m=(x=m)+(b=w-x));var S=u[p-1].tickValue;null!=S&&d.set(S,f),this._axisGroup.add(new a.Rect({anid:null!=S?"area_"+S:null,shape:{x:y,y:x,width:_,height:b},style:i.defaults({fill:s[f]},v),silent:!0})),f=(f+1)%c}this._splitAreaColors=d}}}});c.extend({type:"xAxis"}),c.extend({type:"yAxis"})},"8nly":function(t,e,n){var i=n("mFDi"),a=n("4mN7"),r=n("QBsz"),o=n("BlVb");function s(t,e,n){if(this.name=t,this.geometries=e,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,c=0;c<u.length;c++)"polygon"===u[c].type&&(a.fromPoints(u[c].exterior,s,l),r.min(n,n,s),r.max(o,o,l));return 0===c&&(n[0]=n[1]=o[0]=o[1]=0),this._rect=new i(n[0],n[1],o[0]-n[0],o[1]-n[1])},contain:function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,a=n.length;i<a;i++)if("polygon"===n[i].type){var r=n[i].interiors;if(o.contain(n[i].exterior,t[0],t[1])){for(var s=0;s<(r?r.length:0);s++)if(o.contain(r[s]))continue t;return!0}}return!1},transformTo:function(t,e,n,a){var o=this.getBoundingRect(),s=o.width/o.height;n?a||(a=n/s):n=s*a;for(var l=new i(t,e,n,a),u=o.calculateTransform(l),c=this.geometries,h=0;h<c.length;h++)if("polygon"===c[h].type){for(var d=c[h].exterior,f=c[h].interiors,p=0;p<d.length;p++)r.applyTransform(d[p],d[p],u);for(var g=0;g<(f?f.length:0);g++)for(p=0;p<f[g].length;p++)r.applyTransform(f[g][p],f[g][p],u)}(o=this._rect).copy(l),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new s(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}},t.exports=s},"8waO":function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("iLNv"),o=n("ZWlE");n("hJvP"),n("IXyC"),n("xRUu"),i.extendComponentView({type:"parallel",render:function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},a.each(s,function(t,e){n.getZr().on(e,this._handlers[e]=a.bind(t,this))},this)),r.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){a.each(this._handlers,function(t,n){e.getZr().off(n,t)}),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(a.extend({type:"parallelAxisExpand"},t))}});var s={mousedown:function(t){l(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(l(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}i.registerPreprocessor(o)},"8x+h":function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("K4ya"),o=n("Qxkt"),s=["#ddd"],l=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;!e&&r.replaceVisualOption(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(t){t&&(this.areas=a.map(t,function(t){return u(this.option,t)},this))},setBrushOption:function(t){this.brushOption=u(this.option,t),this.brushType=this.brushOption.brushType}});function u(t,e){return a.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new o(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}t.exports=l},"98bh":function(t,e,n){var i=n("ProS"),a=n("5GtS"),r=n("bYtY"),o=n("4NO4"),s=n("OELB").getPercentWithPrecision,l=n("cCMj"),u=n("KxfA").retrieveRawAttr,c=i.extendSeriesModel({type:"series.pie",init:function(t){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){c.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return a(this,["value"])},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,a=t.count();i<a;i++)n.push({name:t.getName(i),value:t.get(e,i),selected:u(t,i,"selected")});return n},getDataParams:function(t){var e=this.getData(),n=c.superCall(this,"getDataParams",t),i=[];return e.each(e.mapDimension("value"),function(t){i.push(t)}),n.percent=s(i,t,e.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(t){o.defaultEmphasis(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationEasing:"cubicOut"}});r.mixin(c,l),t.exports=c},"9H2F":function(t,e,n){var i=n("bYtY").isArray;function a(t){this._reset=(t=t||{}).reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}n("Tghj");var r=a.prototype;r.perform=function(t){var e,n=this._upstream,a=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context));var o,l=d(this._modBy),u=this._modDataCount||0,c=d(t&&t.modBy),h=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}l===c&&u===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=function(t,e){var n,a;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(a=n.forceFirstProgress,n=n.progress),i(n)&&!n.length&&(n=null)),t._progress=n,t._modBy=t._modDataCount=null;var r=t._downstream;return r&&r.dirty(),a}(this,a)),this._modBy=c,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,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!a&&(o||p<g)){var m=this._progress;if(i(m))for(var v=0;v<m.length;v++)s(this,m[v],p,g,c,h);else s(this,m,p,g,c,h)}this._dueIndex=g,this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:g}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var o=function(){var t,e,n,i,a,r={reset:function(l,u,c,h){e=l,t=u,n=c,i=h,a=Math.ceil(i/n),r.next=n>1&&i>0?s:o}};return r;function o(){return e<t?e++:null}function s(){var r=e%a*n+Math.ceil(e/a),o=e>=t?null:r<i?r:e;return e++,o}}();function s(t,e,n,i,a,r){o.reset(n,i,a,r),t._callingProgress=e,t._callingProgress({start:n,end:i,count:i-n,next:o.next},t.context)}r.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},r.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},r.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},r.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},r.getUpstream=function(){return this._upstream},r.getDownstream=function(){return this._downstream},r.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=function(t){return new a(t)}},"9KIM":function(t,e,n){var i=n("mFDi"),a=n("xSat").onIrrelevantElement,r=n("IwbS");function o(t){return i.create(t)}e.makeRectPanelClipPath=function(t){return t=o(t),function(e,n){return r.clipPointsByRect(e,t)}},e.makeLinearBrushOtherExtent=function(t,e){return t=o(t),function(n){var i=null!=e?e:n,a=i?t.x:t.y;return[a,a+((i?t.width:t.height)||0)]}},e.makeRectIsTargetByCursor=function(t,e,n){return t=o(t),function(i,r,o){return t.contain(r[0],r[1])&&!a(i,e,n)}}},"9eas":function(t,e,n){n("HM/N"),n("tBnm")},"9hCq":function(t,e,n){var i=n("IwbS"),a=n("+TT/"),r=n("bYtY"),o=n("VaxA").wrapTreePathInfo,s=5;function l(t){this.group=new i.Group,t.add(this.group)}function u(t,e,n,i,a,r){var o=[[a?t:t-s,e],[t+n,e],[t+n,e+i],[a?t:t-s,e+i]];return!r&&o.splice(2,0,[t+n+s,e+i/2]),!a&&o.push([t,e+i/2]),o}function c(t,e,n){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&o(n,e)}}l.prototype={constructor:l,render:function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var s=r.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,s,l,i),a.positionElement(o,u.pos,u.box)}},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var a=i.getModel().get("name"),r=n.getTextRect(a),o=Math.max(r.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:i,text:a,width:o})}},_renderContent:function(t,e,n,o,s){for(var l=0,h=e.emptyItemWidth,d=t.get("breadcrumb.height"),f=a.getAvailableSize(e.pos,e.box),p=e.totalWidth,g=e.renderList,m=g.length-1;m>=0;m--){var v=g[m],y=v.node,x=v.width,_=v.text;p>f.width&&(p-=x-h,x=h,_=null);var b=new i.Polygon({shape:{points:u(l,0,x,d,m===g.length-1,0===m)},style:r.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,y)});this.group.add(b),c(b,t,y),l+=x+8}},remove:function(){this.group.removeAll()}},t.exports=l},"9u0u":function(t,e,n){var i=n("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),i.each(e,function(t,e){for(var n,a,r,o=(n=i.map(t,function(t){return t.getData()}),a=t[0].get("mapValueCalculation"),r={},i.each(n,function(t){t.each(t.mapDimension("value"),function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)})}),n[0].map(n[0].mapDimension("value"),function(t,e){for(var i="ec-"+n[0].getName(e),o=0,s=1/0,l=-1/0,u=r[i].length,c=0;c<u;c++)s=Math.min(s,r[i][c]),l=Math.max(l,r[i][c]),o+=r[i][c];return 0===u?NaN:"min"===a?s:"max"===a?l:"average"===a?o/u:o})),s=0;s<t.length;s++)t[s].originalData=t[s].getData();for(s=0;s<t.length;s++)t[s].seriesGroup=t,t[s].needsDrawMap=0===s&&!t[s].getHostGeoModel(),t[s].setData(o.cloneShallow()),t[s].mainSeries=t[0]})}},"9wZj":function(t,e,n){var i=n("IwbS"),a=n("FBjb"),r=n("bYtY").isObject;function o(t){this.group=new i.Group,this._symbolCtor=t||a}var s=o.prototype;function l(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function u(t){return null==t||r(t)||(t={isIgnore:t}),t||{}}function c(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}s.updateData=function(t,e){e=u(e);var n=this.group,a=t.hostModel,r=this._data,o=this._symbolCtor,s=c(t);r||n.removeAll(),t.diff(r).add(function(i){var a=t.getItemLayout(i);if(l(t,a,i,e)){var r=new o(t,i,s);r.attr("position",a),t.setItemGraphicEl(i,r),n.add(r)}}).update(function(u,c){var h=r.getItemGraphicEl(c),d=t.getItemLayout(u);l(t,d,u,e)?(h?(h.updateData(t,u,s),i.updateProps(h,{position:d},a)):(h=new o(t,u)).attr("position",d),n.add(h),t.setItemGraphicEl(u,h)):n.remove(h)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)})}).execute(),this._data=t},s.isPersistent=function(){return!0},s.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,n){var i=t.getItemLayout(n);e.attr("position",i)})},s.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._data=null,this.group.removeAll()},s.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=u(n);for(var a=t.start;a<t.end;a++){var r=e.getItemLayout(a);if(l(e,r,a,n)){var o=new this._symbolCtor(e,a,this._seriesScope);o.traverse(i),o.attr("position",r),this.group.add(o),e.setItemGraphicEl(a,o)}}},s.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll()},t.exports=o},A1Ka:function(t,e,n){var i=n("bLfw"),a=n("sS/r"),r=n("D5nY").detectSourceFormat,o=n("k9D9");i.extend({type:"dataset",defaultOption:{seriesLayoutBy:o.SERIES_LAYOUT_BY_COLUMN,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){r(this)}}),a.extend({type:"dataset"})},AE9C:function(t,e,n){var i=n("bYtY"),a=n("crZl"),r=n("IwbS"),o=n("oVpE").createSymbol,s=n("+TT/"),l=n("y7Aq"),u=a.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),a=e.textStyleModel,o=a.getFont(),l=a.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=this._getViewData(),d=h.endsText,f=i.retrieve(e.get("showLabel",!0),!d);d&&this._renderEndsText(t,d[0],c,f,u),i.each(h.viewPieceList,function(a){var s=a.piece,h=new r.Group;h.onclick=i.bind(this._onItemClick,this,s),this._enableHoverLink(h,a.indexInModelPieceList);var d=e.getRepresentValue(s);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new r.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:o,textFill:l,opacity:"outOfRange"===p?.5:1}}))}t.add(h)},this),d&&this._renderEndsText(t,d[1],c,f,u),s.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function n(t){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.convertDataIndex(n.findTargetDataIndices(e))})}t.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return l.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,n,i,a){if(e){var o=new r.Group,s=this.visualMapModel.textStyleModel;o.add(new r.Text({style:{x:i?"right"===a?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?a:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=i.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),a=t.get("orient"),r=t.get("inverse");return("horizontal"===a?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(o(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,a=i.clone(n.selected),r=e.getSelectedMapKey(t);"single"===n.selectedMode?(a[r]=!0,i.each(a,function(t,e){a[e]=e===r})):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}});t.exports=u},AEZ6:function(t,e,n){var i=n("bYtY"),a=i.each,r=i.createHashMap,o=n("T4UG"),s=n("MwEJ"),l=o.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n=this.getSource();return function(t,e){if(!t.encodeDefine){var n=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(n){var i=t.encodeDefine=r();a(n.dimensions,function(t){var e=+t.replace("dim","");i.set(t,e)})}}}(n,this),s(n,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,function(e,a){t===e&&i.push(n.getRawIndex(a))}),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});t.exports=l},AH3D:function(t,e,n){var i=n("ProS");n("y4/Y"),n("qWt2"),n("Qvb6"),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(t,e,n){var i=n("ProS"),a=n("5GtS"),r=n("4NO4").defaultEmphasis,o=i.extendSeriesModel({type:"series.funnel",init:function(t){o.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,["value"])},_defaultLabelLine:function(t){r(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=o.superCall(this,"getDataParams",t),i=e.mapDimension("value"),a=e.getSum(i);return n.percent=a?+(e.get(i,t)/a*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}});t.exports=o},ANjR:function(t,e,n){var i=n("bYtY");function a(t,e){return e=e||[0,0],i.map([0,1],function(n){var i=e[n],a=t[n]/2,r=[],o=[];return r[n]=i-a,o[n]=i+a,r[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(r)[n]-this.dataToPoint(o)[n])},this)}t.exports=function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(a,t)}}}},AUH6:function(t,e,n){var i=n("bYtY"),a=n("mFDi"),r=n("bMXI"),o=n("W4dC");function s(t,e,n,i){r.call(this,t),this.map=e;var a=o.load(e,n);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.nameCoordMap,this._invertLongitute=null==i||i,this.regions=a.regions,this._rect=a.boundingRect}function l(t,e,n,i){var a=n.geoModel,r=n.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return!0;return!1},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var s=this._rawTransformable;if(s.transform=r.calculateTransform(new a(t,e,n,i)),s.decomposeTransform(),o){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return e[n]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,n){if("string"==typeof t&&(t=this.getGeoCoord(t)),t)return r.prototype.dataToPoint.call(this,t,e,n)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData")},i.mixin(s,r),t.exports=s},AVZG:function(t,e,n){var i=n("bYtY");e.layout=function(t,e,n){n=n||{};var a=t.coordinateSystem,r=e.axis,o={},s=r.getAxesOnZeroOf()[0],l=r.position,u=s?"onZero":l,c=r.dim,h=a.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===c?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var m=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(m,g[1]),g[0])}o.position=["y"===c?g[f[u]]:d[0],"x"===c?g[f[u]]:d[3]],o.rotation=Math.PI/2*("x"===c?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[l],o.labelOffset=s?g[f[l]]-g[f.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),i.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var v=e.get("axisLabel.rotate");return o.labelRotate="top"===u?-v:v,o.z2=1,o}},"Ae+d":function(t,e){e.updateViewOnPan=function(t,e,n){var i=t.target,a=i.position;a[0]+=e,a[1]+=n,i.dirty()},e.updateViewOnZoom=function(t,e,n,i){var a=t.target,r=t.zoomLimit,o=a.position,s=a.scale,l=t.zoom=t.zoom||1;if(l*=e,r){var u=r.min||0;l=Math.max(Math.min(r.max||1/0,l),u)}var c=l/t.zoom;t.zoom=l,o[0]-=(n-o[0])*(c-1),o[1]-=(i-o[1])*(c-1),s[0]*=c,s[1]*=c,a.dirty()}},Ae16:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("IwbS");n("Wqna"),n("rySg"),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new r.Rect({shape:t.coordinateSystem.getRect(),style:a.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},"B+YJ":function(t,e,n){n("TYVI"),n("p1MT")},B9fm:function(t,e,n){var i=n("bYtY"),a=n("Qe9p"),r=n("YH21"),o=n("ItGF"),s=n("7aKB"),l=i.each,u=s.toCamelCase,c=["","-webkit-","-moz-","-o-"];function h(t,e){if(o.wxa)return null;var n=document.createElement("div"),i=this._zr=e.getZr();this.el=n,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(n),this._container=t,this._show=!1;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!a._enterable){var n=i.handler;r.normalizeEvent(t,e,!0),n.dispatch("mousemove",e)}},n.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}h.prototype={constructor:h,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),n=t.style;"absolute"!==n.position&&"absolute"!==e.position&&(n.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+function(t){var e,n,r=[],h=t.get("transitionDuration"),d=t.get("backgroundColor"),f=t.getModel("textStyle"),p=t.get("padding");return h&&r.push((n="left "+(e=h)+"s cubic-bezier(0.23, 1, 0.32, 1),top "+e+"s cubic-bezier(0.23, 1, 0.32, 1)",i.map(c,function(t){return t+"transition:"+n}).join(";"))),d&&(o.canvasSupported?r.push("background-Color:"+d):(r.push("background-Color:#"+a.toHex(d)),r.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],function(e){var n="border-"+e,i=u(n),a=t.get(i);null!=a&&r.push(n+":"+a+("color"===e?"":"px"))}),r.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();return i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px"),l(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}(f)),null!=p&&r.push("padding:"+s.normalizeCssArray(p).join("px ")+"px"),r.join(";")+";"}(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n,i=this._zr;i&&i.painter&&(n=i.painter.getViewportRootOffset())&&(t+=n.offsetLeft,e+=n.offsetTop);var a=this.el.style;a.left=t+"px",a.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.paddingLeft,10)+parseInt(n.paddingRight,10)+parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.paddingTop,10)+parseInt(n.paddingBottom,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}},t.exports=h},BPZU:function(t,e){var n=7;function i(t,e,n,i){var a=e+1;if(a===n)return 1;if(i(t[a++],t[e])<0){for(;a<n&&i(t[a],t[a-1])<0;)a++;!function(t,e,n){for(n--;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,a)}else for(;a<n&&i(t[a],t[a-1])>=0;)a++;return a-e}function a(t,e,n,i,a){for(i===e&&i++;i<n;i++){for(var r,o=t[i],s=e,l=i;s<l;)a(o,t[r=s+l>>>1])<0?l=r:s=r+1;var u=i-s;switch(u){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:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function r(t,e,n,i,a,r){var o=0,s=0,l=1;if(r(t,e[n+a])>0){for(s=i-a;l<s&&r(t,e[n+a+l])>0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;l<s&&r(t,e[n+a-l])<=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o<l;){var c=o+(l-o>>>1);r(t,e[n+c])>0?o=c+1:l=c}return l}function o(t,e,n,i,a,r){var o=0,s=0,l=1;if(r(t,e[n+a])<0){for(s=a+1;l<s&&r(t,e[n+a-l])<0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=i-a;l<s&&r(t,e[n+a+l])>=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o<l;){var c=o+(l-o>>>1);r(t,e[n+c])<0?l=c:o=c+1}return l}function s(t,e){var i,a,s=n,l=0,u=[];function c(c){var h=i[c],d=a[c],f=i[c+1],p=a[c+1];a[c]=d+p,c===l-3&&(i[c+1]=i[c+2],a[c+1]=a[c+2]),l--;var g=o(t[f],t,h,d,0,e);h+=g,0!=(d-=g)&&0!==(p=r(t[h+d-1],t,f,p,p-1,e))&&(d<=p?function(i,a,l,c){var h=0;for(h=0;h<a;h++)u[h]=t[i+h];var d=0,f=l,p=i;if(t[p++]=t[f++],0!=--c)if(1!==a){for(var g,m,v,y=s;;){g=0,m=0,v=!1;do{if(e(t[f],u[d])<0){if(t[p++]=t[f++],m++,g=0,0==--c){v=!0;break}}else if(t[p++]=u[d++],g++,m=0,1==--a){v=!0;break}}while((g|m)<y);if(v)break;do{if(0!==(g=o(t[f],u,d,a,0,e))){for(h=0;h<g;h++)t[p+h]=u[d+h];if(p+=g,d+=g,(a-=g)<=1){v=!0;break}}if(t[p++]=t[f++],0==--c){v=!0;break}if(0!==(m=r(u[d],t,f,c,0,e))){for(h=0;h<m;h++)t[p+h]=t[f+h];if(p+=m,f+=m,0==(c-=m)){v=!0;break}}if(t[p++]=u[d++],1==--a){v=!0;break}y--}while(g>=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if((s=y)<1&&(s=1),1===a){for(h=0;h<c;h++)t[p+h]=t[f+h];t[p+c]=u[d]}else{if(0===a)throw new Error;for(h=0;h<a;h++)t[p+h]=u[d+h]}}else{for(h=0;h<c;h++)t[p+h]=t[f+h];t[p+c]=u[d]}else for(h=0;h<a;h++)t[p+h]=u[d+h]}(h,d,f,p):function(i,a,l,c){var h=0;for(h=0;h<c;h++)u[h]=t[l+h];var d=i+a-1,f=c-1,p=l+c-1,g=0,m=0;if(t[p--]=t[d--],0!=--a)if(1!==c){for(var v=s;;){var y=0,x=0,_=!1;do{if(e(u[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0==--a){_=!0;break}}else if(t[p--]=u[f--],x++,y=0,1==--c){_=!0;break}}while((y|x)<v);if(_)break;do{if(0!=(y=a-o(u[f],t,i,a,a-1,e))){for(a-=y,m=1+(p-=y),g=1+(d-=y),h=y-1;h>=0;h--)t[m+h]=t[g+h];if(0===a){_=!0;break}}if(t[p--]=u[f--],1==--c){_=!0;break}if(0!=(x=c-r(t[d],u,0,c,c-1,e))){for(c-=x,m=1+(p-=x),g=1+(f-=x),h=0;h<x;h++)t[m+h]=u[g+h];if(c<=1){_=!0;break}}if(t[p--]=t[d--],0==--a){_=!0;break}v--}while(y>=n||x>=n);if(_)break;v<0&&(v=0),v+=2}if((s=v)<1&&(s=1),1===c){for(m=1+(p-=a),g=1+(d-=a),h=a-1;h>=0;h--)t[m+h]=t[g+h];t[p]=u[f]}else{if(0===c)throw new Error;for(g=p-(c-1),h=0;h<c;h++)t[g+h]=u[h]}}else{for(m=1+(p-=a),g=1+(d-=a),h=a-1;h>=0;h--)t[m+h]=t[g+h];t[p]=u[f]}else for(g=p-(c-1),h=0;h<c;h++)t[g+h]=u[h]}(h,d,f,p))}i=[],a=[],this.mergeRuns=function(){for(;l>1;){var t=l-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]<a[t+1]&&t--;else if(a[t]>a[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;l>1;){var t=l-2;t>0&&a[t-1]<a[t+1]&&t--,c(t)}},this.pushRun=function(t,e){i[l]=t,a[l]=e,l+=1}}t.exports=function(t,e,n,r){n||(n=0),r||(r=t.length);var o=r-n;if(!(o<2)){var l=0;if(o<32)a(t,n,r,n+(l=i(t,n,r,e)),e);else{var u=new s(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(o);do{if((l=i(t,n,r,e))<c){var h=o;h>c&&(h=c),a(t,n,n+h,n+l,e),l=h}u.pushRun(n,l),u.mergeRuns(),o-=l,n+=l}while(0!==o);u.forceMergeRuns()}}}},BlVb:function(t,e,n){var i=n("hyiK"),a=1e-8;function r(t,e){return Math.abs(t-e)<a}e.contain=function(t,e,n){var a=0,o=t[0];if(!o)return!1;for(var s=1;s<t.length;s++){var l=t[s];a+=i(o[0],o[1],l[0],l[1],e,n),o=l}var u=t[0];return r(o[0],u[0])&&r(o[1],u[1])||(a+=i(o[0],o[1],u[0],u[1],e,n)),0!==a}},Bq2U:function(t,e,n){var i=n("RDYZ"),a=n("Qe9p"),r=n("bYtY").isArrayLike,o=Array.prototype.slice;function s(t,e){return t[e]}function l(t,e,n){t[e]=n}function u(t,e,n){return(e-t)*n+t}function c(t,e,n){return n>.5?e:t}function h(t,e,n,i,a){var r=t.length;if(1==a)for(var o=0;o<r;o++)i[o]=u(t[o],e[o],n);else{var s=r&&t[0].length;for(o=0;o<r;o++)for(var l=0;l<s;l++)i[o][l]=u(t[o][l],e[o][l],n)}}function d(t,e,n){var i=t.length,a=e.length;if(i!==a)if(i>a)t.length=a;else for(var r=i;r<a;r++)t.push(1===n?e[r]:o.call(e[r]));var s=t[0]&&t[0].length;for(r=0;r<t.length;r++)if(1===n)isNaN(t[r])&&(t[r]=e[r]);else for(var l=0;l<s;l++)isNaN(t[r][l])&&(t[r][l]=e[r][l])}function f(t,e,n){if(t===e)return!0;var i=t.length;if(i!==e.length)return!1;if(1===n){for(var a=0;a<i;a++)if(t[a]!==e[a])return!1}else{var r=t[0].length;for(a=0;a<i;a++)for(var o=0;o<r;o++)if(t[a][o]!==e[a][o])return!1}return!0}function p(t,e,n,i,a,r,o,s,l){var u=t.length;if(1==l)for(var c=0;c<u;c++)s[c]=g(t[c],e[c],n[c],i[c],a,r,o);else{var h=t[0].length;for(c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=g(t[c][d],e[c][d],n[c][d],i[c][d],a,r,o)}}function g(t,e,n,i,a,r,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*r+s*a+e}function m(t){if(r(t)){var e=t.length;if(r(t[0])){for(var n=[],i=0;i<e;i++)n.push(o.call(t[i]));return n}return o.call(t)}return t}function v(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function y(t,e,n,o,s,l){var m=t._getter,y=t._setter,x="spline"===e,_=o.length;if(_){var b,w=r(o[0].value),S=!1,M=!1,I=w?function(t){var e=t[t.length-1].value;return r(e&&e[0])?2:1}(o):0;o.sort(function(t,e){return t.time-e.time}),b=o[_-1].time;for(var T=[],A=[],D=o[0].value,C=!0,L=0;L<_;L++){T.push(o[L].time/b);var P=o[L].value;if(w&&f(P,D,I)||!w&&P===D||(C=!1),D=P,"string"==typeof P){var k=a.parse(P);k?(P=k,S=!0):M=!0}A.push(P)}if(l||!C){var O=A[_-1];for(L=0;L<_-1;L++)w?d(A[L],O,I):!isNaN(A[L])||isNaN(O)||M||S||(A[L]=O);w&&d(m(t._target,s),O,I);var E,N,R,z,B,V=0,Y=0;if(S)var G=[0,0,0,0];var F=new i({target:t._target,life:b,loop:t._loop,delay:t._delay,onframe:function(t,e){var n;if(e<0)n=0;else if(e<Y){for(n=Math.min(V+1,_-1);n>=0&&!(T[n]<=e);n--);n=Math.min(n,_-2)}else{for(n=V;n<_&&!(T[n]>e);n++);n=Math.min(n-1,_-2)}V=n,Y=e;var i=T[n+1]-T[n];if(0!==i)if(E=(e-T[n])/i,x)if(R=A[n],N=A[0===n?n:n-1],z=A[n>_-2?_-1:n+1],B=A[n>_-3?_-1:n+2],w)p(N,R,z,B,E,E*E,E*E*E,m(t,s),I);else{if(S)a=p(N,R,z,B,E,E*E,E*E*E,G,1),a=v(G);else{if(M)return c(R,z,E);a=g(N,R,z,B,E,E*E,E*E*E)}y(t,s,a)}else if(w)h(A[n],A[n+1],E,m(t,s),I);else{var a;if(S)h(A[n],A[n+1],E,G,1),a=v(G);else{if(M)return c(A[n],A[n+1],E);a=u(A[n],A[n+1],E)}y(t,s,a)}},ondestroy:n});return e&&"spline"!==e&&(F.easing=e),F}}}var x=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||s,this._setter=i||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var a=this._getter(this._target,i);if(null==a)continue;0!==t&&n[i].push({time:0,value:m(a)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,n=0;n<e;n++)t[n].call(this)},start:function(t,e){var n,i=this,a=0,r=function(){--a||i._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=y(this,t,r,this._tracks[o],o,e);s&&(this._clipList.push(s),a++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(t,e){l(t,e);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](t,e)}}return a||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var a=e[i];t&&a.onframe(this._target,1),n&&n.removeClip(a)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}},t.exports=x},Bsck:function(t,e,n){var i=n("bYtY"),a=n("Qxkt"),r=n("Mdki"),o=n("YXkt"),s=n("sdST"),l=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function u(t,e,n){this._nodes=[],this.hostModel=t,this.levelModels=i.map(e||[],function(e){return new a(e,t,t.ecModel)}),this.leavesModel=new a(n||{},t,t.ecModel)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null),i.isString(t=t||{})&&(t={order:t});var a,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(a=e.call(n,this));for(var s=0;!a&&s<o.length;s++)o[s].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var a=n[e].getNodeById(t);if(a)return a}},contains:function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var a=n[e].contains(t);if(a)return a}},getAncestors:function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,n=this.hostTree,i=n.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),i.getModel(t,(a||e||n.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},u.createTree=function(t,e,n){var a=new u(e,n.levels,n.leaves),c=[],h=1;!function t(e,n){var r=e.value;h=Math.max(h,i.isArray(r)?r.length:1),c.push(e);var o=new l(e.name,a);n?function(t,e){t.parentNode!==e&&(e.children.push(t),t.parentNode=e)}(o,n):a.root=o,a._nodes.push(o);var s=e.children;if(s)for(var u=0;u<s.length;u++)t(s[u],o)}(t),a.root.updateDepthAndHeight(0);var d=s(c,{coordDimensions:["value"],dimensionsCount:h}),f=new o(d,e);return f.initData(c),r({mainData:f,struct:a,structAttr:"tree"}),a.update(),a},t.exports=u},BuZO:function(t,e,n){"use strict";var i=n("6blF"),a=n("67Y/");i.a.prototype.map=function(t,e){return Object(a.a)(t,e)(this)}},BuqR:function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("6uqw"),r=n("XxSj"),o=n("YOMW"),s=n("OELB").reformIntervals,l=a.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,e){l.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();u[this._mode].call(this),this._resetSelected(t,e);var a=this.option.categories;this.resetVisual(function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=i.clone(a)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=i.map(this._pieceList,function(t){return t=i.clone(t),"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){var t=this.option,e={},n=r.listVisualTypes(),s=this.isCategory();function l(t,e,n){return t&&t[e]&&(i.isObject(t[e])?t[e].hasOwnProperty(n):t[e]===n)}i.each(t.pieces,function(t){i.each(n,function(n){t.hasOwnProperty(n)&&(e[n]=1)})}),i.each(e,function(e,n){var a=0;i.each(this.stateList,function(e){a|=l(t,e,n)||l(t.target,e,n)},this),!a&&i.each(this.stateList,function(e){(t[e]||(t[e]={}))[n]=o.get(n,"inRange"===e?"active":"inactive",s)})},this),a.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var n=this.option,a=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,i.each(a,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var o=!1;i.each(a,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)},this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=i.clone(t)},getValueState:function(t){var e=r.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],a=n.getData();a.each(this.getDataDimension(a),function(e,n){r.findPieceIndex(e,this._pieceList)===t&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],n=[],a=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(r,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:n}}function l(i,r){var o=a.getRepresentValue({interval:i});r||(r=a.getValueState(o));var s=t(o,r);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),a=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;for(var o=(a[1]-a[0])/r;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,a[0]],close:[0,0]});for(var u=a[0],c=l+r;l<c;u+=o){var h=l===r-1?a[1]:u+o;e.push({index:l++,interval:[u,h],close:[1,1]})}t.maxOpen&&e.push({index:l++,interval:[a[1],1/0],close:[0,0]}),s(e),i.each(e,function(t){t.text=this.formatValueText(t.interval)},this)},categories:function(){var t=this.option;i.each(t.categories,function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),c(t,this._pieceList)},pieces:function(){var t=this.option,e=this._pieceList;i.each(t.pieces,function(t,n){i.isObject(t)||(t={value:t});var a={text:"",index:n};if(null!=t.label&&(a.text=t.label),t.hasOwnProperty("value")){var o=a.value=t.value;a.interval=[o,o],a.close=[1,1]}else{for(var s=a.interval=[],l=a.close=[0,0],u=[1,0,1],c=[-1/0,1/0],h=[],d=0;d<2;d++){for(var f=[["gte","gt","min"],["lte","lt","max"]][d],p=0;p<3&&null==s[d];p++)s[d]=t[f[p]],l[d]=u[p],h[d]=2===p;null==s[d]&&(s[d]=c[d])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(a.value=s[0])}a.visual=r.retrieveVisuals(t),e.push(a)},this),c(t,e),s(e),i.each(e,function(t){var e=t.close;t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,[["<","\u2264"][e[1]],[">","\u2265"][e[0]]])},this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=l},C0SR:function(t,e,n){var i=n("YH21"),a=function(){this._track=[]};function r(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}a.prototype={constructor:a,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var a=t.touches;if(a){for(var r={points:[],touches:[],target:e,event:t},o=0,s=a.length;o<s;o++){var l=a[o],u=i.clientToLocal(n,l,{});r.points.push([u.zrX,u.zrY]),r.touches.push(l)}this._track.push(r)}},_recognize:function(t){for(var e in o)if(o.hasOwnProperty(e)){var n=o[e](this._track,t);if(n)return n}}};var o={pinch:function(t,e){var n=t.length;if(n){var i,a=(t[n-1]||{}).points,o=(t[n-2]||{}).points||a;if(o&&o.length>1&&a&&a.length>1){var s=r(a)/r(o);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((i=a)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}};t.exports=a},C0tN:function(t,e,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},CBdT:function(t,e,n){var i=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var a=n("q3GZ");i.registerVisual(a)},CF2D:function(t,e,n){var i=n("ProS");n("vZI5"),n("GeKi");var a=n("6r85"),r=n("TJmX"),o=n("CbHG");i.registerPreprocessor(a),i.registerVisual(r),i.registerLayout(o)},"CMP+":function(t,e,n){var i=n("bYtY"),a=n("hM6l"),r=function(t,e,n,i){a.call(this,t,e,n),this.type=i||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(r,a),t.exports=r},CVdl:function(t,e,n){"use strict";n.d(e,"a",function(){return f}),n.d(e,"b",function(){return d});var i=n("F/XL"),a=n("G5J1"),r=n("bne5"),o=n("6blF"),s=n("CcnG"),l=n("MT78"),u=n("Gi3i"),c=n("15JJ"),h=function(){function t(t){this._changes=t}return t.of=function(e){return new t(e)},t.prototype.notEmpty=function(t){if(this._changes[t]){var e=this._changes[t].currentValue;if(null!=e)return Object(i.a)(e)}return Object(a.b)()},t.prototype.has=function(t){if(this._changes[t]){var e=this._changes[t].currentValue;return Object(i.a)(e)}return Object(a.b)()},t.prototype.notFirst=function(t){if(this._changes[t]&&!this._changes[t].isFirstChange()){var e=this._changes[t].currentValue;return Object(i.a)(e)}return Object(a.b)()},t.prototype.notFirstAndEmpty=function(t){if(this._changes[t]&&!this._changes[t].isFirstChange()){var e=this._changes[t].currentValue;if(null!=e)return Object(i.a)(e)}return Object(a.b)()},t}(),d=function(){function t(t,e){this.el=t,this.ngZone=e,this.autoResize=!0,this.loadingType="default",this.detectEventChanges=!0,this.chartInit=new s.EventEmitter,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartPieSelectChanged=this.createLazyEvent("pieselectchanged"),this.chartPieSelected=this.createLazyEvent("pieselected"),this.chartPieUnselected=this.createLazyEvent("pieunselected"),this.chartMapSelectChanged=this.createLazyEvent("mapselectchanged"),this.chartMapSelected=this.createLazyEvent("mapselected"),this.chartMapUnselected=this.createLazyEvent("mapunselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartFocusNodeAdjacency=this.createLazyEvent("focusnodeadjacency"),this.chartUnfocusNodeAdjacency=this.createLazyEvent("unfocusnodeadjacency"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.currentOffsetWidth=0,this.currentOffsetHeight=0}return t.prototype.ngOnChanges=function(t){var e=this,n=h.of(t);n.notFirstAndEmpty("options").subscribe(function(t){return e.onOptionsChange(t)}),n.notFirstAndEmpty("merge").subscribe(function(t){return e.setOption(t)}),n.has("loading").subscribe(function(t){return e.toggleLoading(!!t)}),n.notFirst("theme").subscribe(function(){return e.refreshChart()})},t.prototype.ngOnInit=function(){var t=this;this.resizeSub=Object(r.a)(window,"resize").pipe(Object(u.a)(50)).subscribe(function(){t.autoResize&&window.innerWidth!==t.currentWindowWidth&&(t.currentWindowWidth=window.innerWidth,t.currentOffsetWidth=t.el.nativeElement.offsetWidth,t.currentOffsetHeight=t.el.nativeElement.offsetHeight,t.resize())})},t.prototype.ngOnDestroy=function(){this.resizeSub.unsubscribe(),this.dispose()},t.prototype.ngDoCheck=function(){if(this.chart&&this.autoResize){var t=this.el.nativeElement.offsetWidth,e=this.el.nativeElement.offsetHeight;this.currentOffsetWidth===t&&this.currentOffsetHeight===e||(this.currentOffsetWidth=t,this.currentOffsetHeight=e,this.resize())}},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout(function(){return t.initChart()})},t.prototype.dispose=function(){this.chart&&(this.chart.dispose(),this.chart=null)},t.prototype.resize=function(){this.chart&&this.chart.resize()},t.prototype.toggleLoading=function(t){this.chart&&(t?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading())},t.prototype.setOption=function(t,e){this.chart&&this.chart.setOption(t,e)},t.prototype.refreshChart=function(){this.dispose(),this.initChart()},t.prototype.createChart=function(){var t=this;this.currentWindowWidth=window.innerWidth,this.currentOffsetWidth=this.el.nativeElement.offsetWidth,this.currentOffsetHeight=this.el.nativeElement.offsetHeight;var e=this.el.nativeElement;if(window&&window.getComputedStyle){var n=window.getComputedStyle(e,null).getPropertyValue("height");n&&"0px"!==n||e.style.height&&"0px"!==e.style.height||(e.style.height="400px")}return this.ngZone.runOutsideAngular(function(){return Object(l.init)(e,t.theme,t.initOpts)})},t.prototype.initChart=function(){this.onOptionsChange(this.options),this.merge&&this.chart&&this.setOption(this.merge)},t.prototype.onOptionsChange=function(t){t&&(this.chart||(this.chart=this.createChart(),this.chartInit.emit(this.chart)),this.chart.setOption(this.options,!0))},t.prototype.createLazyEvent=function(t){var e=this;return this.chartInit.pipe(Object(c.a)(function(n){return new o.a(function(i){return n.on(t,function(t){return e.ngZone.run(function(){return i.next(t)})}),null})}))},t}(),f=function(){return function(){}}()},CbHG:function(t,e,n){var i=n("IwbS").subPixelOptimize,a=n("zM3Q"),r=n("OELB").parsePercent,o=n("bYtY").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array,l={seriesType:"candlestick",plan:a(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),a=function(t,e){var n,i=t.getBaseAxis(),a="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),s=r(o(t.get("barMaxWidth"),a),a),l=r(o(t.get("barMinWidth"),1),a),u=t.get("barWidth");return null!=u?r(u,a):Math.max(Math.min(a/2,s),l)}(t,n),l=0,c=1,h=["x","y"],d=n.mapDimension(h[l]),f=n.mapDimension(h[c],!0),p=f[0],g=f[1],m=f[2],v=f[3];if(n.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),!(null==d||f.length<4))return{progress:t.pipelineContext.large?function(t,n){for(var i,a,r=new s(5*t.count),o=0,h=[],f=[];null!=(a=t.next());){var y=n.get(d,a),x=n.get(p,a),_=n.get(g,a),b=n.get(m,a),w=n.get(v,a);isNaN(y)||isNaN(b)||isNaN(w)?(r[o++]=NaN,o+=4):(r[o++]=u(n,a,x,_,g),h[l]=y,h[c]=b,i=e.dataToPoint(h,null,f),r[o++]=i?i[0]:NaN,r[o++]=i?i[1]:NaN,h[c]=w,i=e.dataToPoint(h,null,f),r[o++]=i?i[1]:NaN)}n.setLayout("largePoints",r)}:function(t,n){for(var r;null!=(r=t.next());){var o=n.get(d,r),s=n.get(p,r),h=n.get(g,r),f=n.get(m,r),y=n.get(v,r),x=Math.min(s,h),_=Math.max(s,h),b=T(x,o),w=T(_,o),S=T(f,o),M=T(y,o),I=[];A(I,w,0),A(I,b,1),I.push(C(M),C(w),C(S),C(b)),n.setItemLayout(r,{sign:u(n,r,s,h,g),initBaseline:s>h?w[c]:b[c],ends:I,brushRect:D(f,y,o)})}function T(t,n){var i=[];return i[l]=n,i[c]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function A(t,e,n){var r=e.slice(),o=e.slice();r[l]=i(r[l]+a/2,1,!1),o[l]=i(o[l]-a/2,1,!0),n?t.push(r,o):t.push(o,r)}function D(t,e,n){var i=T(t,n),r=T(e,n);return i[l]-=a/2,r[l]-=a/2,{x:i[0],y:i[1],width:c?a:r[0]-i[0],height:c?r[1]-i[1]:a}}function C(t){return t[l]=i(t[l],1),t}}}}};function u(t,e,n,i,a){return n>i?-1:n<i?1:e>0?t.get(a,e-1)<=i?1:-1:1}t.exports=l},Cm0C:function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("N5BQ"),n("IyUQ"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},D1WM:function(t,e,n){var i=n("bYtY"),a=n("hM6l"),r=function(t,e,n,i,r){a.call(this,t,e,n),this.type=i||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(r,a),t.exports=r},D5nY:function(t,e,n){n("Tghj");var i=n("4NO4"),a=i.makeInner,r=i.getDataItemValue,o=n("i38C").getCoordSysDefineBySeries,s=n("bYtY"),l=s.createHashMap,u=s.each,c=s.map,h=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=n("7G+c"),y=n("k9D9"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,I=y.SERIES_LAYOUT_BY_ROW,T=a();function A(t){if(t){var e=l();return c(t,function(t,n){if(null==(t=m({},f(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var i=e.get(t.name);return i?t.name+="-"+i.count++:e.set(t.name,{count:1}),t})}}function D(t,e,n,i){if(null==i&&(i=1/0),e===I)for(var a=0;a<n.length&&a<i;a++)t(n[a]?n[a][0]:null,a);else{var r=n[0]||[];for(a=0;a<r.length&&a<i;a++)t(r[a],a)}}function C(t,e,n,i,a,o){var s,l;if(p(t))return!1;if(i&&(l=f(l=i[o])?l.name:l),e===_)if(n===I){for(var u=t[o],c=0;c<(u||[]).length&&c<5;c++)if(null!=(s=y(u[a+c])))return s}else for(c=0;c<t.length&&c<5;c++){var g=t[a+c];if(g&&null!=(s=y(g[o])))return s}else if(e===b){if(!l)return;for(c=0;c<t.length&&c<5;c++)if((m=t[c])&&null!=(s=y(m[l])))return s}else if(e===w){if(!l)return;if(!(u=t[l])||p(u))return!1;for(c=0;c<u.length&&c<5;c++)if(null!=(s=y(u[c])))return s}else if(e===x)for(c=0;c<t.length&&c<5;c++){var m,v=r(m=t[c]);if(!h(v))return!1;if(null!=(s=y(v[o])))return s}function y(t){return(null==t||!isFinite(t)||""===t)&&(!(!d(t)||"-"===t)||void 0)}return!1}e.detectSourceFormat=function(t){var e=t.option.source,n=S;if(p(e))n=M;else if(h(e)){0===e.length&&(n=_);for(var i=0,a=e.length;i<a;i++){var r=e[i];if(null!=r){if(h(r)){n=_;break}if(f(r)){n=b;break}}}}else if(f(e)){for(var o in e)if(e.hasOwnProperty(o)&&g(e[o])){n=w;break}}else if(null!=e)throw new Error("Invalid data");T(t).sourceFormat=n},e.getSource=function(t){return T(t).source},e.resetSourceDefaulter=function(t){T(t).datasetMap=l()},e.prepareSource=function(t){var e=t.option,n=e.data,i=p(n)?M:x,a=!1,s=e.seriesLayoutBy,c=e.sourceHeader,g=e.dimensions,m=function(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}(t);if(m){var y=m.option;n=y.source,i=T(m).sourceFormat,a=!0,s=s||y.seriesLayoutBy,null==c&&(c=y.sourceHeader),g=g||y.dimensions}var S=function(t,e,n,i,a){if(!t)return{dimensionsDefine:A(a)};var o,s,l,c;if(e===_)"auto"===i||null==i?D(function(t){null!=t&&"-"!==t&&(d(t)?null==s&&(s=1):s=0)},n,t,10):s=i?1:0,a||1!==s||(a=[],D(function(t,e){a[e]=null!=t?t:""},n,t)),o=a?a.length:n===I?t.length:t[0]?t[0].length:null;else if(e===b)a||(a=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e){var i=[];return u(e,function(t,e){i.push(e)}),i}}(t),l=!0);else if(e===w)a||(a=[],l=!0,u(t,function(t,e){a.push(e)}));else if(e===x){var p=r(t[0]);o=h(p)&&p.length||1}return l&&u(a,function(t,e){"name"===(f(t)?t.name:t)&&(c=e)}),{startIndex:s,dimensionsDefine:A(a),dimensionsDetectCount:o,potentialNameDimIndex:c}}(n,i,s,c,g),L=e.encode;!L&&m&&(L=function(t,e,n,i,a,r){var s=o(t),c={},h=[],d=[],f=t.subType,p=l(["pie","map","funnel"]),g=l(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(s&&null!=g.get(f)){var m=T(t.ecModel).datasetMap,v=e.uid+"_"+a,y=m.get(v)||m.set(v,{categoryWayDim:1,valueWayDim:0});u(s.coordSysDims,function(t){if(null==s.firstCategoryDimIndex){var e=y.valueWayDim++;c[t]=e,d.push(e)}else s.categoryAxisMap.get(t)?(c[t]=0,h.push(0)):(e=y.categoryWayDim++,c[t]=e,d.push(e))})}else if(null!=p.get(f)){for(var x,_=0;_<5&&null==x;_++)C(n,i,a,r.dimensionsDefine,r.startIndex,_)||(x=_);if(null!=x){c.value=x;var b=r.potentialNameDimIndex||Math.max(x-1,0);d.push(b),h.push(b)}}return h.length&&(c.itemName=h),d.length&&(c.seriesName=d),c}(t,m,n,i,s,S)),T(t).source=new v({data:n,fromDataset:a,seriesLayoutBy:s,sourceFormat:i,dimensionsDefine:S.dimensionsDefine,startIndex:S.startIndex,dimensionsDetectCount:S.dimensionsDetectCount,encodeDefine:L})},e.guessOrdinal=function(t,e){return C(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},D9ME:function(t,e,n){var i=n("IwbS"),a=n("fls0"),r=n("bYtY"),o=n("oVpE").createSymbol,s=n("QBsz"),l=n("Sj9i");function u(t,e,n){i.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}var c=u.prototype;c.createLine=function(t,e,n){return new a(t,e,n)},c._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),a=n.get("symbol");r.isArray(i)||(i=[i,i]);var s=n.get("color")||t.getItemVisual(e,"color"),l=this.childAt(1);this._symbolType!==a&&(this.remove(l),(l=o(a,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(n.getItemStyle(["color"])),l.attr("scale",i),l.setColor(s),l.attr("scale",i),this._symbolType=a,this._updateEffectAnimation(t,n,e))},c._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var a=this,o=t.getItemLayout(n),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),c=r.retrieve(e.get("delay"),function(e){return e/t.count()*s/3}),h="function"==typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,o),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var d=c;h&&(d=c(n)),i.__t>0&&(d=-s*i.__t),i.__t=0;var f=i.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(i)});l||f.done(function(){a.remove(i)}),f.start()}this._period=s,this._loop=l}},c.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},c.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},c.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},c.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,a=t.__t,r=t.position,o=l.quadraticAt,s=l.quadraticDerivativeAt;r[0]=o(e[0],i[0],n[0],a),r[1]=o(e[1],i[1],n[1],a);var u=s(e[0],i[0],n[0],a),c=s(e[1],i[1],n[1],a);t.rotation=-Math.atan2(c,u)-Math.PI/2,t.ignore=!1},c.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},r.inherits(u,i.Group),t.exports=u},DBLp:function(t,e){function n(){}function i(t,e,n,i){for(var a=0,r=e.length,o=0,s=0;a<r;a++){var l=e[a];if(l.removed){for(u=[],c=s;c<s+l.count;c++)u.push(c);l.indices=u,s+=l.count}else{for(var u=[],c=o;c<o+l.count;c++)u.push(c);l.indices=u,o+=l.count,l.added||(s+=l.count)}}return e}n.prototype={diff:function(t,e,n){n||(n=function(t,e){return t===e}),this.equals=n;var a=this;t=t.slice();var r=(e=e.slice()).length,o=t.length,s=1,l=r+o,u=[{newPos:-1,components:[]}],c=this.extractCommon(u[0],e,t,0);if(u[0].newPos+1>=r&&c+1>=o){for(var h=[],d=0;d<e.length;d++)h.push(d);return[{indices:h,count:e.length}]}function f(){for(var n=-1*s;n<=s;n+=2){var l,c=u[n-1],h=u[n+1],d=(h?h.newPos:0)-n;c&&(u[n-1]=void 0);var f=c&&c.newPos+1<r,p=h&&0<=d&&d<o;if(f||p){if(!f||p&&c.newPos<h.newPos?(l={newPos:(g=h).newPos,components:g.components.slice(0)},a.pushComponent(l.components,void 0,!0)):((l=c).newPos++,a.pushComponent(l.components,!0,void 0)),d=a.extractCommon(l,e,t,n),l.newPos+1>=r&&d+1>=o)return i(0,l.components);u[n]=l}else u[n]=void 0}var g;s++}for(;s<=l;){var p=f();if(p)return p}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var a=e.length,r=n.length,o=t.newPos,s=o-i,l=0;o+1<a&&s+1<r&&this.equals(e[o+1],n[s+1]);)o++,s++,l++;return l&&t.components.push({count:l}),t.newPos=o,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var a=new n;t.exports=function(t,e,n){return a.diff(t,e,n)}},DEFe:function(t,e,n){var i=n("bYtY"),a=n("SgGq"),r=n("Ae+d"),o=n("xSat").onIrrelevantElement,s=n("IwbS"),l=n("W4dC"),u=n("iRjW").getUID;function c(t,e){var n=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(n.fill=i),n}function h(t,e){e.eachChild(function(e){i.each(e.__regions,function(n){e.trigger(t.isSelected(n.name)?"emphasis":"normal")})})}function d(t,e){var n=new s.Group;this.uid=u("ec_map_draw"),this._controller=new a(t.getZr()),this._controllerHost={target:e?n:null},this.group=n,this._updateGroup=e,n.add(this._regionsGroup=new s.Group),n.add(this._backgroundGroup=new s.Group)}d.prototype={constructor:d,draw:function(t,e,n,a,r){var o="geo"===t.mainType,l=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(e){l||e.getHostGeoModel()!==t||(l=e.getData())});var u=t.coordinateSystem;this._updateBackground(u);var d=this._regionsGroup,f=this.group,p=u.scale,g={position:u.position,scale:p};!d.childAt(0)||r?f.attr(g):s.updateProps(f,g,t),d.removeAll();var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"],_=i.createHashMap();i.each(u.regions,function(e){var n=_.get(e.name)||_.set(e.name,new s.Group),a=new s.CompoundPath({shape:{paths:[]}});n.add(a);var r,u=(P=t.getRegionModel(e.name)||t).getModel(m),h=P.getModel(v),f=c(u),g=c(h),b=P.getModel(y),w=P.getModel(x);if(l){r=l.indexOfName(e.name);var S=l.getItemVisual(r,"color",!0);S&&(f.fill=S)}i.each(e.geometries,function(t){if("polygon"===t.type){a.shape.paths.push(new s.Polygon({shape:{points:t.exterior}}));for(var e=0;e<(t.interiors?t.interiors.length:0);e++)a.shape.paths.push(new s.Polygon({shape:{points:t.interiors[e]}}))}}),a.setStyle(f),a.style.strokeNoScale=!0,a.culling=!0;var M=b.get("show"),I=w.get("show"),T=l&&isNaN(l.get(l.mapDimension("value"),r)),A=l&&l.getItemLayout(r);if(o||T&&(M||I)||A&&A.showLabel){var D,C=o?e.name:r;(!l||r>=0)&&(D=t);var L=new s.Text({position:e.center.slice(),scale:[1/p[0],1/p[1]],z2:10,silent:!0});s.setLabelStyle(L.style,L.hoverStyle={},b,w,{labelFetcher:D,labelDataIndex:C,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),n.add(L)}if(l)l.setItemGraphicEl(r,n);else{var P=t.getRegionModel(e.name);a.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:P&&P.option||{}}}(n.__regions||(n.__regions=[])).push(e),s.setHoverStyle(n,g,{hoverSilentOnTouch:!!t.get("selectedMode")}),d.add(n)}),this._updateController(t,e,n),function(t,e,n,a,r){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",function(){t._mouseDownFlag=!0}),n.on("click",function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=o.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,function(t){return{name:t.name,from:r.uid}})};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),h(e,n)}}}))}(this,t,d,n,a),h(t,d)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&i.each(l.makeGraphic(e,this.uid),function(t){this._backgroundGroup.add(t)},this),this._mapName=e},_updateController:function(t,e,n){var a=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",function(t){this._mouseDownFlag=!1,r.updateViewOnPan(l,t.dx,t.dy),n.dispatchAction(i.extend(c(),{dx:t.dx,dy:t.dy}))},this),s.off("zoom").on("zoom",function(t){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t.scale,t.originX,t.originY),n.dispatchAction(i.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse(function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])})}},this),s.setPointerChecker(function(e,i,r){return a.getViewRectAfterRoam().contain(i,r)&&!o(e,n,t)})}},t.exports=d},DN4a:function(t,e,n){var i=n("Fofx"),a=n("QBsz"),r=i.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),a=this.transform;if(n||e){a=a||i.create(),n?this.getLocalTransform(a):r(a),e&&(n?i.mul(a,t.transform,a):i.copy(a,t.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*o+s)/c[0]||0,h=((c[1]-l)*o+l)/c[1]||0;a[0]*=u,a[1]*=u,a[2]*=h,a[3]*=h}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,a)}else a&&r(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=i.create();u.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=this.position,a=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],a[0]=e,a[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(h,t.invTransform,e),e=h);var n=this.origin;n&&(n[0]||n[1])&&(d[4]=n[0],d[5]=n[1],i.mul(h,e,d),h[4]-=n[0],h[5]-=n[1],e=h),this.setLocalTransform(e)}},u.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)},u.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&a.applyTransform(n,n,i),n},u.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&a.applyTransform(n,n,i),n},l.getLocalTransform=function(t,e){r(e=e||[]);var n=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,a),o&&i.rotate(e,e,o),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e},t.exports=l},Dagg:function(t,e,n){var i=n("Gev7"),a=n("mFDi"),r=n("bYtY"),o=n("Xnb7");function s(t){i.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var a=this._image=o.createOrUpdateImage(i,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=n.x||0,s=n.y||0,l=n.width,u=n.height,c=a.width/a.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(t),n.sWidth&&n.sHeight)t.drawImage(a,h=n.sx||0,d=n.sy||0,n.sWidth,n.sHeight,r,s,l,u);else if(n.sx&&n.sy){var h,d;t.drawImage(a,h=n.sx,d=n.sy,l-h,u-d,r,s,l,u)}else t.drawImage(a,r,s,l,u);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,i),t.exports=s},Dg8C:function(t,e,n){var i=n("XxSj"),a=n("bYtY");t.exports=function(t,e){t.eachSeriesByType("sankey",function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,r=-1/0;a.each(e,function(t){var e=t.getLayout().value;e<n&&(n=e),e>r&&(r=e)}),a.each(e,function(e){var a=new i({type:"color",mappingMethod:"linear",dataExtent:[n,r],visual:t.get("color")}).mapValueToVisual(e.getLayout().value);e.setVisual("color",a);var o=e.getModel().get("itemStyle.color");null!=o&&e.setVisual("color",o)})}})}},Ducp:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("+TT/"),o=n("XpcN"),s=a.Group,l=["width","height"],u=["x","y"],c=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s)},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,n,r){var o=this;c.superCall(this,"renderInner",t,e,n,r);var s=this._controllerGroup,l=e.get("pageIconSize",!0);i.isArray(l)||(l=[l,l]),h("pagePrev",0);var u=e.getModel("pageTextStyle");function h(t,n){var u=t+"DataIndex",c=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][n],{onclick:i.bind(o._pageGo,o,u,e,r)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});c.name=t,s.add(c)}s.add(new a.Text({name:"pageText",style:{textFill:u.getTextColor(),font:u.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),h("pageNext",1)},layoutInner:function(t,e,n){var o=this.getContentGroup(),s=this._containerGroup,c=this._controllerGroup,h=t.getOrient().index,d=l[h],f=l[1-h],p=u[1-h];r.box(t.get("orient"),o,t.get("itemGap"),h?n.width:null,h?null:n.height),r.box("horizontal",c,t.get("pageButtonItemGap",!0));var g=o.getBoundingRect(),m=c.getBoundingRect(),v=this._showController=g[d]>n[d],y=[-g.x,-g.y];y[h]=o.position[h];var x=[0,0],_=[-m.x,-m.y],b=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));v&&("end"===t.get("pageButtonPosition",!0)?_[h]+=n[d]-m[d]:x[h]+=m[d]+b),_[1-h]+=g[f]/2-m[f]/2,o.attr("position",y),s.attr("position",x),c.attr("position",_);var w=this.group.getBoundingRect();if((w={x:0,y:0})[d]=v?n[d]:g[d],w[f]=Math.max(g[f],m[f]),w[p]=Math.min(0,m[p]+_[1-h]),s.__rectSize=n[d],v){var S={x:0,y:0};S[d]=Math.max(n[d]-m[d]-b,0),S[f]=w[f],s.setClipPath(new a.Rect({shape:S})),s.__rectSize=S[d]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(t);return null!=M.pageIndex&&a.updateProps(o,{position:M.contentPosition},!!v&&t),this._updatePageInfoView(t,M),w},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],function(i){var a=null!=e[i+"DataIndex"],r=n.childOfName(i);r&&(r.setStyle("fill",t.get(a?"pageIconColor":"pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")});var a=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",i.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e,n,i,a,r=t.get("scrollDataIndex",!0),o=this.getContentGroup(),s=o.getBoundingRect(),c=this._containerGroup.__rectSize,h=t.getOrient().index,d=l[h],f=l[1-h],p=u[h],g=o.position.slice();this._showController?o.eachChild(function(t){t.__legendDataIndex===r&&(a=t)}):a=o.childAt(0);var m=c?Math.ceil(s[d]/c):0;if(a){var v=a.getBoundingRect(),y=a.position[h]+v[p];g[h]=-y-s[p],e=Math.floor(m*(y+v[p]+c/2)/s[d]),e=s[d]&&m?Math.max(0,Math.min(m-1,e)):-1;var x,_={x:0,y:0};_[d]=c,_[f]=s[f],_[p]=-g[h]-s[p];var b=o.children();if(o.eachChild(function(t,e){var n=S(t);n.intersect(_)&&(null==x&&(x=e),i=t.__legendDataIndex),e===b.length-1&&n[p]+n[d]<=_[p]+_[d]&&(i=null)}),null!=x){var w=S(b[x]);if(_[p]=w[p]+w[d]-_[d],x<=0&&w[p]>=_[p])n=null;else{for(;x>0&&S(b[x-1]).intersect(_);)x--;n=b[x].__legendDataIndex}}}return{contentPosition:g,pageIndex:e,pageCount:m,pagePrevDataIndex:n,pageNextDataIndex:i};function S(t){var e=t.getBoundingRect().clone();return e[p]+=t.position[h],e}}});t.exports=c},EMyp:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("mFDi"),o=n("K4ya"),s=n("qJCg"),l=n("iLNv"),u=n("vZ6x"),c=["inBrush","outOfBrush"],h="__ecInBrushSelectEvent",d=i.PRIORITY.VISUAL.BRUSH;function f(t,e){if(!t.isDisposed()){var n=t.getZr();n[h]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[h]=!1}}function p(t,e,n,i){for(var a=0,r=e.length;a<r;a++){var o=e[a];if(t[o.brushType](i,n,o.selectors,o))return!0}}function g(t){var e=t.brushSelector;if(a.isString(e)){var n=[];return a.each(s,function(t,i){n[i]=function(n,i,a,r){var o=i.getItemLayout(n);return t[e](o,a,r)}}),n}if(a.isFunction(e)){var i={};return a.each(s,function(t,n){i[n]=e}),i}return e}i.registerLayout(d,function(t,e,n){t.eachComponent({mainType:"brush"},function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1}),(e.brushTargetManager=new u(e.option,t)).setInputRanges(e.areas,t)})}),i.registerVisual(d,function(t,e,n){var i,r,u=[];t.eachComponent({mainType:"brush"},function(e,n){var l={brushId:e.id,brushIndex:n,brushName:e.name,areas:a.clone(e.areas),selected:[]};u.push(l);var h=e.option,d=h.brushLink,f=[],v=[],y=[],x=0;n||(i=h.throttleType,r=h.throttleDelay);var _=a.map(e.areas,function(t){return function(t){var e=t.selectors={};return a.each(s[t.brushType],function(n,i){e[i]=function(i){return n(i,e,t)}}),t}(a.defaults({boundingRect:m[t.brushType](t)},t))}),b=o.createVisualMappings(e.option,c,function(t){t.mappingMethod="fixed"});function w(t){return"all"===d||f[t]}function S(t){return!!t.length}a.isArray(d)&&a.each(d,function(t){f[t]=1}),t.eachSeries(function(n,i){var r=y[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;x|=n.hasAxisBrushed(),w(e)&&n.eachActiveState(t.getData(),function(t,e){"active"===t&&(v[e]=1)})}(n,i):function(n,i,r){var o=g(n);if(o&&!function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(a.isArray(n)?a.indexOf(n,e)<0:e!==n)}(e,i)&&(a.each(_,function(i){o[i.brushType]&&e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),x|=S(r)}),w(i)&&S(r))){var s=n.getData();s.each(function(t){p(o,r,s,t)&&(v[t]=1)})}}(n,i,r)}),t.eachSeries(function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};l.selected.push(n);var i=g(t),a=y[e],r=t.getData(),s=w(e)?function(t){return v[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return p(i,a,r,t)?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"};(w(e)?x:S(a))&&o.applyVisual(c,b,r,s)})}),function(t,e,n,i,a){if(a){var r=t.getZr();r[h]||(r.__ecBrushSelect||(r.__ecBrushSelect=f),l.createOrUpdate(r,"__ecBrushSelect",n,e)(t,i))}}(e,i,r,u,n)});var m={lineX:a.noop,lineY:a.noop,rect:function(t){return v(t.range)},polygon:function(t){for(var e,n=t.range,i=0,a=n.length;i<a;i++){var r=n[i];r[0]<(e=e||[[1/0,-1/0],[1/0,-1/0]])[0][0]&&(e[0][0]=r[0]),r[0]>e[0][1]&&(e[0][1]=r[0]),r[1]<e[1][0]&&(e[1][0]=r[1]),r[1]>e[1][1]&&(e[1][1]=r[1])}return e&&v(e)}};function v(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},ERHi:function(t,e,n){var i=n("ProS");n("Z6js"),n("R4Th");var a=n("f5Yq"),r=n("h8O9");i.registerVisual(a("effectScatter","circle")),i.registerLayout(r("effectScatter"))},Ez2D:function(t,e,n){var i=n("bYtY"),a=n("4NO4");t.exports=function(t,e){var n,r=[],o=t.seriesIndex;if(null==o||!(n=e.getSeriesByIndex(o)))return{point:[]};var s=n.getData(),l=a.queryDataIndex(s,t);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)r=c.dataToPoint(s.getValues(i.map(c.dimensions,function(t){return s.mapDimension(t)}),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),r=[h.x+h.width/2,h.y+h.height/2]}return{point:r,el:u}}},F0hE:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("ca2m"),o=n("Qxkt"),s=n("ICMv"),l=r.valueAxis;function u(t,e){return a.defaults({show:e},t)}var c=i.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),l=this.get("axisLabel"),u=this.get("name"),c=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),f=this.get("triggerEvent"),p=a.map(this.get("indicator")||[],function(p){null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var g=u;if(null!=p.color&&(g=a.defaults({color:p.color},u)),p=a.merge(a.clone(p),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:f},!1),c||(p.name=""),"string"==typeof h){var m=p.name;p.name=h.replace("{value}",null!=m?m:"")}else"function"==typeof h&&(p.name=h(p.name,p));var v=a.extend(new o(p,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=c},F5Ls:function(t,e){var n={"\u5357\u6d77\u8bf8\u5c9b":[32,80],"\u5e7f\u4e1c":[0,-10],"\u9999\u6e2f":[10,5],"\u6fb3\u95e8":[-10,10],"\u5929\u6d25":[5,5]};t.exports=function(t,e){if("china"===t){var i=n[e.name];if(i){var a=e.center;a[0]+=i[0]/10.5,a[1]+=-i[1]/14}}}},F7hV:function(t,e,n){var i=n("MBQ8").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t}});t.exports=i},F9bG:function(t,e,n){var i=n("bYtY"),a=n("ItGF"),r=(0,n("4NO4").makeInner)(),o=i.each;function s(t,e,n){t.handler("leave",null,n)}function l(t,e,n,i){e.handler(t,n,i)}e.register=function(t,e,n){if(!a.node){var u=e.getZr();r(u).records||(r(u).records={}),function(t,e){function n(n,i){t.on(n,function(n){var a=function(t){var e={showTip:[],hideTip:[]},n=function(i){var a=e[i.type];a?a.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);o(r(t).records,function(t){t&&i(t,n,a.dispatchAction)}),function(t,e){var n,i=t.showTip.length,a=t.hideTip.length;i?n=t.showTip[i-1]:a&&(n=t.hideTip[a-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(a.pendings,e)})}r(t).initialized||(r(t).initialized=!0,n("click",i.curry(l,"click")),n("mousemove",i.curry(l,"mousemove")),n("globalout",s))}(u,e),(r(u).records[t]||(r(u).records[t]={})).handler=n}},e.unregister=function(t,e){if(!a.node){var n=e.getZr();(r(n).records||{})[t]&&(r(n).records[t]=null)}}},FBjb:function(t,e,n){var i=n("bYtY"),a=n("oVpE").createSymbol,r=n("IwbS"),o=n("OELB").parsePercent,s=n("x3X8").getDefaultLabel;function l(t,e,n){r.Group.call(this),this.updateData(t,e,n)}var u=l.prototype,c=l.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function h(t){return[t[0]/2,t[1]/2]}function d(t,e){this.parent.drift(t,e)}u._createSymbol=function(t,e,n,i,r){this.removeAll();var o=e.getItemVisual(n,"color"),s=a(t,-1,-1,2,2,o,r);s.attr({z2:100,culling:!0,scale:h(i)}),s.drift=d,this._symbolType=t,this.add(s)},u.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},u.getSymbolPath=function(){return this.childAt(0)},u.getScale=function(){return this.childAt(0).scale},u.highlight=function(){this.childAt(0).trigger("emphasis")},u.downplay=function(){this.childAt(0).trigger("normal")},u.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},u.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":"pointer"},u.updateData=function(t,e,n){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,o=c(t,e),s=i!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,o,l)}else(u=this.childAt(0)).silent=!1,r.updateProps(u,{scale:h(o)},a,e);if(this._updateCommon(t,e,o,n),s){var u=this.childAt(0),d=n&&n.fadeIn,f={scale:u.scale.slice()};d&&(f.style={opacity:u.style.opacity}),u.scale=[0,0],d&&(u.style.opacity=0),r.initProps(u,f,a,e)}this._seriesModel=a};var f=["itemStyle"],p=["emphasis","itemStyle"],g=["label"],m=["emphasis","label"];function v(){!r.isInEmphasis(this)&&x.call(this)}function y(){!r.isInEmphasis(this)&&_.call(this)}function x(){if(!this.incremental&&!this.useHoverLayer){var t=this.__symbolOriginalScale,e=t[1]/t[0];this.animateTo({scale:[Math.max(1.1*t[0],t[0]+3),Math.max(1.1*t[1],t[1]+3*e)]},400,"elasticOut")}}function _(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}u._updateCommon=function(t,e,n,a){var l=this.childAt(0),u=t.hostModel,c=t.getItemVisual(e,"color");"image"!==l.type&&l.useStyle({strokeNoScale:!0});var d=a&&a.itemStyle,b=a&&a.hoverItemStyle,w=a&&a.symbolRotate,S=a&&a.symbolOffset,M=a&&a.labelModel,I=a&&a.hoverLabelModel,T=a&&a.hoverAnimation,A=a&&a.cursorStyle;if(!a||t.hasItemOption){var D=a&&a.itemModel?a.itemModel:t.getItemModel(e);d=D.getModel(f).getItemStyle(["color"]),b=D.getModel(p).getItemStyle(),w=D.getShallow("symbolRotate"),S=D.getShallow("symbolOffset"),M=D.getModel(g),I=D.getModel(m),T=D.getShallow("hoverAnimation"),A=D.getShallow("cursor")}else b=i.extend({},b);var C=l.style;l.attr("rotation",(w||0)*Math.PI/180||0),S&&l.attr("position",[o(S[0],n[0]),o(S[1],n[1])]),A&&l.attr("cursor",A),l.setColor(c,a&&a.symbolInnerColor),l.setStyle(d);var L=t.getItemVisual(e,"opacity");null!=L&&(C.opacity=L);var P=t.getItemVisual(e,"liftZ"),k=l.__z2Origin;null!=P?null==k&&(l.__z2Origin=l.z2,l.z2+=P):null!=k&&(l.z2=k,l.__z2Origin=null);var O=a&&a.useNameLabel;r.setLabelStyle(C,b,M,I,{labelFetcher:u,labelDataIndex:e,defaultText:function(e,n){return O?t.getName(e):s(t,e)},isRectText:!0,autoColor:c}),l.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.hoverStyle=b,r.setHoverStyle(l),l.__symbolOriginalScale=h(n),T&&u.isAnimationEnabled()&&l.on("mouseover",v).on("mouseout",y).on("emphasis",x).on("normal",_)},u.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),r.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},i.inherits(l,r.Group),t.exports=l},FGaS:function(t,e,n){var i=n("ProS"),a=n("IwbS"),r=n("bYtY"),o=n("oVpE"),s=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n){var a=function(t){return r.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=o.createSymbol(n,-1,-1,2,2,i);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),s}}function h(e,n,i,r,o,s){i.removeAll();for(var l=0;l<n.length-1;l++){var u=c(r,o);u&&(u.__dimIdx=l,e[l]?(u.attr("position",e[l]),a[s?"initProps":"updateProps"](u,{position:n[l]},t,o)):u.attr("position",n[l]),i.add(u))}}function d(t){return r.map(t,function(t){return[i.cx,i.cy]})}l.diff(u).add(function(e){var n=l.getItemLayout(e);if(n){var i=new a.Polygon,r=new a.Polyline,o={shape:{points:n}};i.shape.points=d(n),r.shape.points=d(n),a.initProps(i,o,t,e),a.initProps(r,o,t,e);var s=new a.Group,u=new a.Group;s.add(r),s.add(i),s.add(u),h(r.shape.points,n,u,l,e,!0),l.setItemGraphicEl(e,s)}}).update(function(e,n){var i=u.getItemGraphicEl(n),r=i.childAt(0),o=i.childAt(1),s=i.childAt(2),c={shape:{points:l.getItemLayout(e)}};c.shape.points&&(h(r.shape.points,c.shape.points,s,l,e,!1),a.updateProps(r,c,t),a.updateProps(o,c,t),l.setItemGraphicEl(e,i))}).remove(function(t){s.remove(u.getItemGraphicEl(t))}).execute(),l.eachItemGraphicEl(function(t,e){var n=l.getItemModel(e),i=t.childAt(0),o=t.childAt(1),u=t.childAt(2),c=l.getItemVisual(e,"color");s.add(t),i.useStyle(r.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),i.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle();var h=n.getModel("areaStyle"),d=n.getModel("emphasis.areaStyle"),f=h.isEmpty()&&h.parentModel.isEmpty(),p=d.isEmpty()&&d.parentModel.isEmpty();p=p&&f,o.ignore=f,o.useStyle(r.defaults(h.getAreaStyle(),{fill:c,opacity:.7})),o.hoverStyle=d.getAreaStyle();var g=n.getModel("itemStyle").getItemStyle(["color"]),m=n.getModel("emphasis.itemStyle").getItemStyle(),v=n.getModel("label"),y=n.getModel("emphasis.label");function x(){o.attr("ignore",p)}function _(){o.attr("ignore",f)}u.eachChild(function(t){t.setStyle(g),t.hoverStyle=r.clone(m),a.setLabelStyle(t.style,t.hoverStyle,v,y,{labelFetcher:l.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:l.get(l.dimensions[t.__dimIdx],e),autoColor:c,isRectText:!0})}),t.off("mouseover").off("mouseout").off("normal").off("emphasis"),t.on("emphasis",x).on("mouseover",x).on("normal",_).on("mouseout",_),a.setHoverStyle(t)}),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=s},FNN5:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("+rIm"),o=n("Znkb"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea"],u=o.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,o=a.getAngleAxis(),u=n.getTicksCoords(),c=o.getExtent()[0],h=n.getExtent(),d=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(a,t,c),f=new r(t,d);i.each(s,f.add,f),this.group.add(f.getGroup()),i.each(l,function(e){t.get(e+".show")&&!n.scale.isBlank()&&this["_"+e](t,a,c,h,u)},this)}},_splitLine:function(t,e,n,r,o){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=0;h<o.length;h++){var d=u++%l.length;c[d]=c[d]||[],c[d].push(new a.Circle({shape:{cx:e.cx,cy:e.cy,r:o[h].coord},silent:!0}))}for(h=0;h<c.length;h++)this.group.add(a.mergePath(c[h],{style:i.defaults({stroke:l[h%l.length],fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(t,e,n,r,o){if(o.length){var s=t.getModel("splitArea").getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=o[0].coord,d=1;d<o.length;d++){var f=u++%l.length;c[f]=c[f]||[],c[f].push(new a.Sector({shape:{cx:e.cx,cy:e.cy,r0:h,r:o[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=o[d].coord}for(d=0;d<c.length;d++)this.group.add(a.mergePath(c[d],{style:i.defaults({fill:l[d%l.length]},s.getAreaStyle()),silent:!0}))}}});t.exports=u},FUi9:function(t,e,n){var i=n("bYtY"),a=n("MwEJ"),r=n("aX7z"),o=n("ICMv"),s=n("Qxkt"),l=n("+TT/");e.getLayoutRect=l.getLayoutRect;var u=n("7hqr"),c=u.enableDataStack,h=u.isDimensionStacked,d=u.getStackedDimension,f=n("hi0g");e.completeDimensions=f;var p=n("sdST");e.createDimensions=p;var g=n("oVpE");e.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:c,getStackedDimension:d};e.createList=function(t){return a(t.getSource(),t)},e.dataStack=m,e.createScale=function(t,e){var n=e;s.isInstance(e)||(n=new s(e),i.mixin(n,o));var a=r.createScaleByModel(n);return a.setExtent(t[0],t[1]),r.niceScaleExtent(a,n),a},e.mixinAxisModelCommonMethods=function(t){i.mixin(t,o)}},"Fa/5":function(t,e,n){var i=n("ProS");n("y2l5"),n("q/+u");var a=n("f5Yq"),r=n("h8O9");n("Ae16"),i.registerVisual(a("scatter","circle")),i.registerLayout(r("scatter"))},Fofx:function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return a(t),t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function r(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}e.create=i,e.identity=a,e.copy=r,e.mul=function(t,e,n){var i=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],r=e[1]*n[2]+e[3]*n[3],o=e[0]*n[4]+e[2]*n[5]+e[4],s=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=e[0]*n[0]+e[2]*n[1],t[1]=i,t[2]=a,t[3]=r,t[4]=o,t[5]=s,t},e.translate=function(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},e.rotate=function(t,e,n){var i=e[0],a=e[2],r=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+o*u,t[1]=-i*u+o*c,t[2]=a*c+s*u,t[3]=-a*u+c*s,t[4]=c*r+u*l,t[5]=c*l-u*r,t},e.scale=function(t,e,n){var i=n[0],a=n[1];return t[0]=e[0]*i,t[1]=e[1]*a,t[2]=e[2]*i,t[3]=e[3]*a,t[4]=e[4]*i,t[5]=e[5]*a,t},e.invert=function(t,e){var n=e[0],i=e[2],a=e[4],r=e[1],o=e[3],s=e[5],l=n*o-r*i;return l?(t[0]=o*(l=1/l),t[1]=-r*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*a)*l,t[5]=(r*a-n*s)*l,t):null},e.clone=function(t){var e=i();return r(e,t),e}},GMDS:function(t,e,n){var i=n("bYtY"),a=n("4NgU"),r=n("jkPA"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s},t.exports=s},GVMX:function(t,e,n){var i=n("JEkh").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=i},GeKi:function(t,e,n){var i=n("bYtY"),a=n("6Ic6"),r=n("IwbS"),o=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=["color","color0","borderColor","borderColor0"],c=a.extend({type:"candlestick",render:function(t,e,n){this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),n=this._data,i=this.group,a=e.getLayout("isSimpleBox");this._data||i.removeAll(),e.diff(n).add(function(n){if(e.hasValue(n)){var o,s=e.getItemLayout(n);o=d(s,0,!0),r.initProps(o,{shape:{points:s.ends}},t,n),f(o,e,n,a),i.add(o),e.setItemGraphicEl(n,o)}}).update(function(o,s){var l=n.getItemGraphicEl(s);if(e.hasValue(o)){var u=e.getItemLayout(o);l?r.updateProps(l,{shape:{points:u.ends}},t,o):l=d(u),f(l,e,o,a),i.add(l),e.setItemGraphicEl(o,l)}else i.remove(l)}).remove(function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)}).execute(),this._data=e},_renderLarge:function(t){this._clear(),m(t,this.group)},_incrementalRenderNormal:function(t,e){for(var n,i=e.getData(),a=i.getLayout("isSimpleBox");null!=(n=t.next());){var r;f(r=d(i.getItemLayout(n)),i,n,a),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(t,e){m(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:i.noop}),h=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))}});function d(t,e,n){var i=t.ends;return new h({shape:{points:n?p(i,t):i},z2:100})}function f(t,e,n,i){var a=e.getItemModel(n),o=a.getModel(s),c=e.getItemVisual(n,"color"),h=e.getItemVisual(n,"borderColor")||c,d=o.getItemStyle(u);t.useStyle(d),t.style.strokeNoScale=!0,t.style.fill=c,t.style.stroke=h,t.__simpleBox=i;var f=a.getModel(l).getItemStyle();r.setHoverStyle(t,f)}function p(t,e){return i.map(t,function(t){return(t=t.slice())[1]=e.initBaseline,t})}var g=o.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var a=n[i++];t.moveTo(a,n[i++]),t.lineTo(a,n[i++])}else i+=3}});function m(t,e,n){var i=t.getData(),a=i.getLayout("largePoints"),r=new g({shape:{points:a},__sign:1});e.add(r);var o=new g({shape:{points:a},__sign:-1});e.add(o),v(1,r,t,i),v(-1,o,t,i),n&&(r.incremental=!0,o.incremental=!0)}function v(t,e,n,i){var a=t>0?"P":"N",r=i.getVisual("borderColor"+a)||i.getVisual("color"+a),o=n.getModel(s).getItemStyle(u);e.useStyle(o),e.style.fill=null,e.style.stroke=r}t.exports=c},Gev7:function(t,e,n){var i=n("bYtY"),a=n("K2GJ"),r=n("1bdT"),o=n("ni6a");function s(t){for(var e in r.call(this,t=t||{}),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.style,this),this._rect=null,this.__clipPaths=[]}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?r.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new a(t,this),this.dirty(!1),this}},i.inherits(s,r),i.mixin(s,o),t.exports=s},GrNh:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("6Ic6");function o(t,e,n,i){var a=e.getData(),r=a.getName(this.dataIndex),o=e.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:r,seriesId:e.id}),a.each(function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),o,n)})}function s(t,e,n,i,a){var r=(e.startAngle+e.endAngle)/2,o=n?i:0,s=[Math.cos(r)*o,Math.sin(r)*o];a?t.animate().when(200,{position:s}).start("bounceOut"):t.attr("position",s)}function l(t,e){a.Group.call(this);var n=new a.Sector({z2:2}),i=new a.Polyline,r=new a.Text;function o(){i.ignore=i.hoverIgnore,r.ignore=r.hoverIgnore}function s(){i.ignore=i.normalIgnore,r.ignore=r.normalIgnore}this.add(n),this.add(i),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var u=l.prototype;u.updateData=function(t,e,n){var r=this.childAt(0),o=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e),c=i.extend({},u);c.label=null,n?(r.setShape(c),"scale"===o.getShallow("animationType")?(r.shape.r=u.r0,a.initProps(r,{shape:{r:u.r}},o,e)):(r.shape.endAngle=u.startAngle,a.updateProps(r,{shape:{endAngle:u.endAngle}},o,e))):a.updateProps(r,{shape:c},o,e);var h=t.getItemVisual(e,"color");r.useStyle(i.defaults({lineJoin:"bevel",fill:h},l.getModel("itemStyle").getItemStyle())),r.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var d=l.getShallow("cursor");function f(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r+o.get("hoverOffset")}},300,"elasticOut")}function p(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r}},300,"elasticOut")}d&&r.attr("cursor",d),s(this,t.getItemLayout(e),o.isSelected(null,e),o.get("selectedOffset"),o.get("animation")),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&o.isAnimationEnabled()&&r.on("mouseover",f).on("mouseout",p).on("emphasis",f).on("normal",p),this._updateLabel(t,e),a.setHoverStyle(this)},u._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");a.updateProps(n,{shape:{points:s.linePoints||[[s.x,s.y],[s.x,s.y],[s.x,s.y]]}},r,e),a.updateProps(i,{style:{x:s.x,y:s.y}},r,e),i.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),c=o.getModel("emphasis.label"),h=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color"),a.setLabelStyle(i.style,i.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),i.ignore=i.normalIgnore=!u.get("show"),i.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l,opacity:t.getItemVisual(e,"opacity")}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle();var f=h.get("smooth");f&&!0===f&&(f=.4),n.setShape({smooth:f})},i.inherits(l,a.Group);var c=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,n,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,d=t.get("animationType"),f=i.curry(o,this.uid,t,c,n),p=t.get("selectedMode");if(r.diff(s).add(function(t){var e=new l(r,t);h&&"scale"!==d&&e.eachChild(function(t){t.stopAnimation(!0)}),p&&e.on("click",f),r.setItemGraphicEl(t,e),u.add(e)}).update(function(t,e){var n=s.getItemGraphicEl(e);n.updateData(r,t),n.off("click"),p&&n.on("click",f),u.add(n),r.setItemGraphicEl(t,n)}).remove(function(t){var e=s.getItemGraphicEl(t);u.remove(e)}).execute(),c&&h&&r.count()>0&&"scale"!==d){var g=r.getItemLayout(0),m=Math.max(n.getWidth(),n.getHeight())/2,v=i.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,t))}else u.removeClipPath();this._data=r}},dispose:function(){},_createClipPath:function(t,e,n,i,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:r}});return a.initProps(l,{shape:{endAngle:i+(r?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,a=t[1]-n.cy,r=Math.sqrt(i*i+a*a);return r<=n.r&&r>=n.r0}}});t.exports=c},H6uX:function(t,e){var n=Array.prototype.slice,i=function(t){this._$handlers={},this._$eventProcessor=t};function a(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}i.prototype={constructor:i,one:function(t,e,n,i){var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;e=a(this,e),r[t]||(r[t]=[]);for(var o=0;o<r[t].length;o++)if(r[t][o].h===n)return this;return r[t].push({h:n,one:!0,query:e,ctx:i||this}),this},on:function(t,e,n,i){var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;e=a(this,e),r[t]||(r[t]=[]);for(var o=0;o<r[t].length;o++)if(r[t][o].h===n)return this;return r[t].push({h:n,one:!1,query:e,ctx:i||this}),this},isSilent:function(t){var e=this._$handlers;return e[t]&&e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],a=0,r=n[t].length;a<r;a++)n[t][a].h!==e&&i.push(n[t][a]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var a=arguments,r=a.length;r>3&&(a=n.call(a,1));for(var o=e.length,s=0;s<o;){var l=e[s];if(i&&i.filter&&null!=l.query&&!i.filter(t,l.query))s++;else{switch(r){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,a[1]);break;case 3:l.h.call(l.ctx,a[1],a[2]);break;default:l.h.apply(l.ctx,a)}l.one?(e.splice(s,1),o--):s++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var a=arguments,r=a.length;r>4&&(a=n.call(a,1,a.length-1));for(var o=a[a.length-1],s=e.length,l=0;l<s;){var u=e[l];if(i&&i.filter&&null!=u.query&&!i.filter(t,u.query))l++;else{switch(r){case 1:u.h.call(o);break;case 2:u.h.call(o,a[1]);break;case 3:u.h.call(o,a[1],a[2]);break;default:u.h.apply(o,a)}u.one?(e.splice(l,1),s--):l++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this}},t.exports=i},"HF/U":function(t,e,n){var i=n("QBsz");function a(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,n=i.clone(t.node1.getLayout()),a=i.clone(t.node2.getLayout()),r=[n,a];+e&&r.push([(n[0]+a[0])/2-(n[1]-a[1])*e,(n[1]+a[1])/2-(a[0]-n[0])*e]),t.setLayout(r)})}e.simpleLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),a(n)}},e.simpleLayoutEdge=a},"HM/N":function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("/SeX"),r=n("OELB").parsePercent,o=n("aX7z"),s=o.createScaleByModel,l=o.niceScaleExtent,u=n("IDmD"),c=n("7hqr").getStackedDimension;function h(t,e){var n=this,a=n.getAngleAxis(),r=n.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();i.each(e.mapDimension("radius",!0),function(t){r.scale.unionExtentFromData(e,c(e,t))}),i.each(e.mapDimension("angle",!0),function(t){a.scale.unionExtentFromData(e,c(e,t))})}}),l(a.scale,a.model),l(r.scale,r.model),"category"===a.type&&!a.onBand){var o=a.getExtent(),s=360/a.scale.count();a.inverse?o[1]+=s:o[1]-=s,a.setExtent(o[0],o[1])}}function d(t,e){if(t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}n("ePAk"),u.register("polar",{dimensions:a.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,i){var o=new a(i);o.update=h;var s=o.getRadiusAxis(),l=o.getAngleAxis(),u=t.findAxisModel("radiusAxis"),c=t.findAxisModel("angleAxis");d(s,u),d(l,c),function(t,e,n){var i=e.get("center"),a=n.getWidth(),o=n.getHeight();t.cx=r(i[0],a),t.cy=r(i[1],o);var s=t.getRadiusAxis(),l=Math.min(a,o)/2,u=r(e.get("radius"),l);s.inverse?s.setExtent(u,0):s.setExtent(0,u)}(o,t,e),n.push(o),t.coordinateSystem=o,o.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=n.coordinateSystem}}),n}})},HjIi:function(t,e,n){var i=n("bYtY"),a=n("OELB").parsePercent,r=n("7hqr").isDimensionStacked;function o(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t){return t.dim}t.exports=function(t,e,n){n.getWidth(),n.getHeight();var l={},u=function(t,e){var n={};i.each(t,function(t,e){var i=t.getData(),r=t.coordinateSystem.getBaseAxis(),l=r.getExtent(),u="category"===r.type?r.getBandWidth():Math.abs(l[1]-l[0])/i.count(),c=n[s(r)]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=c.stacks;n[s(r)]=c;var d=o(t);h[d]||c.autoWidthCount++,h[d]=h[d]||{width:0,maxWidth:0};var f=a(t.get("barWidth"),u),p=a(t.get("barMaxWidth"),u),g=t.get("barGap"),m=t.get("barCategoryGap");f&&!h[d].width&&(f=Math.min(c.remainedWidth,f),h[d].width=f,c.remainedWidth-=f),p&&(h[d].maxWidth=p),null!=g&&(c.gap=g),null!=m&&(c.categoryGap=m)});var r={};return i.each(n,function(t,e){r[e]={};var n=t.stacks,o=a(t.categoryGap,t.bandWidth),s=a(t.gap,1),l=t.remainedWidth,u=t.autoWidthCount,c=(l-o)/(u+(u-1)*s);c=Math.max(c,0),i.each(n,function(t,e){var n=t.maxWidth;n&&n<c&&(n=Math.min(n,l),t.width&&(n=Math.min(n,t.width)),l-=n,t.width=n,u--)}),c=(l-o)/(u+(u-1)*s),c=Math.max(c,0);var h,d=0;i.each(n,function(t,e){t.width||(t.width=c),h=t,d+=t.width*(1+s)}),h&&(d-=h.width*s);var f=-d/2;i.each(n,function(t,n){r[e][n]=r[e][n]||{offset:f,width:t.width},f+=t.width*(1+s)})}),r}(i.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=o(t),c=u[s(i)][a],h=c.offset,d=c.width,f=n.getOtherAxis(i),p=t.coordinateSystem.cx,g=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,v=t.get("barMinAngle")||0;l[a]=l[a]||[];for(var y=e.mapDimension(f.dim),x=e.mapDimension(i.dim),_=r(e,y),b=f.getExtent()[0],w=0,S=e.count();w<S;w++){var M=e.get(y,w),I=e.get(x,w);if(!isNaN(M)){var T,A,D,C,L=M>=0?"p":"n",P=b;if(_&&(l[a][I]||(l[a][I]={p:b,n:b}),P=l[a][I][L]),"radius"===f.dim){var k=f.dataToRadius(M)-b,O=i.dataToAngle(I);Math.abs(k)<m&&(k=(k<0?-1:1)*m),T=P,A=P+k,C=(D=O-h)-d,_&&(l[a][I][L]=A)}else{var E=f.dataToAngle(M,!0)-b,N=i.dataToRadius(I);Math.abs(E)<v&&(E=(E<0?-1:1)*v),A=(T=N+h)+d,D=P,C=P+E,_&&(l[a][I][L]=C)}e.setItemLayout(w,{cx:p,cy:g,r0:T,r:A,startAngle:-D*Math.PI/180,endAngle:-C*Math.PI/180})}}}},this)}},Hw7h:function(t,e,n){var i=n("y+Vt").extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var n=Math.cos,i=Math.sin,a=e.r,r=e.width,o=e.angle,s=e.x-n(o)*r*(r>=a/3?1:2),l=e.y-i(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(o)*r,e.y+i(o)*r),t.lineTo(e.x+n(e.angle)*a,e.y+i(e.angle)*a),t.lineTo(e.x-n(o)*r,e.y-i(o)*r),t.lineTo(s,l)}});t.exports=i},Hxpc:function(t,e,n){var i=n("bYtY"),a=n("4NO4"),r=n("bLfw"),o=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),u=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){r.prototype.init.apply(this,arguments),a.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=i.reduce(t.regions||[],function(t,n){return n.name&&t.set(n.name,new o(n,e)),t},i.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new o(null,this,this.ecModel)},getFormattedLabel:function(t,e){var n=this.getRegionModel(t).get("label."+e+".formatter"),i={name:t};return"function"==typeof n?(i.status=e,n(i)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});i.mixin(u,s),t.exports=u},"I+77":function(t,e,n){var i=n("ProS");n("h54F"),n("lwQL"),n("10cm");var a=n("Z1r0"),r=n("f5Yq"),o=n("KUOm"),s=n("3m61"),l=n("01d+"),u=n("rdor"),c=n("WGYa"),h=n("ewwo");i.registerProcessor(a),i.registerVisual(r("graph","circle",null)),i.registerVisual(o),i.registerVisual(s),i.registerLayout(l),i.registerLayout(u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:h})},"I+Bx":function(t,e,n){var i=n("bYtY"),a=n("eIcI"),r=n("ieMj"),o=n("OELB"),s=n("aX7z"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("IDmD");function h(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new a(n,new r);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n)}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){return this.coordToPoint(this._indicatorAxes[e].dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},h.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var a,r=Math.atan2(-n,e),o=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(r-u.angle);c<o&&(a=u,s=l,o=c)}return[s,+(a&&a.coodToData(i))]},h.prototype.resize=function(t,e){var n=t.get("center"),a=e.getWidth(),r=e.getHeight(),s=Math.min(a,r)/2;this.cx=o.parsePercent(n[0],a),this.cy=o.parsePercent(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var l=t.get("radius");"string"!=typeof l&&"number"!=typeof l||(l=[0,l]),this.r0=o.parsePercent(l[0],s),this.r=o.parsePercent(l[1],s),i.each(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n},this)},h.prototype.update=function(t,e){var n=this._indicatorAxes,a=this._model;i.each(n,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===a){var o=e.getData();i.each(n,function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))})}},this);var r=a.get("splitNumber");function s(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}i.each(n,function(t,e){var n=l(t.scale,t.model);u(t.scale,t.model);var i=t.model,a=t.scale,c=i.getMin(),h=i.getMax(),d=a.getInterval();if(null!=c&&null!=h)a.setExtent(+c,+h),a.setInterval((h-c)/r);else if(null!=c){var f;do{a.setExtent(+c,f=c+d*r),a.setInterval(d),d=s(d)}while(f<n[1]&&isFinite(f)&&isFinite(n[1]))}else if(null!=h){var p;do{a.setExtent(p=h-d*r,+h),a.setInterval(d),d=s(d)}while(p>n[0]&&isFinite(p)&&isFinite(n[0]))}else{a.getTicks().length-1>r&&(d=s(d));var g=Math.round((n[0]+n[1])/2/d)*d,m=Math.round(r/2);a.setExtent(o.round(g-m*d),o.round(g+(r-m)*d)),a.setInterval(d)}})},h.dimensions=[],h.create=function(t,e){var n=[];return t.eachComponent("radar",function(i){var a=new h(i,t,e);n.push(a),i.coordinateSystem=a}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])}),n},c.register("radar",h),t.exports=h},"I3/A":function(t,e,n){var i=n("bYtY"),a=n("YXkt"),r=n("c2i1"),o=n("Mdki"),s=n("sdST"),l=n("IDmD"),u=n("MwEJ");t.exports=function(t,e,n,c,h){for(var d=new r(c),f=0;f<t.length;f++)d.addNode(i.retrieve(t[f].id,t[f].name,f),f);var p=[],g=[],m=0;for(f=0;f<e.length;f++){var v=e[f],y=v.source,x=v.target;d.addEdge(y,x,m)&&(g.push(v),p.push(i.retrieve(v.id,y+" > "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,n);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];i.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});(_=new a(M,n)).initData(t)}var I=new a(["value"],n);return I.initData(g,p),h&&h(_,I),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},ICMv:function(t,e,n){var i=n("bYtY");t.exports={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!=typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!=typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:i.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}}},IDmD:function(t,e,n){var i=n("bYtY"),a={};function r(){this._coordinateSystems=[]}r.prototype={constructor:r,create:function(t,e){var n=[];i.each(a,function(i,a){var r=i.create(t,e);n=n.concat(r||[])}),this._coordinateSystems=n},update:function(t,e){i.each(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},r.register=function(t,e){a[t]=e},r.get=function(t){return a[t]},t.exports=r},IMiH:function(t,e,n){var i=n("Sj9i"),a=n("QBsz"),r=n("4mN7"),o=n("mFDi"),s=n("LPTA").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],h=[],d=[],f=Math.min,p=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,x="undefined"!=typeof Float32Array,_=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};_.prototype={constructor:_,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=y(1/s/t)||0,this._uy=y(1/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,a,r){return this.addData(l.C,t,e,n,i,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,a,r):this._ctx.bezierCurveTo(t,e,n,i,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,n,i){return this.addData(l.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,a,r){return this.addData(l.A,t,e,n,n,i,a-i,0,r?0:1),this._ctx&&this._ctx.arc(t,e,n,i,a,r),this._xi=g(a)*n+t,this._yi=m(a)*n+e,this},arcTo:function(t,e,n,i,a){return this._ctx&&this._ctx.arcTo(t,e,n,i,a),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length==e||!x||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,a=0;a<e;a++)n+=t[a].len();for(x&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n)),a=0;a<e;a++)for(var r=t[a].data,o=0;o<r.length;o++)this.data[i++]=r[o];this._len=i},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,i,a=this._dashSum,r=this._dashOffset,o=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=t-l,h=e-u,d=v(c*c+h*h),g=l,m=u,y=o.length;for(r<0&&(r=a+r),g-=(r%=a)*(c/=d),m-=r*(h/=d);c>0&&g<=t||c<0&&g>=t||0==c&&(h>0&&m<=e||h<0&&m>=e);)g+=c*(n=o[i=this._dashIdx]),m+=h*n,this._dashIdx=(i+1)%y,c>0&&g<l||c<0&&g>l||h>0&&m<u||h<0&&m>u||s[i%2?"moveTo":"lineTo"](c>=0?f(g,t):p(g,t),h>=0?f(m,e):p(m,e));this._dashOffset=-v((c=g-t)*c+(h=m-e)*h)},_dashedBezierTo:function(t,e,n,a,r,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=i.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,n,r,s+.1)-x(m,t,n,r,s),u=x(y,e,a,o,s+.1)-x(y,e,a,o,s),_+=v(l*l+u*u);for(;b<w&&!((S+=p[b])>f);b++);for(s=(S-f)/_;s<=1;)c=x(m,t,n,r,s),h=x(y,e,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(r,o),this._dashOffset=-v((l=r-c)*l+(u=o-h)*u)},_dashedQuadraticTo:function(t,e,n,i){var a=n,r=i;n=(n+2*t)/3,i=(i+2*e)/3,this._dashedBezierTo(t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,n,i,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,f=0;f<t.length;){var p=t[f++];switch(1==f&&(i=e=t[f],s=n=t[f+1]),p){case l.M:e=i=t[f++],n=s=t[f++],h[0]=i,h[1]=s,d[0]=i,d[1]=s;break;case l.L:r.fromLine(e,n,t[f],t[f+1],h,d),e=t[f++],n=t[f++];break;case l.C:r.fromCubic(e,n,t[f++],t[f++],t[f++],t[f++],t[f],t[f+1],h,d),e=t[f++],n=t[f++];break;case l.Q:r.fromQuadratic(e,n,t[f++],t[f++],t[f],t[f+1],h,d),e=t[f++],n=t[f++];break;case l.A:var v=t[f++],y=t[f++],x=t[f++],_=t[f++],b=t[f++],w=t[f++]+b,S=(f++,1-t[f++]);1==f&&(i=g(b)*x+v,s=m(b)*_+y),r.fromArc(v,y,x,_,b,w,S,h,d),e=g(w)*x+v,n=m(w)*_+y;break;case l.R:i=e=t[f++],s=n=t[f++];var M=t[f++],I=t[f++];r.fromLine(i,s,i+M,s+I,h,d);break;case l.Z:e=i,n=s}a.min(u,u,h),a.max(c,c,d)}return 0===f&&(u[0]=u[1]=c[0]=c[1]=0),new o(u[0],u[1],c[0]-u[0],c[1]-u[1])},rebuildPath:function(t){for(var e,n,i,a,r,o,s=this.data,u=this._ux,c=this._uy,h=this._len,d=0;d<h;){var f=s[d++];switch(1==d&&(e=i=s[d],n=a=s[d+1]),f){case l.M:e=i=s[d++],n=a=s[d++],t.moveTo(i,a);break;case l.L:r=s[d++],o=s[d++],(y(r-i)>u||y(o-a)>c||d===h-1)&&(t.lineTo(r,o),i=r,a=o);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),i=s[d-2],a=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),i=s[d-2],a=s[d-1];break;case l.A:var p=s[d++],v=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=x>_?x:_,T=x>_?1:x/_,A=x>_?_/x:1,D=b+w;Math.abs(x-_)>.001?(t.translate(p,v),t.rotate(S),t.scale(T,A),t.arc(0,0,I,b,D,1-M),t.scale(1/T,1/A),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,I,b,D,1-M),1==d&&(e=g(b)*x+p,n=m(b)*_+v),i=g(D)*x+p,a=m(D)*_+v;break;case l.R:e=i=s[d],n=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),i=e,a=n}}}},_.CMD=l,t.exports=_},IUWy:function(t,e){var n={};e.register=function(t,e){n[t]=e},e.get=function(t){return n[t]}},IWNH:function(t,e,n){var i=n("T4UG"),a=n("Bsck"),r=n("7aKB").encodeHTML,o=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n={};n.leaves=t.leaves||{};var i=a.createTree(e,this,n),r=0;i.eachNode("preorder",function(t){t.depth>r&&(r=t.depth)});var o=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return i.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=o}),i.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),a=i.getValue(),o=i.name;i&&i!==n;)o=i.parentNode.name+"."+o,i=i.parentNode;return r(o+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=o},IWp7:function(t,e,n){var i=n("bYtY"),a=n("OELB"),r=n("7aKB"),o=n("lE7J"),s=n("ieMj"),l=s.prototype,u=Math.ceil,c=Math.floor,h=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return r.formatTime(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),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]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=a.round(c(e[0]/i)*i)),t.fixMax||(e[1]=a.round(u(e[1]/i)*i))},niceTicks:function(t,e,n){var i=this._extent,r=i[1]-i[0],s=r/(t=t||10);null!=e&&s<e&&(s=e),null!=n&&s>n&&(s=n);var l=d.length,h=function(t,e,n,i){for(;n<i;){var a=n+i>>>1;t[a][1]<e?n=a+1:i=a}return n}(d,s,0,l),f=d[Math.min(h,l-1)],p=f[1];"year"===f[0]&&(p*=a.nice(r/p/t,!0));var g=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,m=[Math.round(u((i[0]-g)/p)*p+g),Math.round(c((i[1]-g)/p)*p+g)];o.fixExtent(m,i),this._stepLvl=f,this._interval=p,this._niceExtent=m},parse:function(t){return+a.parseDate(t)}});i.each(["contain","normalize"],function(t){h.prototype[t]=function(e){return l[t].call(this,this.parse(e))}});var d=[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",36e5],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",216e5],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",864e5],["MM-dd\nyyyy",1728e5],["MM-dd\nyyyy",2592e5],["MM-dd\nyyyy",3456e5],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",5184e5],["week",6048e5],["MM-dd\nyyyy",864e6],["week",12096e5],["week",18144e5],["month",26784e5],["week",36288e5],["month",53568e5],["week",6048e6],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];h.create=function(t){return new h({useUTC:t.ecModel.get("useUTC")})},t.exports=h},IXuL:function(t,e,n){n("Tghj");var i=n("MwEJ"),a=n("T4UG").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=a},IXyC:function(t,e,n){var i=n("bYtY"),a=n("bLfw");n("3zoK");var r=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){t&&i.merge(this.option,t,!0),this._initDimensions()},contains:function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},setAxisExpand:function(t){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);i.each(n,function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})}});t.exports=r},ItGF:function(t,e){var n,i,a,r,o,s,l;n="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:(a={},r=(i=navigator.userAgent).match(/Firefox\/([\d.]+)/),o=i.match(/MSIE\s([\d.]+)/)||i.match(/Trident\/.+?rv:(([\d.]+))/),s=i.match(/Edge\/([\d.]+)/),l=/micromessenger/i.test(i),r&&(a.firefox=!0,a.version=r[1]),o&&(a.ie=!0,a.version=o[1]),s&&(a.edge=!0,a.version=s[1]),l&&(a.weChat=!0),{browser:a,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!a.ie&&!a.edge,pointerEventsSupported:"onpointerdown"in window&&(a.edge||a.ie&&a.version>=11),domSupported:"undefined"!=typeof document}),t.exports=n},Itpr:function(t,e,n){var i=n("+TT/");function a(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function r(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function o(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function s(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function l(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,i=[t];e=i.pop();)if(n=e.children,e.isExpand&&n.length)for(var a=n.length-1;a>=0;a--){var r=n[a];r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(r)}},e.firstWalk=function(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,l=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){for(var e=t.children,n=e.length,i=0,a=0;--n>=0;){var r=e[n];r.hierNode.prelim+=i,r.hierNode.modifier+=i,i+=r.hierNode.shift+(a+=r.hierNode.change)}}(t);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var l=t,u=t,c=u.parentNode.children[0],h=e,d=l.hierNode.modifier,f=u.hierNode.modifier,p=c.hierNode.modifier,g=h.hierNode.modifier;h=a(h),u=r(u),h&&u;){l=a(l),c=r(c),l.hierNode.ancestor=t;var m=h.hierNode.prelim+g-u.hierNode.prelim-f+i(h,u);m>0&&(s(o(h,t,n),t,m),f+=m,d+=m),g+=h.hierNode.modifier,f+=u.hierNode.modifier,d+=l.hierNode.modifier,p+=c.hierNode.modifier}h&&!a(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=g-d),u&&!r(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=f-p,n=t)}return n}(t,l,t.parentNode.hierNode.defaultAncestor||i[0],e)},e.secondWalk=function(t){t.setLayout({x:t.hierNode.prelim+t.parentNode.hierNode.modifier},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},e.getViewRect=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},IwbS:function(t,e,n){var i=n("bYtY"),a=n("NC18"),r=n("Qe9p"),o=n("Fofx"),s=n("QBsz"),l=n("y+Vt"),u=n("DN4a"),c=n("Dagg");e.Image=c;var h=n("4fz+");e.Group=h;var d=n("dqUG");e.Text=d;var f=n("2fw6");e.Circle=f;var p=n("SqI9");e.Sector=p;var g=n("RXMa");e.Ring=g;var m=n("h7HQ");e.Polygon=m;var v=n("1Jh7");e.Polyline=v;var y=n("x6Kt");e.Rect=y;var x=n("yxFR");e.Line=x;var _=n("rA99");e.BezierCurve=_;var b=n("jTL6");e.Arc=b;var w=n("1MYJ");e.CompoundPath=w;var S=n("SKnc");e.LinearGradient=S;var M=n("3e3G");e.RadialGradient=M;var I=n("mFDi");e.BoundingRect=I;var T=n("OS9S");e.IncrementalDisplayable=T;var A=Math.round,D=Math.max,C=Math.min,L={};function P(t,e,n,i){var r=a.createFromString(t,e);return n&&("center"===i&&(n=k(n,r.getBoundingRect())),E(r,n)),r}function k(t,e){var n,i=e.width/e.height,a=t.height*i;return n=a<=t.width?t.height:(a=t.width)/i,{x:t.x+t.width/2-a/2,y:t.y+t.height/2-n/2,width:a,height:n}}var O=a.mergePath;function E(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function N(t,e,n){var i=A(2*t);return(i+A(e))%2==0?i/2:(i+(n?1:-1))/2}function R(t){return null!=t&&"none"!==t}var z=i.createHashMap(),B=0;function V(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.useHoverLayer;t.__highlighted=n?"layer":"plain";var i=t.__zr;if(i||!n){var a=t,r=t.style;n&&(r=(a=i.addHover(t)).style),tt(r),n||function(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__normalStl={},i=t.style;for(var a in e)null!=e[a]&&(n[a]=i[a]);n.fill=i.fill,n.stroke=i.stroke}else t.__normalStl=null}}(a),r.extendFrom(e),Y(r,e,"fill"),Y(r,e,"stroke"),$(r),n||(t.dirty(!1),t.z2+=1)}}}function Y(t,e,n){!R(e[n])&&R(t[n])&&(t[n]=function(t){if("string"!=typeof t)return t;var e=z.get(t);return e||(e=r.lift(t,-.1),B<1e4&&(z.set(t,e),B++)),e}(t[n]))}function G(t){t.__highlighted&&(function(t){var e=t.__highlighted;if("layer"===e)t.__zr&&t.__zr.removeHover(t);else if(e){var n=t.style,i=t.__normalStl;i&&(tt(n),t.setStyle(i),$(n),t.z2-=1)}}(t),t.__highlighted=!1)}function F(t,e){t.isGroup?t.traverse(function(t){!t.isGroup&&e(t)}):e(t)}function H(t,e){e=t.__hoverStl=!1!==e&&(e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(G(t),V(t))}function W(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&F(this,V)}function j(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&F(this,G)}function U(){this.__isEmphasisEntered=!0,F(this,V)}function Z(){this.__isEmphasisEntered=!1,F(this,G)}function X(t,e){var n=!1===e;if(t.__hoverSilentOnTouch=null!=e&&e.hoverSilentOnTouch,!n||t.__hoverStyleTrigger){var i=n?"off":"on";t[i]("mouseover",W)[i]("mouseout",j),t[i]("emphasis",U)[i]("normal",Z),t.__hoverStyleTrigger=!n}}function q(t,e,n,a,r){return K(t,e,a,r),n&&i.extend(t,n),t}function K(t,e,n,a){if((n=n||L).isRectText){var r=e.getShallow("position")||(a?null:"inside");"outside"===r&&(r="top"),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=i.retrieve2(e.getShallow("distance"),a?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||L).rich;if(n)for(var i in e=e||{},n)n.hasOwnProperty(i)&&(e[i]=1);t=t.parentModel}return e}(e);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=e.getModel(["rich",h]);Q(s[h]={},d,u,n,a)}return t.rich=s,Q(t,e,u,n,a,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function Q(t,e,n,a,r,o){n=!r&&n||L,t.textFill=J(e.getShallow("color"),a)||n.color,t.textStroke=J(e.getShallow("textBorderColor"),a)||n.textBorderColor,t.textStrokeWidth=i.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),t.insideRawTextPosition=t.textPosition,r||(o&&(t.insideRollbackOpt=a,$(t)),null==t.textFill&&(t.textFill=a.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&a.disableBox||(t.textBackgroundColor=J(e.getShallow("backgroundColor"),a),t.textPadding=e.getShallow("padding"),t.textBorderColor=J(e.getShallow("borderColor"),a),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function J(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function $(t){var e=t.insideRollbackOpt;if(e&&null==t.textFill){var n,i=e.useInsideStyle,a=t.insideRawTextPosition,r=e.autoColor;!1!==i&&(!0===i||e.isRectText&&a&&"string"==typeof a&&a.indexOf("inside")>=0)?(n={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))):null!=r&&(n={textFill:null},t.textFill=r),n&&(t.insideRollback=n)}}function tt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function et(t,e,n,i,a,r){if("function"==typeof a&&(r=a,a=null),i&&i.isAnimationEnabled()){var o=t?"Update":"",s=i.getShallow("animationDuration"+o),l=i.getShallow("animationEasing"+o),u=i.getShallow("animationDelay"+o);"function"==typeof u&&(u=u(a,i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null)),"function"==typeof s&&(s=s(a)),s>0?e.animateTo(n,s,u||0,l,r,!!r):(e.stopAnimation(),e.attr(n),r&&r())}else e.stopAnimation(),e.attr(n),r&&r()}function nt(t,e,n,i,a){et(!0,t,e,n,i,a)}function it(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=o.invert([],e)),s.applyTransform([],t,e)}e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return a.extendFromString(t,e)},e.makePath=P,e.makeImage=function(t,e,n){var i=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){"center"===n&&i.setStyle(k(e,{width:t.width,height:t.height}))}});return i},e.mergePath=O,e.resizePath=E,e.subPixelOptimizeLine=function(t){var e=t.shape,n=t.style.lineWidth;return A(2*e.x1)===A(2*e.x2)&&(e.x1=e.x2=N(e.x1,n,!0)),A(2*e.y1)===A(2*e.y2)&&(e.y1=e.y2=N(e.y1,n,!0)),t},e.subPixelOptimizeRect=function(t){var e=t.shape,n=t.style.lineWidth,i=e.x,a=e.y,r=e.width,o=e.height;return e.x=N(e.x,n,!0),e.y=N(e.y,n,!0),e.width=Math.max(N(i+r,n,!1)-e.x,0===r?0:1),e.height=Math.max(N(a+o,n,!1)-e.y,0===o?0:1),t},e.subPixelOptimize=N,e.setElementHoverStyle=H,e.isInEmphasis=function(t){return t&&t.__isEmphasisEntered},e.setHoverStyle=function(t,e,n){t.isGroup?t.traverse(function(t){!t.isGroup&&H(t,t.hoverStyle||e)}):H(t,t.hoverStyle||e),X(t,n)},e.setAsHoverStyleTrigger=X,e.setLabelStyle=function(t,e,n,a,r,o,s){var l,u=(r=r||L).labelFetcher,c=r.labelDataIndex,h=r.labelDimIndex,d=n.getShallow("show"),f=a.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h)),null==l&&(l=i.isFunction(r.defaultText)?r.defaultText(c,r):r.defaultText));var p=d?l:null,g=f?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h):null,l):null;null==p&&null==g||(q(t,n,o,r),q(e,a,s,r,!0)),t.text=p,e.text=g},e.setTextStyle=q,e.setText=function(t,e,n){var i,a={isRectText:!0};!1===n?i=!0:a.autoColor=n,K(t,e,a,i)},e.getFont=function(t,e){var n=e||e.getModel("textStyle");return i.trim([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(" "))},e.updateProps=nt,e.initProps=function(t,e,n,i,a){et(!1,t,e,n,i,a)},e.getTransform=function(t,e){for(var n=o.identity([]);t&&t!==e;)o.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=it,e.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-i:"right"===t?i:0,"top"===t?-a:"bottom"===t?a:0];return r=it(r,e,n),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,a){if(t&&e){var r,o=(r={},t.traverse(function(t){!t.isGroup&&t.anid&&(r[t.anid]=t)}),r);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var i=l(t);t.attr(l(e)),nt(t,i,n,t.dataIndex)}}})}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return i.map(t,function(t){var n=t[0];n=D(n,e.x),n=C(n,e.x+e.width);var i=t[1];return i=D(i,e.y),[n,i=C(i,e.y+e.height)]})},e.clipRectByRect=function(t,e){var n=D(t.x,e.x),i=C(t.x+t.width,e.x+e.width),a=D(t.y,e.y),r=C(t.y+t.height,e.y+e.height);if(i>=n&&r>=a)return{x:n,y:a,width:i-n,height:r-a}},e.createIcon=function(t,e,n){var a=(e=i.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),i.defaults(a,n),new c(e)):P(t.replace("path://",""),e,n,"center")}},IyUQ:function(t,e,n){var i=n("bYtY"),a=n("YH21"),r=n("IwbS"),o=n("iLNv"),s=n("fc+c"),l=n("OELB"),u=n("+TT/"),c=n("72pK"),h=r.Rect,d=l.linearMap,f=l.asc,p=i.bind,g=i.each,m="horizontal",v=5,y=["line","bar","candlestick","scatter"],x=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this.api=e},render:function(t,e,n,i){x.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},r=this._orient===m?{right:a.width-n.x-n.width,top:a.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},o=u.getLayoutParams(t.option);i.each(["right","top","width","height"],function(t){"ph"===o[t]&&(o[t]=r[t])});var s=u.getLayoutRect(o,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),a=i&&i.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(n!==m||a?n===m&&a?{scale:o?[-1,1]:[-1,-1]}:"vertical"!==n||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([r]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this._size,e=this._displayables.barGroup;e.add(new h({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:this.dataZoomModel.get("backgroundColor")},z2:-40})),e.add(new h({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,n=t.series,a=n.getRawData(),o=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],h=[[e[0],0],[0,0]],f=[],p=e[0]/(a.count()-1),g=0,m=Math.round(a.count()/e[0]);a.each([o],function(t,e){if(m>0&&e%m)g+=p;else{var n=null==t||isNaN(t)||""===t,i=n?0:d(t,s,c,!0);n&&!u&&e?(h.push([h[h.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&u&&(h.push([g,0]),f.push([g,0])),h.push([g,i]),f.push([g,i]),g+=p,u=n}});var v=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:h},style:i.defaults({fill:v.get("dataBackgroundColor")},v.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:f},style:v.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,a=this.ecModel;return t.eachTargetAxis(function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();i.each(s,function(t){if(!(n||!0!==e&&i.indexOf(y,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[r.name],c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),n={thisAxis:l,series:t,thisDim:r.name,otherDim:u,otherAxisInverse:s}}},this)},this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,o=this._size,s=this.dataZoomModel;i.add(t.filler=new h({draggable:!0,cursor:_(this._orient),drift:p(this._onDragMove,this,"all"),onmousemove:function(t){a.stop(t.event)},ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),i.add(new h(r.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),g([0,1],function(t){var o=r.createIcon(s.get("handleIcon"),{cursor:_(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),onmousemove:function(t){a.stop(t.event)},ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=o.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,o.setStyle(s.getModel("handleStyle").getItemStyle());var c=s.get("handleColor");null!=c&&(o.style.fill=c),i.add(e[t]=o);var h=s.textStyleModel;this.group.add(n[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,a=this._getViewExtent(),r=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(e,i,a,n.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=f([d(i[0],a,o,!0),d(i[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=f(n.slice()),a=this._size;g([0,1],function(t){var i=this._handleHeight;e.handles[t].attr({scale:[i/2,i/2],position:[n[t],a[1]/2-i/2]})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=r.getTransform(n.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,u=r.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);i[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===m?"middle":s,textAlign:a===m?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,a=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return i.isFunction(a)?a(t,o):i.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(t){var e=this._displayables.handleLabels;e[0].attr("invisible",!(t=this._dragging||t)),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n){this._dragging=!0;var i=this._displayables.barGroup.getLocalTransform(),a=r.applyTransform([e,n],i,!0),o=this._updateInterval(t,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),o&&s&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,a=this._updateInterval("all",n[0]-(i[0]+i[1])/2);this._updateView(),a&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}}),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=x},JEkh:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("ItGF"),o=n("4NO4"),s=n("7aKB"),l=n("OKJ2"),u=s.addCommas,c=s.encodeHTML;function h(t){o.defaultEmphasis(t,"label",["show"])}var d=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n),this.mergeOption(t,n,i.createdBySelf,!0)},isAnimationEnabled:function(){if(r.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,n,i){var r=this.constructor,o=this.mainType+"Model";n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),s=t[o];n&&n.data?(s?s.mergeOption(n,e,!0):(i&&h(n),a.each(n.data,function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)}),s=new r(n,this,e),a.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null},this)},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),i=a.isArray(n)?a.map(n,u).join(", "):u(n),r=e.getName(t),o=c(this.name);return(null!=n||r)&&(o+="<br />"),r&&(o+=c(r),null!=n&&(o+=" : ")),null!=n&&(o+=c(i)),o},getData:function(){return this._data},setData:function(t){this._data=t}});a.mixin(d,l),t.exports=d},JLnu:function(t,e,n){var i=n("+TT/"),a=n("OELB"),r=a.parsePercent,o=a.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",function(t){var n=t.getData(),a=n.mapDimension("value"),s=t.get("sort"),l=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,function(t){return t}),a=[],r="ascending"===e,o=0,s=t.count();o<s;o++)a[o]=o;return"function"==typeof e?a.sort(e):"none"!==e&&a.sort(function(t,e){return r?i[t]-i[e]:i[e]-i[t]}),a}(n,s),c=[r(t.get("minSize"),l.width),r(t.get("maxSize"),l.width)],h=n.getDataExtent(a),d=t.get("min"),f=t.get("max");null==d&&(d=Math.min(h[0],0)),null==f&&(f=h[1]);var p=t.get("funnelAlign"),g=t.get("gap"),m=(l.height-g*(n.count()-1))/n.count(),v=l.y,y=function(t,e){var i,r=n.get(a,t)||0,s=o(r,[d,f],c,!0);switch(p){case"left":i=l.x;break;case"center":i=l.x+(l.width-s)/2;break;case"right":i=l.x+l.width-s}return[[i,e],[i+s,e]]};"ascending"===s&&(m=-m,g=-g,v+=l.height,u=u.reverse());for(var x=0;x<u.length;x++){var _=u[x],b=u[x+1],w=n.getItemModel(_).get("itemStyle.height");null==w?w=m:(w=r(w,l.height),"ascending"===s&&(w=-w));var S=y(_,v),M=y(b,v+w);v+=w+g,n.setItemLayout(_,{points:S.concat(M.slice().reverse())})}!function(t){t.each(function(e){var n,i,a,r,o=t.getItemModel(e),s=o.getModel("label").get("position"),l=o.getModel("labelLine"),u=t.getItemLayout(e),c=u.points,h="inner"===s||"inside"===s||"center"===s;if(h)n="center",r=[[i=(c[0][0]+c[1][0]+c[2][0]+c[3][0])/4,a=(c[0][1]+c[1][1]+c[2][1]+c[3][1])/4],[i,a]];else{var d,f,p,g=l.get("length");"left"===s?(f=(c[3][1]+c[0][1])/2,i=(p=(d=(c[3][0]+c[0][0])/2)-g)-5,n="right"):(f=(c[1][1]+c[2][1])/2,i=(p=(d=(c[1][0]+c[2][0])/2)+g)+5,n="left"),r=[[d,f],[p,f]],a=f}u.label={linePoints:r,x:i,y:a,verticalAlign:"middle",textAlign:n,inside:h}})}(n)})}},JVwQ:function(t,e,n){var i=n("ProS"),a=n("1NG9").Polygon,r=n("IwbS"),o=n("bYtY"),s=o.bind,l=o.extend,u=n("gPAo"),c=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,n){var i=t.getData(),o=this.group,c=t.getLayerSeries(),h=i.getLayout("layoutInfo");function d(t){return t.name}o.attr("position",[0,h.rect.y+h.boundaryGap[0]]);var f=new u(this._layersSeries||[],c,d,d),p={};function g(e,n,s){var u=this._layers;if("remove"!==e){for(var h,d,f,g=[],m=[],v=c[n].indices,y=0;y<v.length;y++){var x=i.getItemLayout(v[y]),_=x.x,b=x.y0,w=x.y;g.push([_,b]),m.push([_,b+w]),h=i.getItemVisual(v[y],"color")}var S=i.getItemLayout(v[0]),M=i.getItemModel(v[y-1]),I=M.getModel("label"),T=I.get("margin");if("add"===e){var A=p[n]=new r.Group;d=new a({shape:{points:g,stackedOnPoints:m,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),f=new r.Text({style:{x:S.x-T,y:S.y0+S.y/2}}),A.add(d),A.add(f),o.add(A),d.setClipPath(function(t,e,n){var i=new r.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return r.initProps(i,{shape:{width:t.width+20,height:t.height+20}},e,function(){d.removeClipPath()}),i}(d.getBoundingRect(),t))}else d=(A=u[s]).childAt(0),f=A.childAt(1),o.add(A),p[n]=A,r.updateProps(d,{shape:{points:g,stackedOnPoints:m}},t),r.updateProps(f,{style:{x:S.x-T,y:S.y0+S.y/2}},t);var D=M.getModel("emphasis.itemStyle"),C=M.getModel("itemStyle");r.setTextStyle(f.style,I,{text:I.get("show")?t.getFormattedLabel(v[y-1],"normal")||i.getName(v[y-1]):null,textVerticalAlign:"middle"}),d.setStyle(l({fill:h},C.getItemStyle(["color"]))),r.setHoverStyle(d,D.getItemStyle())}else o.remove(u[n])}f.add(s(g,this,"add")).update(s(g,this,"update")).remove(s(g,this,"remove")).execute(),this._layersSeries=c,this._layers=p},dispose:function(){}});t.exports=c},JuEJ:function(t,e,n){var i=n("bYtY"),a=n("4NO4"),r=i.each,o=i.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,a=s.length;n<a;n++){var r=s[n],o=e.normal,l=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?i.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),l&&l[r]&&(t[r]=t[r]||{},t[r].emphasis?i.merge(t[r].emphasis,l[r]):t[r].emphasis=l[r],l[r]=null)}}function u(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var a=t[e].normal,r=t[e].emphasis;a&&(n?(t[e].normal=t[e].emphasis=null,i.defaults(t[e],a)):t[e]=a),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r)}}function c(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function h(t,e){var n=o(t)&&t[e],i=o(n)&&n.textStyle;if(i)for(var r=0,s=a.TEXT_STYLE_OPTIONS.length;r<s;r++)i.hasOwnProperty(e=a.TEXT_STYLE_OPTIONS[r])&&(n[e]=i[e])}function d(t){t&&(c(t),h(t,"label"),t.emphasis&&h(t.emphasis,"label"))}function f(t){return i.isArray(t)?t:t?[t]:[]}function p(t){return(i.isArray(t)?t[0]:t)||{}}t.exports=function(t,e){r(f(t.series),function(t){o(t)&&function(t){if(o(t)){l(t),c(t),h(t,"label"),h(t,"upperLabel"),h(t,"edgeLabel"),t.emphasis&&(h(t.emphasis,"label"),h(t.emphasis,"upperLabel"),h(t.emphasis,"edgeLabel")),(n=t.markPoint)&&(l(n),d(n)),(a=t.markLine)&&(l(a),d(a));var e=t.markArea;e&&d(e);var n,a,r=t.data;if("graph"===t.type){r=r||t.nodes;var s=t.links||t.edges;if(s&&!i.isTypedArray(s))for(var f=0;f<s.length;f++)d(s[f]);i.each(t.categories,function(t){c(t)})}if(r&&!i.isTypedArray(r))for(f=0;f<r.length;f++)d(r[f]);if((n=t.markPoint)&&n.data){var p=n.data;for(f=0;f<p.length;f++)d(p[f])}if((a=t.markLine)&&a.data){var g=a.data;for(f=0;f<g.length;f++)i.isArray(g[f])?(d(g[f][0]),d(g[f][1])):d(g[f])}"gauge"===t.type?(h(t,"axisLabel"),h(t,"title"),h(t,"detail")):"treemap"===t.type?(u(t.breadcrumb,"itemStyle"),i.each(t.levels,function(t){c(t)})):"tree"===t.type&&c(t.leaves)}}(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),r(n,function(e){r(f(t[e]),function(t){t&&(h(t,"axisLabel"),h(t.axisPointer,"label"))})}),r(f(t.parallel),function(t){var e=t&&t.parallelAxisDefault;h(e,"axisLabel"),h(e&&e.axisPointer,"label")}),r(f(t.calendar),function(t){u(t,"itemStyle"),h(t,"dayLabel"),h(t,"monthLabel"),h(t,"yearLabel")}),r(f(t.radar),function(t){h(t,"name")}),r(f(t.geo),function(t){o(t)&&(d(t),r(f(t.regions),function(t){d(t)}))}),r(f(t.timeline),function(t){d(t),u(t,"label"),u(t,"itemStyle"),u(t,"controlStyle",!0);var e=t.data;i.isArray(e)&&i.each(e,function(t){i.isObject(t)&&(u(t,"label"),u(t,"itemStyle"))})}),r(f(t.toolbox),function(t){u(t,"iconStyle"),r(t.feature,function(t){u(t,"iconStyle")})}),h(p(t.axisPointer),"label"),h(p(t.tooltip).axisPointer,"label")}},K2GJ:function(t,e,n){for(var i=n("fW2E"),a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],r=function(t){this.extendFrom(t,!1)},o=r.prototype={constructor:r,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){for(var r=n&&n.style,o=!r,s=0;s<a.length;s++){var l=a[s],u=l[0];(o||this[u]!==r[u])&&(t[u]=i(t,u,this[u]||l[1]))}(o||this.fill!==r.fill)&&(t.fillStyle=this.fill),(o||this.stroke!==r.stroke)&&(t.strokeStyle=this.stroke),(o||this.opacity!==r.opacity)&&(t.globalAlpha=null==this.opacity?1:this.opacity),(o||this.blend!==r.blend)&&(t.globalCompositeOperation=this.blend||"source-over"),this.hasStroke()&&(t.lineWidth=this.lineWidth/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1))},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i=("radial"===e.type?function(t,e,n){var i=n.width,a=n.height,r=Math.min(i,a),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(o=o*i+n.x,s=s*a+n.y,l*=r),t.createRadialGradient(o,s,0,o,s,l)}:function(t,e,n){var i=null==e.x?0:e.x,a=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,a=a*n.width+n.x,r=r*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,a=isNaN(a)?1:a,r=isNaN(r)?0:r,o=isNaN(o)?0:o,t.createLinearGradient(i,r,a,o)})(t,e,n),a=e.colorStops,r=0;r<a.length;r++)i.addColorStop(a[r].offset,a[r].color);return i}},s=0;s<a.length;s++){var l=a[s];l[0]in o||(o[l[0]]=l[1])}r.getGradient=o.getGradient,t.exports=r},K4ya:function(t,e,n){var i=n("bYtY"),a=n("XxSj"),r=i.each;function o(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}e.createVisualMappings=function(t,e,n){var o={};return r(e,function(e){var s,l=o[e]=((s=function(){}).prototype.__hidden=s.prototype,new s);r(t[e],function(t,r){if(a.isValidType(r)){var o={type:r,visual:t};n&&n(o,e),l[r]=new a(o),"opacity"===r&&((o=i.clone(o)).type="colorAlpha",l.__hidden.__alphaForOpacity=new a(o))}})}),o},e.replaceVisualOption=function(t,e,n){var a;i.each(n,function(t){e.hasOwnProperty(t)&&o(e[t])&&(a=!0)}),a&&i.each(n,function(n){e.hasOwnProperty(n)&&o(e[n])?t[n]=i.clone(e[n]):delete t[n]})},e.applyVisual=function(t,e,n,r,o,s){var l,u={};function c(t){return n.getItemVisual(l,t)}function h(t,e){n.setItemVisual(l,t,e)}function d(t,i){var a=n.getRawDataItem(l=null==s?t:i);if(!a||!1!==a.visualMap)for(var d=r.call(o,t),f=e[d],p=u[d],g=0,m=p.length;g<m;g++){var v=p[g];f[v]&&f[v].applyVisual(t,c,h)}}i.each(t,function(t){var n=a.prepareVisualTypes(e[t]);u[t]=n}),null==s?n.each(d):n.each([s],d)},e.incrementalApplyVisual=function(t,e,n,r){var o={};return i.each(t,function(t){var n=a.prepareVisualTypes(e[t]);o[t]=n}),{progress:function(t,i){function a(t){return i.getItemVisual(l,t)}function s(t,e){i.setItemVisual(l,t,e)}var l;for(null!=r&&(r=i.getDimension(r));null!=(l=t.next());){var u=i.getRawDataItem(l);if(u&&!1===u.visualMap)return;for(var c=null!=r?i.get(r,l,!0):l,h=n(c),d=e[h],f=o[h],p=0,g=f.length;p<g;p++){var m=f[p];d[m]&&d[m].applyVisual(c,a,s)}}}}}},KCsZ:function(t,e,n){var i=n("bYtY");t.exports=function(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,n,a){for(var r={},o=0;o<t.length;o++){var s=t[o][1];if(!(n&&i.indexOf(n,s)>=0||a&&i.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}},KS52:function(t,e,n){var i=n("OELB"),a=i.parsePercent,r=i.linearMap,o=n("u3DP"),s=n("bYtY"),l=2*Math.PI,u=Math.PI/180;t.exports=function(t,e,n,i){e.eachSeriesByType(t,function(t){var e=t.getData(),i=e.mapDimension("value"),c=t.get("center"),h=t.get("radius");s.isArray(h)||(h=[0,h]),s.isArray(c)||(c=[c,c]);var d=n.getWidth(),f=n.getHeight(),p=Math.min(d,f),g=a(c[0],d),m=a(c[1],f),v=a(h[0],p/2),y=a(h[1],p/2),x=-t.get("startAngle")*u,_=t.get("minAngle")*u,b=0;e.each(i,function(t){!isNaN(t)&&b++});var w=e.getSum(i),S=Math.PI/(w||b)*2,M=t.get("clockwise"),I=t.get("roseType"),T=t.get("stillShowZeroSum"),A=e.getDataExtent(i);A[0]=0;var D=l,C=0,L=x,P=M?1:-1;if(e.each(i,function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:m,r0:v,r:I?NaN:y});else{(i="area"!==I?0===w&&T?S:t*S:l/b)<_?(i=_,D-=_):C+=t;var a=L+P*i;e.setItemLayout(n,{angle:i,startAngle:L,endAngle:a,clockwise:M,cx:g,cy:m,r0:v,r:I?r(t,A,[v,y]):y}),L=a}}),D<l&&b)if(D<=.001){var k=l/b;e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=k,i.startAngle=x+P*n*k,i.endAngle=x+P*(n+1)*k}})}else S=D/C,L=x,e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),a=i.angle===_?_:t*S;i.startAngle=L,i.endAngle=L+P*a,L+=P*a}});o(t,y,d,f)})}},KUOm:function(t,e){t.exports=function(t){var e={};t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getData(),a={};n.each(function(i){var r=n.getName(i);a["ec-"+r]=i;var o=n.getItemModel(i).get("itemStyle.color")||t.getColorFromPalette(r,e);n.setItemVisual(i,"color",o)}),n.count()&&i.each(function(t){var e=i.getItemModel(t).getShallow("category");null!=e&&("string"==typeof e&&(e=a["ec-"+e]),i.getItemVisual(t,"color",!0)||i.setItemVisual(t,"color",n.getItemVisual(e,"color")))})})}},Kagy:function(t,e){t.exports={toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}}},KamJ:function(t,e,n){var i=n("ProS"),a=n("szbU");n("vF/C"),n("qwVE"),n("BuqR"),n("AE9C"),n("1u/T"),i.registerPreprocessor(a)},KxfA:function(t,e,n){n("Tghj");var i=n("bYtY"),a=i.extend,r=i.each,o=i.isObject,s=n("4NO4"),l=s.getDataItemValue,u=s.isDataItemOption,c=n("OELB").parseDate,h=n("7G+c"),d=n("k9D9"),f=d.SOURCE_FORMAT_TYPED_ARRAY,p=d.SOURCE_FORMAT_ARRAY_ROWS,g=d.SOURCE_FORMAT_ORIGINAL,m=d.SOURCE_FORMAT_OBJECT_ROWS;function v(t,e){h.isInstance(t)||(t=h.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===f&&(this._offset=0,this._dimSize=e,this._data=n),a(this,x[i===p?i+"_"+t.seriesLayoutBy:i])}var y=v.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:w},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i<n.length;i++){var a=n[i];e.push(a?a[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:_,getItem:b,appendData:w},keyedColumns:{pure:!0,count:function(){var t=this._data[this._source.dimensionsDefine[0].name];return t?t.length:0},getItem:function(t){for(var e=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var a=this._data[n[i].name];e.push(a?a[t]:null)}return e},appendData:function(t){var e=this._data;r(t,function(t,n){for(var i=e[n]||(e[n]=[]),a=0;a<(t||[]).length;a++)i.push(t[a])})}},original:{count:_,getItem:b,appendData:w},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){e=e||[];for(var n=this._dimSize*(t-=this._offset),i=0;i<this._dimSize;i++)e[i]=this._data[n+i];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function _(){return this._data.length}function b(t){return this._data[t]}function w(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var S={arrayRows:M,objectRows:function(t,e,n,i){return null!=n?t[i]:t},keyedColumns:M,original:function(t,e,n,i){var a=l(t);return null!=n&&a instanceof Array?a[n]:a},typedArray:M};function M(t,e,n,i){return null!=n?t[n]:t}var I={arrayRows:T,objectRows:function(t,e,n,i){return A(t[e],this._dimensionInfos[e])},keyedColumns:T,original:function(t,e,n,i){var a=t&&(null==t.value?t:t.value);return!this._rawData.pure&&u(t)&&(this.hasItemOption=!0),A(a instanceof Array?a[i]:a,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}};function T(t,e,n,i){return A(t[i],this._dimensionInfos[e])}function A(t,e){var n=e&&e.type;if("ordinal"===n){var i=e&&e.ordinalMeta;return i?i.parseAndCollect(t):t}return"time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+c(t)),null==t||""===t?NaN:+t}e.DefaultDataProvider=v,e.defaultDimValueGetters=I,e.retrieveRawValue=function(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var a,r,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(n);return s&&(a=s.name,r=s.index),S[o](i,e,r,a)}}},e.retrieveRawAttr=function(t,e,n){if(t){var i=t.getProvider().getSource().sourceFormat;if(i===g||i===m){var a=t.getRawDataItem(e);return i!==g||o(a)||(a=null),a?a[n]:void 0}}}},L0Ub:function(t,e,n){var i=n("bYtY"),a=i.each,r=i.createHashMap,o=(n("Tghj"),r(["tooltip","label","itemName","itemId","seriesName"]));e.OTHER_DIMENSIONS=o,e.summarizeDimensions=function(t){var e={},n=e.encode={},i=r(),s=[],l=[];a(t.dimensions,function(e){var a,r=t.getDimensionInfo(e),u=r.coordDim;if(u){var c=n[u];n.hasOwnProperty(u)||(c=n[u]=[]),c[r.coordDimIndex]=e,r.isExtraCoord||(i.set(u,1),"ordinal"!==(a=r.type)&&"time"!==a&&(s[0]=e)),r.defaultTooltip&&l.push(e)}o.each(function(t,e){var i=n[e];n.hasOwnProperty(e)||(i=n[e]=[]);var a=r.otherDims[e];null!=a&&!1!==a&&(i[a]=r.name)})});var u=[],c={};i.each(function(t,e){var i=n[e];c[e]=i[0],u=u.concat(i)}),e.dataDimsOnCoord=u,e.encodeFirstDimNotExtra=c;var h=n.label;h&&h.length&&(s=h.slice());var d=n.tooltip;return d&&d.length?l=d.slice():l.length||(l=s.slice()),n.defaultedLabel=s,n.defaultedTooltip=l,e},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},L3Oj:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("HjIi");n("HM/N"),n("9eas"),n("eS4l"),n("y4/Y"),n("as94"),i.registerLayout(a.curry(r,"bar")),i.extendComponentView({type:"polar"})},L5E0:function(t,e){var n=["itemStyle","borderColor"];t.exports=function(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var a=i[e.seriesIndex%i.length],r=e.getData();r.setVisual({legendSymbol:"roundRect",color:e.get(n)||a}),t.isSeriesFiltered(e)||r.each(function(t){var e=r.getItemModel(t);r.setItemVisual(t,{color:e.get(n,!0)})})})}},LBfv:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=a.createHashMap,o=a.each;i.registerProcessor({getTargetSeries:function(t){var e=r();return t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,n,i){var a=i.getAxisProxy(t.name,n);o(a.getTargetSeriesModels(),function(t){e.set(t.uid,t)})})}),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,n,i){i.getAxisProxy(t.name,n).reset(i,e)}),t.eachTargetAxis(function(t,n,i){i.getAxisProxy(t.name,n).filterData(i,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setRawRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]},!0)})}})},LPTA:function(t,e){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=n;e.debugMode=0,e.devicePixelRatio=i},LPzL:function(t,e,n){var i=n("ProS");n("QzjZ"),n("vL6D"),n("xiyX"),n("y4/Y"),n("8Th4"),i.extendComponentView({type:"single"})},LzGr:function(t,e,n){var i=n("ProS"),a=n("rnVJ");n("EMyp"),n("8x+h"),n("wt3j"),n("uOyE"),n("/stD"),i.registerPreprocessor(a)},MBQ8:function(t,e,n){var i=n("T4UG"),a=n("MwEJ"),r=i.extend({type:"series.__base_bar__",getInitialData:function(t,e){return a(this.getSource(),this)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),i=this.getData(),a=i.getLayout("offset"),r=i.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=a+r/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=r},MEGo:function(t,e,n){var i=n("4fz+"),a=n("Dagg"),r=n("dqUG"),o=n("2fw6"),s=n("x6Kt"),l=n("rmlV"),u=n("yxFR"),c=n("y+Vt"),h=n("h7HQ"),d=n("1Jh7"),f=n("SKnc"),p=n("K2GJ"),g=n("Fofx"),m=n("NC18").createFromString,v=n("bYtY"),y=v.isString,x=v.extend,_=v.defaults,b=v.trim,w=v.each,S=/[\s,]+/;function M(t){for(y(t)&&(t=(new DOMParser).parseFromString(t,"text/xml")),9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function I(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}I.prototype.parse=function(t,e){e=e||{};var n=M(t);if(!n)throw new Error("Illegal svg");var a=new i;this._root=a;var r=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),P(n,a,null,!0);for(var u,c,h=n.firstChild;h;)this._parseNode(h,a),h=h.nextSibling;if(r){var d=b(r).split(S);d.length>=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(c=R(u,o,l),!e.ignoreViewBox)){var f=a;(a=new i).add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:u,viewBoxTransform:c}},I.prototype._parseNode=function(t,e){var n,i,a=t.nodeName.toLowerCase();if("defs"===a?this._isDefine=!0:"text"===a&&(this._isText=!0),this._isDefine){if(i=A[a]){var r=i.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else(i=T[a])&&(n=i.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===a?this._isDefine=!1:"text"===a&&(this._isText=!1)},I.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var a=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});D(e,a),P(t,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a};var T={g:function(t,e){var n=new i;return D(e,n),P(t,n,this._defs),n},rect:function(t,e){var n=new s;return D(e,n),P(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new o;return D(e,n),P(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new u;return D(e,n),P(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return D(e,n),P(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=C(n));var i=new h({shape:{points:n||[]}});return D(e,i),P(t,i,this._defs),i},polyline:function(t,e){var n=new c;D(e,n),P(t,n,this._defs);var i=t.getAttribute("points");return i&&(i=C(i)),new d({shape:{points:i||[]}})},image:function(t,e){var n=new a;return D(e,n),P(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,a=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var s=new i;return D(e,s),P(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),a=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=a&&(this._textY=parseFloat(a));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new i;return D(e,s),P(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var n=t.getAttribute("d")||"",i=m(n);return D(e,i),P(t,i,this._defs),i}},A={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),r=new f(e,n,i,a);return function(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var a=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,a)}n=n.nextSibling}}(t,r),r},radialgradient:function(t){}};function D(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),_(e.__inheritedStyle,t.__inheritedStyle))}function C(t){for(var e=b(t).split(S),n=[],i=0;i<e.length;i+=2){var a=parseFloat(e[i]),r=parseFloat(e[i+1]);n.push([a,r])}return n}var L={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function P(t,e,n,i){var a=e.__inheritedStyle||{},r="text"===e.type;if(1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=null,a=[];n.replace(E,function(t,e,n){a.push(e,n)});for(var r=a.length-1;r>0;r-=2){var o=a[r],s=a[r-1];switch(i=i||g.create(),s){case"translate":o=b(o).split(S),g.translate(i,i,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=b(o).split(S),g.scale(i,i,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=b(o).split(S),g.rotate(i,i,parseFloat(o[0]));break;case"skew":o=b(o).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":o=b(o).split(S),i[0]=parseFloat(o[0]),i[1]=parseFloat(o[1]),i[2]=parseFloat(o[2]),i[3]=parseFloat(o[3]),i[4]=parseFloat(o[4]),i[5]=parseFloat(o[5])}}}e.setLocalTransform(i)}(t,e),x(a,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,a={};for(N.lastIndex=0;null!=(i=N.exec(e));)a[i[1]]=i[2];for(var r in L)L.hasOwnProperty(r)&&null!=a[r]&&(n[L[r]]=a[r]);return n}(t)),!i))for(var o in L)if(L.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(a[L[o]]=s)}var l=r?"textFill":"fill",u=r?"textStroke":"stroke";e.style=e.style||new p;var c=e.style;null!=a.fill&&c.set(l,O(a.fill,n)),null!=a.stroke&&c.set(u,O(a.stroke,n)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){null!=a[t]&&c.set("lineWidth"===t&&r?"textStrokeWidth":t,parseFloat(a[t]))}),a.textBaseline&&"auto"!==a.textBaseline||(a.textBaseline="alphabetic"),"alphabetic"===a.textBaseline&&(a.textBaseline="bottom"),"start"===a.textAlign&&(a.textAlign="left"),"end"===a.textAlign&&(a.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=a[t]&&c.set(t,a[t])}),a.lineDash&&(e.style.lineDash=b(a.lineDash).split(S)),c[u]&&"none"!==c[u]&&(e[u]=!0),e.__inheritedStyle=a}var k=/url\(\s*#(.*?)\)/;function O(t,e){var n=e&&t&&t.match(k);return n?e[b(n[1])]:t}var E=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,N=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R(t,e,n){var i=Math.min(e/t.width,n/t.height);return{scale:[i,i],position:[-(t.x+t.width/2)*i+e/2,-(t.y+t.height/2)*i+n/2]}}e.parseXML=M,e.makeViewBoxTransform=R,e.parseSVG=function(t,e){return(new I).parse(t,e)}},MH26:function(t,e,n){var i=n("bYtY"),a=n("YXkt"),r=n("OELB"),o=n("kj2x"),s=n("c8qY"),l=n("iPDy"),u=function(t,e,n,a){var r=t.getData(),s=a.type;if(!i.isArray(a)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=a.xAxis||null!=a.yAxis)){var l,u;if(null!=a.yAxis||null!=a.xAxis)e.getAxis(l=null!=a.yAxis?"y":"x"),u=i.retrieve(a.yAxis,a.xAxis);else{var c=o.getAxisInfo(a,r,e,t);u=o.numCalculate(r,l=c.valueDataDim,s)}var h="x"===l?0:1,d=1-h,f=i.clone(a),p={};f.type=null,f.coord=[],p.coord=[],f.coord[d]=-1/0,p.coord[d]=1/0;var g=n.get("precision");g>=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(g,20))),f.coord[h]=p.coord[h]=u,a=[f,p,{type:s,valueIndex:a.valueIndex,value:u}]}return(a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),i.extend({},a[2])])[2].type=a[2].type||"",i.merge(a[2],a[0]),i.merge(a[2],a[1]),a};function c(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,n,i){var a=1-t,r=i.dimensions[t];return c(e[a])&&c(n[a])&&e[t]===n[t]&&i.getAxis(r).containData(e[t])}function d(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(h(1,n,i,t)||h(0,n,i,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function f(t,e,n,i,a){var o,s=i.coordinateSystem,l=t.getItemModel(e),u=r.parsePercent(l.get("x"),a.getWidth()),h=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(u)||isNaN(h)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=t.get((p=s.dimensions)[0],e),f=t.get(p[1],e);o=s.dataToPoint([d,f])}if("cartesian2d"===s.type){var p,g=s.getAxis("x"),m=s.getAxis("y");c(t.get((p=s.dimensions)[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):c(t.get(p[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];t.setItemLayout(e,o)}var p=l.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries(function(t){var e=t.markLineModel;if(e){var i=e.getData(),a=e.__from,r=e.__to;a.each(function(e){f(a,e,!0,t,n),f(r,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,n,r){var l=t.coordinateSystem,c=t.id,h=t.getData(),p=this.markerGroupMap,g=p.get(c)||p.set(c,new s);this.group.add(g.group);var m=function(t,e,n){var r;r=t?i.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)}):[{name:"value",type:"float"}];var s=new a(r,n),l=new a(r,n),c=new a([],n),h=i.map(n.get("data"),i.curry(u,e,t,n));t&&(h=i.filter(h,i.curry(d,t)));var f=t?o.dimValueGetter:function(t){return t.value};return s.initData(i.map(h,function(t){return t[0]}),null,f),l.initData(i.map(h,function(t){return t[1]}),null,f),c.initData(i.map(h,function(t){return t[2]})),c.hasItemOption=!0,{from:s,to:l,line:c}}(l,t,e),v=m.from,y=m.to,x=m.line;e.__from=v,e.__to=y,e.setData(x);var _=e.get("symbol"),b=e.get("symbolSize");function w(e,n,i){var a=e.getItemModel(n);f(e,n,i,t,r),e.setItemVisual(n,{symbolSize:a.get("symbolSize")||b[i?0:1],symbol:a.get("symbol",!0)||_[i?0:1],color:a.get("itemStyle.color")||h.getVisual("color")})}i.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each(function(t){w(v,t,!0),w(y,t,!1)}),x.each(function(t){var e=x.getItemModel(t).get("lineStyle.color");x.setItemVisual(t,{color:e||v.getItemVisual(t,"color")}),x.setItemLayout(t,[v.getItemLayout(t),y.getItemLayout(t)]),x.setItemVisual(t,{fromSymbolSize:v.getItemVisual(t,"symbolSize"),fromSymbol:v.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})}),g.updateData(x),m.line.eachItemGraphicEl(function(t,n){t.traverse(function(t){t.dataModel=e})}),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=p},MHoB:function(t,e,n){var i=n("bYtY"),a=n("6uqw"),r=n("OELB"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):i.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],a=n.getData();a.each(this.getDataDimension(a),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},getVisualMeta:function(t){var e=l(0,0,this.getExtent()),n=l(0,0,this.option.range.slice()),i=[];function a(e,n){i.push({value:e,color:t(e,n)})}for(var r=0,o=0,s=n.length,u=e.length;o<u&&(!n.length||e[o]<=n[0]);o++)e[o]<n[r]&&a(e[o],"outOfRange");for(var c=1;r<s;r++,c=0)c&&i.length&&a(n[r],"outOfRange"),a(n[r],"inRange");for(c=1;o<u;o++)(!n.length||n[n.length-1]<e[o])&&(c&&(i.length&&a(i[i.length-1].value,"outOfRange"),c=0),a(e[o],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}}});function l(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,a=n[0],r=[],o=0;o<=200&&a<n[1];o++)r.push(a),a+=i;return r.push(n[1]),r}t.exports=s},MHtr:function(t,e,n){var i=n("bYtY");function a(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,a=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-a)-n.dataToCoord(i+a))}t.exports=function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(a,t)}}}},MKOG:function(t,e,n){var i=n("bYtY"),a=n("YH21").Dispatcher,r=n("mLcG"),o=n("Bq2U"),s=function(t){this.stage=(t=t||{}).stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._paused=!1,a.call(this)};s.prototype={constructor:s,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(t){var e=i.indexOf(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,n=this._clips,i=n.length,a=[],r=[],o=0;o<i;o++){var s=n[o],l=s.step(t,e);l&&(a.push(l),r.push(s))}for(o=0;o<i;)n[o]._needsRemove?(n[o]=n[i-1],n.pop(),i--):o++;for(i=a.length,o=0;o<i;o++)r[o].fire(a[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;this._running=!0,r(function e(){t._running&&(r(e),!t._paused&&t._update())})},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){var n=new o(t,(e=e||{}).loop,e.getter,e.setter);return this.addAnimator(n),n}},i.mixin(s,a),t.exports=s},MRoa:function(t,e,n){var i=n("ProS");n("0Bwj"),n("W2nI"),n("vcCh");var a=n("gawk"),r=n("Dg8C");i.registerLayout(a),i.registerVisual(r)},MT78:function(t,e,n){var i=n("ProS");!function(){for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}}();var a=n("txkQ");!function(){for(var t in a){if(null==a||!a.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=a[t]}}(),n("A1Ka"),n("75ce"),n("lLGD"),n("wDdD"),n("Fa/5"),n("jett"),n("Z1wy"),n("75ev"),n("2uGb"),n("I+77"),n("B+YJ"),n("pLH3"),n("CBdT"),n("MRoa"),n("+lIL"),n("CF2D"),n("ERHi"),n("p+If"),n("XOKv"),n("qt/9"),n("bBL8"),n("1xaR"),n("4Feb"),n("f1nB"),n("zRKj"),n("C0tN"),n("AH3D"),n("y4/Y"),n("L3Oj"),n("0HBW"),n("8waO"),n("LPzL"),n("LzGr"),n("k5C7"),n("Ynxi"),n("Cm0C"),n("VFCP"),n("2w7y"),n("laiN"),n("fjKi"),n("7pVf"),n("sRwP"),n("8XDt"),n("juDX")},Mdki:function(t,e,n){var i=n("bYtY"),a=i.each,r="\0__link_datas",o="\0__link_mainData";function s(t,e){if(this[o]===this){var n=i.extend({},this[r]);n[this.dataType]=e,h(e,n,t)}else d(e,this.dataType,this[o],t);return e}function l(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return a(e[r],function(n,i){n!==e&&d(n.cloneShallow(),i,e,t)}),e}function c(t){var e=this[o];return null==t||null==e?e:e[r][t]}function h(t,e,n){t[r]={},a(e,function(e,i){d(e,i,t,n)})}function d(t,e,n,i){n[r][e]=t,t[o]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=c}t.exports=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,h(e,n,t),a(n,function(n){a(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,i.curry(s,t))})}),e.wrapMethod("cloneShallow",i.curry(u,t)),a(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,i.curry(l,t))}),i.assert(n[e.dataType]===e)}},Mgri:function(t,e,n){for(var i=n("bYtY"),a=n("8nly"),r=[126,25],o=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<o.length;s++)for(var l=0;l<o[s].length;l++)o[s][l][0]/=10.5,o[s][l][1]/=-14,o[s][l][0]+=r[0],o[s][l][1]+=r[1];t.exports=function(t,e){"china"===t&&e.push(new a("\u5357\u6d77\u8bf8\u5c9b",i.map(o,function(t){return{type:"polygon",exterior:t}}),r))}},MqEG:function(t,e,n){var i=n("bYtY"),a=n("fc+c"),r=n("72pK"),o=n("VXYp"),s=i.bind,l=a.extend({type:"dataZoom.inside",init:function(t,e){},render:function(t,e,n,a){l.superApply(this,"render",arguments),this._range=t.getPercentRange(),i.each(this.getTargetCoordInfo(),function(e,a){var r=i.map(e,function(t){return o.generateCoordId(t.model)});i.each(e,function(e){var l=e.model,c={};i.each(["pan","zoom","scrollMove"],function(t){c[t]=s(u[t],this,e,a)},this),o.register(n,{coordId:o.generateCoordId(l),allCoordIds:r,containsPoint:function(t,e,n){return l.coordinateSystem.containPoint([e,n])},dataZoomId:t.id,dataZoomModel:t,getRange:c})},this)},this)},dispose:function(){o.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(t,e,n,i){var a=this._range,o=a.slice(),s=t.axisModels[0];if(s){var l=h[e](null,[i.originX,i.originY],s,n,t),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/i.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:c(function(t,e,n,i,a,r){var o=h[i]([r.oldX,r.oldY],[r.newX,r.newY],e,a,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength}),scrollMove:c(function(t,e,n,i,a,r){return h[i]([0,0],[r.scrollDelta,r.scrollDelta],e,a,n).signal*(t[1]-t[0])*r.scrollDelta})};function c(t){return function(e,n,i,a){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,n,i,a);return r(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,n,i,a){var r=n.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,n,i,a){var r=n.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,n,i,a){var r=n.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}};t.exports=l},MwEJ:function(t,e,n){var i=n("bYtY"),a=n("YXkt"),r=n("sdST"),o=n("k9D9").SOURCE_FORMAT_ORIGINAL,s=n("L0Ub").getDimensionTypeByAxis,l=n("4NO4").getDataItemValue,u=n("IDmD"),c=n("i38C").getCoordSysDefineBySeries,h=n("7G+c"),d=n("7hqr").enableDataStack;t.exports=function(t,e,n){n=n||{},h.isInstance(t)||(t=h.seriesDataToSource(t));var f,p=e.get("coordinateSystem"),g=u.get(p),m=c(e);m&&(f=i.map(m.coordSysDims,function(t){var e={name:t},n=m.axisMap.get(t);if(n){var i=n.get("type");e.type=s(i)}return e})),f||(f=g&&(g.getDimensionsInfo?g.getDimensionsInfo():g.dimensions.slice())||["x","y"]);var v,y,x=r(t,{coordDimensions:f,generateCoord:n.generateCoord});m&&i.each(x,function(t,e){var n=m.categoryAxisMap.get(t.coordDim);n&&(null==v&&(v=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(y=!0)}),y||null==v||(x[v].otherDims.itemName=0);var _=d(e,x),b=new a(x,e);b.setCalculationInfo(_);var w=null!=v&&function(t){if(t.sourceFormat===o){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=e&&!i.isArray(l(e))}}(t)?function(t,e,n,i){return i===v?n:this.defaultDimValueGetter(t,e,n,i)}:null;return b.hasItemOption=!1,b.initData(t,null,w),b}},Mylv:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("IwbS"),o=n("oVpE").createSymbol,s=n("OELB"),l=s.parsePercent,u=s.isNumeric,c=n("56rv").setLabel,h=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],f=new r.Circle,p=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var i=this.group,a=t.getData(),o=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return a.diff(o).add(function(t){if(a.hasValue(t)){var e=w(a,t),n=g(a,t,e,c),r=T(a,c,n);a.setItemGraphicEl(t,r),i.add(r),P(r,c,n)}}).update(function(t,e){var n=o.getItemGraphicEl(e);if(a.hasValue(t)){var s=w(a,t),l=g(a,t,s,c),u=D(a,l);n&&u!==n.__pictorialShapeStr&&(i.remove(n),a.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,a=n.dataIndex;r.updateProps(t.__pictorialBundle,{position:n.bundlePosition.slice()},i,a),n.symbolRepeat?y(t,e,n,!0):x(t,0,n,!0),_(t,n,!0),b(t,e,n,!0)}(n,c,l):n=T(a,c,l,!0),a.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,i.add(n),P(n,c,l)}else i.remove(n)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&A(o,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=a,this.group},dispose:a.noop,remove:function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){A(i,e.dataIndex,t,e)}):n.removeAll()}});function g(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),s=n.get("symbolClip"),c=n.get("symbolPosition")||"start",d=(n.get("symbolRotate")||0)*Math.PI/180||0,p=n.get("symbolPatternSize")||2,g=n.isAnimationEnabled(),v={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:s,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:p,rotation:d,animationModel:g?n:null,hoverAnimation:g&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,s=i.valueDim,l=t.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(n[s.wh]<=0);if(a.isArray(l)){var d=[m(u,l[0])-c,m(u,l[1])-c];d[1]<d[0]&&d.reverse(),o=d[h]}else o=null!=l?m(u,l)-c:e?i.coordSysExtent[s.index][h]-c:n[s.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[s.wh]),r.pxSign=o>0?1:o<0?-1:0}(n,o,r,i,v),function(t,e,n,i,r,o,s,u,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(n[f.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=l(g[f.index],p),g[d.index]=l(g[d.index],i?p:Math.abs(o)),h.symbolSize=g,(h.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(c.isHorizontal?-1:1)*s}(t,e,r,o,0,v.boundingLength,v.pxSign,p,i,v),function(t,e,n,i,a){var r=t.get(h)||0;r&&(f.attr({scale:e.slice(),rotation:n}),f.updateTransform(),r/=f.getLineScale(),r*=e[i.valueDim.index]),a.valueLineWidth=r}(n,v.symbolScale,d,i,v);var y=v.symbolSize,x=n.get("symbolOffset");return a.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(t,e,n,i,r,o,s,c,h,d,f,p){var g=f.categoryDim,m=f.valueDim,y=p.pxSign,x=Math.max(e[m.index]+v.valueLineWidth,0),_=x;if(i){var b=Math.abs(h),w=a.retrieve(t.get("symbolMargin"),"15%")+"",S=!1;w.lastIndexOf("!")===w.length-1&&(S=!0,w=w.slice(0,w.length-1)),w=l(w,e[m.index]);var M=Math.max(x+2*w,0),I=S?0:2*w,T=u(i),A=T?i:k((b+I)/M);M=x+2*(w=(b-A*x)/2/(S?A:A-1)),I=S?0:2*w,T||"fixed"===i||(A=d?k((Math.abs(d)+I)/M):0),_=A*M-I,p.repeatTimes=A,p.symbolMargin=w}var D=y*(_/2),C=p.pathPosition=[];C[g.index]=n[g.wh]/2,C[m.index]="start"===s?D:"end"===s?h-D:h/2,o&&(C[0]+=o[0],C[1]+=o[1]);var L=p.bundlePosition=[];L[g.index]=n[g.xy],L[m.index]=n[m.xy];var P=p.barRectShape=a.extend({},n);P[m.wh]=y*Math.max(Math.abs(n[m.wh]),Math.abs(C[m.index]+D)),P[g.wh]=n[g.wh];var O=p.clipShape={};O[g.xy]=-n[g.xy],O[g.wh]=f.ecSize[g.wh],O[m.xy]=0,O[m.wh]=n[m.wh]}(n,y,r,o,0,x,c,0,v.boundingLength,v.repeatCutLength,i,v),v}function m(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function v(t){var e=t.symbolPatternSize,n=o(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function y(t,e,n,i){var a=t.__pictorialBundle,r=n.pathPosition,o=e.valueDim,s=n.repeatTimes||0,l=0,u=n.symbolSize[e.valueDim.index]+n.valueLineWidth+2*n.symbolMargin;for(C(t,function(t){t.__pictorialAnimationIndex=l,t.__pictorialRepeatTimes=s,l<s?L(t,null,d(l),n,i):L(t,null,{scale:[0,0]},n,i,function(){a.remove(t)}),I(t,n),l++});l<s;l++){var c=v(n);c.__pictorialAnimationIndex=l,c.__pictorialRepeatTimes=s,a.add(c);var h=d(l);L(c,{position:h.position,scale:[0,0]},{scale:h.scale,rotation:h.rotation},n,i),c.on("mouseover",f).on("mouseout",p),I(c,n)}function d(t){var e=r.slice(),i=n.pxSign,a=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(a=s-1-t),e[o.index]=u*(a-s/2+.5)+r[o.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function f(){C(t,function(t){t.trigger("emphasis")})}function p(){C(t,function(t){t.trigger("normal")})}}function x(t,e,n,i){var a=t.__pictorialBundle,r=t.__pictorialMainPath;r?L(r,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(r=t.__pictorialMainPath=v(n),a.add(r),L(r,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),r.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),I(r,n)}function _(t,e,n){var i=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?L(o,null,{shape:i},e,n):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function b(t,e,n,i){if(n.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},n.clipShape),l=e.valueDim,u=n.animationModel,c=n.dataIndex;if(o)r.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=n.clipShape[l.wh],r[i?"updateProps":"initProps"](o,{shape:h},u,c)}}}function w(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=S,n.isAnimationEnabled=M,n}function S(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function M(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function I(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:n.slice()},400,"elasticOut")})}function T(t,e,n,i){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",n.bundlePosition.slice()),n.symbolRepeat?y(a,e,n):x(a,0,n),_(a,n,i),b(a,e,n,i),a.__pictorialShapeStr=D(t,n),a.__pictorialSymbolMeta=n,a}function A(t,e,n,i){var o=i.__pictorialBarRect;o&&(o.style.text=null);var s=[];C(i,function(t){s.push(t)}),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),a.each(s,function(t){r.updateProps(t,{scale:[0,0]},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function D(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function C(t,e,n){a.each(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function L(t,e,n,i,a,o){e&&t.attr(e),i.symbolClip&&!a?n&&t.attr(n):n&&r[a?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function P(t,e,n){var i=n.color,o=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),h=s.getShallow("cursor");C(t,function(t){t.setColor(i),t.setStyle(a.defaults({fill:i,opacity:n.opacity},l)),r.setHoverStyle(t,u),h&&(t.cursor=h),t.z2=n.z2});var d={},f=t.__pictorialBarRect;c(f.style,d,s,i,e.seriesModel,o,e.valueDim.posDesc[+(n.boundingLength>0)]),r.setHoverStyle(f,d)}function k(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}t.exports=p},N5BQ:function(t,e,n){var i=n("OlYY").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=i},NA0q:function(t,e,n){var i=n("bYtY"),a=n("6Ic6"),r=n("TkdX"),o=n("gPAo"),s=a.extend({type:"sunburst",init:function(){},render:function(t,e,n,a){var s=this;this.seriesModel=t,this.api=n,this.ecModel=e;var l=t.getData(),u=l.tree.root,c=t.getViewRoot(),h=this.group,d=t.get("renderLabelForZeroData"),f=[];if(c.eachNode(function(t){f.push(t)}),function(n,a){function s(t){return t.getId()}function c(i,o){!function(n,i){if(d||!n||n.getValue()||(n=null),n!==u&&i!==u)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",t,e),l.setItemGraphicEl(n.dataIndex,i.piece)):(o=i)&&o.piece&&(h.remove(o.piece),o.piece=null);else if(n){var a=new r(n,t,e);h.add(a),l.setItemGraphicEl(n.dataIndex,a)}var o}(null==i?null:n[i],null==o?null:a[o])}0===n.length&&0===a.length||new o(a,n,s,s).add(c).update(c).remove(i.curry(c,null)).execute()}(f,this._oldChildren||[]),function(n,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",t,e):(s.virtualPiece=new r(n,t,e),h.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var a=function(t){s._rootToNode(i.parentNode)};i.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}(u,c),a&&a.highlight&&a.highlight.piece){var p=t.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(p)}else if(a&&a.unhighlight){var g=this.virtualPiece;!g&&u.children.length&&(g=u.children[0].piece),g&&g.onNormal()}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece.childAt(0)===e.target){var a=i.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(i);else if("link"===a){var r=i.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";window.open(o,s)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,a=t[1]-n.cy,r=Math.sqrt(i*i+a*a);return r<=n.r&&r>=n.r0}}});t.exports=s},NC18:function(t,e,n){var i=n("y+Vt"),a=n("IMiH"),r=n("7oTu"),o=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},d=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(h(t,e))};function f(t,e,n,i,a,r,c,f,p,g,m){var v=p*(u/180),y=l(v)*(t-n)/2+s(v)*(e-i)/2,x=-1*s(v)*(t-n)/2+l(v)*(e-i)/2,_=y*y/(c*c)+x*x/(f*f);_>1&&(c*=o(_),f*=o(_));var b=(a===r?-1:1)*o((c*c*(f*f)-c*c*(x*x)-f*f*(y*y))/(c*c*(x*x)+f*f*(y*y)))||0,w=b*c*x/f,S=b*-f*y/c,M=(t+n)/2+l(v)*w-s(v)*S,I=(e+i)/2+s(v)*w+l(v)*S,T=d([1,0],[(y-w)/c,(x-S)/f]),A=[(y-w)/c,(x-S)/f],D=[(-1*y-w)/c,(-1*x-S)/f],C=d(A,D);h(A,D)<=-1&&(C=u),h(A,D)>=1&&(C=0),0===r&&C>0&&(C-=2*u),1===r&&C<0&&(C+=2*u),m.addData(g,M,I,c,f,T,C,v,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t,e){var n=function(t){if(!t)return new a;for(var e,n=0,i=0,r=n,o=i,s=new a,l=a.CMD,u=t.match(p),c=0;c<u.length;c++){for(var h,d=u[c],m=d.charAt(0),v=d.match(g)||[],y=v.length,x=0;x<y;x++)v[x]=parseFloat(v[x]);for(var _=0;_<y;){var b,w,S,M,I,T,A,D=n,C=i;switch(m){case"l":n+=v[_++],i+=v[_++],s.addData(h=l.L,n,i);break;case"L":n=v[_++],i=v[_++],s.addData(h=l.L,n,i);break;case"m":n+=v[_++],i+=v[_++],s.addData(h=l.M,n,i),r=n,o=i,m="l";break;case"M":n=v[_++],i=v[_++],s.addData(h=l.M,n,i),r=n,o=i,m="L";break;case"h":n+=v[_++],s.addData(h=l.L,n,i);break;case"H":n=v[_++],s.addData(h=l.L,n,i);break;case"v":i+=v[_++],s.addData(h=l.L,n,i);break;case"V":i=v[_++],s.addData(h=l.L,n,i);break;case"C":s.addData(h=l.C,v[_++],v[_++],v[_++],v[_++],v[_++],v[_++]),n=v[_-2],i=v[_-1];break;case"c":s.addData(h=l.C,v[_++]+n,v[_++]+i,v[_++]+n,v[_++]+i,v[_++]+n,v[_++]+i),n+=v[_-2],i+=v[_-1];break;case"S":b=n,w=i;var L=s.len(),P=s.data;e===l.C&&(b+=n-P[L-4],w+=i-P[L-3]),D=v[_++],C=v[_++],n=v[_++],i=v[_++],s.addData(h=l.C,b,w,D,C,n,i);break;case"s":b=n,w=i,L=s.len(),P=s.data,e===l.C&&(b+=n-P[L-4],w+=i-P[L-3]),D=n+v[_++],C=i+v[_++],n+=v[_++],i+=v[_++],s.addData(h=l.C,b,w,D,C,n,i);break;case"Q":D=v[_++],C=v[_++],n=v[_++],i=v[_++],s.addData(h=l.Q,D,C,n,i);break;case"q":D=v[_++]+n,C=v[_++]+i,n+=v[_++],i+=v[_++],s.addData(h=l.Q,D,C,n,i);break;case"T":b=n,w=i,L=s.len(),P=s.data,e===l.Q&&(b+=n-P[L-4],w+=i-P[L-3]),n=v[_++],i=v[_++],s.addData(h=l.Q,b,w,n,i);break;case"t":b=n,w=i,L=s.len(),P=s.data,e===l.Q&&(b+=n-P[L-4],w+=i-P[L-3]),n+=v[_++],i+=v[_++],s.addData(h=l.Q,b,w,n,i);break;case"A":S=v[_++],M=v[_++],I=v[_++],T=v[_++],A=v[_++],f(D=n,C=i,n=v[_++],i=v[_++],T,A,S,M,I,h=l.A,s);break;case"a":S=v[_++],M=v[_++],I=v[_++],T=v[_++],A=v[_++],f(D=n,C=i,n+=v[_++],i+=v[_++],T,A,S,M,I,h=l.A,s)}}"z"!==m&&"Z"!==m||(s.addData(h=l.Z),n=r,i=o),e=h}return s.toStatic(),s}(t);return(e=e||{}).buildPath=function(t){var e;t.setData?(t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e)):n.rebuildPath(e=t)},e.applyTransform=function(t){r(n,t),this.dirty(!0)},e}e.createFromString=function(t,e){return new i(m(t,e))},e.extendFromString=function(t,e){return i.extend(m(t,e))},e.mergePath=function(t,e){for(var n=[],a=t.length,r=0;r<a;r++){var o=t[r];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),n.push(o.path)}var s=new i(e);return s.createPathProxy(),s.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},s}},NH9N:function(t,e,n){var i=n("bYtY"),a=n("mFDi"),r=n("Fofx"),o=n("IwbS"),s=n("+TT/"),l=n("kzvK"),u=n("CMP+"),c=n("oVpE").createSymbol,h=n("aX7z"),d=n("OELB"),f=n("7aKB").encodeHTML,p=i.bind,g=i.each,m=Math.PI,v=l.extend({type:"timeline.slider",init:function(t,e){this.api=e},render:function(t,e,n,i){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var a=this._layout(t,n),r=this._createGroup("mainGroup"),o=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,t);t.formatTooltip=function(t){return f(s.scale.getLabel(t))},g(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](a,r,s,t)},this),this._renderAxisLabel(a,o,s,t),this._position(a,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n=t.get("label.position"),i=t.get("orient"),a=function(t,e){return s.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e);null==n||"auto"===n?n="horizontal"===i?a.y+a.height/2<e.getHeight()/2?"-":"+":a.x+a.width/2<e.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]);var r,o,l,u,c={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:m/2},f="vertical"===i?a.height:a.width,p=t.getModel("controlStyle"),g=p.get("show",!0),v=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,x=v+y,_=t.get("label.rotate")||0;_=_*m/180;var b=p.get("position",!0),w=g&&p.get("showPlayBtn",!0),S=g&&p.get("showPrevBtn",!0),M=g&&p.get("showNextBtn",!0),I=0,T=f;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=x),S&&(o=[I,0],I+=x),M&&(l=[T-v,0],T-=x)):(w&&(r=[T-v,0],T-=x),S&&(o=[0,0],I+=x),M&&(l=[T-v,0],T-=x)),u=[I,T],t.get("inverse")&&u.reverse(),{viewRect:a,mainLength:f,orient:i,rotation:d[i],labelRotation:_,labelPosOpt:n,labelAlign:t.get("label.align")||c[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[i],playPosition:r,prevBtnPosition:o,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(t,e){var n=this._mainGroup,i=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-m/2),r.translate(o,o,[s,l]),(a=a.clone()).applyTransform(o)}var u=y(a),c=y(n.getBoundingRect()),h=y(i.getBoundingRect()),d=n.position,f=i.position;f[0]=d[0]=u[0][0];var p,g=t.labelPosOpt;function v(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,n,i,a){t[i]+=n[i][a]-e[i][a]}isNaN(g)?(x(d,c,u,1,p="+"===g?0:1),x(f,h,u,1,1-p)):(x(d,c,u,1,p=g>=0?0:1),f[1]=d[1]+g),n.attr("position",d),i.attr("position",f),n.rotation=i.rotation=t.rotation,v(n),v(i)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),a=h.createScaleByModel(e,i);a.getTicks=function(){return n.mapArray(["value"],function(t){return t})};var r=n.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new u("value",a,t.axisExtent,i);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,a){var r=n.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:i.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,i){var a=i.getData(),r=n.scale.getTicks();g(r,function(t){var r=n.dataToCoord(t),s=a.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[r,0],onclick:p(this._changeTimeline,this,t)},h=y(s,l,e,c);o.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=i):h.dataIndex=h.dataModel=null},this)},_renderAxisLabel:function(t,e,n,i){if(n.getLabelModel().get("show")){var a=i.getData(),r=n.getViewLabels();g(r,function(i){var r=i.tickValue,s=a.getItemModel(r),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),h=new o.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,r),silent:!1});o.setTextStyle(h.style,l,{text:i.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),o.setHoverStyle(h,o.setTextStyle({},u))},this)}},_renderControl:function(t,e,n,r){var s=t.controlSize,l=t.rotation,u=r.getModel("controlStyle").getItemStyle(),c=r.getModel("emphasis.controlStyle").getItemStyle(),h=[0,-s/2,s,s],d=r.getPlayState(),f=r.get("inverse",!0);function g(t,n,d,f){if(t){var p=function(t,e,r,s){return o.makePath(t.get(n).replace(/^path:\/\//,""),i.clone(s||{}),new a(r[0],r[1],r[2],r[3]),"center")}(r,0,h,{position:t,origin:[s/2,0],rotation:f?-l:0,rectHover:!0,style:u,onclick:d});e.add(p),o.setHoverStyle(p,c)}}g(t.nextBtnPosition,"controlStyle.nextIcon",p(this._changeTimeline,this,f?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",p(this._changeTimeline,this,f?"+":"-")),g(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),p(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,n,i){var a=i.getData(),r=i.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this;this._currentPointer=y(o,o,this._mainGroup,{},this._currentPointer,{onCreate:function(t){t.draggable=!0,t.drift=p(s._handlePointerDrag,s),t.ondragend=p(s._handlePointerDragend,s),x(t,r,n,i,!0)},onUpdate:function(t){x(t,r,n,i)}})},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=d.asc(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var a=this._findNearestTick(n),r=this.model;(e||a!==r.getCurrentIndex()&&r.get("realtime"))&&this._changeTimeline(a)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(p(function(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))},this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return o.applyTransform(t,e,!0)},_findNearestTick:function(t){var e,n=this.model.getData(),i=1/0,a=this._axis;return n.each(["value"],function(n,r){var o=a.dataToCoord(n),s=Math.abs(o-t);s<i&&(i=s,e=r)}),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function y(t,e,n,a,r,o){var s=e.get("color");if(r)r.setColor(s),n.add(r),o&&o.onUpdate(r);else{var l=t.get("symbol");(r=c(l,-1,-1,2,2,s)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r)}var u=e.getItemStyle(["color","symbol","symbolSize"]);r.setStyle(u),a=i.merge({rectHover:!0,z2:100},a,!0);var h=t.get("symbolSize");(h=h instanceof Array?h.slice():[+h,+h])[0]/=2,h[1]/=2,a.scale=h;var f=t.get("symbolOffset");if(f){var p=a.position=a.position||[0,0];p[0]+=d.parsePercent(f[0],h[0]),p[1]+=d.parsePercent(f[1],h[1])}var g=t.get("symbolRotate");return a.rotation=(g||0)*Math.PI/180||0,r.attr(a),r.updateTransform(),r}function x(t,e,n,i,a){if(!t.dragging){var r=i.getModel("checkpointStyle"),o=n.dataToCoord(i.getData().get(["value"],e));a||!r.get("animation",!0)?t.attr({position:[o,0]}):(t.stopAnimation(!0),t.animateTo({position:[o,0]},r.get("animationDuration",!0),r.get("animationEasing",!0)))}}t.exports=v},OELB:function(t,e,n){var i=n("bYtY"),a=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function r(t){return Math.floor(Math.log(t)/Math.LN10)}e.linearMap=function(t,e,n,i){var a=e[1]-e[0],r=n[1]-n[0];if(0===a)return 0===r?n[0]:(n[0]+n[1])/2;if(i)if(a>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/a*r+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+/,"").replace(/\s+$/,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var a=e.indexOf(".");return a<0?0:e.length-1-a},e.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,a=Math.floor(n(t[1]-t[0])/i),r=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var a=i.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===a)return 0;for(var r=Math.pow(10,n),o=i.map(t,function(t){return(isNaN(t)?0:t)/a*r*100}),s=100*r,l=i.map(o,function(t){return Math.floor(t)}),u=i.reduce(l,function(t,e){return t+e},0),c=i.map(o,function(t,e){return t-l[e]});u<s;){for(var h=Number.NEGATIVE_INFINITY,d=null,f=0,p=c.length;f<p;++f)c[f]>h&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/r},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-1e-4&&t<1e-4},e.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=a.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]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))},e.quantity=function(t){return Math.pow(10,r(t))},e.nice=function(t,e){var n=r(t),i=Math.pow(10,n),a=t/i;return t=(e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),a=+t[i-1],r=n-i;return r?a+r*(t[i]-a):a},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var a=t[i].interval,r=t[i].close,o=0;o<2;o++)a[o]<=e&&(a[o]=e,r[o]=o?1:1-n),e=a[o],n=r[o];a[0]===a[1]&&r[0]*r[1]!=1?t.splice(i,1):i++}return t},e.isNumeric=function(t){return t-parseFloat(t)>=0}},OKJ2:function(t,e,n){var i=n("KxfA").retrieveRawValue,a=n("7aKB"),r=a.getTooltipMarker,o=a.formatTpl,s=n("4NO4").getTooltipRenderMode,l=/\{@(.+?)\}/g;t.exports={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),a=n.getRawIndex(t),o=n.getName(t),l=n.getRawDataItem(t),u=n.getItemVisual(t,"color"),c=this.ecModel.getComponent("tooltip"),h=c&&c.get("renderMode"),d=s(h),f=this.mainType,p="series"===f;return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:o,dataIndex:a,data:l,dataType:e,value:i,color:u,marker:r({color:u,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,a,r){e=e||"normal";var s=this.getData(n),u=s.getItemModel(t),c=this.getDataParams(t,n);null!=a&&c.value instanceof Array&&(c.value=c.value[a]);var h=u.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);return"function"==typeof h?(c.status=e,h(c)):"string"==typeof h?o(h,c).replace(l,function(e,n){var a=n.length;return"["===n.charAt(0)&&"]"===n.charAt(a-1)&&(n=+n.slice(1,a-1)),i(s,t,n)}):void 0},getRawValue:function(t,e){return i(this.getData(e),t)},formatTooltip:function(){}}},OQFs:function(t,e,n){var i=n("KCsZ")([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getLineStyle:function(t){var e=i(this,t),n=this.getLineDash(e.lineWidth);return n&&(e.lineDash=n),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"===e||null==e?null:"dashed"===e?[i,i]:[n,n]}}},OS9S:function(t,e,n){var i=n("bYtY").inherits,a=n("Gev7"),r=n("mFDi");function o(t){a.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}o.prototype.incremental=!0,o.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},o.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},o.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},o.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])},o.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++)(e=this._displayables[t]).parent=this,e.update(),e.parent=null;for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},o.prototype.brush=function(t,e){for(var n=this._cursor;n<this._displayables.length;n++)(i=this._displayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(t);for(this._cursor=n,n=0;n<this._temporaryDisplayables.length;n++){var i;(i=this._temporaryDisplayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var s=[];o.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new r(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(s)),t.union(i)}this._rect=t}return this._rect},o.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0;return!1},i(o,a),t.exports=o},OUJF:function(t,e,n){var i=n("ProS"),a=n("bYtY");i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),e.resetOption("timeline"),a.defaults({currentIndex:n.option.currentIndex},t)}),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)})},OXB0:function(t,e,n){var i=n("T4UG"),a=n("MwEJ"),r=n("IDmD"),o=i.extend({type:"series.heatmap",getInitialData:function(t,e){return a(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=r.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=o},OlYY:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("ItGF"),o=n("4NO4"),s=n("UOVi"),l=n("zDms"),u=a.each,c=s.eachAxisDim,h=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=d(t);this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var e=d(t);a.merge(this.option,t,!0),this.doInit(e)},doInit:function(t){var e=this.option;r.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),f(this,t),u([["start","startValue"],["end","endValue"]],function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,n,i,a){var r=this.dependentModels[e.axis][n],o=r.__dzAxisProxy||(r.__dzAxisProxy=new l(e.name,n,this,a));t[e.name+"_"+n]=o},this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();c(function(e){var n=e.axisIndex;t[n]=o.normalizeToArray(t[n])},this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;c(function(n){null!=t[n.axisIndex]&&(e=!0)},this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),n=this.option,i=this.dependentModels;if(t){var r="vertical"===e?"y":"x";i[r+"Axis"].length?(n[r+"AxisIndex"]=[0],t=!1):u(i.singleAxis,function(i){t&&i.get("orient",!0)===e&&(n.singleAxisIndex=[i.componentIndex],t=!1)})}t&&c(function(e){if(t){var i=[],a=this.dependentModels[e.axis];if(a.length&&!i.length)for(var r=0,o=a.length;r<o;r++)"category"===a[r].get("type")&&i.push(r);n[e.axisIndex]=i,i.length&&(t=!1)}},this),t&&this.ecModel.eachSeries(function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&c(function(e){var i=n[e.axisIndex],r=t.get(e.axisIndex),o=t.get(e.axisId),s=t.ecModel.queryComponents({mainType:e.axis,index:r,id:o})[0];a.indexOf(i,r=s.componentIndex)<0&&i.push(r)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this.option.orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var n=!0;return c(function(i){var a=t.get(i.axisIndex),r=this.dependentModels[i.axis][a];r&&r.get("type")===e||(n=!1)},this),n},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return c(function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}},this),t},eachTargetAxis:function(t,e){var n=this.ecModel;c(function(i){u(this.get(i.axisIndex),function(a){t.call(e,i,a,this,n)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t,e){var n=this.option;u([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(n[e[0]]=t[e[0]],n[e[1]]=t[e[1]])},this),!e&&f(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(t){var e={};return u(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}function f(t,e){var n=t._rangePropMode,i=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],function(t,a){var r=null!=e[t[0]],o=null!=e[t[1]];r&&!o?n[a]="percent":!r&&o?n[a]="value":i?n[a]=i[a]:r&&(n[a]="percent")})}t.exports=h},P47w:function(t,e,n){var i=n("hydK").createElement,a=n("IMiH"),r=n("mFDi"),o=n("Fofx"),s=n("6GrX"),l=n("pzxd"),u=n("dqUG"),c=a.CMD,h=Array.prototype.join,d="none",f=Math.round,p=Math.sin,g=Math.cos,m=Math.PI,v=2*Math.PI,y=180/m,x=1e-4;function _(t){return f(1e4*t)/1e4}function b(t){return t<x&&t>-x}function w(t,e){e&&S(t,"transform","matrix("+h.call(e,",")+")")}function S(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&("string"==typeof n&&n.indexOf("NaN")>-1&&console.log(n),t.setAttribute(e,n))}function M(t,e,n,i){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==d}(e,n)){var a=n?e.textFill:e.fill;a="transparent"===a?d:a,"none"!==t.getAttribute("clip-path")&&a===d&&(a="rgba(0, 0, 0, 0.002)"),S(t,"fill",a),S(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else S(t,"fill",d);if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==d}(e,n)){var r=n?e.textStroke:e.stroke;S(t,"stroke",r="transparent"===r?d:r),S(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),S(t,"paint-order",n?"stroke":"fill"),S(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(S(t,"stroke-dasharray",e.lineDash.join(",")),S(t,"stroke-dashoffset",f(e.lineDashOffset||0))):S(t,"stroke-dasharray",""),e.lineCap&&S(t,"stroke-linecap",e.lineCap),e.lineJoin&&S(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&S(t,"stroke-miterlimit",e.miterLimit)}else S(t,"stroke",d)}var I={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=i("path"),t.__svgEl=n),t.path||t.createPathProxy();var a=t.path;if(t.__dirtyPath){a.beginPath(),t.buildPath(a,t.shape),t.__dirtyPath=!1;var r=function(t){for(var e=[],n=t.data,i=t.len(),a=0;a<i;){var r="",o=0;switch(n[a++]){case c.M:r="M",o=2;break;case c.L:r="L",o=2;break;case c.Q:r="Q",o=4;break;case c.C:r="C",o=6;break;case c.A:var s=n[a++],l=n[a++],u=n[a++],h=n[a++],d=n[a++],x=n[a++],w=n[a++],S=n[a++],M=Math.abs(x),I=b(M-v)&&!b(M),T=!1;T=M>=v||!b(M)&&(x>-m&&x<0||x>m)==!!S;var A=_(s+u*g(d)),D=_(l+h*p(d));I&&(x=S?v-1e-4:1e-4-v,T=!0,9===a&&e.push("M",A,D));var C=_(s+u*g(d+x)),L=_(l+h*p(d+x));e.push("A",_(u),_(h),f(w*y),+T,+S,C,L);break;case c.Z:r="Z";break;case c.R:C=_(n[a++]),L=_(n[a++]);var P=_(n[a++]),k=_(n[a++]);e.push("M",C,L,"L",C+P,L,"L",C+P,L+k,"L",C,L+k,"L",C,L)}r&&e.push(r);for(var O=0;O<o;O++)e.push(_(n[a++]))}return e.join(" ")}(a);r.indexOf("NaN")<0&&S(n,"d",r)}M(n,e,!1,t),w(n,t.transform),null!=e.text&&C(t,t.getBoundingRect())}},T={brush:function(t){var e=t.style,n=e.image;if(n instanceof HTMLImageElement&&(n=n.src),n){var a=e.x||0,r=e.y||0,o=e.width,s=e.height,l=t.__svgEl;l||(l=i("image"),t.__svgEl=l),n!==t.__imageSrc&&(l.setAttributeNS("http://www.w3.org/1999/xlink","href",n),t.__imageSrc=n),S(l,"width",o),S(l,"height",s),S(l,"x",a),S(l,"y",r),w(l,t.transform),null!=e.text&&C(t,t.getBoundingRect())}}},A={},D=new r,C=function(t,e,n){var a=t.style;t.__dirty&&l.normalizeTextStyle(a,!0);var r=a.text;if(null!=r){r+="";var c,h,d=t.__textSvgEl;d||(d=i("text"),t.__textSvgEl=d);var f=a.textPosition,p=a.textDistance,g=a.textAlign||"left";"number"==typeof a.fontSize&&(a.fontSize+="px");var m=a.font||[a.fontStyle||"",a.fontWeight||"",a.fontSize||"",a.fontFamily||""].join(" ")||s.DEFAULT_FONT,v=L(a.textVerticalAlign),y=(n=s.getBoundingRect(r,m,g,v)).lineHeight;if(f instanceof Array)c=e.x+f[0],h=e.y+f[1];else{var x=s.adjustTextPositionOnRect(f,e,p);c=x.x,h=x.y,v=L(x.textVerticalAlign),g=x.textAlign}S(d,"alignment-baseline",v),m&&(d.style.font=m);var _=a.textPadding;if(S(d,"x",c),S(d,"y",h),M(d,a,!0,t),t instanceof u||t.style.transformText)w(d,t.transform);else{if(t.transform)D.copy(e),D.applyTransform(t.transform),e=D;else{var b=t.transformCoordToGlobal(e.x,e.y);e.x=b[0],e.y=b[1],t.transform=o.identity(o.create())}var I=a.textOrigin;"center"===I?(c=n.width/2+c,h=n.height/2+h):I&&(c=I[0]+c,h=I[1]+h);var T=-a.textRotation||0,A=o.create();o.rotate(A,A,T),o.translate(A,A,b=[t.transform[4],t.transform[5]]),w(d,A)}var C=r.split("\n"),P=C.length,k=g;"left"===k?(k="start",_&&(c+=_[3])):"right"===k?(k="end",_&&(c-=_[1])):"center"===k&&(k="middle",_&&(c+=(_[3]-_[1])/2));var O=0;if("after-edge"===v?(O=-n.height+y,_&&(O-=_[2])):"middle"===v?(O=(-n.height+y)/2,_&&(h+=(_[0]-_[2])/2)):_&&(O+=_[0]),t.__text!==r||t.__textFont!==m){var E=t.__tspanList||[];t.__tspanList=E;for(var N=0;N<P;N++)(z=E[N])?z.innerHTML="":(z=E[N]=i("tspan"),d.appendChild(z),S(z,"alignment-baseline",v),S(z,"text-anchor",k)),S(z,"x",c),S(z,"y",h+N*y+O),z.appendChild(document.createTextNode(C[N]));for(;N<E.length;N++)d.removeChild(E[N]);E.length=P,t.__text=r,t.__textFont=m}else if(t.__tspanList.length){var R=t.__tspanList.length;for(N=0;N<R;++N){var z;(z=t.__tspanList[N])&&(S(z,"x",c),S(z,"y",h+N*y+O))}}}};function L(t){return"middle"===t?"middle":"bottom"===t?"after-edge":"hanging"}A.drawRectText=C,A.brush=function(t){var e=t.style;null!=e.text&&(e.textPosition=[0,0],C(t,{x:e.x||0,y:e.y||0,width:0,height:0},t.getBoundingRect()))},e.path=I,e.image=T,e.text=A},PNag:function(t,e,n){var i=n("bYtY"),a=n("SKnc"),r=n("YH21"),o=n("crZl"),s=n("IwbS"),l=n("OELB"),u=n("72pK"),c=n("y7Aq"),h=n("4NO4"),d=l.linearMap,f=i.each,p=Math.min,g=Math.max,m=o.extend({type:"visualMap.continuous",init:function(){m.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._hoverLinkDataIndices=[]},doRender:function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var a=this.visualMapModel,r=a.get("textGap"),o=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([o[0]/2,0===n?-r:o[1]+r],l),c=this._applyTransform(0===n?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:i,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,n=this._shapes,a=e.itemSize,r=this._orient,o=this._useHandle,s=c.getItemAlign(e,this.api,a),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=v()),l.add(n.inRange=v(null,o?x(this._orient):null,i.bind(this._dragHandle,this,"all",!1),i.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("\u56fd"),h=g(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,a,h,r,s),this._createHandle(l,1,a,h,r,s)),this._createIndicator(l,a,h,r),t.add(l)},_createHandle:function(t,e,n,a,o){var l=i.bind(this._dragHandle,this,e,!1),u=i.bind(this._dragHandle,this,e,!0),c=v(function(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}(e,a),x(this._orient),l,u);c.position[0]=n[0],t.add(c);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){r.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var f=["horizontal"===o?a/2:1.5*a,"horizontal"===o?0===e?-1.5*a:1.5*a:0===e?-a/2:a/2],p=this._shapes;p.handleThumbs[e]=c,p.handleLabelPoints[e]=f,p.handleLabels[e]=d},_createIndicator:function(t,e,n,i){var a=v([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var r=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(o);var l=["horizontal"===i?n/2:9,0],u=this._shapes;u.indicator=a,u.indicatorLabel=o,u.indicatorLabelPoint=l},_dragHandle:function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():y(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[d(e[0],n,i,!0),d(e[1],n,i,!0)]},_updateInterval:function(t,e){var n=this.visualMapModel,i=this._handleEnds,a=[0,n.itemSize[1]];u(e=e||0,i,a,t,0);var r=n.getExtent();this._dataInterval=[d(i[0],a,r,!0),d(i[1],a,r,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,a=[0,e.itemSize[1]],r=t?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,r,"inRange"),s=this._createBarVisual(n,n,a,"outOfRange");i.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,o)},_createBarVisual:function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),s=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(n,s);return{barColor:new a(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var a=1;a<100;a++){var r=t[0]+i*a;if(r>t[1])break;n.push({color:this.getControllerVisual(r,"color",e),offset:a/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,a=n.handleThumbs,r=n.handleLabels;f([0,1],function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(n.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",n.barGroup)})},this)}},_showIndicator:function(t,e,n,i){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=d(t,r,[0,o[1]],!0),u=this._shapes,c=u.indicator;if(c){c.position[1]=l,c.attr("invisible",!1),c.setShape("points",function(t,e,i,a){return n?[[0,-p(e,g(i,0))],[6,0],[0,p(e,g(a-i,0))]]:[[0,0],[5,-5],[5,5]]}(0,i,l,o[1]));var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});c.setStyle("fill",h);var f=s.applyTransform(u.indicatorLabelPoint,s.getTransform(c,this.group)),m=u.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",u.barGroup),y=this._orient;m.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:f[0],y:f[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=p(g(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel;if(n.option.hoverLink){var i=[0,n.itemSize[1]],a=n.getExtent();t=p(g(i[0],t),i[1]);var r=function(t,e,n){var i=6,a=t.get("hoverLinkDataSize");return a&&(i=d(a,e,n,!0)/2),i}(n,a,i),o=[t-r,t+r],s=d(t,i,a,!0),l=[d(o[0],i,a,!0),d(o[1],i,a,!0)];o[0]<i[0]&&(l[0]=-1/0),o[1]>i[1]&&(l[1]=1/0),e&&(l[0]===-1/0?this._showIndicator(s,l[1],"< ",r):l[1]===1/0?this._showIndicator(s,l[0],"> ",r):this._showIndicator(s,s,"\u2248 ",r));var u=this._hoverLinkDataIndices,f=[];(e||y(n))&&(f=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var m=h.compressBatches(u,f);this._dispatchHighDown("downplay",c.convertDataIndex(m[0])),this._dispatchHighDown("highlight",c.convertDataIndex(m[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var a=i.getData(e.dataType),r=a.get(n.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.convertDataIndex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,a){var r=s.getTransform(e,a?null:this.group);return s[i.isArray(t)?"applyTransform":"transformDirection"](t,r,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function v(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){r.stop(t.event)},ondragend:i})}function y(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function x(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=m},ProS:function(t,e,n){n("Tghj");var i=n("aX58"),a=n("bYtY"),r=n("Qe9p"),o=n("ItGF"),s=n("BPZU"),l=n("H6uX"),u=n("fmMI"),c=n("hD7B"),h=n("IDmD"),d=n("ypgQ"),f=n("+wW9"),p=n("0V0F"),g=n("bLfw"),m=n("T4UG"),v=n("sS/r"),y=n("6Ic6"),x=n("IwbS"),_=n("4NO4"),b=n("iLNv").throttle,w=n("/WM3"),S=n("uAnK"),M=n("mYwL"),I=n("af/B"),T=n("xTNl"),A=n("8hn6");n("A1Ka");var D=n("7DRL"),C=a.assert,L=a.each,P=a.isFunction,k=a.isObject,O=g.parseClassType,E=1e3,N=3e3,R={PROCESSOR:{FILTER:E,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,GLOBAL:2e3,CHART:N,COMPONENT:4e3,BRUSH:5e3}},z="__flagInMainProcess",B="__optionUpdated",V=/^[a-zA-Z0-9_]+$/;function Y(t){return function(e,n,i){e=e&&e.toLowerCase(),l.prototype[t].call(this,e,n,i)}}function G(){l.call(this)}function F(t,e,n){n=n||{},"string"==typeof e&&(e=dt[e]),this._dom=t;var r=this._zr=i.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=b(a.bind(r.flush,r),17),(e=a.clone(e))&&f(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var o,u,d=this._api=(u=(o=this)._coordSysMgr,a.extend(new c(o),{getCoordinateSystems:a.bind(u.getCoordinateSystems,u),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return o._model.getComponent(e.mainType,e.index);t=t.parent}}}));function p(t,e){return t.__prio-e.__prio}s(ht,p),s(lt,p),this._scheduler=new I(this,d,lt,ht),l.call(this,this._ecEventProcessor=new rt),this._messageCenter=new G,this._initEvents(),this.resize=a.bind(this.resize,this),this._pendingActions=[],r.animation.on("frame",this._onframe,this),function(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[B]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}(r,this),a.setAsPrimitive(this)}G.prototype.on=Y("on"),G.prototype.off=Y("off"),G.prototype.one=Y("one"),a.mixin(G,l);var H=F.prototype;function W(t,e,n){var i,a=this._model,r=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(a,e);for(var o=0;o<r.length;o++){var s=r[o];if(s[t]&&null!=(i=s[t](a,e,n)))return i}}H._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[B]){var e=this[B].silent;this[z]=!0,U(this),j.update.call(this),this[z]=!1,this[B]=!1,K.call(this,e),Q.call(this,e)}else if(t.unfinished){var n=1,i=this._model;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),X(this,i),t.performVisualTasks(i),et(this,this._model,0,"remain"),n-=+new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},H.getDom=function(){return this._dom},H.getZr=function(){return this._zr},H.setOption=function(t,e,n){var i;if(k(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[z]=!0,!this._model||e){var a=new d(this._api),r=this._theme,o=this._model=new u(null,null,r,a);o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,ut),n?(this[B]={silent:i},this[z]=!1):(U(this),j.update.call(this),this._zr.flush(),this[B]=!1,this[z]=!1,K.call(this,i),Q.call(this,i))},H.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},H.getModel=function(){return this._model},H.getOption=function(){return this._model&&this._model.getOption()},H.getWidth=function(){return this._zr.getWidth()},H.getHeight=function(){return this._zr.getHeight()},H.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},H.getRenderedCanvas=function(t){if(o.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},H.getSvgDataUrl=function(){if(o.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},H.getDataURL=function(t){var e=this._model,n=[],i=this;L((t=t||{}).excludeComponents,function(t){e.eachComponent({mainType:t},function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return L(n,function(t){t.group.ignore=!1}),a},H.getConnectedDataURL=function(t){if(o.canvasSupported){var e=this.group,n=Math.min,r=Math.max;if(gt[e]){var s=1/0,l=1/0,u=-1/0,c=-1/0,h=[],d=t&&t.pixelRatio||1;a.each(pt,function(i,o){if(i.group===e){var d=i.getRenderedCanvas(a.clone(t)),f=i.getDom().getBoundingClientRect();s=n(f.left,s),l=n(f.top,l),u=r(f.right,u),c=r(f.bottom,c),h.push({dom:d,left:f.left,top:f.top})}});var f=(u*=d)-(s*=d),p=(c*=d)-(l*=d),g=a.createCanvas();g.width=f,g.height=p;var m=i.init(g);return L(h,function(t){var e=new x.Image({style:{x:t.left*d-s,y:t.top*d-l,image:t.dom}});m.add(e)}),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},H.convertToPixel=a.curry(W,"convertToPixel"),H.convertFromPixel=a.curry(W,"convertFromPixel"),H.containPixel=function(t,e){var n;return t=_.parseFinder(this._model,t),a.each(t,function(t,i){i.indexOf("Models")>=0&&a.each(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)n|=!!a.containPoint(e);else if("seriesModels"===i){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(n|=r.containPoint(e,t))}},this)},this),!!n},H.getVisual=function(t,e){var n=(t=_.parseFinder(this._model,t,{defaultMainType:"series"})).seriesModel.getData(),i=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=i?n.getItemVisual(i,e):n.getVisual(e)},H.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},H.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var j={prepareAndUpdate:function(t){U(this),j.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,a=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),a.create(e,n),s.performDataProcessorTasks(e,t),X(this,e),a.update(e,n),$(e),s.performVisualTasks(e,t),tt(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(o.canvasSupported)i.setBackgroundColor(l);else{var u=r.parse(l);l=r.stringify(u,"rgb"),0===u[3]&&(l="transparent")}nt(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var r=[];e.eachComponent(function(a,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,i,t);l&&l.update&&r.push(s)}else r.push(s)});var o=a.createHashMap();e.eachSeries(function(a){var r=n._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,i,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)}),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),et(n,e,0,t,o),nt(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),tt(this,this._model,this._api,t),nt(e,this._api))},updateVisual:function(t){j.update.call(this,t)},updateLayout:function(t){j.update.call(this,t)}};function U(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),J(t,"component",e,n),J(t,"chart",e,n),n.plan()}function Z(t,e,n,i,r){var o=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;null!=u&&(u=a.createHashMap(_.normalizeToArray(u))),o&&o.eachComponent(l,function(e){u&&null!=u.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else L(t._componentsViews.concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}}function X(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})}function q(t,e){var n=t.type,i=t.escapeConnect,r=ot[n],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&O(s[0]),this[z]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=a.map(t.batch,function(e){return(e=a.defaults(a.extend({},e),t)).batch=null,e}));var h,d=[],f="highlight"===n||"downplay"===n;L(u,function(t){(h=(h=r.action(t,this._model,this._api))||a.extend({},t)).type=o.event||h.type,d.push(h),f?Z(this,l,t,"series"):s&&Z(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[B]?(U(this),j.update.call(this,t),this[B]=!1):j[l].call(this,t)),h=c?{type:o.event||n,escapeConnect:i,batch:d}:d[0],this[z]=!1,!e&&this._messageCenter.trigger(h.type,h)}function K(t){for(var e=this._pendingActions;e.length;){var n=e.shift();q.call(this,n,t)}}function Q(t){!t&&this.trigger("updated")}function J(t,e,n,i){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;u<r.length;u++)r[u].__alive=!1;function c(t){var e="_ec_"+t.id+"_"+t.type,u=o[e];if(!u){var c=O(t.type);(u=new(a?v.getClass(c.main,c.sub):y.getClass(c.sub))).init(n,l),o[e]=u,r.push(u),s.add(u.group)}t.__viewId=u.__id=e,u.__alive=!0,u.__model=t,u.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!a&&i.prepareView(u,t,n,l)}for(a?n.eachComponent(function(t,e){"series"!==t&&c(e)}):n.eachSeries(c),u=0;u<r.length;){var h=r[u];h.__alive?u++:(!a&&h.renderTask.dispose(),s.remove(h.group),h.dispose(n,l),r.splice(u,1),delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function $(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function tt(t,e,n,i){!function(t,e,n,i,a){L(t._componentsViews,function(t){var a=t.__model;t.render(a,e,n,i),at(a,t)})}(t,e,n,i),L(t._chartsViews,function(t){t.__alive=!1}),et(t,e,0,i),L(t._chartsViews,function(t){t.__alive||t.remove(e,n)})}function et(t,e,n,i,a){var r,s=t._scheduler;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var o=n.renderTask;s.updatePayload(o,i),a&&a.get(e.uid)&&o.dirty(),r|=o.perform(s.getPerformArgs(o)),n.group.silent=!!e.get("silent"),at(e,n),function(t,e){var n=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",n)})})}(e,n)}),s.unfinished|=r,function(e,n){var i=t._zr.storage,a=0;i.traverse(function(t){t.isGroup||a++}),a>n.get("hoverLayerThreshold")&&!o.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}(0,e),S(t._zr.dom,e)}function nt(t,e){L(ct,function(n){n(t,e)})}H.resize=function(t){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[z]=!0,n&&U(this),j.update.call(this),this[z]=!1,K.call(this,i),Q.call(this,i)}},H.showLoading=function(t,e){if(k(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ft[t]){var n=ft[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},H.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},H.makeActionFromEvent=function(t){var e=a.extend({},t);return e.type=st[t.type],e},H.dispatchAction=function(t,e){k(e)||(e={silent:!!e}),ot[t.type]&&this._model&&(this[z]?this._pendingActions.push(t):(q.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&o.browser.weChat&&this._throttledZrFlush(),K.call(this,e.silent),Q.call(this,e.silent)))},H.appendData=function(t){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0},H.on=Y("on"),H.off=Y("off"),H.one=Y("one");var it=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function at(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))})}function rt(){}H._initEvents=function(){L(it,function(t){this._zr.on(t,function(e){var n,i=this.getModel(),r=e.target;if("globalout"===t)n={};else if(r&&null!=r.dataIndex){var o=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=o&&o.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(n=a.extend({},r.eventData));if(n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&i.getComponent(s,l),c=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:n,model:u,view:c},this.trigger(t,n)}},this)},this),L(st,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},H.isDisposed=function(){return this._disposed},H.clear=function(){this.setOption({series:[]},!0)},H.dispose=function(){if(!this._disposed){this._disposed=!0,_.setAttribute(this.getDom(),yt,"");var t=this._api,e=this._model;L(this._componentsViews,function(n){n.dispose(e,t)}),L(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete pt[this.id]}},a.mixin(F,l),rt.prototype={constructor:rt,normalizeQuery:function(t){var e={},n={},i={};if(a.isString(t)){var r=O(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};a.each(t,function(t,a){for(var r=!1,l=0;l<o.length;l++){var u=o[l],c=a.lastIndexOf(u);if(c>0&&c===a.length-u.length){var h=a.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(a)&&(n[a]=t,r=!0),r||(i[a]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var a=i.targetEl,r=i.packedEvent,o=i.model,s=i.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,r,"name")&&c(u,r,"dataIndex")&&c(u,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,r));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var ot={},st={},lt=[],ut=[],ct=[],ht=[],dt={},ft={},pt={},gt={},mt=new Date-0,vt=new Date-0,yt="_echarts_instance_";function xt(t){gt[t]=!1}var _t=xt;function bt(t){return pt[_.getAttribute(t,yt)]}function wt(t,e){dt[t]=e}function St(t){ut.push(t)}function Mt(t,e){At(lt,t,e,E)}function It(t,e,n){"function"==typeof e&&(n=e,e="");var i=k(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,C(V.test(i)&&V.test(e)),ot[i]||(ot[i]={action:n,actionInfo:t}),st[e]=i}function Tt(t,e){At(ht,t,e,N,"visual")}function At(t,e,n,i,a){(P(e)||k(e))&&(n=e,e=i);var r=I.wrapStageHandler(n,a);return r.__prio=e,r.__raw=n,t.push(r),r}function Dt(t,e){ft[t]=e}Tt(2e3,w),St(f),Mt(5e3,p),Dt("default",M),It({type:"highlight",event:"highlight",update:"highlight"},a.noop),It({type:"downplay",event:"downplay",update:"downplay"},a.noop),wt("light",T),wt("dark",A),e.version="4.2.0",e.dependencies={zrender:"4.0.5"},e.PRIORITY=R,e.init=function(t,e,n){var i=bt(t);if(i)return i;var a=new F(t,e,n);return a.id="ec_"+mt++,pt[a.id]=a,_.setAttribute(t,yt,a.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i<t.length;i++)t[i][e]=n}L(st,function(i,a){t._messageCenter.on(a,function(i){if(gt[t.group]&&0!==t[e]){if(i&&i.escapeConnect)return;var a=t.makeActionFromEvent(i),r=[];L(pt,function(e){e!==t&&e.group===t.group&&r.push(e)}),n(r,0),L(r,function(t){1!==t[e]&&t.dispatchAction(a)}),n(r,2)}})})}(a),a},e.connect=function(t){if(a.isArray(t)){var e=t;t=null,L(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+vt++,L(e,function(e){e.group=t})}return gt[t]=!0,t},e.disConnect=xt,e.disconnect=_t,e.dispose=function(t){"string"==typeof t?t=pt[t]:t instanceof F||(t=bt(t)),t instanceof F&&!t.isDisposed()&&t.dispose()},e.getInstanceByDom=bt,e.getInstanceById=function(t){return pt[t]},e.registerTheme=wt,e.registerPreprocessor=St,e.registerProcessor=Mt,e.registerPostUpdate=function(t){ct.push(t)},e.registerAction=It,e.registerCoordinateSystem=function(t,e){h.register(t,e)},e.getCoordinateSystemDimensions=function(t){var e=h.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},e.registerLayout=function(t,e){At(ht,t,e,1e3,"layout")},e.registerVisual=Tt,e.registerLoading=Dt,e.extendComponentModel=function(t){return g.extend(t)},e.extendComponentView=function(t){return v.extend(t)},e.extendSeriesModel=function(t){return m.extend(t)},e.extendChartView=function(t){return y.extend(t)},e.setCanvasCreator=function(t){a.$override("createCanvas",t)},e.registerMap=function(t,e,n){D.registerMap(t,e,n)},e.getMap=function(t){var e=D.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}},e.dataTool={};var Ct=n("txkQ");!function(){for(var t in Ct)Ct.hasOwnProperty(t)&&(e[t]=Ct[t])}()},Q7if:function(t,e,n){var i=n("JEkh").extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});t.exports=i},QBsz:function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(t){return Math.sqrt(r(t))}var a=i;function r(t){return t[0]*t[0]+t[1]*t[1]}var o=r;function s(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var l=s;function u(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var c=u;e.create=function(t,e){var i=new n(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.clone=function(t){var e=new n(2);return e[0]=t[0],e[1]=t[1],e},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},e.scaleAndAdd=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},e.sub=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},e.len=i,e.length=a,e.lenSquare=r,e.lengthSquare=o,e.mul=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},e.div=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.normalize=function(t,e){var n=i(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},e.distance=s,e.dist=l,e.distanceSquare=u,e.distSquare=c,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},e.lerp=function(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t},e.applyTransform=function(t,e,n){var i=e[0],a=e[1];return t[0]=n[0]*i+n[2]*a+n[4],t[1]=n[1]*i+n[3]*a+n[5],t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},QUw5:function(t,e,n){var i=n("OlYY").extend({type:"dataZoom.select"});t.exports=i},Qe9p:function(t,e,n){var i=n("1RvN"),a={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 r(t){return(t=Math.round(t))<0?0:t>255?255:t}function o(t){return t<0?0:t>1?1:t}function s(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100):o(parseFloat(t))}function u(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){return t+(e-t)*n}function h(t,e,n,i,a){return t[0]=e,t[1]=n,t[2]=i,t[3]=a,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new i(20),p=null;function g(t,e){p&&d(p,e),p=f.put(t,p||e.slice())}function m(t,e){if(t){e=e||[];var n=f.get(t);if(n)return d(e,n);var i,r=(t+="").replace(/ /g,"").toLowerCase();if(r in a)return d(e,a[r]),g(t,e),e;if("#"===r.charAt(0))return 4===r.length?(i=parseInt(r.substr(1),16))>=0&&i<=4095?(h(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1),g(t,e),e):void h(e,0,0,0,1):7===r.length?(i=parseInt(r.substr(1),16))>=0&&i<=16777215?(h(e,(16711680&i)>>16,(65280&i)>>8,255&i,1),g(t,e),e):void h(e,0,0,0,1):void 0;var o=r.indexOf("("),u=r.indexOf(")");if(-1!==o&&u+1===r.length){var c=r.substr(0,o),p=r.substr(o+1,u-(o+1)).split(","),m=1;switch(c){case"rgba":if(4!==p.length)return void h(e,0,0,0,1);m=l(p.pop());case"rgb":return 3!==p.length?void h(e,0,0,0,1):(h(e,s(p[0]),s(p[1]),s(p[2]),m),g(t,e),e);case"hsla":return 4!==p.length?void h(e,0,0,0,1):(p[3]=l(p[3]),v(p,e),g(t,e),e);case"hsl":return 3!==p.length?void h(e,0,0,0,1):(v(p,e),g(t,e),e);default:return}}h(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=l(t[1]),a=l(t[2]),o=a<=.5?a*(i+1):a+i-a*i,s=2*a-o;return h(e=e||[],r(255*u(s,o,n+1/3)),r(255*u(s,o,n)),r(255*u(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),a=Math.floor(i),s=Math.ceil(i),l=e[a],u=e[s],h=i-a;return n[0]=r(c(l[0],u[0],h)),n[1]=r(c(l[1],u[1],h)),n[2]=r(c(l[2],u[2],h)),n[3]=o(c(l[3],u[3],h)),n}}var x=y;function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),a=Math.floor(i),s=Math.ceil(i),l=m(e[a]),u=m(e[s]),h=i-a,d=w([r(c(l[0],u[0],h)),r(c(l[1],u[1],h)),r(c(l[2],u[2],h)),o(c(l[3],u[3],h))],"rgba");return n?{color:d,leftIndex:a,rightIndex:s,value:i}:d}}var b=_;function w(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+")"}}e.parse=m,e.lift=function(t,e){var n=m(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:t[i]<0&&(n[i]=0);return w(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=m(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=y,e.fastMapToColor=x,e.lerp=_,e.mapToColor=b,e.modifyHSL=function(t,e,n,i){if(t=m(t))return t=function(t){if(t){var e,n,i=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o,u=(s+o)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-i)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;i===s?e=d-h:a===s?e=1/3+c-d:r===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(t),null!=e&&(t[0]=(a=e,(a=Math.round(a))<0?0:a>360?360:a)),null!=n&&(t[1]=l(n)),null!=i&&(t[2]=l(i)),w(v(t),"rgba");var a},e.modifyAlpha=function(t,e){if((t=m(t))&&null!=e)return t[3]=o(e),w(t,"rgba")},e.stringify=w},QuXc:function(t,e){var n=function(t){this.colorStops=t||[]};n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}},t.exports=n},Qvb6:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("ItGF"),o=n("B9fm"),s=n("gvm7"),l=n("7aKB"),u=n("OELB"),c=n("IwbS"),h=n("Ez2D"),d=n("+TT/"),f=n("Qxkt"),p=n("F9bG"),g=n("aX7z"),m=n("/y7N"),v=n("4NO4").getTooltipRenderMode,y=a.bind,x=a.each,_=u.parsePercent,b=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=i.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var n,i=t.getComponent("tooltip").get("renderMode");this._renderMode=v(i),"html"===this._renderMode?(n=new o(e.getDom(),e),this._newLine="<br/>"):(n=new s(e),this._newLine="\n"),this._tooltipContent=n}},render:function(t,e,n){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");p.register("itemTooltip",this._api,y(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})})}},manuallyShowTip:function(t,e,n,i){if(i.from!==this.uid&&!r.node){var a=M(i,n);this._ticket="";var o=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var s=b;s.position=[i.x,i.y],s.update(),s.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:s},a)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,event:{},dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},a);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=h(i,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:i.position,target:l.el,event:{}},a)}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,event:{}},a))}},manuallyHideTip:function(t,e,n,i){!this._alwaysShowContent&&this._tooltipModel&&this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(M(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var a=i.seriesIndex,r=i.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=e.getSeriesByIndex(a);if(s&&"axis"===(t=S([s.getData().getItemModel(r),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:i.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,i=[e.offsetX,e.offsetY],r=[],o=[],s=S([e.tooltipOption,this._tooltipModel]),u=this._renderMode,c=this._newLine,h={};x(t,function(t){x(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value,s=[];if(e&&null!=i){var d=m.getValueLabel(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,function(r){var l=n.getSeriesByIndex(r.seriesIndex),c=r.dataIndexInside,f=l&&l.getDataParams(c);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,i),f.axisValueLabel=d,f){o.push(f);var p,m=l.formatTooltip(c,!0,null,u);a.isObject(m)?(p=m.html,a.merge(h,m.markers)):p=m,s.push(p)}});var f=d;r.push("html"!==u?s.join(c):(f?l.encodeHTML(f)+c:"")+s.join(c))}})},this),r.reverse(),r=r.join(this._newLine+this._newLine);var d=e.position;this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(s,d,i[0],i[1],this._tooltipContent,o):this._showTooltipContent(s,r,o,Math.random(),i[0],i[1],d,void 0,h)})},_showSeriesItemTooltip:function(t,e,n){var i=e.seriesIndex,r=this._ecModel.getSeriesByIndex(i),o=e.dataModel||r,s=e.dataIndex,l=e.dataType,u=o.getData(),c=S([u.getItemModel(s),o,r&&(r.coordinateSystem||{}).model,this._tooltipModel]),h=c.get("trigger");if(null==h||"item"===h){var d,f,p=o.getDataParams(s,l),g=o.formatTooltip(s,!1,l,this._renderMode);a.isObject(g)?(d=g.html,f=g.markers):(d=g,f=null);var m="item_"+o.name+"_"+s;this._showOrMove(c,function(){this._showTooltipContent(c,d,p,m,t.offsetX,t.offsetY,t.position,t.target,f)}),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:i,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;"string"==typeof i&&(i={content:i,formatter:i});var a=new f(i,this._tooltipModel,this._ecModel),r=a.get("content"),o=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,r,a.get("formatterParams")||{},o,t.offsetX,t.offsetY,t.position,e)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,a,r,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,h=t.get("formatter");o=o||t.get("position");var d=e;if(h&&"string"==typeof h)d=l.formatTpl(h,n,!0);else if("function"==typeof h){var f=y(function(e,i){e===this._ticket&&(c.setContent(i,u,t),this._updatePosition(t,o,a,r,c,n,s))},this);this._ticket=i,d=h(n,i,f)}c.setContent(d,u,t),c.show(t),this._updatePosition(t,o,a,r,c,n,s)}},_updatePosition:function(t,e,n,i,r,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"==typeof e&&(e=e([n,i],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),a.isArray(e))n=_(e[0],l),i=_(e[1],u);else if(a.isObject(e)){e.width=c[0],e.height=c[1];var g=d.getLayoutRect(e,{width:l,height:u});n=g.x,i=g.y,h=null,f=null}else if("string"==typeof e&&s){var m=function(t,n,i){var a=i[0],r=i[1],o=0,s=0,l=n.width,u=n.height;switch(e){case"inside":o=n.x+l/2-a/2,s=n.y+u/2-r/2;break;case"top":o=n.x+l/2-a/2,s=n.y-r-5;break;case"bottom":o=n.x+l/2-a/2,s=n.y+u+5;break;case"left":o=n.x-a-5,s=n.y+u/2-r/2;break;case"right":o=n.x+l+5,s=n.y+u/2-r/2}return[o,s]}(0,p,c);n=m[0],i=m[1]}else m=function(t,e,n,i,a,r,o){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=r&&(t+l+r>i?t-=l+r:t+=r),null!=o&&(e+u+o>a?e-=u+o:e+=o),[t,e]}(n,i,r,l,u,h?null:20,f?null:20),n=m[0],i=m[1];h&&(n-=I(h)?c[0]/2:"right"===h?c[0]:0),f&&(i-=I(f)?c[1]/2:"bottom"===f?c[1]:0),t.get("confine")&&(m=function(t,e,n,i,a){var r=n.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,i)-o,e=Math.min(e+s,a)-s,[t=Math.max(t,0),e=Math.max(e,0)]}(n,i,r,l,u),n=m[0],i=m[1]),r.moveTo(n,i)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&x(e,function(e,i){var a=e.dataByAxis||{},r=(t[i]||{}).dataByAxis||[];(n&=a.length===r.length)&&x(a,function(t,e){var i=r[e]||{},a=t.seriesDataIndices||[],o=i.seriesDataIndices||[];(n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&a.length===o.length)&&x(a,function(t,e){var i=o[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex})})}),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.hide(),p.unregister("itemTooltip",e))}});function S(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(f.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new f(n,e,e.ecModel))}return e}function M(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function I(t){return"center"===t||"middle"===t}t.exports=w},Qxkt:function(t,e,n){var i=n("bYtY"),a=n("ItGF"),r=n("4NO4").makeInner,o=n("Yl7c"),s=o.enableClassExtend,l=o.enableClassCheck,u=n("OQFs"),c=n("m9t5"),h=n("/iHx"),d=n("VR9l"),f=i.mixin,p=r();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var i=0;i<e.length&&(!e[i]||null!=(t=t&&"object"==typeof t?t[e[i]]:null));i++);return null==t&&n&&(t=n.get(e)),t}function v(t,e){var n=p(t).getParent;return n?n.call(t,e):t.parentModel}g.prototype={constructor:g,init:null,mergeOption:function(t){i.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:m(this.option,this.parsePath(t),!e&&v(this,t))},getShallow:function(t,e){var n=this.option,i=null==n?n:n[t],a=!e&&v(this,t);return null==i&&a&&(i=a.getShallow(t)),i},getModel:function(t,e){var n;return new g(null==t?this.option:m(this.option,t=this.parsePath(t)),e=e||(n=v(this,t))&&n.getModel(t),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(i.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"==typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){p(this).getParent=t},isAnimationEnabled:function(){if(!a.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},s(g),l(g),f(g,u),f(g,c),f(g,h),f(g,d),t.exports=g},QzjZ:function(t,e,n){var i=n("S/Yl");n("IDmD").register("single",{create:function(t,e){var n=[];return t.eachComponent("singleAxis",function(a,r){var o=new i(a,t,e);o.name="single_"+r,o.resize(a,e),a.coordinateSystem=o,n.push(o)}),t.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=n&&n.coordinateSystem}}),n},dimensions:i.prototype.dimensions})},R4Th:function(t,e,n){var i=n("ProS"),a=n("9wZj"),r=n("yO87"),o=n("Fofx"),s=n("h8O9"),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new a(r)},render:function(t,e,n){var i=t.getData(),a=this._symbolDraw;a.updateData(i),this.group.add(a.group)},updateTransform:function(t,e,n){var i=t.getData();this.group.dirty();var a=s().reset(t);a.progress&&a.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=o.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},RBEP:function(t,e,n){for(var i=n("ProS"),a=n("VaxA"),r=function(){},o=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<o.length;s++)i.registerAction({type:o[s],update:"updateView"},r);i.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,n){var i=a.retrieveTargetInfo(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=a.aboveViewRoot(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})})},RDYZ:function(t,e,n){var i=n("dMvE");function a(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}a.prototype={constructor:a,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var a=this.easing,r="string"==typeof a?i[a]:a,o="function"==typeof r?r(n):n;return this.fire("frame",o),1==n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){this._startTime=t-(t-this._startTime-this._pausedTime)%this._life+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}},t.exports=a},RPvy:function(t,e,n){var i=n("ProS"),a=n("VaxA");i.registerAction({type:"sunburstRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){var i=a.retrieveTargetInfo(t,["sunburstRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=a.aboveViewRoot(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})}),i.registerAction({type:"sunburstHighlight",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){var i=a.retrieveTargetInfo(t,["sunburstHighlight"],e);i&&(t.highlight=i.node)})}),i.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){t.unhighlight=!0})})},RSch:function(t,e,n){var i=n("IwbS"),a=n("bYtY");function r(t,e,n){i.Group.call(this),this._createPolyline(t,e,n)}var o=r.prototype;o._createPolyline=function(t,e,n){var a=t.getItemLayout(e),r=new i.Polyline({shape:{points:a}});this.add(r),this._updateCommonStl(t,e,n)},o.updateData=function(t,e,n){var a=t.hostModel,r=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};i.updateProps(r,o,a,e),this._updateCommonStl(t,e,n)},o._updateCommonStl=function(t,e,n){var r=this.childAt(0),o=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!t.hasItemOption||(l=o.getModel("lineStyle").getLineStyle(),u=o.getModel("emphasis.lineStyle").getLineStyle()),r.useStyle(a.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=u,i.setHoverStyle(this)},o.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},a.inherits(r,i.Group),t.exports=r},RXMa:function(t,e,n){var i=n("y+Vt").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,a,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,a,!0)}});t.exports=i},RlCK:function(t,e,n){var i=n("ProS"),a=n("bYtY");function r(t,e,n){var i,r={},o="toggleSelected"===t;return n.eachComponent("legend",function(n){o&&null!=i?n[i?"select":"unSelect"](e.name):(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();a.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r[e]=r.hasOwnProperty(e)?r[e]&&i:i}})}),{name:e.name,selected:r}}i.registerAction("legendToggleSelect","legendselectchanged",a.curry(r,"toggleSelected")),i.registerAction("legendSelect","legendselected",a.curry(r,"select")),i.registerAction("legendUnSelect","legendunselected",a.curry(r,"unSelect"))},Rx6q:function(t,e){t.exports=function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}},"S/Yl":function(t,e,n){var i=n("Zvw2"),a=n("aX7z"),r=n("+TT/").getLayoutRect,o=n("bYtY").each;function s(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._init(t,e,n),this.model=t}s.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:s,_init:function(t,e,n){var r=new i(this.dimension,a.createScaleByModel(t),[0,0],t.get("type"),t.get("position"));r.onBand="category"===r.type&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},update:function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();o(e.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(e,t)},this),a.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=r({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],a=e.reverse?1:0;e.setExtent(i[a],i[1-a]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1],a=t.isHorizontal();t.toGlobalCoord=a?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=a?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[a]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-a]=0===a?n.y+n.height/2:n.x+n.width/2,i}},t.exports=s},"SA4+":function(t,e,n){n("Tghj");var i=n("ProS"),a=n("IwbS"),r=n("zYTA"),o=n("bYtY"),s=i.extendChartView({type:"heatmap",render:function(t,e,n){var i;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),this.group.removeAll(),this._incrementalDisplayable=null;var a=t.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}(a)&&this._renderOnGeo(a,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,i,r){var s,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");s=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=t.getData(),p=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel("emphasis.itemStyle").getItemStyle(),m=t.getModel("label"),v=t.getModel("emphasis.label"),y=u.type,x="cartesian2d"===y?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],_=n;_<i;_++){var b;if("cartesian2d"===y){if(isNaN(f.get(x[2],_)))continue;var w=u.dataToPoint([f.get(x[0],_),f.get(x[1],_)]);b=new a.Rect({shape:{x:w[0]-s/2,y:w[1]-l/2,width:s,height:l},style:{fill:f.getItemVisual(_,"color"),opacity:f.getItemVisual(_,"opacity")}})}else{if(isNaN(f.get(x[1],_)))continue;b=new a.Rect({z2:1,shape:u.dataToRect([f.get(x[0],_)]).contentShape,style:{fill:f.getItemVisual(_,"color"),opacity:f.getItemVisual(_,"opacity")}})}var S=f.getItemModel(_);f.hasItemOption&&(p=S.getModel("itemStyle").getItemStyle(["color"]),g=S.getModel("emphasis.itemStyle").getItemStyle(),m=S.getModel("label"),v=S.getModel("emphasis.label"));var M=t.getRawValue(_),I="-";M&&null!=M[2]&&(I=M[2]),a.setLabelStyle(p,g,m,v,{labelFetcher:t,labelDataIndex:_,defaultText:I,isRectText:!0}),b.setStyle(p),a.setHoverStyle(b,f.hasItemOption?g:o.extend({},g)),b.incremental=r,r&&(b.useHoverLayer=!0),d.add(b),f.setItemGraphicEl(_,b)}},_renderOnGeo:function(t,e,n,i){var s=n.targetVisuals.inRange,l=n.targetVisuals.outOfRange,u=e.getData(),c=this._hmLayer||this._hmLayer||new r;c.blurSize=e.get("blurSize"),c.pointSize=e.get("pointSize"),c.minOpacity=e.get("minOpacity"),c.maxOpacity=e.get("maxOpacity");var h=t.getViewRect().clone(),d=t.getRoamTransform();h.applyTransform(d);var f=Math.max(h.x,0),p=Math.max(h.y,0),g=Math.min(h.width+h.x,i.getWidth()),m=Math.min(h.height+h.y,i.getHeight()),v=g-f,y=m-p,x=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],_=u.mapArray(x,function(e,n,i){var a=t.dataToPoint([e,n]);return a[0]-=f,a[1]-=p,a.push(i),a}),b=n.getExtent(),w="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(b,n.option.range):function(t,e,n){var i=t[1]-t[0],a=(e=o.map(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,r=0;return function(t){for(var i=r;i<a;i++)if((o=e[i].interval)[0]<=t&&t<=o[1]){r=i;break}if(i===a)for(i=r-1;i>=0;i--){var o;if((o=e[i].interval)[0]<=t&&t<=o[1]){r=i;break}}return i>=0&&i<a&&n[i]}}(b,n.getPieceList(),n.option.selected);c.update(_,v,y,s.color.getNormalizer(),{inRange:s.color.getColorMapper(),outOfRange:l.color.getColorMapper()},w);var S=new a.Image({style:{width:v,height:y,x:f,y:p,image:c.canvas},silent:!0});this.group.add(S)},dispose:function(){}});t.exports=s},SA8n:function(t,e,n){var i=n("Sj9i"),a=n("QBsz"),r=[],o=[],s=[],l=i.quadraticAt,u=a.distSquare,c=Math.abs;function h(t,e,n){for(var i,a=t[0],h=t[1],d=t[2],f=1/0,p=n*n,g=.1,m=.1;m<=.9;m+=.1)r[0]=l(a[0],h[0],d[0],m),r[1]=l(a[1],h[1],d[1],m),(x=c(u(r,e)-p))<f&&(f=x,i=m);for(var v=0;v<32;v++){var y=i+g;o[0]=l(a[0],h[0],d[0],i),o[1]=l(a[1],h[1],d[1],i),s[0]=l(a[0],h[0],d[0],y),s[1]=l(a[1],h[1],d[1],y);var x=u(o,e)-p;if(c(x)<.01)break;var _=u(s,e)-p;g/=2,x<0?_>=0?i+=g:i-=g:_>=0?i-=g:i+=g}return i}t.exports=function(t,e){var n=[],r=i.quadraticSubdivide,o=[[],[],[]],s=[[],[]],l=[];function u(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}e/=2,t.eachEdge(function(t,i){var c=t.getLayout(),d=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");c.__original||(c.__original=[a.clone(c[0]),a.clone(c[1])],c[2]&&c.__original.push(a.clone(c[2])));var p=c.__original;if(null!=c[2]){if(a.copy(o[0],p[0]),a.copy(o[1],p[2]),a.copy(o[2],p[1]),d&&"none"!==d){var g=u(t.node1),m=h(o,p[0],g*e);r(o[0][0],o[1][0],o[2][0],m,n),o[0][0]=n[3],o[1][0]=n[4],r(o[0][1],o[1][1],o[2][1],m,n),o[0][1]=n[3],o[1][1]=n[4]}f&&"none"!==f&&(g=u(t.node2),m=h(o,p[1],g*e),r(o[0][0],o[1][0],o[2][0],m,n),o[1][0]=n[1],o[2][0]=n[2],r(o[0][1],o[1][1],o[2][1],m,n),o[1][1]=n[1],o[2][1]=n[2]),a.copy(c[0],o[0]),a.copy(c[1],o[2]),a.copy(c[2],o[1])}else a.copy(s[0],p[0]),a.copy(s[1],p[1]),a.sub(l,s[1],s[0]),a.normalize(l,l),d&&"none"!==d&&(g=u(t.node1),a.scaleAndAdd(s[0],s[0],l,g*e)),f&&"none"!==f&&(g=u(t.node2),a.scaleAndAdd(s[1],s[1],l,-g*e)),a.copy(c[0],s[0]),a.copy(c[1],s[1])})}},SKnc:function(t,e,n){var i=n("bYtY"),a=n("QuXc"),r=function(t,e,n,i,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=o||!1,a.call(this,r)};r.prototype={constructor:r},i.inherits(r,a),t.exports=r},"SKx+":function(t,e,n){var i=n("ProS").extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},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}}});t.exports=i},SMc4:function(t,e,n){var i=n("bYtY"),a=n("bLfw"),r=n("nkfE"),o=n("ICMv"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}i.merge(s.prototype,o);var u={offset:0};r("x",s,l,u),r("y",s,l,u),t.exports=s},SUKs:function(t,e,n){var i=n("LPTA").debugMode,a=function(){};1===i?a=function(){for(var t in arguments)throw new Error(arguments[t])}:i>1&&(a=function(){for(var t in arguments)console.log(arguments[t])}),t.exports=a},SehX:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("2B6p").updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){var i=e.coordinateSystem;if("geo"===i.type){var o=r(i,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===n&&a.each(e.seriesGroup,function(t){t.setCenter(o.center),t.setZoom(o.zoom)})}})})},SgGq:function(t,e,n){var i=n("bYtY"),a=n("H6uX"),r=n("YH21"),o=n("pP6R");function s(t){this._zr=t,this._opt={};var e=i.bind,n=e(l,this),r=e(u,this),o=e(c,this),s=e(h,this),f=e(d,this);a.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,a){this.disable(),this._opt=i.defaults(i.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",r),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",f))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",s),t.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(r.notLeftMouse(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function u(t){if(!r.notLeftMouse(t)&&g("moveOnMouseMove",t,this._opt)&&this._dragging&&"pinch"!==t.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,a=this._y,s=e-i,l=n-a;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&r.stop(t.event),p(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:i,oldY:a,newX:e,newY:n})}}function c(t){r.notLeftMouse(t)||(this._dragging=!1)}function h(t){var e=g("zoomOnMouseWheel",t,this._opt),n=g("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,a=Math.abs(i),r=t.offsetX,o=t.offsetY;if(0!==i&&(e||n)){if(e){var s=a>3?1.4:a>1?1.2:1.1;f(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:r,originY:o})}if(n){var l=Math.abs(i);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:r,originY:o})}}}function d(t){o.isTaken(this._zr,"globalPan")||f(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function f(t,e,n,i,a){t.pointerChecker&&t.pointerChecker(i,a.originX,a.originY)&&(r.stop(i.event),p(t,e,n,i,a))}function p(t,e,n,a,r){r.isAvailableBehavior=i.bind(g,null,n,a),t.trigger(e,r)}function g(t,e,n){var a=n[t];return!t||a&&(!i.isString(a)||e.event[a+"Key"])}i.mixin(s,a),t.exports=s},Sj9i:function(t,e,n){var i=n("QBsz"),a=i.create,r=i.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,u=s(3),c=a(),h=a(),d=a();function f(t){return t>-l&&t<l}function p(t){return t>l||t<-l}function g(t,e,n,i,a){var r=1-a;return r*r*(r*t+3*a*e)+a*a*(a*i+3*r*n)}function m(t,e,n,i){var a=1-i;return a*(a*t+2*i*e)+i*i*n}e.cubicAt=g,e.cubicDerivativeAt=function(t,e,n,i,a){var r=1-a;return 3*(((e-t)*r+2*(n-e)*a)*r+(i-n)*a*a)},e.cubicRootAt=function(t,e,n,i,a,r){var l=i+3*(e-n)-t,c=3*(n-2*e+t),h=3*(e-t),d=t-a,p=c*c-3*l*h,g=c*h-9*l*d,m=h*h-3*c*d,v=0;if(f(p)&&f(g))f(c)?r[0]=0:(D=-h/c)>=0&&D<=1&&(r[v++]=D);else{var y=g*g-4*p*m;if(f(y)){var x=g/p,_=-x/2;(D=-c/l+x)>=0&&D<=1&&(r[v++]=D),_>=0&&_<=1&&(r[v++]=_)}else if(y>0){var b=s(y),w=p*c+1.5*l*(-g+b),S=p*c+1.5*l*(-g-b);(D=(-c-((w=w<0?-o(-w,1/3):o(w,1/3))+(S=S<0?-o(-S,1/3):o(S,1/3))))/(3*l))>=0&&D<=1&&(r[v++]=D)}else{var M=(2*p*c-3*l*g)/(2*s(p*p*p)),I=Math.acos(M)/3,T=s(p),A=Math.cos(I),D=(-c-2*T*A)/(3*l),C=(_=(-c+T*(A+u*Math.sin(I)))/(3*l),(-c+T*(A-u*Math.sin(I)))/(3*l));D>=0&&D<=1&&(r[v++]=D),_>=0&&_<=1&&(r[v++]=_),C>=0&&C<=1&&(r[v++]=C)}}return v},e.cubicExtrema=function(t,e,n,i,a){var r=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(f(o))p(r)&&(h=-l/r)>=0&&h<=1&&(a[u++]=h);else{var c=r*r-4*o*l;if(f(c))a[0]=-r/(2*o);else if(c>0){var h,d=s(c),g=(-r-d)/(2*o);(h=(-r+d)/(2*o))>=0&&h<=1&&(a[u++]=h),g>=0&&g<=1&&(a[u++]=g)}}return u},e.cubicSubdivide=function(t,e,n,i,a,r){var o=(e-t)*a+t,s=(n-e)*a+e,l=(i-n)*a+n,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;r[0]=t,r[1]=o,r[2]=u,r[3]=h,r[4]=h,r[5]=c,r[6]=l,r[7]=i},e.cubicProjectPoint=function(t,e,n,i,a,o,l,u,f,p,m){var v,y,x,_,b,w=.005,S=1/0;c[0]=f,c[1]=p;for(var M=0;M<1;M+=.05)h[0]=g(t,n,a,l,M),h[1]=g(e,i,o,u,M),(_=r(c,h))<S&&(v=M,S=_);S=1/0;for(var I=0;I<32&&!(w<1e-4);I++)x=v+w,h[0]=g(t,n,a,l,y=v-w),h[1]=g(e,i,o,u,y),_=r(h,c),y>=0&&_<S?(v=y,S=_):(d[0]=g(t,n,a,l,x),d[1]=g(e,i,o,u,x),b=r(d,c),x<=1&&b<S?(v=x,S=b):w*=.5);return m&&(m[0]=g(t,n,a,l,v),m[1]=g(e,i,o,u,v)),s(S)},e.quadraticAt=m,e.quadraticDerivativeAt=function(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))},e.quadraticRootAt=function(t,e,n,i,a){var r=t-2*e+n,o=2*(e-t),l=t-i,u=0;if(f(r))p(o)&&(h=-l/o)>=0&&h<=1&&(a[u++]=h);else{var c=o*o-4*r*l;if(f(c))(h=-o/(2*r))>=0&&h<=1&&(a[u++]=h);else if(c>0){var h,d=s(c),g=(-o-d)/(2*r);(h=(-o+d)/(2*r))>=0&&h<=1&&(a[u++]=h),g>=0&&g<=1&&(a[u++]=g)}}return u},e.quadraticExtremum=function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},e.quadraticSubdivide=function(t,e,n,i,a){var r=(e-t)*i+t,o=(n-e)*i+e,s=(o-r)*i+r;a[0]=t,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=n},e.quadraticProjectPoint=function(t,e,n,i,a,o,l,u,f){var p,g=.005,v=1/0;c[0]=l,c[1]=u;for(var y=0;y<1;y+=.05)h[0]=m(t,n,a,y),h[1]=m(e,i,o,y),(w=r(c,h))<v&&(p=y,v=w);v=1/0;for(var x=0;x<32&&!(g<1e-4);x++){var _=p-g,b=p+g;h[0]=m(t,n,a,_),h[1]=m(e,i,o,_);var w=r(h,c);if(_>=0&&w<v)p=_,v=w;else{d[0]=m(t,n,a,b),d[1]=m(e,i,o,b);var S=r(d,c);b<=1&&S<v?(p=b,v=S):g*=.5}}return f&&(f[0]=m(t,n,a,p),f[1]=m(e,i,o,p)),s(v)}},Sp2Z:function(t,e,n){var i=n("IwbS"),a=n("3LNs"),r=n("/y7N"),o=n("AVZG"),s=n("Znkb"),l=a.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.grid,h=i.get("type"),d=u(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(e,!0));if(h&&"none"!==h){var p=r.buildElStyle(i),g=c[h](s,f,d,p);g.style=p,t.graphicKey=g.type,t.pointer=g}var m=o.layout(l.model,n);r.buildCartesianSingleLabelElOption(e,t,m,n,i,a)},getHandleTransform:function(t,e,n){var i=o.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,r=a.grid,o=a.getGlobalExtent(!0),s=u(r,a).getOtherAxis(a).getGlobalExtent(),l="x"===a.dim?0:1,c=t.position;c[l]+=e[l],c[l]=Math.min(o[1],c[l]),c[l]=Math.max(o[0],c[l]);var h=(s[1]+s[0])/2,d=[h,h];return d[l]=c[l],{position:c,rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}}});function u(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var c={line:function(t,e,n,a){var o=r.makeLineShape([e,n[0]],[e,n[1]],h(t));return i.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(t,e,n,i){var a=Math.max(1,t.getBandWidth());return{type:"Rect",shape:r.makeRectShape([e-a/2,n[0]],[a,n[1]-n[0]],h(t))}}};function h(t){return"x"===t.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",l),t.exports=l},SqI9:function(t,e,n){var i=n("y+Vt"),a=n("iXp4"),r=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:a(i.prototype.brush),buildPath:function(t,e){var n=e.cx,i=e.cy,a=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(o),c=Math.sin(o);t.moveTo(u*a+n,c*a+i),t.lineTo(u*r+n,c*r+i),t.arc(n,i,r,o,s,!l),t.lineTo(Math.cos(s)*a+n,Math.sin(s)*a+i),0!==a&&t.arc(n,i,a,s,o,l),t.closePath()}});t.exports=r},SrGk:function(t,e,n){var i=n("hydK").createElement,a=n("bYtY"),r=n("y+Vt"),o=n("Dagg"),s=n("dqUG"),l=n("P47w"),u=l.path,c=l.image,h=l.text;function d(t,e,n,i,a){this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=a||"_dom",this.nextId=0}d.prototype.createElement=i,d.prototype.getDefs=function(t){var e=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?t?((n=e.insertBefore(this.createElement("defs"),e.firstChild)).contains||(n.contains=function(t){var e=n.children;if(!e)return!1;for(var i=e.length-1;i>=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},d.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return a.each(this._tagNames,function(n){var i=t.getElementsByTagName(n);e=e.concat([].slice.call(i))}),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;a.each(t,function(t){t[e._markLabel]="0"})},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),n=this;a.each(e,function(e){"1"!==e[n._markLabel]&&t.removeChild(e)})}},d.prototype.getSvgProxy=function(t){return t instanceof r?u:t instanceof o?c:t instanceof s?h:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl},t.exports=d},Swgg:function(t,e,n){var i=n("fc+c").extend({type:"dataZoom.select"});t.exports=i},T4UG:function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("ItGF"),r=n("7aKB"),o=r.formatTime,s=r.encodeHTML,l=r.addCommas,u=r.getTooltipMarker,c=n("4NO4"),h=n("bLfw"),d=n("5Hur"),f=n("OKJ2"),p=n("+TT/"),g=p.getLayoutParams,m=p.mergeLayoutParam,v=n("9H2F").createTask,y=n("D5nY"),x=y.prepareSource,_=y.getSource,b=n("KxfA").retrieveRawValue,w=c.makeInner(),S=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=v({count:I,reset:T}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),x(this);var a=this.getInitialData(t,n);D(a,this),this.dataTask.context.data=a,w(this).dataBeforeProcessed=a,M(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,a=n?g(t):{},r=this.subType;h.hasClass(r)&&(r+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&m(t,a,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&m(this.option,t,n),x(this);var a=this.getInitialData(t,e);D(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,w(this).dataBeforeProcessed=a,M(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&c.defaultEmphasis(t[n],"label",e)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=L(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return w(this).data},setData:function(t){var e=L(this);if(e){var n=e.context;n.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),n.outputData=t,e!==this.dataTask&&(n.data=t)}w(this).data=t},getSource:function(){return _(this)},getRawData:function(){return w(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,n,a){var r=this,h="html"===(a=a||"html")?"<br/>":"\n",d="richText"===a,f={},p=0,g=this.getData(),m=g.mapDimension("defaultedTooltip",!0),v=m.length,y=this.getRawValue(t),x=i.isArray(y),_=g.getItemVisual(t,"color");i.isObject(_)&&_.colorStops&&(_=(_.colorStops[0]||{}).color),_=_||"transparent";var w,S=(v>1||x&&!v?function(n){var c=i.reduce(n,function(t,e,n){var i=g.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)},0),h=[];function v(t,n){var i=g.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var m=i.type,v="sub"+r.seriesIndex+"at"+p,y=u({color:_,type:"subItem",renderMode:a,markerId:v}),x=(c?("string"==typeof y?y:y.content)+s(i.displayName||"-")+": ":"")+s("ordinal"===m?t+"":"time"===m?e?"":o("yyyy/MM/dd hh:mm:ss",t):l(t));x&&h.push(x),d&&(f[v]=_,++p)}}m.length?i.each(m,function(e){v(b(g,t,e),e)}):i.each(n,v);var y=c?d?"\n":"<br/>":"",x=y+h.join(y||", ");return{renderMode:a,content:x,style:f}}(y):(w=v?b(g,t,m[0]):x?y[0]:y,{renderMode:a,content:s(l(w)),style:f})).content,M=r.seriesIndex+"at"+p,I=u({color:_,type:"item",renderMode:a,markerId:M});f[M]=_,++p;var T=g.getName(t),A=this.name;c.isNameSpecified(this)||(A=""),A=A?s(A)+(e?": ":h):"";var D="string"==typeof I?I:I.content;return{html:e?D+A+S:A+D+(T?s(T)+": "+S:S),markers:f}},isAnimationEnabled:function(){if(a.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,a=d.getColorFromPalette.call(this,t,e,n);return a||(a=i.getColorFromPalette(t,e,n)),a},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function M(t){var e=t.name;c.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),a=[];return i.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&a.push(n.displayName)}),a.join(" ")}(t)||e)}function I(t){return t.model.getRawData().count()}function T(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),A}function A(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function D(t,e){i.each(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,i.curry(C,e))})}function C(t){var e=L(t);e&&e.setOutputEnd(this.count())}function L(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var a=i.agentStubMap;a&&(i=a.get(t.uid))}return i}}i.mixin(S,f),i.mixin(S,d),t.exports=S},T6xi:function(t,e,n){var i=n("YgsL"),a=n("nCxF");e.buildPath=function(t,e,n){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=a(r,o,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=r[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=i(r,n)),t.moveTo(r[0][0],r[0][1]),u=1;for(var f=r.length;u<f;u++)t.lineTo(r[u][0],r[u][1])}n&&t.closePath()}}},TIY9:function(t,e,n){var i=n("bYtY").each,a=n("vafp"),r=n("4NO4").makeInner,o=n("Mgri"),s=n("F5Ls"),l=n("a9QJ"),u=n("p/La"),c=r();function h(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}t.exports={load:function(t,e){var n=c(e).parsed;if(n)return n;var r,d=e.specialAreas||{},f=e.geoJSON;try{r=f?a(f):[]}catch(p){throw new Error("Invalid geoJson format\n"+p.message)}return i(r,function(e){var n=e.name;s(t,e),l(t,e),u(t,e);var i=d[n];i&&e.transformTo(i.left,i.top,i.width,i.height)}),o(t,r),c(e).parsed={regions:r,boundingRect:h(r)}}}},TJmX:function(t,e,n){var i=n("zM3Q"),a=["itemStyle","borderColor"],r=["itemStyle","borderColor0"],o=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.pipelineContext.large;if(n.setVisual({legendSymbol:"roundRect",colorP:l(1,t),colorN:l(-1,t),borderColorP:u(1,t),borderColorN:u(-1,t)}),!e.isSeriesFiltered(t))return!i&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),a=e.getItemLayout(n).sign;e.setItemVisual(n,{color:l(a,i),borderColor:u(a,i)})}}};function l(t,e){return e.get(t>0?o:s)}function u(t,e){return e.get(t>0?a:r)}}};t.exports=l},TN8S:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){this.xAxisData=[],this.data1=[],this.data2=[],this.PieOption={tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c} ({d}%)"},legend:{orient:"vertical",x:"left",data:["Example1","Example2","Example3"]},roseType:"angle",series:[{name:"PieChart",type:"pie",radius:[0,"50%"],data:[{value:235,name:"Example1"},{value:210,name:"Example2"},{value:162,name:"Example3"}]}]},this.LineOption={xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{data:[820,932,901,934,1290,1330,1320],type:"line",smooth:!0}]},this.BarOption={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value"}],series:[{name:"\u76f4\u63a5\u8bbf\u95ee",type:"bar",barWidth:"60%",data:[10,52,200,334,390,330,220]}]},this.AnimationBarOption={legend:{data:["Example data1","Example data2"],align:"left"},tooltip:{},xAxis:{data:this.xAxisData,silent:!1,splitLine:{show:!1}},yAxis:{},series:[{name:"Example data1",type:"bar",data:this.data1,animationDelay:function(t){return 10*t}},{name:"Example data2",type:"bar",data:this.data2,animationDelay:function(t){return 10*t+100}}],animationEasing:"elasticOut",animationDelayUpdate:function(t){return 5*t}};for(var t=0;t<100;t++)this.xAxisData.push("Type "+t),this.data1.push(5*(Math.sin(t/5)*(t/5-10)+t/6)),this.data2.push(5*(Math.cos(t/5)*(t/5-10)+t/6))}return t.prototype.getBarOption=function(){return this.BarOption},t.prototype.getLineOption=function(){return this.LineOption},t.prototype.getPieOption=function(){return this.PieOption},t.prototype.getAnimationBarOption=function(){return this.AnimationBarOption},t}()},TWL2:function(t,e,n){var i=n("IwbS"),a=n("bYtY"),r=n("6Ic6");function o(t,e){i.Group.call(this);var n=new i.Polygon,a=new i.Polyline,r=new i.Text;function o(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function s(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}this.add(n),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,n){var r=this.childAt(0),o=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,r.useStyle({}),n?(r.setShape({points:u.points}),r.setStyle({opacity:0}),i.initProps(r,{style:{opacity:c}},o,e)):i.updateProps(r,{style:{opacity:c},shape:{points:u.points}},o,e);var h=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");r.setStyle(a.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),i.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),a=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},r,e),i.updateProps(a,{style:{x:s.x,y:s.y}},r,e),a.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),c=o.getModel("emphasis.label"),h=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color"),i.setLabelStyle(a.style,a.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),a.ignore=a.normalIgnore=!u.get("show"),a.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle()},a.inherits(o,i.Group);var u=r.extend({type:"funnel",render:function(t,e,n){var i=t.getData(),a=this._data,r=this.group;i.diff(a).add(function(t){var e=new o(i,t);i.setItemGraphicEl(t,e),r.add(e)}).update(function(t,e){var n=a.getItemGraphicEl(e);n.updateData(i,t),r.add(n),i.setItemGraphicEl(t,n)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},TYVI:function(t,e,n){var i=n("5GtS"),a=n("T4UG"),r=n("bYtY"),o=a.extend({type:"series.gauge",getInitialData:function(t,e){var n=t.data||[];return r.isArray(n)||(n=[n]),t.data=n,i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});t.exports=o},Tghj:function(t,e){var n;"undefined"!=typeof window?n=window.__DEV__:"undefined"!=typeof global&&(n=global.__DEV__),void 0===n&&(n=!0),e.__DEV__=n},ThAp:function(t,e,n){var i=n("bYtY"),a=n("5GtS"),r=n("T4UG"),o=n("7aKB"),s=o.encodeHTML,l=o.addCommas,u=n("cCMj"),c=n("KxfA").retrieveRawAttr,h=n("7uqq"),d=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(t){d.superApply(this,"init",arguments),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t){return a(this,["value"])},mergeOption:function(t){d.superApply(this,"mergeOption",arguments),this.updateSelectedMap(this._createSelectableList())},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,a=t.count();i<a;i++)n.push({name:t.getName(i),value:t.get(e,i),selected:c(t,i,"selected")});return h.getFilledRegions(n,this.getMapType(),this.option.nameMap)},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},_fillOption:function(t,e){},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),n=l(this.getRawValue(t)),i=e.getName(t),a=this.seriesGroup,r=[],o=0;o<a.length;o++){var u=a[o].originalData.indexOfName(i),c=e.mapDimension("value");isNaN(a[o].originalData.get(c,u))||r.push(s(a[o].name))}return r.join(", ")+"<br />"+s(i+" : "+n)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}}}});i.mixin(d,u),t.exports=d},TkdX:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=2,o=4;function s(t,e,n){a.Group.call(this);var i=new a.Sector({z2:r});i.seriesIndex=e.seriesIndex;var s=new a.Text({z2:o,silent:t.getModel("label").get("silent")});function l(){s.ignore=s.hoverIgnore}function u(){s.ignore=s.normalIgnore}this.add(i),this.add(s),this.updateData(!0,t,"normal",e,n),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var l=s.prototype;l.updateData=function(t,e,n,r,o){this.node=e,e.piece=this,r=r||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout();u||console.log(e.getLayout());var c=i.extend({},u);c.label=null;var h,d=function(t,e,n){var a=t.getVisual("color"),r=t.getVisual("visualMeta");r&&0!==r.length||(a=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(a)return a;if(0===t.depth)return n.option.color[0];var s=n.option.color.length;return n.option.color[function(t){for(var e=t;e.depth>1;)e=e.parentNode;var n=t.getAncestors()[0];return i.indexOf(n.children,e)}(t)%s]}(e,0,o),f=l.getModel("itemStyle").getItemStyle();if("normal"===n)h=f;else{var p=l.getModel(n+".itemStyle").getItemStyle();h=i.merge(p,f)}h=i.defaults({lineJoin:"bevel",fill:h.fill||d},h),t?(s.setShape(c),s.shape.r=u.r0,a.updateProps(s,{shape:{r:u.r}},r,e.dataIndex),s.useStyle(h)):"object"==typeof h.fill&&h.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:c},r),s.useStyle(h)):a.updateProps(s,{shape:c,style:h},r),this._updateLabel(r,d,n);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),t){var m=r.getShallow("highlightPolicy");this._initEvents(s,e,r,m)}this._seriesModel=r||this._seriesModel,this._ecModel=o||this._ecModel},l.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode(function(n){var i,a,r;n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):(i=n,a=e.node,"none"!==(r=t)&&("self"===r?i===a:"ancestor"===r?i===a||i.isAncestorOf(a):i===a||i.isDescendantOf(a))?n.piece.childAt(0).trigger("highlight"):"none"!==t&&n.piece.childAt(0).trigger("downplay")))})},l.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},l.onHighlight=function(){this.updateData(!1,this.node,"highlight")},l.onDownplay=function(){this.updateData(!1,this.node,"downplay")},l._updateLabel=function(t,e,n){var r=this.node.getModel(),o=r.getModel("label"),s="normal"===n||"emphasis"===n?o:r.getModel(n+".label"),l=r.getModel("emphasis.label"),u=i.retrieve(t.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===w("show")&&(u="");var c=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=o.get("minAngle")),null!=(h=h/180*Math.PI)&&Math.abs(c.endAngle-c.startAngle)<h&&(u="");var d=this.childAt(1);a.setLabelStyle(d.style,d.hoverStyle||{},o,l,{defaultText:s.getShallow("show")?u:null,autoColor:e,useInsideStyle:!0});var f,p=(c.startAngle+c.endAngle)/2,g=Math.cos(p),m=Math.sin(p),v=w("position"),y=w("distance")||0,x=w("align");"outside"===v?(f=c.r+y,x=p>Math.PI/2?"right":"left"):x&&"center"!==x?"left"===x?(f=c.r0+y,p>Math.PI/2&&(x="right")):"right"===x&&(f=c.r-y,p>Math.PI/2&&(x="left")):(f=(c.r+c.r0)/2,x="center"),d.attr("style",{text:u,textAlign:x,textVerticalAlign:w("verticalAlign")||"middle",opacity:w("opacity")}),d.attr("position",[f*g+c.cx,f*m+c.cy]);var _=w("rotate"),b=0;function w(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===_?(b=-p)<-Math.PI/2&&(b+=Math.PI):"tangential"===_?(b=Math.PI/2-p)>Math.PI/2?b-=Math.PI:b<-Math.PI/2&&(b+=Math.PI):"number"==typeof _&&(b=_*Math.PI/180),d.attr("rotation",b)},l._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(i)},o=function(){a.onNormal()};n.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",function(){a.onDownplay()}).on("highlight",function(){a.onHighlight()})},i.inherits(s,a.Group),t.exports=s},Tp9H:function(t,e,n){var i=n("ItGF"),a=n("Kagy"),r=n("IUWy"),o=a.toolbox.saveAsImage;function s(t){this.model=t}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!i.canvasSupported,s.prototype.onclick=function(t,e){var n=this.model,a=n.get("name")||t.get("title.0.text")||"echarts",r=document.createElement("a"),o=n.get("type",!0)||"png";r.download=a+"."+o,r.target="_blank";var s=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(r.href=s,"function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);u--;)c[u]=l.charCodeAt(u);var h=new Blob([c]);window.navigator.msSaveOrOpenBlob(h,a+"."+o)}else{var d=n.get("lang"),f='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(d&&d[0]||"")+'" /></body>';window.open().document.write(f)}else{var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(p)}},r.register("saveAsImage",s),t.exports=s},UOVi:function(t,e,n){var i=n("bYtY"),a=n("7aKB"),r=["cartesian2d","polar","singleAxis"];function o(t,e){t=t.slice();var n=i.map(t,a.capitalFirst);e=(e||[]).slice();var r=i.map(e,a.capitalFirst);return function(a,o){i.each(t,function(t,i){for(var s={name:t,capital:n[i]},l=0;l<e.length;l++)s[e[l]]=t+r[l];a.call(o,s)})}}var s=o(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]);e.isCoordSupported=function(t){return i.indexOf(r,t)>=0},e.createNameEach=o,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,n){return function(r){var o,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!r)return s;a(r,s);do{o=!1,t(l)}while(o);function l(t){!function(t,e){return i.indexOf(e.nodes,t)>=0}(t,s)&&function(t,a){var r=!1;return e(function(e){i.each(n(t,e)||[],function(t){a.records[e.name][t]&&(r=!0)})}),r}(t,s)&&(a(t,s),o=!0)}return s};function a(t,a){a.nodes.push(t),e(function(e){i.each(n(t,e)||[],function(t){a.records[e.name][t]=!0})})}}},UnoB:function(t,e,n){var i=n("bYtY"),a=n("OELB");function r(t,e,n){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),u=i.map(o,function(e){return i.map(e.indices,function(e){var n=r.dataToPoint(t.get(s,e));return n[1]=t.get(l,e),n})}),c=function(t){for(var e=t.length,n=t[0].length,i=[],a=[],r=0,o={},s=0;s<n;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];u>r&&(r=u),i.push(u)}for(var c=0;c<n;++c)a[c]=(r-i[c])/2;r=0;for(var h=0;h<n;++h){var d=i[h]+a[h];d>r&&(r=d)}return o.y0=a,o.max=r,o}(u),h=c.y0,d=n/c.max,f=o.length,p=o[0].indices.length,g=0;g<p;++g){t.setItemLayout(o[0].indices[g],{layerIndex:0,x:u[0][g][0],y0:a=h[g]*d,y:u[0][g][1]*d});for(var m=1;m<f;++m)t.setItemLayout(o[m].indices[g],{layerIndex:m,x:u[m][g][0],y0:a+=u[m-1][g][1]*d,y:u[m][g][1]*d})}}t.exports=function(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.coordinateSystem,i={},o=n.getRect();i.rect=o;var s=t.get("boundaryGap"),l=n.getAxis();i.boundaryGap=s,"horizontal"===l.orient?(s[0]=a.parsePercent(s[0],o.height),s[1]=a.parsePercent(s[1],o.height),r(e,t,o.height-s[0]-s[1])):(s[0]=a.parsePercent(s[0],o.width),s[1]=a.parsePercent(s[1],o.width),r(e,t,o.width-s[0]-s[1])),e.setLayout("layoutInfo",i)})}},VFCP:function(t,e,n){n("dBmv"),n("KamJ")},VPsl:function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),n=t.getModel("itemStyle"),i=n.get("areaColor"),a=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:i,color:a})})}},VR9l:function(t,e,n){var i=n("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);t.exports={getItemStyle:function(t,e){var n=i(this,t,e),a=this.getBorderLineDash();return a&&(n.lineDash=a),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}},VSLf:function(t,e,n){n("I+Bx"),n("F0hE"),n("bBKM")},VXYp:function(t,e,n){var i=n("bYtY"),a=n("SgGq"),r=n("iLNv"),o="\0_ec_dataZoom_roams";function s(t){var e=t.getZr();return e[o]||(e[o]={})}function l(t){i.each(t,function(e,n){e.count||(e.controller.dispose(),delete t[n])})}function u(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var n=s(t),o=e.dataZoomId,c=e.coordId;i.each(n,function(t,n){var a=t.dataZoomInfos;a[o]&&i.indexOf(e.allCoordIds,c)<0&&(delete a[o],t.count--)}),l(n);var h=n[c];h||((h=n[c]={coordId:c,dataZoomInfos:{},count:0}).controller=function(t,e){var n=new a(t.getZr());return i.each(["pan","zoom","scrollMove"],function(t){n.on(t,function(n){var a=[];i.each(e.dataZoomInfos,function(i){if(n.isAvailableBehavior(i.dataZoomModel.option)){var r=(i.getRange||{})[t],o=r&&r(e.controller,n);!i.dataZoomModel.get("disabled",!0)&&o&&a.push({dataZoomId:i.dataZoomId,start:o[0],end:o[1]})}}),a.length&&e.dispatchAction(a)})}),n}(t,h),h.dispatchAction=i.curry(u,t)),!h.dataZoomInfos[o]&&h.count++,h.dataZoomInfos[o]=e;var d,f,p,g=(f={type_true:2,type_move:1,type_false:0,type_undefined:-1},p=!0,i.each(h.dataZoomInfos,function(t){var e=t.dataZoomModel,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");f["type_"+n]>f["type_"+d]&&(d=n),p&=e.get("preventDefaultMouseMove",!0)}),{controlType:d,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!p}});h.controller.enable(g.controlType,g.opt),h.controller.setPointerChecker(e.containsPoint),r.createOrUpdate(h,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,e){var n=s(t);i.each(n,function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)}),l(n)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},VaxA:function(t,e,n){var i=n("bYtY");function a(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e,n){if(t&&i.indexOf(e,t.type)>=0){var a=n.getData().tree.root,r=t.targetNode;if("string"==typeof r&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}},e.getPathToRoot=a,e.aboveViewRoot=function(t,e){var n=a(t);return i.indexOf(n,e)>=0},e.wrapTreePathInfo=function(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}},VpOo:function(t,e){e.buildPath=function(t,e){var n,i,a,r,o,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=a=r=h:h instanceof Array?1===h.length?n=i=a=r=h[0]:2===h.length?(n=a=h[0],i=r=h[1]):3===h.length?(n=h[0],i=r=h[1],a=h[2]):(n=h[0],i=h[1],a=h[2],r=h[3]):n=i=a=r=0,n+i>u&&(n*=u/(o=n+i),i*=u/o),a+r>u&&(a*=u/(o=a+r),r*=u/o),i+a>c&&(i*=c/(o=i+a),a*=c/o),n+r>c&&(n*=c/(o=n+r),r*=c/o),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-a),0!==a&&t.arc(s+u-a,l+c-a,a,0,Math.PI/2),t.lineTo(s+r,l+c),0!==r&&t.arc(s+r,l+c-r,r,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},W2nI:function(t,e,n){var i=n("IwbS"),a=n("ProS"),r=n("bYtY"),o=["itemStyle","opacity"],s=["lineStyle","opacity"];function l(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function u(t,e,n){var i=t.getGraphicEl(),a=l(t,e);null!=n&&(null==a&&(a=1),a*=n),i.downplay&&i.downplay(),i.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",a)})}function c(t,e){var n=l(t,e),i=t.getGraphicEl();i.highlight&&i.highlight(),i.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",n)})}var h=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var n=e.extent;"vertical"===e.orient?(t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()}}),d=a.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(t,e,n){var a=this,r=t.getGraph(),o=this.group,s=t.layoutInfo,l=s.width,u=s.height,c=t.getData(),d=t.getData("edge"),f=t.get("orient");this._model=t,o.removeAll(),o.attr("position",[s.x,s.y]),r.eachEdge(function(e){var n=new h;n.dataIndex=e.dataIndex,n.seriesIndex=t.seriesIndex,n.dataType="edge";var a,r,s,c,p,g,m,v,y=e.getModel("lineStyle"),x=y.get("curveness"),_=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),I=e.node2.getModel(),T=I.get("localX"),A=I.get("localY"),D=e.getLayout();switch(n.shape.extent=Math.max(1,D.dy),n.shape.orient=f,"vertical"===f?(p=a=(null!=w?w*l:_.x)+D.sy,g=(r=(null!=S?S*u:_.y)+_.dy)*(1-x)+(c=null!=A?A*u:M.y)*x,m=s=(null!=T?T*l:M.x)+D.ty,v=r*x+c*(1-x)):(p=(a=(null!=w?w*l:_.x)+_.dx)*(1-x)+(s=null!=T?T*l:M.x)*x,g=r=(null!=S?S*u:_.y)+D.sy,m=a*x+s*(1-x),v=c=(null!=A?A*u:M.y)+D.ty),n.setShape({x1:a,y1:r,x2:s,y2:c,cpx1:p,cpy1:g,cpx2:m,cpy2:v}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color");break;case"target":n.style.fill=e.node2.getVisual("color")}i.setHoverStyle(n,e.getModel("emphasis.lineStyle").getItemStyle()),o.add(n),d.setItemGraphicEl(e.dataIndex,n)}),r.eachNode(function(e){var n=e.getLayout(),a=e.getModel(),r=a.get("localX"),s=a.get("localY"),h=a.getModel("label"),d=a.getModel("emphasis.label"),f=new i.Rect({shape:{x:null!=r?r*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:a.getModel("itemStyle").getItemStyle()}),p=e.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(f.style,p,h,d,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),f.setStyle("fill",e.getVisual("color")),i.setHoverStyle(f,p),o.add(f),c.setItemGraphicEl(e.dataIndex,f),f.dataType="node"}),c.eachItemGraphicEl(function(e,i){var r=c.getItemModel(i);r.get("draggable")&&(e.drift=function(e,r){a._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=r,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},e.ondragend=function(){a._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move"),r.get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){a._focusAdjacencyDisabled||n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){a._focusAdjacencyDisabled||n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),d.eachItemGraphicEl(function(e,i){d.getItemModel(i).get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){a._focusAdjacencyDisabled||n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){a._focusAdjacencyDisabled||n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),!this._data&&t.get("animation")&&o.setClipPath(function(t,e,n){var a=new i.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return i.initProps(a,{shape:{width:t.width+20,height:t.height+20}},e,function(){o.removeClipPath()}),a}(o.getBoundingRect(),t)),this._data=t.getData()},dispose:function(){},focusNodeAdjacency:function(t,e,n,i){var a=this._model.getData(),l=a.graph,h=i.dataIndex,d=a.getItemModel(h),f=i.edgeDataIndex;if(null!=h||null!=f){var p=l.getNodeByIndex(h),g=l.getEdgeByIndex(f);if(l.eachNode(function(t){u(t,o,.1)}),l.eachEdge(function(t){u(t,s,.1)}),p){c(p,o);var m=d.get("focusNodeAdjacency");"outEdges"===m?r.each(p.outEdges,function(t){t.dataIndex<0||(c(t,s),c(t.node2,o))}):"inEdges"===m?r.each(p.inEdges,function(t){t.dataIndex<0||(c(t,s),c(t.node1,o))}):"allEdges"===m&&r.each(p.edges,function(t){t.dataIndex<0||(c(t,s),c(t.node1,o),c(t.node2,o))})}g&&(c(g,s),c(g.node1,o),c(g.node2,o))}},unfocusNodeAdjacency:function(t,e,n,i){var a=this._model.getGraph();a.eachNode(function(t){u(t,o)}),a.eachEdge(function(t){u(t,s)})}});t.exports=d},W4dC:function(t,e,n){n("Tghj");var i=n("bYtY"),a=i.each,r=i.createHashMap,o=n("7DRL"),s=n("TIY9"),l=n("yS9w"),u=n("mFDi"),c={geoJSON:s,svg:l},h={load:function(t,e){var n,i=[],o=r(),s=r(),l=f(t);return a(l,function(r){var l=c[r.type].load(t,r);a(l.regions,function(t){var n=t.name;e&&e.hasOwnProperty(n)&&(t=t.cloneShallow(n=e[n])),i.push(t),o.set(n,t),s.set(n,t.center)});var u=l.boundingRect;u&&(n?n.union(u):n=u.clone())}),{regions:i,regionsMap:o,nameCoordMap:s,boundingRect:n||new u(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(t){return function(e,n){var i=f(e),r=[];return a(i,function(i){var a=c[i.type][t];a&&r.push(a(e,i,n))}),r}}function f(t){return o.retrieveMap(t)||[]}t.exports=h},WGYa:function(t,e,n){var i=n("7yuC").forceLayout,a=n("HF/U").simpleLayout,r=n("lOQZ").circularLayout,o=n("OELB").linearMap,s=n("QBsz"),l=n("bYtY");t.exports=function(t){t.eachSeriesByType("graph",function(t){if(!(v=t.coordinateSystem)||"view"===v.type)if("force"===t.get("layout")){var e=t.preservedPoints||{},n=t.getGraph(),u=n.data,c=n.edgeData,h=t.getModel("force"),d=h.get("initLayout");t.preservedPoints?u.each(function(t){var n=u.getId(t);u.setItemLayout(t,e[n]||[NaN,NaN])}):d&&"none"!==d?"circular"===d&&r(t):a(t);var f=u.getDataExtent("value"),p=c.getDataExtent("value"),g=h.get("repulsion"),m=h.get("edgeLength");l.isArray(g)||(g=[g,g]),l.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var v,y=u.mapArray("value",function(t,e){var n=u.getItemLayout(e),i=o(t,f,g);return isNaN(i)&&(i=(g[0]+g[1])/2),{w:i,rep:i,fixed:u.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),x=c.mapArray("value",function(t,e){var i=n.getEdgeByIndex(e),a=o(t,p,m);return isNaN(a)&&(a=(m[0]+m[1])/2),{n1:y[i.node1.dataIndex],n2:y[i.node2.dataIndex],d:a,curveness:i.getModel().get("lineStyle.curveness")||0}}),_=(v=t.coordinateSystem).getBoundingRect(),b=i(y,x,{rect:_,gravity:h.get("gravity")}),w=b.step;b.step=function(t){for(var i=0,a=y.length;i<a;i++)y[i].fixed&&s.copy(y[i].p,n.getNodeByIndex(i).getLayout());w(function(i,a,r){for(var o=0,l=i.length;o<l;o++)i[o].fixed||n.getNodeByIndex(o).setLayout(i[o].p),e[u.getId(o)]=i[o].p;for(o=0,l=a.length;o<l;o++){var c=a[o],h=n.getEdgeByIndex(o),d=c.n1.p,f=c.n2.p,p=h.getLayout();(p=p?p.slice():[])[0]=p[0]||[],p[1]=p[1]||[],s.copy(p[0],d),s.copy(p[1],f),+c.curveness&&(p[2]=[(d[0]+f[0])/2-(d[1]-f[1])*c.curveness,(d[1]+f[1])/2-(f[0]-d[0])*c.curveness]),h.setLayout(p)}t&&t(r)})},t.forceLayout=b,t.preservedPoints=e,b.step()}else t.forceLayout=null})}},Wqna:function(t,e,n){n("Tghj");var i=n("bYtY"),a=i.isObject,r=i.each,o=i.map,s=i.indexOf,l=n("+TT/").getLayoutRect,u=n("aX7z"),c=u.createScaleByModel,h=u.ifAxisCrossZero,d=u.niceScaleExtent,f=u.estimateLabelUnionRect,p=n("y+lR"),g=n("7AJT"),m=n("IDmD"),v=n("7hqr").getStackedDimension;function y(t,e,n){return t.getCoordSysModel()===e}function x(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}n("jtI2");var _=x.prototype;function b(t,e,n,i){n.getAxesOnZeroOf=function(){return a?[a]:[]};var a,r=t[e],o=n.model,s=o.get("axisLine.onZero"),l=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)w(r[l])&&(a=r[l]);else for(var u in r)if(r.hasOwnProperty(u)&&w(r[u])&&!i[c(r[u])]){a=r[u];break}a&&(i[c(a)]=!0)}function c(t){return t.dim+"_"+t.index}}function w(t){return t&&"category"!==t.type&&"time"!==t.type&&h(t)}_.type="grid",_.axisPointerEnabled=!0,_.getRect=function(){return this._rect},_.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),r(n.x,function(t){d(t.scale,t.model)}),r(n.y,function(t){d(t.scale,t.model)});var i={};r(n.x,function(t){b(n,"y",t,i)}),r(n.y,function(t){b(n,"x",t,i)}),this.resize(this.model,e)},_.resize=function(t,e,n){var i=l(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=i;var a=this._axesList;function o(){r(a,function(t){var e=t.isHorizontal(),n=e?[0,i.width]:[0,i.height],a=t.inverse?1:0;t.setExtent(n[a],n[1-a]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?i.x:i.y)})}o(),!n&&t.get("containLabel")&&(r(a,function(t){if(!t.model.get("axisLabel.inside")){var e=f(t);if(e){var n=t.isHorizontal()?"height":"width",a=t.model.get("axisLabel.margin");i[n]-=e[n]+a,"top"===t.position?i.y+=e.height+a:"left"===t.position&&(i.x+=e.width+a)}}}),o())},_.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},_.getAxes=function(){return this._axesList.slice()},_.getCartesian=function(t,e){if(null!=t&&null!=e)return this._coordsMap["x"+t+"y"+e];a(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===t||i[n].getAxis("y").index===e)return i[n]},_.getCartesians=function(){return this._coordsList.slice()},_.convertToPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},_.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},_._findConvertTarget=function(t,e){var n,i,a=e.seriesModel,r=e.xAxisModel||a&&a.getReferringComponents("xAxis")[0],o=e.yAxisModel||a&&a.getReferringComponents("yAxis")[0],l=e.gridModel;return a?s(this._coordsList,n=a.coordinateSystem)<0&&(n=null):r&&o?n=this.getCartesian(r.componentIndex,o.componentIndex):r?i=this.getAxis("x",r.componentIndex):o?i=this.getAxis("y",o.componentIndex):l&&l.coordinateSystem===this&&(n=this._coordsList[0]),{cartesian:n,axis:i}},_.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},_._initCartesian=function(t,e,n){var i={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},o={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!o.x||!o.y)return this._axesMap={},void(this._axesList=[]);function s(e){return function(n,r){if(y(n,t)){var s=n.get("position");"x"===e?"top"!==s&&"bottom"!==s&&i[s="bottom"]&&(s="top"===s?"bottom":"top"):"left"!==s&&"right"!==s&&i[s="left"]&&(s="left"===s?"right":"left"),i[s]=!0;var l=new g(e,c(n),[0,0],n.get("type"),s);l.onBand="category"===l.type&&n.get("boundaryGap"),l.inverse=n.get("inverse"),n.axis=l,l.model=n,l.grid=this,l.index=r,this._axesList.push(l),a[e][r]=l,o[e]++}}}this._axesMap=a,r(a.x,function(e,n){r(a.y,function(i,a){var r="x"+n+"y"+a,o=new p(r);o.grid=this,o.model=t,this._coordsMap[r]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(i)},this)},this)},_._updateScale=function(t,e){function n(t,e,n){r(t.mapDimension(e.dim,!0),function(n){e.scale.unionExtentFromData(t,v(t,n))})}r(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeries(function(t){if(I(t)){var i=M(t),a=i[0],r=i[1];if(!y(a,e)||!y(r,e))return;var o=this.getCartesian(a.componentIndex,r.componentIndex),s=t.getData(),l=o.getAxis("x"),u=o.getAxis("y");"list"===s.type&&(n(s,l),n(s,u))}},this)},_.getTooltipAxes=function(t){var e=[],n=[];return r(this.getCartesians(),function(i){var a=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),r=i.getOtherAxis(a);s(e,a)<0&&e.push(a),s(n,r)<0&&n.push(r)}),{baseAxes:e,otherAxes:n}};var S=["xAxis","yAxis"];function M(t,e){return o(S,function(e){return t.getReferringComponents(e)[0]})}function I(t){return"cartesian2d"===t.get("coordinateSystem")}x.create=function(t,e){var n=[];return t.eachComponent("grid",function(i,a){var r=new x(i,t,e);r.name="grid_"+a,r.resize(i,e,!0),i.coordinateSystem=r,n.push(r)}),t.eachSeries(function(t){if(I(t)){var e=M(t),n=e[0],i=e[1],a=n.getCoordSysModel();t.coordinateSystem=a.coordinateSystem.getCartesian(n.componentIndex,i.componentIndex)}}),n},x.dimensions=x.prototype.dimensions=p.prototype.dimensions,m.register("cartesian2d",x),t.exports=x},XOKv:function(t,e,n){n("OXB0"),n("SA4+")},Xmg4:function(t,e,n){var i=n("bYtY"),a=n("LPTA").devicePixelRatio,r=n("K2GJ"),o=n("3C/r");function s(){return!1}function l(t,e,n){var a=i.createCanvas(),r=e.getWidth(),o=e.getHeight(),s=a.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=o+"px",a.setAttribute("data-zr-dom-id",t)),a.width=r*n,a.height=o*n,a}var u=function(t,e,n){var r;n=n||a,"string"==typeof t?r=l(t,e,n):i.isObject(t)&&(t=(r=t).id),this.id=t,this.dom=r;var o=r.style;o&&(r.onselectstart=s,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o.padding=0,o.margin=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!=t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,a=i.style,r=this.domBack;a&&(a.width=t+"px",a.height=e+"px"),i.width=t*n,i.height=e*n,r&&(r.width=t*n,r.height=e*n,1!=n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,a=this.ctx,s=i.width,l=i.height,u=(e=e||this.clearColor,this.motionBlur&&!t),c=this.lastFrameAlpha,h=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,s/h,l/h)),a.clearRect(0,0,s,l),e&&"transparent"!==e&&(e.colorStops?(n=e.__canvasGradient||r.getGradient(a,e,{x:0,y:0,width:s,height:l}),e.__canvasGradient=n):e.image&&(n=o.prototype.getCanvasPattern.call(e,a)),a.save(),a.fillStyle=n||e,a.fillRect(0,0,s,l),a.restore()),u){var d=this.domBack;a.save(),a.globalAlpha=c,a.drawImage(d,0,0,s,l),a.restore()}}},t.exports=u},Xnb7:function(t,e,n){var i=new(n("1RvN"))(50);function a(){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 r(t){return t&&t.width&&t.height}e.findExistImage=function(t){if("string"==typeof t){var e=i.get(t);return e&&e.image}return t},e.createOrUpdateImage=function(t,e,n,o,s){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var l=i.get(t),u={hostEl:n,cb:o,cbPayload:s};return l?!r(e=l.image)&&l.pending.push(u):(!e&&(e=new Image),e.onload=e.onerror=a,i.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e},e.isImageReady=r},XpcN:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("oVpE").createSymbol,o=n("IwbS"),s=n("eRkO").makeBackground,l=n("+TT/"),u=a.curry,c=a.each,h=o.Group,d=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new h)},getContentGroup:function(){return this._contentGroup},render:function(t,e,n){if(this.resetInner(),t.get("show",!0)){var i=t.get("align");i&&"auto"!==i||(i="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left"),this.renderInner(i,t,e,n);var r=t.getBoxLayoutParams(),o={width:n.getWidth(),height:n.getHeight()},u=t.get("padding"),c=l.getLayoutRect(r,o,u),h=this.layoutInner(t,i,c),d=l.getLayoutRect(a.defaults({width:h.width,height:h.height},r),o,u);this.group.attr("position",[d.x-h.x,d.y-h.y]),this.group.add(this._backgroundEl=s(h,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(t,e,n,i){var r=this.getContentGroup(),o=a.createHashMap(),s=e.get("selectedMode"),l=[];n.eachRawSeries(function(t){!t.get("legendHoverLink")&&l.push(t.id)}),c(e.getData(),function(a,c){var d=a.get("name");if(this.newlineDisabled||""!==d&&"\n"!==d){var m=n.getSeriesByName(d)[0];if(!o.get(d))if(m){var v=m.getData(),y=v.getVisual("color");"function"==typeof y&&(y=y(m.getDataParams(0)));var x=v.getVisual("legendSymbol")||"roundRect",_=v.getVisual("symbol");this._createItem(d,c,a,e,x,_,t,y,s).on("click",u(f,d,i)).on("mouseover",u(p,m.name,null,i,l)).on("mouseout",u(g,m.name,null,i,l)),o.set(d,!0)}else n.eachRawSeries(function(n){if(!o.get(d)&&n.legendDataProvider){var r=n.legendDataProvider(),h=r.indexOfName(d);if(h<0)return;var m=r.getItemVisual(h,"color");this._createItem(d,c,a,e,"roundRect",null,t,m,s).on("click",u(f,d,i)).on("mouseover",u(p,null,d,i,l)).on("mouseout",u(g,null,d,i,l)),o.set(d,!0)}},this)}else r.add(new h({newline:!0}))},this)},_createItem:function(t,e,n,i,s,l,u,c,d){var f=i.get("itemWidth"),p=i.get("itemHeight"),g=i.get("inactiveColor"),m=i.get("symbolKeepAspect"),v=i.isSelected(t),y=new h,x=n.getModel("textStyle"),_=n.get("icon"),b=n.getModel("tooltip"),w=b.parentModel;if(y.add(r(s=_||s,0,0,f,p,v?c:g,null==m||m)),!_&&l&&(l!==s||"none"===l)){var S=.8*p;"none"===l&&(l="circle"),y.add(r(l,(f-S)/2,(p-S)/2,S,S,v?c:g,null==m||m))}var M="left"===u?f+5:-5,I=u,T=i.get("formatter"),A=t;"string"==typeof T&&T?A=T.replace("{name}",null!=t?t:""):"function"==typeof T&&(A=T(t)),y.add(new o.Text({style:o.setTextStyle({},x,{text:A,x:M,y:p/2,textFill:v?x.getTextColor():g,textAlign:I,textVerticalAlign:"middle"})}));var D=new o.Rect({shape:y.getBoundingRect(),invisible:!0,tooltip:b.get("show")?a.extend({content:t,formatter:w.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]}},b.option):null});return y.add(D),y.eachChild(function(t){t.silent=!0}),D.silent=!d,this.getContentGroup().add(y),o.setHoverStyle(y),y.__legendDataIndex=e,y},layoutInner:function(t,e,n){var i=this.getContentGroup();l.box(t.get("orient"),i,t.get("itemGap"),n.width,n.height);var a=i.getBoundingRect();return i.attr("position",[-a.x,-a.y]),this.group.getBoundingRect()}});function f(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function p(t,e,n,i){var a=n.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function g(t,e,n,i){var a=n.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}t.exports=d},XxSj:function(t,e,n){var i=n("bYtY"),a=n("Qe9p"),r=n("OELB").linearMap,o=i.each,s=i.isObject,l=-1,u=function(t){var e=t.mappingMethod,n=t.type,a=this.option=i.clone(t);this.type=n,this.mappingMethod=e,this._normalizeData=_[e];var r=c[n];this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._doMap=r._doMap[e],"piecewise"===e?(h(a),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,i.each(e,function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)})}(a)):"category"===e?a.categories?function(t){var e=t.categories,n=t.visual,a=t.categoryMap={};if(o(e,function(t,e){a[t]=e}),!i.isArray(n)){var r=[];i.isObject(n)?o(n,function(t,e){var n=a[e];r[null!=n?n:l]=t}):r[l]=n,n=x(t,r)}for(var s=e.length-1;s>=0;s--)null==n[s]&&(delete a[e[s]],e.pop())}(a):h(a,!0):(i.assert("linear"!==e||a.dataExtent),h(a))};u.prototype={constructor:u,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var c=u.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var t=this.option;return i.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),g.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=a.fastLerp(e,t.parsedVisual,i),r?i:a.stringify(i,"rgba")},this)},_doMap:{linear:function(t){return a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){var n=y.call(this,e);return null==n&&(n=a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:m}},colorHue:d(function(t,e){return a.modifyHSL(t,e)}),colorSaturation:d(function(t,e){return a.modifyHSL(t,null,e)}),colorLightness:d(function(t,e){return a.modifyHSL(t,null,null,e)}),colorAlpha:d(function(t,e){return a.modifyAlpha(t,e)}),opacity:{applyVisual:p("opacity"),_doMap:v([0,1])},liftZ:{applyVisual:p("liftZ"),_doMap:{linear:m,category:m,piecewise:m,fixed:m}},symbol:{applyVisual:function(t,e,n){var a=this.mapValueToVisual(t);if(i.isString(a))n("symbol",a);else if(s(a))for(var r in a)a.hasOwnProperty(r)&&n(r,a[r])},_doMap:{linear:f,category:g,piecewise:function(t,e){var n=y.call(this,e);return null==n&&(n=f.call(this,t)),n},fixed:m}},symbolSize:{applyVisual:p("symbolSize"),_doMap:v([0,1])}};function h(t,e){var n=t.visual,a=[];i.isObject(n)?o(n,function(t){a.push(t)}):null!=n&&a.push(n),e||1!==a.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(a[1]=a[0]),x(t,a)}function d(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:v([0,1])}}function f(t){var e=this.option.visual;return e[Math.round(r(t,[0,1],[0,e.length-1],!0))]||{}}function p(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==l?t%e.length:t]}function m(){return this.option.visual[0]}function v(t){return{linear:function(e){return r(e,t,this.option.visual,!0)},category:g,piecewise:function(e,n){var i=y.call(this,n);return null==i&&(i=r(e,t,this.option.visual,!0)),i},fixed:m}}function y(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[u.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=i.map(e,function(t){return a.parse(t)})),e}var _={linear:function(t){return r(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=u.findPieceIndex(t,e,!0);if(null!=n)return r(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?l:e},fixed:i.noop};function b(t,e,n){return t?e<=n:e<n}u.listVisualTypes=function(){var t=[];return i.each(c,function(e,n){t.push(n)}),t},u.addVisualHandler=function(t,e){c[t]=e},u.isValidType=function(t){return c.hasOwnProperty(t)},u.eachVisual=function(t,e,n){i.isObject(t)?i.each(t,e,n):e.call(n,t)},u.mapVisual=function(t,e,n){var a,r=i.isArray(t)?[]:i.isObject(t)?{}:(a=!0,null);return u.eachVisual(t,function(t,i){var o=e.call(n,t,i);a?r=o:r[i]=o}),r},u.retrieveVisuals=function(t){var e,n={};return t&&o(c,function(i,a){t.hasOwnProperty(a)&&(n[a]=t[a],e=!0)}),e?n:null},u.prepareVisualTypes=function(t){if(s(t)){var e=[];o(t,function(t,n){e.push(n)}),t=e}else{if(!i.isArray(t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},u.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},u.findPieceIndex=function(t,e,n){for(var i,a=1/0,r=0,o=e.length;r<o;r++){var s=e[r].value;if(null!=s){if(s===t||"string"==typeof s&&s===t+"")return r;n&&h(s,r)}}for(r=0,o=e.length;r<o;r++){var l=e[r],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(b(c[1],t,u[1]))return r}else if(u[1]===1/0){if(b(c[0],u[0],t))return r}else if(b(c[0],u[0],t)&&b(c[1],t,u[1]))return r;n&&h(u[0],r),n&&h(u[1],r)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function h(e,n){var r=Math.abs(e-t);r<a&&(a=r,i=n)}},t.exports=u},YH21:function(t,e,n){var i=n("H6uX");e.Dispatcher=i;var a=n("ItGF"),r="undefined"!=typeof window&&!!window.addEventListener,o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;function s(t,e,n,i){return n=n||{},i||!a.canvasSupported?l(t,e,n):a.browser.firefox&&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){var i=function(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}(t);n.zrX=e.clientX-i.left,n.zrY=e.clientY-i.top}var u=r?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=s,e.normalizeEvent=function(t,e,n){if(null!=(e=e||window.event).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var a="touchend"!=i?e.targetTouches[0]:e.changedTouches[0];a&&s(t,a,e,n)}else s(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var r=e.button;return null==e.which&&void 0!==r&&o.test(e.type)&&(e.which=1&r?1:2&r?3:4&r?2:0),e},e.addEventListener=function(t,e,n){r?t.addEventListener(e,n):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){r?t.removeEventListener(e,n):t.detachEvent("on"+e,n)},e.stop=u,e.notLeftMouse=function(t){return t.which>1}},YNf1:function(t,e,n){var i=n("IwbS"),a=n("6Ic6"),r=.3,o=a.extend({type:"parallel",init:function(){this._dataGroup=new i.Group,this.group.add(this._dataGroup)},render:function(t,e,n,a){var r=this._dataGroup,o=t.getData(),h=this._data,d=t.coordinateSystem,f=d.dimensions,p=u(t);if(o.diff(h).add(function(t){c(l(o,r,t,f,d),o,t,p)}).update(function(e,n){var r=h.getItemGraphicEl(n),l=s(o,e,f,d);o.setItemGraphicEl(e,r),i.updateProps(r,{shape:{points:l}},a&&!1===a.animation?null:t,e),c(r,o,e,p)}).remove(function(t){var e=h.getItemGraphicEl(t);r.remove(e)}).execute(),!this._initialized){this._initialized=!0;var g=function(t,e,n){var a=t.model,o=t.getRect(),s=new i.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),l="horizontal"===a.get("layout")?"width":"height";return s.setShape(l,0),i.initProps(s,{shape:{width:o.width,height:o.height}},e,function(){setTimeout(function(){r.removeClipPath()})}),s}(d,t);r.setClipPath(g)}this._data=o},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),a=e.coordinateSystem,r=a.dimensions,o=u(e),s=t.start;s<t.end;s++){var h=l(i,this._dataGroup,s,r,a);h.incremental=!0,c(h,i,s,o)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(t,e,n,i){for(var a,r=[],o=0;o<n.length;o++){var s=n[o],l=t.get(t.mapDimension(s),e);a=l,("category"===i.getAxis(s).type?null==a:null==a||isNaN(a))||r.push(i.dataToPoint(l,s))}return r}function l(t,e,n,a,r){var o=s(t,n,a,r),l=new i.Polyline({shape:{points:o},silent:!0,z2:10});return e.add(l),t.setItemGraphicEl(n,l),l}function u(t){var e=t.get("smooth",!0);return!0===e&&(e=r),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:r}}function c(t,e,n,i){var a=i.lineStyle;e.hasItemOption&&(a=e.getItemModel(n).getModel("lineStyle").getLineStyle()),t.useStyle(a);var r=t.style;r.fill=null,r.stroke=e.getItemVisual(n,"color"),r.opacity=e.getItemVisual(n,"opacity"),i.smooth&&(t.shape.smooth=i.smooth)}t.exports=o},YOMW:function(t,e,n){var i=n("bYtY"),a={get:function(t,e,n){var a=i.clone((r[t]||{})[e]);return n&&i.isArray(a)?a[a.length-1]:a}},r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};t.exports=a},YXkt:function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("Qxkt"),r=n("gPAo"),o=n("7G+c"),s=n("KxfA"),l=s.defaultDimValueGetters,u=s.DefaultDataProvider,c=n("L0Ub").summarizeDimensions,h=i.isObject,d="e\0\0",f={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},p="undefined"==typeof Uint32Array?Array:Uint32Array,g="undefined"==typeof Uint16Array?Array:Uint16Array;function m(t){return t._rawCount>65535?p:g}var v=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],y=["_extent","_approximateExtent","_rawExtent"];function x(t,e){i.each(v.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,i.each(y,function(n){t[n]=i.clone(e[n])}),t._calculationInfo=i.extend(e._calculationInfo)}var _=function(t,e){t=t||["x","y"];for(var n={},a=[],r={},o=0;o<t.length;o++){var s=t[o];i.isString(s)&&(s={name:s});var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},a.push(l),n[l]=s,s.index=o,s.createInvertedIndices&&(r[l]=[])}this.dimensions=a,this._dimensionInfos=n,this.hostModel=e,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=c(this),this._invertedIndicesMap=r,this._calculationInfo={}},b=_.prototype;function w(t,e,n){var i;if(null!=e){var a=t._chunkSize,r=Math.floor(n/a),o=t.dimensions[e],s=t._storage[o][r];if(s){i=s[n%a];var l=t._dimensionInfos[o].ordinalMeta;l&&l.categories.length&&(i=l.categories[i])}}return i}function S(t){return t}function M(t){return t<this._count&&t>=0?this._indices[t]:-1}function I(t,e){var n=t._idList[e];return null==n&&(n=w(t,t._idDimIdx,e)),null==n&&(n=d+e),n}function T(t){return i.isArray(t)||(t=[t]),t}function A(t,e){var n=t.dimensions,a=new _(i.map(n,t.getDimensionInfo,t),t.hostModel);x(a,t);for(var r=a._storage={},o=t._storage,s=0;s<n.length;s++){var l=n[s];o[l]&&(i.indexOf(e,l)>=0?(r[l]=D(o[l]),a._rawExtent[l]=[1/0,-1/0],a._extent[l]=null):r[l]=o[l])}return a}function D(t){for(var e,n,i=new Array(t.length),a=0;a<t.length;a++)i[a]=(n=void 0,(n=(e=t[a]).constructor)===Array?e.slice():new n(e));return i}b.type="list",b.hasItemOption=!0,b.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},b.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},b.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},b.mapDimension=function(t,e){var n=this._dimensionsSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return!0===e?(i||[]).slice():i&&i[e]},b.initData=function(t,e,n){(o.isInstance(t)||i.isArrayLike(t))&&(t=new u(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=l[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},b.getProvider=function(){return this._rawData},b.appendData=function(t){var e=this._rawData,n=this.count();e.appendData(t);var i=e.count();e.persistent||(i+=n),this._initDataFromProvider(n,i)},b._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,a=this._chunkSize,r=this._rawData,o=this._storage,s=this.dimensions,l=s.length,u=this._dimensionInfos,c=this._nameList,h=this._idList,d=this._rawExtent,g=this._nameRepeatCount={},m=this._chunkCount,v=m-1,y=0;y<l;y++){d[P=s[y]]||(d[P]=[1/0,-1/0]);var x=u[P];0===x.otherDims.itemName&&(n=this._nameDimIdx=y),0===x.otherDims.itemId&&(this._idDimIdx=y);var _=f[x.type];o[P]||(o[P]=[]);var b=o[P][v];if(b&&b.length<a){for(var w=new _(Math.min(e-v*a,a)),S=0;S<b.length;S++)w[S]=b[S];o[P][v]=w}for(var M=m*a;M<e;M+=a)o[P].push(new _(Math.min(e-M,a)));this._chunkCount=o[P].length}for(var I,T,A=new Array(l),D=t;D<e;D++){A=r.getItem(D,A);var C=Math.floor(D/a),L=D%a;for(M=0;M<l;M++){var P,k=o[P=s[M]][C],O=this._dimValueGetter(A,P,D,M);k[L]=O;var E=d[P];O<E[0]&&(E[0]=O),O>E[1]&&(E[1]=O)}if(!r.pure){var N=c[D];if(A&&null==N)if(null!=A.name)c[D]=N=A.name;else if(null!=n){var R=s[n],z=o[R][C];if(z){N=z[L];var B=u[R].ordinalMeta;B&&B.categories.length&&(N=B.categories[N])}}var V=null==A?null:A.id;null==V&&null!=N&&(g[N]=g[N]||0,V=N,g[N]>0&&(V+="__ec__"+g[N]),g[N]++),null!=V&&(h[D]=V)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},i.each(T=(I=this)._invertedIndicesMap,function(t,e){var n=I._dimensionInfos[e].ordinalMeta;if(n){t=T[e]=new p(n.categories.length);for(var i=0;i<t.length;i++)t[i]=NaN;for(i=0;i<I._count;i++)t[I.get(e,i)]=i}})}},b.count=function(){return this._count},b.getIndices=function(){var t=this._indices;if(t){var e=this._count;if((i=t.constructor)===Array){a=new i(e);for(var n=0;n<e;n++)a[n]=t[n]}else a=new i(t.buffer,0,e)}else{var i,a=new(i=m(this))(this.count());for(n=0;n<a.length;n++)a[n]=n}return a},b.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._storage;if(!n[t])return NaN;e=this.getRawIndex(e);var i=Math.floor(e/this._chunkSize);return n[t][i][e%this._chunkSize]},b.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._storage[t];return n?n[Math.floor(e/this._chunkSize)][e%this._chunkSize]:NaN},b._getFast=function(t,e){var n=Math.floor(e/this._chunkSize);return this._storage[t][n][e%this._chunkSize]},b.getValues=function(t,e){var n=[];i.isArray(t)||(e=t,t=this.dimensions);for(var a=0,r=t.length;a<r;a++)n.push(this.get(t[a],e));return n},b.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=this._dimensionInfos,i=0,a=e.length;i<a;i++)if("ordinal"!==n[e[i]].type&&isNaN(this.get(e[i],t)))return!1;return!0},b.getDataExtent=function(t){t=this.getDimension(t);var e=[1/0,-1/0];if(!this._storage[t])return e;var n,i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(n=this._extent[t])return n.slice();for(var a=(n=e)[0],r=n[1],o=0;o<i;o++){var s=this._getFast(t,this.getRawIndex(o));s<a&&(a=s),s>r&&(r=s)}return this._extent[t]=n=[a,r],n},b.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},b.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},b.getCalculationInfo=function(t){return this._calculationInfo[t]},b.setCalculationInfo=function(t,e){h(t)?i.extend(this._calculationInfo,t):this._calculationInfo[t]=e},b.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n<i;n++){var a=this.get(t,n);isNaN(a)||(e+=a)}return e},b.getMedian=function(t){var e=[];this.each(t,function(t,n){isNaN(t)||e.push(t)});var n=[].concat(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},b.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},b.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},b.indexOfRawIndex=function(t){if(!this._indices)return t;if(t>=this._rawCount||t<0)return-1;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,a=this._count-1;i<=a;){var r=(i+a)/2|0;if(e[r]<t)i=r+1;else{if(!(e[r]>t))return r;a=r-1}}return-1},b.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var a=Number.MAX_VALUE,r=-1,o=0,s=this.count();o<s;o++){var l=e-this.get(t,o),u=Math.abs(l);l<=n&&u<=a&&((u<a||l>=0&&r<0)&&(a=u,r=l,i.length=0),i.push(o))}return i},b.getRawIndex=S,b.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n<this.dimensions.length;n++)e.push(this.get(this.dimensions[n],t));return e},b.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||w(this,this._nameDimIdx,e)||""},b.getId=function(t){return I(this,this.getRawIndex(t))},b.each=function(t,e,n,a){"use strict";if(this._count){"function"==typeof t&&(a=n,n=e,e=t,t=[]),n=n||a||this;for(var r=(t=i.map(T(t),this.getDimension,this)).length,o=0;o<this.count();o++)switch(r){case 0:e.call(n,o);break;case 1:e.call(n,this.get(t[0],o),o);break;case 2:e.call(n,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var s=0,l=[];s<r;s++)l[s]=this.get(t[s],o);l[s]=o,e.apply(n,l)}}},b.filterSelf=function(t,e,n,a){"use strict";if(this._count){"function"==typeof t&&(a=n,n=e,e=t,t=[]),n=n||a||this,t=i.map(T(t),this.getDimension,this);for(var r=this.count(),o=new(m(this))(r),s=[],l=t.length,u=0,c=t[0],h=0;h<r;h++){var d,f=this.getRawIndex(h);if(0===l)d=e.call(n,h);else if(1===l){var p=this._getFast(c,f);d=e.call(n,p,h)}else{for(var g=0;g<l;g++)s[g]=this._getFast(c,f);s[g]=h,d=e.apply(n,s)}d&&(o[u++]=f)}return u<r&&(this._indices=o),this._count=u,this._extent={},this.getRawIndex=this._indices?M:S,this}},b.selectRange=function(t){"use strict";if(this._count){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);var i=e.length;if(i){var a=this.count(),r=new(m(this))(a),o=0,s=e[0],l=t[s][0],u=t[s][1],c=!1;if(!this._indices){var h=0;if(1===i){for(var d=this._storage[e[0]],f=0;f<this._chunkCount;f++)for(var p=d[f],g=Math.min(this._count-f*this._chunkSize,this._chunkSize),v=0;v<g;v++)((A=p[v])>=l&&A<=u||isNaN(A))&&(r[o++]=h),h++;c=!0}else if(2===i){d=this._storage[s];var y=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(f=0;f<this._chunkCount;f++){p=d[f];var b=y[f];for(g=Math.min(this._count-f*this._chunkSize,this._chunkSize),v=0;v<g;v++){var w=b[v];((A=p[v])>=l&&A<=u||isNaN(A))&&(w>=x&&w<=_||isNaN(w))&&(r[o++]=h),h++}}c=!0}}if(!c)if(1===i)for(v=0;v<a;v++){var I=this.getRawIndex(v);((A=this._getFast(s,I))>=l&&A<=u||isNaN(A))&&(r[o++]=I)}else for(v=0;v<a;v++){var T=!0;for(I=this.getRawIndex(v),f=0;f<i;f++){var A,D=e[f];((A=this._getFast(n,I))<t[D][0]||A>t[D][1])&&(T=!1)}T&&(r[o++]=this.getRawIndex(v))}return o<a&&(this._indices=r),this._count=o,this._extent={},this.getRawIndex=this._indices?M:S,this}}},b.mapArray=function(t,e,n,i){"use strict";"function"==typeof t&&(i=n,n=e,e=t,t=[]);var a=[];return this.each(t,function(){a.push(e&&e.apply(this,arguments))},n=n||i||this),a},b.map=function(t,e,n,a){"use strict";n=n||a||this;var r=A(this,t=i.map(T(t),this.getDimension,this));r._indices=this._indices,r.getRawIndex=r._indices?M:S;for(var o=r._storage,s=[],l=this._chunkSize,u=t.length,c=this.count(),h=[],d=r._rawExtent,f=0;f<c;f++){for(var p=0;p<u;p++)h[p]=this.get(t[p],f);h[u]=f;var g=e&&e.apply(n,h);if(null!=g){"object"!=typeof g&&(s[0]=g,g=s);for(var m=this.getRawIndex(f),v=Math.floor(m/l),y=m%l,x=0;x<g.length;x++){var _=t[x],b=g[x],w=d[_],I=o[_];I&&(I[v][y]=b),b<w[0]&&(w[0]=b),b>w[1]&&(w[1]=b)}}}return r},b.downSample=function(t,e,n,i){for(var a=A(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],u=this.count(),c=this._chunkSize,h=a._rawExtent[t],d=new(m(this))(u),f=0,p=0;p<u;p+=s){s>u-p&&(o.length=s=u-p);for(var g=0;g<s;g++){var v=this.getRawIndex(p+g),y=Math.floor(v/c);o[g]=l[y][v%c]}var x=n(o),_=this.getRawIndex(Math.min(p+i(o,x)||0,u-1));l[Math.floor(_/c)][_%c]=x,x<h[0]&&(h[0]=x),x>h[1]&&(h[1]=x),d[f++]=_}return a._count=f,a._indices=d,a.getRawIndex=M,a},b.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},b.diff=function(t){var e=this;return new r(t?t.getIndices():[],this.getIndices(),function(e){return I(t,e)},function(t){return I(e,t)})},b.getVisual=function(t){var e=this._visual;return e&&e[t]},b.setVisual=function(t,e){if(h(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},b.setLayout=function(t,e){if(h(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},b.getLayout=function(t){return this._layout[t]},b.getItemLayout=function(t){return this._itemLayouts[t]},b.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},b.clearItemLayouts=function(){this._itemLayouts.length=0},b.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],a=i&&i[e];return null!=a||n?a:this.getVisual(e)},b.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=i,h(e))for(var r in e)e.hasOwnProperty(r)&&(i[r]=e[r],a[r]=!0);else i[e]=n,a[e]=!0},b.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var C=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};b.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(C,e)),this._graphicEls[t]=e},b.getItemGraphicEl=function(t){return this._graphicEls[t]},b.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},b.cloneShallow=function(t){if(!t){var e=i.map(this.dimensions,this.getDimensionInfo,this);t=new _(e,this.hostModel)}return t._storage=this._storage,x(t,this),t._indices=this._indices?new(0,this._indices.constructor)(this._indices):null,t.getRawIndex=t._indices?M:S,t},b.wrapMethod=function(t,e){var n=this[t];"function"==typeof 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.slice(arguments)))})},b.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],b.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=_},YgsL:function(t,e,n){var i=n("QBsz").distance;function a(t,e,n,i,a,r,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*r+s*a+e}t.exports=function(t,e){for(var n=t.length,r=[],o=0,s=1;s<n;s++)o+=i(t[s-1],t[s]);var l=o/2;for(l=l<n?n:l,s=0;s<l;s++){var u,c,h,d=s/(l-1)*(e?n:n-1),f=Math.floor(d),p=d-f,g=t[f%n];e?(u=t[(f-1+n)%n],c=t[(f+1)%n],h=t[(f+2)%n]):(u=t[0===f?f:f-1],c=t[f>n-2?n-1:f+1],h=t[f>n-3?n-1:f+2]);var m=p*p,v=p*m;r.push([a(u[0],g[0],c[0],h[0],p,m,v),a(u[1],g[1],c[1],h[1],p,m,v)])}return r}},Yl7c:function(t,e,n){n("Tghj");var i=n("bYtY"),a=".",r="___EC__COMPONENT__CONTAINER___";function o(t){var e={main:"",sub:""};return t&&(t=t.split(a),e.main=t[0]||"",e.sub=t[1]||""),e}var s=0;function l(t,e){var n=i.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function u(t,e,n){return this.superClass.prototype[e].apply(t,n)}e.parseClassType=o,e.enableClassExtend=function(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return i.extend(n.prototype,t),n.extend=this.extend,n.superCall=l,n.superApply=u,i.inherits(n,this),n.superClass=e,n}},e.enableClassCheck=function(t){var e=["__\0is_clz",s++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}},e.enableClassManagement=function(t,e){e=e||{};var n={};if(t.registerClass=function(t,e){return e&&(function(t){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}(e),(e=o(e)).sub?e.sub!==r&&((function(t){var e=n[t.main];return e&&e[r]||((e=n[t.main]={})[r]=!0),e}(e))[e.sub]=t):n[e.main]=t),t},t.getClass=function(t,e,i){var a=n[t];if(a&&a[r]&&(a=e?a[e]:null),i&&!a)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return a},t.getClassesByMainType=function(t){t=o(t);var e=[],a=n[t.main];return a&&a[r]?i.each(a,function(t,n){n!==r&&e.push(t)}):e.push(a),e},t.hasClass=function(t){return t=o(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return i.each(n,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){t=o(t);var e=n[t.main];return e&&e[r]},t.parseClassType=o,e.registerWhenExtend){var a=t.extend;a&&(t.extend=function(e){var n=a.call(this,e);return t.registerClass(n,e.type)})}return t},e.setReadOnly=function(t,e){}},YlN7:function(t,e,n){var i=n("bYtY");t.exports=function(){var t=[],e=[];return{key:function(e){return t.push(e),this},sortKeys:function(n){return e[t.length-1]=n,this},entries:function(n){return function n(a,r){if(r>=t.length)return a;var o=[],s=e[r++];return i.each(a,function(t,e){o.push({key:e,values:n(t,r)})}),s?o.sort(function(t,e){return s(t.key,e.key)}):o}(function e(n,a){if(a>=t.length)return n;for(var r=-1,o=n.length,s=t[a++],l={},u={};++r<o;){var c=s(n[r]),h=u[c];h?h.push(n[r]):u[c]=[n[r]]}return i.each(u,function(t,n){l[n]=e(t,a)}),l}(n,0),0)}}}},Ynxi:function(t,e,n){var i=n("ProS"),a=n("IwbS"),r=n("+TT/").getLayoutRect;i.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),i.extendComponentView({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,o=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=t.get("textBaseline"),c=new a.Text({style:a.setTextStyle({},o,{text:t.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),h=c.getBoundingRect(),d=t.get("subtext"),f=new a.Text({style:a.setTextStyle({},s,{text:d,textFill:s.getTextColor(),y:h.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),g=t.get("sublink"),m=t.get("triggerEvent",!0);c.silent=!p&&!m,f.silent=!g&&!m,p&&c.on("click",function(){window.open(p,"_"+t.get("target"))}),g&&f.on("click",function(){window.open(g,"_"+t.get("subtarget"))}),c.eventData=f.eventData=m?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(c),d&&i.add(f);var v=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=v.width,y.height=v.height;var x=r(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));l||("middle"===(l=t.get("left")||t.get("right"))&&(l="center"),"right"===l?x.x+=x.width:"center"===l&&(x.x+=x.width/2)),u||("center"===(u=t.get("top")||t.get("bottom"))&&(u="middle"),"bottom"===u?x.y+=x.height:"middle"===u&&(x.y+=x.height/2),u=u||"top"),i.attr("position",[x.x,x.y]);var _={textAlign:l,textVerticalAlign:u};c.setStyle(_),f.setStyle(_),v=i.getBoundingRect();var b=x.margin,w=t.getItemStyle(["color","opacity"]);w.fill=t.get("backgroundColor");var S=new a.Rect({shape:{x:v.x-b[3],y:v.y-b[0],width:v.width+b[1]+b[3],height:v.height+b[0]+b[2],r:t.get("borderRadius")},style:w,silent:!0});a.subPixelOptimizeRect(S),i.add(S)}}})},Z1r0:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getGraph().data,a=n.mapArray(n.getName);i.filterSelf(function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=a[n]);for(var r=0;r<e.length;r++)if(!e[r].isSelected(n))return!1}return!0})},this)}},Z1wy:function(t,e,n){var i=n("ProS");n("ThAp"),n("pmaE"),n("SehX"),n("7uqq");var a=n("zuHt"),r=n("VPsl"),o=n("9u0u"),s=n("lELe"),l=n("d4KN");i.registerLayout(a),i.registerVisual(r),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,o),i.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(t,e,n){var i=n("MwEJ"),a=n("T4UG").extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=a},Z8zF:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("IwbS"),o=n("56rv").setLabel,s=n("Qxkt"),l=n("tceW"),u=n("y+Vt"),c=["itemStyle","barBorderWidth"];a.extend(s.prototype,l);var h=i.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,n){var i,a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=t.isAnimationEnabled()?t:null;o.diff(s).add(function(e){if(o.hasValue(e)){var n=o.getItemModel(e),r=g[l.type](o,e,n),s=d[l.type](o,e,n,r,i,c);o.setItemGraphicEl(e,s),a.add(s),m(s,o,e,n,r,t,i,"polar"===l.type)}}).update(function(e,n){var u=s.getItemGraphicEl(n);if(o.hasValue(e)){var h=o.getItemModel(e),f=g[l.type](o,e,h);u?r.updateProps(u,{shape:f},c,e):u=d[l.type](o,e,h,f,i,c,!0),o.setItemGraphicEl(e,u),a.add(u),m(u,o,e,h,f,t,i,"polar"===l.type)}else a.remove(u)}).remove(function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&f(t,c,e):e&&p(t,c,e)}).execute(),this._data=o},_renderLarge:function(t,e,n){this._clear(),y(t,this.group)},_incrementalRenderLarge:function(t,e){y(e,this.group,!0)},dispose:a.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,n=this._data;t&&t.get("animation")&&n&&!this._isLargeDraw?n.eachItemGraphicEl(function(e){"sector"===e.type?p(e.dataIndex,t,e):f(e.dataIndex,t,e)}):e.removeAll(),this._data=null}}),d={cartesian2d:function(t,e,n,i,o,s,l){var u=new r.Rect({shape:a.extend({},i)});if(s){var c=o?"height":"width",h={};u.shape[c]=0,h[c]=i[c],r[l?"updateProps":"initProps"](u,{shape:h},s,e)}return u},polar:function(t,e,n,i,o,s,l){var u=new r.Sector({shape:a.defaults({clockwise:i.startAngle<i.endAngle},i)});if(s){var c=o?"r":"endAngle",h={};u.shape[c]=o?0:i.startAngle,h[c]=i[c],r[l?"updateProps":"initProps"](u,{shape:h},s,e)}return u}};function f(t,e,n){n.style.text=null,r.updateProps(n,{shape:{width:0}},e,t,function(){n.parent&&n.parent.remove(n)})}function p(t,e,n){n.style.text=null,r.updateProps(n,{shape:{r:n.shape.r0}},e,t,function(){n.parent&&n.parent.remove(n)})}var g={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),a=function(t,e){var n=t.get(c)||0;return Math.min(n,Math.abs(e.width),Math.abs(e.height))}(n,i),r=i.width>0?1:-1,o=i.height>0?1:-1;return{x:i.x+r*a/2,y:i.y+o*a/2,width:i.width-r*a,height:i.height-o*a}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function m(t,e,n,i,s,l,u,c){var h=e.getItemVisual(n,"color"),d=e.getItemVisual(n,"opacity"),f=i.getModel("itemStyle"),p=i.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(a.defaults({fill:h,opacity:d},f.getBarItemStyle()));var g=i.getShallow("cursor");g&&t.attr("cursor",g),c||o(t.style,p,i,h,l,n,u?s.height>0?"bottom":"top":s.width>0?"left":"right"),r.setHoverStyle(t,p)}var v=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,a=this.__valueIdx,r=0;r<n.length;r+=2)i[this.__valueIdx]=n[r+a],t.moveTo(i[0],i[1]),t.lineTo(n[r],n[r+1])}});function y(t,e,n){var i=t.getData(),a=[],r=i.getLayout("valueAxisHorizontal")?1:0;a[1-r]=i.getLayout("valueAxisStart");var o=new v({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:a,__valueIdx:r});e.add(o),function(t,e,n){var i=n.getVisual("borderColor")||n.getVisual("color"),a=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}(o,t,i)}t.exports=h},ZWlE:function(t,e,n){var i=n("bYtY"),a=n("4NO4");t.exports=function(t){!function(t){if(!t.parallel){var e=!1;i.each(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}(t),function(t){var e=a.normalizeToArray(t.parallelAxis);i.each(e,function(e){if(i.isObject(e)){var n=e.parallelIndex||0,r=a.normalizeToArray(t.parallel)[n];r&&r.parallelAxisDefault&&i.merge(e,r.parallelAxisDefault,!1)}})}(t)}},ZYIC:function(t,e,n){var i={seriesType:"lines",plan:n("zM3Q")(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(a,r){var o=[];if(i){var s,l=a.end-a.start;if(n){for(var u=0,c=a.start;c<a.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=a.start;c<a.end;c++){var f=t.getLineCoords(c,o);n&&(s[h++]=f);for(var p=0;p<f;p++)d=e.dataToPoint(o[p],!1,d),s[h++]=d[0],s[h++]=d[1]}r.setLayout("linesPoints",s)}else for(c=a.start;c<a.end;c++){var g=r.getItemModel(c),m=(f=t.getLineCoords(c,o),[]);if(n)for(var v=0;v<f;v++)m.push(e.dataToPoint(o[v]));else{m[0]=e.dataToPoint(o[0]),m[1]=e.dataToPoint(o[1]);var y=g.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}r.setItemLayout(c,m)}}}}};t.exports=i},Znkb:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("zTMp"),r=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&a.fixValue(t),r.superApply(this,"render",arguments),o(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,i,a){o(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),r.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),r.superApply(this,"dispose",arguments)}});function o(t,e,n,i,o,l){var u=r.getAxisPointerClass(t.axisPointerClass);if(u){var c=a.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u)).render(e,c,i,l):s(t,i)}}function s(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var l=[];r.registerAxisPointerClass=function(t,e){l[t]=e},r.getAxisPointerClass=function(t){return t&&l[t]},t.exports=r},ZqQs:function(t,e,n){var i=n("bYtY");function a(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},o=a.normal||(a.normal={}),s={normal:1,emphasis:1};i.each(a,function(t,e){s[e]||r(o,e)||(o[e]=t)}),n.label&&!r(a,"emphasis")&&(a.emphasis=n.label,delete n.label)}function r(t,e){return t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.timeline;i.isArray(e)||(e=e?[e]:[]),i.each(e,function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),a(t),r(t,"controlPosition")){var o=t.controlStyle||(t.controlStyle={});r(o,"position")||(o.position=t.controlPosition),"none"!==o.position||r(o,"show")||(o.show=!1,delete o.position),delete t.controlPosition}i.each(t.data||[],function(t){i.isObject(t)&&!i.isArray(t)&&(!r(t,"value")&&r(t,"name")&&(t.value=t.name),a(t))})}(t)})}},Zvw2:function(t,e,n){var i=n("bYtY"),a=n("hM6l"),r=function(t,e,n,i,r){a.call(this,t,e,n),this.type=i||"value",this.position=r||"bottom",this.orient=null};r.prototype={constructor:r,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},i.inherits(r,a),t.exports=r},a9QJ:function(t,e){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){if("world"===t){var i=n[e.name];if(i){var a=e.center;a[0]=i[0],a[1]=i[1]}}}},aKvl:function(t,e,n){var i=n("Sj9i").quadraticProjectPoint;e.containStroke=function(t,e,n,a,r,o,s,l,u){if(0===s)return!1;var c=s;return!(u>e+c&&u>a+c&&u>o+c||u<e-c&&u<a-c&&u<o-c||l>t+c&&l>n+c&&l>r+c||l<t-c&&l<n-c&&l<r-c)&&i(t,e,n,a,r,o,l,u,null)<=c/2}},aTJb:function(t,e,n){n("bLfw").registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(t,e,n){var i=n("3gBT"),a=n("ItGF"),r=n("bYtY"),o=n("0s+r"),s=n("r6Bn"),l=n("7SHv"),u=n("MKOG"),c=n("zarK"),h=!a.canvasSupported,d={canvas:l},f={},p=function(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,l=new s,f=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](e,l,n,t);this.storage=l,this.painter=p;var g=a.node||a.worker?null:new c(p.getViewportRoot());this.handler=new o(l,p,g,p.root),this.animation=new u({stage:{update:r.bind(this.flush,this)}}),this.animation.start();var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(t){m.call(l,t),t&&t.removeSelfFromZr(i)},l.addToStorage=function(t){v.call(l,t),t.addSelfToZr(i)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var n=this.painter.addHover(t,e);return this.refreshHover(),n}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){this.painter.resize((t=t||{}).width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,delete f[this.id]}},e.version="4.0.5",e.init=function(t,e){var n=new p(i(),t,e);return f[n.id]=n,n},e.dispose=function(t){if(t)t.dispose();else{for(var e in f)f.hasOwnProperty(e)&&f[e].dispose();f={}}return this},e.getInstance=function(t){return f[t]},e.registerPainter=function(t,e){d[t]=e}},aX7z:function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("GMDS"),r=n("ieMj"),o=n("4NgU"),s=n("OELB"),l=n("nVfU"),u=l.prepareLayoutBarSeries,c=l.makeColumnLayout,h=l.retrieveColumnLayout,d=n("mFDi");function f(t,e){var n,a,r,o=t.type,l=e.getMin(),d=e.getMax(),f=null!=l,p=null!=d,g=t.getExtent();"ordinal"===o?n=e.getCategories().length:(a=e.get("boundaryGap"),i.isArray(a)||(a=[a||0,a||0]),"boolean"==typeof a[0]&&(a=[0,0]),a[0]=s.parsePercent(a[0],1),a[1]=s.parsePercent(a[1],1),r=g[1]-g[0]||Math.abs(g[0])),null==l&&(l="ordinal"===o?n?0:NaN:g[0]-a[0]*r),null==d&&(d="ordinal"===o?n?n-1:NaN:g[1]+a[1]*r),"dataMin"===l?l=g[0]:"function"==typeof l&&(l=l({min:g[0],max:g[1]})),"dataMax"===d?d=g[1]:"function"==typeof d&&(d=d({min:g[0],max:g[1]})),(null==l||!isFinite(l))&&(l=NaN),(null==d||!isFinite(d))&&(d=NaN),t.setBlank(i.eqNaN(l)||i.eqNaN(d)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(l>0&&d>0&&!f&&(l=0),l<0&&d<0&&!p&&(d=0));var m=e.ecModel;if(m&&"time"===o){var v,y=u("bar",m);if(i.each(y,function(t){v|=t.getBaseAxis()===e.axis}),v){var x=c(y),_=function(t,e,n,a){var r=n.axis.getExtent(),o=r[1]-r[0],s=h(a,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;i.each(s,function(t){u=Math.max(t.offset+t.width,u)}),l=Math.abs(l),u=Math.abs(u);var c=l+u,d=e-t,f=d/(1-(l+u)/o)-d;return{min:t-=f*(l/c),max:e+=f*(u/c)}}(l,d,e,x);l=_.min,d=_.max}}return[l,d]}function p(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,a){return null!=i&&(a=e-i),n(g(t,e),a)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}n("IWp7"),n("jCoz"),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var n=f(t,e),i=null!=e.getMin(),a=null!=e.getMax(),r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:r,fixMin:i,fixMax:a,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new a(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new r;default:return(o.getClass(e)||r).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.scale;if(t.model.get("axisLabel.show")&&!e.isBlank()){var n,i,a="category"===t.type,r=e.getExtent();i=a?e.count():(n=e.getTicks()).length;var o,s,l,u,c,h,f,g,m=t.getLabelModel(),v=p(t),y=1;i>40&&(y=Math.ceil(i/40));for(var x=0;x<i;x+=y){var _=v(n?n[x]:r[0]+x),b=(s=m.getTextRect(_),l=(m.get("rotate")||0)*Math.PI/180,h=(u=s.plain()).height,f=(c=u.width)*Math.cos(l)+h*Math.sin(l),g=c*Math.sin(l)+h*Math.cos(l),new d(u.x,u.y,f,g));o?o.union(b):o=b}return o}}},"af/B":function(t,e,n){var i=n("bYtY"),a=i.each,r=i.map,o=i.isFunction,s=i.createHashMap,l=i.noop,u=n("9H2F").createTask,c=n("iRjW").getUID,h=n("fmMI"),d=n("hD7B"),f=n("4NO4").normalizeToArray;function p(t,e,n,i){this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i),this._stageTaskMap=s()}var g=p.prototype;function m(t,e,n,i,r){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}r=r||{},a(e,function(e,a){if(!r.visualType||r.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each(function(t){s(r,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),v(c,i);var f=t.getPerformArgs(c,r.block);d.each(function(t){t.perform(f)}),o|=c.perform(f)}else u&&u.each(function(a,l){s(r,a)&&a.dirty();var u=t.getPerformArgs(a,r.block);u.skip=!e.performRawSeries&&n.isSeriesFiltered(a.context.model),v(a,i),o|=a.perform(u)})}}),t.unfinished|=o}g.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},g.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,r=i&&i.modDataCount;return{step:a,modBy:null!=r?Math.ceil(r/a):null,modDataCount:r}}},g.getPipeline=function(t){return this._pipelineMap.get(t)},g.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),a=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,r=t.get("large")&&i>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:a,modDataCount:o,large:r}},g.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries(function(t){var i=t.getProgressive(),a=t.uid;n.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),A(e,t,t.dataTask)})},g.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;a(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,[]);i.reset&&function(t,e,n,i,a){var o=r.seriesTaskMap||(r.seriesTaskMap=s()),l=e.seriesType,c=e.getTargetSeries;function h(n){var r=n.uid,s=o.get(r)||o.set(r,u({plan:w,reset:S,count:T}));s.context={model:n,ecModel:i,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},A(t,n,s)}e.createOnAllSeries?i.eachRawSeries(h):l?i.eachRawSeriesByType(l,h):c&&c(i,a).each(h);var d=t._pipelineMap;o.each(function(t,e){d.get(e)||(t.dispose(),o.removeKey(e))})}(this,i,0,e,n),i.overallReset&&function(t,e,n,i,o){var l=r.overallTask=r.overallTask||u({reset:y});l.context={ecModel:i,api:o,overallReset:e.overallReset,scheduler:t};var c=l.agentStubMap=l.agentStubMap||s(),h=e.seriesType,d=e.getTargetSeries,f=!0,p=e.modifyOutputEnd;function g(e){var n=e.uid,i=c.get(n);i||(i=c.set(n,u({reset:x,onDirty:b})),l.dirty()),i.context={model:e,overallProgress:f,modifyOutputEnd:p},i.agent=l,i.__block=f,A(t,e,i)}h?i.eachRawSeriesByType(h,g):d?d(i,o).each(g):(f=!1,a(i.getSeries(),g));var m=t._pipelineMap;c.each(function(t,e){m.get(e)||(t.dispose(),l.dirty(),c.removeKey(e))})}(this,i,0,e,n)},this)},g.prepareView=function(t,e,n,i){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=n,r.api=i,a.__block=!t.incrementalPrepareRender,A(this,e,a)},g.performDataProcessorTasks=function(t,e){m(this,this._dataProcessorHandlers,t,e,{block:!0})},g.performVisualTasks=function(t,e,n){m(this,this._visualHandlers,t,e,n)},g.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},g.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)})};var v=g.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function x(t,e){return t.overallProgress&&_}function _(){this.agent.dirty(),this.getDownstream().dirty()}function b(){this.agent&&this.agent.dirty()}function w(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function S(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=f(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,function(t,e){return I(e)}):M}var M=I(0);function I(t){return function(e,n){var i=n.data,a=n.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r<e.end;r++)a.dataEach(i,r);else a&&a.progress&&a.progress(e,i)}}function T(t){return t.data.count()}function A(t,e,n){var i=t._pipelineMap.get(e.uid);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i}function D(t){C=null;try{t(L,P)}catch(e){}return C}p.wrapStageHandler=function(t,e){return o(t)&&(t={overallReset:t,seriesType:D(t)}),t.uid=c("stageHandler"),e&&(t.visualType=e),t};var C,L={},P={};function k(t,e){for(var n in e.prototype)t[n]=l}k(L,h),k(P,d),L.eachSeriesByType=L.eachRawSeriesByType=function(t){C=t},L.eachComponent=function(t){"series"===t.mainType&&t.subType&&(C=t.subType)},t.exports=p},akwb:function(t,e,n){var i=n("RSch"),a=n("bYtY"),r=n("D9ME"),o=n("QBsz");function s(t,e,n){r.call(this,t,e,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(t,e,n){return new i(t,e,n)},l.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,a=1;a<e.length;a++)i+=o.dist(e[a-1],e[a]),n.push(i);if(0!==i){for(a=0;a<n.length;a++)n[a]/=i;this._offsets=n,this._length=i}},l.getLineLength=function(t){return this._length},l.updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,a=n.length;if(i){var r=this._lastFrame;if(e<this._lastFramePercent){for(s=Math.min(r+1,a-1);s>=0&&!(i[s]<=e);s--);s=Math.min(s,a-2)}else{for(var s=r;s<a&&!(i[s]>e);s++);s=Math.min(s-1,a-2)}o.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s])),t.rotation=-Math.atan2(n[s+1][1]-n[s][1],n[s+1][0]-n[s][0])-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,r),t.exports=s},as94:function(t,e,n){var i=n("7aKB"),a=n("3LNs"),r=n("IwbS"),o=n("/y7N"),s=n("Fofx"),l=n("+rIm"),u=n("Znkb"),c=a.extend({makeElOption:function(t,e,n,a,u){var c=n.axis;"angle"===c.dim&&(this.animationThreshold=Math.PI/18);var d,f=c.polar,p=f.getOtherAxis(c).getExtent();d=c["dataTo"+i.capitalFirst(c.dim)](e);var g=a.get("type");if(g&&"none"!==g){var m=o.buildElStyle(a),v=h[g](c,f,d,p,m);v.style=m,t.graphicKey=v.type,t.pointer=v}var y=function(t,e,n,i,a){var o=e.axis,u=o.dataToCoord(t),c=i.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,d,f,p=i.getRadiusAxis().getExtent();if("radius"===o.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[i.cx,i.cy]),h=r.applyTransform([u,-a],g);var m=e.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);d=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];h=i.coordToPoint([y+a,u]);var x=i.cx,_=i.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}(e,n,0,f,a.get("label.margin"));o.buildLabelElOption(t,n,a,u,y)}}),h={line:function(t,e,n,i,a){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,a){var r=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-r/2)*s,(r/2-n)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c),t.exports=c},b9oc:function(t,e,n){var i=n("bYtY").each,a="\0_ec_hist_store";function r(t){var e=t[a];return e||(e=t[a]=[{}]),e}e.push=function(t,e){var n=r(t);i(e,function(e,i){for(var a=n.length-1;a>=0&&!n[a][i];a--);if(a<0){var r=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(r){var o=r.getPercentRange();n[0][i]={dataZoomId:i,start:o[0],end:o[1]}}}}),n.push(e)},e.pop=function(t){var e=r(t),n=e[e.length-1];e.length>1&&e.pop();var a={};return i(n,function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n]){a[n]=t;break}}),a},e.clear=function(t){t[a]=null},e.count=function(t){return r(t).length}},bBKM:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("+rIm"),o=n("IwbS"),s=["axisLine","axisTickLabel","axisName"],l=i.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=a.map(n,function(t){return new r(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});a.each(i,function(t){a.each(s,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),s=t.getModel("splitArea"),l=r.getModel("lineStyle"),u=s.getModel("areaStyle"),c=r.get("show"),h=s.get("show"),d=l.get("color"),f=u.get("color");d=a.isArray(d)?d:[d],f=a.isArray(f)?f:[f];var p=[],g=[];if("circle"===i)for(var m=n[0].getTicksCoords(),v=e.cx,y=e.cy,x=0;x<m.length;x++)c&&p[A(p,d,x)].push(new o.Circle({shape:{cx:v,cy:y,r:m[x].coord}})),h&&x<m.length-1&&g[A(g,f,x)].push(new o.Ring({shape:{cx:v,cy:y,r0:m[x].coord,r:m[x+1].coord}}));else{var _,b=a.map(n,function(t,n){var i=t.getTicksCoords();return _=null==_?i.length-1:Math.min(i.length-1,_),a.map(i,function(t){return e.coordToPoint(t.coord,n)})}),w=[];for(x=0;x<=_;x++){for(var S=[],M=0;M<n.length;M++)S.push(b[M][x]);S[0]&&S.push(S[0].slice()),c&&p[A(p,d,x)].push(new o.Polyline({shape:{points:S}})),h&&w&&g[A(g,f,x-1)].push(new o.Polygon({shape:{points:S.concat(w)}})),w=S.slice().reverse()}}var I=l.getLineStyle(),T=u.getAreaStyle();a.each(g,function(t,e){this.group.add(o.mergePath(t,{style:a.defaults({stroke:"none",fill:f[e%f.length]},T),silent:!0}))},this),a.each(p,function(t,e){this.group.add(o.mergePath(t,{style:a.defaults({fill:"none",stroke:d[e%d.length]},I),silent:!0}))},this)}function A(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}}});t.exports=l},bBL8:function(t,e,n){var i=n("ProS");n("LPzL"),n("rfSb"),n("JVwQ");var a=n("UnoB"),r=n("cbJ4"),o=n("0/Rx");i.registerLayout(a),i.registerVisual(r),i.registerProcessor(o("themeRiver"))},bLfw:function(t,e,n){var i=n("bYtY"),a=n("Qxkt"),r=n("iRjW"),o=n("Yl7c"),s=o.enableClassManagement,l=o.parseClassType,u=n("4NO4").makeInner,c=n("+TT/"),h=n("3hzK"),d=u(),f=a.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,i){a.call(this,t,e,n,i),this.uid=r.getUID("ec_cpt_model")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,a=n?c.getLayoutParams(t):{},r=e.getTheme();i.merge(t,r.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&c.mergeLayoutParam(t,a,n)},mergeOption:function(t,e){i.merge(this.option,t,!0);var n=this.layoutMode;n&&c.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=d(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var a=n.prototype.defaultOption;a&&e.push(a),n=n.superClass}for(var r={},o=e.length-1;o>=0;o--)r=i.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(f,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(f),r.enableTopologicalTravel(f,function(t){var e=[];return i.each(f.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=i.map(e,function(t){return l(t).main}),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}),i.mixin(f,h),t.exports=f},bMXI:function(t,e,n){var i=n("bYtY"),a=n("QBsz"),r=n("Fofx"),o=n("mFDi"),s=n("DN4a"),l=a.applyTransform;function u(){s.call(this)}function c(t){this.name=t,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u}function h(t,e,n,i){var a=n.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[t](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new o(t,e,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,i){this.transformTo(t,e,n,i),this._viewRect=new o(t,e,n,i)},transformTo:function(t,e,n,i){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(t,e,n,i)),r.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=a.applyTransform([],i,t),n=a.applyTransform([],n,t),e.origin=i,e.position=[n[0]-i[0],n[1]-i[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?l(n,t,i):a.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(c,s),t.exports=c},bNin:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("FBjb"),o=n("Itpr").radialCoordinate,s=n("ProS"),l=n("4mN7"),u=n("bMXI"),c=n("Ae+d"),h=n("SgGq"),d=n("xSat").onIrrelevantElement,f=s.extendChartView({type:"tree",init:function(t,e){this._mainGroup=new a.Group,this._controller=new h(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(t,e,n,i){var a=t.getData(),r=t.layoutInfo,o=this._mainGroup,s=t.get("layout");o.attr("position","radial"===s?[r.x+r.width/2,r.y+r.height/2]:[r.x,r.y]),this._updateViewCoordSys(t),this._updateController(t,e,n);var l=this._data,u={expandAndCollapse:t.get("expandAndCollapse"),layout:s,orient:t.getOrient(),curvature:t.get("lineStyle.curveness"),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};a.diff(l).add(function(e){p(a,e)&&m(a,e,null,o,t,u)}).update(function(e,n){var i=l.getItemGraphicEl(n);p(a,e)?m(a,e,i,o,t,u):i&&v(l,n,i,o,t,u)}).remove(function(e){var n=l.getItemGraphicEl(e);n&&v(l,e,n,o,t,u)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===u.expandAndCollapse&&a.eachItemGraphicEl(function(e,i){e.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})})}),this._data=a},_updateViewCoordSys:function(t){var e=t.getData(),n=[];e.each(function(t){var i=e.getItemLayout(t);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])});var i=[],a=[];l.fromPoints(n,i,a),a[0]-i[0]==0&&(a[0]+=1,i[0]-=1),a[1]-i[1]==0&&(a[1]+=1,i[1]-=1);var r=t.coordinateSystem=new u;r.zoomLimit=t.get("scaleLimit"),r.setBoundingRect(i[0],i[1],a[0]-i[0],a[1]-i[1]),r.setCenter(t.get("center")),r.setZoom(t.get("zoom")),this.group.attr({position:r.position,scale:r.scale}),this._viewCoordSys=r},_updateController:function(t,e,n){var i=this._controller,a=this._controllerHost,r=this.group;i.setPointerChecker(function(e,i,a){var o=r.getBoundingRect();return o.applyTransform(r.transform),o.contain(i,a)&&!d(e,n,t)}),i.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",function(e){c.updateViewOnPan(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})},this).on("zoom",function(e){c.updateViewOnZoom(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(t)},this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),n=this._getNodeGlobalScale(t),i=[n,n];e.eachItemGraphicEl(function(t,e){t.attr("scale",i)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scale,a=i&&i[0]||1;return((e.getZoom()-1)*n+1)/a},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function p(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==t.getItemVisual(e,"symbol")}function g(t,e,n){return n.itemModel=e,n.itemStyle=e.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=e.getModel("lineStyle").getLineStyle(),n.labelModel=e.getModel("label"),n.hoverLabelModel=e.getModel("emphasis.label"),n.symbolInnerColor=!1===t.isExpand&&0!==t.children.length?n.itemStyle.fill:"#fff",n}function m(t,e,n,o,s,l){var u=!n,c=t.tree.getNodeByDataIndex(e),h=c.getModel(),d=(l=g(c,h,l),t.tree.root),f=c.parentNode===d?c:c.parentNode||c,p=t.getItemGraphicEl(f.dataIndex),m=f.getLayout(),v=p?{x:p.position[0],y:p.position[1],rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:m,x=c.getLayout();u?(n=new r(t,e,l)).attr("position",[v.x,v.y]):n.updateData(t,e,l),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=x.rawX,n.__radialRawY=x.rawY,o.add(n),t.setItemGraphicEl(e,n),a.updateProps(n,{position:[x.x,x.y]},s);var _=n.getSymbolPath();if("radial"===l.layout){var b,w,S=d.children[0],M=S.getLayout(),I=S.children.length;if(x.x===M.x&&!0===c.isExpand){var T={};T.x=(S.children[0].getLayout().x+S.children[I-1].getLayout().x)/2,T.y=(S.children[0].getLayout().y+S.children[I-1].getLayout().y)/2,(b=Math.atan2(T.y-M.y,T.x-M.x))<0&&(b=2*Math.PI+b),(w=T.x<M.x)&&(b-=Math.PI)}else(b=Math.atan2(x.y-M.y,x.x-M.x))<0&&(b=2*Math.PI+b),0===c.children.length||0!==c.children.length&&!1===c.isExpand?(w=x.x<M.x)&&(b-=Math.PI):(w=x.x>M.x)||(b-=Math.PI);_.setStyle({textPosition:w?"left":"right",textRotation:-b,textOrigin:"center",verticalAlign:"middle"})}if(c.parentNode&&c.parentNode!==d){var A=n.__edge;A||(A=n.__edge=new a.BezierCurve({shape:y(l,v,v),style:i.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),a.updateProps(A,{shape:y(l,m,x),style:{opacity:1}},s),o.add(A)}}function v(t,e,n,i,r,o){for(var s,l=t.tree.getNodeByDataIndex(e),u=t.tree.root,c=l.getModel(),h=(o=g(l,c,o),l.parentNode===u?l:l.parentNode||l);null==(s=h.getLayout());)h=h.parentNode===u?h:h.parentNode||h;a.updateProps(n,{position:[s.x+1,s.y+1]},r,function(){i.remove(n),t.setItemGraphicEl(e,null)}),n.fadeOut(null,{keepLabel:!0});var d=n.__edge;d&&a.updateProps(d,{shape:y(o,s,s),style:{opacity:0}},r,function(){i.remove(d)})}function y(t,e,n){var i,a,r,s,l,u,c,h,d=t.orient;if("radial"===t.layout){u=n.rawX,h=n.rawY;var f=o(l=e.rawX,c=e.rawY),p=o(l,c+(h-c)*t.curvature),g=o(u,h+(c-h)*t.curvature),m=o(u,h);return{x1:f.x,y1:f.y,x2:m.x,y2:m.y,cpx1:p.x,cpy1:p.y,cpx2:g.x,cpy2:g.y}}return l=e.x,c=e.y,u=n.x,h=n.y,"LR"!==d&&"RL"!==d||(i=l+(u-l)*t.curvature,a=c,r=u+(l-u)*t.curvature,s=h),"TB"!==d&&"BT"!==d||(i=l,a=c+(h-c)*t.curvature,r=u,s=h+(c-h)*t.curvature),{x1:l,y1:c,x2:u,y2:h,cpx1:i,cpy1:a,cpx2:r,cpy2:s}}t.exports=f},bYtY:function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},a=Object.prototype.toString,r=Array.prototype,o=r.forEach,s=r.filter,l=r.slice,u=r.map,c=r.reduce,h={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!M(t)){e=[];for(var o=0,s=t.length;o<s;o++)e[o]=d(t[o])}}else if(i[r]){if(!M(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else for(e=new l(t.length),o=0,s=t.length;o<s;o++)e[o]=d(t[o])}}else if(!n[r]&&!M(t)&&!w(t))for(var u in e={},t)t.hasOwnProperty(u)&&(e[u]=d(t[u]));return e}function f(t,e,n){if(!_(e)||!_(t))return n?d(e):t;for(var i in e)if(e.hasOwnProperty(i)){var a=t[i],r=e[i];!_(r)||!_(a)||x(r)||x(a)||w(r)||w(a)||b(r)||b(a)||M(r)||M(a)?!n&&i in t||(t[i]=d(e[i])):f(a,r,n)}return t}function p(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}var g,m=function(){return h.createCanvas()};function v(t,e,n){if(t&&e)if(t.forEach&&t.forEach===o)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,a=t.length;i<a;i++)e.call(n,t[i],i,t);else for(var r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function y(t,e){var n=l.call(arguments,2);return function(){return t.apply(e,n.concat(l.call(arguments)))}}function x(t){return"[object Array]"===a.call(t)}function _(t){var e=typeof t;return"function"===e||!!t&&"object"==e}function b(t){return!!n[a.call(t)]}function w(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}h.createCanvas=function(){return document.createElement("canvas")};var S="__ec_primitive__";function M(t){return t[S]}function I(t){var e=x(t);this.data={};var n=this;function i(t,i){e?n.set(t,i):n.set(i,t)}t instanceof I?t.each(i):t&&v(t,i)}I.prototype={constructor:I,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=y(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=function(t,e){"createCanvas"===t&&(g=null),h[t]=e},e.clone=d,e.merge=f,e.mergeAll=function(t,e){for(var n=t[0],i=1,a=t.length;i<a;i++)n=f(n,t[i],e);return n},e.extend=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.defaults=p,e.createCanvas=m,e.getContext=function(){return g||(g=m().getContext("2d")),g},e.indexOf=function(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},e.inherits=function(t,e){var n=t.prototype;function i(){}for(var a in i.prototype=e.prototype,t.prototype=new i,n)t.prototype[a]=n[a];t.prototype.constructor=t,t.superClass=e},e.mixin=function(t,e,n){p(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,n)},e.isArrayLike=function(t){if(t)return"string"!=typeof t&&"number"==typeof t.length},e.each=v,e.map=function(t,e,n){if(t&&e){if(t.map&&t.map===u)return t.map(e,n);for(var i=[],a=0,r=t.length;a<r;a++)i.push(e.call(n,t[a],a,t));return i}},e.reduce=function(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===c)return t.reduce(e,n,i);for(var a=0,r=t.length;a<r;a++)n=e.call(i,n,t[a],a,t);return n}},e.filter=function(t,e,n){if(t&&e){if(t.filter&&t.filter===s)return t.filter(e,n);for(var i=[],a=0,r=t.length;a<r;a++)e.call(n,t[a],a,t)&&i.push(t[a]);return i}},e.find=function(t,e,n){if(t&&e)for(var i=0,a=t.length;i<a;i++)if(e.call(n,t[i],i,t))return t[i]},e.bind=y,e.curry=function(t){var e=l.call(arguments,1);return function(){return t.apply(this,e.concat(l.call(arguments)))}},e.isArray=x,e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===a.call(t)},e.isObject=_,e.isBuiltInObject=b,e.isTypedArray=function(t){return!!i[a.call(t)]},e.isDom=w,e.eqNaN=function(t){return t!=t},e.retrieve=function(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]},e.retrieve2=function(t,e){return null!=t?t:e},e.retrieve3=function(t,e,n){return null!=t?t:null!=e?e:n},e.slice=function(){return Function.call.apply(l,arguments)},e.normalizeCssArray=function(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},e.assert=function(t,e){if(!t)throw new Error(e)},e.trim=function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.setAsPrimitive=function(t){t[S]=!0},e.isPrimitive=M,e.createHashMap=function(t){return new I(t)},e.concatArray=function(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var a=t.length;for(i=0;i<e.length;i++)n[i+a]=e[i];return n},e.noop=function(){}},bZqE:function(t,e){e.eachAfter=function(t,e,n){for(var i,a=[t],r=[];i=a.pop();)if(r.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s<o.length;s++)a.push(o[s])}for(;i=r.pop();)e(i,n)},e.eachBefore=function(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var a=n.children;if(a.length)for(var r=a.length-1;r>=0;r--)i.push(a[r])}}},bne5:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("6blF"),a=n("isby"),r=n("2Bdj"),o=n("67Y/");function s(t,e,n,l){return Object(r.a)(n)&&(l=n,n=void 0),l?s(t,e,n).pipe(Object(o.a)(function(t){return Object(a.a)(t)?l.apply(void 0,t):l(t)})):new i.a(function(i){!function t(e,n,i,a,r){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,i,r),o=function(){return s.removeEventListener(n,i,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,i),o=function(){return l.off(n,i)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,i),o=function(){return u.removeListener(n,i)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c<h;c++)t(e[c],n,i,a,r)}a.add(o)}(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}},c2i1:function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("Yl7c").enableClassCheck;function r(t){return"_EC_"+t}var o=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={}},s=o.prototype;function l(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=null==e?-1:e}function u(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(t,e){var n=this._nodesMap;if(!n[r(t=t||""+e)]){var i=new l(t,e);return i.hostGraph=this,this.nodes.push(i),n[r(t)]=i,i}},s.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},s.getNodeById=function(t){return this._nodesMap[r(t)]},s.addEdge=function(t,e,n){var i=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),l.isInstance(t)||(t=i[r(t)]),l.isInstance(e)||(e=i[r(e)]),t&&e){var o=t.id+"-"+e.id;if(!a[o]){var s=new u(t,e,n);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),a[o]=s,s}}},s.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},s.getEdge=function(t,e){l.isInstance(t)&&(t=t.id),l.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},s.eachNode=function(t,e){for(var n=this.nodes,i=n.length,a=0;a<i;a++)n[a].dataIndex>=0&&t.call(e,n[a],a)},s.eachEdge=function(t,e){for(var n=this.edges,i=n.length,a=0;a<i;a++)n[a].dataIndex>=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&t.call(e,n[a],a)},s.breadthFirstTraverse=function(t,e,n,i){if(l.isInstance(e)||(e=this._nodesMap[r(e)]),e){for(var a="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var s=[e];s.length;){var u=s.shift(),c=u[a];for(o=0;o<c.length;o++){var h=c[o],d=h.node1===u?h.node2:h.node1;if(!d.__visited){if(t.call(i,d,u))return;s.push(d),d.__visited=!0}}}}},s.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,a=0,r=n.length;a<r;a++)n[a].dataIndex=-1;for(a=0,r=t.count();a<r;a++)n[t.getRawIndex(a)].dataIndex=a;for(e.filterSelf(function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}),a=0,r=i.length;a<r;a++)i[a].dataIndex=-1;for(a=0,r=e.count();a<r;a++)i[e.getRawIndex(a)].dataIndex=a},s.clone=function(){for(var t=new o(this._directed),e=this.nodes,n=this.edges,i=0;i<e.length;i++)t.addNode(e[i].id,e[i].dataIndex);for(i=0;i<n.length;i++){var a=n[i];t.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return t},l.prototype={constructor:l,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)}},u.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)};var c=function(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};i.mixin(l,c("hostGraph","data")),i.mixin(u,c("hostGraph","edgeData")),o.Node=l,o.Edge=u,a(l),a(u),t.exports=o},c8qY:function(t,e,n){var i=n("IwbS"),a=n("fls0");function r(t){this._ctor=t||a,this.group=new i.Group}var o=r.prototype;function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return!l(t[0])&&!l(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,n=e.group,i=e._lineData;e._lineData=t,i||n.removeAll();var a=s(t);t.diff(i).add(function(n){!function(t,e,n,i){if(u(e.getItemLayout(n))){var a=new t._ctor(e,n,i);e.setItemGraphicEl(n,a),t.group.add(a)}}(e,t,n,a)}).update(function(n,r){!function(t,e,n,i,a,r){var o=e.getItemGraphicEl(i);u(n.getItemLayout(a))?(o?o.updateData(n,a,r):o=new t._ctor(n,a,r),n.setItemGraphicEl(a,o),t.group.add(o)):t.group.remove(o)}(e,i,t,r,n,a)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},o.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i<t.end;i++)if(u(e.getItemLayout(i))){var a=new this._ctor(e,i,this._seriesScope);a.traverse(n),this.group.add(a),e.setItemGraphicEl(i,a)}},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=r},cCMj:function(t,e,n){var i=n("bYtY");t.exports={updateSelectedMap:function(t){this._targetList=i.isArray(t)?t.slice():[],this._selectTargetMap=i.reduce(t||[],function(t,e){return t.set(e.name,e),t},i.createHashMap())},select:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(t){t.selected=!1}),n&&(n.selected=!0)},unSelect:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);n&&(n.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return n&&n.selected}}},ca2m:function(t,e,n){var i=n("bYtY"),a={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=i.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),r.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5},a),r.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=i.defaults({scale:!0,logBase:10},r.valueAxis),t.exports=r},cbJ4:function(t,e,n){var i=n("bYtY").createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.getRawData(),a=t.get("color"),r=i();e.each(function(t){r.set(e.getRawIndex(t),t)}),n.each(function(i){var o=n.getName(i),s=a[(t.nameMap.get(o)-1)%a.length];n.setItemVisual(i,"color",s);var l=r.get(i);null!=l&&e.setItemVisual(l,"color",s)})})}},cpOr:function(t,e,n){n("Tghj");var i=n("T4UG"),a=n("YXkt"),r=n("bYtY"),o=r.concatArray,s=r.mergeAll,l=r.map,u=n("7aKB").encodeHTML,c=(n("IDmD"),"undefined"==typeof Uint32Array?Array:Uint32Array),h="undefined"==typeof Float64Array?Array:Float64Array;function d(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=l(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),s([e,t[0],t[1]])}))}var f=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],d(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),f.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],d(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}f.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=o(this._flatCoords,e.flatCoords),this._flatCoordsOffset=o(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],a=0;a<i;a++)e[a]=e[a]||[],e[a][0]=this._flatCoords[n+2*a],e[a][1]=this._flatCoords[n+2*a+1];return i}var r=this._getCoordsFromItemModel(t);for(a=0;a<r.length;a++)e[a]=e[a]||[],e[a][0]=r[a][0],e[a][1]=r[a][1];return r.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"==typeof t[0]){for(var n=t.length,i=new c(n),a=new h(n),r=0,o=0,s=0,l=0;l<n;){s++;var u=t[l++];i[o++]=r+e,i[o++]=u;for(var d=0;d<u;d++){var f=t[l++],p=t[l++];a[r++]=f,a[r++]=p}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,o),flatCoords:a,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},getInitialData:function(t,e){var n=new a(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],function(t,e,i,a){if(t instanceof Array)return NaN;n.hasItemOption=!0;var r=t.value;return null!=r?r instanceof Array?r[a]:r:void 0}),n},formatTooltip:function(t){var e=this.getData().getItemModel(t),n=e.get("name");if(n)return n;var i=e.get("fromName"),a=e.get("toName"),r=[];return null!=i&&r.push(i),null!=a&&r.push(a),u(r.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}});t.exports=f},crZl:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("IwbS"),o=n("7aKB"),s=n("+TT/"),l=n("XxSj"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e},render:function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=o.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new r.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=r.get("itemSymbol")),"color"===e){var s=r.get("contentColor");o.color=s}function u(t){return o[t]}function c(t,e){o[t]=e}var h=r.controllerVisuals[i||r.getValueState(t)],d=l.prepareVisualTypes(h);return a.each(d,function(i){var a=h[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(i,e)&&a&&a.applyVisual(t,u,c)}),o[e]},positionGroup:function(t){var e=this.api;s.positionElement(t,this.visualMapModel.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})},doRender:a.noop});t.exports=u},d4KN:function(t,e,n){var i=n("ProS"),a=n("bYtY");t.exports=function(t,e){a.each(e,function(e){e.update="updateView",i.registerAction(e,function(n,i){var a={};return i.eachComponent({mainType:"series",subType:t,query:n},function(t){t[e.method]&&t[e.method](n.name,n.dataIndex);var i=t.getData();i.each(function(e){var n=i.getName(e);a[n]=t.isSelected(n)||!1})}),{name:n.name,selected:a}})})}},dBmv:function(t,e,n){var i=n("ProS"),a=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),i.registerPreprocessor(a)},dMvE:function(t,e){var n={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;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.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-n.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*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}};t.exports=n},dmGj:function(t,e,n){var i=n("DEFe"),a=n("ProS").extendComponentView({type:"geo",init:function(t,e){var n=new i(e,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var a=this._mapDraw;t.get("show")?a.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=a},dnwI:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("YH21"),o=n("Kagy"),s=n("IUWy"),l=o.toolbox.dataView,u=new Array(60).join("-"),c="\t";function h(t){return a.map(t,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var t=arguments.length,a=e.getName(arguments[t-1]),r=0;r<t-1;r++)i[r]=arguments[r];n.push((a?a+c:"")+i.join(c))}),n.join("\n")}).join("\n\n"+u+"\n\n")}function d(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var f=new RegExp("["+c+"]+","g");function p(t){this._dom=null,this.model=t}function g(t,e){return a.map(t,function(t,n){var i=e&&e[n];return a.isObject(i)&&!a.isArray(i)?(a.isObject(t)&&!a.isArray(t)&&(t=t.value),a.defaults({value:t},i)):t})}p.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:a.clone(l.title),lang:a.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},p.prototype.onclick=function(t,e){var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=i.get("textColor");var p=document.createElement("div"),g=document.createElement("textarea");p.style.cssText="display:block;width:100%;overflow:auto;";var m=i.get("optionToContent"),v=i.get("contentToOption"),y=function(t){var e,n,i=function(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var a=t.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)n.push(t);else{var r=a.getBaseAxis();if("category"===r.type){var o=r.dim+"_"+r.index;e[o]||(e[o]={categoryAxis:r,valueAxis:a.getOtherAxis(r),series:[]},i.push({axisDim:r.dim,axisIndex:r.index})),e[o].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:a.filter([(e=i.seriesGroupByCategoryAxis,n=[],a.each(e,function(t,e){var i=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(a.map(t.series,function(t){return t.name})),s=[i.model.getCategories()];a.each(t.series,function(t){s.push(t.getRawData().mapArray(r,function(t){return t}))});for(var l=[o.join(c)],u=0;u<s[0].length;u++){for(var h=[],d=0;d<s.length;d++)h.push(s[d][u]);l.push(h.join(c))}n.push(l.join("\n"))}),n.join("\n\n"+u+"\n\n")),h(i.other)],function(t){return t.replace(/[\n\t\s]/g,"")}).join("\n\n"+u+"\n\n"),meta:i.meta}}(t);if("function"==typeof m){var x=m(e.getOption());"string"==typeof x?p.innerHTML=x:a.isDom(x)&&p.appendChild(x)}else p.appendChild(g),g.readOnly=i.get("readOnly"),g.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",g.style.color=i.get("textColor"),g.style.borderColor=i.get("textareaBorderColor"),g.style.backgroundColor=i.get("textareaColor"),g.value=y.value;var _=y.meta,b=document.createElement("div");b.style.cssText="position:absolute;bottom:0;left:0;right:0;";var w="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",S=document.createElement("div"),M=document.createElement("div");w+=";background-color:"+i.get("buttonColor"),w+=";color:"+i.get("buttonTextColor");var I=this;function T(){n.removeChild(o),I._dom=null}r.addEventListener(S,"click",T),r.addEventListener(M,"click",function(){var t;try{t="function"==typeof v?v(p,e.getOption()):function(t,e){var n=g.value.split(new RegExp("\n*"+u+"\n*","g")),i={series:[]};return a.each(n,function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(c)>=0)return!0}(t)){var r=function(e){for(var n=t.split(/\n+/g),i=d(n.shift()).split(f),r=[],o=a.map(i,function(t){return{name:t,data:[]}}),s=0;s<n.length;s++){var l=d(n[s]).split(f);r.push(l.shift());for(var u=0;u<l.length;u++)o[u]&&(o[u].data[s]=l[u])}return{series:o,categories:r}}(),o=e[n],s=o.axisDim+"Axis";o&&(i[s]=i[s]||[],i[s][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else r=function(e){for(var n=t.split(/\n+/g),i=d(n.shift()),a=[],r=0;r<n.length;r++){var o,s=d(n[r]).split(f),l="",u=!1;isNaN(s[0])?(u=!0,l=s[0],s=s.slice(1),a[r]={name:l,value:[]},o=a[r].value):o=a[r]=[];for(var c=0;c<s.length;c++)o.push(+s[c]);1===o.length&&(u?a[r].value=o[0]:a[r]=o[0])}return{name:i,data:a}}(),i.series.push(r)}),i}(0,_)}catch(n){throw T(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),T()}),S.innerHTML=l[1],M.innerHTML=l[2],M.style.cssText=w,S.style.cssText=w,!i.get("readOnly")&&b.appendChild(M),b.appendChild(S),r.addEventListener(g,"keydown",function(t){if(9===(t.keyCode||t.which)){var e=this.value,n=this.selectionStart,i=this.selectionEnd;this.value=e.substring(0,n)+c+e.substring(i),this.selectionStart=this.selectionEnd=n+1,r.stop(t)}}),o.appendChild(s),o.appendChild(p),o.appendChild(b),p.style.height=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},p.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},p.prototype.dispose=function(t,e){this.remove(t,e)},s.register("dataView",p),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];a.each(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:g(t.data,r)})}else n.push(a.extend({type:"scatter"},t))}),e.mergeOption(a.defaults({series:n},t.newOption))}),t.exports=p},dqUG:function(t,e,n){var i=n("Gev7"),a=n("bYtY"),r=n("6GrX"),o=n("pzxd"),s=function(t){i.call(this,t)};s.prototype={constructor:s,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&o.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),o.needDrawText(i,n)&&(this.setTransform(t),o.renderText(this,t,i,n,null,e),this.restoreTransform(t))},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var i=t.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},a.inherits(s,i),t.exports=s},eIcI:function(t,e,n){var i=n("bYtY"),a=n("hM6l");function r(t,e,n){a.call(this,t,e,n),this.type="value",this.angle=0,this.name=""}i.inherits(r,a),t.exports=r},eJH7:function(t,e,n){var i=n("bYtY");t.exports=function(t){var e=t.polar;if(e){i.isArray(e)||(e=[e]);var n=[];i.each(e,function(e,a){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],i.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)}),t.polar=n}i.each(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}},ePAk:function(t,e,n){var i=n("ProS");n("2fGM");var a=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=a},eRkO:function(t,e,n){var i=n("+TT/"),a=i.getLayoutRect,r=i.box,o=i.positionElement,s=n("7aKB"),l=n("IwbS");e.layout=function(t,e,n){var i=e.getBoxLayoutParams(),s=e.get("padding"),l={width:n.getWidth(),height:n.getHeight()},u=a(i,l,s);r(e.get("orient"),t,e.get("itemGap"),u.width,u.height),o(t,i,l,s)},e.makeBackground=function(t,e){var n=s.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),new l.Rect({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})}},eS4l:function(t,e,n){n("HM/N"),n("FNN5")},ewwo:function(t,e,n){var i=n("bMXI"),a=n("+TT/").getLayoutRect,r=n("4mN7");t.exports=function(t,e){var n=[];return t.eachSeriesByType("graph",function(t){var o=t.get("coordinateSystem");if(!o||"view"===o){var s=t.getData(),l=s.mapArray(function(t){var e=s.getItemModel(t);return[+e.get("x"),+e.get("y")]}),u=[],c=[];r.fromPoints(l,u,c),c[0]-u[0]==0&&(c[0]+=1,u[0]-=1),c[1]-u[1]==0&&(c[1]+=1,u[1]-=1);var h=(c[0]-u[0])/(c[1]-u[1]),d=function(t,e,n){var i=t.getBoxLayoutParams();return i.aspect=n,a(i,{width:e.getWidth(),height:e.getHeight()})}(t,e,h);isNaN(h)&&(u=[d.x,d.y],c=[d.x+d.width,d.y+d.height]);var f=c[0]-u[0],p=c[1]-u[1],g=d.width,m=d.height,v=t.coordinateSystem=new i;v.zoomLimit=t.get("scaleLimit"),v.setBoundingRect(u[0],u[1],f,p),v.setViewRect(d.x,d.y,g,m),v.setCenter(t.get("center")),v.setZoom(t.get("zoom")),n.push(v)}}),n}},f1nB:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("bYtY"),r=n("4NO4"),o=n("IwbS"),s=n("+TT/");i.registerPreprocessor(function(t){var e=t.graphic;a.isArray(e)?t.graphic=e[0]&&e[0].elements?[t.graphic[0]]:[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])});var l=i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,l.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var n=this.option,i=(e?n:t).elements,o=n.elements=e?[]:n.elements,l=[];this._flatten(i,l);var u=r.mappingToExists(o,l);r.makeIdAndName(u);var c=this._elOptionsToUpdate=[];a.each(u,function(t,e){var n=t.option;n&&(c.push(n),function(t,e){var n=t.exist;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=a.extend({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(a.merge(r,i,!0),s.mergeLayoutParam(r,i,{ignoreSize:!0}),s.copyLayoutParams(n,r)):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}(o,e,n),function(t,e){t&&(t.hv=e.hv=[h(e,["left","right"]),h(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}(o[e],n))},this);for(var d=o.length-1;d>=0;d--)null==o[d]?o.splice(d,1):delete o[d].$action},_flatten:function(t,e,n){a.each(t,function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;"group"===t.type&&i&&this._flatten(i,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function u(t,e,n,i){var a=n.type,r=new(0,o[a.charAt(0).toUpperCase()+a.slice(1)])(n);e.add(r),i.set(t,r),r.__ecGraphicId=t}function c(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse(function(t){c(t,e)}),e.removeKey(t.__ecGraphicId),n.remove(t))}function h(t,e){var n;return a.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}i.extendComponentView({type:"graphic",init:function(t,e){this._elMap=a.createHashMap()},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group;a.each(e,function(e){var r=e.$action,o=e.id,l=n.get(o),h=e.parentId,d=null!=h?n.get(h):i,f=e.style;"text"===e.type&&f&&(e.hv&&e.hv[1]&&(f.textVerticalAlign=f.textBaseline=null),!f.hasOwnProperty("textFill")&&f.fill&&(f.textFill=f.fill),!f.hasOwnProperty("textStroke")&&f.stroke&&(f.textStroke=f.stroke));var p=function(t){return t=a.extend({},t),a.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),function(e){delete t[e]}),t}(e);r&&"merge"!==r?"replace"===r?(c(l,n),u(o,d,p,n)):"remove"===r&&c(l,n):l?l.attr(p):u(o,d,p,n);var g=n.get(o);g&&(g.__ecGraphicWidth=e.width,g.__ecGraphicHeight=e.height,function(t,e,n){var i=t.eventData;t.silent||t.ignore||i||(i=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=t.info)}(g,t))})}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,a=this._elMap,r=n.length-1;r>=0;r--){var o=n[r],l=a.get(o.id);if(l){var u=l.parent,c=u===i?{width:e.getWidth(),height:e.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};s.positionElement(l,o,c,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){c(e,t)}),this._elMap=a.createHashMap()},dispose:function(){this._clear()}})},f5HG:function(t,e,n){var i=n("IwbS"),a=n("QBsz"),r=i.Line.prototype,o=i.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){(s(e)?r:o).buildPath(t,e)},pointAt:function(t){return s(this.shape)?r.pointAt.call(this,t):o.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:o.tangentAt.call(this,t);return a.normalize(n,n)}});t.exports=l},f5Yq:function(t,e){t.exports=function(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,i,a){var r=t.getData(),o=t.get("symbol")||e,s=t.get("symbolSize"),l=t.get("symbolKeepAspect");if(r.setVisual({legendSymbol:n||o,symbol:o,symbolSize:s,symbolKeepAspect:l}),!i.isSeriesFiltered(t))return{dataEach:r.hasItemOption||"function"==typeof s?function(e,n){if("function"==typeof s){var i=t.getRawValue(n),a=t.getDataParams(n);e.setItemVisual(n,"symbolSize",s(i,a))}if(e.hasItemOption){var r=e.getItemModel(n),o=r.getShallow("symbol",!0),l=r.getShallow("symbolSize",!0),u=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(n,"symbol",o),null!=l&&e.setItemVisual(n,"symbolSize",l),null!=u&&e.setItemVisual(n,"symbolKeepAspect",u)}}:null}}}}},fE02:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("/IIm"),o=n("vZ6x"),s=n("b9oc"),l=n("72pK"),u=n("Kagy"),c=n("IUWy");n("3TkU");var h=a.each,d="\0_ec_\0toolbox-dataZoom_";function f(t,e,n){(this._brushController=new r(n.getZr())).on("brush",a.bind(this._onBrush,this)).mount()}f.defaultOption={show:!0,icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:a.clone(u.toolbox.dataZoom.title)};var p=f.prototype;p.render=function(t,e,n,i){this.model=t,this.ecModel=e,this.api=n,function(t,e,n,i,a){var r=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(r="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(m(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}(t,e)},p.onclick=function(t,e,n){g[n].call(this)},p.remove=function(t,e){this._brushController.unmount()},p.dispose=function(t,e){this._brushController.dispose()};var g={zoom:function(){this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:!this._isZoomActive})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(t){var e={};return a.each(["xAxisIndex","yAxisIndex"],function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),(!1===e[n]||"none"===e[n])&&(e[n]=[])}),e}p._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new o(m(this.model.option),i,{include:["grid"]}).matchOutputRanges(t,i,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(a("x",n,e[0]),a("y",n,e[1])):a({lineX:"x",lineY:"y"}[i],n,e)}}),s.push(i,n),this._dispatchZoomAction(n)}function a(t,e,a){var r=e.getAxis(t),o=r.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)}),i}(t,o,i),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}},p._dispatchZoomAction=function(t){var e=[];h(t,function(t,n){e.push(a.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",f),i.registerPreprocessor(function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var n=t.toolbox;if(n&&(a.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;r("xAxis",i),r("yAxis",i)}}function r(n,i){if(i){var r=n+"Index",o=i[r];null==o||"all"===o||a.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a.isArray(s=t[n])||(s=s?[s]:[]),h(s,function(t,i){if(null==o||"all"===o||-1!==a.indexOf(o,i)){var s={type:"select",$fromToolbox:!0,id:d+n+i};s[r]=i,e.push(s)}})}var s}}),t.exports=f},fW2E:function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,i){return n.hasOwnProperty(e)?i*t.dpr:i}},"fc+c":function(t,e,n){var i=n("sS/r").extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.ecModel,e={};return this.dataZoomModel.eachTargetAxis(function(n,i){var a=t.getComponent(n.axis,i);if(a){var r=a.getCoordSysModel();r&&function(t,e,n,i){for(var a,r=0;r<n.length;r++)if(n[r].model===t){a=n[r];break}a||n.push(a={model:t,axisModels:[],coordIndex:i}),a.axisModels.push(e)}(r,a,e[r.mainType]||(e[r.mainType]=[]),r.componentIndex)}},this),e}});t.exports=i},fjKi:function(t,e,n){var i=n("ProS");n("Q7if"),n("jndi"),i.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},fls0:function(t,e,n){var i=n("bYtY"),a=n("QBsz"),r=n("oVpE"),o=n("f5HG"),s=n("IwbS"),l=n("OELB").round,u=["fromSymbol","toSymbol"];function c(t){return"_"+t+"Type"}function h(t,e,n){var a=e.getItemVisual(n,"color"),o=e.getItemVisual(n,t),s=e.getItemVisual(n,t+"Size");if(o&&"none"!==o){i.isArray(s)||(s=[s,s]);var l=r.createSymbol(o,-s[0]/2,-s[1]/2,s[0],s[1],a);return l.name=t,l}}function d(t,e){var n=e[0],i=e[1],a=e[2];t.x1=n[0],t.y1=n[1],t.x2=i[0],t.y2=i[1],t.percent=1,a?(t.cpx1=a[0],t.cpy1=a[1]):(t.cpx1=NaN,t.cpy1=NaN)}function f(t,e,n){s.Group.call(this),this._createLine(t,e,n)}var p=f.prototype;p.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.childOfName("label");if(t||e||!n.ignore){for(var i=1,r=this.parent;r;)r.scale&&(i/=r.scale[0]),r=r.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var s=o.shape.percent,l=o.pointAt(0),u=o.pointAt(s),c=a.sub([],u,l);if(a.normalize(c,c),t){t.attr("position",l);var h=o.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(h[1],h[0])),t.attr("scale",[i*s,i*s])}if(e&&(e.attr("position",u),h=o.tangentAt(1),e.attr("rotation",-Math.PI/2-Math.atan2(h[1],h[0])),e.attr("scale",[i*s,i*s])),!n.ignore){var d,f,p;n.attr("position",u);var g=5*i;if("end"===n.__position)d=[c[0]*g+u[0],c[1]*g+u[1]],f=c[0]>.8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var m=s/2,v=[(h=o.tangentAt(m))[1],-h[0]],y=o.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]),d=[y[0]+v[0]*g,y[1]+v[1]*g],f="center",p="bottom";var x=-Math.atan2(h[1],h[0]);u[0]<l[0]&&(x=Math.PI+x),n.attr("rotation",x)}else d=[-c[0]*g+l[0],-c[1]*g+l[1]],f=c[0]>.8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||f},position:d,scale:[i,i]})}}}},p._createLine=function(t,e,n){var a=t.hostModel,r=function(t){var e=new o({name:"line"});return d(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,s.initProps(r,{shape:{percent:1}},a,e),this.add(r);var l=new s.Text({name:"label"});this.add(l),i.each(u,function(n){var i=h(n,t,e);this.add(i),this[c(n)]=t.getItemVisual(e,n)},this),this._updateCommonStl(t,e,n)},p.updateData=function(t,e,n){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};d(l.shape,o),s.updateProps(r,l,a,e),i.each(u,function(n){var i=t.getItemVisual(e,n),a=c(n);if(this[a]!==i){this.remove(this.childOfName(n));var r=h(n,t,e);this.add(r)}this[a]=i},this),this._updateCommonStl(t,e,n)},p._updateCommonStl=function(t,e,n){var a=t.hostModel,r=this.childOfName("line"),o=n&&n.lineStyle,c=n&&n.hoverLineStyle,h=n&&n.labelModel,d=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var f=t.getItemModel(e);o=f.getModel("lineStyle").getLineStyle(),c=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=i.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),r.hoverStyle=c,i.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))},this);var m,v,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=p||"#000",null==(v=a.getFormattedLabel(e,"normal",t.dataType)))){var b=a.getRawValue(e);v=null==b?t.getName(e):isFinite(b)?l(b):b}var w=y?v:null,S=x?i.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),v):null,M=_.style;null==w&&null==S||(s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle"),_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},p.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},i.inherits(f,s.Group),t.exports=f},fmMI:function(t,e,n){n("Tghj");var i=n("bYtY"),a=i.each,r=i.filter,o=i.map,s=i.isArray,l=i.indexOf,u=i.isObject,c=i.isString,h=i.createHashMap,d=i.assert,f=i.clone,p=i.merge,g=i.extend,m=i.mixin,v=n("4NO4"),y=n("Qxkt"),x=n("bLfw"),_=n("iXHM"),b=n("5Hur"),w=n("D5nY").resetSourceDefaulter,S=y.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=i},setOption:function(t,e){d(!("\0_ec_inner"in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):(function(t){var e,n;t=t,this.option={},this.option["\0_ec_inner"]=1,this._componentsMap=h({series:[]}),n=(e=t).color&&!e.colorLayer,a(this._theme.option,function(t,i){"colorLayer"===i&&n||x.hasClass(i)||("object"==typeof t?e[i]=e[i]?p(e[i],t,!1):f(t):null==e[i]&&(e[i]=t))}),p(t,_,!1),this.mergeOption(t)}).call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o.length&&a(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];w(this),a(t,function(t,n){null!=t&&(x.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?f(t):p(e[n],t,!0))}),x.topologicalTravel(i,x.getAllClassMainTypes(),function(i,r){var o=v.normalizeToArray(t[i]),l=v.mappingToExists(n.get(i),o);v.makeIdAndName(l),a(l,function(t,e){var n=t.option;u(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=function(t,e,i){return n.type?n.type:i?i.subType:x.determineSubType(t,n)}(i,0,t.exist))});var c=function(t,e){s(e)||(e=e?[e]:[]);var n={};return a(e,function(e){n[e]=(t.get(e)||[]).slice()}),n}(n,r);e[i]=[],n.set(i,[]),a(l,function(t,a){var r=t.exist,o=t.option;if(d(u(o)||r,"Empty component definition"),o){var s=x.getClass(i,t.keyInfo.subType,!0);if(r&&r instanceof s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var l=g({dependentModels:c,componentIndex:a},t.keyInfo);r=new s(o,this,this,l),g(r,l),r.init(o,this,this,l),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);n.get(i)[a]=r,e[i][a]=r.option},this),"series"===i&&M(this,n.get("series"))},this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=f(this.option);return a(t,function(e,n){if(x.hasClass(n)){for(var i=(e=v.normalizeToArray(e)).length-1;i>=0;i--)v.isIdInner(e[i])&&e.splice(i,1);t[n]=e}}),delete t["\0_ec_inner"],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,a=t.id,u=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=i)s(i)||(i=[i]),n=r(o(i,function(t){return c[t]}),function(t){return!!t});else if(null!=a){var h=s(a);n=r(c,function(t){return h&&l(a,t.id)>=0||!h&&t.id===a})}else if(null!=u){var d=s(u);n=r(c,function(t){return d&&l(u,t.name)>=0||!d&&t.name===u})}else n=c.slice();return I(n,t)},findComponents:function(t){var e,n,i,a,o,s=t.mainType,l=(n=s+"Index",i=s+"Id",a=s+"Name",!(e=t.query)||null==e[n]&&null==e[i]&&null==e[a]?null:{mainType:s,index:e[n],id:e[i],name:e[a]});return o=I(l?this.queryComponents(l):this._componentsMap.get(s),t),t.filter?r(o,t.filter):o},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"==typeof t)n=e,e=t,i.each(function(t,i){a(t,function(t,a){e.call(n,i,t,a)})});else if(c(t))a(i.get(t),e,n);else if(u(t)){var r=this.findComponents(t);a(r,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return r(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return r(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){a(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},eachRawSeries:function(t,e){a(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){a(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];a.subType===t&&e.call(n,a,i)},this)},eachRawSeriesByType:function(t,e,n){return a(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){M(this,r(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;M(this,e.get("series"));var n=[];e.each(function(t,e){n.push(e)}),x.topologicalTravel(n,x.getAllClassMainTypes(),function(n,i){a(e.get(n),function(e){("series"!==n||!function(t,n){if(n){var i=n.seiresIndex,a=n.seriesId,r=n.seriesName;return null!=i&&e.componentIndex!==i||null!=a&&e.id!==a||null!=r&&e.name!==r}}(0,t))&&e.restoreData()})})}});function M(t,e){t._seriesIndicesMap=h(t._seriesIndices=o(e,function(t){return t.componentIndex})||[])}function I(t,e){return e.hasOwnProperty("subType")?r(t,function(t){return t.subType===e.subType}):t}m(S,b),t.exports=S},g0SD:function(t,e,n){var i=n("bYtY"),a=n("9wZj"),r=n("OELB"),o=n("YXkt"),s=n("kj2x");function l(t,e,n){var i=e.coordinateSystem;t.each(function(a){var o,s=t.getItemModel(a),l=r.parsePercent(s.get("x"),n.getWidth()),u=r.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(i){var c=t.get(i.dimensions[0],a),h=t.get(i.dimensions[1],a);o=i.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(a,o)})}var u=n("iPDy").extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries(function(t){var e=t.markPointModel;e&&(l(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,e,n,r){var u=t.coordinateSystem,c=t.id,h=t.getData(),d=this.markerGroupMap,f=d.get(c)||d.set(c,new a),p=function(t,e,n){var a;a=t?i.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)}):[{name:"value",type:"float"}];var r=new o(a,n),l=i.map(n.get("data"),i.curry(s.dataTransform,e));return t&&(l=i.filter(l,i.curry(s.dataFilter,t))),r.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),r}(u,t,e);e.setData(p),l(e.getData(),t,r),p.each(function(t){var n=p.getItemModel(t),i=n.getShallow("symbolSize");"function"==typeof i&&(i=i(e.getRawValue(t),e.getDataParams(t))),p.setItemVisual(t,{symbolSize:i,color:n.get("itemStyle.color")||h.getVisual("color"),symbol:n.getShallow("symbol")})}),f.updateData(p),this.group.add(f.group),p.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),f.__keep=!0,f.group.silent=e.get("silent")||t.get("silent")}});t.exports=u},g7p0:function(t,e,n){var i=n("bYtY"),a=n("bLfw"),r=n("+TT/"),o=r.getLayoutParams,s=r.sizeCalculable,l=r.mergeLayoutParam,u=a.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,i){var a=o(t);u.superApply(this,"init",arguments),c(t,a)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),c(this.option,t)}});function c(t,e){var n=t.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var a=i.map([0,1],function(t){return s(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});l(t,e,{type:"box",ignoreSize:a})}t.exports=u},gPAo:function(t,e){function n(t){return t}function i(t,e,i,a,r){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=a||n,this.context=r}function a(t,e,n,i,a){for(var r=0;r<t.length;r++){var o="_ec_"+a[i](t[r],r),s=e[o];null==s?(n.push(o),e[o]=r):(s.length||(e[o]=s=[s]),s.push(r))}}i.prototype={constructor:i,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,n={},i=[],r=[];for(a(t,{},i,"_oldKeyGetter",this),a(e,n,r,"_newKeyGetter",this),o=0;o<t.length;o++)null!=(l=n[s=i[o]])?((c=l.length)?(1===c&&(n[s]=null),l=l.unshift()):n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o);for(var o=0;o<r.length;o++){var s;if(n.hasOwnProperty(s=r[o])){var l;if(null==(l=n[s]))continue;if(l.length)for(var u=0,c=l.length;u<c;u++)this._add&&this._add(l[u]);else this._add&&this._add(l)}}}},t.exports=i},gawk:function(t,e,n){var i=n("+TT/"),a=n("YlN7"),r=n("bYtY");function o(t,e,n,i,a){r.each(t,function(t){var r,o,s,l=0,u=t.length;if("vertical"===a){var c;for(t.sort(function(t,e){return t.getLayout().x-e.getLayout().x}),s=0;s<u;s++)(o=l-(r=t[s]).getLayout().x)>0&&(c=r.getLayout().x+o,r.setLayout({x:c},!0)),l=r.getLayout().x+r.getLayout().dx+e;if((o=l-e-i)>0)for(c=r.getLayout().x-o,r.setLayout({x:c},!0),l=c,s=u-2;s>=0;--s)(o=(r=t[s]).getLayout().x+r.getLayout().dx+e-l)>0&&(c=r.getLayout().x-o,r.setLayout({x:c},!0)),l=r.getLayout().x}else{var h;for(t.sort(function(t,e){return t.getLayout().y-e.getLayout().y}),s=0;s<u;s++)(o=l-(r=t[s]).getLayout().y)>0&&(h=r.getLayout().y+o,r.setLayout({y:h},!0)),l=r.getLayout().y+r.getLayout().dy+e;if((o=l-e-n)>0)for(h=r.getLayout().y-o,r.setLayout({y:h},!0),l=h,s=u-2;s>=0;--s)(o=(r=t[s]).getLayout().y+r.getLayout().dy+e-l)>0&&(h=r.getLayout().y-o,r.setLayout({y:h},!0)),l=r.getLayout().y}})}function s(t,e,n){r.each(t.slice().reverse(),function(t){r.each(t,function(t){if(t.outEdges.length){var i=d(t.outEdges,l,n)/d(t.outEdges,h,n);if("vertical"===n){var a=t.getLayout().x+(i-c(t,n))*e;t.setLayout({x:a},!0)}else{var r=t.getLayout().y+(i-c(t,n))*e;t.setLayout({y:r},!0)}}})})}function l(t,e){return c(t.node2,e)*t.getValue()}function u(t,e){return c(t.node1,e)*t.getValue()}function c(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function h(t){return t.getValue()}function d(t,e,n){for(var i=0,a=t.length,r=-1;++r<a;){var o=+e.call(t,t[r],n);isNaN(o)||(i+=o)}return i}function f(t,e,n){r.each(t,function(t){r.each(t,function(t){if(t.inEdges.length){var i=d(t.inEdges,u,n)/d(t.inEdges,h,n);if("vertical"===n){var a=t.getLayout().x+(i-c(t,n))*e;t.setLayout({x:a},!0)}else{var r=t.getLayout().y+(i-c(t,n))*e;t.setLayout({y:r},!0)}}})})}n("Tghj"),t.exports=function(t,e,n){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),l=t.get("nodeGap"),u=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=u;var c=u.width,p=u.height,g=t.getGraph(),m=g.nodes,v=g.edges;!function(t){r.each(t,function(t){var e=d(t.outEdges,h),n=d(t.inEdges,h),i=Math.max(e,n);t.setLayout({value:i},!0)})}(m),function(t,e,n,i,l,u,c,h){(function(t,e,n,i,a,o){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);for(;u.length;){for(var f=0;f<u.length;f++){var p=u[f];"vertical"===o?(p.setLayout({y:h},!0),p.setLayout({dy:n},!0)):(p.setLayout({x:h},!0),p.setLayout({dx:n},!0));for(var g=0;g<p.outEdges.length;g++){var m=p.outEdges[g];s[e.indexOf(m)]=0;var v=m.node2;0==--l[t.indexOf(v)]&&c.push(v)}}++h,u=c,c=[]}for(d=0;d<s.length;d++);(function(t,e,n){r.each(t,function(t){t.outEdges.length||t.setLayout("vertical"===n?{y:e-1}:{x:e-1},!0)})})(t,h,o),function(t,e,n){r.each(t,function(t){if("vertical"===n){var i=t.getLayout().y*e;t.setLayout({y:i},!0)}else{var a=t.getLayout().x*e;t.setLayout({x:a},!0)}})}(t,"vertical"===o?(a-n)/(h-1):(i-n)/(h-1),o)})(t,e,n,l,u,h),function(t,e,n,i,l,u,c){var h=a().key(function(t){return"vertical"===t?function(t){return t.getLayout().y}:function(t){return t.getLayout().x}}(c)).sortKeys(function(t,e){return t-e}).entries(t).map(function(t){return t.values});(function(t,e,n,i,a,o,s){var l=[];r.each(e,function(t){var e=t.length,n=0;r.each(t,function(t){n+=t.getLayout().value}),l.push("vertical"===s?(a-(e-1)*o)/n:(i-(e-1)*o)/n)}),l.sort(function(t,e){return t-e});var u=l[0];r.each(e,function(t){r.each(t,function(t,e){var n=t.getLayout().value*u;"vertical"===s?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))})}),r.each(n,function(t){var e=+t.getValue()*u;t.setLayout({dy:e},!0)})})(0,h,e,n,i,l,c),o(h,l,n,i,c);for(var d=1;u>0;u--)s(h,d*=.99,c),o(h,l,n,i,c),f(h,d,c),o(h,l,n,i,c)}(t,e,u,l,i,c,h),function(t,e){r.each(t,function(t){"vertical"===e?(t.outEdges.sort(function(t,e){return t.node2.getLayout().x-e.node2.getLayout().x}),t.inEdges.sort(function(t,e){return t.node1.getLayout().x-e.node1.getLayout().x})):(t.outEdges.sort(function(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}),t.inEdges.sort(function(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}))}),r.each(t,function(t){var e=0,n=0;r.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),r.each(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t,h)}(m,v,n,l,c,p,0!==r.filter(m,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"))})}},gvm7:function(t,e,n){var i=n("bYtY"),a=n("dqUG");function r(t){this._zr=t.getZr(),this._show=!1}r.prototype={constructor:r,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);for(var i={},r=t,o=r.indexOf("{marker");o>=0;){var s=r.indexOf("|}"),l=r.substr(o+"{marker".length,s-o-"{marker".length);i["marker"+l]=l.indexOf("sub")>-1?{textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[l],textOffset:[3,0]}:{textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[l]},o=(r=r.substr(s+1)).indexOf("{marker")}this.el=new a({style:{rich:i,text:t,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var u=this;this.el.on("mouseover",function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0}),this.el.on("mouseout",function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){return this.getSize()}},t.exports=r},h54F:function(t,e,n){var i=n("ProS"),a=n("YXkt"),r=n("bYtY"),o=n("4NO4").defaultEmphasis,s=n("Qxkt"),l=n("7aKB").encodeHTML,u=n("I3/A"),c=i.extendSeriesModel({type:"series.graph",init:function(t){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){c.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){c.superApply(this,"mergeDefaultAndTheme",arguments),o(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],a=this;if(i&&n)return u(i,n,this,!0,function(t,n){t.wrapMethod("getItemModel",function(t){var e=a._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var i=a.getModel("edgeLabel"),r=new s({label:i.option},i.parentModel,e),o=a.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:o.option}},o.parentModel,e);function u(t){return(t=this.parsePath(t))&&"label"===t[0]?r:t&&"emphasis"===t[0]&&"label"===t[1]?l:this.parentModel}n.wrapMethod("getItemModel",function(t){return t.customizeGetParent(u),t})}).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getData(),a=this.getDataParams(t,n),r=i.graph.getEdgeByIndex(t),o=i.getName(r.node1.dataIndex),s=i.getName(r.node2.dataIndex),u=[];return null!=o&&u.push(o),null!=s&&u.push(s),u=l(u.join(" > ")),a.value&&(u+=" : "+l(a.value)),u}return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],function(t){return null!=t.value?t:r.extend({value:0},t)}),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}});t.exports=c},h7HQ:function(t,e,n){var i=n("y+Vt"),a=n("T6xi"),r=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=r},h8O9:function(t,e,n){var i=n("bYtY").map,a=n("zM3Q"),r=n("7hqr").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:a(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,a=t.pipelineContext.large;if(n){var o=i(n.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),s=o.length,l=e.getCalculationInfo("stackResultDimension");return r(e,o[0])&&(o[0]=l),r(e,o[1])&&(o[1]=l),s&&{progress:function(t,e){for(var i=a&&new Float32Array((t.end-t.start)*s),r=t.start,l=0,u=[],c=[];r<t.end;r++){var h;if(1===s){var d=e.get(o[0],r);h=!isNaN(d)&&n.dataToPoint(d,null,c)}else{d=u[0]=e.get(o[0],r);var f=u[1]=e.get(o[1],r);h=!isNaN(d)&&!isNaN(f)&&n.dataToPoint(u,null,c)}a?(i[l++]=h?h[0]:NaN,i[l++]=h?h[1]:NaN):e.setItemLayout(r,h&&h.slice()||[NaN,NaN])}a&&e.setLayout("symbolPoints",i)}}}}}}},hD7B:function(t,e,n){var i=n("bYtY"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];t.exports=function(t){i.each(a,function(e){this[e]=i.bind(t[e],t)},this)}},hFmY:function(t,e,n){var i=n("ProS");i.registerAction({type:"axisAreaSelect",event:"axisAreaSelected"},function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),i.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})},hJvP:function(t,e,n){var i=n("2dDv");n("IDmD").register("parallel",{create:function(t,e){var n=[];return t.eachComponent("parallel",function(a,r){var o=new i(a,t,e);o.name="parallel_"+r,o.resize(a,e),a.coordinateSystem=o,o.model=a,n.push(o)}),t.eachSeries(function(e){if("parallel"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=n.coordinateSystem}}),n}})},hM6l:function(t,e,n){var i=n("bYtY"),a=i.each,r=i.map,o=n("OELB"),s=o.linearMap,l=o.getPixelPrecision,u=n("4HMb"),c=u.createAxisTicks,h=u.createAxisLabels,d=u.calculateCategoryInterval,f=[0,1],p=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function g(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}p.prototype={constructor:p,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&g(n=n.slice(),i.count()),s(t,f,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&g(n=n.slice(),i.count());var a=s(t,n,f,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=c(this,e),i=r(n.ticks,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this);return function(t,e,n,i,r){var o=e.length;if(t.onBand&&!i&&o){var s,l=t.getExtent();if(1===o)e[0].coord=l[0],s=e[1]={coord:l[0]};else{var u=e[1].coord-e[0].coord;a(e,function(t){t.coord-=u/2;var e=e||0;e%2>0&&(t.coord-=u/(2*(e+1)))}),e.push(s={coord:e[o-1].coord+u})}var c=l[0]>l[1];h(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift()),r&&h(l[0],e[0].coord)&&e.unshift({coord:l[0]}),h(l[1],s.coord)&&(r?s.coord=l[1]:e.pop()),r&&h(s.coord,l[1])&&e.push({coord:l[1]})}function h(t,e){return c?t>e:t<e}}(this,i,0,e.get("alignWithLabel"),t.clamp),i},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}},t.exports=p},hNWo:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("Qxkt"),o=n("4NO4").isNameSpecified,s=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{}},mergeOption:function(t){s.superCall(this,"mergeOption",t)},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"))}},_updateData:function(t){var e=[],n=[];t.eachRawSeries(function(i){var a;if(n.push(i.name),i.legendDataProvider){var r=i.legendDataProvider(),s=r.mapArray(r.getName);t.isSeriesFiltered(i)||(n=n.concat(s)),s.length?e=e.concat(s):a=!0}else a=!0;a&&o(i)&&e.push(i.name)}),this._availableNames=n;var i=this.get("data")||e,s=a.map(i,function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new r(t,this,this.ecModel)},this);this._data=s},getData:function(){return this._data},select:function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&a.each(this._data,function(t){e[t.get("name")]=!1}),e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&a.indexOf(this._availableNames,t)>=0},defaultOption:{zlevel:0,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,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});t.exports=s},hX1E:function(t,e){var n=2*Math.PI;e.normalizeRadian=function(t){return(t%=n)<0&&(t+=n),t}},hi0g:function(t,e,n){var i=n("bYtY"),a=i.createHashMap,r=i.each,o=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n("4NO4").normalizeToArray,d=n("D5nY").guessOrdinal,f=n("7G+c"),p=n("L0Ub").OTHER_DIMENSIONS;function g(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}t.exports=function(t,e,n){f.isInstance(e)||(e=f.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),m=a(n.encodeDef),v=a(),y=a(),x=[],_=function(t,e,i,a){var o=Math.max(t.dimensionsDetectCount||1,e.length,i.length,n.dimCount||0);return r(e,function(t){var e=t.dimsDef;e&&(o=Math.max(o,e.length))}),o}(e,t,i),b=0;b<_;b++){var w=i[b]=l({},u(i[b])?i[b]:{name:i[b]}),S=w.name,M=x[b]={otherDims:{}};null!=S&&null==v.get(S)&&(M.name=M.displayName=S,v.set(S,b)),null!=w.type&&(M.type=w.type),null!=w.displayName&&(M.displayName=w.displayName)}m.each(function(t,e){if(1===(t=h(t).slice()).length&&t[0]<0)m.set(e,!1);else{var n=m.set(e,[]);r(t,function(t,i){o(t)&&(t=v.get(t)),null!=t&&t<_&&(n[i]=t,T(x[t],e,i))})}});var I=0;function T(t,e,n){null!=p.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,y.set(e,!0))}r(t,function(t,e){var n,i,a;if(o(t))n=t,t={};else{n=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,(t=c(t)).ordinalMeta=l,i=t.dimsDef,a=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}if(!1!==(d=m.get(n))){var d;if(!(d=h(d)).length)for(var f=0;f<(i&&i.length||1);f++){for(;I<x.length&&null!=x[I].coordDim;)I++;I<x.length&&d.push(I++)}r(d,function(e,r){var o=x[e];if(T(s(o,t),n,r),null==o.name&&i){var l=i[r];!u(l)&&(l={name:l}),o.name=o.displayName=l.name,o.defaultTooltip=l.defaultTooltip}a&&s(o.otherDims,a)})}});var A=n.generateCoord,D=n.generateCoordCount,C=null!=D;D=A?D||1:0;for(var L=A||"value",P=0;P<_;P++)null==(M=x[P]=x[P]||{}).coordDim&&(M.coordDim=g(L,y,C),M.coordDimIndex=0,(!A||D<=0)&&(M.isExtraCoord=!0),D--),null==M.name&&(M.name=g(M.coordDim,v)),null==M.type&&d(e,P,M.name)&&(M.type="ordinal");return x}},hw6D:function(t,e){t.exports=function(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){for(var a=i.getIndicatorAxes(),r=0;r<a.length;r++)e.each(e.mapDimension(a[r].dim),o);e.each(function(t){n[t][0]&&n[t].push(n[t][0].slice()),e.setItemLayout(t,n[t])})}function o(t,e){n[e]=n[e]||[],n[e][r]=i.dataToPoint(t,r)}})}},hydK:function(t,e){e.createElement=function(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}},hyiK:function(t,e){t.exports=function(t,e,n,i,a,r){if(r>e&&r>i||r<e&&r<i)return 0;if(i===e)return 0;var o=i<e?1:-1,s=(r-e)/(i-e);1!==s&&0!==s||(o=i<e?.5:-.5);var l=s*(n-t)+t;return l===a?1/0:l>a?o:0}},i38C:function(t,e,n){n("Tghj");var i=n("bYtY"),a=i.createHashMap,r=i.each,o={cartesian2d:function(t,e,n,i){var a=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",a),n.set("y",r),s(a)&&(i.set("x",a),e.firstCategoryDimIndex=0),s(r)&&(i.set("y",r),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",a),s(a)&&(i.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var a=t.getReferringComponents("polar")[0],r=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",r),n.set("angle",o),s(r)&&(i.set("radius",r),e.firstCategoryDimIndex=0),s(o)&&(i.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var a=t.ecModel,o=a.getComponent("parallel",t.get("parallelIndex")),l=e.coordSysDims=o.dimensions.slice();r(o.parallelAxisIndex,function(t,r){var o=a.getComponent("parallelAxis",t),u=l[r];n.set(u,o),s(o)&&null==e.firstCategoryDimIndex&&(i.set(u,o),e.firstCategoryDimIndex=r)})}};function s(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=function(t){var e=t.get("coordinateSystem"),n={coordSysName:e,coordSysDims:[],axisMap:a(),categoryAxisMap:a()},i=o[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}},iLNv:function(t,e){var n="\0__throttleOriginMethod",i="\0__throttleRate";function a(t,e,n){var i,a,r,o,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(r,o||[])}e=e||0;var d=function(){i=(new Date).getTime(),r=this,o=arguments;var t=s||e,d=s||n;s=null,a=i-(d?l:u)-t,clearTimeout(c),d?c=setTimeout(h,t):a>=0?h():c=setTimeout(h,-a),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=a,e.createOrUpdate=function(t,e,r,o){var s=t[e];if(s){var l=s[n]||s;if(s[i]!==r||s["\0__throttleType"]!==o){if(null==r||!o)return t[e]=l;(s=t[e]=a(l,r,"debounce"===o))[n]=l,s["\0__throttleType"]=o,s[i]=r}return s}},e.clear=function(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}},iPDy:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=i.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,e,n){var i=this.markerGroupMap;i.each(function(t){t.__keep=!1});var a=this.type+"Model";e.eachSeries(function(t){var i=t[a];i&&this.renderSeries(t,i,e,n)},this),i.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=r},iRjW:function(t,e,n){var i=n("bYtY"),a=n("Yl7c").parseClassType,r=0;e.getUID=function(t){return[t||"",r++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=a(t),e[t.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=a(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r},t},e.enableTopologicalTravel=function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,a,r,o){if(t.length){var s=function(t){var a={},r=[];return i.each(t,function(o){var s=n(a,o),l=function(t,e){var n=[];return i.each(t,function(t){i.indexOf(e,t)>=0&&n.push(t)}),n}(s.originalDeps=e(o),t);s.entryCount=l.length,0===s.entryCount&&r.push(o),i.each(l,function(t){i.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(a,t);i.indexOf(e.successor,t)<0&&e.successor.push(o)})}),{graph:a,noEntryList:r}}(a),l=s.graph,u=s.noEntryList,c={};for(i.each(t,function(t){c[t]=!0});u.length;){var h=u.pop(),d=l[h],f=!!c[h];f&&(r.call(o,h,d.originalDeps.slice()),delete c[h]),i.each(d.successor,f?g:p)}i.each(c,function(){throw new Error("Circle dependency may exists")})}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){c[t]=!0,p(t)}}}},iXHM:function(t,e){var n="";"undefined"!=typeof navigator&&(n=navigator.platform||"");var i={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=i},iXp4:function(t,e,n){var i=n("ItGF"),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(t){return i.browser.ie&&i.browser.version>=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var r=0;r<n.length;r++){var o=n[r],s=o&&o.shape,l=o&&o.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<a.length;u++)a[u][2]=i[a[u][0]],i[a[u][0]]=a[u][1];e=!0;break}}if(t.apply(this,arguments),e)for(u=0;u<a.length;u++)i[a[u][0]]=a[u][2]}:t}},ieMj:function(t,e,n){var i=n("OELB"),a=n("7aKB"),r=n("4NgU"),o=n("lE7J"),s=i.round,l=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=i.getPrecisionSafe(t)||0:"auto"===n&&(n=this._intervalPrecision),t=s(t,n,!0),a.addCommas(t)},niceTicks:function(t,e,n){t=t||5;var i=this._extent,a=i[1]-i[0];if(isFinite(a)){a<0&&(a=-a,i.reverse());var r=o.intervalScaleNiceTicks(i,t,e,n);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax?e[0]-=n/2:(e[1]+=n/2,e[0]-=n/2)}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=s(Math.ceil(e[1]/i)*i))}});l.create=function(){return new l},t.exports=l},jCoz:function(t,e,n){var i=n("bYtY"),a=n("4NgU"),r=n("OELB"),o=n("ieMj"),s=a.prototype,l=o.prototype,u=r.getPrecisionSafe,c=r.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=a.extend({type:"log",base:10,$constructor:function(){a.apply(this,arguments),this._originalScale=new o},getTicks:function(){var t=this._originalScale,e=this._extent,n=t.getExtent();return i.map(l.getTicks.call(this),function(i){var a=r.round(f(this.base,i));return a=i===e[0]&&t.__fixMin?m(a,n[0]):a,i===e[1]&&t.__fixMax?m(a,n[1]):a},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var n=this.base;t=p(t)/p(n),e=p(e)/p(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=m(e[0],i[0])),n.__fixMax&&(e[1]=m(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=r.quantity(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var a=[r.round(d(e[0]/i)*i),r.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}i.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}}),g.create=function(){return new g},t.exports=g},jTL6:function(t,e,n){var i=n("y+Vt").extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,i=e.cy,a=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(r),u=Math.sin(r);t.moveTo(l*a+n,u*a+i),t.arc(n,i,a,r,o,!s)}});t.exports=i},jett:function(t,e,n){var i=n("ProS");n("VSLf"),n("oBaM"),n("FGaS");var a=n("mOdp"),r=n("f5Yq"),o=n("hw6D"),s=n("0/Rx"),l=n("eJH7");i.registerVisual(a("radar")),i.registerVisual(r("radar","circle")),i.registerLayout(o),i.registerProcessor(s("radar")),i.registerPreprocessor(l)},jkPA:function(t,e,n){var i=n("bYtY"),a=i.createHashMap,r=i.isObject,o=i.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication}s.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&o(n,c);return new s({categories:i,needCollect:!i,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=a(t.categories))}function c(t){return r(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return this.categories[e=this.categories.length]=t,e;var i=u(this);return null==(e=i.get(t))&&(n?(this.categories[e=this.categories.length]=t,i.set(t,e)):e=NaN),e},t.exports=s},jndi:function(t,e,n){var i=n("bYtY"),a=n("Qe9p"),r=n("YXkt"),o=n("OELB"),s=n("IwbS"),l=n("kj2x"),u=n("iPDy"),c=function(t,e,n,a){var r=l.dataTransform(t,a[0]),o=l.dataTransform(t,a[1]),s=i.retrieve,u=r.coord,c=o.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=i.mergeAll([{},r,o]);return h.coord=[r.coord,o.coord],h.x0=r.x,h.y0=r.y,h.x1=o.x,h.y1=o.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,i){var a=1-t;return h(e[a])&&h(n[a])}function f(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!d(1,n,i)&&!d(0,n,i))||l.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:i,x:e.x1,y:e.y1})}function p(t,e,n,i,a){var r,s=i.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get(n[0]),a.getWidth()),c=o.parsePercent(l.get(n[1]),a.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)r=i.getMarkerPosition(t.getValues(n,e));else{var d=[g=t.get(n[0],e),m=t.get(n[1],e)];s.clampData&&s.clampData(d,d),r=s.dataToPoint(d,!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),p=s.getAxis("y"),g=t.get(n[0],e),m=t.get(n[1],e);h(g)?r[0]=f.toGlobalCoord(f.getExtent()["x0"===n[0]?0:1]):h(m)&&(r[1]=p.toGlobalCoord(p.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];return r}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];u.extend({type:"markArea",updateTransform:function(t,e,n){e.eachSeries(function(t){var e=t.markAreaModel;if(e){var a=e.getData();a.each(function(e){var r=i.map(g,function(i){return p(a,e,i,t,n)});a.setItemLayout(e,r),a.getItemGraphicEl(e).setShape("points",r)})}},this)},renderSeries:function(t,e,n,o){var l=t.coordinateSystem,u=t.id,h=t.getData(),d=this.markerGroupMap,m=d.get(u)||d.set(u,{group:new s.Group});this.group.add(m.group),m.__keep=!0;var v=function(t,e,n){var a,o;t?(a=i.map(t&&t.dimensions,function(t){var n=e.getData(),a=n.getDimensionInfo(n.mapDimension(t))||{};return i.defaults({name:t},a)}),o=new r(i.map(["x0","y0","x1","y1"],function(t,e){return{name:t,type:a[e%2].type}}),n)):o=new r(a=[{name:"value",type:"float"}],n);var s=i.map(n.get("data"),i.curry(c,e,t,n));return t&&(s=i.filter(s,i.curry(f,t))),o.initData(s,null,t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value}),o.hasItemOption=!0,o}(l,t,e);e.setData(v),v.each(function(e){v.setItemLayout(e,i.map(g,function(n){return p(v,e,n,t,o)})),v.setItemVisual(e,{color:h.getVisual("color")})}),v.diff(m.__data).add(function(t){var e=new s.Polygon({shape:{points:v.getItemLayout(t)}});v.setItemGraphicEl(t,e),m.group.add(e)}).update(function(t,n){var i=m.__data.getItemGraphicEl(n);s.updateProps(i,{shape:{points:v.getItemLayout(t)}},e,t),m.group.add(i),v.setItemGraphicEl(t,i)}).remove(function(t){var e=m.__data.getItemGraphicEl(t);m.group.remove(e)}).execute(),v.eachItemGraphicEl(function(t,n){var r=v.getItemModel(n),o=r.getModel("label"),l=r.getModel("emphasis.label"),u=v.getItemVisual(n,"color");t.useStyle(i.defaults(r.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,o,l,{labelFetcher:e,labelDataIndex:n,defaultText:v.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(t,{}),t.dataModel=e}),m.__data=v,m.group.silent=e.get("silent")||t.get("silent")}})},"jsU+":function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("IUWy"),o=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,function(t,e){var n=r.get(e);n&&a.merge(t,n.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}}}});t.exports=o},jtI2:function(t,e,n){n("SMc4");var i=n("bLfw").extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=i},juDX:function(t,e,n){n("P47w"),(0,n("aX58").registerPainter)("svg",n("3CBa"))},k5C7:function(t,e,n){n("0JAE"),n("g7p0"),n("7mYs")},k9D9:function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},kDyi:function(t,e){t.exports=function(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})}},kMLO:function(t,e,n){var i=n("XxSj"),a=n("Qe9p"),r=n("bYtY"),o=r.isArray;function s(t){var e=l(t,"color");if(e){var n=l(t,"colorAlpha"),i=l(t,"colorSaturation");return i&&(e=a.modifyHSL(e,null,null,i)),n&&(e=a.modifyAlpha(e,n)),e}}function l(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function u(t,e){var n=t.get(e);return o(n)&&n.length?{name:e,range:n}:null}t.exports={seriesType:"treemap",reset:function(t,e,n,o){var l=t.getData().tree,c=l.root,h=t.getModel("itemStyle");c.isRemoved()||function t(e,n,o,l,c,h){var d=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var p,g=e.getModel("itemStyle"),m=function(t,e,n,i){var a=r.extend({},e);return r.each(["color","colorAlpha","colorSaturation"],function(r){var o=t.get(r,!0);null==o&&n&&(o=n[r]),null==o&&(o=e[r]),null==o&&(o=i.get(r)),null!=o&&(a[r]=o)}),a}(g,n,o[e.depth],l),v=g.get("borderColor"),y=g.get("borderColorSaturation");null!=y&&(v=function(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}(y,p=s(m))),e.setVisual("borderColor",v);var x=e.viewChildren;if(x&&x.length){var _=function(t,e,n,a,r,o){if(o&&o.length){var s=u(e,"color")||null!=r.color&&"none"!==r.color&&(u(e,"colorAlpha")||u(e,"colorSaturation"));if(s){var l=e.get("visualMin"),c=e.get("visualMax"),h=n.dataExtent.slice();null!=l&&l<h[0]&&(h[0]=l),null!=c&&c>h[1]&&(h[1]=c);var d=e.get("colorMappingBy"),f={type:s.name,dataExtent:h,visual:s.range};"color"!==f.type||"index"!==d&&"id"!==d?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var p=new i(f);return p.__drColorMappingBy=d,p}}}(0,d,f,0,m,x);r.each(x,function(e,n){if(e.depth>=c.length||e===c[e.depth]){var i=function(t,e,n,i,a,o){var s=r.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,c="index"===u?i:"id"===u?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}(d,m,e,n,_,h);t(e,i,o,l,c,h)}})}else p=s(m),e.setVisual("color",p)}}(c,{},r.map(l.levelModels,function(t){return t?t.get("itemStyle"):null}),h,t.getViewRoot().getAncestors(),t)}}},kj2x:function(t,e,n){var i=n("bYtY"),a=n("OELB"),r=n("7hqr").isDimensionStacked,o=i.indexOf;function s(t,e,n,i,o,s){var l=[],u=r(e,i)?e.getCalculationInfo("stackResultDimension"):i,c=h(e,u,t),d=e.indicesOfNearest(u,c)[0];l[o]=e.get(n,d),l[s]=e.get(i,d);var f=a.getPrecision(e.get(i,d));return(f=Math.min(f,20))>=0&&(l[s]=+l[s].toFixed(f)),l}var l=i.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function c(t,e,n,i){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var a=0;a<i.length;a++){var r=n.getDimensionInfo(i[a]);if(r.name===e)return r.coordDim}}(i,a.valueDataDim)),a.baseAxis=n.getOtherAxis(a.valueAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim)):(a.baseAxis=i.getBaseAxis(),a.valueAxis=n.getOtherAxis(a.baseAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim),a.valueDataDim=e.mapDimension(a.valueAxis.dim)),a}function h(t,e,n){if("average"===n){var i=0,a=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,a++)}),i/a}return"median"===n?t.getMedian(e):t.getDataExtent(e,!0)["max"===n?1:0]}e.dataTransform=function(t,e){var n=t.getData(),a=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!i.isArray(e.coord)&&a){var r=a.dimensions,s=c(e,n,a,t);if((e=i.clone(e)).type&&u[e.type]&&s.baseAxis&&s.valueAxis){var l=o(r,s.baseAxis.dim),d=o(r,s.valueAxis.dim);e.coord=u[e.type](n,s.baseDataDim,s.valueDataDim,l,d),e.value=e.coord[d]}else{for(var f=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],p=0;p<2;p++)u[f[p]]&&(f[p]=h(n,n.mapDimension(r[p]),f[p]));e.coord=f}}return e},e.getAxisInfo=c,e.dataFilter=function(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)},e.dimValueGetter=function(t,e,n,i){return i<2?t.coord&&t.coord[i]:t.value},e.numCalculate=h},knOB:function(t,e,n){var i=n("bYtY"),a=n("hM6l");function r(t,e){a.call(this,"radius",t,e),this.type="category"}r.prototype={constructor:r,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:a.prototype.dataToCoord,radiusToData:a.prototype.coordToData},i.inherits(r,a),t.exports=r},ko1b:function(t,e,n){var i=n("bYtY"),a=n("T4UG"),r=n("Bsck"),o=n("Qxkt"),s=n("7aKB"),l=s.encodeHTML,u=s.addCommas,c=n("VaxA").wrapTreePathInfo,h=a.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;i.each(e.children,function(e){t(e);var a=e.value;i.isArray(a)&&(a=a[0]),n+=a});var a=e.value;i.isArray(a)&&(a=a[0]),(null==a||isNaN(a))&&(a=n),a<0&&(a=0),i.isArray(e.value)?e.value[0]=a:e.value=a}(n);var a=t.levels||[];a=t.levels=function(t,e){var n,a=e.get("color");if(a)return i.each(t=t||[],function(t){var e=new o(t),i=e.get("color");(e.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)}),n||((t[0]||(t[0]={})).color=a.slice()),t}(a,e);var s={};return s.levels=a,r.createTree(n,this,s).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),a=i.isArray(n)?u(n[0]):u(n),r=e.getName(t);return l(r+": "+a)},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=c(n,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=h},kzvK:function(t,e,n){var i=n("sS/r").extend({type:"timeline"});t.exports=i},lE7J:function(t,e,n){var i=n("OELB"),a=i.round;function r(t){return i.getPrecisionSafe(t)+2}function o(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function s(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),o(t,0,e),o(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,o){var l={},u=l.interval=i.nice((t[1]-t[0])/e,!0);null!=n&&u<n&&(u=l.interval=n),null!=o&&u>o&&(u=l.interval=o);var c=l.intervalPrecision=r(u);return s(l.niceTickExtent=[a(Math.ceil(t[0]/u)*u,c),a(Math.floor(t[1]/u)*u,c)],t),l},e.getIntervalPrecision=r,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,n,i){var r=[];if(!t)return r;e[0]<n[0]&&r.push(e[0]);for(var o=n[0];o<=n[1]&&(r.push(o),(o=a(o+t,i))!==r[r.length-1]);)if(r.length>1e4)return[];return e[1]>(r.length?r[r.length-1]:n[1])&&r.push(e[1]),r}},lELe:function(t,e,n){var i=n("bYtY");t.exports=function(t){var e=[];i.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,i.defaults(t,t.mapLocation))})}},lLGD:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("nVfU"),o=r.layout,s=r.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),i.registerLayout(a.curry(o,"bar")),i.registerLayout(s),i.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(t,e,n){var i=n("QBsz");e.circularLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=e.getBoundingRect(),a=t.getData(),r=a.graph,o=0,s=a.getSum("value"),l=2*Math.PI/(s||a.count()),u=n.width/2+n.x,c=n.height/2+n.y,h=Math.min(n.width,n.height)/2;r.eachNode(function(t){var e=t.getValue("value");o+=l*(s?e:1)/2,t.setLayout([h*Math.cos(o)+u,h*Math.sin(o)+c]),o+=l*(s?e:1)/2}),a.setLayout({cx:u,cy:c}),r.eachEdge(function(t){var e,n=t.getModel().get("lineStyle.curveness")||0,a=i.clone(t.node1.getLayout()),r=i.clone(t.node2.getLayout());+n&&(e=[u*(n*=3)+(a[0]+r[0])/2*(1-n),c*n+(a[1]+r[1])/2*(1-n)]),t.setLayout([a,r,e])})}}},laiN:function(t,e,n){var i=n("ProS");n("GVMX"),n("MH26"),i.registerPreprocessor(function(t){t.markLine=t.markLine||{}})},loD1:function(t,e){e.containStroke=function(t,e,n,i,a,r,o){if(0===a)return!1;var s,l=a;if(o>e+l&&o>i+l||o<e-l&&o<i-l||r>t+l&&r>n+l||r<t-l&&r<n-l)return!1;if(t===n)return Math.abs(r-t)<=l/2;var u=(s=(e-i)/(t-n))*r-o+(t*i-n*e)/(t-n);return u*u/(s*s+1)<=l/2*l/2}},lwQL:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("9wZj"),o=n("c8qY"),s=n("SgGq"),l=n("Ae+d"),u=n("xSat").onIrrelevantElement,c=n("IwbS"),h=n("SA8n"),d=["itemStyle","opacity"],f=["lineStyle","opacity"];function p(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function g(t,e,n){var i=t.getGraphicEl(),a=p(t,e);null!=n&&(null==a&&(a=1),a*=n),i.downplay&&i.downplay(),i.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",a)})}function m(t,e){var n=p(t,e),i=t.getGraphicEl();i.highlight&&i.highlight(),i.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",n)})}var v=i.extendChartView({type:"graph",init:function(t,e){var n=new r,i=new o,a=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:a},a.add(n.group),a.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(t,e,n){var i=t.coordinateSystem;this._model=t,this._nodeScaleRatio=t.get("nodeScaleRatio");var a=this._symbolDraw,r=this._lineDraw,o=this.group;if("view"===i.type){var s={position:i.position,scale:i.scale};this._firstRender?o.attr(s):c.updateProps(o,s,t)}h(t.getGraph(),this._getNodeGlobalScale(t));var l=t.getData();a.updateData(l);var u=t.getEdgeData();r.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var d=t.forceLayout,f=t.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,f),l.eachItemGraphicEl(function(e,i){var a=l.getItemModel(i);e.off("drag").off("dragend");var r=a.get("draggable");r&&e.on("drag",function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,f),d.setFixed(i),l.setItemLayout(i,e.position))},this).on("dragend",function(){d&&d.setUnfixed(i)},this),e.setDraggable(r&&d),e.off("mouseover",e.__focusNodeAdjacency),e.off("mouseout",e.__unfocusNodeAdjacency),a.get("focusNodeAdjacency")&&(e.on("mouseover",e.__focusNodeAdjacency=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e.__unfocusNodeAdjacency=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))},this),l.graph.eachEdge(function(e){var i=e.getGraphicEl();i.off("mouseover",i.__focusNodeAdjacency),i.off("mouseout",i.__unfocusNodeAdjacency),e.getModel().get("focusNodeAdjacency")&&(i.on("mouseover",i.__focusNodeAdjacency=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),i.on("mouseout",i.__unfocusNodeAdjacency=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))});var p="circular"===t.get("layout")&&t.get("circular.rotateLabel"),g=l.getLayout("cx"),m=l.getLayout("cy");l.eachItemGraphicEl(function(t,e){var n=t.getSymbolPath();if(p){var i=l.getItemLayout(e),a=Math.atan2(i[1]-m,i[0]-g);a<0&&(a=2*Math.PI+a);var r=i[0]<g;r&&(a-=Math.PI);var o=r?"left":"right";n.setStyle({textRotation:-a,textPosition:o,textOrigin:"center"}),n.hoverStyle&&(n.hoverStyle.textPosition=o)}else n.setStyle({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(t,e,n,i){var r=this._model.getData().graph,o=i.edgeDataIndex,s=r.getNodeByIndex(i.dataIndex),l=r.getEdgeByIndex(o);(s||l)&&(r.eachNode(function(t){g(t,d,.1)}),r.eachEdge(function(t){g(t,f,.1)}),s&&(m(s,d),a.each(s.edges,function(t){t.dataIndex<0||(m(t,f),m(t.node1,d),m(t.node2,d))})),l&&(m(l,f),m(l.node1,d),m(l.node2,d)))},unfocusNodeAdjacency:function(t,e,n,i){var a=this._model.getData().graph;a.eachNode(function(t){g(t,d)}),a.eachEdge(function(t){g(t,f)})},_startForceLayoutIteration:function(t,e){var n=this;!function i(){t.step(function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())})}()},_updateController:function(t,e,n){var i=this._controller,a=this._controllerHost,r=this.group;i.setPointerChecker(function(e,i,a){var o=r.getBoundingRect();return o.applyTransform(r.transform),o.contain(i,a)&&!u(e,n,t)}),"view"===t.coordinateSystem.type?(i.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",function(e){l.updateViewOnPan(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){l.updateViewOnZoom(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(),h(t.getGraph(),this._getNodeGlobalScale(t)),this._lineDraw.updateLayout()},this)):i.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),n=this._getNodeGlobalScale(t),i=[n,n];e.eachItemGraphicEl(function(t,e){t.attr("scale",i)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scale,a=i&&i[0]||1;return((e.getZoom()-1)*n+1)/a},updateLayout:function(t){h(t.getGraph(),this._getNodeGlobalScale(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});t.exports=v},m9t5:function(t,e,n){var i=n("KCsZ")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]);t.exports={getAreaStyle:function(t,e){return i(this,t,e)}}},mFDi:function(t,e,n){var i,a,r,o,s=n("QBsz"),l=n("Fofx"),u=s.applyTransform,c=Math.min,h=Math.max;function d(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}d.prototype={constructor:d,union:function(t){var e=c(t.x,this.x),n=c(t.y,this.y);this.width=h(t.x+t.width,this.x+this.width)-e,this.height=h(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:(i=[],a=[],r=[],o=[],function(t){if(t){i[0]=r[0]=this.x,i[1]=o[1]=this.y,a[0]=o[0]=this.x+this.width,a[1]=r[1]=this.y+this.height,u(i,i,t),u(a,a,t),u(r,r,t),u(o,o,t),this.x=c(i[0],a[0],r[0],o[0]),this.y=c(i[1],a[1],r[1],o[1]);var e=h(i[0],a[0],r[0],o[0]),n=h(i[1],a[1],r[1],o[1]);this.width=e-this.x,this.height=n-this.y}}),calculateTransform:function(t){var e=this,n=t.width/e.width,i=t.height/e.height,a=l.create();return l.translate(a,a,[-e.x,-e.y]),l.scale(a,a,[n,i]),l.translate(a,a,[t.x,t.y]),a},intersect:function(t){if(!t)return!1;t instanceof d||(t=d.create(t));var e=this;return!(e.x+e.width<t.x||t.x+t.width<e.x||e.y+e.height<t.y||t.y+t.height<e.y)},contain:function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)},t.exports=d},mLcG:function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},mOdp:function(t,e,n){var i=n("bYtY").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var n={},a=i();return e.eachSeriesByType(t,function(t){t.__paletteScope=n,a.set(t.uid,t)}),a},reset:function(t,e){var n=t.getRawData(),i={},a=t.getData();a.each(function(t){var e=a.getRawIndex(t);i[e]=t}),n.each(function(e){var r=i[e],o=null!=r&&a.getItemVisual(r,"color",!0);if(o)n.setItemVisual(e,"color",o);else{var s=n.getItemModel(e).get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());n.setItemVisual(e,"color",s),null!=r&&a.setItemVisual(r,"color",s)}})}}}},mYwL:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=Math.PI;t.exports=function(t,e){i.defaults(e=e||{},{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new a.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new a.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new a.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut");var l=new a.Group;return l.add(o),l.add(s),l.add(n),l.resize=function(){var e=t.getWidth()/2,i=t.getHeight()/2;o.setShape({cx:e,cy:i});var a=o.shape.r;s.setShape({x:e-a,y:i-a,width:2*a,height:2*a}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},n1HI:function(t,e,n){var i=n("hX1E").normalizeRadian,a=2*Math.PI;e.containStroke=function(t,e,n,r,o,s,l,u,c){if(0===l)return!1;var h=l;u-=t,c-=e;var d=Math.sqrt(u*u+c*c);if(d-h>n||d+h<n)return!1;if(Math.abs(r-o)%a<1e-4)return!0;if(s){var f=r;r=i(o),o=i(f)}else r=i(r),o=i(o);r>o&&(o+=a);var p=Math.atan2(c,u);return p<0&&(p+=a),p>=r&&p<=o||p+a>=r&&p+a<=o}},n4Lv:function(t,e,n){var i=n("7hqr").isDimensionStacked,a=n("bYtY").map;e.prepareDataCoordInfo=function(t,e,n){var r,o=t.getBaseAxis(),s=t.getOtherAxis(o),l=function(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}(s,n),u=o.dim,c=s.dim,h=e.mapDimension(c),d=e.mapDimension(u),f="x"===c||"radius"===c?1:0,p=a(t.dimensions,function(t){return e.mapDimension(t)}),g=e.getCalculationInfo("stackResultDimension");return(r|=i(e,p[0]))&&(p[0]=g),(r|=i(e,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!r,valueDim:h,baseDim:d,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,n,i){var a=NaN;t.stacked&&(a=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(a)&&(a=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=n.get(t.baseDim,i),o[1-r]=a,e.dataToPoint(o)}},n6Mw:function(t,e,n){var i=n("SrGk"),a=n("bYtY"),r=n("Fofx");function o(t,e){i.call(this,t,e,"clipPath","__clippath_in_use__")}a.inherits(o,i),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,n){if(e&&e.length>0){var i,a,o=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),o.contains(i=s[l])||o.appendChild(i)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",a),o.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);i.innerHTML="",i.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(i,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&a.each(t.__clipPaths,function(t){t._dom&&i.prototype.markUsed.call(e,t._dom),t._textDom&&i.prototype.markUsed.call(e,t._textDom)})},t.exports=o},nCxF:function(t,e,n){var i=n("QBsz"),a=i.min,r=i.max,o=i.scale,s=i.distance,l=i.add,u=i.clone,c=i.sub;t.exports=function(t,e,n,i){var h,d,f,p,g=[],m=[],v=[],y=[];if(i){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)a(f,f,t[x]),r(p,p,t[x]);a(f,f,i[0]),r(p,p,i[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(u(t[x]));continue}h=t[x-1],d=t[x+1]}c(m,d,h),o(m,m,e);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(v,m,-w),o(y,m,S);var I=l([],b,v),T=l([],b,y);i&&(r(I,I,f),a(I,I,p),r(T,T,f),a(T,T,p)),g.push(I),g.push(T)}return n&&g.push(g.shift()),g}},nKiI:function(t,e,n){var i=n("bYtY"),a=n("mFDi"),r=n("OELB"),o=r.parsePercent,s=r.MAX_SAFE_INTEGER,l=n("+TT/"),u=n("VaxA"),c=Math.max,h=Math.min,d=i.retrieve,f=i.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"];function y(t,e,n){for(var i,a=0,r=1/0,o=0,s=t.length;o<s;o++)(i=t[o].getLayout().area)&&(i<r&&(r=i),i>a&&(a=i));var l=t.area*t.area,u=e*e*n;return l?c(u*a/l,l/(u*r)):1/0}function x(t,e,n,i,a){var r=e===n.width?0:1,o=1-r,s=["x","y"],l=["width","height"],u=n[s[r]],d=e?t.area/e:0;(a||d>n[l[o]])&&(d=n[l[o]]);for(var f=0,p=t.length;f<p;f++){var g=t[f],m={},v=d?g.getLayout().area/d:0,y=m[l[o]]=c(d-2*i,0),x=n[s[r]]+n[l[r]]-u,_=f===p-1||x<v?x:v,b=m[l[r]]=c(_-2*i,0);m[s[o]]=n[s[o]]+h(i,y/2),m[s[r]]=u+h(i,b/2),u+=_,g.setLayout(m,!0)}n[s[o]]+=d,n[l[o]]-=d}function _(t){return t.get(m)?t.get(v):0}t.exports={seriesType:"treemap",reset:function(t,e,n,r){var m=n.getWidth(),v=n.getHeight(),b=t.option,w=l.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),S=b.size||[],M=o(d(w.width,S[0]),m),I=o(d(w.height,S[1]),v),T=r&&r.type,A=u.retrieveTargetInfo(r,["treemapZoomToNode","treemapRootToNode"],t),D="treemapRender"===T||"treemapMove"===T?r.rootRect:null,C=t.getViewRoot(),L=u.getPathToRoot(C);if("treemapMove"!==T){var P="treemapZoomToNode"===T?function(t,e,n,i,a){var r,o=(e||{}).node,l=[i,a];if(!o||o===n)return l;for(var u=i*a,c=u*t.option.zoomToNodeRatio;r=o.parentNode;){for(var h=0,d=r.children,f=0,g=d.length;f<g;f++)h+=d[f].getValue();var m=o.getValue();if(0===m)return l;c*=h/m;var v=r.getModel(),y=v.get(p);(c+=4*y*y+(3*y+Math.max(y,_(v)))*Math.pow(c,.5))>s&&(c=s),o=r}c<u&&(c=u);var x=Math.pow(c/u,.5);return[i*x,a*x]}(t,A,C,M,I):D?[D.width,D.height]:[M,I],k=b.sort;k&&"asc"!==k&&"desc"!==k&&(k="desc");var O={squareRatio:b.squareRatio,sort:k,leafDepth:b.leafDepth};C.hostTree.clearLayouts(),C.setLayout({x:0,y:0,width:P[0],height:P[1],area:P[0]*P[1]}),function t(e,n,a,r){var o,s;if(!e.isRemoved()){var l=e.getLayout();o=l.width,s=l.height;var u=(S=e.getModel()).get(p),d=S.get(g)/2,m=_(S),v=Math.max(u,m),b=u-d,w=v-d,S=e.getModel();e.setLayout({borderWidth:u,upperHeight:v,upperLabelHeight:m},!0);var M=(o=c(o-2*b,0))*(s=c(s-b-w,0)),I=function(t,e,n,a,r,o){var s=t.children||[],l=a.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=a.leafDepth&&a.leafDepth<=o;if(r&&!u)return t.viewChildren=[];!function(t,e){e&&t.sort(function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})}(s=i.filter(s,function(t){return!t.isRemoved()}),l);var c=function(t,e,n){for(var i=0,a=0,r=e.length;a<r;a++)i+=e[a].getValue();var o=t.get("visualDimension");if(e&&e.length)if("value"===o&&n)s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];f(e,function(t){var e=t.getValue(o);e<s[0]&&(s[0]=e),e>s[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(e,s,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,a){if(!i)return n;for(var r=t.get("visibleMin"),o=a.length,s=o,l=o-1;l>=0;l--){var u=a["asc"===i?o-l-1:l].getValue();u/n*e<r&&(s=l,n-=u)}return a.splice("asc"===i?0:s,o-s),n}(e,n,c.sum,l,s),0===c.sum)return t.viewChildren=[];for(var h=0,d=s.length;h<d;h++){var p=s[h].getValue()/c.sum*n;s[h].setLayout({area:p})}return u&&(s.length&&t.setLayout({isLeafRoot:!0},!0),s.length=0),t.viewChildren=s,t.setLayout({dataExtent:c.dataExtent},!0),s}(e,S,M,n,a,r);if(I.length){var T={x:b,y:w,width:o,height:s},A=h(o,s),D=1/0,C=[];C.area=0;for(var L=0,P=I.length;L<P;){var k=I[L];C.push(k),C.area+=k.getLayout().area;var O=y(C,A,n.squareRatio);O<=D?(L++,D=O):(C.area-=C.pop().getLayout().area,x(C,A,T,d,!1),A=h(T.width,T.height),C.length=C.area=0,D=1/0)}if(C.length&&x(C,A,T,d,!0),!a){var E=S.get("childrenVisibleMin");null!=E&&M<E&&(a=!0)}for(L=0,P=I.length;L<P;L++)t(I[L],n,a,r+1)}}}(C,O,!1,0);var E=C.getLayout();f(L,function(t,e){var n=(L[e+1]||C).getValue();t.setLayout(i.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},E))})}var N=t.getData().tree.root;N.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var a=n.node,r=a.getLayout();if(!r)return i;for(var o=[r.width/2,r.height/2],s=a;s;){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}(w,D,A),!0),t.setLayoutInfo(w),function t(e,n,i,r,o){var s=e.getLayout(),l=i[o],u=l&&l===e;if(!(l&&!u||o===i.length&&e!==r)){e.setLayout({isInView:!0,invisible:!u&&!n.intersect(s),isAboveViewRoot:u},!0);var c=new a(n.x-s.x,n.y-s.y,n.width,n.height);f(e.viewChildren||[],function(e){t(e,c,i,r,o+1)})}}(N,new a(-w.x,-w.y,m,v),L,C,0)}}},nVfU:function(t,e,n){var i=n("bYtY"),a=n("OELB").parsePercent,r=n("7hqr").isDimensionStacked,o=n("zM3Q"),s="__ec_stack_",l="undefined"!=typeof Float32Array?Float32Array:Array;function u(t){return t.get("stack")||s+t.seriesIndex}function c(t){return t.dim+t.index}function h(t,e){var n=[];return e.eachSeriesByType(t,function(t){m(t)&&!v(t)&&n.push(t)}),n}function d(t){var e=[];return i.each(t,function(t){var n=t.getData(),i=t.coordinateSystem.getBaseAxis(),r=i.getExtent(),o="category"===i.type?i.getBandWidth():Math.abs(r[1]-r[0])/n.count(),s=a(t.get("barWidth"),o),l=a(t.get("barMaxWidth"),o),h=t.get("barGap"),d=t.get("barCategoryGap");e.push({bandWidth:o,barWidth:s,barMaxWidth:l,barGap:h,barCategoryGap:d,axisKey:c(i),stackId:u(t)})}),f(e)}function f(t){var e={};i.each(t,function(t,n){var i=t.axisKey,a=t.bandWidth,r=e[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[i]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barGap;null!=c&&(r.gap=c);var h=t.barCategoryGap;null!=h&&(r.categoryGap=h)});var n={};return i.each(e,function(t,e){n[e]={};var r=t.stacks,o=a(t.categoryGap,t.bandWidth),s=a(t.gap,1),l=t.remainedWidth,u=t.autoWidthCount,c=(l-o)/(u+(u-1)*s);c=Math.max(c,0),i.each(r,function(t,e){var n=t.maxWidth;n&&n<c&&(n=Math.min(n,l),t.width&&(n=Math.min(n,t.width)),l-=n,t.width=n,u--)}),c=(l-o)/(u+(u-1)*s),c=Math.max(c,0);var h,d=0;i.each(r,function(t,e){t.width||(t.width=c),h=t,d+=t.width*(1+s)}),h&&(d-=h.width*s);var f=-d/2;i.each(r,function(t,i){n[e][i]=n[e][i]||{offset:f,width:t.width},f+=t.width*(1+s)})}),n}function p(t,e,n){if(t&&e){var i=t[c(e)];return null!=i&&null!=n&&(i=i[u(n)]),i}}var g={seriesType:"bar",plan:o(),reset:function(t){if(m(t)&&v(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),r=e.mapDimension(a.dim),o=e.mapDimension(i.dim),s=a.isHorizontal(),u=s?0:1,c=p(d([t]),i,t).width;return c>.5||(c=.5),{progress:function(t,e){for(var i,h=new l(2*t.count),d=[],f=[],p=0;null!=(i=t.next());)f[u]=e.get(r,i),f[1-u]=e.get(o,i),d=n.dataToPoint(f,null,d),h[p++]=d[0],h[p++]=d[1];e.setLayout({largePoints:h,barWidth:c,valueAxisStart:y(0,a),valueAxisHorizontal:s})}}}}};function m(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function v(t){return t.pipelineContext&&t.pipelineContext.large}function y(t,e,n){var i,a,r=e.getGlobalExtent();r[0]>r[1]?(i=r[1],a=r[0]):(i=r[0],a=r[1]);var o=e.toGlobalCoord(e.dataToCoord(0));return o<i&&(o=i),o>a&&(o=a),o}e.getLayoutOnAxis=function(t){var e=[],n=t.axis;if("category"===n.type){for(var a=n.getBandWidth(),r=0;r<t.count;r++)e.push(i.defaults({bandWidth:a,axisKey:"axis0",stackId:s+r},t));var o=f(e),l=[];for(r=0;r<t.count;r++){var u=o.axis0[s+r];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}},e.prepareLayoutBarSeries=h,e.makeColumnLayout=d,e.retrieveColumnLayout=p,e.layout=function(t,e){var n=h(t,e),a=d(n),o={},s={};i.each(n,function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),l=u(t),h=a[c(i)][l],d=h.offset,f=h.width,p=n.getOtherAxis(i),g=t.get("barMinHeight")||0;o[l]=o[l]||[],s[l]=s[l]||[],e.setLayout({offset:d,size:f});for(var m=e.mapDimension(p.dim),v=e.mapDimension(i.dim),x=r(e,m),_=p.isHorizontal(),b=y(0,p),w=0,S=e.count();w<S;w++){var M=e.get(m,w),I=e.get(v,w);if(!isNaN(M)){var T,A,D,C,L,P=M>=0?"p":"n",k=b;x&&(o[l][I]||(o[l][I]={p:b,n:b}),k=o[l][I][P]),_?(T=k,A=(L=n.dataToPoint([M,I]))[1]+d,D=L[0]-b,C=f,Math.abs(D)<g&&(D=(D<0?-1:1)*g),x&&(o[l][I][P]+=D)):(T=(L=n.dataToPoint([I,M]))[0]+d,A=k,D=f,C=L[1]-b,Math.abs(C)<g&&(C=(C<=0?-1:1)*g),x&&(o[l][I][P]+=C)),e.setItemLayout(w,{x:T,y:A,width:D,height:C})}}},this)},e.largeLayout=g},ni6a:function(t,e,n){var i=n("pzxd"),a=new(n("mFDi")),r=function(){};r.prototype={constructor:r,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){t.save();var o=this.transform;n.transformText?this.setTransform(t):o&&(a.copy(e),a.applyTransform(o),e=a),i.renderText(this,t,r,n,e),t.restore()}}},t.exports=r},nkfE:function(t,e,n){var i=n("bYtY"),a=n("ca2m"),r=n("bLfw"),o=n("+TT/"),s=o.getLayoutParams,l=o.mergeLayoutParam,u=n("jkPA"),c=["value","category","time","log"];t.exports=function(t,e,n,o){i.each(c,function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,u=o?s(e):{},c=a.getTheme();i.merge(e,c.get(r+"Axis")),i.merge(e,this.getDefaultOption()),e.type=n(t,e),o&&l(e,u,o)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.mergeAll([{},a[r+"Axis"],o],!0)})}),r.registerSubTypeDefaulter(t+"Axis",i.curry(n,t))}},noeP:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("UOVi");i.registerAction("dataZoom",function(t,e){var n=r.createLinkedNodesFinder(a.bind(e.eachComponent,e,"dataZoom"),r.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),i=[];e.eachComponent({mainType:"dataZoom",query:t},function(t,e){i.push.apply(i,n(t).nodes)}),a.each(i,function(e,n){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})},o40c:function(t,e,n){var i=n("IwbS"),a=n("OS9S"),r=n("loD1"),o=n("aKvl"),s=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var a=0;a<n.length;){var r=n[a++];if(r>0){t.moveTo(n[a++],n[a++]);for(var o=1;o<r;o++)t.lineTo(n[a++],n[a++])}}else for(a=0;a<n.length;){var s=n[a++],l=n[a++],u=n[a++],c=n[a++];t.moveTo(s,l),i>0?t.quadraticCurveTo((s+u)/2-(l-c)*i,(l+c)/2-(u-s)*i,u,c):t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,i=n.segs,a=n.curveness;if(n.polyline)for(var s=0,l=0;l<i.length;){var u=i[l++];if(u>0)for(var c=i[l++],h=i[l++],d=1;d<u;d++){var f=i[l++],p=i[l++];if(r.containStroke(c,h,f,p))return s}s++}else for(s=0,l=0;l<i.length;){if(c=i[l++],h=i[l++],f=i[l++],p=i[l++],a>0){if(o.containStroke(c,h,(c+f)/2-(h-p)*a,(h+p)/2-(f-c)*a,f,p))return s}else if(r.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=e.getVisual("color");a&&t.setStyle("stroke",a),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)}))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=l},oBaM:function(t,e,n){var i=n("T4UG"),a=n("5GtS"),r=n("bYtY"),o=n("7aKB").encodeHTML,s=i.extend({type:"series.radar",dependencies:["radar"],init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t){var e=this.getData(),n=this.coordinateSystem.getIndicatorAxes(),i=this.getData().getName(t);return o(""===i?this.name:i)+"<br/>"+r.map(n,function(n,i){var a=e.get(e.mapDimension(n.dim),t);return o(n.name+" : "+a)}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}});t.exports=s},oE7X:function(t,e,n){n("bLfw").registerSubTypeDefaulter("timeline",function(){return"slider"})},oVpE:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("mFDi"),o=a.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=e.width/2,r=e.height/2;t.moveTo(n,i-r),t.lineTo(n+a,i+r),t.lineTo(n-a,i+r),t.closePath()}}),s=a.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=e.width/2,r=e.height/2;t.moveTo(n,i-r),t.lineTo(n+a,i),t.lineTo(n,i+r),t.lineTo(n-a,i),t.closePath()}}),l=a.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,a=e.width/5*3,r=Math.max(a,e.height),o=a/2,s=o*o/(r-o),l=i-r+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,h=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(n-c,l+s),t.arc(n,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),t.closePath()}}),u=a.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.x,a=e.y,r=e.width/3*2;t.moveTo(i,a),t.lineTo(i+r,a+n),t.lineTo(i,a+n/4*3),t.lineTo(i-r,a+n),t.lineTo(i,a),t.closePath()}}),c={line:function(t,e,n,i,a){a.x1=t,a.y1=e+i/2,a.x2=t+n,a.y2=e+i/2},rect:function(t,e,n,i,a){a.x=t,a.y=e,a.width=n,a.height=i},roundRect:function(t,e,n,i,a){a.x=t,a.y=e,a.width=n,a.height=i,a.r=Math.min(n,i)/4},square:function(t,e,n,i,a){var r=Math.min(n,i);a.x=t,a.y=e,a.width=r,a.height=r},circle:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.r=Math.min(n,i)/2},diamond:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.width=n,a.height=i},pin:function(t,e,n,i,a){a.x=t+n/2,a.y=e+i/2,a.width=n,a.height=i},arrow:function(t,e,n,i,a){a.x=t+n/2,a.y=e+i/2,a.width=n,a.height=i},triangle:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.width=n,a.height=i}},h={};i.each({line:a.Line,rect:a.Rect,roundRect:a.Rect,square:a.Rect,circle:a.Circle,diamond:s,pin:l,arrow:u,triangle:o},function(t,e){h[e]=new t});var d=a.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style;"pin"===this.shape.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,n){var i=e.symbolType,a=h[i];"none"!==e.symbolType&&(a||(a=h[i="rect"]),c[i](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n))}});function f(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}e.createSymbol=function(t,e,n,i,o,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(u=0===t.indexOf("image://")?a.makeImage(t.slice(8),new r(e,n,i,o),l?"center":"cover"):0===t.indexOf("path://")?a.makePath(t.slice(7),{},new r(e,n,i,o),l?"center":"cover"):new d({shape:{symbolType:t,x:e,y:n,width:i,height:o}})).__isEmptyBrush=c,u.setColor=f,u.setColor(s),u}},oY9F:function(t,e,n){var i=n("OlYY").extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=i},"p+If":function(t,e,n){var i=n("ProS");n("cpOr"),n("rkZ5");var a=n("ZYIC"),r=n("7ph2");i.registerLayout(a),i.registerVisual(r)},"p/La":function(t,e){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];t.exports=function(t,e){"china"===t&&"\u53f0\u6e7e"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}},p1MT:function(t,e,n){var i=n("Hw7h"),a=n("IwbS"),r=n("6Ic6"),o=n("OELB"),s=o.parsePercent,l=o.round,u=o.linearMap;function c(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var h=2*Math.PI,d=r.extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var i=t.get("axisLine.lineStyle.color"),a=function(t,e){var n=t.get("center"),i=e.getWidth(),a=e.getHeight(),r=Math.min(i,a);return{cx:s(n[0],e.getWidth()),cy:s(n[1],e.getHeight()),r:s(t.get("radius"),r/2)}}(t,n);this._renderMain(t,e,n,i,a)},dispose:function(){},_renderMain:function(t,e,n,i,r){for(var o=this.group,s=t.getModel("axisLine").getModel("lineStyle"),l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,c=((g=-t.get("endAngle")/180*Math.PI)-u)%h,d=u,f=s.get("width"),p=0;p<i.length;p++){var g,m=Math.min(Math.max(i[p][0],0),1),v=new a.Sector({shape:{startAngle:d,endAngle:g=u+c*m,cx:r.cx,cy:r.cy,clockwise:l,r0:r.r-f,r:r.r},silent:!0});v.setStyle({fill:i[p][1]}),v.setStyle(s.getLineStyle(["color","borderWidth","borderColor"])),o.add(v),d=g}var y=function(t){if(t<=0)return i[0][1];for(var e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};if(!l){var x=u;u=g,g=x}this._renderTicks(t,e,n,y,r,u,g,l),this._renderPointer(t,e,n,y,r,u,g,l),this._renderTitle(t,e,n,y,r),this._renderDetail(t,e,n,y,r)},_renderTicks:function(t,e,n,i,r,o,u,h){for(var d=this.group,f=r.cx,p=r.cy,g=r.r,m=+t.get("min"),v=+t.get("max"),y=t.getModel("splitLine"),x=t.getModel("axisTick"),_=t.getModel("axisLabel"),b=t.get("splitNumber"),w=x.get("splitNumber"),S=s(y.get("length"),g),M=s(x.get("length"),g),I=o,T=(u-o)/b,A=T/w,D=y.getModel("lineStyle").getLineStyle(),C=x.getModel("lineStyle").getLineStyle(),L=0;L<=b;L++){var P=Math.cos(I),k=Math.sin(I);if(y.get("show")){var O=new a.Line({shape:{x1:P*g+f,y1:k*g+p,x2:P*(g-S)+f,y2:k*(g-S)+p},style:D,silent:!0});"auto"===D.stroke&&O.setStyle({stroke:i(L/b)}),d.add(O)}if(_.get("show")){var E=c(l(L/b*(v-m)+m),_.get("formatter")),N=_.get("distance"),R=i(L/b);d.add(new a.Text({style:a.setTextStyle({},_,{text:E,x:P*(g-S-N)+f,y:k*(g-S-N)+p,textVerticalAlign:k<-.4?"top":k>.4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){P=Math.cos(I),k=Math.sin(I);var B=new a.Line({shape:{x1:P*g+f,y1:k*g+p,x2:P*(g-M)+f,y2:k*(g-M)+p},silent:!0,style:C});"auto"===C.stroke&&B.setStyle({stroke:i((L+z/w)/b)}),d.add(B),I+=A}I-=A}else I+=T}},_renderPointer:function(t,e,n,r,o,l,c,h){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],m=t.getData(),v=m.mapDimension("value");m.diff(f).add(function(e){var n=new i({shape:{angle:l}});a.initProps(n,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)}).update(function(e,n){var i=f.getItemGraphicEl(n);a.updateProps(i,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)}).remove(function(t){var e=f.getItemGraphicEl(t);d.remove(e)}).execute(),m.eachItemGraphicEl(function(t,e){var n=m.getItemModel(e),i=n.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(i.get("width"),o.r),r:s(i.get("length"),o.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(u(m.get(v,e),p,[0,1],!0))),a.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())}),this._data=m}else f&&f.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,n,i,r){var o=t.getData(),l=o.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=r.cx+s(h[0],r.r),f=r.cy+s(h[1],r.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=i(u(m,[p,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},c,{x:d,y:f,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,n,i,r){var o=t.getModel("detail"),l=+t.get("min"),h=+t.get("max");if(o.get("show")){var d=o.get("offsetCenter"),f=r.cx+s(d[0],r.r),p=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=i(u(y,[l,h],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:f,y:p,text:c(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});t.exports=d},pLH3:function(t,e,n){var i=n("ProS");n("ALo7"),n("TWL2");var a=n("mOdp"),r=n("JLnu"),o=n("0/Rx");i.registerVisual(a("funnel")),i.registerLayout(r),i.registerProcessor(o("funnel"))},pP6R:function(t,e,n){var i=n("ProS"),a="\0_ec_interaction_mutex";function r(t){return t[a]||(t[a]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=function(t,e,n){r(t)[e]=n},e.release=function(t,e,n){var i=r(t);i[e]===n&&(i[e]=null)},e.isTaken=function(t,e){return!!r(t)[e]}},pmaE:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("IwbS"),o=n("DEFe"),s=i.extendChartView({type:"map",render:function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var a=this.group;if(a.removeAll(),!t.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(r=this._mapDraw)&&a.add(r.group);else if(t.needsDrawMap){var r=this._mapDraw||new o(n,!0);a.add(r.group),r.draw(t,e,n,this,i),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,n){var i=t.originalData,o=this.group;i.each(i.mapDimension("value"),function(e,n){if(!isNaN(e)){var s=i.getItemLayout(n);if(s&&s.point){var l=s.point,u=s.offset,c=new r.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:l[0]+9*u,cy:l[1],r:3},silent:!0,z2:u?8:10});if(!u){var h=t.mainSeries.getData(),d=i.getName(n),f=h.indexOfName(d),p=i.getItemModel(n),g=p.getModel("label"),m=p.getModel("emphasis.label"),v=h.getItemGraphicEl(f),y=a.retrieve2(t.getFormattedLabel(n,"normal"),d),x=a.retrieve2(t.getFormattedLabel(n,"emphasis"),y),_=function(){var t=r.setTextStyle({},m,{text:m.get("show")?x:null},{isRectText:!0,useInsideStyle:!1},!0);c.style.extendFrom(t),c.__mapOriginalZ2=c.z2,c.z2+=1},b=function(){r.setTextStyle(c.style,g,{text:g.get("show")?y:null,textPosition:g.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),null!=c.__mapOriginalZ2&&(c.z2=c.__mapOriginalZ2,c.__mapOriginalZ2=null)};v.on("mouseover",_).on("mouseout",b).on("emphasis",_).on("normal",b),b()}o.add(c)}}})}});t.exports=s},pzxd:function(t,e,n){var i=n("bYtY"),a=i.retrieve2,r=i.retrieve3,o=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=i.isFunction,h=n("6GrX"),d=n("VpOo"),f=n("Xnb7"),p=n("fW2E"),g={left:1,right:1,center:1},m={top:1,bottom:1,middle:1},v=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]];function y(t){if(t){t.font=h.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||g[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||m[n]?n:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function x(t,e,n,i,a){if(n&&e.textRotation){var r=e.textOrigin;"center"===r?(i=n.width/2+n.x,a=n.height/2+n.y):r&&(i=r[0]+n.x,a=r[1]+n.y),t.translate(i,a),t.rotate(-e.textRotation),t.translate(-i,-a)}}function _(t,e,n,i,o,s,l,u){var c=i.rich[n.styleName]||{};c.text=n.text;var d=n.textVerticalAlign,f=s+o/2;"top"===d?f=s+n.height/2:"bottom"===d&&(f=s+o-n.height/2),!n.isLineHolder&&b(c)&&w(t,e,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,f-n.height/2,n.width,n.height);var p=n.textPadding;p&&(l=C(l,u,p),f-=n.height/2-p[2]-n.textHeight/2),I(e,"shadowBlur",r(c.textShadowBlur,i.textShadowBlur,0)),I(e,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),I(e,"shadowOffsetX",r(c.textShadowOffsetX,i.textShadowOffsetX,0)),I(e,"shadowOffsetY",r(c.textShadowOffsetY,i.textShadowOffsetY,0)),I(e,"textAlign",u),I(e,"textBaseline","middle"),I(e,"font",n.font||h.DEFAULT_FONT);var g=T(c.textStroke||i.textStroke,v),m=A(c.textFill||i.textFill),v=a(c.textStrokeWidth,i.textStrokeWidth);g&&(I(e,"lineWidth",v),I(e,"strokeStyle",g),e.strokeText(n.text,l,f)),m&&(I(e,"fillStyle",m),e.fillText(n.text,l,f))}function b(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor}function w(t,e,n,i,a,r,o){var s=n.textBackgroundColor,h=n.textBorderWidth,p=n.textBorderColor,g=l(s);if(I(e,"shadowBlur",n.textBoxShadowBlur||0),I(e,"shadowColor",n.textBoxShadowColor||"transparent"),I(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),I(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),g||h&&p){e.beginPath();var m=n.textBorderRadius;m?d.buildPath(e,{x:i,y:a,width:r,height:o,r:m}):e.rect(i,a,r,o),e.closePath()}if(g)if(I(e,"fillStyle",s),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(c(s))I(e,"fillStyle",s(n)),e.fill();else if(u(s)){var y=s.image;(y=f.createOrUpdateImage(y,null,t,S,s))&&f.isImageReady(y)&&e.drawImage(y,i,a,r,o)}h&&p&&(I(e,"lineWidth",h),I(e,"strokeStyle",p),null!=n.strokeOpacity?(v=e.globalAlpha,e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v):e.stroke())}function S(t,e){e.image=t}function M(t,e,n){var i=e.x||0,a=e.y||0,r=e.textAlign,o=e.textVerticalAlign;if(n){var s=e.textPosition;if(s instanceof Array)i=n.x+D(s[0],n.width),a=n.y+D(s[1],n.height);else{var l=h.adjustTextPositionOnRect(s,n,e.textDistance);i=l.x,a=l.y,r=r||l.textAlign,o=o||l.textVerticalAlign}var u=e.textOffset;u&&(i+=u[0],a+=u[1])}return{baseX:i,baseY:a,textAlign:r,textVerticalAlign:o}}function I(t,e,n){return t[e]=p(t,e,n),t[e]}function T(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function A(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function D(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function C(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return y(t),o(t.rich,y),t},e.renderText=function(t,e,n,i,a,r){i.rich?function(t,e,n,i,a){var r=t.__textCotentBlock;r&&!t.__dirtyText||(r=t.__textCotentBlock=h.parseRichText(n,i)),function(t,e,n,i,a){var r=n.width,o=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=M(0,i,a),c=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;x(e,i,a,c,d);var g=h.adjustTextX(c,o,f),m=h.adjustTextY(d,s,p),v=g,y=m;l&&(v+=l[3],y+=l[0]);var S=v+r;b(i)&&w(t,e,i,g,m,o,s);for(var I=0;I<n.lines.length;I++){for(var T,A=n.lines[I],D=A.tokens,C=D.length,L=A.lineHeight,P=A.width,k=0,O=v,E=S,N=C-1;k<C&&(!(T=D[k]).textAlign||"left"===T.textAlign);)_(t,e,T,i,L,y,O,"left"),P-=T.width,O+=T.width,k++;for(;N>=0&&"right"===(T=D[N]).textAlign;)_(t,e,T,i,L,y,E,"right"),P-=T.width,E-=T.width,N--;for(O+=(r-(O-v)-(S-E)-P)/2;k<=N;)_(t,e,T=D[k],i,L,y,O+T.width/2,"center"),O+=T.width,k++;y+=L}}(t,e,r,i,a)}(t,e,n,i,a):function(t,e,n,i,a,r){"use strict";var o=r&&r.style,s=o&&"text"===r.type,l=i.font||h.DEFAULT_FONT;s&&l===(o.font||h.DEFAULT_FONT)||(e.font=l);var u=t.__computedFont;t.__styleFont!==l&&(t.__styleFont=l,u=t.__computedFont=e.font);var c=i.textPadding,d=t.__textCotentBlock;d&&!t.__dirtyText||(d=t.__textCotentBlock=h.parsePlainText(n,u,c,i.truncate));var f=d.outerHeight,g=d.lines,m=d.lineHeight,y=M(0,i,a),_=y.baseX,S=y.baseY,I=y.textAlign||"left",D=y.textVerticalAlign;x(e,i,a,_,S);var L=h.adjustTextY(S,f,D),P=_,k=L,O=b(i);if(O||c){var E=h.getWidth(n,u);c&&(E+=c[1]+c[3]);var N=h.adjustTextX(_,E,I);O&&w(t,e,i,N,L,E,f),c&&(P=C(_,I,c),k+=c[0])}e.textAlign=I,e.textBaseline="middle";for(var R=0;R<v.length;R++){var z=v[R],B=z[0],V=z[1],Y=i[B];s&&Y===o[B]||(e[V]=p(e,V,Y||z[2]))}k+=m/2;var G=i.textStrokeWidth,F=!s||G!==(s?o.textStrokeWidth:null),H=!s||F||i.textStroke!==o.textStroke,W=T(i.textStroke,G),j=A(i.textFill);if(W&&(F&&(e.lineWidth=G),H&&(e.strokeStyle=W)),j&&(s&&i.textFill===o.textFill&&!o.textBackgroundColor||(e.fillStyle=j)),1===g.length)W&&e.strokeText(g[0],P,k),j&&e.fillText(g[0],P,k);else for(R=0;R<g.length;R++)W&&e.strokeText(g[R],P,k),j&&e.fillText(g[R],P,k),k+=m}(t,e,n,i,a,r)},e.getStroke=T,e.getFill=A,e.needDrawText=function(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}},"q/+u":function(t,e,n){var i=n("ProS"),a=n("9wZj"),r=n("yWXo"),o=n("h8O9");i.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(t);a.progress&&a.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new r:new a,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(t,e){var n=["lineStyle","normal","opacity"];t.exports={seriesType:"parallel",reset:function(t,e,i){var a=t.getModel("itemStyle"),r=t.getModel("lineStyle"),o=e.get("color"),s=r.get("color")||a.get("color")||o[t.seriesIndex%o.length],l=t.get("inactiveOpacity"),u=t.get("activeOpacity"),c=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,d=t.getData(),f={normal:c.opacity,active:u,inactive:l};return d.setVisual("color",s),{progress:function(t,e){h.eachActiveState(e,function(t,i){var a=f[t];if("normal"===t&&e.hasItemOption){var r=e.getItemModel(i).get(n,!0);null!=r&&(a=r)}e.setItemVisual(i,"opacity",a)},t.start,t.end)}}}}},qH13:function(t,e,n){var i=n("ItGF"),a=n("QBsz").applyTransform,r=n("mFDi"),o=n("Qe9p"),s=n("6GrX"),l=n("pzxd"),u=n("ni6a"),c=n("Gev7"),h=n("Dagg"),d=n("dqUG"),f=n("y+Vt"),p=n("IMiH"),g=n("QuXc"),m=n("06Qe"),v=p.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,w=Math.sin,S=Math.max;if(!i.canvasSupported){var M=21600,I=M/2,T=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=M+","+M,t.coordorigin="0,0"},A=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},D=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},C=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},L=function(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n},P=function(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},k=function(t,e,n){var i=o.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=A(i[0],i[1],i[2]),t.opacity=n*i[3])},O=function(t,e,n,i){var r="fill"==e,s=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof g&&C(t,s),s||(s=m.createNode(e)),r?function(t,e,n){var i,r=e.fill;if(null!=r)if(r instanceof g){var s,l=0,u=[0,0],c=0,h=1,d=n.getBoundingRect(),f=d.width,p=d.height;if("linear"===r.type){s="gradient";var m=[r.x*f,r.y*p],v=[r.x2*f,r.y2*p];(y=n.transform)&&(a(m,m,y),a(v,v,y)),(l=180*Math.atan2(v[0]-m[0],v[1]-m[1])/Math.PI)<0&&(l+=360),l<1e-6&&(l=0)}else{s="gradientradial";var y,x=n.scale,_=f,b=p;u=[((m=[r.x*f,r.y*p])[0]-d.x)/_,(m[1]-d.y)/b],(y=n.transform)&&a(m,m,y);var w=S(_/=x[0]*M,b/=x[1]*M);h=2*r.r/w-(c=0/w)}var I=r.colorStops.slice();I.sort(function(t,e){return t.offset-e.offset});for(var T=I.length,D=[],C=[],L=0;L<T;L++){var P=I[L],O=(i=o.parse(P.color),[A(i[0],i[1],i[2]),i[3]]);C.push(P.offset*h+c+" "+O[0]),0!==L&&L!==T-1||D.push(O)}if(T>=2){var E=D[0][0],N=D[1][0],R=D[0][1]*e.opacity,z=D[1][1]*e.opacity;t.type=s,t.method="none",t.focus="100%",t.angle=l,t.color=E,t.color2=N,t.colors=C.join(","),t.opacity=z,t.opacity2=R}"radial"===s&&(t.focusposition=u.join(","))}else k(t,r,e.opacity)}(s,n,i):function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||k(t,e.stroke,e.opacity)}(s,n),D(t,s)):(t[r?"filled":"stroked"]="false",C(t,s))},E=[[],[],[]];f.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),T(n),this._vmlEl=n),O(n,"fill",e,this),O(n,"stroke",e,this);var i=this.transform,r=null!=i,o=n.getElementsByTagName("stroke")[0];if(o){var s=e.lineWidth;r&&!e.strokeNoScale&&(s*=x(_(i[0]*i[3]-i[1]*i[2]))),o.weight=s+"px"}var l=this.path||(this.path=new p);this.__dirtyPath&&(l.beginPath(),this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){var n,i,r,o,s,l,u=v.M,c=v.C,h=v.L,d=v.A,f=v.Q,p=[],g=t.data,m=t.len();for(o=0;o<m;){switch(i="",n=0,r=g[o++]){case u:i=" m ",n=1,s=g[o++],l=g[o++],E[0][0]=s,E[0][1]=l;break;case h:i=" l ",n=1,s=g[o++],l=g[o++],E[0][0]=s,E[0][1]=l;break;case f:case c:i=" c ",n=3;var _,S,T=g[o++],A=g[o++],D=g[o++],C=g[o++];r===f?(_=D,S=C,D=(D+2*T)/3,C=(C+2*A)/3,T=(s+2*T)/3,A=(l+2*A)/3):(_=g[o++],S=g[o++]),E[0][0]=T,E[0][1]=A,E[1][0]=D,E[1][1]=C,E[2][0]=_,E[2][1]=S,s=_,l=S;break;case d:var L=0,P=0,k=1,O=1,N=0;e&&(L=e[4],P=e[5],k=x(e[0]*e[0]+e[1]*e[1]),O=x(e[2]*e[2]+e[3]*e[3]),N=Math.atan2(-e[1]/O,e[0]/k));var R=g[o++],z=g[o++],B=g[o++],V=g[o++],Y=g[o++]+N,G=g[o++]+Y+N;o++;var F=g[o++],H=R+b(Y)*B,W=z+w(Y)*V,j=(T=R+b(G)*B,A=z+w(G)*V,F?" wa ":" at ");Math.abs(H-T)<1e-4&&(Math.abs(G-Y)>.01?F&&(H+=.0125):Math.abs(W-z)<1e-4?F&&H<R||!F&&H>R?A-=.0125:A+=.0125:F&&W<z||!F&&W>z?T+=.0125:T-=.0125),p.push(j,y(((R-B)*k+L)*M-I),",",y(((z-V)*O+P)*M-I),",",y(((R+B)*k+L)*M-I),",",y(((z+V)*O+P)*M-I),",",y((H*k+L)*M-I),",",y((W*O+P)*M-I),",",y((T*k+L)*M-I),",",y((A*O+P)*M-I)),s=T,l=A;break;case v.R:var U=E[0],Z=E[1];U[0]=g[o++],U[1]=g[o++],Z[0]=U[0]+g[o++],Z[1]=U[1]+g[o++],e&&(a(U,U,e),a(Z,Z,e)),U[0]=y(U[0]*M-I),Z[0]=y(Z[0]*M-I),U[1]=y(U[1]*M-I),Z[1]=y(Z[1]*M-I),p.push(" m ",U[0],",",U[1]," l ",Z[0],",",U[1]," l ",Z[0],",",Z[1]," l ",U[0],",",Z[1]);break;case v.Z:p.push(" x ")}if(n>0){p.push(i);for(var X=0;X<n;X++){var q=E[X];e&&a(q,q,e),p.push(y(q[0]*M-I),",",y(q[1]*M-I),X<n-1?",":"")}}}return p.join("")}(l,this.transform),n.style.zIndex=L(this.zlevel,this.z,this.z2),D(t,n),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},f.prototype.onRemove=function(t){C(t,this._vmlEl),this.removeRectText(t)},f.prototype.onAdd=function(t){D(t,this._vmlEl),this.appendRectText(t)},h.prototype.brushVML=function(t){var e,n,i,r=this.style,o=r.image;if("object"==typeof(i=o)&&i.tagName&&"IMG"===i.tagName.toUpperCase()){var s=o.src;if(s===this._imageSrc)e=this._imageWidth,n=this._imageHeight;else{var l=o.runtimeStyle,u=l.width,c=l.height;l.width="auto",l.height="auto",e=o.width,n=o.height,l.width=u,l.height=c,this._imageSrc=s,this._imageWidth=e,this._imageHeight=n}o=s}else o===this._imageSrc&&(e=this._imageWidth,n=this._imageHeight);if(o){var h=r.x||0,d=r.y||0,f=r.width,p=r.height,g=r.sWidth,v=r.sHeight,_=r.sx||0,b=r.sy||0,w=g&&v,M=this._vmlEl;M||(M=m.doc.createElement("div"),T(M),this._vmlEl=M);var I,A=M.style,C=!1,P=1,k=1;if(this.transform&&(P=x((I=this.transform)[0]*I[0]+I[1]*I[1]),k=x(I[2]*I[2]+I[3]*I[3]),C=I[1]||I[2]),C){var O=[h,d],E=[h+f,d],N=[h,d+p],R=[h+f,d+p];a(O,O,I),a(E,E,I),a(N,N,I),a(R,R,I);var z=S(O[0],E[0],N[0],R[0]),B=S(O[1],E[1],N[1],R[1]),V=[];V.push("M11=",I[0]/P,",","M12=",I[2]/k,",","M21=",I[1]/P,",","M22=",I[3]/k,",","Dx=",y(h*P+I[4]),",","Dy=",y(d*k+I[5])),A.padding="0 "+y(z)+"px "+y(B)+"px 0",A.filter="progid:DXImageTransform.Microsoft.Matrix("+V.join("")+", SizingMethod=clip)"}else I&&(h=h*P+I[4],d=d*k+I[5]),A.filter="",A.left=y(h)+"px",A.top=y(d)+"px";var Y=this._imageEl,G=this._cropEl;Y||(Y=m.doc.createElement("div"),this._imageEl=Y);var F=Y.style;if(w){if(e&&n)F.width=y(P*e*f/g)+"px",F.height=y(k*n*p/v)+"px";else{var H=new Image,W=this;H.onload=function(){H.onload=null,n=H.height,F.width=y(P*(e=H.width)*f/g)+"px",F.height=y(k*n*p/v)+"px",W._imageWidth=e,W._imageHeight=n,W._imageSrc=o},H.src=o}G||((G=m.doc.createElement("div")).style.overflow="hidden",this._cropEl=G);var j=G.style;j.width=y((f+_*f/g)*P),j.height=y((p+b*p/v)*k),j.filter="progid:DXImageTransform.Microsoft.Matrix(Dx="+-_*f/g*P+",Dy="+-b*p/v*k+")",G.parentNode||M.appendChild(G),Y.parentNode!=G&&G.appendChild(Y)}else F.width=y(P*f)+"px",F.height=y(k*p)+"px",M.appendChild(Y),G&&G.parentNode&&(M.removeChild(G),this._cropEl=null);var U="",Z=r.opacity;Z<1&&(U+=".Alpha(opacity="+y(100*Z)+") "),F.filter=U+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+o+", SizingMethod=scale)",M.style.zIndex=L(this.zlevel,this.z,this.z2),D(t,M),null!=r.text&&this.drawRectText(t,this.getBoundingRect())}},h.prototype.onRemove=function(t){C(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},h.prototype.onAdd=function(t){D(t,this._vmlEl),this.appendRectText(t)};var N,R={},z=0,B=document.createElement("div");s.$override("measureText",function(t,e){var n=m.doc;N||((N=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(N));try{N.style.font=e}catch(i){}return N.innerHTML="",N.appendChild(n.createTextNode(t)),{width:N.offsetWidth}});for(var V=new r,Y=function(t,e,n,i){var r=this.style;this.__dirty&&l.normalizeTextStyle(r,!0);var o=r.text;if(null!=o&&(o+=""),o){if(r.rich){var u=s.parseRichText(o,r);o=[];for(var c=0;c<u.lines.length;c++){for(var h=u.lines[c].tokens,d=[],f=0;f<h.length;f++)d.push(h[f].text);o.push(d.join(""))}o=o.join("\n")}var p,g,v=r.textAlign,x=r.textVerticalAlign,_=function(t){var e=R[t];if(!e){z>100&&(z=0,R={});var n,i=B.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(a){}e={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},R[t]=e,z++}return e}(r.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(o,b,v,x);var w=this.transform;if(w&&!i&&(V.copy(e),V.applyTransform(w),e=V),i)p=e.x,g=e.y;else{var S=r.textPosition,M=r.textDistance;if(S instanceof Array)p=e.x+P(S[0],e.width),g=e.y+P(S[1],e.height),v=v||"left";else{var I=s.adjustTextPositionOnRect(S,e,M);p=I.x,g=I.y,v=v||I.textAlign,x=x||I.textVerticalAlign}}p=s.adjustTextX(p,n.width,v),g=s.adjustTextY(g,n.height,x),g+=n.height/2;var A,C,k,E=m.createNode,N=this._textVmlEl;N?C=(A=(k=N.firstChild).nextSibling).nextSibling:(N=E("line"),A=E("path"),C=E("textpath"),k=E("skew"),C.style["v-text-align"]="left",T(N),A.textpathok=!0,C.on=!0,N.from="0 0",N.to="1000 0.05",D(N,k),D(N,A),D(N,C),this._textVmlEl=N);var Y=[p,g],G=N.style;w&&i?(a(Y,Y,w),k.on=!0,k.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",k.offset=(y(Y[0])||0)+","+(y(Y[1])||0),k.origin="0 0",G.left="0px",G.top="0px"):(k.on=!1,G.left=y(p)+"px",G.top=y(g)+"px"),C.string=String(o).replace(/&/g,"&amp;").replace(/"/g,"&quot;");try{C.style.font=b}catch(F){}O(N,"fill",{fill:r.textFill,opacity:r.opacity},this),O(N,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash},this),N.style.zIndex=L(this.zlevel,this.z,this.z2),D(t,N)}},G=function(t){C(t,this._textVmlEl),this._textVmlEl=null},F=function(t){D(t,this._textVmlEl)},H=[u,c,h,f,d],W=0;W<H.length;W++){var j=H[W].prototype;j.drawRectText=Y,j.removeRectText=G,j.appendRectText=F}d.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},d.prototype.onRemove=function(t){this.removeRectText(t)},d.prototype.onAdd=function(t){this.appendRectText(t)}}},qJCg:function(t,e,n){var i=n("BlVb"),a=n("mFDi"),r={lineX:o(0),lineY:o(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&i.contain(n.range,t[0],t[1])},rect:function(t,e,n){var r=n.range;if(!t||r.length<=1)return!1;var o=t.x,s=t.y,u=t.width,c=t.height,h=r[0];return!!(i.contain(r,o,s)||i.contain(r,o+u,s)||i.contain(r,o,s+c)||i.contain(r,o+u,s+c)||a.create(t).contain(h[0],h[1])||l(o,s,o+u,s,r)||l(o,s,o,s+c,r)||l(o+u,s,o+u,s+c,r)||l(o,s+c,o+u,s+c,r))||void 0}}};function o(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e)return s(e[t],i.range)},rect:function(i,a,r){if(i){var o=r.range,l=[i[e[t]],i[e[t]]+i[n[t]]];return l[1]<l[0]&&l.reverse(),s(l[0],o)||s(l[1],o)||s(o[0],l)||s(o[1],l)}}}}function s(t,e){return e[0]<=t&&t<=e[1]}function l(t,e,n,i,a){for(var r=0,o=a[a.length-1];r<a.length;r++){var s=a[r];if(u(t,e,n,i,s[0],s[1],o[0],o[1]))return!0;o=s}}function u(t,e,n,i,a,r,o,s){var l,u=c(n-t,a-o,i-e,r-s);if((l=u)<=1e-6&&l>=-1e-6)return!1;var h=c(a-t,a-o,r-e,r-s)/u;if(h<0||h>1)return!1;var d=c(n-t,a-t,i-e,r-e)/u;return!(d<0||d>1)}function c(t,e,n,i){return t*i-e*n}t.exports=r},qMZE:function(t,e,n){var i=n("JEkh").extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});t.exports=i},qWt2:function(t,e,n){var i=n("ProS").extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=i},qZFw:function(t,e,n){var i=n("bYtY"),a=n("6GrX"),r=n("hM6l"),o=(0,n("4NO4").makeInner)();function s(t,e){r.call(this,"angle",t,e=e||[0,360]),this.type="category"}s.prototype={constructor:s,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:r.prototype.dataToCoord,angleToData:r.prototype.coordToData,calculateCategoryInterval:function(){var t=this.getLabelModel(),e=this.scale,n=e.getExtent(),i=e.count();if(n[1]-n[0]<1)return 0;var r=n[0],s=this.dataToCoord(r+1)-this.dataToCoord(r),l=Math.abs(s),u=a.getBoundingRect(r,t.getFont(),"center","top"),c=Math.max(u.height,7)/l;isNaN(c)&&(c=1/0);var h=Math.max(0,Math.floor(c)),d=o(this.model),f=d.lastAutoInterval,p=d.lastTickCount;return null!=f&&null!=p&&Math.abs(f-h)<=1&&Math.abs(p-i)<=1&&f>h?h=f:(d.lastTickCount=i,d.lastAutoInterval=h),h}},i.inherits(s,r),t.exports=s},qgGe:function(t,e,n){var i=n("bYtY"),a=n("T4UG"),r=n("Bsck"),o=n("VaxA").wrapTreePathInfo,s=a.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;i.each(e.children,function(e){t(e);var a=e.value;i.isArray(a)&&(a=a[0]),n+=a});var a=e.value;i.isArray(a)&&(a=a[0]),(null==a||isNaN(a))&&(a=n),a<0&&(a=0),i.isArray(e.value)?e.value[0]=a:e.value=a}(n);var a={};return a.levels=t.levels||[],r.createTree(n,this,a).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=o(n,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=s},qj72:function(t,e,n){var i=n("bYtY");function a(t,e){return e=e||[0,0],i.map(["x","y"],function(n,i){var a=this.getAxis(n),r=e[i],o=t[i]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))},this)}t.exports=function(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(a,t)}}}},"qt/9":function(t,e,n){var i=n("ProS"),a=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var r=n("nVfU").layout,o=n("f5Yq");n("Ae16"),i.registerLayout(a.curry(r,"pictorialBar")),i.registerVisual(o("pictorialBar","roundRect"))},qwVE:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("K4ya"),o=n("XxSj"),s=i.PRIORITY.VISUAL.COMPONENT;function l(t,e,n,i){for(var a=e.targetVisuals[i],r=o.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,u=r.length;l<u;l++){var c=r[l],h=a["opacity"===c?"__alphaForOpacity":c];h&&h.applyVisual(n,d,f)}return s.color;function d(t){return s[t]}function f(t,e){s[t]=e}}i.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",function(e){var i=t.pipelineContext;!e.isTargetSeries(t)||i&&i.large||n.push(r.incrementalApplyVisual(e.stateList,e.targetVisuals,a.bind(e.getValueState,e),e.getDataDimension(t.getData())))}),n}}),i.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(a.bind(l,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimension(n),s=n.getDimensionInfo(o);null!=s&&(r.dimension=s.index,i.push(r))}}),t.getData().setVisual("visualMeta",i)}})},r6Bn:function(t,e,n){var i=n("bYtY"),a=n("ItGF"),r=n("4fz+"),o=n("BPZU");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},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,a.canvasSupported&&o(n,s)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var i=t.clipPath;if(i){e=e?e.slice():[];for(var a=i,r=t;a;)a.parent=r,a.updateTransform(),e.push(a),r=a,a=a.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,n)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof r&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof r&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var a=t.length;e<a;e++)this.delRoot(t[e])}else{var o=i.indexOf(this._roots,t);o>=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s},t.exports=l},rA99:function(t,e,n){var i=n("y+Vt"),a=n("QBsz"),r=n("Sj9i"),o=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,u=r.cubicAt,c=r.quadraticDerivativeAt,h=r.cubicDerivativeAt,d=[];function f(t,e,n){return null===t.cpx2||null===t.cpy2?[(n?h:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?c:l)(t.x1,t.cpx1,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.y2,e)]}var p=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,a=e.x2,r=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,i),null==c||null==h?(f<1&&(o(n,l,a,f,d),l=d[1],a=d[2],o(i,u,r,f,d),u=d[1],r=d[2]),t.quadraticCurveTo(l,u,a,r)):(f<1&&(s(n,l,c,a,f,d),l=d[1],c=d[2],a=d[3],s(i,u,h,r,f,d),u=d[1],h=d[2],r=d[3]),t.bezierCurveTo(l,u,c,h,a,r)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return a.normalize(e,e)}});t.exports=p},rdor:function(t,e,n){var i=n("lOQZ").circularLayout;t.exports=function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&i(t)})}},rfSb:function(t,e,n){var i=n("T4UG"),a=n("sdST"),r=n("L0Ub").getDimensionTypeByAxis,o=n("YXkt"),s=n("bYtY"),l=n("7aKB").encodeHTML,u=n("YlN7"),c=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){for(var e=t.length,n=u().key(function(t){return t[2]}).entries(t),i=s.map(n,function(t){return{name:t.key,dataList:t.values}}),a=i.length,r=-1,o=-1,l=0;l<a;++l){var c=i[l].dataList.length;c>r&&(r=c,o=l)}for(var h=0;h<a;++h)if(h!==o)for(var d=i[h].name,f=0;f<r;++f){for(var p=i[o].dataList[f][0],g=i[h].dataList.length,m=-1,v=0;v<g;++v)if(i[h].dataList[v][0]===p){m=v;break}-1===m&&(t[e]=[],t[e][0]=p,t[e][1]=0,t[e][2]=d,e++)}return t},getInitialData:function(t,e){for(var n=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),i=s.filter(t.data,function(t){return void 0!==t[2]}),l=this.fixData(i||[]),u=[],c=this.nameMap=s.createHashMap(),h=0,d=0;d<l.length;++d)u.push(l[d][2]),c.get(l[d][2])||(c.set(l[d][2],h),h++);var f=a(l,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:r(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),p=new o(f,this);return p.initData(l),p},getLayerSeries:function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;for(var a=u().key(function(e){return t.get("name",e)}).entries(n),r=s.map(a,function(t){return{name:t.key,indices:t.values}}),o=t.mapDimension("single"),l=0;l<r.length;++l)r[l].indices.sort(c);function c(e,n){return t.get(o,e)-t.get(o,n)}return r},getAxisTooltipData:function(t,e,n){s.isArray(t)||(t=t?[t]:[]);for(var i,a=this.getData(),r=this.getLayerSeries(),o=[],l=r.length,u=0;u<l;++u){for(var c=Number.MAX_VALUE,h=-1,d=r[u].indices.length,f=0;f<d;++f){var p=a.get(t[0],r[u].indices[f]),g=Math.abs(p-e);g<=c&&(i=p,c=g,h=r[u].indices[f])}o.push(h)}return{dataIndices:o,nestestValue:i}},formatTooltip:function(t){var e=this.getData(),n=e.getName(t),i=e.get(e.mapDimension("value"),t);return(isNaN(i)||null==i)&&(i="-"),l(n+" : "+i)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}});t.exports=c},rkZ5:function(t,e,n){n("Tghj");var i=n("ProS"),a=n("c8qY"),r=n("D9ME"),o=n("fls0"),s=n("RSch"),l=n("akwb"),u=n("o40c"),c=n("ZYIC"),h=i.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var i=t.getData(),a=this._updateLineDraw(i,t),r=t.get("zlevel"),o=t.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(r).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o&&(l||s.configLayer(r,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),a.updateData(i),this._lastZlevel=r,this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData(),a=t.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var r=c.reset(t);r.progress&&r.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,e){var n=this._lineDraw,i=this._showEffect(e),c=!!e.get("polyline"),h=e.pipelineContext.large;return n&&i===this._hasEffet&&c===this._isPolyline&&h===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=h?new u:new a(c?i?l:s:i?r:o),this._hasEffet=i,this._isPolyline=c,this._isLargeDraw=h,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=h},rmlV:function(t,e,n){var i=n("y+Vt").extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=.5522848,i=e.cx,a=e.cy,r=e.rx,o=e.ry,s=r*n,l=o*n;t.moveTo(i-r,a),t.bezierCurveTo(i-r,a-l,i-s,a-o,i,a-o),t.bezierCurveTo(i+s,a-o,i+r,a-l,i+r,a),t.bezierCurveTo(i+r,a+l,i+s,a+o,i,a+o),t.bezierCurveTo(i-s,a+o,i-r,a+l,i-r,a),t.closePath()}});t.exports=i},rnVJ:function(t,e,n){var i=n("bYtY"),a=["rect","polygon","keep","clear"];t.exports=function(t,e){var n=t&&t.brush;if(i.isArray(n)||(n=n?[n]:[]),n.length){var r=[];i.each(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))});var o=t&&t.toolbox;i.isArray(o)&&(o=o[0]),o||(t.toolbox=[o={feature:{}}]);var s,l,u=o.feature||(o.feature={}),c=u.brush||(u.brush={}),h=c.type||(c.type=[]);h.push.apply(h,r),l={},i.each(s=h,function(t){l[t]=1}),s.length=0,i.each(l,function(t,e){s.push(e)}),e&&!h.length&&h.push.apply(h,a)}}},rySg:function(t,e,n){n("SMc4"),n("8nMs")},s2lz:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("IwbS"),o=n("gPAo"),s=n("VaxA"),l=n("9hCq"),u=n("SgGq"),c=n("mFDi"),h=n("Fofx"),d=n("5s0K"),f=n("KCsZ"),p=a.bind,g=r.Group,m=r.Rect,v=a.each,y=["label"],x=["emphasis","label"],_=["upperLabel"],b=["emphasis","upperLabel"],w=10,S=1,M=2,I=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),T=function(t){var e=I(t);return e.stroke=e.fill=e.lineWidth=null,e},A=i.extendChartView({type:"treemap",init:function(t,e){this._storage={nodeGroup:[],background:[],content:[]},this._state="ready"},render:function(t,e,n,i){var r=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(a.indexOf(r,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var o=s.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],t),l=i&&i.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===l&&o&&h?{rootNodeGroup:h.nodeGroup[o.node.getRawIndex()],direction:i.direction}:null,f=this._giveContainerGroup(u),p=this._doRender(f,t,d);c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?p.renderFinally():this._doAnimation(f,p,t,d),this._resetController(n),this._renderBreadcrumb(t,n,o)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new g,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,n){var i=e.getData().tree,r=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},u=this._storage,c=[],h=a.curry(D,e,l,u,n,s,c);!function t(e,n,i,r,s){function l(t){return t.getId()}function u(a,o){var l=null!=a?e[a]:null,u=null!=o?n[o]:null,c=h(l,u,i,s);c&&t(l&&l.viewChildren||[],u&&u.viewChildren||[],c,r,s+1)}r?(n=e,v(e,function(t,e){!t.isRemoved()&&u(e,e)})):new o(n,e,l,l).add(u).update(u).remove(a.curry(u,null)).execute()}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var d=function(t){var e={nodeGroup:[],background:[],content:[]};return u&&v(u,function(t,n){var i=e[n];v(t,function(t){t&&(i.push(t),t.__tmWillDelete=1)})}),e}();return this._oldTree=i,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:function(){v(d,function(t){v(t,function(t){t.parent&&t.parent.remove(t)})}),v(c,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,e,n,i){if(n.get("animation")){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),s=d.createWrap();v(e.willDeleteEls,function(t,e){v(t,function(t,n){if(!t.invisible){var a,l=t.parent;if(i&&"drillDown"===i.direction)a=l===i.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,r,o)}})}),v(this._storage,function(t,n){v(t,function(t,i){var l=e.lastsForAnimation[n][i],u={};l&&("nodeGroup"===n?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=a.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,r,o))})},this),this._state="animating",s.done(p(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||((e=this._controller=new u(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",p(this._onPan,this)),e.on("zoom",p(this._onZoom,this)));var n=new c(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,i){return n.contain(e,i)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var a=i.getLayout();if(!a)return;var r=new c(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;e-=o.x,n-=o.y;var s=h.create();h.translate(s,s,[-e,-n]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,n]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var a=i.hostTree.data.getItemModel(i.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&window.open(r,o)}}}}},this)},_renderBreadcrumb:function(t,e,n){n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,n.node,p(function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var a=this._storage.background[i.getRawIndex()];if(a){var r=a.transformCoordToLocal(t,e),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;n={node:i,offsetX:r[0],offsetY:r[1]}}},this),n}});function D(t,e,n,i,o,s,l,u,c,h){if(l){var d=l.getLayout();if(d&&d.isInView){var f=d.width,p=d.height,v=d.borderWidth,w=d.invisible,A=l.getRawIndex(),D=u&&u.getRawIndex(),L=l.viewChildren,P=d.upperHeight,k=L&&L.length,O=l.getModel("itemStyle"),E=l.getModel("emphasis.itemStyle"),N=Y("nodeGroup",g);if(N){if(c.add(N),N.attr("position",[d.x||0,d.y||0]),N.__tmNodeWidth=f,N.__tmNodeHeight=p,d.isAboveViewRoot)return N;var R=Y("background",m,h,S);if(R&&function(e,n,i){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:p});var a=l.getVisual("borderColor",!0),o=E.get("borderColor");B(n,function(){var t=T(O);t.fill=a;var e=I(E);if(e.fill=o,i){var s=f-2*v;V(t,e,a,s,P,{x:v,y:0,width:s,height:P})}else t.text=e.text=null;n.setStyle(t),r.setHoverStyle(n,e)}),e.add(n)}(N,R,k&&d.upperHeight),!k){var z=Y("content",m,h,M);z&&function(e,n){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex;var i=Math.max(f-2*v,0),a=Math.max(p-2*v,0);n.culling=!0,n.setShape({x:v,y:v,width:i,height:a});var o=l.getVisual("color",!0);B(n,function(){var t=T(O);t.fill=o;var e=I(E);V(t,e,o,i,a),n.setStyle(t),r.setHoverStyle(n,e)}),e.add(n)}(N,z)}return N}}}function B(t,e){w?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function V(e,n,i,o,s,u){var c=l.getModel(),h=a.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),c.get("name"));if(!u&&d.isLeafRoot){var f=t.get("drillDownIcon",!0);h=f?f+" "+h:h}var p=c.getModel(u?_:y),g=c.getModel(u?b:x),m=p.getShallow("show");r.setLabelStyle(e,n,p,g,{defaultText:m?h:null,autoColor:i,isRectText:!0}),u&&(e.textRect=a.clone(u)),e.truncate=m&&p.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function Y(t,r,s,u){var c=null!=D&&n[t][D],h=o[t];return c?(n[t][D]=null,function(t,e,n){(t[A]={}).old="nodeGroup"===n?e.position.slice():a.extend({},e.shape)}(h,c,t)):w||((c=new r({z:C(s,u)})).__tmDepth=s,c.__tmStorageName=t,function(t,e,n){var a=t[A]={},r=l.parentNode;if(r&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=o.background[r.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),a.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==n}(h,0,t)),e[t][A]=c}}function C(t,e){var n=t*w+e;return(n-1)/n}t.exports=A},sAZ8:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("+rIm"),o=n("/IIm"),s=n("9KIM"),l=n("IwbS"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(t,e){c.superApply(this,"init",arguments),(this._brushController=new o(e.getZr())).on("brush",a.bind(this._onBrush,this))},render:function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),c=s.coordinateSystem,h=t.getAreaSelectStyle(),d=h.width,f=c.getAxisLayout(t.axis.dim),p=a.extend({strokeContainThreshold:d},f),g=new r(t,p);a.each(u,g.add,g),this._axisGroup.add(g.getGroup()),this._refreshBrushController(p,h,t,s,d,n),l.groupTransition(o,this._axisGroup,i&&!1===i.animation?null:t)}}},_refreshBrushController:function(t,e,n,i,r,o){var u=n.axis.getExtent(),c=u[1]-u[0],h=Math.min(30,.1*Math.abs(c)),d=l.BoundingRect.create({x:u[0],y:-r/2,width:c,height:r});d.x-=h,d.width+=2*h,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(d),isTargetByCursor:s.makeRectIsTargetByCursor(d,o,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return a.map(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}(n))},_onBrush:function(t,e){var n=this.axisModel,i=n.axis,r=a.map(t,function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]});(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},dispose:function(){this._brushController.dispose()}});t.exports=c},sRwP:function(t,e,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sS/r":function(t,e,n){var i=n("4fz+"),a=n("iRjW"),r=n("Yl7c"),o=function(){this.group=new i,this.uid=a.getUID("viewComponent")},s=o.prototype={constructor:o,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,i){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0}),t.exports=o},"sW+o":function(t,e,n){var i=n("SrGk"),a=n("bYtY"),r=n("SUKs");function o(t,e){i.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(o,i),o.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;a.each(["fill","stroke"],function(i){if(e.style[i]&&("linear"===e.style[i].type||"radial"===e.style[i].type)){var a,r=e.style[i],o=n.getDefs(!0);r._dom?(a=r._dom,o.contains(r._dom)||n.addDom(a)):a=n.add(r),n.markUsed(e);var s=a.getAttribute("id");t.setAttribute(i,"url(#"+s+")")}})}},o.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return r("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},o.prototype.update=function(t){var e=this;i.prototype.update.call(this,t,function(){var n=t.type,i=t._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))})},o.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void r("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}e.setAttribute("gradientUnits",t.global?"userSpaceOnUse":"objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,i=0,a=n.length;i<a;++i){var o=this.createElement("stop");o.setAttribute("offset",100*n[i].offset+"%"),o.setAttribute("stop-color",n[i].color),e.appendChild(o)}t._dom=e},o.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&i.prototype.markUsed.call(this,e._dom),(e=t.style.stroke)&&e._dom&&i.prototype.markUsed.call(this,e._dom)}},t.exports=o},sdST:function(t,e,n){var i=n("hi0g");t.exports=function(t,e){return i((e=e||{}).coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}},szbU:function(t,e,n){var i=n("bYtY"),a=i.each;function r(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.visualMap;i.isArray(e)||(e=e?[e]:[]),a(e,function(t){if(t){r(t,"splitList")&&!r(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&i.isArray(e)&&a(e,function(t){i.isObject(t)&&(r(t,"start")&&!r(t,"min")&&(t.min=t.start),r(t,"end")&&!r(t,"max")&&(t.max=t.end))})}})}},tBnm:function(t,e,n){var i=n("bYtY"),a=n("IwbS"),r=n("Qxkt"),o=n("Znkb"),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function l(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),a=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:a[0],y2:a[1]}}function u(t){return t.getRadiusAxis().inverse?0:1}function c(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var h=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,r=a.getRadiusAxis().getExtent(),o=n.getTicksCoords(),l=i.map(n.getViewLabels(),function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t});c(l),c(o),i.each(s,function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,o,r,l)},this)}},_axisLine:function(t,e,n,i){var r=t.getModel("axisLine.lineStyle"),o=new a.Circle({shape:{cx:e.cx,cy:e.cy,r:i[u(e)]},style:r.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,n,r){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),c=r[u(e)],h=i.map(n,function(t){return new a.Line({shape:l(e,[c,c+s],t.coord)})});this.group.add(a.mergePath(h,{style:i.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,n,o,s){var l=t.getCategories(!0),c=t.getModel("axisLabel"),h=c.get("margin");i.each(s,function(n,i){var s=c,d=n.tickValue,f=o[u(e)],p=e.coordToPoint([f+h,n.coord]),g=e.cx,m=e.cy,v=Math.abs(p[0]-g)/f<.3?"center":p[0]>g?"left":"right",y=Math.abs(p[1]-m)/f<.3?"middle":p[1]>m?"top":"bottom";l&&l[d]&&l[d].textStyle&&(s=new r(l[d].textStyle,c,c.ecModel));var x=new a.Text({silent:!0});this.group.add(x),a.setTextStyle(x.style,s,{x:p[0],y:p[1],textFill:s.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:v,textVerticalAlign:y})},this)},_splitLine:function(t,e,n,r){var o=t.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],h=0;h<n.length;h++){var d=u++%s.length;c[d]=c[d]||[],c[d].push(new a.Line({shape:l(e,r,n[h].coord)}))}for(h=0;h<c.length;h++)this.group.add(a.mergePath(c[h],{style:i.defaults({stroke:s[h%s.length]},o.getLineStyle()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,n,r){if(n.length){var o=t.getModel("splitArea").getModel("areaStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,h=-n[0].coord*c,d=Math.min(r[0],r[1]),f=Math.max(r[0],r[1]),p=t.get("clockwise"),g=1;g<n.length;g++){var m=l++%s.length;u[m]=u[m]||[],u[m].push(new a.Sector({shape:{cx:e.cx,cy:e.cy,r0:d,r:f,startAngle:h,endAngle:-n[g].coord*c,clockwise:p},silent:!0})),h=-n[g].coord*c}for(g=0;g<u.length;g++)this.group.add(a.mergePath(u[g],{style:i.defaults({fill:s[g%s.length]},o.getAreaStyle()),silent:!0}))}}});t.exports=h},tceW:function(t,e,n){var i=n("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getBarItemStyle:function(t){var e=i(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}}},txkQ:function(t,e,n){var i=n("aX58");e.zrender=i;var a=n("Fofx");e.matrix=a;var r=n("QBsz");e.vector=r;var o=n("bYtY"),s=n("Qe9p");e.color=s;var l=n("IwbS"),u=n("OELB");e.number=u;var c=n("7aKB");e.format=c;var h=n("iLNv");e.throttle=h.throttle;var d=n("FUi9");e.helper=d;var f=n("vafp");e.parseGeoJSON=f;var p=n("YXkt");e.List=p;var g=n("Qxkt");e.Model=g;var m=n("hM6l");e.Axis=m;var v=n("ItGF");e.env=v;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){x[t]=o[t]});var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){_[t]=l[t]}),e.parseGeoJson=y,e.util=x,e.graphic=_},u3DP:function(t,e,n){var i=n("6GrX");function a(t,e,n,i,a,r,o){function s(e,n,i,a){for(var r=e;r<n;r++)if(t[r].y+=i,r>e&&r+1<n&&t[r+1].y>t[r].y+t[r].height)return void l(r,i/2);l(n-1,i/2)}function l(e,n){for(var i=e;i>=0&&(t[i].y-=n,!(i>0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function u(t,e,n,i,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++)if("center"!==t[s].position){var u=Math.abs(t[s].y-i),c=t[s].len,h=t[s].len2,d=u<a+c?Math.sqrt((a+c+h)*(a+c+h)-u*u):Math.abs(t[s].x-n);e&&d>=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=n+d*r,o=d}}t.sort(function(t,e){return t.y-e.y});for(var c,h=0,d=t.length,f=[],p=[],g=0;g<d;g++)(c=t[g].y-h)<0&&s(g,d,-c),h=t[g].y+t[g].height;for(o-h<0&&l(d-1,h-o),g=0;g<d;g++)t[g].y>=n?p.push(t[g]):f.push(t[g]);u(f,!1,e,n,i,a),u(p,!0,e,n,i,a)}t.exports=function(t,e,n,r){var o,s,l=t.getData(),u=[],c=!1;l.each(function(n){var a,r,h,d,f=l.getItemLayout(n),p=l.getItemModel(n),g=p.getModel("label"),m=g.get("position")||p.get("emphasis.label.position"),v=p.getModel("labelLine"),y=v.get("length"),x=v.get("length2"),_=(f.startAngle+f.endAngle)/2,b=Math.cos(_),w=Math.sin(_);o=f.cx,s=f.cy;var S="inside"===m||"inner"===m;if("center"===m)a=f.cx,r=f.cy,d="center";else{var M=(S?(f.r+f.r0)/2*b:f.r*b)+o,I=(S?(f.r+f.r0)/2*w:f.r*w)+s;if(a=M+3*b,r=I+3*w,!S){var T=M+b*(y+e-f.r),A=I+w*(y+e-f.r),D=T+(b<0?-1:1)*x;a=D+(b<0?-5:5),r=A,h=[[M,I],[T,A],[D,A]]}d=S?"center":b>0?"left":"right"}var C=g.getFont(),L=g.get("rotate")?b<0?-_+Math.PI:-_:0,P=t.getFormattedLabel(n,"normal")||l.getName(n),k=i.getBoundingRect(P,C,d,"top");c=!!L,f.label={x:a,y:r,position:m,height:k.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",rotation:L,inside:S},S||u.push(f.label)}),!c&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o){for(var s=[],l=[],u=0;u<t.length;u++)t[u].x<e?s.push(t[u]):l.push(t[u]);for(a(l,e,n,i,1,0,o),a(s,e,n,i,-1,0,o),u=0;u<t.length;u++){var c=t[u].linePoints;if(c){var h=c[1][0]-c[2][0];c[2][0]=t[u].x<e?t[u].x+3:t[u].x-3,c[1][1]=c[2][1]=t[u].y,c[1][0]=c[2][0]+h}}}(u,o,s,e,0,r)}},uAnK:function(t,e,n){var i=n("bYtY"),a=n("Kagy"),r=n("KxfA").retrieveRawValue;t.exports=function(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var o=0;e.eachSeries(function(t,e){++o},this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(o,u);if(!(o<1)){var h=function(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}();s=h?f(p("general.withTitle"),{title:h}):p("general.withoutTitle");var d=[];s+=f(p(o>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:o}),e.eachSeries(function(t,e){if(e<c){var n,i=t.get("name"),s="series."+(o>1?"multiple":"single")+".";n=f(n=p(i?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,a.series.typeNames[y]||"\u81ea\u5b9a\u4e49\u56fe")});var u=t.getData();window.data=u,u.count()>l?n+=f(p("data.partialData"),{displayCnt:l}):n+=p("data.allData");for(var h=[],g=0;g<u.count();g++)if(g<l){var m=u.getName(g),v=r(u,g);h.push(f(p(m?"data.withName":"data.withoutName"),{name:m,value:v}))}n+=h.join(p("data.separator.middle"))+p("data.separator.end"),d.push(n)}var y}),s+=d.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function f(t,e){if("string"!=typeof t)return t;var n=t;return i.each(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}function p(t){var e=n.get(t);if(null==e){for(var i=t.split("."),r=a.aria,o=0;o<i.length;++o)r=r[i[o]];return r}return e}}},uOyE:function(t,e,n){var i=n("ProS");i.registerAction({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},v5uJ:function(t,e,n){var i=n("ProS"),a=n("2B6p").updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand})}),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=a(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})},"vF/C":function(t,e,n){n("bLfw").registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},vKoX:function(t,e,n){var i=n("SrGk");function a(t,e){i.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function r(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}n("bYtY").inherits(a,i),a.prototype.addWithoutUpdate=function(t,e){if(e&&r(e.style)){var n,i=e.style;i._shadowDom?(n=i._shadowDom,this.getDefs(!0).contains(i._shadowDom)||this.addDom(n)):n=this.add(e),this.markUsed(e);var a=n.getAttribute("id");t.style.filter="url(#"+a+")"}},a.prototype.add=function(t){var e=this.createElement("filter"),n=t.style;return n._shadowDomId=n._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+n._shadowDomId),this.updateDom(t,e),this.addDom(e),e},a.prototype.update=function(t,e){var n=e.style;if(r(n)){var a=this;i.prototype.update.call(this,e,function(t){a.updateDom(e,t._shadowDom)})}else this.remove(t,n)},a.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(e),t.style.filter="")},a.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,a,r,o,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,a=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);i=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",a/u),n.setAttribute("flood-color",o),n.setAttribute("stdDeviation",r/2/l+" "+r/2/u),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(r/2*200)+"%"),e.setAttribute("height",Math.ceil(r/2*200)+"%"),e.appendChild(n),s._shadowDom=e},a.prototype.markUsed=function(t){var e=t.style;e&&e._shadowDom&&i.prototype.markUsed.call(this,e._shadowDom)},t.exports=a},vL6D:function(t,e,n){var i=n("bYtY"),a=n("+rIm"),r=n("IwbS"),o=n("7bkD"),s=n("Znkb"),l=["axisLine","axisTickLabel","axisName"],u=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,r){var s=this.group;s.removeAll();var c=o.layout(t),h=new a(t,c);i.each(l,h.add,h),s.add(h.getGroup()),t.get("splitLine.show")&&this._splitLine(t),u.superCall(this,"render",t,e,n,r)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var n=t.getModel("splitLine"),i=n.getModel("lineStyle"),a=i.get("width"),o=i.get("color");o=o instanceof Array?o:[o];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],c=0,h=e.getTicksCoords({tickModel:n}),d=[],f=[],p=0;p<h.length;++p){var g=e.toGlobalCoord(h[p].coord);l?(d[0]=g,d[1]=s.y,f[0]=g,f[1]=s.y+s.height):(d[0]=s.x,d[1]=g,f[0]=s.x+s.width,f[1]=g);var m=c++%o.length;u[m]=u[m]||[],u[m].push(new r.Line(r.subPixelOptimizeLine({shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:{lineWidth:a},silent:!0})))}for(p=0;p<u.length;++p)this.group.add(r.mergePath(u[p],{style:{stroke:o[p%o.length],lineDash:i.getLineDash(a),lineWidth:a},silent:!0}))}}});t.exports=u},vWvF:function(t,e,n){var i=n("Bq2U"),a=n("SUKs"),r=n("bYtY"),o=r.isString,s=r.isFunction,l=r.isObject,u=r.isArrayLike,c=r.indexOf,h=function(){this.animators=[]};function d(t,e,n,i,a,r,c,h){o(i)?(r=a,a=i,i=0):s(a)?(r=a,a="linear",i=0):s(i)?(r=i,i=0):s(n)?(r=n,n=500):n||(n=500),t.stopAnimation(),function t(e,n,i,a,r,o,s){var c={},h=0;for(var d in a)a.hasOwnProperty(d)&&(null!=i[d]?l(a[d])&&!u(a[d])?t(e,n?n+"."+d:d,i[d],a[d],r,o,s):(s?(c[d]=i[d],f(e,n,d,a[d])):c[d]=a[d],h++):null==a[d]||s||f(e,n,d,a[d]));h>0&&e.animate(n,!1).when(null==r?500:r,c).delay(o||0)}(t,"",t,e,n,i,h);var d=t.animators.slice(),p=d.length;function g(){--p||r&&r()}p||r&&r();for(var m=0;m<d.length;m++)d[m].done(g).start(a,c)}function f(t,e,n,i){if(e){var a={};a[e]={},a[e][n]=i,t.attr(a)}else t.attr(n,i)}h.prototype={constructor:h,animate:function(t,e){var n,r=!1,o=this,s=this.__zr;if(t){var l=t.split("."),u=o;r="shape"===l[0];for(var h=0,d=l.length;h<d;h++)u&&(u=u[l[h]]);u&&(n=u)}else n=o;if(n){var f=o.animators,p=new i(n,e);return p.during(function(t){o.dirty(r)}).done(function(){f.splice(c(f,p),1)}),f.push(p),s&&s.animation.addAnimator(p),p}a('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,e,n,i,a,r){d(this,t,e,n,i,a,r)},animateFrom:function(t,e,n,i,a,r){d(this,t,e,n,i,a,r,!0)}},t.exports=h},vZ6x:function(t,e,n){n("Tghj");var i=n("bYtY"),a=n("IwbS"),r=n("4NO4"),o=n("9KIM"),s=i.each,l=i.indexOf,u=i.curry,c=["dataToPoint","pointToData"],h=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,n){var i=this._targetInfoList=[],a={},r=g(e,t);s(m,function(t,e){(!n||!n.include||l(n.include,e)>=0)&&t(r,i,a)})}var f=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return r.parseFinder(t,e,{includeMainTypes:h})}f.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=x[t.brushType](0,n,e);t.__rangeOffset={offset:b[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})},f.matchOutputRanges=function(t,e,n){s(t,function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&i.each(a.coordSyses,function(i){var a=x[t.brushType](1,i,t.range);n(t,a.values,i,e)})},this)},f.setInputRanges=function(t,e){s(t,function(t){var n,i,a,r,o=this.findTargetInfo(t,e);if(t.range=t.range||[],o&&!0!==o){t.panelId=o.panelId;var s=x[t.brushType](0,o.coordSys,t.coordRange),l=t.__rangeOffset;t.range=l?b[t.brushType](s.values,l.offset,(n=l.xyMinMax,i=S(s.xyMinMax),a=S(n),r=[i[0]/a[0],i[1]/a[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):s.values}},this)},f.makePanelOpts=function(t,e){return i.map(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:o.makeRectPanelClipPath(i),isTargetByCursor:o.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(i)}})},f.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&l(i.coordSyses,e.coordinateSystem)>=0},f.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=g(e,t),a=0;a<n.length;a++){var r=n[a],o=t.panelId;if(o){if(r.panelId===o)return r}else for(a=0;a<v.length;a++)if(v[a](i,r))return r}return!0};var m={grid:function(t,e){var n=t.xAxisModels,a=t.yAxisModels,r=t.gridModels,o=i.createHashMap(),u={},c={};(n||a||r)&&(s(n,function(t){var e=t.axis.grid.model;o.set(e.id,e),u[e.id]=!0}),s(a,function(t){var e=t.axis.grid.model;o.set(e.id,e),c[e.id]=!0}),s(r,function(t){o.set(t.id,t),u[t.id]=!0,c[t.id]=!0}),o.each(function(t){var i=[];s(t.coordinateSystem.getCartesians(),function(t,e){(l(n,t.getAxis("x").model)>=0||l(a,t.getAxis("y").model)>=0)&&i.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:i[0],coordSyses:i,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:c[t.id]})}))},geo:function(t,e){s(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:y.geo})})}},v=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,a=t.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&i&&(a=i.axis.grid.model),a&&a===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(a.getTransform(t)),e}},x={lineX:u(_,0),lineY:u(_,1),rect:function(t,e,n){var i=e[c[t]]([n[0][0],n[1][0]]),a=e[c[t]]([n[0][1],n[1][1]]),r=[p([i[0],a[0]]),p([i[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,n){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,function(n){var i=e[c[t]](n);return a[0][0]=Math.min(a[0][0],i[0]),a[1][0]=Math.min(a[1][0],i[1]),a[0][1]=Math.max(a[0][1],i[0]),a[1][1]=Math.max(a[1][1],i[1]),i}),xyMinMax:a}}};function _(t,e,n,a){var r=n.getAxis(["x","y"][t]),o=p(i.map([0,1],function(t){return e?r.coordToData(r.toLocalCoord(a[t])):r.toGlobalCoord(r.dataToCoord(a[t]))})),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var b={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return i.map(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function w(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function S(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}t.exports=d},vZI5:function(t,e,n){var i=n("bYtY"),a=n("T4UG"),r=n("5GhG").seriesModelMixin,o=a.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)}});i.mixin(o,r,!0),t.exports=o},vafp:function(t,e,n){var i=n("bYtY"),a=n("8nly");function r(t,e,n){for(var i=[],a=e[0],r=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,l=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),a=s+=a,r=l+=r,i.push([s/n,l/n])}return i}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i<n.length;i++)for(var a=n[i].geometry,o=a.coordinates,s=a.encodeOffsets,l=0;l<o.length;l++){var u=o[l];if("Polygon"===a.type)o[l]=r(u,s[l],e);else if("MultiPolygon"===a.type)for(var c=0;c<u.length;c++)u[c]=r(u[c],s[l][c],e)}t.UTF8Encoding=!1}(t),i.map(i.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var e=t.properties,n=t.geometry,r=n.coordinates,o=[];"Polygon"===n.type&&o.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===n.type&&i.each(r,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new a(e.name,o,e.cp);return s.properties=e,s})}},vcCh:function(t,e,n){var i=n("ProS");n("0qV/"),i.registerAction({type:"dragNode",event:"dragNode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})})},wDdD:function(t,e,n){var i=n("ProS"),a=n("bYtY");n("98bh"),n("GrNh");var r=n("d4KN"),o=n("mOdp"),s=n("KS52"),l=n("0/Rx");r("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisual(o("pie")),i.registerLayout(a.curry(s,"pie")),i.registerProcessor(l("pie"))},wt3j:function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("/IIm"),o=i.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,(this._brushController=new r(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateTransform:s,updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:a.clone(t),$from:n})}});function s(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=o},x3X8:function(t,e,n){var i=n("KxfA").retrieveRawValue;e.getDefaultLabel=function(t,e){var n=t.mapDimension("defaultedLabel",!0),a=n.length;if(1===a)return i(t,e,n[0]);if(a){for(var r=[],o=0;o<n.length;o++){var s=i(t,e,n[o]);r.push(s)}return r.join(" ")}}},x6Kt:function(t,e,n){var i=n("y+Vt"),a=n("VpOo"),r=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width,o=e.height;e.r?a.buildPath(t,e):t.rect(n,i,r,o),t.closePath()}});t.exports=r},xRUu:function(t,e,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSat:function(t,e){var n={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,i){var a=e.getComponentByElement(t.topTarget),r=a&&a.coordinateSystem;return a&&a!==i&&!n[a.mainType]&&r&&r.model!==i}},xTNl:function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];t.exports={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]}},xiyX:function(t,e,n){var i=n("bYtY"),a=n("bLfw"),r=n("nkfE"),o=n("ICMv"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(s.prototype,o),r("single",s,function(t,e){return e.type||(e.data?"category":"value")},{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}}),t.exports=s},"y+Vt":function(t,e,n){var i=n("Gev7"),a=n("bYtY"),r=n("IMiH"),o=n("2DNl"),s=n("3C/r").prototype.getCanvasPattern,l=Math.abs,u=new r(!0);function c(t){i.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var n,i=this.style,a=this.path||u,r=i.hasStroke(),o=i.hasFill(),l=i.fill,c=i.stroke,h=o&&!!l.colorStops,d=r&&!!c.colorStops,f=o&&!!l.image,p=r&&!!c.image;i.bind(t,this,e),this.setTransform(t),this.__dirty&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,l,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,c,n))),h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(c,t));var g=i.lineDash,m=i.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();if(a.setScale(y[0],y[1]),this.__dirtyPath||g&&!v&&r?(a.beginPath(t),g&&!v&&(a.setLineDash(g),a.setLineDashOffset(m)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=i.fillOpacity){var x=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,a.fill(t),t.globalAlpha=x}else a.fill(t);g&&v&&(t.setLineDash(g),t.lineDashOffset=m),r&&(null!=i.strokeOpacity?(x=t.globalAlpha,t.globalAlpha=i.strokeOpacity*i.opacity,a.stroke(t),t.globalAlpha=x):a.stroke(t)),g&&v&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new r},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new r),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),a=this.style;if(i.contain(t=n[0],e=n[1])){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,t,e)))return!0}if(a.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(a.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var a in n)!i.hasOwnProperty(a)&&n.hasOwnProperty(a)&&(i[a]=n[a])}t.init&&t.init.call(this,e)};for(var n in a.inherits(e,c),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},a.inherits(c,i),t.exports=c},"y+lR":function(t,e,n){var i=n("bYtY"),a=n("z35g");function r(t){a.call(this,t)}r.prototype={constructor:r,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),a=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=a.toGlobalCoord(a.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,a=n.getExtent(),r=i.getExtent(),o=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(a[0],a[1]),o),Math.max(a[0],a[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},i.inherits(r,a),t.exports=r},y23F:function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function i(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(i(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,a=t.offsetY,r=n-this._x,o=a-this._y;this._x=n,this._y=a,e.drift(r,o,t),this.dispatchToElement(i(e,t),"drag",t.event);var s=this.findHover(n,a,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(i(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(i(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(i(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(i(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t.exports=n},y2l5:function(t,e,n){var i=n("MwEJ"),a=n("T4UG").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return i(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8}}});t.exports=a},y3NT:function(t,e,n){var i=n("OELB").parsePercent,a=n("bYtY"),r=(Math,Math.PI/180);t.exports=function(t,e,n,o){e.eachSeriesByType(t,function(t){var e=t.get("center"),o=t.get("radius");a.isArray(o)||(o=[0,o]),a.isArray(e)||(e=[e,e]);var s=n.getWidth(),l=n.getHeight(),u=Math.min(s,l),c=i(e[0],s),h=i(e[1],l),d=i(o[0],u/2),f=i(o[1],u/2),p=-t.get("startAngle")*r,g=t.get("minAngle")*r,m=t.getData().tree.root,v=t.getViewRoot(),y=v.depth,x=t.get("sort");null!=x&&function t(e,n){var i=e.children||[];e.children=function(t,e){if("function"==typeof e)return t.sort(e);var n="asc"===e;return t.sort(function(t,e){var i=(t.getValue()-e.getValue())*(n?1:-1);return 0===i?(t.dataIndex-e.dataIndex)*(n?-1:1):i})}(i,n),i.length&&a.each(e.children,function(e){t(e,n)})}(v,x);var _=0;a.each(v.children,function(t){!isNaN(t.getValue())&&_++});var b=v.getValue(),w=Math.PI/(b||_)*2,S=v.depth>0,M=(f-d)/(v.height-(S?-1:1)||1),I=t.get("clockwise"),T=t.get("stillShowZeroSum"),A=I?1:-1,D=function(t,e){if(t){var n=e;if(t!==m){var r=t.getValue(),o=0===b&&T?w:r*w;o<g&&(o=g),n=e+A*o;var s=t.depth-y-(S?-1:1),l=d+M*s,f=d+M*(s+1),p=t.getModel();null!=p.get("r0")&&(l=i(p.get("r0"),u/2)),null!=p.get("r")&&(f=i(p.get("r"),u/2)),t.setLayout({angle:o,startAngle:e,endAngle:n,clockwise:I,cx:c,cy:h,r0:l,r:f})}if(t.children&&t.children.length){var v=0;a.each(t.children,function(t){v+=D(t,e+v)})}return n-e}};if(S){var C=2*Math.PI;m.setLayout({angle:C,startAngle:p,endAngle:p+C,clockwise:I,cx:c,cy:h,r0:d,r:d+M})}D(v,p)})}},"y4/Y":function(t,e,n){var i=n("ProS"),a=n("bYtY"),r=n("zTMp"),o=n("62sa");n("SKx+"),n("1LEl"),n("Sp2Z"),i.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!a.isArray(e)&&(t.axisPointer.link=[e])}}),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=r.collect(t,e)}),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},y7Aq:function(t,e,n){var i=n("bYtY"),a=n("+TT/").getLayoutRect;e.getItemAlign=function(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=c[d],h[u[d]]=2===d?n[0]:i[u[d]];var f=[["x","width",3],["y","height",0]][s],p=a(h,o,i.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*o[f[1]]?0:1]},e.convertDataIndex=function(t){return i.each(t||[],function(e){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null)}),t}},yO87:function(t,e,n){var i=n("bYtY"),a=n("oVpE").createSymbol,r=n("IwbS").Group,o=n("OELB").parsePercent,s=n("FBjb");function l(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function u(t,e){r.call(this);var n=new s(t,e),i=new r;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var c=u.prototype;c.stopEffectAnimation=function(){this.childAt(1).removeAll()},c.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),r=0;r<3;r++){var o=a(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-r/3*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(o)}l(i,t)},c.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],a=0;a<i.length;a++){var r=i[a];if(e[r]!==t[r])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}l(n,t)},c.highlight=function(){this.trigger("emphasis")},c.downplay=function(){this.trigger("normal")},c.updateData=function(t,e){var n=t.hostModel;this.childAt(0).updateData(t,e);var a=this.childAt(1),r=t.getItemModel(e),s=t.getItemVisual(e,"symbol"),l=function(t){return i.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),u=t.getItemVisual(e,"color");a.attr("scale",l),a.traverse(function(t){t.attr({fill:u})});var c=r.getShallow("symbolOffset");if(c){var h=a.position;h[0]=o(c[0],l[0]),h[1]=o(c[1],l[1])}a.rotation=(r.getShallow("symbolRotate")||0)*Math.PI/180||0;var d={};if(d.showEffectOn=n.get("showEffectOn"),d.rippleScale=r.get("rippleEffect.scale"),d.brushType=r.get("rippleEffect.brushType"),d.period=1e3*r.get("rippleEffect.period"),d.effectOffset=e/t.count(),d.z=r.getShallow("z")||0,d.zlevel=r.getShallow("zlevel")||0,d.symbolType=s,d.color=u,this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===d.showEffectOn)this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d;else{this._effectCfg=null,this.stopEffectAnimation();var f=this.childAt(0),p=function(){f.highlight(),"render"!==d.showEffectOn&&this.startEffectAnimation(d)},g=function(){f.downplay(),"render"!==d.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",p,this).on("mouseout",g,this).on("emphasis",p,this).on("normal",g,this)}this._effectCfg=d},c.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},i.inherits(u,r),t.exports=u},yS9w:function(t,e,n){var i=n("MEGo"),a=i.parseSVG,r=i.makeViewBoxTransform,o=n("4fz+"),s=n("x6Kt"),l=n("bYtY"),u=l.assert,c=l.createHashMap,h=n("mFDi"),d=(0,n("4NO4").makeInner)();function f(t,e){var n,i,l=t.svgXML;try{n=l&&a(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},u(null!=(i=n.root))}catch(m){throw new Error("Invalid svg format\n"+m.message)}var c=n.width,d=n.height,f=n.viewBoxRect;if(e||(e=null==c||null==d?i.getBoundingRect():new h(0,0,0,0),null!=c&&(e.width=c),null!=d&&(e.height=d)),f){var p=r(f,e.width,e.height),g=i;(i=new o).add(g),g.scale=p.scale,g.position=p.position}return i.setClipPath(new s({shape:e.plain()})),{root:i,boundingRect:e}}t.exports={load:function(t,e){var n=d(e).originRoot;if(n)return{root:n,boundingRect:d(e).boundingRect};var i=f(e);return d(e).originRoot=i.root,d(e).boundingRect=i.boundingRect,i},makeGraphic:function(t,e,n){var i=d(e),a=i.rootMap||(i.rootMap=c()),r=a.get(n);if(r)return r;var o=i.originRoot;return i.originRootHostKey?r=f(e,i.boundingRect).root:(i.originRootHostKey=n,r=o),a.set(n,r)},removeGraphic:function(t,e,n){var i=d(e),a=i.rootMap;a&&a.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}}},yWXo:function(t,e,n){var i=n("IwbS"),a=n("oVpE").createSymbol,r=n("OS9S"),o=i.extendShape({shape:{points:null},symbolProxy:null,buildPath:function(t,e){var n=e.points,i=e.size,a=this.symbolProxy,r=a.shape;if(!((t.getContext?t.getContext():t)&&i[0]<4))for(var o=0;o<n.length;){var s=n[o++],l=n[o++];isNaN(s)||isNaN(l)||(r.x=s-i[0]/2,r.y=l-i[1]/2,r.width=i[0],r.height=i[1],a.buildPath(t,r,!0))}},afterBrush:function(t){var e=this.shape,n=e.points,i=e.size;if(i[0]<4){this.setTransform(t);for(var a=0;a<n.length;){var r=n[a++],o=n[a++];isNaN(r)||isNaN(o)||t.fillRect(r-i[0]/2,o-i[1]/2,i[0],i[1])}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var n=this.shape,i=n.points,a=n.size,r=Math.max(a[0],4),o=Math.max(a[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-r/2,c=i[l+1]-o/2;if(t>=u&&e>=c&&t<=u+r&&e<=c+o)return s}return-1}});function s(){this.group=new i.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t){this.group.removeAll();var e=new o({rectHover:!0,cursor:"default"});e.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},l.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild(function(t){null!=t.startIndex&&(e=new Float32Array(e.buffer,4*t.startIndex*2,2*(t.endIndex-t.startIndex))),t.setShape("points",e)})}},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,e){var n;this._incremental?(n=new o,this._incremental.addDisplayable(n,!0)):((n=new o({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(n)),n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!!this._incremental)},l._setCommon=function(t,e,n){var i=e.hostModel,r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.symbolProxy=a(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=e.getVisual("color");s&&t.setColor(s),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(t.dataIndex=n+(t.startIndex||0))}))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=s},yik8:function(t,e,n){var i=n("bZqE"),a=i.eachAfter,r=i.eachBefore,o=n("Itpr"),s=o.init,l=o.firstWalk,u=o.secondWalk,c=o.separation,h=o.radialCoordinate,d=o.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=d(t,e);t.layoutInfo=n;var i=t.get("layout"),o=0,f=0,p=null;"radial"===i?(o=2*Math.PI,f=Math.min(n.height,n.width)/2,p=c(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=n.width,f=n.height,p=c());var g=t.getData().tree.root,m=g.children[0];if(m){s(g),a(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,r(m,u);var v=m,y=m,x=m;r(m,function(t){var e=t.getLayout().x;e<v.getLayout().x&&(v=t),e>y.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)});var _=v===y?1:p(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===i)w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w;var e=h(M,I=(t.depth-1)*S);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)});else{var T=t.getOrient();"RL"===T||"LR"===T?(S=f/(y.getLayout().x+_+b),w=o/(x.depth-1||1),r(m,function(t){I=(t.getLayout().x+b)*S,t.setLayout({x:M="LR"===T?(t.depth-1)*w:o-(t.depth-1)*w,y:I},!0)})):"TB"!==T&&"BT"!==T||(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,t.setLayout({x:M,y:I="TB"===T?(t.depth-1)*S:f-(t.depth-1)*S},!0)}))}}}(t,e)})}},ypgQ:function(t,e,n){var i=n("bYtY"),a=n("4NO4"),r=n("bLfw"),o=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[]}function d(t,e,n){var a={width:e,height:n,aspectratio:e/n},r=!0;return i.each(t,function(t,e){var n=e.match(c);if(n&&n[1]&&n[2]){var i=n[1],o=n[2].toLowerCase();(function(e,n,i){return"min"===i?e>=t:"max"===i?e<=t:e===t})(a[o],0,i)||(r=!1)}}),r}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(a.normalizeToArray(t.series),function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)}),t=s(t,!0);var n,c=this._optionBackup,h=(function(t,e,n){var a,r,s=[],l=[],u=t.timeline;return t.baseOption&&(r=t.baseOption),(u||t.options)&&(r=r||{},s=(t.options||[]).slice()),t.media&&(r=r||{},o(t.media,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})),r||(r=t),r.timeline||(r.timeline=u),o([r].concat(s).concat(i.map(l,function(t){return t.option})),function(t){o(e,function(e){e(t,n)})}),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}).call(this,t,e,!c);this._newBaseOption=h.baseOption,c?(n=c.baseOption,o(h.baseOption||{},function(t,e){if(null!=t){var i=n[e];if(r.hasClass(e)){t=a.normalizeToArray(t),i=a.normalizeToArray(i);var o=a.mappingToExists(i,t);n[e]=l(o,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else n[e]=u(i,t,!0)}}),h.timelineOptions.length&&(c.timelineOptions=h.timelineOptions),h.mediaList.length&&(c.mediaList=h.mediaList),h.mediaDefault&&(c.mediaDefault=h.mediaDefault)):this._optionBackup=h},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=s(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n=this._api.getWidth(),i=this._api.getHeight(),a=this._mediaList,r=this._mediaDefault,o=[],u=[];if(!a.length&&!r)return u;for(var c=0,h=a.length;c<h;c++)d(a[c].query,n,i)&&o.push(c);return!o.length&&r&&(o=[-1]),o.length&&(e=this._currentMediaIndices,o.join(",")!==e.join(","))&&(u=l(o,function(t){return s(-1===t?r.option:a[t].option)})),this._currentMediaIndices=o,u}},t.exports=h},yxFR:function(t,e,n){var i=n("y+Vt").extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,a=e.x2,r=e.y2,o=e.percent;0!==o&&(t.moveTo(n,i),o<1&&(a=n*(1-o)+a*o,r=i*(1-o)+r*o),t.lineTo(a,r))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=i},z35g:function(t,e,n){var i=n("bYtY");function a(t){return this._axes[t]}var r=function(t){this._axes={},this._dimList=[],this.name=t||""};r.prototype={constructor:r,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,a,this)},getAxesByScale:function(t){return t=t.toLowerCase(),i.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},a=0;a<n.length;a++){var r=n[a];i[r]=this._axes[r][e](t[r])}return i}},t.exports=r},zDms:function(t,e,n){var i=n("bYtY"),a=n("OELB"),r=n("UOVi"),o=i.each,s=a.asc,l=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n};function u(t,e){var n=t.getAxisModel(),i=t._percentWindow,r=t._valueWindow;if(i){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=e||0===i[0]&&100===i[1];n.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}l.prototype={constructor:l,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries(function(n){if(r.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,a=e.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&t.push(n)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,a=this.ecModel,r=this.getAxisModel();return"x"===i||"y"===i?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle"),a.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(n=t)}),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e=this._dataExtent,n=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),r=[0,100],l=[t.start,t.end],u=[];return o(["startValue","endValue"],function(e){u.push(null!=t[e]?n.parse(t[e]):null)}),o([0,1],function(t){var o=u[t],s=l[t];"percent"===i[t]?(null==s&&(s=r[t]),o=n.parse(a.linearMap(s,r,e,!0))):s=a.linearMap(o,e,r,!0),u[t]=o,l[t]=s}),{valueWindow:s(u),percentWindow:s(l)}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=(this,i=this._dimName,r=[1/0,-1/0],o(e,function(t){var e=t.getData();e&&o(e.mapDimension(i,!0),function(t){var n=e.getApproximateExtent(t);n[0]<r[0]&&(r[0]=n[0]),n[1]>r[1]&&(r[1]=n[1])})}),r[1]<r[0]&&(r=[NaN,NaN]),function(t,e){var n=t.getAxisModel(),i=n.getMin(!0),a="category"===n.get("type"),r=a&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!=typeof i?e[0]=i:a&&(e[0]=r>0?0:NaN);var o=n.getMax(!0);null!=o&&"dataMax"!==o&&"function"!=typeof o?e[1]=o:a&&(e[1]=r>0?r-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(this,r),r);var n=this.calculateDataWindow(t.option);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,function(t){var e=t._minMaxSpan={},n=t._dataZoomModel;o(["min","max"],function(i){e[i+"Span"]=n.get(i+"Span");var r=n.get(i+"ValueSpan");if(null!=r&&(e[i+"ValueSpan"]=r,null!=(r=t.getAxisModel().axis.scale.parse(r)))){var o=t._dataExtent;e[i+"Span"]=a.linearMap(o[0]+r,o,[0,100],!0)}})}(this),u(this)}var i,r},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&o(i,function(t){var e=t.getData(),i=e.mapDimension(n,!0);i.length&&("weakFilter"===a?e.filterSelf(function(t){for(var n,a,o,s=0;s<i.length;s++){var l=e.get(i[s],t),u=!isNaN(l),c=l<r[0],h=l>r[1];if(u&&!c&&!h)return!0;u&&(o=!0),c&&(n=!0),h&&(a=!0)}return o&&n&&a}):o(i,function(n){if("empty"===a)t.setData(e.map(n,function(t){return function(t){return t>=r[0]&&t<=r[1]}(t)?t:NaN}));else{var i={};i[n]=r,e.selectRange(i)}}),o(i,function(t){e.setApproximateExtent(r,t)}))})}}},t.exports=l},zM3Q:function(t,e,n){var i=n("4NO4").makeInner;t.exports=function(){var t=i();return function(e){var n=t(e),i=e.pipelineContext,a=n.large,r=n.progressiveRender,o=n.large=i.large,s=n.progressiveRender=i.progressiveRender;return!!(a^o||r^s)&&"reset"}}},zRKj:function(t,e,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zTMp:function(t,e,n){var i=n("bYtY"),a=n("Qxkt"),r=i.each,o=i.curry;function s(t,e){return"all"===t||i.isArray(t)&&i.indexOf(t,e)>=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var l=e.getComponent("tooltip"),h=e.getComponent("axisPointer"),d=h.get("link",!0)||[],f=[];r(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var p=c(n.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var m=n.model.getModel("tooltip",l);if(r(n.getAxes(),o(_,!1,null)),n.getTooltipAxes&&l&&m.get("show")){var v="axis"===m.get("trigger"),y="cross"===m.get("axisPointer.type"),x=n.getTooltipAxes(m.get("axisPointer.axis"));(v||y)&&r(x.baseAxes,o(_,!y||"cross",v)),y&&r(x.otherAxes,o(_,"cross",!1))}}function _(o,l,p){var v=p.model.getModel("axisPointer",h),y=v.get("show");if(y&&("auto"!==y||o||u(v))){null==l&&(l=v.get("triggerTooltip"));var x=(v=o?function(t,e,n,o,s,l){var u=e.getModel("axisPointer"),c={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){c[t]=i.clone(u.get(t))}),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&i.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new a(c,n,o))}(p,m,h,e,o,l):v).get("snap"),_=c(p.model),b=l||x||"category"===p.type,w=t.axesInfo[_]={key:_,axis:p,coordSys:n,axisPointerModel:v,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(v),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var n=e.model,i=e.dim,a=0;a<t.length;a++){var r=t[a]||{};if(s(r[i+"AxisId"],n.id)||s(r[i+"AxisIndex"],n.componentIndex)||s(r[i+"AxisName"],n.name))return a}}(d,p);if(null!=S){var M=f[S]||(f[S]={axesInfo:{}});M.axesInfo[_]=w,M.mapper=d[S].mapper,w.linkGroup=M}}}})}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,i=e.get("tooltip.trigger",!0),a=e.get("tooltip.show",!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==a&&!1!==e.get("axisPointer.show",!0)&&r(t.coordSysAxesInfo[c(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())})},this)}(n,t),n},e.fixValue=function(t){var e=l(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,a=n.option,r=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=u(n);null==r&&(a.status=s?"show":"hide");var c=i.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==o||o>c[1])&&(o=c[1]),o<c[0]&&(o=c[0]),a.value=o,s&&(a.status=e.axis.scale.isBlank()?"hide":"show")}},e.getAxisInfo=l,e.getAxisPointerModel=function(t){var e=l(t);return e&&e.axisPointerModel},e.makeKey=c},zYTA:function(t,e,n){var i=n("bYtY");function a(){var t=i.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}a.prototype={update:function(t,e,n,i,a,r){var o=this._getBrush(),s=this._getGradient(t,a,"inRange"),l=this._getGradient(t,a,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var f=0;f<d;++f){var p=t[f],g=p[0],m=p[1],v=i(p[2]);h.globalAlpha=v,h.drawImage(o,g-u,m-u)}if(!c.width||!c.height)return c;for(var y=h.getImageData(0,0,c.width,c.height),x=y.data,_=0,b=x.length,w=this.minOpacity,S=this.maxOpacity-w;_<b;){v=x[_+3]/256;var M=4*Math.floor(255*v);if(v>0){var I=r(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return h.putImageData(y,0,0),c},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=i.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var a=t.getContext("2d");return a.clearRect(0,0,n,n),a.shadowOffsetX=n,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},_getGradient:function(t,e,n){for(var i=this._gradientPixels,a=i[n]||(i[n]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)e[n](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}},t.exports=a},zarK:function(t,e,n){var i=n("YH21"),a=i.addEventListener,r=i.removeEventListener,o=i.normalizeEvent,s=n("bYtY"),l=n("H6uX"),u=n("ItGF"),c=n("C0SR"),h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=["touchstart","touchend","touchmove"],f={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},p=s.map(h,function(t){var e=t.replace("mouse","pointer");return f[e]?e:t});function g(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function m(t,e,n){var i=t._gestureMgr;"start"===n&&i.clear();var a=i.recognize(e,t.handler.findHover(e.zrX,e.zrY,null).target,t.dom);if("end"===n&&i.clear(),a){var r=a.type;e.gestureEvent=r,t.handler.dispatchToElement({target:a.target},r,a.event)}}function v(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var y={mousemove:function(t){t=o(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var e=(t=o(this.dom,t)).toElement||t.relatedTarget;if(e!=this.dom)for(;e&&9!=e.nodeType;){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){(t=o(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,m(this,t,"start"),y.mousemove.call(this,t),y.mousedown.call(this,t),v(this)},touchmove:function(t){(t=o(this.dom,t)).zrByTouch=!0,m(this,t,"change"),y.mousemove.call(this,t),v(this)},touchend:function(t){(t=o(this.dom,t)).zrByTouch=!0,m(this,t,"end"),y.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&y.click.call(this,t),v(this)},pointerdown:function(t){y.mousedown.call(this,t)},pointermove:function(t){x(t)||y.mousemove.call(this,t)},pointerup:function(t){y.mouseup.call(this,t)},pointerout:function(t){x(t)||y.mouseout.call(this,t)}};function x(t){var e=t.pointerType;return"pen"===e||"touch"===e}function _(t){var e;function n(e,n){s.each(e,function(e){a(t,g(e),n._handlers[e])},n)}l.call(this),this.dom=t,this._touching=!1,this._gestureMgr=new c,this._handlers={},e=this,s.each(d,function(t){e._handlers[t]=s.bind(y[t],e)}),s.each(p,function(t){e._handlers[t]=s.bind(y[t],e)}),s.each(h,function(t){e._handlers[t]=function(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}(y[t],e)}),u.pointerEventsSupported?n(p,this):(u.touchEventsSupported&&n(d,this),n(h,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){y[t]=function(e){e=o(this.dom,e),this.trigger(t,e)}});var b=_.prototype;b.dispose=function(){for(var t=h.concat(d),e=0;e<t.length;e++){var n=t[e];r(this.dom,g(n),this._handlers[n])}},b.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},s.mixin(_,l),t.exports=_},zuHt:function(t,e,n){var i=n("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",function(n){var a=n.getMapType();if(!n.getHostGeoModel()&&!e[a]){var r={};i.each(n.seriesGroup,function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),function(t,e){var a=i.getName(e),o=n.getRegion(a);if(o&&!isNaN(t)){var s=r[a]||0,l=n.dataToPoint(o.center);r[a]=s+1,i.setItemLayout(e,{point:l,offset:s})}})});var o=n.getData();o.each(function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)}),e[a]=!0}})}}}]);