webpackJsonp([1],{"+PQg":function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("3h1/"),r=n("dCQY"),s=n("0sHC"),l=n("Pdtn"),u=n("1Hui"),h=n("v/cD"),c=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var c=this.group;if(c.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,h.layout(c,t,n),c.add(h.makeBackground(c.getBoundingRect(),t)),c.eachChild(function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var a=o.getBoundingRect(e,o.makeFont(i)),r=t.position[0]+c.position[0],s=!1;t.position[1]+c.position[1]+d+a.height>n.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-a.height:d+8;r+a.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):r-a.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}})}function m(o,u){var h,m=g[o],v=g[u],y=f[m],x=new l(y,t,t.ecModel);if(m&&!v){if(function(t){return 0===t.indexOf("my")}(m))h={model:x,onclick:x.option.onclick,featureName:m};else{var _=r.get(m);if(!_)return;h=new _(x,e,n)}p[m]=h}else{if(!(h=p[v]))return;h.model=x,h.ecModel=e,h.api=n}m||!v?x.get("show")&&!h.unusable?(!function(i,o,r){var l=i.getModel("iconStyle"),u=o.getIcons?o.getIcons():i.get("icon"),h=i.get("title")||{};if("string"==typeof u){var f=u,p=h;h={},(u={})[r]=f,h[r]=p}var g=i.iconPaths={};a.each(u,function(r,u){var f=s.createIcon(r,{},{x:-d/2,y:-d/2,width:d,height:d});f.setStyle(l.getModel("normal").getItemStyle()),f.hoverStyle=l.getModel("emphasis").getItemStyle(),s.setHoverStyle(f),t.get("showTitle")&&(f.__title=h[u],f.on("mouseover",function(){var t=l.getModel("emphasis").getItemStyle();f.setStyle({text:h[u],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){f.setStyle({textFill:null})})),f.trigger(i.get("iconStatus."+u)||"normal"),c.add(f),f.on("click",a.bind(o.onclick,o,e,n,u)),g[u]=f})}(x,h,m),x.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)},h.render&&h.render(x,e,n,i)):h.remove&&h.remove(e,n):h.dispose&&h.dispose(e,n)}},updateView:function(t,e,n,i){a.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,n,i)})},updateLayout:function(t,e,n,i){a.each(this._features,function(t){t.updateLayout&&t.updateLayout(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=c},"+UTs":function(t,e,n){var i=n("GxVO"),a=n("No7X"),o=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=o},"+Y0c":function(t,e,n){var i=new(n("zMj2"))(50);function a(){var t=this.__cachedImgObj;this.onload=this.__cachedImgObj=null;for(var e=0;en&&(n=e)});var i=e[0];i&&i.length-1>n&&(n=i.length-1);for(var o=[],r=0;r<=n;r++)o.push("dim"+r);return o}(u,s),c=a.map(h,function(t,n){var i=a.indexOf(u,t),h=i>=0&&e.getComponent("parallelAxis",o[i]);return h&&"category"===h.get("type")?(function(t,e,n){var i=t.get("data"),o=l(e);i&&i.length&&a.each(n,function(t){if(t){var e=a.indexOf(i,t[o]);t[o]=e>=0?e:NaN}})}(h,t,s),{name:t,type:"ordinal"}):i<0&&r.guessOrdinal(s,n)?{name:t,type:"ordinal"}:t}),d=new i(c,this);return d.initData(s),this.option.progressive&&(this.option.animation=!1),d},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:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}});function l(t){return+t.replace("dim","")}t.exports=s},"+bS+":function(t,e,n){var i=n("0sHC"),a=n("Ou7x"),o=n("zAPJ"),r=n("ay5B"),s=n("43ae"),l=["x","y"],u=["width","height"],h=a.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.coordinateSystem,u=f(l,1-d(s)),h=l.dataToPoint(e)[0],p=i.get("type");if(p&&"none"!==p){var g=o.buildElStyle(i),m=c[p](s,h,u,g);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=r.layout(n);o.buildCartesianSingleLabelElOption(e,t,v,n,i,a)},getHandleTransform:function(t,e,n){var i=r.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:o.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,o=a.coordinateSystem,r=d(a),s=f(o,r),l=t.position;l[r]+=e[r],l[r]=Math.min(s[1],l[r]),l[r]=Math.max(s[0],l[r]);var u=f(o,1-r),h=(u[1]+u[0])/2,c=[h,h];return c[r]=l[r],{position:l,rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(t,e,n,a){var r=o.makeLineShape([e,n[0]],[e,n[1]],d(t));return i.subPixelOptimizeLine({shape:r,style:a}),{type:"Line",shape:r}},shadow:function(t,e,n,i){var a=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:o.makeRectShape([e-a/2,n[0]],[a,r],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",h);var p=h;t.exports=p},"+jMe":function(t,e,n){var i=n("/gxq"),a=n("Pdtn"),o=n("Rfu2"),r=n("NGRG"),s=n("/n1K"),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.root,this.data,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),t=t||{},i.isString(t)&&(t={order:t});var a,o=t.order||"preorder",r=this[t.attr||"children"];"preorder"===o&&(a=e.call(n,this));for(var s=0;!a&&se&&(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=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)}},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=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[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getDataExtent(e,!0))},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.getTicksLabels=function(){for(var t=[],e=this.getTicks(),n=0;nr||t<-r}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)},u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),a=this.transform;n||e?(a=a||i.create(),n?this.getLocalTransform(a):o(a),e&&(n?i.mul(a,t.transform,a):i.copy(a,t.transform)),this.transform=a,this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,a)):a&&o(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=[];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=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],o=this.position,r=this.scale;s(n-1)&&(n=Math.sqrt(n)),s(a-1)&&(a=Math.sqrt(a)),e[0]<0&&(n=-n),e[3]<0&&(a=-a),o[0]=e[4],o[1]=e[5],r[0]=n,r[1]=a,this.rotation=Math.atan2(-e[1]/a,e[0]/n)}},u.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),n=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(n=-n),[e,n]},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){o(e=e||[]);var n=t.origin,a=t.scale||[1,1],r=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,a),r&&i.rotate(e,e,r),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var c=l;t.exports=c},"/gxq":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,o=Array.prototype,r=o.forEach,s=o.filter,l=o.slice,u=o.map,h=o.reduce,c={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,o=a.call(t);if("[object Array]"===o){e=[];for(var r=0,s=t.length;re[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 l(t){return t.getRadiusAxis().inverse?0:1}var u=n("43ae").extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,o=a.getRadiusAxis().getExtent(),s=n.getTicksCoords();"category"!==n.type&&s.pop(),i.each(r,function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,s,o)},this)}},_axisLine:function(t,e,n,i){var o=t.getModel("axisLine.lineStyle"),r=new a.Circle({shape:{cx:e.cx,cy:e.cy,r:i[l(e)]},style:o.getLineStyle(),z2:1,silent:!0});r.style.fill=null,this.group.add(r)},_axisTick:function(t,e,n,o){var r=t.getModel("axisTick"),u=(r.get("inside")?-1:1)*r.get("length"),h=o[l(e)],c=i.map(n,function(t){return new a.Line({shape:s(e,[h,h+u],t)})});this.group.add(a.mergePath(c,{style:i.defaults(r.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,n,i){for(var r=t.axis,s=t.get("data"),u=t.getModel("axisLabel"),h=t.getFormattedLabels(),c=u.get("margin"),d=r.getLabelsCoords(),f=0;fm?"left":"right",x=Math.abs(g[1]-v)/p<.3?"middle":g[1]>v?"top":"bottom";s&&s[f]&&s[f].textStyle&&(u=new o(s[f].textStyle,u,u.ecModel));var _=new a.Text({silent:!0});this.group.add(_),a.setTextStyle(_.style,u,{x:g[0],y:g[1],textFill:u.getTextColor()||t.get("axisLine.lineStyle.color"),text:h[f],textAlign:y,textVerticalAlign:x})}},_splitLine:function(t,e,n,o){var r=t.getModel("splitLine").getModel("lineStyle"),l=r.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],c=0;c=a.start.time&&n.time<=a.end.time))return[NaN,NaN];var r=n.day,s=this._getRangeInfo([a.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]:[this._rect.x+s*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 o=this.getNextNDay(a,-1);t=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var r=this._getRangeInfo(t);return r.start.time>r.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(),o=t[1].date.getDate();if(i.setDate(a+n-1),i.getDate()!==o)for(var r=i.getTime()-t[1].time>0?1:-1;i.getDate()!==o&&(i.getTime()-t[1].time)*r>0;)n-=r,i.setDate(a+n-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&&ei.lweek)return!1;var a=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+a),this.getDateInfo(o)}},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},r.register("calendar",s);var u=s;t.exports=u},"0O1a":function(t,e,n){var i=n("Icdr"),a=n("DZTl");n("Osoq"),n("w2H/"),n("mlpt"),n("XiVP"),n("H4Wn"),i.registerPreprocessor(a)},"0fQF":function(t,e){function n(){}function i(t,e,n,i){for(var a=0,o=e.length,r=0,s=0;a=o&&h+1>=r){for(var c=[],d=0;d=o&&d+1>=r)return i(a,l.components,e,t);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,o=n.length,r=t.newPos,s=r-i,l=0;r+1=0)&&(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=n.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),i}function Q(t,e,n,i,a,o){if("function"==typeof a&&(o=a,a=null),i&&i.isAnimationEnabled()){var r=t?"Update":"",s=i.getShallow("animationDuration"+r),l=i.getShallow("animationEasing"+r),u=i.getShallow("animationDelay"+r);"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,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function $(t,e,n,i,a){Q(!0,t,e,n,i,a)}function tt(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=r.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=D,e.makeImage=function(t,e,n){var i=new h({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var a={width:t.width,height:t.height};i.setStyle(P(e,a))}}});return i},e.mergePath=k,e.resizePath=O,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=R(e.x1,n,!0)),A(2*e.y1)===A(2*e.y2)&&(e.y1=e.y2=R(e.y1,n,!0)),t},e.subPixelOptimizeRect=function(t){var e=t.shape,n=t.style.lineWidth,i=e.x,a=e.y,o=e.width,r=e.height;return e.x=R(e.x,n,!0),e.y=R(e.y,n,!0),e.width=Math.max(R(i+o,n,!1)-e.x,0===o?0:1),e.height=Math.max(R(a+r,n,!1)-e.y,0===r?0:1),t},e.subPixelOptimize=R,e.setHoverStyle=function(t,e,n){t.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&W(t,e)}):W(t,e),t.on("mouseover",q).on("mouseout",F),t.on("emphasis",Z).on("normal",Y)},e.setLabelStyle=function(t,e,n,a,o,r,s){var l=(o=o||L).labelFetcher,u=o.labelDataIndex,h=o.labelDimIndex,c=n.getShallow("show"),d=a.getShallow("show"),f=c||d?i.retrieve2(l?l.getFormattedLabel(u,"normal",null,h):null,o.defaultText):null,p=c?f:null,g=d?i.retrieve2(l?l.getFormattedLabel(u,"emphasis",null,h):null,f):null;null==p&&null==g||(X(t,n,r,o),X(e,a,s,o,!0)),t.text=p,e.text=g},e.setTextStyle=X,e.setText=function(t,e,n){var i,a={isRectText:!0};!1===n?i=!0:a.autoColor=n,U(t,e,a,i),t.host&&t.host.dirty&&t.host.dirty(!1)},e.getFont=function(t,e){var n=e||e.getModel("textStyle");return[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=$,e.initProps=function(t,e,n,i,a){Q(!1,t,e,n,i,a)},e.getTransform=function(t,e){for(var n=r.identity([]);t&&t!==e;)r.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=tt,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]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-a:"bottom"===t?a:0];return o=tt(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,a){if(t&&e){var o,r=(o={},t.traverse(function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)}),o);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=l(t);t.attr(l(e)),$(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=T(n,e.x),n=C(n,e.x+e.width);var i=t[1];return i=T(i,e.y),[n,i=C(i,e.y+e.height)]})},e.clipRectByRect=function(t,e){var n=T(t.x,e.x),i=C(t.x+t.width,e.x+e.width),a=T(t.y,e.y),o=C(t.y+t.height,e.y+e.height);if(i>=n&&o>=a)return{x:n,y:a,width:i-n,height:o-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 h(e)):D(t.replace("path://",""),e,n,"center")}},"1A4n":function(t,e,n){var i=n("/gxq"),a=n("0sHC"),o=n("Ylhr");function r(t,e,n,i){var a=e.getData(),o=this.dataIndex,r=a.getName(o),l=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)),l,n)})}function s(t,e,n,i,a){var o=(e.startAngle+e.endAngle)/2,r=Math.cos(o),s=Math.sin(o),l=n?i:0,u=[r*l,s*l];a?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){a.Group.call(this);var n=new a.Sector({z2:2}),i=new a.Polyline,o=new a.Text;function r(){i.ignore=i.hoverIgnore,o.ignore=o.hoverIgnore}function s(){i.ignore=i.normalIgnore,o.ignore=o.normalIgnore}this.add(n),this.add(i),this.add(o),this.updateData(t,e,!0),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var u=l.prototype;u.updateData=function(t,e,n){var o=this.childAt(0),r=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e),h=i.extend({},u);(h.label=null,n)?(o.setShape(h),"scale"===r.getShallow("animationType")?(o.shape.r=u.r0,a.initProps(o,{shape:{r:u.r}},r,e)):(o.shape.endAngle=u.startAngle,a.updateProps(o,{shape:{endAngle:u.endAngle}},r,e))):a.updateProps(o,{shape:h},r,e);var c=l.getModel("itemStyle"),d=t.getItemVisual(e,"color");o.useStyle(i.defaults({lineJoin:"bevel",fill:d},c.getModel("normal").getItemStyle())),o.hoverStyle=c.getModel("emphasis").getItemStyle();var f=l.getShallow("cursor");function p(){o.stopAnimation(!0),o.animateTo({shape:{r:u.r+r.get("hoverOffset")}},300,"elasticOut")}function g(){o.stopAnimation(!0),o.animateTo({shape:{r:u.r}},300,"elasticOut")}f&&o.attr("cursor",f),s(this,t.getItemLayout(e),l.get("selected"),r.get("selectedOffset"),r.get("animation")),o.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&r.isAnimationEnabled()&&o.on("mouseover",p).on("mouseout",g).on("emphasis",p).on("normal",g),this._updateLabel(t,e),a.setHoverStyle(this)},u._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),o=t.hostModel,r=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]]}},o,e),a.updateProps(i,{style:{x:s.x,y:s.y}},o,e),i.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=r.getModel("label.normal"),h=r.getModel("label.emphasis"),c=r.getModel("labelLine.normal"),d=r.getModel("labelLine.emphasis");l=t.getItemVisual(e,"color");a.setLabelStyle(i.style,i.hoverStyle={},u,h,{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=!h.get("show"),n.ignore=n.normalIgnore=!c.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l,opacity:t.getItemVisual(e,"opacity")}),n.setStyle(c.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle();var f=c.get("smooth");f&&!0===f&&(f=.4),n.setShape({smooth:f})},i.inherits(l,a.Group);var h=o.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 o=t.getData(),s=this._data,u=this.group,h=e.get("animation"),c=!s,d=t.get("animationType"),f=i.curry(r,this.uid,t,h,n),p=t.get("selectedMode");if(o.diff(s).add(function(t){var e=new l(o,t);c&&"scale"!==d&&e.eachChild(function(t){t.stopAnimation(!0)}),p&&e.on("click",f),o.setItemGraphicEl(t,e),u.add(e)}).update(function(t,e){var n=s.getItemGraphicEl(e);n.updateData(o,t),n.off("click"),p&&n.on("click",f),u.add(n),o.setItemGraphicEl(t,n)}).remove(function(t){var e=s.getItemGraphicEl(t);u.remove(e)}).execute(),h&&c&&o.count()>0&&"scale"!==d){var g=o.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))}this._data=o}},dispose:function(){},_createClipPath:function(t,e,n,i,o,r,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:o}});return a.initProps(l,{shape:{endAngle:i+(o?1:-1)*Math.PI*2}},s,r),l},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,a=t[1]-n.cy,o=Math.sqrt(i*i+a*a);return o<=n.r&&o>=n.r0}}});t.exports=h},"1FNb":function(t,e,n){var i=n("Icdr"),a=n("/gxq");n("z81E"),n("0nGg"),n("iZVd");var o=n("T6W2"),r=n("AjK0"),s=n("akwy"),l=n("TXKS"),u=n("4RQY"),h=n("NAKW"),c=n("pzOI"),d=n("KGuM");i.registerProcessor(o),i.registerVisual(a.curry(r,"graph","circle",null)),i.registerVisual(s),i.registerVisual(l),i.registerLayout(u),i.registerLayout(h),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:d})},"1Hui":function(t,e){function n(t){return t}function i(t,e,i,a,o){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=a||n,this.context=o}function a(t,e,n,i,a){for(var o=0;oi||l.newline?(o=0,h=m,r+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(c=r+v)>a||l.newline?(o+=s+n,r=0,c=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=o,d[1]=r,"horizontal"===t?o=h+n:r=c+n)})}var c=h,d=i.curry(h,"vertical"),f=i.curry(h,"horizontal");function p(t,e,n){n=r.normalizeCssArray(n||0);var i=e.width,s=e.height,l=o(t.left,i),u=o(t.top,s),h=o(t.right,i),c=o(t.bottom,s),d=o(t.width,i),f=o(t.height,s),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=i-h-g-l),isNaN(f)&&(f=s-c-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-h-d-g),isNaN(u)&&(u=s-c-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-(h||0)),isNaN(f)&&(f=s-p-u-(c||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=c,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,n){var i=e.width,a=e.height,s=o(t.x,i),l=o(t.y,a),u=o(t.x2,i),h=o(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(h)||isNaN(parseFloat(t.y2)))&&(h=a),n=r.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(h-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,o,r){var s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(h=h.clone()).applyTransform(c)}e=p(i.defaults({width:h.width,height:h.height},e),n,o);var d=t.position,f=s?e.x-h.x:0,g=l?e.y-h.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 o=l(u[0],0),r=l(u[1],1);function l(n,i){var o={},r=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&r++,c(l,t)&&u++}),a[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&r){if(r>=2)return o;for(var d=0;d=0&&t.call(e,n[a],a)},r.eachEdge=function(t,e){for(var n=this.edges,i=n.length,a=0;a=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&t.call(e,n[a],a)},r.breadthFirstTraverse=function(t,e,n,i){if(e instanceof s||(e=this._nodesMap[a(e)]),e){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r=0&&n.node2.dataIndex>=0});for(a=0,o=i.length;a=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(s,u("hostGraph","data")),i.mixin(l,u("hostGraph","edgeData")),o.Node=s,o.Edge=l;var h=o;t.exports=h},"2HcM":function(t,e,n){var i=n("/gxq"),a=n("wWR3"),o=n("3yJd"),r=a.linearMap;function s(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var l=[0,1],u=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1,this._labelInterval};u.prototype={constructor:u,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 a.getPixelPrecision(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&&s(n=n.slice(),i.count()),r(t,l,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&s(n=n.slice(),i.count());var a=r(t,n,l,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){if(this.onBand&&!t){for(var e=this.getBands(),n=[],a=0;an||d+cr&&(r+=a);var p=Math.atan2(h,u);return p<0&&(p+=a),p>=o&&p<=r||p+a>=o&&p+a<=r}},"2M5Q":function(t,e,n){var i=n("moDv"),a=n("u+XU"),o=n("LICT"),r=n("oBGI"),s=n("2I/p"),l=n("ABnm").normalizeRadian,u=n("AAi1"),h=n("QxFU"),c=i.CMD,d=2*Math.PI,f=1e-4;var p=[-1,-1,-1],g=[-1,-1];function m(t,e,n,i,a,o,r,s,l,h){if(h>e&&h>i&&h>o&&h>s||h1&&(void 0,c=g[0],g[0]=g[1],g[1]=c),f=u.cubicAt(e,i,o,s,g[0]),y>1&&(m=u.cubicAt(e,i,o,s,g[1]))),2==y?_e&&s>i&&s>o||s=0&&h<=1){for(var c=0,d=u.quadraticAt(e,i,o,h),f=0;fn||s<-n)return 0;var u=Math.sqrt(n*n-s*s);p[0]=-u,p[1]=u;var h=Math.abs(i-a);if(h<1e-4)return 0;if(h%d<1e-4){i=0,a=d;var c=o?1:-1;return r>=p[0]+t&&r<=p[1]+t?c:0}if(o){u=i;i=l(a),a=l(u)}else 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>r){var v=Math.atan2(s,m);c=o?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&&(c=-c),f+=c)}}return f}function x(t,e,n,i,l){for(var u,d,p=0,g=0,x=0,_=0,b=0,w=0;w1&&(n||(p+=h(g,x,_,b,i,l))),1==w&&(_=g=t[w],b=x=t[w+1]),S){case c.M:g=_=t[w++],x=b=t[w++];break;case c.L:if(n){if(a.containStroke(g,x,t[w],t[w+1],e,i,l))return!0}else p+=h(g,x,t[w],t[w+1],i,l)||0;g=t[w++],x=t[w++];break;case c.C:if(n){if(o.containStroke(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],e,i,l))return!0}else p+=m(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],i,l)||0;g=t[w++],x=t[w++];break;case c.Q:if(n){if(r.containStroke(g,x,t[w++],t[w++],t[w],t[w+1],e,i,l))return!0}else p+=v(g,x,t[w++],t[w++],t[w],t[w+1],i,l)||0;g=t[w++],x=t[w++];break;case c.A:var M=t[w++],I=t[w++],A=t[w++],T=t[w++],C=t[w++],L=t[w++],D=(t[w++],1-t[w++]),P=Math.cos(C)*A+M,k=Math.sin(C)*T+I;w>1?p+=h(g,x,P,k,i,l):(_=P,b=k);var O=(i-M)*T/A+M;if(n){if(s.containStroke(M,I,T,C,C+L,D,e,O,l))return!0}else p+=y(M,I,T,C,C+L,D,O,l);g=Math.cos(C+L)*A+M,x=Math.sin(C+L)*T+I;break;case c.R:_=g=t[w++],b=x=t[w++];P=_+t[w++],k=b+t[w++];if(n){if(a.containStroke(_,b,P,b,e,i,l)||a.containStroke(P,b,P,k,e,i,l)||a.containStroke(P,k,_,k,e,i,l)||a.containStroke(_,k,_,b,e,i,l))return!0}else p+=h(P,b,P,k,i,l),p+=h(_,k,_,b,i,l);break;case c.Z:if(n){if(a.containStroke(g,x,_,b,e,i,l))return!0}else p+=h(g,x,_,b,i,l);g=_,x=b}}return n||(u=x,d=b,Math.abs(u-d)n-2?n-1:f+1],c=t[f>n-3?n-1:f+2]);var m=p*p,v=p*m;o.push([a(u[0],g[0],h[0],c[0],p,m,v),a(u[1],g[1],h[1],c[1],p,m,v)])}return o}},"2m1D":function(t,e,n){var i=n("EJsE"),a=n("ao1T"),o=i.extend({type:"series.__base_bar__",getInitialData:function(t,e){return a(t.data,this,e)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(t,!0),i=this.getData(),a=i.getLayout("offset"),o=i.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=a+o/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,itemStyle:{}}});t.exports=o},"2tOJ":function(t,e,n){var i=n("Icdr");n("orv6"),n("vEM8"),i.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},"2uoh":function(t,e,n){var i=n("/gxq"),a=n("3yJd");function o(t){return i.isObject(t)&&null!=t.value?t.value:t+""}var r={getFormattedLabels:function(){return a.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return"category"===this.get("type")&&i.map(this.get("data"),o)},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}};t.exports=r},"3h1/":function(t,e,n){var i=n("8b51"),a=n("+Y0c"),o=n("/gxq"),r=o.getContext,s=o.extend,l=o.retrieve2,u=o.retrieve3,h={},c=0,d=5e3,f=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,p="12px sans-serif",g={};function m(t,e){var n=t+":"+(e=e||p);if(h[n])return h[n];for(var i=(t+"").split("\n"),a=0,o=0,r=i.length;od&&(c=0,h={}),c++,h[n]=a,a}function v(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function y(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function x(t,e,n,i,a){if(!e)return"";var o=(t+"").split("\n");a=_(e,n,i,a);for(var r=0,s=o.length;r=o;u++)r-=o;var h=m(n);return h>r&&(n="",h=0),r=t-h,i.ellipsis=n,i.ellipsisWidth=h,i.contentWidth=r,i.containerWidth=t,i}function b(t,e){var n=e.containerWidth,i=e.font,a=e.contentWidth;if(!n)return"";var o=m(t,i);if(o<=n)return t;for(var r=0;;r++){if(o<=a||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?w(t,a,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*a/o):0;o=m(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function w(t,e,n,i){for(var a=0,o=0,r=t.length;ol)t="",o=[];else if(null!=u)for(var h=_(u-(n?n[1]+n[3]:0),e,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),c=0,d=o.length;co&&T(n,t.substring(o,r)),T(n,i[2],i[1]),o=f.lastIndex}oy)return{lines:[],width:0,height:0};z.textWidth=m(z.text,L);var P=A.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=A.textBackgroundColor,R=O&&O.image;R&&(R=a.findExistImage(R),a.isImageReady(R)&&(P=Math.max(P,R.width*D/R.height)))}var E=C?C[1]+C[3]:0;P+=E;var N=null!=v?v-M:null;null!=N&&N0&&u>0&&!h&&(s=0),s<0&&u<0&&!c&&(u=0)),[s,u]}function h(t,e){return"category"===t.type?t.scale.getLabel(e):e}n("dDRy"),n("xCbH"),e.getScaleExtent=u,e.niceScaleExtent=function(t,e){var n=u(t,e),i=null!=e.getMin(),a=null!=e.getMax(),o=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:o,fixMin:i,fixMax:a,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?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 o(t.getCategories(),[1/0,-1/0]);case"value":return new r;default:return(s.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.getAxisLabelInterval=function(t,e,n,i,o){var r,s=0,l=0,u=(i-o)/180*Math.PI,h=1;e.length>40&&(h=Math.floor(e.length/40));for(var c=0;c1?h:(s+1)*h-1},e.getFormattedLabels=function(t,e){var n,a=t.scale,o=a.getTicksLabels(),r=a.getTicks();return"string"==typeof e?(n=e,e=function(t){return n.replace("{value}",null!=t?t:"")},i.map(o,e)):"function"==typeof e?i.map(r,function(n,i){return e(h(t,n),i)},this):o},e.getAxisRawValue=h},"42YS":function(t,e,n){var i=n("CCtz"),a=n("eZxa"),o=n("/gxq"),r=o.isString,s=o.isFunction,l=o.isObject,u=o.isArrayLike,h=o.indexOf,c=function(){this.animators=[]};c.prototype={constructor:c,animate:function(t,e){var n,o=!1,r=this,s=this.__zr;if(t){var l=t.split("."),u=r;o="shape"===l[0];for(var c=0,d=l.length;c0&&this.animate(t,!1).when(null==i?500:i,o).delay(a||0),this}};var d=c;t.exports=d},"43ae":function(t,e,n){n("4Nz2").__DEV__;var i=n("Icdr"),a=n("QCrJ"),o=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&a.fixValue(t),o.superApply(this,"render",arguments),r(this,t,e,n,i,!0)},updateAxisPointer:function(t,e,n,i,a){r(this,t,e,n,i,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),o.superApply(this,"dispose",arguments)}});function r(t,e,n,i,r,l){var u=o.getAxisPointerClass(t.axisPointerClass);if(u){var h=a.getAxisPointerModel(e);h?(t._axisPointer||(t._axisPointer=new u)).render(e,h,i,l):s(t,i)}}function s(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var l=[];o.registerAxisPointerClass=function(t,e){l[t]=e},o.getAxisPointerClass=function(t){return t&&l[t]};var u=o;t.exports=u},"46eW":function(t,e,n){var i=n("GxVO").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),o=e.startAngle,r=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*a+n,u*a+i),t.arc(n,i,a,o,r,!s)}});t.exports=i},"4A6G":function(t,e,n){n("4Nz2").__DEV__;t.exports=function(t){t.eachSeriesByType("lines",function(t){var e=t.coordinateSystem,n=t.getData();n.each(function(i){var a=n.getItemModel(i),o=a.option instanceof Array?a.option:a.get("coords"),r=[];if(t.get("polyline"))for(var s=0;s-y}function b(t,e){e&&w(t,"transform","matrix("+h.call(e,",")+")")}function w(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function S(t,e,n){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==c}(e,n)){var i=n?e.textFill:e.fill;i="transparent"===i?c:i,"none"!==t.getAttribute("clip-path")&&i===c&&(i="rgba(0, 0, 0, 0.002)"),w(t,"fill",i),w(t,"fill-opacity",e.opacity)}else w(t,"fill",c);if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==c}(e,n)){var a=n?e.textStroke:e.stroke;w(t,"stroke",a="transparent"===a?c:a),w(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(e.strokeNoScale?e.host.getLineScale():1)),w(t,"paint-order","stroke"),w(t,"stroke-opacity",e.opacity),e.lineDash?(w(t,"stroke-dasharray",e.lineDash.join(",")),w(t,"stroke-dashoffset",d(e.lineDashOffset||0))):w(t,"stroke-dasharray",""),e.lineCap&&w(t,"stroke-linecap",e.lineCap),e.lineJoin&&w(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&w(t,"stroke-miterlimit",e.miterLimit)}else w(t,"stroke",c)}var M={};M.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 o=function(t){for(var e=[],n=t.data,i=t.len(),a=0;a=m||!_(M)&&(b>-g&&b<0||b>g)==!!S;var T=x(s+h*p(y)),C=x(l+c*f(y));I&&(b=S?m-1e-4:1e-4-m,A=!0,9===a&&e.push("M",T,C));var L=x(s+h*p(y+b)),D=x(l+c*f(y+b));e.push("A",x(h),x(c),d(w*v),+A,+S,L,D);break;case u.Z:o="Z";break;case u.R:L=x(n[a++]),D=x(n[a++]);var P=x(n[a++]),k=x(n[a++]);e.push("M",L,D,"L",L+P,D,"L",L+P,D+k,"L",L,D+k,"L",L,D)}o&&e.push(o);for(var O=0;O=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),o.superApply(this._model,"dispose",arguments)}}),r=o;t.exports=r},"5Hn/":function(t,e,n){var i=n("/gxq"),a=n("UAiw"),o=n("0sHC"),r=n("QD+P"),s=n("ilLo"),l=n("wWR3"),u=n("1Xuh"),h=n("og9+"),c=o.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._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,i){x.superApply(this,"render",arguments),r.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),r.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new o.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()},o=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},r=u.getLayoutParams(t.option);i.each(["right","top","width","height"],function(t){"ph"===r[t]&&(r[t]=o[t])});var s=u.getLayoutRect(r,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"),o=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==m||a?n===m&&a?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==n||a?{scale:r?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:r?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:r?[1,1]:[1,-1]});var s=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new c({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new c({shape:{x:0,y:0,width:e[0],height:e[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(),r=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=r){var s=a.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,h=[0,e[1]],c=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=c[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([r],function(t,e){if(v>0&&e%v)m+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:d(t,s,h,!0);n&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,i]),p.push([m,i]),m+=g,u=n}});var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.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(o,r){var s=t.getAxisProxy(o.name,r).getTargetSeriesModels();i.each(s,function(t){if(!(n||!0!==e&&i.indexOf(y,t.get("type"))<0)){var s,l=a.getComponent(o.axis,r).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],h=t.coordinateSystem;null!=u&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),n={thisAxis:l,series:t,thisDim:o.name,otherDim:u,otherAxisInverse:s}}},this)},this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,r=this._size,s=this.dataZoomModel;i.add(t.filler=new c({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 c(o.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),g([0,1],function(t){var r=o.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=r.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,r.setStyle(s.getModel("handleStyle").getItemStyle());var h=s.get("handleColor");null!=h&&(r.style.fill=h),i.add(e[t]=r);var c=s.textStyleModel;this.group.add(n[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.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(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];h(e,i,a,n.get("zoomLock")?"all":t,null!=o.minSpan?d(o.minSpan,r,a,!0):null,null!=o.maxSpan?d(o.maxSpan,r,a,!0):null),this._range=f([d(i[0],a,r,!0),d(i[1],a,r,!0)])},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=f(n.slice()),a=this._size;g([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[t],a[1]/2-o/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,r=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,h=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(h[0],l),this._formatLabel(h[1],l)]}}var c=f(this._handleEnds.slice());function d(t){var e=o.getTransform(n.handles[t].parent,this.group),s=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,u=o.applyTransform([c[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:r[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,a=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var r=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return i.isFunction(a)?a(t,r):i.isString(a)?a.replace("{value}",r):r},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n){this._dragging=!0;var i=this._displayables.barGroup.getLocalTransform(),a=o.applyTransform([e,n],i,!0);this._updateInterval(t,a[0]);var r=this.dataZoomModel.get("realtime");this._updateView(!r),r&&r&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),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=(i[0]+i[1])/2;this._updateInterval("all",n[0]-a),this._updateView(),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"}var b=x;t.exports=b},"5KWC":function(t,e){var n=["itemStyle","normal","borderColor"];t.exports=function(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var a=i[e.seriesIndex%i.length],o=e.getData();o.setVisual({legendSymbol:"roundRect",color:e.get(n)||a}),t.isSeriesFiltered(e)||o.each(function(t){var e=o.getItemModel(t);o.setItemVisual(t,{color:e.get(n,!0)})})})}},"5Mek":function(t,e,n){var i=n("/gxq"),a=n("qjvV"),o=n("UAiw"),r=n("mcsk");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=i.bind,n=e(l,this),o=e(u,this),r=e(h,this),s=e(c,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,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",o),t.on("mouseup",r)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",f))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",o),t.off("mouseup",r),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(!(o.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(!o.notLeftMouse(t)&&p(this,"moveOnMouseMove",t)&&this._dragging&&"pinch"!==t.gestureEvent&&!r.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&&o.stop(t.event),this.trigger("pan",s,l,i,a,e,n)}}function h(t){o.notLeftMouse(t)||(this._dragging=!1)}function c(t){if(p(this,"zoomOnMouseWheel",t)&&0!==t.wheelDelta){var e=t.wheelDelta>0?1.1:1/1.1;f.call(this,t,e,t.offsetX,t.offsetY)}}function d(t){if(!r.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;f.call(this,t,e,t.pinchX,t.pinchY)}}function f(t,e,n,i){this.pointerChecker&&this.pointerChecker(t,n,i)&&(o.stop(t.event),this.trigger("zoom",e,n,i))}function p(t,e,n){var a=t._opt[e];return a&&(!i.isString(a)||n.event[a+"Key"])}i.mixin(s,a);var g=s;t.exports=g},"5QRV":function(t,e,n){var i=n("/gxq"),a=n("ao1T"),o=n("3yJd"),r=n("2uoh"),s=n("Pdtn"),l=n("/n1K");e.completeDimensions=l;var u=n("kK7q");e.createSymbol=u.createSymbol,e.createList=function(t){var e=t.get("data");return a(e,t,t.ecModel)},e.createScale=function(t,e){var n=e;e instanceof s||(n=new s(e),i.mixin(n,r));var a=o.createScaleByModel(n);return a.setExtent(t[0],t[1]),o.niceScaleExtent(a,n),a},e.mixinAxisModelCommonMethods=function(t){i.mixin(t,r)}},"5dr1":function(t,e,n){var i=n("/gxq"),a=n("ct4P");function o(t){a.call(this,t)}o.prototype={constructor:o,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){var n=this.getAxis("x"),i=this.getAxis("y");return[n.toGlobalCoord(n.dataToCoord(t[0],e)),i.toGlobalCoord(i.dataToCoord(t[1],e))]},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return[n.coordToData(n.toLocalCoord(t[0]),e),i.coordToData(i.toLocalCoord(t[1]),e)]},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},i.inherits(o,a);var r=o;t.exports=r},"5vFd":function(t,e,n){n("4Nz2").__DEV__;var i=n("/gxq"),a=n("8b51"),o=n("1Xuh").getLayoutRect,r=n("3yJd"),s=n("5dr1"),l=n("RKzr"),u=n("rctg");n("BuI2");var h=i.each,c=r.ifAxisCrossZero,d=r.niceScaleExtent;function f(t,e,n){return t.getCoordSysModel()===e}function p(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}var g=p.prototype;function m(t,e,n){var i=t[e];if(n.onZero){var a=n.onZeroAxisIndex;if(null==a){for(var o in i){if(i.hasOwnProperty(o))if((r=i[o])&&!v(r)){a=+o;break}}null==a&&(n.onZero=!1),n.onZeroAxisIndex=a}else{var r;(r=i[a])&&v(r)&&(n.onZero=!1)}}}function v(t){return"category"===t.type||"time"===t.type||!c(t)}g.type="grid",g.axisPointerEnabled=!0,g.getRect=function(){return this._rect},g.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),h(n.x,function(t){d(t.scale,t.model)}),h(n.y,function(t){d(t.scale,t.model)}),h(n.x,function(t){m(n,"y",t)}),h(n.y,function(t){m(n,"x",t)}),this.resize(this.model,e)},g.resize=function(t,e,n){var i=o(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=i;var r=this._axesList;function s(){h(r,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)})}s(),!n&&t.get("containLabel")&&(h(r,function(t){if(!t.model.get("axisLabel.inside")){var e=function(t){var e,n,i,o,r,s,l,u,h,c=t.model,d=c.getFormattedLabels(),f=c.getModel("axisLabel"),p=1,g=d.length;g>40&&(p=Math.ceil(g/40));for(var m=0;m=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}}}),s=r;t.exports=s},"6Kqb":function(t,e,n){var i=n("GxVO").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},"6MCj":function(t,e,n){var i=n("YNzw"),a=n("C7PF").applyTransform,o=n("8b51"),r=n("DRaW"),s=n("3h1/"),l=n("qjrH"),u=n("taS8"),h=n("9qnA"),c=n("MAom"),d=n("/86O"),f=n("GxVO"),p=n("moDv"),g=n("wRzc"),m=n("cI6i"),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,A=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=M+","+M,t.coordorigin="0,0"},T=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},C=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},L=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},D=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=r.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=T(i[0],i[1],i[2]),t.opacity=n*i[3])},O=function(t,e,n,i){var o="fill"==e,s=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(o||!o&&n.lineWidth)?(t[o?"filled":"stroked"]="true",n[e]instanceof g&&L(t,s),s||(s=m.createNode(e)),o?function(t,e,n){var i,o,s=e.fill;if(null!=s)if(s instanceof g){var l,u=0,h=[0,0],c=0,d=1,f=n.getBoundingRect(),p=f.width,m=f.height;if("linear"===s.type){l="gradient";var v=n.transform,y=[s.x*p,s.y*m],x=[s.x2*p,s.y2*m];v&&(a(y,y,v),a(x,x,v));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial",y=[s.x*p,s.y*m],v=n.transform;var w=n.scale,I=p,A=m;h=[(y[0]-f.x)/I,(y[1]-f.y)/A],v&&a(y,y,v),I/=w[0]*M,A/=w[1]*M;var C=S(I,A);c=0/C,d=2*s.r/C-c}var L=s.colorStops.slice();L.sort(function(t,e){return t.offset-e.offset});for(var D=L.length,P=[],O=[],R=0;R=2){var z=P[0][0],V=P[1][0],B=P[0][1]*e.opacity,H=P[1][1]*e.opacity;t.type=l,t.method="none",t.focus="100%",t.angle=u,t.color=z,t.color2=V,t.colors=O.join(","),t.opacity=H,t.opacity2=B}"radial"===l&&(t.focusposition=h.join(","))}else k(t,s,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),C(t,s)):(t[o?"filled":"stroked"]="false",L(t,s))},R=[[],[],[]];f.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),A(n),this._vmlEl=n),O(n,"fill",e,this),O(n,"stroke",e,this);var i=this.transform,o=null!=i,r=n.getElementsByTagName("stroke")[0];if(r){var s=e.lineWidth;if(o&&!e.strokeNoScale){var l=i[0]*i[3]-i[1]*i[2];s*=x(_(l))}r.weight=s+"px"}var u=this.path||(this.path=new p);this.__dirtyPath&&(u.beginPath(),this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){var n,i,o,r,s,l,u=v.M,h=v.C,c=v.L,d=v.A,f=v.Q,p=[],g=t.data,m=t.len();for(r=0;r.01?W&&(q+=.0125):Math.abs(F-z)<1e-4?W&&qN?T-=.0125:T+=.0125:W&&Fz?A+=.0125:A-=.0125),p.push(Z,y(((N-V)*k+D)*M-I),",",y(((z-B)*O+P)*M-I),",",y(((N+V)*k+D)*M-I),",",y(((z+B)*O+P)*M-I),",",y((q*k+D)*M-I),",",y((F*O+P)*M-I),",",y((A*k+D)*M-I),",",y((T*O+P)*M-I)),s=A,l=T;break;case v.R:var Y=R[0],X=R[1];Y[0]=g[r++],Y[1]=g[r++],X[0]=Y[0]+g[r++],X[1]=Y[1]+g[r++],e&&(a(Y,Y,e),a(X,X,e)),Y[0]=y(Y[0]*M-I),X[0]=y(X[0]*M-I),Y[1]=y(Y[1]*M-I),X[1]=y(X[1]*M-I),p.push(" m ",Y[0],",",Y[1]," l ",X[0],",",Y[1]," l ",X[0],",",X[1]," l ",Y[0],",",X[1]);break;case v.Z:p.push(" x ")}if(n>0){p.push(i);for(var U=0;U100&&(z=0,N={});var n,i=V.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(t){}e={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},N[t]=e,z++}return e}(o.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(r,b,v,x);var w=this.transform;if(w&&!i&&(B.copy(e),B.applyTransform(w),e=B),i)p=e.x,g=e.y;else{var S=o.textPosition,M=o.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 T,L,k,R=m.createNode,E=this._textVmlEl;E?L=(T=(k=E.firstChild).nextSibling).nextSibling:(E=R("line"),T=R("path"),L=R("textpath"),k=R("skew"),L.style["v-text-align"]="left",A(E),T.textpathok=!0,L.on=!0,E.from="0 0",E.to="1000 0.05",C(E,k),C(E,T),C(E,L),this._textVmlEl=E);var H=[p,g],G=E.style;w&&i?(a(H,H,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(H[0])||0)+","+(y(H[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"),L.string=String(r).replace(/&/g,"&").replace(/"/g,""");try{L.style.font=b}catch(t){}O(E,"fill",{fill:o.textFill,opacity:o.opacity},this),O(E,"stroke",{stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash},this),E.style.zIndex=D(this.zlevel,this.z,this.z2),C(t,E)}},G=function(t){L(t,this._textVmlEl),this._textVmlEl=null},W=function(t){C(t,this._textVmlEl)},q=[u,h,c,f,d],F=0;Fr;)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]}};var r=o;t.exports=r},"6f6q":function(t,e,n){var i=n("Icdr"),a=n("/gxq");function o(t,e,n){var i,o={},r="toggleSelected"===t;return n.eachComponent("legend",function(n){r&&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);o.hasOwnProperty(e)?o[e]=o[e]&&i:o[e]=i}})}),{name:e.name,selected:o}}i.registerAction("legendToggleSelect","legendselectchanged",a.curry(o,"toggleSelected")),i.registerAction("legendSelect","legendselected",a.curry(o,"select")),i.registerAction("legendUnSelect","legendunselected",a.curry(o,"unSelect"))},"6n1D":function(t,e,n){var i=n("0sHC"),a=n("bzOU");function o(t){return isNaN(t[0])||isNaN(t[1])}function r(t){return!o(t[0])&&!o(t[1])}function s(t){this._ctor=t||a,this.group=new i.Group}var l=s.prototype;l.updateData=function(t){var e=this._lineData,n=this.group,i=this._ctor,a=t.hostModel,o={lineStyle:a.getModel("lineStyle.normal").getLineStyle(),hoverLineStyle:a.getModel("lineStyle.emphasis").getLineStyle(),labelModel:a.getModel("label.normal"),hoverLabelModel:a.getModel("label.emphasis")};t.diff(e).add(function(e){if(r(t.getItemLayout(e))){var a=new i(t,e,o);t.setItemGraphicEl(e,a),n.add(a)}}).update(function(a,s){var l=e.getItemGraphicEl(s);r(t.getItemLayout(a))?(l?l.updateData(t,a,o):l=new i(t,a,o),t.setItemGraphicEl(a,l),n.add(l)):n.remove(l)}).remove(function(t){n.remove(e.getItemGraphicEl(t))}).execute(),this._lineData=t},l.updateLayout=function(){var t=this._lineData;t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},l.remove=function(){this.group.removeAll()};var u=s;t.exports=u},"7XrG":function(t,e,n){var i=n("Icdr").extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",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},"7bL3":function(t,e,n){var i=n("Icdr"),a=n("/gxq");n("4V7L"),n("8DFW"),n("6HoR");var o=n("nQkE"),r=n("h6Uy"),s=n("l4Op");i.registerLayout(o),i.registerVisual(r),i.registerProcessor(a.curry(s,"themeRiver"))},"80cc":function(t,e,n){var i=n("Icdr");n("6JAQ"),n("6f6q"),n("8RN9");var a=n("JIsR"),o=n("Y5nL");i.registerProcessor(a),o.registerSubTypeDefaulter("legend",function(){return"plain"})},"80zD":function(t,e,n){var i=n("Icdr"),a=n("/gxq");function o(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);var o=n.coordinateSystem;a.each(o.regions,function(t){i[t.name]=n.isSelected(t.name)||!1})}),{selected:i,name:e.name}})}n("whrq"),n("srbS"),n("jpt2"),n("FvdC"),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},"87tG":function(t,e,n){n("JNWs"),n("sTIA")},"8DFW":function(t,e,n){var i=n("/n1K"),a=n("EJsE"),o=n("Rfu2"),r=n("/gxq"),s=n("HHfb").encodeHTML,l=n("P05t"),u=a.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){u.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){for(var e=t.length,n=l().key(function(t){return t[2]}).entries(t),i=r.map(n,function(t){return{name:t.key,dataList:t.values}}),a=i.length,o=-1,s=-1,u=0;uo&&(o=h,s=u)}for(var c=0;c=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)};var f=d;t.exports=f},"997V":function(t,e,n){n("jJrn"),n("xLO3"),n("lVde")},"9N6q":function(t,e,n){var i=n("/gxq"),a=n("YNzw"),o=n("AlhT"),r=n("HKuw");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=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof o&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return 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};var u=l;t.exports=u},"9Owa":function(t,e,n){var i=n("/gxq").each,a="\0_ec_hist_store";function o(t){var e=t[a];return e||(e=t[a]=[{}]),e}e.push=function(t,e){var n=o(t);i(e,function(e,i){for(var a=n.length-1;a>=0&&!n[a][i];a--);if(a<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var r=o.getPercentRange();n[0][i]={dataZoomId:i,start:r[0],end:r[1]}}}}),n.push(e)},e.pop=function(t){var e=o(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 o(t).length}},"9Z3y":function(t,e,n){var i=n("wWR3"),a=i.parsePercent,o=i.linearMap,r=n("XhgW"),s=n("/gxq"),l=2*Math.PI,u=Math.PI/180;t.exports=function(t,e,n,i){e.eachSeriesByType(t,function(t){var e=t.get("center"),i=t.get("radius");s.isArray(i)||(i=[0,i]),s.isArray(e)||(e=[e,e]);var h=n.getWidth(),c=n.getHeight(),d=Math.min(h,c),f=a(e[0],h),p=a(e[1],c),g=a(i[0],d/2),m=a(i[1],d/2),v=t.getData(),y=-t.get("startAngle")*u,x=t.get("minAngle")*u,_=0;v.each("value",function(t){!isNaN(t)&&_++});var b=v.getSum("value"),w=Math.PI/(b||_)*2,S=t.get("clockwise"),M=t.get("roseType"),I=t.get("stillShowZeroSum"),A=v.getDataExtent("value");A[0]=0;var T=l,C=0,L=y,D=S?1:-1;if(v.each("value",function(t,e){var n;if(isNaN(t))v.setItemLayout(e,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:f,cy:p,r0:g,r:M?NaN:m});else{(n="area"!==M?0===b&&I?w:t*w:l/_)-l&&tl||t<-l}function v(t,e,n,i,a){var o=1-a;return o*o*(o*t+3*a*e)+a*a*(a*i+3*o*n)}function y(t,e,n,i){var a=1-i;return a*(a*t+2*i*e)+i*i*n}e.cubicAt=v,e.cubicDerivativeAt=function(t,e,n,i,a){var o=1-a;return 3*(((e-t)*o+2*(n-e)*a)*o+(i-n)*a*a)},e.cubicRootAt=function(t,e,n,i,a,o){var l=i+3*(e-n)-t,u=3*(n-2*e+t),d=3*(e-t),f=t-a,p=u*u-3*l*d,m=u*d-9*l*f,v=d*d-3*u*f,y=0;if(g(p)&&g(m))g(u)?o[0]=0:(L=-d/u)>=0&&L<=1&&(o[y++]=L);else{var x=m*m-4*p*v;if(g(x)){var _=m/p,b=-_/2;(L=-u/l+_)>=0&&L<=1&&(o[y++]=L),b>=0&&b<=1&&(o[y++]=b)}else if(x>0){var w=s(x),S=p*u+1.5*l*(-m+w),M=p*u+1.5*l*(-m-w);(L=(-u-((S=S<0?-r(-S,c):r(S,c))+(M=M<0?-r(-M,c):r(M,c))))/(3*l))>=0&&L<=1&&(o[y++]=L)}else{var I=(2*p*u-3*l*m)/(2*s(p*p*p)),A=Math.acos(I)/3,T=s(p),C=Math.cos(A),L=(-u-2*T*C)/(3*l),D=(b=(-u+T*(C+h*Math.sin(A)))/(3*l),(-u+T*(C-h*Math.sin(A)))/(3*l));L>=0&&L<=1&&(o[y++]=L),b>=0&&b<=1&&(o[y++]=b),D>=0&&D<=1&&(o[y++]=D)}}return y},e.cubicExtrema=function(t,e,n,i,a){var o=6*n-12*e+6*t,r=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(g(r))m(o)&&(c=-l/o)>=0&&c<=1&&(a[u++]=c);else{var h=o*o-4*r*l;if(g(h))a[0]=-o/(2*r);else if(h>0){var c,d=s(h),f=(-o-d)/(2*r);(c=(-o+d)/(2*r))>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u},e.cubicSubdivide=function(t,e,n,i,a,o){var r=(e-t)*a+t,s=(n-e)*a+e,l=(i-n)*a+n,u=(s-r)*a+r,h=(l-s)*a+s,c=(h-u)*a+u;o[0]=t,o[1]=r,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i},e.cubicProjectPoint=function(t,e,n,i,a,r,l,h,c,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=c,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=v(t,n,a,l,I),f[1]=v(e,i,r,h,I),(b=o(d,f))=0&&b=0&&c<=1&&(a[u++]=c);else{var h=r*r-4*o*l;if(g(h))(c=-r/(2*o))>=0&&c<=1&&(a[u++]=c);else if(h>0){var c,d=s(h),f=(-r-d)/(2*o);(c=(-r+d)/(2*o))>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}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 o=(e-t)*i+t,r=(n-e)*i+e,s=(r-o)*i+o;a[0]=t,a[1]=o,a[2]=s,a[3]=s,a[4]=r,a[5]=n},e.quadraticProjectPoint=function(t,e,n,i,a,r,l,h,c){var g,m=.005,v=1/0;d[0]=l,d[1]=h;for(var x=0;x<1;x+=.05)f[0]=y(t,n,a,x),f[1]=y(e,i,r,x),(S=o(d,f))=0&&S=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(g,20))),f.coord[c]=p.coord[c]=u,a=[f,p,{type:s,valueIndex:a.valueIndex,value:u}]}return(a=[r.dataTransform(t,a[0]),r.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 u(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,n,i){var a=1-t,o=i.dimensions[t];return u(e[a])&&u(n[a])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function c(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 r.dataFilter(t,e[0])&&r.dataFilter(t,e[1])}function d(t,e,n,i,a){var r,s=i.coordinateSystem,l=t.getItemModel(e),h=o.parsePercent(l.get("x"),a.getWidth()),c=o.parsePercent(l.get("y"),a.getHeight());if(isNaN(h)||isNaN(c)){if(i.getMarkerPosition)r=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,f=t.get(d[0],e),p=t.get(d[1],e);r=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;u(t.get(d[0],e))?r[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):u(t.get(d[1],e))&&(r[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(h)||(r[0]=h),isNaN(c)||(r[1]=c)}else r=[h,c];t.setItemLayout(e,r)}var f=n("SZjP").extend({type:"markLine",updateLayout:function(t,e,n){e.eachSeries(function(t){var e=t.markLineModel;if(e){var i=e.getData(),a=e.__from,o=e.__to;a.each(function(e){d(a,e,!0,t,n),d(o,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[a.getItemLayout(t),o.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,n,o){var u=t.coordinateSystem,h=t.id,f=t.getData(),p=this.markerGroupMap,g=p.get(h)||p.set(h,new s);this.group.add(g.group);var m=function(t,e,n){var o;o=t?i.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return n.name=t,n}):[{name:"value",type:"float"}];var s=new a(o,n),u=new a(o,n),h=new a([],n),d=i.map(n.get("data"),i.curry(l,e,t,n));t&&(d=i.filter(d,i.curry(c,t)));var f=t?r.dimValueGetter:function(t){return t.value};return s.initData(i.map(d,function(t){return t[0]}),null,f),u.initData(i.map(d,function(t){return t[1]}),null,f),h.initData(i.map(d,function(t){return t[2]})),h.hasItemOption=!0,{from:s,to:u,line:h}}(u,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);d(e,n,i,t,o),e.setItemVisual(n,{symbolSize:a.get("symbolSize")||b[i?0:1],symbol:a.get("symbol",!0)||_[i?0:1],color:a.get("itemStyle.normal.color")||f.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.normal.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=f},AbHi:function(t,e,n){var i=n("YNzw"),a=n("FIAY"),o=n("dCQY"),r=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:r.title,type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:r.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",o=document.createElement("a"),r=n.get("type",!0)||"png";o.download=a+"."+r,o.target="_blank";var s=e.getConnectedDataURL({type:r,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(o.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,h=new Uint8Array(u);u--;)h[u]=l.charCodeAt(u);var c=new Blob([h]);window.navigator.msSaveOrOpenBlob(c,a+"."+r)}else{var d=n.get("lang"),f='';window.open().document.write(f)}else{var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});o.dispatchEvent(p)}},o.register("saveAsImage",s);var l=s;t.exports=l},AjK0:function(t,e){t.exports=function(t,e,n,i,a){i.eachRawSeriesByType(t,function(t){var a=t.getData(),o=t.get("symbol")||e,r=t.get("symbolSize");a.setVisual({legendSymbol:n||o,symbol:o,symbolSize:r}),i.isSeriesFiltered(t)||("function"==typeof r&&a.each(function(e){var n=t.getRawValue(e),i=t.getDataParams(e);a.setItemVisual(e,"symbolSize",r(n,i))}),a.each(function(t){var e=a.getItemModel(t),n=e.getShallow("symbol",!0),i=e.getShallow("symbolSize",!0);null!=n&&a.setItemVisual(t,"symbol",n),null!=i&&a.setItemVisual(t,"symbolSize",i)}))})}},AjST:function(t,e,n){var i=n("Icdr");n("Po+l"),n("MsVc");var a=n("5KWC"),o=n("YbE0");i.registerVisual(a),i.registerLayout(o)},AlhT:function(t,e,n){var i=n("/gxq"),a=n("avYi"),o=n("8b51"),r=function(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};r.prototype={constructor:r,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=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 r&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,a=this._children,o=i.indexOf(a,t);return o<0?this:(a.splice(o,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof r&&t.delChildrenFromStorage(n)),e&&e.refresh(),this)},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e>1^-(1&s),l=l>>1^-(1&l),a=s+=a,o=l+=o,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;i0}),function(t){var e=t.properties,n=t.geometry,o=n.coordinates,r=[];"Polygon"===n.type&&r.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===n.type&&i.each(o,function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new a(e.name,r,e.cp);return s.properties=e,s})}},B123:function(t,e,n){var i=n("/gxq"),a={get:function(t,e,n){var a=i.clone((o[t]||{})[e]);return n&&i.isArray(a)?a[a.length-1]:a}},o={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]}},r=a;t.exports=r},B33o:function(t,e,n){var i=n("8b51"),a=n("wUOi"),o=n("C7PF"),r=n("N1qP");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],r=[-e,-e],s=[],l=[],u=this.geometries,h=0;h.5?e:t}function c(t,e,n,i,a){var o=t.length;if(1==a)for(var r=0;ra)t.length=a;else for(var o=i;o=0&&!(T[n]<=e);n--);n=Math.min(n,_-2)}else{for(n=H;n<_&&!(T[n]>e);n++);n=Math.min(n-1,_-2)}H=n,G=e;var i=T[n+1]-T[n];if(0!==i)if(E=(e-T[n])/i,x)if(z=C[n],N=C[0===n?n:n-1],V=C[n>_-2?_-1:n+1],B=C[n>_-3?_-1:n+2],S)p(N,z,V,B,E,E*E,E*E*E,m(t,s),A);else{if(M)a=p(N,z,V,B,E,E*E,E*E*E,W,1),a=v(W);else{if(I)return h(z,V,E);a=g(N,z,V,B,E,E*E,E*E*E)}y(t,s,a)}else if(S)c(C[n],C[n+1],E,m(t,s),A);else{var a;if(M)c(C[n],C[n+1],E,W,1),a=v(W);else{if(I)return h(C[n],C[n+1],E);a=u(C[n],C[n+1],E)}y(t,s,a)}},ondestroy:n});return e&&"spline"!==e&&(q.easing=e),q}}}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;tS.x)||(_-=Math.PI);var A=b?"left":"right";x.setStyle({textPosition:A,textRotation:-_,textOrigin:"center",verticalAlign:"middle"})}if(c.parentNode&&c.parentNode!==f){var T=n.__edge;T||(T=n.__edge=new a.BezierCurve({shape:d(l,v,v),style:i.defaults({opacity:0},l.lineStyle)})),a.updateProps(T,{shape:d(l,m,y),style:{opacity:1}},s),r.add(T)}}function c(t,e,n,i,o,r){for(var s,l=t.tree.getNodeByDataIndex(e),h=t.tree.root,c=(r=u(l,l.getModel(),r),l.parentNode===h?l:l.parentNode||l);null==(s=c.getLayout());)c=c.parentNode===h?c:c.parentNode||c;a.updateProps(n,{position:[s.x+1,s.y+1]},o,function(){i.remove(n),t.setItemGraphicEl(e,null)}),n.fadeOut(null,{keepLabel:!0});var f=n.__edge;f&&a.updateProps(f,{shape:d(r,s,s),style:{opacity:0}},o,function(){i.remove(f)})}function d(t,e,n){var i,a,o,s,l=t.orient;if("radial"===t.layout){var u=e.rawX,h=e.rawY,c=n.rawX,d=n.rawY,f=r(u,h),p=r(u,h+(d-h)*t.curvature),g=r(c,d+(h-d)*t.curvature),m=r(c,d);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}}u=e.x,h=e.y,c=n.x,d=n.y;return"horizontal"===l&&(i=u+(c-u)*t.curvature,a=h,o=c+(u-c)*t.curvature,s=d),"vertical"===l&&(i=u,a=h+(d-h)*t.curvature,o=c,s=d+(h-d)*t.curvature),{x1:u,y1:h,x2:c,y2:d,cpx1:i,cpy1:a,cpx2:o,cpy2:s}}t.exports=s},CWSg:function(t,e){var n=["lineStyle","normal","opacity"];t.exports=function(t){t.eachSeriesByType("parallel",function(e){var i=e.getModel("itemStyle.normal"),a=e.getModel("lineStyle.normal"),o=t.get("color"),r=a.get("color")||i.get("color")||o[e.seriesIndex%o.length],s=e.get("inactiveOpacity"),l=e.get("activeOpacity"),u=e.getModel("lineStyle.normal").getLineStyle(),h=e.coordinateSystem,c=e.getData(),d={normal:u.opacity,active:l,inactive:s};h.eachActiveState(c,function(t,e){var i=c.getItemModel(e),a=d[t];if("normal"===t){var o=i.get(n,!0);null!=o&&(a=o)}c.setItemVisual(e,"opacity",a)}),c.setVisual("color",r)})}},CiLi:function(t,e,n){var i=n("/gxq"),a=n("0sHC"),o=n("GxVO").extend({type:"whiskerInBox",shape:{},buildPath:function(t,e){for(var n in e)if(e.hasOwnProperty(n)&&0===n.indexOf("ends")){var i=e[n];t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1])}}});function r(t,e,n,i){a.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=n,this._createContent(t,e,i),this.updateData(t,e,i),this._seriesModel}var s=r.prototype;function l(t,e,n){return i.map(t,function(t){return(t=t.slice())[e]=n.initBaseline,t})}function u(t){var e={};return i.each(t,function(t,n){e["ends"+n]=t}),e}function h(t){this.group=new a.Group,this.styleUpdater=t}s._createContent=function(t,e,n){var r=t.getItemLayout(e),s="horizontal"===r.chartLayout?1:0,h=0;this.add(new a.Polygon({shape:{points:n?l(r.bodyEnds,s,r):r.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=h++;var c=i.map(r.whiskerEnds,function(t){return n?l(t,s,r):t});this.add(new o({shape:u(c),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=h++},s.updateData=function(t,e,n){var i=this._seriesModel=t.hostModel,o=t.getItemLayout(e),r=a[n?"initProps":"updateProps"];r(this.childAt(this.bodyIndex),{shape:{points:o.bodyEnds}},i,e),r(this.childAt(this.whiskerIndex),{shape:u(o.whiskerEnds)},i,e),this.styleUpdater.call(null,this,t,e)},i.inherits(r,a.Group);var c=h.prototype;c.updateData=function(t){var e=this.group,n=this._data,i=this.styleUpdater;t.diff(n).add(function(n){if(t.hasValue(n)){var a=new r(t,n,i,!0);t.setItemGraphicEl(n,a),e.add(a)}}).update(function(a,o){var s=n.getItemGraphicEl(o);t.hasValue(a)?(s?s.updateData(t,a):s=new r(t,a,i),e.add(s),t.setItemGraphicEl(a,s)):e.remove(s)}).remove(function(t){var i=n.getItemGraphicEl(t);i&&e.remove(i)}).execute(),this._data=t},c.remove=function(){var t=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(e){e&&t.remove(e)})};var d=h;t.exports=d},Cuh7:function(t,e,n){var i=n("0sHC"),a=n("Icdr"),o=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0},buildPath:function(t,e){var n=e.extent/2;t.moveTo(e.x1,e.y1-n),t.bezierCurveTo(e.cpx1,e.cpy1-n,e.cpx2,e.cpy2-n,e.x2,e.y2-n),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()}}),r=a.extendChartView({type:"sankey",_model:null,render:function(t,e,n){var a=t.getGraph(),r=this.group,s=t.layoutInfo,l=t.getData(),u=t.getData("edge");this._model=t,r.removeAll(),r.attr("position",[s.x,s.y]),a.eachEdge(function(e){var n=new o;n.dataIndex=e.dataIndex,n.seriesIndex=t.seriesIndex,n.dataType="edge";var a=e.getModel("lineStyle.normal"),s=a.get("curveness"),l=e.node1.getLayout(),h=e.node2.getLayout(),c=e.getLayout();n.shape.extent=Math.max(1,c.dy);var d=l.x+l.dx,f=l.y+c.sy+c.dy/2,p=h.x,g=h.y+c.ty+c.dy/2,m=d*(1-s)+p*s,v=f,y=d*s+p*(1-s),x=g;switch(n.setShape({x1:d,y1:f,x2:p,y2:g,cpx1:m,cpy1:v,cpx2:y,cpy2:x}),n.setStyle(a.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("lineStyle.emphasis").getItemStyle()),r.add(n),u.setItemGraphicEl(e.dataIndex,n)}),a.eachNode(function(e){var n=e.getLayout(),a=e.getModel(),o=a.getModel("label.normal"),s=a.getModel("label.emphasis"),u=new i.Rect({shape:{x:n.x,y:n.y,width:e.getLayout().dx,height:e.getLayout().dy},style:a.getModel("itemStyle.normal").getItemStyle()}),h=e.getModel("itemStyle.emphasis").getItemStyle();i.setLabelStyle(u.style,h,o,s,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),u.setStyle("fill",e.getVisual("color")),i.setHoverStyle(u,h),r.add(u),l.setItemGraphicEl(e.dataIndex,u),u.dataType="node"}),!this._data&&t.get("animation")&&r.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,n),a}(r.getBoundingRect(),t,function(){r.removeClipPath()})),this._data=t.getData()},dispose:function(){}});t.exports=r},D7EH:function(t,e,n){var i=n("0sHC"),a=n("Ou7x"),o=n("zAPJ"),r=n("koEO"),s=n("43ae"),l=a.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.grid,c=i.get("type"),d=u(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(e,!0));if(c&&"none"!==c){var p=o.buildElStyle(i),g=h[c](s,f,d,p);g.style=p,t.graphicKey=g.type,t.pointer=g}var m=r.layout(l.model,n);o.buildCartesianSingleLabelElOption(e,t,m,n,i,a)},getHandleTransform:function(t,e,n){var i=r.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:o.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,o=a.grid,r=a.getGlobalExtent(!0),s=u(o,a).getOtherAxis(a).getGlobalExtent(),l="x"===a.dim?0:1,h=t.position;h[l]+=e[l],h[l]=Math.min(r[1],h[l]),h[l]=Math.max(r[0],h[l]);var c=(s[1]+s[0])/2,d=[c,c];d[l]=h[l];return{position:h,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 h={line:function(t,e,n,a){var r=o.makeLineShape([e,n[0]],[e,n[1]],c(t));return i.subPixelOptimizeLine({shape:r,style:a}),{type:"Line",shape:r}},shadow:function(t,e,n,i){var a=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:o.makeRectShape([e-a/2,n[0]],[a,r],c(t))}}};function c(t){return"x"===t.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",l);var d=l;t.exports=d},DHpS:function(t,e,n){var i=n("/gxq"),a=n("Y5nL"),o=n("RYbJ"),r=n("eH0a"),s=n("wWR3"),l=n("2uoh"),u=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["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)return"inactive";for(var n=0,i=e.length;n255?255:t}function o(t){return t<0?0:t>1?1:t}function r(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100):o(parseFloat(t))}function l(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function u(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 c(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new(n("zMj2"))(20),f=null;function p(t,e){f&&c(f,e),f=d.put(t,f||e.slice())}function g(t,e){if(t){e=e||[];var n=d.get(t);if(n)return c(e,n);var a,o=(t+="").replace(/ /g,"").toLowerCase();if(o in i)return c(e,i[o]),p(t,e),e;if("#"===o.charAt(0))return 4===o.length?(a=parseInt(o.substr(1),16))>=0&&a<=4095?(h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,1),p(t,e),e):void h(e,0,0,0,1):7===o.length?(a=parseInt(o.substr(1),16))>=0&&a<=16777215?(h(e,(16711680&a)>>16,(65280&a)>>8,255&a,1),p(t,e),e):void h(e,0,0,0,1):void 0;var l=o.indexOf("("),u=o.indexOf(")");if(-1!==l&&u+1===o.length){var f=o.substr(0,l),g=o.substr(l+1,u-(l+1)).split(","),v=1;switch(f){case"rgba":if(4!==g.length)return void h(e,0,0,0,1);v=s(g.pop());case"rgb":return 3!==g.length?void h(e,0,0,0,1):(h(e,r(g[0]),r(g[1]),r(g[2]),v),p(t,e),e);case"hsla":return 4!==g.length?void h(e,0,0,0,1):(g[3]=s(g[3]),m(g,e),p(t,e),e);case"hsl":return 3!==g.length?void h(e,0,0,0,1):(m(g,e),p(t,e),e);default:return}}h(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),o=s(t[2]),r=o<=.5?o*(i+1):o+i-o*i,u=2*o-r;return h(e=e||[],a(255*l(u,r,n+1/3)),a(255*l(u,r,n)),a(255*l(u,r,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=e[r],h=e[s],c=i-r;return n[0]=a(u(l[0],h[0],c)),n[1]=a(u(l[1],h[1],c)),n[2]=a(u(l[2],h[2],c)),n[3]=o(u(l[3],h[3],c)),n}}var y=v;function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=g(e[r]),h=g(e[s]),c=i-r,d=b([a(u(l[0],h[0],c)),a(u(l[1],h[1],c)),a(u(l[2],h[2],c)),o(u(l[3],h[3],c))],"rgba");return n?{color:d,leftIndex:r,rightIndex:s,value:i}:d}}var _=x;function b(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=g,e.lift=function(t,e){var n=g(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;return b(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=v,e.fastMapToColor=y,e.lerp=x,e.mapToColor=_,e.modifyHSL=function(t,e,n,i){if(t=g(t))return t=function(t){if(t){var e,n,i=t[0]/255,a=t[1]/255,o=t[2]/255,r=Math.min(i,a,o),s=Math.max(i,a,o),l=s-r,u=(s+r)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+r):l/(2-s-r);var h=((s-i)/6+l/2)/l,c=((s-a)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-c:a===s?e=1/3+h-d:o===s&&(e=2/3+c-h),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]=s(n)),null!=i&&(t[2]=s(i)),b(m(t),"rgba");var a},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=o(e),b(t,"rgba")},e.stringify=b},DZTl:function(t,e,n){var i=n("/gxq"),a=i.each;function o(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){o(t,"splitList")&&!o(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&i.isArray(e)&&a(e,function(t){i.isObject(t)&&(o(t,"start")&&!o(t,"min")&&(t.min=t.start),o(t,"end")&&!o(t,"max")&&(t.max=t.end))})}})}},DknX:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("oDOe"),r=n("XCrL"),s=n("9Owa"),l=n("og9+"),u=n("FIAY"),h=n("dCQY");n("l2wH");var c=u.toolbox.dataZoom,d=a.each,f="\0_ec_\0toolbox-dataZoom_";function p(t,e,n){(this._brushController=new o(n.getZr())).on("brush",a.bind(this._onBrush,this)).mount(),this._isZoomActive}p.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(c.title)};var g=p.prototype;g.render=function(t,e,n,i){this.model=t,this.ecModel=e,this.api=n,function(t,e,n,i,a){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var s=new r(v(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(!!o&&{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)},g.onclick=function(t,e,n){m[n].call(this)},g.remove=function(t,e){this._brushController.unmount()},g.dispose=function(t,e){this._brushController.dispose()};var m={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function v(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}g._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new r(v(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 o=e.getAxis(t),r=o.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,r,i),u=s.findRepresentativeAxisProxy(r).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(a=l(0,a.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}},g._dispatchZoomAction=function(t){var e=[];d(t,function(t,n){e.push(a.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},h.register("dataZoom",p),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;o("xAxis",i),o("yAxis",i)}}function o(n,i){if(i){var o=n+"Index",r=i[o];null==r||"all"==r||a.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(e,n){var i=t[e];a.isArray(i)||(i=i?[i]:[]);d(i,n)}(n,function(t,i){if(null==r||"all"==r||-1!==a.indexOf(r,i)){var s={type:"select",$fromToolbox:!0,id:f+n+i};s[o]=i,e.push(s)}})}}});var y=p;t.exports=y},DpwM:function(t,e,n){var i=n("/gxq"),a=n("YNzw"),o=n("vXqC").makeGetter(),r=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();o(u).records||(o(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);r(o(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)})}o(t).initialized||(o(t).initialized=!0,n("click",i.curry(l,"click")),n("mousemove",i.curry(l,"mousemove")),n("globalout",s))}(u,e),(o(u).records[t]||(o(u).records[t]={})).handler=n}},e.unregister=function(t,e){if(!a.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},E7aA:function(t,e,n){var i=n("/gxq"),a=n("5Mek"),o=n("QD+P"),r=i.curry,s="\0_ec_dataZoom_roams";function l(t){var e=t.getZr();return e[s]||(e[s]={})}function u(t){i.each(t,function(e,n){e.count||(e.controller.dispose(),delete t[n])})}function h(t,e,n,i,a,o,r){d(t,function(s){return s.panGetRange(t.controller,e,n,i,a,o,r)})}function c(t,e,n,i){d(t,function(a){return a.zoomGetRange(t.controller,e,n,i)})}function d(t,e){var n=[];i.each(t.dataZoomInfos,function(t){var i=e(t);!t.disabled&&i&&n.push({dataZoomId:t.dataZoomId,start:i[0],end:i[1]})}),t.dispatchAction(n)}function f(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var n=l(t),s=e.dataZoomId,d=e.coordId;i.each(n,function(t,n){var a=t.dataZoomInfos;a[s]&&i.indexOf(e.allCoordIds,d)<0&&(delete a[s],t.count--)}),u(n);var p=n[d];p||((p=n[d]={coordId:d,dataZoomInfos:{},count:0}).controller=function(t,e){var n=new a(t.getZr());return n.on("pan",r(h,e)),n.on("zoom",r(c,e)),n}(t,p),p.dispatchAction=i.curry(f,t)),!p.dataZoomInfos[s]&&p.count++,p.dataZoomInfos[s]=e;var g,m,v,y,x=(g=p.dataZoomInfos,v={},y={true:2,move:1,false:0,undefined:-1},i.each(g,function(t){var e=!t.disabled&&(!t.zoomLock||"move");y[e]>y[m]&&(m=e),i.extend(v,t.roamControllerOpt)}),{controlType:m,opt:v});p.controller.enable(x.controlType,x.opt),p.controller.setPointerChecker(e.containsPoint),o.createOrUpdate(p,"dispatchAction",e.throttleRate,"fixRate")},e.unregister=function(t,e){var n=l(t);i.each(n,function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)}),u(n)},e.shouldRecordRange=function(t,e){if(t&&"dataZoom"===t.type&&t.batch)for(var n=0,i=t.batch.length;n":"")+u.join(o?"
":", ")}(o):s(l(o)),c=a.getName(t),p=a.getItemVisual(t,"color");i.isObject(p)&&p.colorStops&&(p=(p.colorStops[0]||{}).color);var g=u(p=p||"transparent"),m=this.name;return"\0-"===m&&(m=""),m=m?s(m)+(e?": ":"
"):"",e?g+m+h:m+g+(c?s(c)+": "+h:h)},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(){c(this,"data",d(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(t,e){var n=this.ecModel,i=g.getColorFromPalette.call(this,t,e);return i||(i=n.getColorFromPalette(t,e)),i},getAxisTooltipData:null,getTooltipPosition:null});i.mixin(x,f.dataFormatMixin),i.mixin(x,g);var _=x;t.exports=_},ERCD:function(t,e,n){var i=n("1Xuh");function a(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function o(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function r(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 o=n[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(o)}},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 o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,a+=o.hierNode.change,i+=o.hierNode.shift+a}}(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,h=u.parentNode.children[0],c=e,d=l.hierNode.modifier,f=u.hierNode.modifier,p=h.hierNode.modifier,g=c.hierNode.modifier;c=a(c),u=o(u),c&&u;){l=a(l),h=o(h),l.hierNode.ancestor=t;var m=c.hierNode.prelim+g-u.hierNode.prelim-f+i(c,u);m>0&&(s(r(c,t,n),t,m),f+=m,d+=m),g+=c.hierNode.modifier,f+=u.hierNode.modifier,d+=l.hierNode.modifier,p+=h.hierNode.modifier}c&&!a(l)&&(l.hierNode.thread=c,l.hierNode.modifier+=g-d),u&&!o(h)&&(h.hierNode.thread=u,h.hierNode.modifier+=f-p,n=t)}return n}(t,l,t.parentNode.hierNode.defaultAncestor||i[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!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()})}},F8oC:function(t,e,n){var i=n("/gxq"),a=n("Y5nL"),o=n("Rfu2"),r=n("vXqC"),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:{normal:{},emphasis:{}},label:{normal:{color:"#000"},emphasis:{}},data:[]},init:function(t,e,n){this._data,this._names,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,o=r.getDataItemValue(t);i.isObject(t)?(n=i.clone(t)).value=e:n=e,s.push(n),i.isString(o)||null!=o&&!isNaN(o)||(o=""),a.push(o+"")}),e=s}var l={category:"ordinal",time:"time"}[n]||"number";(this._data=new o([{name:"value",type:l}],this)).initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},FIAY:function(t,e){t.exports={toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}}}},Fkmw:function(t,e,n){var i=n("/gxq"),a=n("DRaW"),o=n("Rfu2"),r=n("wWR3"),s=n("0sHC"),l=n("vx1D"),u=function(t,e,n,a){var o=l.dataTransform(t,a[0]),r=l.dataTransform(t,a[1]),s=i.retrieve,u=o.coord,h=r.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),h[0]=s(h[0],1/0),h[1]=s(h[1],1/0);var c=i.mergeAll([{},o,r]);return c.coord=[o.coord,r.coord],c.x0=o.x,c.y0=o.y,c.x1=r.x,c.y1=r.y,c};function h(t){return!isNaN(t)&&!isFinite(t)}function c(t,e,n,i){var a=1-t;return h(e[a])&&h(n[a])}function d(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!c(1,n,i)&&!c(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 f(t,e,n,i,a){var o,s=i.coordinateSystem,l=t.getItemModel(e),u=r.parsePercent(l.get(n[0]),a.getWidth()),c=r.parsePercent(l.get(n[1]),a.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(n,e));else{var d=t.get(n[0],e),f=t.get(n[1],e);o=s.dataToPoint([d,f],!0)}if("cartesian2d"===s.type){var p=s.getAxis("x"),g=s.getAxis("y");d=t.get(n[0],e),f=t.get(n[1],e);h(d)?o[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):h(f)&&(o[1]=g.toGlobalCoord(g.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];return o}var p=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];n("SZjP").extend({type:"markArea",updateLayout:function(t,e,n){e.eachSeries(function(t){var e=t.markAreaModel;if(e){var a=e.getData();a.each(function(e){var o=i.map(p,function(i){return f(a,e,i,t,n)});a.setItemLayout(e,o),a.getItemGraphicEl(e).setShape("points",o)})}},this)},renderSeries:function(t,e,n,r){var l=t.coordinateSystem,h=t.name,c=t.getData(),g=this.markerGroupMap,m=g.get(h)||g.set(h,{group:new s.Group});this.group.add(m.group),m.__keep=!0;var v=function(t,e,n){var a,r;t?(a=i.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return n.name=t,n}),r=new o(i.map(["x0","y0","x1","y1"],function(t,e){return{name:t,type:a[e%2].type}}),n)):r=new o(a=[{name:"value",type:"float"}],n);var s=i.map(n.get("data"),i.curry(u,e,t,n));t&&(s=i.filter(s,i.curry(d,t)));var l=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return r.initData(s,null,l),r.hasItemOption=!0,r}(l,t,e);e.setData(v),v.each(function(e){v.setItemLayout(e,i.map(p,function(n){return f(v,e,n,t,r)})),v.setItemVisual(e,{color:c.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 o=v.getItemModel(n),r=o.getModel("label.normal"),l=o.getModel("label.emphasis"),u=v.getItemVisual(n,"color");t.useStyle(i.defaults(o.getModel("itemStyle.normal").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=o.getModel("itemStyle.emphasis").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,r,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")}})},FlXs:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("QD+P"),r=n("i6Ks");n("qSkD"),n("KjPy"),n("LjPz");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)),o.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(r)},FvdC:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("ii60").updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},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 r=o(i,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===n&&a.each(e.seriesGroup,function(t){t.setCenter(r.center),t.setZoom(r.zoom)})}})})},GQGX:function(t,e,n){var i=n("/gxq");function a(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},r=a.normal||(a.normal={}),s={normal:1,emphasis:1};i.each(a,function(t,e){s[e]||o(r,e)||(r[e]=t)}),n.label&&!o(a,"emphasis")&&(a.emphasis=n.label,delete n.label)}function o(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),o(t,"controlPosition")){var r=t.controlStyle||(t.controlStyle={});o(r,"position")||(r.position=t.controlPosition),"none"!==r.position||o(r,"show")||(r.show=!1,delete r.position),delete t.controlPosition}i.each(t.data||[],function(t){i.isObject(t)&&!i.isArray(t)&&(!o(t,"value")&&o(t,"name")&&(t.value=t.name),a(t))})}(t)})}},GWV8:function(t,e,n){var i=n("/gxq"),a=n("wWR3"),o=n("s1Aj"),r=i.each,s=a.asc,l=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function u(t,e){var n=t.getAxisModel(),i=t._percentWindow,o=t._valueWindow;if(i){var r=a.getPixelPrecision(o,[0,500]);r=Math.min(r,20);var s=e||0===i[0]&&100===i[1];n.setRange(s?null:+o[0].toFixed(r),s?null:+o[1].toFixed(r))}}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(o.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,o=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)===(o.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(),o=[0,100],l=[t.start,t.end],u=[];return r(["startValue","endValue"],function(e){u.push(null!=t[e]?n.parse(t[e]):null)}),r([0,1],function(t){var r=u[t],s=l[t];"percent"===i[t]?(null==s&&(s=o[t]),r=n.parse(a.linearMap(s,o,e,!0))):s=a.linearMap(r,e,o,!0),u[t]=r,l[t]=s}),{valueWindow:s(u),percentWindow:s(l)}},reset:function(t){if(t===this._dataZoomModel){this._dataExtent=function(t,e,n){var i=[1/0,-1/0];r(n,function(t){var n=t.getData();n&&r(t.coordDimToDataDim(e),function(t){var e=n.getDataExtent(t);e[0]i[1]&&(i[1]=e[1])})}),i[1]0?0:NaN);var r=n.getMax(!0);null!=r&&"dataMax"!==r&&"function"!=typeof r?e[1]=r:a&&(e[1]=o>0?o-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,i),i}(this,this._dimName,this.getTargetSeriesModels());var e=this.calculateDataWindow(t.option);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,function(t){var e=t._minMaxSpan={},n=t._dataZoomModel;r(["min","max"],function(i){e[i+"Span"]=n.get(i+"Span");var o=n.get(i+"ValueSpan");if(null!=o&&(e[i+"ValueSpan"]=o,null!=(o=t.getAxisModel().axis.scale.parse(o)))){var r=t._dataExtent;e[i+"Span"]=a.linearMap(r[0]+o,r,[0,100],!0)}})}(this),u(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(t){if(t===this._dataZoomModel){var e=this._dimName,n=this.getTargetSeriesModels(),i=t.get("filterMode"),a=this._valueWindow;if("none"!==i){var o=this.getOtherAxisModel();t.get("$fromToolbox")&&o&&"category"===o.get("type")&&(i="empty"),r(n,function(t){var n=t.getData(),o=t.coordDimToDataDim(e);"weakFilter"===i?n&&n.filterSelf(function(t){for(var e,i,r,s=0;sa[1];if(u&&!h&&!c)return!0;u&&(r=!0),h&&(e=!0),c&&(i=!0)}return r&&e&&i}):n&&r(o,function(e){"empty"===i?t.setData(n.map(e,function(t){return s(t)?t:NaN})):n.filterSelf(e,s)})})}}function s(t){return t>=a[0]&&t<=a[1]}}};var h=l;t.exports=h},GbHy:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("m/6y");n("5vFd"),n("DPh+"),n("eHPu"),n("UkNE"),i.registerLayout(a.curry(o,"bar")),i.registerVisual(function(t){t.eachSeriesByType("bar",function(t){t.getData().setVisual("legendSymbol","roundRect")})})},Gevp:function(t,e,n){var i=n("EJsE"),a=n("Rfu2"),o=n("/n1K"),r=n("/gxq"),s=n("HHfb").encodeHTML,l=i.extend({type:"series.radar",dependencies:["radar"],init:function(t){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){var n=t.data||[],i=o([],n,{extraPrefix:"indicator_",extraFromZero:!0}),r=new a(i,this);return r.initData(n),r},formatTooltip:function(t){var e=this.getRawValue(t),n=this.coordinateSystem.getIndicatorAxes(),i=this.getData().getName(t);return s(""===i?this.name:i)+"
"+r.map(n,function(t,n){return s(t.name+" : "+e[n])}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}}),u=l;t.exports=u},GnMB:function(t,e,n){var i=n("/gxq"),a=n("kK7q").createSymbol,o=n("0sHC").Group,r=n("wWR3").parsePercent,s=n("1bHA");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){o.call(this);var n=new s(t,e),i=new o;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var h=u.prototype;h.stopEffectAnimation=function(){this.childAt(1).removeAll()},h.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),o=0;o<3;o++){var r=a(e,-1,-1,2,2,n);r.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-o/3*t.period+t.effectOffset;r.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),r.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(r)}l(i,t)},h.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],a=0;a=0?i+=g:i-=g:_>=0?i-=g:i+=g}return i}t.exports=function(t,e){var n=[],o=i.quadraticSubdivide,r=[[],[],[]],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 h=t.getLayout(),d=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");h.__original||(h.__original=[a.clone(h[0]),a.clone(h[1])],h[2]&&h.__original.push(a.clone(h[2])));var p=h.__original;if(null!=h[2]){if(a.copy(r[0],p[0]),a.copy(r[1],p[2]),a.copy(r[2],p[1]),d&&"none"!=d){var g=u(t.node1),m=c(r,p[0],g*e);o(r[0][0],r[1][0],r[2][0],m,n),r[0][0]=n[3],r[1][0]=n[4],o(r[0][1],r[1][1],r[2][1],m,n),r[0][1]=n[3],r[1][1]=n[4]}f&&"none"!=f&&(g=u(t.node2),m=c(r,p[1],g*e),o(r[0][0],r[1][0],r[2][0],m,n),r[1][0]=n[1],r[2][0]=n[2],o(r[0][1],r[1][1],r[2][1],m,n),r[1][1]=n[1],r[2][1]=n[2]),a.copy(h[0],r[0]),a.copy(h[1],r[2]),a.copy(h[2],r[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(h[0],s[0]),a.copy(h[1],s[1])})}},Gp87:function(t,e,n){var i=n("Pgdp").extend({type:"timeline"});t.exports=i},Gw4f:function(t,e,n){var i=n("/gxq"),a=n("wRzc"),o=function(t,e,n,i,o,r){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=r||!1,a.call(this,o)};o.prototype={constructor:o},i.inherits(o,a);var r=o;t.exports=r},GxVO:function(t,e,n){var i=n("9qnA"),a=n("/gxq"),o=n("moDv"),r=n("2M5Q"),s=n("dZ2L").prototype.getCanvasPattern,l=Math.abs,u=new o(!0);function h(t){i.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var n,i=this.style,a=this.path||u,o=i.hasStroke(),r=i.hasFill(),l=i.fill,h=i.stroke,c=r&&!!l.colorStops,d=o&&!!h.colorStops,f=r&&!!l.image,p=o&&!!h.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(c&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,l,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,h,n)));c?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(h,t));var g=i.lineDash,m=i.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();a.setScale(y[0],y[1]),this.__dirtyPath||g&&!v&&o?(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)),r&&a.fill(t),g&&v&&(t.setLineDash(g),t.lineDashOffset=m),o&&a.stroke(t),g&&v&&t.setLineDash([]),this.restoreTransform(t),null!=i.text&&this.drawRectText(t,this.getBoundingRect())},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new o),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 r=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(r=Math.max(r,this.strokeContainThreshold||4)),s>1e-10&&(a.width+=r/s,a.height+=r/s,a.x-=r/s/2,a.y-=r/s/2)}return a}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),a=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=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)),r.containStroke(o,s/l,t,e)))return!0}if(a.hasFill())return r.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!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}},h.extend=function(t){var e=function(e){h.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,h),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},a.inherits(h,i);var c=h;t.exports=c},H4Od:function(t,e,n){var i=n("/gxq"),a=n("C7PF"),o=n("dOVI"),r=n("8b51"),s=n("/ZBO"),l=a.applyTransform;function u(){s.call(this)}function h(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransform=new u,this._viewTransform=new u,this._center,this._zoom}function c(t,e,n,i){var a=n.seriesModel,o=a?a.coordinateSystem:null;return o===this?o[t](i):null}i.mixin(u,s),h.prototype={constructor:h,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new r(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 r(t,e,n,i)},transformTo:function(t,e,n,i){var a=this.getBoundingRect(),o=this._viewTransform;o.transform=a.calculateTransform(new r(t,e,n,i)),o.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._roamTransform},_updateCenterAndZoom:function(){var t=this._viewTransform.getLocalTransform(),e=this._roamTransform,n=this.getDefaultCenter(),i=this.getCenter(),o=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=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransform,e=this._viewTransform;e.parent=t,t.updateTransform(),e.updateTransform(),e.transform&&o.copy(this.transform||(this.transform=[]),e.transform),this.transform?(this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform)):this.invTransform=null,this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t){var e=this.transform;return e?l([],t,e):[t[0],t[1]]},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(c,"dataToPoint"),convertFromPixel:i.curry(c,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(h,s);var d=h;t.exports=d},H4Wn:function(t,e,n){n("Icdr").registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})})},HGSA:function(t,e,n){var i=n("/gxq"),a=n("DRaW"),o=n("wWR3").linearMap,r=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 o=h[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[e],"piecewise"===e?(c(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(r(e,function(t,e){a[t]=e}),!i.isArray(n)){var o=[];i.isObject(n)?r(n,function(t,e){var n=a[e];o[null!=n?n:l]=t}):o[l]=n,n=x(t,o)}for(var s=e.length-1;s>=0;s--)null==n[s]&&(delete a[e[s]],e.pop())}(a):c(a,!0):(i.assert("linear"!==e||a.dataExtent),c(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 h=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 o=!!i;return!n&&(e=this._normalizeData(e)),i=a.fastLerp(e,t.parsedVisual,i),o?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])},symbol:{applyVisual:function(t,e,n){var a=this.mapValueToVisual(t);if(i.isString(a))n("symbol",a);else if(s(a))for(var o in a)a.hasOwnProperty(o)&&n(o,a[o])},_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 c(t,e){var n=t.visual,a=[];i.isObject(n)?r(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(o(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 o(e,t,this.option.visual,!0)},category:g,piecewise:function(e,n){var i=y.call(this,n);return null==i&&(i=o(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 o(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 o(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/g,">").replace(/"/g,""").replace(/'/g,"'")}var l=["a","b","c","d","e","f","g"],u=function(t,e){return"{"+t+(null==e?"":e)+"}"};var h=function(t){return t<10?"0"+t:t};var c=a.truncateText,d=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=r,e.encodeHTML=s,e.formatTpl=function(t,e,n){i.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var o=e[0].$vars||[],r=0;r':""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=o.parseDate(e),a=n?"UTC":"",r=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"](),d=i["get"+a+"Seconds"]();return t=t.replace("MM",h(s)).replace("M",s).replace("yyyy",r).replace("yy",r%100).replace("dd",h(l)).replace("d",l).replace("hh",h(u)).replace("h",u).replace("mm",h(c)).replace("m",c).replace("ss",h(d)).replace("s",d)},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=c,e.getTextRect=d},HKuw:function(t,e){var n=32,i=7;function a(t,e,n,i){var a=e+1;if(a===n)return 1;if(i(t[a++],t[e])<0){for(;a=0;)a++;return a-e}function o(t,e,n,i,a){for(i===e&&i++;i>>1])<0?l=o:s=o+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]=r}}function r(t,e,n,i,a,o){var r=0,s=0,l=1;if(o(t,e[n+a])>0){for(s=i-a;l0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=r;r=a-l,l=a-u}for(r++;r>>1);o(t,e[n+h])>0?r=h+1:l=h}return l}function s(t,e,n,i,a,o){var r=0,s=0,l=1;if(o(t,e[n+a])<0){for(s=a+1;ls&&(l=s);var u=r;r=a-l,l=a-u}else{for(s=i-a;l=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=a,l+=a}for(r++;r>>1);o(t,e[n+h])<0?l=h:r=h+1}return l}function l(t,e){var n,a,o,l=i,u=0;n=t.length;var h=[];function c(n){var c=a[n],d=o[n],f=a[n+1],p=o[n+1];o[n]=d+p,n===u-3&&(a[n+1]=a[n+2],o[n+1]=o[n+2]),u--;var g=s(t[f],t,c,d,0,e);c+=g,0!==(d-=g)&&0!==(p=r(t[c+d-1],t,f,p,p-1,e))&&(d<=p?function(n,a,o,u){var c=0;for(c=0;c=i||m>=i);if(v)break;y<0&&(y=0),y+=2}if((l=y)<1&&(l=1),1===a){for(c=0;c=0;c--)t[m+c]=t[g+c];return void(t[p]=h[f])}var v=l;for(;;){var y=0,x=0,_=!1;do{if(e(h[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0==--a){_=!0;break}}else if(t[p--]=h[f--],x++,y=0,1==--u){_=!0;break}}while((y|x)=0;c--)t[m+c]=t[g+c];if(0===a){_=!0;break}}if(t[p--]=h[f--],1==--u){_=!0;break}if(0!==(x=u-r(t[d],h,0,u,u-1,e))){for(u-=x,m=(p-=x)+1,g=(f-=x)+1,c=0;c=i||x>=i);if(_)break;v<0&&(v=0),v+=2}(l=v)<1&&(l=1);if(1===u){for(m=(p-=a)+1,g=(d-=a)+1,c=a-1;c>=0;c--)t[m+c]=t[g+c];t[p]=h[f]}else{if(0===u)throw new Error;for(g=p-(u-1),c=0;c1;){var t=u-2;if(t>=1&&o[t-1]<=o[t]+o[t+1]||t>=2&&o[t-2]<=o[t]+o[t-1])o[t-1]o[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;u>1;){var t=u-2;t>0&&o[t-1]=n;)e|=1&t,t>>=1;return t+e}(s);do{if((u=a(t,i,r,e))c&&(d=c),o(t,i,i+d,i+u,e),u=d}h.pushRun(i,u),h.mergeRuns(),s-=u,i+=u}while(0!==s);h.forceMergeRuns()}}}},HcG6:function(t,e,n){var i=n("/gxq"),a=n("8b51"),o=n("Axyt"),r=n("H4Od"),s=[n("Qv0P"),n("cU6c"),n("WxG6"),n("k7nC")];function l(t,e,n,a,o){r.call(this,t),this.map=e,this._nameCoordMap=i.createHashMap(),this.loadGeoJson(n,a,o)}function u(t,e,n,i){var a=n.geoModel,o=n.seriesModel,r=a?a.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return r===this?r[t](i):null}l.prototype={constructor:l,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n=0){if(!l){if((l=this._progressiveLayers[Math.min(h++,4)]).ctx.save(),l.renderScope={},l&&l.__progress>l.__maxProgress){g=l.__nextIdxNotProg-1;continue}u=l.__progress,l.__dirty||(f=u),l.__progress=f+1}x===f&&this._doPaintEl(v,l,!0,l.renderScope)}else this._doPaintEl(v,n,e,s);v.__dirty=!1}}l&&p(l),r&&r.restore(),this._furtherProgressive=!1,a.each(this._progressiveLayers,function(t){t.__maxProgress>=t.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(t,e,n,i){var a=e.ctx,o=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!o||o[0]||o[3])&&(!t.culling||!function(t,e,n){return p.copy(t.getBoundingRect()),t.transform&&p.applyTransform(t.transform),g.width=e,g.height=n,!p.intersect(g)}(t,this._width,this._height))){var r=t.__clipPaths;(i.prevClipLayer!==e||function(t,e){if(t==e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n0&&t>i[0]){for(s=0;st);s++);r=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(r){var u=r.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 o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,a=this._zlevelList;for(i=0;i=0){s!==g&&(s=g,h++);var m=f.__frame=h-1;if(!r){var v=Math.min(u,4);(r=n[v])||(r=n[v]=new l("progressive",this,this.dpr)).initContext(),r.__maxProgress=0}r.__dirty=r.__dirty||f.__dirty,r.elCount++,r.__maxProgress=Math.max(r.__maxProgress,m),r.__maxProgress>=r.__progress&&(p.__dirty=!0)}else f.__frame=-1,r&&(r.__nextIdxNotProg=c,u++,r=null)}r&&(u++,r.__nextIdxNotProg=c),this.eachBuiltinLayer(function(t,e){i[e]!==t.elCount&&(t.__dirty=!0)}),n.length=Math.min(u,5),a.each(n,function(t,e){o[e]!==t.elCount&&(f.__dirty=!0),t.__dirty&&(t.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?a.merge(n[t],e,!0):n[t]=e;var i=this._layers[t];i&&a.merge(i,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){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 o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);a.each(this._progressiveLayers,function(n){n.resize(t,e)}),this.refresh(!0)}return this._width=t,this._height=e,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(t=t||{},this._singleCanvas)return this._layers[0].dom;var e=new l("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clearColor=t.backgroundColor,e.clear();var n,i=this.storage.getDisplayList(!0),a={},o=this;function r(t,n){var i,a=o._zlevelList;null==t&&(t=-1/0);for(var r=0;rt&&s=0&&a.each(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)n|=!!a.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n|=o.containPoint(e,t))}},this)},this),!!n},E.getVisual=function(t,e){var n=this._model,i=(t=x.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=a?i.getItemVisual(a,e):i.getVisual(e)},E.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},E.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var z={update:function(t){var e=this._model,n=this._api,i=this._coordSysMgr,a=this._zr;if(e){e.restoreData(),i.create(this._model,this._api),function(t,e){S(K,function(n){n.func(t,e)})}.call(this,e,n),function(t){var e={};t.eachSeries(function(t){var n=t.get("stack"),i=t.getData();if(n&&"list"===i.type){var a=e[n];e.hasOwnProperty(n)&&a&&(i.stackedOn=a),e[n]=i}})}.call(this,e),i.update(e,n),F.call(this,e,t),function(t,e){var n=this._api;S(this._componentsViews,function(i){var a=i.__model;i.render(a,t,n,e),U(a,i)},this),S(this._chartsViews,function(t){t.__alive=!1},this),t.eachSeries(function(i,a){var o=this._chartsMap[i.__viewId];o.__alive=!0,o.render(i,t,n,e),o.group.silent=!!i.get("silent"),U(i,o),X(i,o)},this),Y(this._zr,t),S(this._chartsViews,function(e){e.__alive||e.remove(t,n)},this)}.call(this,e,t);var s=e.get("backgroundColor")||"transparent",l=a.painter;if(l.isSingleCanvas&&l.isSingleCanvas())a.configLayer(0,{clearColor:s});else{if(!r.canvasSupported){var u=o.parse(s);s=o.stringify(u,"rgb"),0===u[3]&&(s="transparent")}s.colorStops||s.image?(a.configLayer(0,{clearColor:s}),this.__hasGradientOrPatternBg=!0,this._dom.style.background="transparent"):(this.__hasGradientOrPatternBg&&a.configLayer(0,{clearColor:null}),this.__hasGradientOrPatternBg=!1,this._dom.style.background=s)}S($,function(t){t(e,n)})}},updateView:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),F.call(this,e,t),W.call(this,"updateView",e,t))},updateVisual:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),F.call(this,e,t,!0),W.call(this,"updateVisual",e,t))},updateLayout:function(t){var e=this._model;e&&(function(t,e){var n=this._api;S(tt,function(i){i.isLayout&&i.func(t,n,e)})}.call(this,e,t),W.call(this,"updateLayout",e,t))},prepareAndUpdate:function(t){var e=this._model;q.call(this,"component",e),q.call(this,"chart",e),z.update.call(this,t)}};function V(t,e,n,i,a){var o=t._model;if(i){var r={};r[i+"Id"]=n[i+"Id"],r[i+"Index"]=n[i+"Index"],r[i+"Name"]=n[i+"Name"];var s={mainType:i,query:r};a&&(s.subType=a),o&&o.eachComponent(s,function(e,n){l(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else S(t._componentsViews.concat(t._chartsViews),l);function l(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}}function B(t,e){var n=t.type,i=t.escapeConnect,o=j[n],r=o.actionInfo,s=(r.update||"update").split(":"),l=s.pop();s=null!=s[0]&&M(s[0]),this[L]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=a.map(t.batch,function(e){return(e=a.defaults(a.extend({},e),t)).batch=null,e}));var c,d=[],f="highlight"===n||"downplay"===n;S(u,function(t){(c=(c=o.action(t,this._model,this._api))||a.extend({},t)).type=r.event||c.type,d.push(c),f?V(this,l,t,"series"):s&&V(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[D]?(z.prepareAndUpdate.call(this,t),this[D]=!1):z[l].call(this,t)),c=h?{type:r.event||n,escapeConnect:i,batch:d}:d[0],this[L]=!1,!e&&this._messageCenter.trigger(c.type,c)}function H(t){for(var e=this._pendingActions;e.length;){var n=e.shift();B.call(this,n,t)}}function G(t){!t&&this.trigger("updated")}function W(t,e,n){var i=this._api;S(this._componentsViews,function(a){var o=a.__model;a[t](o,e,i,n),U(o,a)},this),e.eachSeries(function(a,o){var r=this._chartsMap[a.__viewId];r[t](a,e,i,n),U(a,r),X(a,r)},this),Y(this._zr,e),S($,function(t){t(e,i)})}function q(t,e){for(var n="component"===t,i=n?this._componentsViews:this._chartsViews,a=n?this._componentsMap:this._chartsMap,o=this._zr,r=0;re.get("hoverLayerThreshold")&&!r.node&&n.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function X(t,e){var n=0;e.group.traverse(function(t){"group"===t.type||t.ignore||n++});var i=+t.get("progressive"),a=n>t.get("progressiveThreshold")&&i&&!r.node;a&&e.group.traverse(function(t){t.isGroup||(t.progressive=a?Math.floor(n++/i):-1,a&&t.stopAnimation(!0))});var o=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.setStyle("blend",o)})}function U(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))})}E._initEvents=function(){S(Z,function(t){this._zr.on(t,function(e){var n,i=this.getModel(),o=e.target;if("globalout"===t)n={};else if(o&&null!=o.dataIndex){var r=o.dataModel||i.getSeriesByIndex(o.seriesIndex);n=r&&r.getDataParams(o.dataIndex,o.dataType)||{}}else o&&o.eventData&&(n=a.extend({},o.eventData));n&&(n.event=e,n.type=t,this.trigger(t,n))},this)},this),S(J,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},E.isDisposed=function(){return this._disposed},E.clear=function(){this.setOption({series:[]},!0)},E.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._api,e=this._model;S(this._componentsViews,function(n){n.dispose(e,t)}),S(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete it[this.id]}},a.mixin(R,l);var j={},J={},K=[],Q=[],$=[],tt=[],et={},nt={},it={},at={},ot=new Date-0,rt=new Date-0,st="_echarts_instance_",lt={};function ut(t){at[t]=!1}var ht=ut;function ct(t){var e;return e=t.getAttribute?t.getAttribute(st):t[st],it[e]}function dt(t){Q.push(t)}function ft(t,e,n){"function"==typeof e&&(n=e,e="");var i=a.isObject(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,a.assert(P.test(i)&&P.test(e)),j[i]||(j[i]={action:n,actionInfo:t}),J[e]=i}function pt(t,e){"function"==typeof t&&(e=t,t=T),tt.push({prio:t,func:e})}function gt(t,e){nt[t]=e}pt(2e3,b),dt(f),gt("default",w),ft({type:"highlight",event:"highlight",update:"highlight"},a.noop),ft({type:"downplay",event:"downplay",update:"downplay"},a.noop);e.version="3.8.5",e.dependencies={zrender:"3.7.4"},e.PRIORITY=C,e.init=function(t,e,n){var i=ct(t);if(i)return i;var o=new R(t,e,n);return o.id="ec_"+ot++,it[o.id]=o,t.setAttribute?t.setAttribute(st,o.id):t[st]=o.id,function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i=0;m--){var v=g[m],y=v.node,x=v.width,_=v.text;p>f.width&&(p-=x-c,x=c,_=null);var b=new i.Polygon({shape:{points:u(l,0,x,d,m===g.length-1,0===m)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:o.curry(s,y)});this.group.add(b),h(b,t,y),l+=x+8}},remove:function(){this.group.removeAll()}};var c=l;t.exports=c},JFJR:function(t,e,n){var i=n("/gxq"),a=n("2HcM");function o(t,e,n){a.call(this,t,e,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(o,a);var r=o;t.exports=r},JIsR:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n1&&a&&a.length>1){var s=o(a)/o(r);!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}}}}},s=a;t.exports=s},JMu0:function(t,e,n){var i=n("Icdr"),a=n("9Owa"),o=n("FIAY"),r=n("dCQY"),s=o.toolbox.restore;function l(t){this.model=t}l.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:s.title},l.prototype.onclick=function(t,e,n){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},r.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var u=l;t.exports=u},JNWs:function(t,e,n){var i=n("Rfu2"),a=n("EJsE"),o=n("/gxq"),r=a.extend({type:"series.gauge",getInitialData:function(t,e){var n=new i(["value"],this),a=t.data||[];return o.isArray(a)||(a=[a]),n.initData(a),n},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:{normal:{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=r},JRc4:function(t,e,n){var i=n("Icdr"),a=n("GQGX");n("od06"),n("iEm+"),n("ZuqD"),n("oYIf"),i.registerPreprocessor(a)},Jd65:function(t,e,n){var i=n("PiQa"),a=n("/gxq"),o=n("uA0k"),r=n("C7PF");function s(t,e,n){o.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=0&&!(i[s]<=e);s--);s=Math.min(s,a-2)}else{for(var s=o;se);s++);s=Math.min(s-1,a-2)}r.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,o);var u=s;t.exports=u},JzYe:function(t,e,n){var i=n("WK/r"),a=n("3yJd"),o=n("1Xuh").getLayoutRect;function r(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}r.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:r,_init:function(t,e,n){var o=this.dimension,r=new i(o,a.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===r.type;r.onBand=s&&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(),n=this.dimension;this._axis.scale.unionExtentFromData(e,t.coordDimToDataDim(n)),a.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=o({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}};var s=r;t.exports=s},K0T9: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}},i=n;t.exports=i},KAfT:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("s1Aj");i.registerAction("dataZoom",function(t,e){var n=o.createLinkedNodesFinder(a.bind(e.eachComponent,e,"dataZoom"),o.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})})})},KGuM:function(t,e,n){var i=n("H4Od"),a=n("1Xuh").getLayoutRect,o=n("wUOi");t.exports=function(t,e){var n=[];return t.eachSeriesByType("graph",function(t){var r=t.get("coordinateSystem");if(!r||"view"===r){var s=t.getData(),l=s.mapArray(function(t){var e=s.getItemModel(t);return[+e.get("x"),+e.get("y")]}),u=[],h=[];o.fromPoints(l,u,h),h[0]-u[0]==0&&(h[0]+=1,u[0]-=1),h[1]-u[1]==0&&(h[1]+=1,u[1]-=1);var c=(h[0]-u[0])/(h[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,c);isNaN(c)&&(u=[d.x,d.y],h=[d.x+d.width,d.y+d.height]);var f=h[0]-u[0],p=h[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}},KjPy:function(t,e,n){var i=n("/gxq"),a=n("Y5nL");n("DHpS");var o=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){var e=this.option;t&&i.merge(e,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=o},KsMi:function(t,e,n){var i=n("GxVO").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,o=e.y2,r=e.percent;0!==r&&(t.moveTo(n,i),r<1&&(a=n*(1-r)+a*r,o=i*(1-r)+o*r),t.lineTo(a,o))},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},LBXi:function(t,e,n){var i=n("/gxq"),a=n("5Mek"),o=n("YpIy"),r=n("NKek").onIrrelevantElement,s=n("0sHC");function l(t,e){var n=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(n.fill=i),n}function u(t,e){e.eachChild(function(e){i.each(e.__regions,function(n){e.trigger(t.isSelected(n.name)?"emphasis":"normal")})})}function h(t,e){var n=new s.Group;this._controller=new a(t.getZr()),this._controllerHost={target:e?n:null},this.group=n,this._updateGroup=e,this._mouseDownFlag}h.prototype={constructor:h,draw:function(t,e,n,a,o){var r="geo"===t.mainType,h=t.getData&&t.getData();r&&e.eachComponent({mainType:"series",subType:"map"},function(e){h||e.getHostGeoModel()!==t||(h=e.getData())});var c=t.coordinateSystem,d=this.group,f=c.scale,p={position:c.position,scale:f};!d.childAt(0)||o?d.attr(p):s.updateProps(d,p,t),d.removeAll();var g=["itemStyle","normal"],m=["itemStyle","emphasis"],v=["label","normal"],y=["label","emphasis"],x=i.createHashMap();i.each(c.regions,function(e){var n=x.get(e.name)||x.set(e.name,new s.Group),a=new s.CompoundPath({shape:{paths:[]}});n.add(a);var o,u=(P=t.getRegionModel(e.name)||t).getModel(g),c=P.getModel(m),p=l(u),_=l(c),b=P.getModel(v),w=P.getModel(y);if(h){o=h.indexOfName(e.name);var S=h.getItemVisual(o,"color",!0);S&&(p.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(p),a.style.strokeNoScale=!0,a.culling=!0;var M=b.get("show"),I=w.get("show"),A=h&&isNaN(h.get("value",o)),T=h&&h.getItemLayout(o);if(r||A&&(M||I)||T&&T.showLabel){var C,L=r?e.name:o;(!h||o>=0)&&(C=t);var D=new s.Text({position:e.center.slice(),scale:[1/f[0],1/f[1]],z2:10,silent:!0});s.setLabelStyle(D.style,D.hoverStyle={},b,w,{labelFetcher:C,labelDataIndex:L,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),n.add(D)}if(h)h.setItemGraphicEl(o,n);else{var P=t.getRegionModel(e.name);a.eventData={componentType:"geo",geoIndex:t.componentIndex,name:e.name,region:P&&P.option||{}}}(n.__regions||(n.__regions=[])).push(e),s.setHoverStyle(n,_,{hoverSilentOnTouch:!!t.get("selectedMode")}),d.add(n)}),this._updateController(t,e,n),function(t,e,n,a,o){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",function(){t._mouseDownFlag=!0}),n.on("click",function(r){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=r.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:o.uid}})};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),u(e,n)}}}))}(this,t,d,n,a),u(t,d)},remove:function(){this.group.removeAll(),this._controller.dispose(),this._controllerHost={}},_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 h(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",function(t,e){this._mouseDownFlag=!1,o.updateViewOnPan(l,t,e),n.dispatchAction(i.extend(h(),{dx:t,dy:e}))},this),s.off("zoom").on("zoom",function(t,e,a){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,t,e,a),n.dispatchAction(i.extend(h(),{zoom:t,originX:e,originY:a})),this._updateGroup){var r=this.group,s=r.scale;r.traverse(function(t){"text"===t.type&&t.attr("scale",[1/s[0],1/s[1]])})}},this),s.setPointerChecker(function(e,i,o){return a.getViewRectAfterRoam().contain(i,o)&&!r(e,n,t)})}};var c=h;t.exports=c},LGKB:function(t,e,n){var i=n("EJsE"),a=n("+jMe"),o=n("HHfb").encodeHTML,r=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i={};i.leaves=n;var o=a.createTree(e,this,i),r=0;o.eachNode("preorder",function(t){t.depth>r&&(r=t.depth)});var s=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return o.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s}),o.data},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),a=i.getValue(),r=i.name;i&&i!==n;)r=i.parentNode.name+"."+r,i=i.parentNode;return o(r+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",orient:"horizontal",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{normal:{color:"#ccc",width:1.5,curveness:.5}},itemStyle:{normal:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5}},label:{normal:{show:!0,color:"#555"}},leaves:{label:{normal:{show:!0}}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=r},LICT:function(t,e,n){var i=n("AAi1");e.containStroke=function(t,e,n,a,o,r,s,l,u,h,c){if(0===u)return!1;var d=u;return!(c>e+d&&c>a+d&&c>r+d&&c>l+d||ct+d&&h>n+d&&h>o+d&&h>s+d||h0){var I=o(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 c.putImageData(y,0,0),h},_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)),o=[0,0,0,0],r=0,s=0;s<256;s++)e[n](s/255,!0,o),a[r++]=o[0],a[r++]=o[1],a[r++]=o[2],a[r++]=o[3];return a}};var o=a;t.exports=o},LjPz:function(t,e,n){n("qSkD"),n("MRvz"),n("BqCv")},LzVd:function(t,e,n){var i=n("XFat"),a=i.eachAfter,o=i.eachBefore,r=n("ERCD"),s=r.init,l=r.firstWalk,u=r.secondWalk,h=r.separation,c=r.radialCoordinate,d=r.getViewRect;t.exports=function(t,e){var n=d(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,f=0,p=null;"radial"===i?(r=2*Math.PI,f=Math.min(n.height,n.width)/2,p=h(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=n.width,f=n.height,p=h());var g=t.getData().tree.root,m=g.children[0];s(g),a(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,o(m,u);var v=m,y=m,x=m;o(m,function(t){var e=t.getLayout().x;ey.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;"radial"===i?(w=r/(y.getLayout().x+_+b),S=f/(x.depth-1||1),o(m,function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=c(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)})):"horizontal"===t.get("orient")?(S=f/(y.getLayout().x+_+b),w=r/(x.depth-1||1),o(m,function(t){I=(t.getLayout().x+b)*S,M=(t.depth-1)*w,t.setLayout({x:M,y:I},!0)})):(w=r/(y.getLayout().x+_+b),S=f/(x.depth-1||1),o(m,function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S,t.setLayout({x:M,y:I},!0)}))}},M9eA:function(t,e,n){var i=n("HGSA"),a=n("DRaW"),o=n("/gxq"),r=o.isArray,s="itemStyle.normal";function l(t){var e=u(t,"color");if(e){var n=u(t,"colorAlpha"),i=u(t,"colorSaturation");return i&&(e=a.modifyHSL(e,null,null,i)),n&&(e=a.modifyAlpha(e,n)),e}}function u(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function h(t,e){var n=t.get(e);return r(n)&&n.length?{name:e,range:n}:null}t.exports=function(t,e,n){var r={mainType:"series",subType:"treemap",query:n};t.eachComponent(r,function(t){var e=t.getData().tree,n=e.root,r=t.getModel(s);n.isRemoved()||function t(e,n,r,u,c,d){var f=e.getModel(),p=e.getLayout();if(p&&!p.invisible&&p.isInView){var g,m=e.getModel(s),v=r[e.depth],y=function(t,e,n,i){var a=o.extend({},e);return o.each(["color","colorAlpha","colorSaturation"],function(o){var r=t.get(o,!0);null==r&&n&&(r=n[o]),null==r&&(r=e[o]),null==r&&(r=i.get(o)),null!=r&&(a[o]=r)}),a}(m,n,v,u),x=m.get("borderColor"),_=m.get("borderColorSaturation");null!=_&&(g=l(y),x=function(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}(_,g)),e.setVisual("borderColor",x);var b=e.viewChildren;if(b&&b.length){var w=function(t,e,n,a,o,r){if(r&&r.length){var s=h(e,"color")||null!=o.color&&"none"!==o.color&&(h(e,"colorAlpha")||h(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),c=n.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var d=e.get("colorMappingBy"),f={type:s.name,dataExtent:c,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,f,p,0,y,b);o.each(b,function(e,n){if(e.depth>=c.length||e===c[e.depth]){var i=function(t,e,n,i,a,r){var s=o.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,h="index"===u?i:"id"===u?r.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(h)}return s}(f,y,e,n,w,d);t(e,i,r,u,c,d)}})}else g=l(y),e.setVisual("color",g)}}(n,{},o.map(e.levelModels,function(t){return t?t.get(s):null}),r,t.getViewRoot().getAncestors(),t)})}},MAom:function(t,e,n){var i=n("9qnA"),a=n("8b51"),o=n("/gxq"),r=n("+Y0c");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=r.createOrUpdateImage(i,this._image,this,this.onload);if(a&&r.isImageReady(a)){var o=n.x||0,s=n.y||0,l=n.width,u=n.height,h=a.width/a.height;if(null==l&&null!=u?l=u*h:null==u&&null!=l?u=l/h:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(t),n.sWidth&&n.sHeight){var c=n.sx||0,d=n.sy||0;t.drawImage(a,c,d,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){var f=l-(c=n.sx),p=u-(d=n.sy);t.drawImage(a,c,d,f,p,o,s,l,u)}else t.drawImage(a,o,s,l,u);this.restoreTransform(t),null!=n.text&&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}},o.inherits(s,i);var l=s;t.exports=l},MOpb:function(t,e,n){n("4Nz2").__DEV__;var i=n("Icdr"),a=n("/gxq"),o=n("0sHC"),r=n("RjA7").findLabelValueDim,s=n("ao1T"),l=n("m/6y"),u=n("1Hui"),h=["itemStyle","normal"],c=["itemStyle","emphasis"],d=["label","normal"],f=["label","emphasis"],p="e\0\0",g={cartesian2d:n("n/n4"),geo:n("OpfW"),singleAxis:n("8YpK"),polar:n("ilox"),calendar:n("RAps")};function m(t,e,n,i,a){null==n[t]||a||(e[t]=n[t],n[t]=i[t])}function v(t,e,n,i,a,o){(t=y(t,e,n,i,a,o))&&o.setItemGraphicEl(e,t)}function y(t,e,n,i,r,s){var l=n.type;if(!t||l===t.__customGraphicType||"path"===l&&n.pathData===t.__customPathData||"image"===l&&n.style.image===t.__customImagePath||"text"===l&&n.style.text===t.__customText||(r.remove(t),t=null),null!=l){var h,c=!t;if(!t&&(t=function(t){var e,n=t.type;if("path"===n){var i=t.shape;(e=o.makePath(i.pathData,null,{x:i.x||0,y:i.y||0,width:i.width||0,height:i.height||0},"center")).__customPathData=t.pathData}else"image"===n?(e=new o.Image({})).__customImagePath=t.style.image:"text"===n?(e=new o.Text({})).__customText=t.style.text:e=new(0,o[n.charAt(0).toUpperCase()+n.slice(1)]);return e.__customGraphicType=n,e.name=t.name,e}(n)),function(t,e,n,i,r,s){var l={},u=n.style||{};if(n.shape&&(l.shape=a.clone(n.shape)),n.position&&(l.position=n.position.slice()),n.scale&&(l.scale=n.scale.slice()),n.origin&&(l.origin=n.origin.slice()),n.rotation&&(l.rotation=n.rotation),"image"===t.type&&n.style){var h=l.style={};a.each(["x","y","width","height"],function(e){m(e,h,u,t.style,s)})}"text"===t.type&&n.style&&(h=l.style={},a.each(["x","y"],function(e){m(e,h,u,t.style,s)}),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));if("group"!==t.type&&(t.useStyle(u),s)){t.style.opacity=0;var c=u.opacity;null==c&&(c=1),o.initProps(t,{style:{opacity:c}},i,e)}s?t.attr(l):o.updateProps(t,l,i,e),t.attr({z2:n.z2||0,silent:n.silent}),!1!==n.styleEmphasis&&o.setHoverStyle(t,n.styleEmphasis)}(t,e,n,i,0,c),"group"===l){var d=t.children()||[],f=n.children||[];if(n.diffChildrenByName)new u((h={oldChildren:d,newChildren:f,dataIndex:e,animatableModel:i,group:t,data:s}).oldChildren,h.newChildren,x,x,h).add(_).update(_).remove(b).execute();else{for(var p=0;p=o||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(c,S);else if(v>0){var M=b+p,I=e[M];if(x)for(;I&&f(e[M]);)I=e[M+=p];var A=.5,T=e[_];if(!(I=e[M])||f(I))u(d,S);else{var C,L;if(f(I)&&!x&&(I=S),a.sub(h,I,T),"x"===y||"y"===y){var D="x"===y?0:1;C=Math.abs(S[D]-T[D]),L=Math.abs(S[D]-I[D])}else C=a.dist(S,T),L=a.dist(S,I);l(d,S,h,-v*(1-(A=L/(L+C))))}r(c,c,m),s(c,c,g),r(d,d,m),s(d,d,g),t.bezierCurveTo(c[0],c[1],d[0],d[1],S[0],S[1]),l(c,S,h,v*A)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function g(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var a=0;ai[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[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:o(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,a=n.length,o=g(n,e.smoothConstraint);if(e.connectNulls){for(;a>0&&f(n[a-1]);a--);for(;i0&&f(n[o-1]);o--);for(;a"),o&&(r+=u(o),null!=n&&(r+=" : ")),null!=n&&(r+=u(i)),r},getData:function(){return this._data},setData:function(t){this._data=t}});a.mixin(c,r.dataFormatMixin);var d=c;t.exports=d},"Mn6+":function(t,e,n){var i=n("Icdr");n("ZtEr"),n("Fkmw"),i.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},MsVc:function(t,e,n){var i=n("/gxq"),a=n("Ylhr"),o=n("0sHC"),r=n("sK5G").viewMixin,s=a.extend({type:"boxplot",getStyleUpdater:function(){return h},dispose:i.noop});i.mixin(s,r,!0);var l=["itemStyle","normal"],u=["itemStyle","emphasis"];function h(t,e,n){var i=e.getItemModel(n),a=i.getModel(l),r=e.getItemVisual(n,"color"),s=a.getItemStyle(["borderColor"]),h=t.childAt(t.whiskerIndex);h.style.set(s),h.style.stroke=r,h.dirty();var c=t.childAt(t.bodyIndex);c.style.set(s),c.style.stroke=r,c.dirty();var d=i.getModel(u).getItemStyle();o.setHoverStyle(t,d)}var c=s;t.exports=c},Mxrs:function(t,e,n){var i=n("HGSA"),a=n("/gxq");t.exports=function(t,e){t.eachSeriesByType("sankey",function(t){var e=t.getGraph().nodes;e.sort(function(t,e){return t.getLayout().value-e.getLayout().value});var n=e[0].getLayout().value,o=e[e.length-1].getLayout().value;a.each(e,function(e){var a=new i({type:"color",mappingMethod:"linear",dataExtent:[n,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value);e.setVisual("color",a);var r=e.getModel().get("itemStyle.normal.color");null!=r&&e.setVisual("color",r)})})}},MyoG:function(t,e,n){var i=n("BNYN"),a=i.set,o=i.get,r={clearColorPalette:function(){a(this,"colorIdx",0),a(this,"colorNameMap",{})},getColorFromPalette:function(t,e){var n=o(e=e||this,"colorIdx")||0,i=o(e,"colorNameMap")||a(e,"colorNameMap",{});if(i.hasOwnProperty(t))return i[t];var r=this.get("color",!0)||[];if(r.length){var s=r[n];return t&&(i[t]=s),a(e,"colorIdx",(n+1)%r.length),s}}};t.exports=r},N1UU:function(t,e,n){var i=n("Icdr"),a=n("/gxq");n("5vFd"),n("OQAC"),n("m5oG");var o=n("m/6y"),r=n("AjK0");n("UkNE"),i.registerLayout(a.curry(o,"pictorialBar")),i.registerVisual(a.curry(r,"pictorialBar","roundRect",null))},N1qP:function(t,e,n){var i=n("QxFU"),a=1e-8;function o(t,e){return Math.abs(t-e)=2){if(r&&"spline"!==r){var s=a(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=o[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===r&&(o=i(o,n)),t.moveTo(o[0][0],o[0][1]),u=1;for(var f=o.length;u=e[0]&&t<=e[1]}}(_,n.option.range):function(t,e,n){var i=t[1]-t[0],a=(e=r.map(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,o=0;return function(t){for(var i=o;i=0;i--){var r;if((r=e[i].interval)[0]<=t&&t<=r[1]){o=i;break}}return i>=0&&ie[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=o.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=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)},!0,this),e.push({seriesId:n.id,dataIndex:i})},this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function a(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,r=0,s=n.length,u=e.length;r0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},Ou7x:function(t,e,n){var i=n("/gxq"),a=n("BNYN"),o=n("0sHC"),r=n("QCrJ"),s=n("UAiw"),l=n("QD+P"),u=n("vXqC").makeGetter(),h=i.clone,c=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?o.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 r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,a||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,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 h={};this.makeElOption(h,r,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=i.curry(f,e,d);this.updatePointerEl(l,h,p,e),this.updateLabelEl(l,h,p,e)}else l=this._group=new o.Group,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),n.getZr().add(l);m(l,e,!0),this._renderHandle(r)}},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,o=e.get("snap");if(!o&&!a)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(o){var l=r.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 r=u(t).pointerEl=new o[a.type](h(e.pointer));t.add(r)}},createLabelEl:function(t,e,n,i){if(e.label){var a=u(t).labelEl=new o.Rect(h(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(),r=this._handle,u=n.getModel("handle"),h=n.get("status");if(!u.get("show")||!h||"hide"===h)return r&&a.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:c(this._onHandleDragMove,this,0,0),drift:c(this._onHandleDragMove,this),ondragend:c(this._onHandleDragEnd,this)}),a.add(r)),m(r,n,!1);r.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");i.isArray(d)||(d=[d,d]),r.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]}}},d.prototype.constructor=d,a.enableClassExtend(d);var v=d;t.exports=v},OvrE:function(t,e,n){var i=n("/gxq"),a=n("Rfu2"),o=n("EJsE"),r=n("/n1K"),s=n("HHfb"),l=s.encodeHTML,u=s.addCommas,h=n("kQD9"),c=n("srbS"),d=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(t){this._fillOption(t,this.getMapType()),d.superApply(this,"init",arguments),this.updateSelectedMap(t.data)},getInitialData:function(t){var e=r(["value"],t.data||[]),n=new a(e,this);return n.initData(t.data),n},mergeOption:function(t){this._fillOption(t,this.getMapType()),d.superApply(this,"mergeOption",arguments),this.updateSelectedMap(this.option.data)},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){t.data=c.getFilledRegions(t.data,e,t.nameMap)},getRawValue:function(t){return this.getData().get("value",t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),n=u(this.getRawValue(t)),i=e.getName(t),a=this.seriesGroup,o=[],r=0;r"+l(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:{normal:{show:!1,color:"#000"},emphasis:{show:!0,color:"rgb(100,0,0)"}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});i.mixin(d,h);var f=d;t.exports=f},OxCu:function(t,e,n){var i=n("/gxq"),a=n("vXqC");t.exports=function(t,e){var n,o=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var s=n.getData(),l=a.queryDataIndex(s,t);if(null==l||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)o=h.dataToPoint(s.getValues(i.map(h.dimensions,function(t){return n.coordDimToDataDim(t)[0]}),l,!0))||[];else if(u){var c=u.getBoundingRect().clone();c.applyTransform(u.transform),o=[c.x+c.width/2,c.y+c.height/2]}return{point:o,el:u}}},P05t:function(t,e,n){var i=n("/gxq");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,o){if(o>=t.length)return a;var r=[],s=e[o++];return i.each(a,function(t,e){r.push({key:e,values:n(t,o)})}),s?r.sort(function(t,e){return s(t.key,e.key)}):r}(function e(n,a){if(a>=t.length)return n;for(var o=-1,r=n.length,s=t[a++],l={},u={};++o "))},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:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}}),u=l;t.exports=u},P7Q7:function(t,e,n){var i=n("ao1T"),a=n("EJsE").extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return i(t.data,this,e)},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},P7ry:function(t,e,n){n("80cc"),n("dp0Z"),n("wLWv"),n("R0U9")},PBlc:function(t,e,n){n("4Nz2").__DEV__,n("/gxq");var i=n("6axr"),a=n("wWR3").parsePercent,o=n("3yJd"),r=o.createScaleByModel,s=o.niceScaleExtent,l=n("rctg");function u(t,e){var n=this,i=n.getAngleAxis(),a=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();a.scale.unionExtentFromData(e,"radius"),i.scale.unionExtentFromData(e,"angle")}}),s(i.scale,i.model),s(a.scale,a.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),r=360/i.scale.count();i.inverse?o[1]+=r:o[1]-=r,i.setExtent(o[0],o[1])}}function h(t,e){if(t.type=e.get("type"),t.scale=r(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("ZRmN");var c={dimensions:i.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,o){var r=new i(o);r.update=u;var s=r.getRadiusAxis(),l=r.getAngleAxis(),c=t.findAxisModel("radiusAxis"),d=t.findAxisModel("angleAxis");h(s,c),h(l,d),function(t,e,n){var i=e.get("center"),o=n.getWidth(),r=n.getHeight();t.cx=a(i[0],o),t.cy=a(i[1],r);var s=t.getRadiusAxis(),l=Math.min(o,r)/2,u=a(e.get("radius"),l);s.inverse?s.setExtent(u,0):s.setExtent(0,u)}(r,t,e),n.push(r),t.coordinateSystem=r,r.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}};l.register("polar",c)},PD67:function(t,e,n){var i=n("GxVO"),a=n("Sm9T"),o=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,o=e.width,r=e.height;e.r?a.buildPath(t,e):t.rect(n,i,o,r),t.closePath()}});t.exports=o},PTCE:function(t,e,n){var i=n("/gxq");function a(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e){if(t&&("treemapZoomToNode"===t.type||"treemapRootToNode"===t.type)){var n=e.getData().tree.root,i=t.targetNode;if(i&&n.contains(i))return{node:i};var a=t.targetNodeId;if(null!=a&&(i=n.getNodeById(a)))return{node:i}}},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}},PWa9:function(t,e){var n={average:function(t){for(var e=0,n=0,i=0;ie&&(e=t[n]);return e},min:function(t){for(var e=1/0,n=0;n1&&("string"==typeof a?r=n[a]:"function"==typeof a&&(r=a),r&&(e=e.downSample(l.dim,1/c,r,i),t.setData(e)))}},this)}},PYc7:function(t,e,n){n("Icdr").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})})},PdL8:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("0sHC"),r=n("LBXi"),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)(o=this._mapDraw)&&a.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new r(n,!0);a.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}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,r=this.group;i.each("value",function(e,n){if(!isNaN(e)){var s=i.getItemLayout(n);if(s&&s.point){var l=s.point,u=s.offset,h=new o.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 c=t.mainSeries.getData(),d=i.getName(n),f=c.indexOfName(d),p=i.getItemModel(n),g=p.getModel("label.normal"),m=p.getModel("label.emphasis"),v=c.getItemGraphicEl(f),y=a.retrieve2(t.getFormattedLabel(n,"normal"),d),x=a.retrieve2(t.getFormattedLabel(n,"emphasis"),y),_=function(){var t=o.setTextStyle({},m,{text:m.get("show")?x:null},{isRectText:!0,useInsideStyle:!1},!0);h.style.extendFrom(t),h.__mapOriginalZ2=h.z2,h.z2+=1},b=function(){o.setTextStyle(h.style,g,{text:g.get("show")?y:null,textPosition:g.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),null!=h.__mapOriginalZ2&&(h.z2=h.__mapOriginalZ2,h.__mapOriginalZ2=null)};v.on("mouseover",_).on("mouseout",b).on("emphasis",_).on("normal",b),b()}r.add(h)}}})}});t.exports=s},Pdtn:function(t,e,n){var i=n("/gxq"),a=n("YNzw"),o=n("BNYN"),r=n("BwZ6"),s=n("fgF4"),l=n("NZsM"),u=n("e95b"),h=i.mixin;function c(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function d(t,e,n){for(var i=0;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._dom&&n.contains(t._dom))"function"==typeof e&&e();else{var i=this.add(t);i&&(t._dom=i)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){this.getDefs(!1).removeChild(t._dom)},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 o?u:t instanceof r?h:t instanceof s?c:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var f=d;t.exports=f},"Po+l":function(t,e,n){var i=n("/gxq"),a=n("EJsE"),o=n("sK5G").seriesModelMixin,r=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(r,o,!0);var s=r;t.exports=s},Pobh:function(t,e,n){var i=n("RYbJ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getBarItemStyle:function(t){var e=i(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}};t.exports=a},Pwgp:function(t,e,n){var i=n("/gxq"),a=n("2HcM"),o=n("3yJd"),r=function(t,e,n,i){a.call(this,t,e,n),this.type=i||"value",this._autoLabelInterval,this.model=null};r.prototype={constructor:r,getLabelInterval:function(){var t,e=this.model,n=e.getModel("label.normal");return null!=(t=n.get("interval"))&&"auto"!=t?t:((t=this._autoLabelInterval)||(t=this._autoLabelInterval=o.getAxisLabelInterval(i.map(this.scale.getTicks(),this.dataToCoord,this),o.getFormattedLabels(this,n.get("formatter")),n.getFont(),"horizontal"===e.get("orient")?0:90,n.get("rotate"))),t)},isLabelIgnored:function(t){if("category"===this.type){var e=this.getLabelInterval();return"function"==typeof e&&!e(t,this.scale.getLabel(t))||t%(e+1)}}},i.inherits(r,a);var s=r;t.exports=s},Q5xN:function(t,e,n){var i=n("VewU").createElement,a=n("/gxq"),o=a.each,r=n("eZxa"),s=n("GxVO"),l=n("MAom"),u=n("/86O"),h=n("0fQF"),c=n("hZf2"),d=n("TDz/"),f=n("4w1v"),p=f.path,g=f.image,m=f.text;function v(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function x(t,e,n){if(y(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function _(t,e){if(y(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function b(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function w(t){return t.__textSvgEl}function S(t){return t.__svgEl}var M=function(t,e,n){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["user-select"]="none",o.style.cssText="position:absolute;left:0;top:0;",this.gradientManager=new c(o),this.clipPathManager=new d(o);var r=document.createElement("div");r.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=r,t.appendChild(r),r.appendChild(o),this.resize(n.width,n.height),this._visibleList=[]};M.prototype={constructor:M,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)},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused();var e,n,i=this._svgRoot,a=this._visibleList,o=t.length,r=[];for(e=0;e=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 o=this._svgRoot;o.setAttribute("width",t),o.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],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[i]||v(s[n])||v(r.style[n]))-(v(s[a])||0)-(v(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToSvg:function(){this.refresh();var t=this._svgRoot.outerHTML;return"data:img/svg+xml;utf-8,"+unescape(t)}},o(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;M.prototype[t]=(e=t,function(){r('In SVG mode painter not support method "'+e+'"')})});var I=M;t.exports=I},QCrJ:function(t,e,n){var i=n("/gxq"),a=n("Pdtn"),o=i.each,r=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[h(t)]}function u(t){return!!t.get("handle.show")}function h(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"),c=e.getComponent("axisPointer"),d=c.get("link",!0)||[],f=[];o(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var p=h(n.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var m=n.model,v=m.getModel("tooltip",l);if(o(n.getAxes(),r(b,!1,null)),n.getTooltipAxes&&l&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),_=n.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&o(_.baseAxes,r(b,!x||"cross",y)),x&&o(_.otherAxes,r(b,"cross",!1))}}function b(r,l,p){var m=p.model.getModel("axisPointer",c),y=m.get("show");if(y&&("auto"!==y||r||u(m))){null==l&&(l=m.get("triggerTooltip"));var x=(m=r?function(t,e,n,r,s,l){var u=e.getModel("axisPointer"),h={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){h[t]=i.clone(u.get(t))}),h.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s&&(c.show=!0,!l)){var d=h.lineStyle=u.get("crossStyle");d&&i.defaults(c,d.textStyle)}return t.model.getModel("axisPointer",new a(h,n,r))}(p,v,c,e,r,l):m).get("snap"),_=h(p.model),b=l||x||"category"===p.type,w=t.axesInfo[_]={key:_,axis:p,coordSys:n,axisPointerModel:m,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(m),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var n=e.model,i=e.dim,a=0;ah[1]&&h.reverse(),(null==r||r>h[1])&&(r=h[1]),r=0?c():h=setTimeout(c,-a),l=i};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=o,e.createOrUpdate=function(t,e,r,s){var l=t[e];if(l){var u=l[n]||l,h=l[a];if(l[i]!==r||h!==s){if(null==r||!s)return t[e]=u;(l=t[e]=o(u,r,"debounce"===s))[n]=u,l[a]=s,l[i]=r}return l}},e.clear=function(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}},QZ7o:function(t,e,n){var i=n("/gxq");t.exports=function(t){var e={};t.eachSeriesByType("map",function(n){var a=n.getMapType();if(!n.getHostGeoModel()&&!e[a]){var o={};i.each(n.seriesGroup,function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each("value",function(t,e){var a=i.getName(e),r=n.getRegion(a);if(r&&!isNaN(t)){var s=o[a]||0,l=n.dataToPoint(r.center);o[a]=s+1,i.setItemLayout(e,{point:l,offset:s})}})});var r=n.getData();r.each(function(t){var e=r.getName(t),n=r.getItemLayout(t)||{};n.showLabel=!o[e],r.setItemLayout(t,n)}),e[a]=!0}})}},QbUQ:function(t,e,n){var i=n("HHfb"),a=n("Ou7x"),o=n("0sHC"),r=n("zAPJ"),s=n("dOVI"),l=n("vjPX"),u=n("43ae"),h=a.extend({makeElOption:function(t,e,n,a,u){var h=n.axis;"angle"===h.dim&&(this.animationThreshold=Math.PI/18);var d,f=h.polar,p=f.getOtherAxis(h).getExtent();d=h["dataTo"+i.capitalFirst(h.dim)](e);var g=a.get("type");if(g&&"none"!==g){var m=r.buildElStyle(a),v=c[g](h,f,d,p,m);v.style=m,t.graphicKey=v.type,t.pointer=v}var y=function(t,e,n,i,a){var r=e.axis,u=r.dataToCoord(t),h=i.getAngleAxis().getExtent()[0];h=h/180*Math.PI;var c,d,f,p=i.getRadiusAxis().getExtent();if("radius"===r.dim){var g=s.create();s.rotate(g,g,h),s.translate(g,g,[i.cx,i.cy]),c=o.applyTransform([u,-a],g);var m=e.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(h,m*Math.PI/180,-1);d=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];c=i.coordToPoint([y+a,u]);var x=i.cx,_=i.cy;d=Math.abs(c[0]-x)/y<.3?"center":c[0]>x?"left":"right",f=Math.abs(c[1]-_)/y<.3?"middle":c[1]>_?"top":"bottom"}return{position:c,align:d,verticalAlign:f}}(e,n,0,f,a.get("label.margin"));r.buildLabelElOption(t,n,a,u,y)}});var c={line:function(t,e,n,i,a){return"angle"===t.dim?{type:"Line",shape:r.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 o=t.getBandWidth(),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",h);var d=h;t.exports=d},Qv0P:function(t,e,n){for(var i=n("/gxq"),a=n("B33o"),o=[126,25],r=[[[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;se&&o>i||oa?r:0}},R0U9:function(t,e,n){n("Icdr").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)})})},RAps:function(t,e,n){var i=n("/gxq");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:i.bind(t.dataToPoint,t)}}}},RKzr:function(t,e,n){var i=n("/gxq"),a=n("2HcM"),o=function(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,onZero:!1,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()},isLabelIgnored:function(t){if("category"===this.type){var e=this.getLabelInterval();return"function"==typeof e&&!e(t,this.scale.getLabel(t))||t%(e+1)}},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},i.inherits(o,a);var r=o;t.exports=r},RTd5:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("FIAY"),r=n("dCQY"),s=o.toolbox.magicType;function l(t){this.model=t}l.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(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.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 h={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"]];u.onclick=function(t,e,n){var i=this.model,o=i.get("seriesIndex."+n);if(h[n]){var r={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==o?null:{seriesIndex:o}},function(e){var o=e.subType,s=e.id,l=h[n](o,s,e,i);l&&(a.defaults(l,e.option),r.series.push(l));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var c=u.getAxesByScale("ordinal")[0];if(c){var d=c.dim+"Axis",f=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;r[d]=r[d]||[];for(var p=0;p<=f;p++)r[d][f]=r[d][f]||{};r[d][f].boundaryGap="bar"===n}}}),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:r})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),r.register("magicType",l);var d=l;t.exports=d},RYbJ:function(t,e,n){var i=n("/gxq");t.exports=function(t){for(var e=0;e=0||a&&i.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(o[t[r][0]]=l)}}return o}}},Rfu2:function(t,e,n){(function(e){n("4Nz2").__DEV__;var i=n("/gxq"),a=n("Pdtn"),o=n("1Hui"),r=n("vXqC"),s=i.isObject,l="undefined"==typeof window?e:window,u={float:void 0===l.Float64Array?Array:l.Float64Array,int:void 0===l.Int32Array?Array:l.Int32Array,ordinal:Array,number:Array,time:Array},h=["stackedOn","hasItemOption","_nameList","_idList","_rawData"];function c(t,e){i.each(h.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods}function d(t){this._array=t||[]}d.prototype.pure=!1,d.prototype.count=function(){return this._array.length},d.prototype.getItem=function(t){return this._array[t]};var f=function(t,e){t=t||["x","y"];for(var n={},i=[],a=0;a=0?o[l]=new u.constructor(r[l].length):o[l]=r[l]}return a}p.type="list",p.hasItemOption=!0,p.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},p.getDimensionInfo=function(t){return i.clone(this._dimensionInfos[this.getDimension(t)])},p.initData=function(t,e,n){t=t||[],i.isArray(t)&&(t=new d(t)),this._rawData=t;var a,o=this._storage={},s=this.indices=[],l=this.dimensions,h=this._dimensionInfos,c=t.count(),f=[],p={};e=e||[];for(var g=0;g0&&(S+="__ec__"+p[w]),p[w]++),S&&(f[g]=S)}this._nameList=e,this._idList=f},p.count=function(){return this.indices.length},p.get=function(t,e,n){var i=this._storage,a=this.indices[e];if(null==a||!i[t])return NaN;var o=i[t][a];if(n){var r=this._dimensionInfos[t];if(r&&r.stackable)for(var s=this.stackedOn;s;){var l=s.get(t,e);(o>=0&&l>0||o<=0&&l<0)&&(o+=l),s=s.stackedOn}}return o},p.getValues=function(t,e,n){var a=[];i.isArray(t)||(n=e,e=t,t=this.dimensions);for(var o=0,r=t.length;ol&&(l=o));return this._extent[t+!!e]=[s,l]}return[1/0,-1/0]},p.getSum=function(t,e){var n=0;if(this._storage[t])for(var i=0,a=this.count();it))return o;a=o-1}}return-1},p.indicesOfNearest=function(t,e,n,i){var a=[];if(!this._storage[t])return a;null==i&&(i=1/0);for(var o=Number.MAX_VALUE,r=-1,s=0,l=this.count();s=0&&r<0)&&(o=h,r=u,a.length=0),a.push(s))}return a},p.getRawIndex=function(t){var e=this.indices[t];return null==e?-1:e},p.getRawDataItem=function(t){return this._rawData.getItem(this.getRawIndex(t))},p.getName=function(t){return this._nameList[this.indices[t]]||""},p.getId=function(t){return this._idList[this.indices[t]]||this.getRawIndex(t)+""},p.each=function(t,e,n,a){"function"==typeof t&&(a=n,n=e,e=t,t=[]);var o=[],r=(t=i.map(g(t),this.getDimension,this)).length,s=this.indices;a=a||this;for(var l=0;lf-p&&(c=f-p,u.length=c);for(var g=0;g=0;i--)a.isIdInner(e[i])&&e.splice(i,1);t[n]=e}}),delete t[g],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,o=t.name,r=this._componentsMap.get(e);if(!r||!r.length)return[];if(null!=i)d(i)||(i=[i]),n=h(c(i,function(t){return r[t]}),function(t){return!!t});else if(null!=a){var s=d(a);n=h(r,function(t){return s&&f(a,t.id)>=0||!s&&t.id===a})}else if(null!=o){var l=d(o);n=h(r,function(t){return l&&f(o,t.name)>=0||!l&&t.name===o})}else n=r.slice();return y(n,t)},findComponents:function(t){var e,n,i,a,o,r=t.query,s=t.mainType,l=(n=s+"Index",i=s+"Id",a=s+"Name",!(e=r)||null==e[n]&&null==e[i]&&null==e[a]?null:{mainType:s,index:e[n],id:e[i],name:e[a]}),u=l?this.queryComponents(l):this._componentsMap.get(s);return o=y(u,t),t.filter?h(o,t.filter):o},eachComponent:function(t,e,n){var a=this._componentsMap;if("function"==typeof t)n=e,e=t,a.each(function(t,i){u(t,function(t,a){e.call(n,i,t,a)})});else if(i.isString(t))u(a.get(t),e,n);else if(p(t)){var o=this.findComponents(t);u(o,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return h(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 h(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},eachSeries:function(t,e){u(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},eachRawSeries:function(t,e){u(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){u(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 u(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return i.indexOf(this._seriesIndices,t.componentIndex)<0},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){var n=h(this._componentsMap.get("series"),t,e);this._seriesIndices=v(n)},restoreData:function(){var t=this._componentsMap;this._seriesIndices=v(t.get("series"));var e=[];t.each(function(t,n){e.push(n)}),r.topologicalTravel(e,r.getAllClassMainTypes(),function(e,n){u(t.get(e),function(t){t.restoreData()})})}});function v(t){return c(t,function(t){return t.componentIndex})||[]}function y(t,e){return e.hasOwnProperty("subType")?h(t,function(t){return t.subType===e.subType}):t}i.mixin(m,l);var x=m;t.exports=x},"S+iL":function(t,e,n){var i=n("Icdr");i.registerAction({type:"brush",event:"brush",update:"updateView"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},SZjP:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=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=o},SlE6:function(t,e){function n(t){return t>=0?1:-1}function i(t,e,i){for(var a,o=t.getBaseAxis(),r=t.getOtherAxis(o),s=o.onZero?0:r.scale.getExtent()[0],l=r.dim,u="x"===l||"radius"===l?1:0,h=e.stackedOn,c=e.get(l,i);h&&n(h.get(l,i))===n(c);){a=h;break}var d=[];return d[u]=e.get(o.dim,i),d[1-u]=a?a.get(l,i,!0):s,t.dataToPoint(d)}t.exports=function(t,e,n,a,o,r){for(var s=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),l=[],u=[],h=[],c=[],d=[],f=[],p=[],g=r.dimensions,m=0;mu&&(n*=u/(r=n+i),i*=u/r),a+o>u&&(a*=u/(r=a+o),o*=u/r),i+a>h&&(i*=h/(r=i+a),a*=h/r),n+o>h&&(n*=h/(r=n+o),o*=h/r),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.quadraticCurveTo(s+u,l,s+u,l+i),t.lineTo(s+u,l+h-a),0!==a&&t.quadraticCurveTo(s+u,l+h,s+u-a,l+h),t.lineTo(s+o,l+h),0!==o&&t.quadraticCurveTo(s,l+h,s,l+h-o),t.lineTo(s,l+n),0!==n&&t.quadraticCurveTo(s,l,s+n,l)}},T6W2: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 o=0;o0){var i,a,r=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),i=s[l],r.contains(i)||r.appendChild(i)):(a="zr-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",a),r.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var h=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=h}else u.brush(s);var c=this.getSvgElement(s);i.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(i,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},r.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)})};var s=r;t.exports=s},TIfeS: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,o=n-this._x,r=a-this._y;this._x=n,this._y=a,e.drift(o,r,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}};var a=n;t.exports=a},TTCf:function(t,e,n){var i=n("Mlni").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}});t.exports=i},TXKS: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")),o=n(t.get("edgeSymbolSize")),r="lineStyle.normal.color".split("."),s="lineStyle.normal.opacity".split(".");i.setVisual("fromSymbol",a&&a[0]),i.setVisual("toSymbol",a&&a[1]),i.setVisual("fromSymbolSize",o&&o[0]),i.setVisual("toSymbolSize",o&&o[1]),i.setVisual("color",t.get(r)),i.setVisual("opacity",t.get(s)),i.each(function(t){var a=i.getItemModel(t),o=e.getEdgeByIndex(t),l=n(a.getShallow("symbol",!0)),u=n(a.getShallow("symbolSize",!0)),h=a.get(r),c=a.get(s);switch(h){case"source":h=o.node1.getVisual("color");break;case"target":h=o.node2.getVisual("color")}l[0]&&o.setVisual("fromSymbol",l[0]),l[1]&&o.setVisual("toSymbol",l[1]),u[0]&&o.setVisual("fromSymbolSize",u[0]),u[1]&&o.setVisual("toSymbolSize",u[1]),o.setVisual("color",h),o.setVisual("opacity",c)})})}},UAiw:function(t,e,n){var i=n("qjvV");e.Dispatcher=i;var a=n("YNzw"),o="undefined"!=typeof window&&!!window.addEventListener,r=/^(?: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=o?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 o=e.button;return null==e.which&&void 0!==o&&r.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},e.addEventListener=function(t,e,n){o?t.addEventListener(e,n):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){o?t.removeEventListener(e,n):t.detachEvent("on"+e,n)},e.stop=u,e.notLeftMouse=function(t){return t.which>1}},UOrf:function(t,e,n){var i=n("1Xuh"),a=n("wWR3"),o=a.parsePercent,r=a.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",function(t){var n=t.getData(),a=t.get("sort"),s=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),l=function(t,e){for(var n=t.mapArray("value",function(t){return t}),i=[],a="ascending"===e,o=0,r=t.count();o2?t.quadraticCurveTo(o[2][0],o[2][1],o[1][0],o[1][1]):t.lineTo(o[1][0],o[1][1])}},findDataIndex:function(t,e){for(var n=this.shape,i=n.segs,r=n.polyline,s=Math.max(this.style.lineWidth,1),l=0;l2){if(o.containStroke(u[0][0],u[0][1],u[2][0],u[2][1],u[1][0],u[1][1],s,t,e))return l}else if(a.containStroke(u[0][0],u[0][1],u[1][0],u[1][1],s,t,e))return l}return-1}});function s(){this.group=new i.Group,this._lineEl=new r}var l=s.prototype;l.updateData=function(t){this.group.removeAll();var e=this._lineEl,n=t.hostModel;e.setShape({segs:t.mapArray(t.getItemLayout),polyline:n.get("polyline")}),e.useStyle(n.getModel("lineStyle.normal").getLineStyle());var i=t.getVisual("color");i&&e.setStyle("stroke",i),e.setStyle("fill"),e.seriesIndex=n.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n)}),this.group.add(e)},l.updateLayout=function(t){var e=t.getData();this._lineEl.setShape({segs:e.mapArray(e.getItemLayout)})},l.remove=function(){this.group.removeAll()};var u=s;t.exports=u},"UeW/":function(t,e,n){n("4Nz2").__DEV__;var i=n("Icdr"),a=n("/gxq"),o=n("vXqC"),r=n("0sHC"),s=n("1Xuh");i.registerPreprocessor(function(t){var e=t.graphic;a.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{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,r=n.elements=e?[]:n.elements,l=[];this._flatten(i,l);var u=o.mappingToExists(r,l);o.makeIdAndName(u);var h=this._elOptionsToUpdate=[];a.each(u,function(t,e){var n=t.option;n&&(h.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),o=t[e],r=n.$action||"merge";"merge"===r?o?(a.merge(o,i,!0),s.mergeLayoutParam(o,i,{ignoreSize:!0}),s.copyLayoutParams(n,o)):t[e]=i:"replace"===r?t[e]=i:"remove"===r&&o&&(t[e]=null)}(r,e,n),function(t,e){if(!t)return;t.hv=e.hv=[c(e,["left","right"]),c(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0))}(r[e],n))},this);for(var d=r.length-1;d>=0;d--)null==r[d]?r.splice(d,1):delete r[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,o=new(0,r[a.charAt(0).toUpperCase()+a.slice(1)])(n);e.add(o),i.set(t,o),o.__ecGraphicId=t}function h(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse(function(t){h(t,e)}),e.removeKey(t.__ecGraphicId),n.remove(t))}function c(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(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t,n),this._relocate(t,n)},_updateElements:function(t,e){var n=t.useElOptionsToUpdate();if(n){var i=this._elMap,o=this.group;a.each(n,function(t){var e=t.$action,n=t.id,r=i.get(n),l=t.parentId,c=null!=l?i.get(l):o;if("text"===t.type){var d=t.style;t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke)}var f=function(t){return t=a.extend({},t),a.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),function(e){delete t[e]}),t}(t);e&&"merge"!==e?"replace"===e?(h(r,i),u(n,c,f,i)):"remove"===e&&h(r,i):r?r.attr(f):u(n,c,f,i);var p=i.get(n);p&&(p.__ecGraphicWidth=t.width,p.__ecGraphicHeight=t.height)})}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,a=this._elMap,o=n.length-1;o>=0;o--){var r=n[o],l=a.get(r.id);if(l){var u=l.parent,h=u===i?{width:e.getWidth(),height:e.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};s.positionElement(l,r,h,null,{hv:r.hv,boundingMode:r.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){h(e,t)}),this._elMap=a.createHashMap()},dispose:function(){this._clear()}})},UkNE:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("0sHC");n("5vFd"),n("zz1u"),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new o.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={})})},V4nf:function(t,e,n){var i=n("/gxq"),a=n("UAiw").Dispatcher,o=n("a1Sp"),r=n("CCtz"),s=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,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=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(s[1]-s[0])+s[0];i=Math.max(1/i,0),s[0]=(s[0]-c)*i+c,s[1]=(s[1]-c)*i+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,s,[0,100],0,d.minSpan,d.maxSpan),this._range=s}}}),u={grid:function(t,e,n,i,a){var o=n.axis,r={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(r.pixel=e[0]-t[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=o.inverse?-1:1),r},polar:function(t,e,n,i,a){var o=n.axis,r={},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?(r.pixel=e[0]-t[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=o.inverse?-1:1),r},singleAxis:function(t,e,n,i,a){var o=n.axis,r=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=o.inverse?-1:1),s}},h=l;t.exports=h},WxG6:function(t,e,n){var i=n("/gxq"),a={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t){i.each(t.regions,function(t){var e=a[t.name];if(e){var n=t.center;n[0]=e[0],n[1]=e[1]}})}},XAC3:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("YNzw"),r=n("aYad"),s=n("HHfb"),l=n("wWR3"),u=n("0sHC"),h=n("OxCu"),c=n("1Xuh"),d=n("Pdtn"),f=n("DpwM"),p=n("3yJd"),g=n("zAPJ"),m=a.bind,v=a.each,y=l.parsePercent,x=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),_=i.extendComponentView({type:"tooltip",init:function(t,e){if(!o.node){var n=new r(e.getDom(),e);this._tooltipContent=n}},render:function(t,e,n){if(!o.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");f.register("itemTooltip",this._api,m(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&&!o.node){var a=w(i,n);this._ticket="";var r=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var s=x;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(r)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){var a=this._tooltipContent;this._alwaysShowContent||a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(w(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var a=i.seriesIndex,o=i.dataIndex,r=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=o&&null!=r){var s=e.getSeriesByIndex(a);if(s)if("axis"===(t=b([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,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=this._tooltipModel,o=[e.offsetX,e.offsetY],r=[],l=[],u=b([e.tooltipOption,i]);v(t,function(t){v(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value,o=[];if(e&&null!=i){var u=g.getValueLabel(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,function(a){var r=n.getSeriesByIndex(a.seriesIndex),s=a.dataIndexInside,h=r&&r.getDataParams(s);h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=p.getAxisRawValue(e.axis,i),h.axisValueLabel=u,h&&(l.push(h),o.push(r.formatTooltip(s,!0)))});var h=u;r.push((h?s.encodeHTML(h)+"
":"")+o.join("
"))}})},this),r.reverse(),r=r.join("

");var h=e.position;this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,h,o[0],o[1],this._tooltipContent,l):this._showTooltipContent(u,r,l,Math.random(),o[0],o[1],h)})},_showSeriesItemTooltip:function(t,e,n){var i=this._ecModel,a=e.seriesIndex,o=i.getSeriesByIndex(a),r=e.dataModel||o,s=e.dataIndex,l=e.dataType,u=r.getData(),h=b([u.getItemModel(s),r,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),c=h.get("trigger");if(null==c||"item"===c){var d=r.getDataParams(s,l),f=r.formatTooltip(s,!1,l),p="item_"+r.name+"_"+s;this._showOrMove(h,function(){this._showTooltipContent(h,f,d,p,t.offsetX,t.offsetY,t.position,t.target)}),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;if("string"==typeof i){i={content:i,formatter:i}}var a=new d(i,this._tooltipModel,this._ecModel),o=a.get("content"),r=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},r,t.offsetX,t.offsetY,t.position,e)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,a,o,r,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");r=r||t.get("position");var c=e;if(h&&"string"==typeof h)c=s.formatTpl(h,n,!0);else if("function"==typeof h){var d=m(function(e,i){e===this._ticket&&(u.setContent(i),this._updatePosition(t,r,a,o,u,n,l))},this);this._ticket=i,c=h(n,i,d)}u.setContent(c),u.show(t),this._updatePosition(t,r,a,o,u,n,l)}},_updatePosition:function(t,e,n,i,o,r,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=o.getSize(),d=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],r,o.el,p,{viewSize:[l,u],contentSize:h.slice()})),a.isArray(e))n=y(e[0],l),i=y(e[1],u);else if(a.isObject(e)){e.width=h[0],e.height=h[1];var g=c.getLayoutRect(e,{width:l,height:u});n=g.x,i=g.y,d=null,f=null}else if("string"==typeof e&&s){var m=function(t,e,n){var i=n[0],a=n[1],o=0,r=0,s=e.width,l=e.height;switch(t){case"inside":o=e.x+s/2-i/2,r=e.y+l/2-a/2;break;case"top":o=e.x+s/2-i/2,r=e.y-a-5;break;case"bottom":o=e.x+s/2-i/2,r=e.y+l+5;break;case"left":o=e.x-i-5,r=e.y+l/2-a/2;break;case"right":o=e.x+s+5,r=e.y+l/2-a/2}return[o,r]}(e,p,h);n=m[0],i=m[1]}else{m=function(t,e,n,i,a,o,r){var s=S(n),l=s.width,u=s.height;null!=o&&(t+l+o>i?t-=l+o:t+=o);null!=r&&(e+u+r>a?e-=u+r:e+=r);return[t,e]}(n,i,o.el,l,u,d?null:20,f?null:20);n=m[0],i=m[1]}if(d&&(n-=M(d)?h[0]/2:"right"===d?h[0]:0),f&&(i-=M(f)?h[1]/2:"bottom"===f?h[1]:0),t.get("confine")){m=function(t,e,n,i,a){var o=S(n),r=o.width,s=o.height;return t=Math.min(t+r,i)-r,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,o.el,l,u);n=m[0],i=m[1]}o.moveTo(n,i)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&v(e,function(e,i){var a=e.dataByAxis||{},o=(t[i]||{}).dataByAxis||[];(n&=a.length===o.length)&&v(a,function(t,e){var i=o[e]||{},a=t.seriesDataIndices||[],r=i.seriesDataIndices||[];(n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&a.length===r.length)&&v(a,function(t,e){var i=r[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){o.node||(this._tooltipContent.hide(),f.unregister("itemTooltip",e))}});function b(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(n instanceof d&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new d(n,e,e.ecModel))}return e}function w(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function S(t){var e=t.clientWidth,n=t.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(t);i&&(e+=parseInt(i.paddingLeft,10)+parseInt(i.paddingRight,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),n+=parseInt(i.paddingTop,10)+parseInt(i.paddingBottom,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:e,height:n}}function M(t){return"center"===t||"middle"===t}t.exports=_},XCrL:function(t,e,n){n("4Nz2").__DEV__;var i=n("/gxq"),a=n("0sHC"),o=n("vXqC"),r=n("ZJ+T"),s=i.each,l=i.indexOf,u=i.curry,h=["dataToPoint","pointToData"],c=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,n){var i=this._targetInfoList=[],a={},o=g(e,t);s(m,function(t,e){(!n||!n.include||l(n.include,e)>=0)&&t(o,i,a)})}var f=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return o.parseFinder(t,e,{includeMainTypes:c})}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,o,r,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=x[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?b[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,a=S(n),o=S(i),r=[a[0]/o[0],a[1]/o[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):l.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:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:r.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=0||l(a,t.getAxis("y").model)>=0)&&o.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:h[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[h[t]]([n[0][0],n[1][0]]),a=e[h[t]]([n[0][1],n[1][1]]),o=[p([i[0],a[0]]),p([i[1],a[1]])];return{values:o,xyMinMax:o}},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[h[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 o=n.getAxis(["x","y"][t]),r=p(i.map([0,1],function(t){return e?o.coordToData(o.toLocalCoord(a[t])):o.toGlobalCoord(o.dataToCoord(a[t]))})),s=[];return s[t]=r,s[1-t]=[NaN,NaN],{values:r,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]}var M=d;t.exports=M},XFat:function(t,e){e.eachAfter=function(t,e,n){for(var i,a=[t],o=[];i=a.pop();)if(o.push(i),i.isExpand){var r=i.children;if(r.length)for(var s=0;s=0;o--)i.push(a[o])}}},XLwt:function(t,e,n){var i=n("Icdr");!function(){for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}}();var a=n("iNHu");!function(){for(var t in a){if(null==a||!a.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=a[t]}}(),n("4UDB"),n("GbHy"),n("Vb+l"),n("u9yV"),n("rjsW"),n("nUSl"),n("8UWf"),n("O523"),n("1FNb"),n("87tG"),n("5/bM"),n("qbKW"),n("cWq4"),n("AjST"),n("9cSo"),n("k9Bd"),n("zjhG"),n("o0k+"),n("N1UU"),n("7bL3"),n("MOpb"),n("UeW/"),n("ILx8"),n("P7ry"),n("Oq2I"),n("AKXb"),n("LbEf"),n("80zD"),n("FlXs"),n("4V7L"),n("swsf"),n("/99E"),n("miEh"),n("wQkr"),n("tQk0"),n("2tOJ"),n("p1Ck"),n("Mn6+"),n("JRc4"),n("YsUA"),n("VmZa"),n("jLnL")},XRkS:function(t,e,n){var i=n("Icdr"),a=n("/gxq");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}})})}},XhgW:function(t,e,n){var i=n("3h1/");function a(t,e,n,i,a,o,r){function s(e,n,i,a){for(var o=e;oe&&o+1t[o].y+t[o].height)return void l(o,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,o){for(var r=e?Number.MAX_VALUE:0,s=0,l=t.length;s=r&&(d=r-10),!e&&d<=r&&(d=r+10),t[s].x=n+d*o,r=d}}t.sort(function(t,e){return t.y-e.y});for(var h,c=0,d=t.length,f=[],p=[],g=0;g=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,o){var r,s,l=t.getData(),u=[],h=!1;l.each(function(n){var a,o,c,d,f=l.getItemLayout(n),p=l.getItemModel(n),g=p.getModel("label.normal"),m=g.get("position")||p.get("label.emphasis.position"),v=p.getModel("labelLine.normal"),y=v.get("length"),x=v.get("length2"),_=(f.startAngle+f.endAngle)/2,b=Math.cos(_),w=Math.sin(_);r=f.cx,s=f.cy;var S="inside"===m||"inner"===m;if("center"===m)a=f.cx,o=f.cy,d="center";else{var M=(S?(f.r+f.r0)/2*b:f.r*b)+r,I=(S?(f.r+f.r0)/2*w:f.r*w)+s;if(a=M+3*b,o=I+3*w,!S){var A=M+b*(y+e-f.r),T=I+w*(y+e-f.r),C=A+(b<0?-1:1)*x;a=C+(b<0?-5:5),o=T,c=[[M,I],[A,T],[C,T]]}d=S?"center":b>0?"left":"right"}var L=g.getFont(),D=g.get("rotate")?b<0?-_+Math.PI:-_:0,P=t.getFormattedLabel(n,"normal")||l.getName(n),k=i.getBoundingRect(P,L,d,"top");h=!!D,f.label={x:a,y:o,position:m,height:k.height,len:y,len2:x,linePoints:c,textAlign:d,verticalAlign:"middle",rotation:D,inside:S},S||u.push(f.label)}),!h&&t.get("avoidLabelOverlap")&&function(t,e,n,i,o,r){for(var s=[],l=[],u=0;u=0;o--)a=i.merge(a,t[o],!0);r.set(this,"__defaultOption",a)}return r.get(this,"__defaultOption")},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});r.enableClassManagement(h,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(h),o.enableTopologicalTravel(h,function(t){var e=[];return i.each(h.getClassesByMainType(t),function(t){u.apply(e,t.prototype.dependencies||[])}),i.map(e,function(t){return r.parseClassType(t).main})}),i.mixin(h,l);var c=h;t.exports=c},YNzw:function(t,e){var n="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0,svgSupported:!0}:function(t){var e={},n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(e.firefox=!0,e.version=n[1]);i&&(e.ie=!0,e.version=i[1]);a&&(e.edge=!0,e.version=a[1]);o&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&e.version>=11)}}(navigator.userAgent);t.exports=n},YbE0:function(t,e,n){var i=n("/gxq"),a=n("wWR3").parsePercent,o=i.each;t.exports=function(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",function(t){var a=t.getBaseAxis(),o=i.indexOf(n,a);o<0&&(o=n.length,n[o]=a,e[o]={axis:a,seriesModels:[]}),e[o].seriesModels.push(t)}),e}(t);o(e,function(t){var e=t.seriesModels;e.length&&(function(t){var e,n,r=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],h=t.boxOffsetList=[],c=[];if("category"===r.type)n=r.getBandWidth();else{var d=0;o(s,function(t){d=Math.max(d,t.getData().count())}),e=r.getExtent(),Math.abs(e[1]-e[0])}o(s,function(t){var e=t.get("boxWidth");i.isArray(e)||(e=[e,e]),c.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;o(s,function(t,e){h.push(m),m+=p+g,u.push(Math.min(Math.max(g,c[e][0]),c[e][1]))})}(t),o(e,function(e,n){!function(t,e,n){var a,o=t.coordinateSystem,r=t.getData(),s=n/2,l=t.get("layout"),u="horizontal"===l?0:1,h=1-u,c=["x","y"],d=[];i.each(r.dimensions,function(t){var e=r.getDimensionInfo(t).coordDim;e===c[h]?d.push(t):e===c[u]&&(a=t)}),null==a||d.length<5||r.each([a].concat(d),function(){var t=arguments,n=t[0],i=t[d.length+1],a=m(t[3]),c=m(t[1]),f=m(t[5]),p=[[c,m(t[2])],[f,m(t[4])]];y(c),y(f),y(a);var g=[];function m(t){var i,a=[];return a[u]=n,a[h]=t,isNaN(n)||isNaN(t)?i=[NaN,NaN]:(i=o.dataToPoint(a))[u]+=e,i}function v(t,e){var n=t.slice(),i=t.slice();n[u]+=s,i[u]-=s,e?g.push(n,i):g.push(i,n)}function y(t){var e=[t.slice(),t.slice()];e[0][u]-=s,e[1][u]+=s,p.push(e)}v(p[0][1],0),v(p[1][1],1),r.setItemLayout(i,{chartLayout:l,initBaseline:a[h],median:a,bodyEnds:g,whiskerEnds:p})})}(e,t.boxOffsetList[n],t.boxWidthList[n])}))})}},Ylhr:function(t,e,n){var i=n("/gxq"),a=n("AlhT"),o=n("h0jU"),r=n("BNYN"),s=n("vXqC");function l(){this.group=new a,this.uid=o.getUID("viewChart")}l.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){c(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){c(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){}};var u=l.prototype;function h(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var n=0;n1){a=[];for(var l=0;l=0&&function(t){var e=function(t){for(var e=0;e.8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var m=s/2,v=[(c=r.tangentAt(m))[1],-c[0]],y=r.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(c[1],c[0]);u[0].8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[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,o=function(t){var e=new r({name:"line"});return d(e.shape,t),e}(t.getItemLayout(e));o.shape.percent=0,s.initProps(o,{shape:{percent:1}},a,e),this.add(o);var l=new s.Text({name:"label"});this.add(l),i.each(u,function(n){var i=c(n,t,e);this.add(i),this[h(n)]=t.getItemVisual(e,n)},this),this._updateCommonStl(t,e,n)},p.updateData=function(t,e,n){var a=t.hostModel,o=this.childOfName("line"),r=t.getItemLayout(e),l={shape:{}};d(l.shape,r),s.updateProps(o,l,a,e),i.each(u,function(n){var i=t.getItemVisual(e,n),a=h(n);if(this[a]!==i){this.remove(this.childOfName(n));var o=c(n,t,e);this.add(o)}this[a]=i},this),this._updateCommonStl(t,e,n)},p._updateCommonStl=function(t,e,n){var a=t.hostModel,o=this.childOfName("line"),r=n&&n.lineStyle,h=n&&n.hoverLineStyle,c=n&&n.labelModel,d=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var f=t.getItemModel(e);r=f.getModel("lineStyle.normal").getLineStyle(),h=f.getModel("lineStyle.emphasis").getLineStyle(),c=f.getModel("label.normal"),d=f.getModel("label.emphasis")}var p=t.getItemVisual(e,"color"),g=i.retrieve3(t.getItemVisual(e,"opacity"),r.opacity,1);o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},r)),o.hoverStyle=h,i.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))},this);var m,v,y,x,_=c.getShallow("show"),b=d.getShallow("show"),w=this.childOfName("label");if(_||b){var S=a.getRawValue(e);v=null==S?v=t.getName(e):isFinite(S)?l(S):S,m=p||"#000",y=i.retrieve2(a.getFormattedLabel(e,"normal",t.dataType),v),x=i.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),y)}if(_){var M=s.setTextStyle(w.style,c,{text:y},{autoColor:m});w.__textAlign=M.textAlign,w.__verticalAlign=M.textVerticalAlign,w.__position=c.get("position")||"middle"}else w.setStyle("text",null);w.hoverStyle=b?{text:x,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},w.ignore=!_&&!b,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);var g=f;t.exports=g},cI6i:function(t,e,n){var i,a=n("YNzw"),o="urn:schemas-microsoft-com:vml",r="undefined"==typeof window?null:window,s=!1,l=r&&r.document;if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),i=function(t){return l.createElement("')}}catch(t){i=function(t){return l.createElement("<"+t+' xmlns="'+o+'" 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)")}}},cN90:function(t,e,n){var i=n("EJsE"),a=n("ao1T"),o=i.extend({type:"series.heatmap",getInitialData:function(t,e){return a(t.data,this,e)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=o},"cO/Q":function(t,e,n){n("4Nz2").__DEV__;var i=n("/gxq"),a=n("dZZy"),o=n("1bHA"),r=n("SlE6"),s=n("0sHC"),l=n("vXqC"),u=n("MXTC"),h=u.Polyline,c=u.Polygon,d=n("Ylhr");function f(t,e){if(t.length===e.length){for(var n=0;ne[0]?1:-1;e[0]+=i*n,e[1]-=i*n}return e}function m(t){return t>=0?1:-1}function v(t,e,n){return"polar"===t.type?function(t,e,n){var i=t.getAngleAxis(),a=t.getRadiusAxis().getExtent(),o=i.getExtent(),r=Math.PI/180,l=new s.Sector({shape:{cx:t.cx,cy:t.cy,r0:a[0],r:a[1],startAngle:-o[0]*r,endAngle:-o[1]*r,clockwise:i.inverse}});return e&&(l.shape.endAngle=-o[0]*r,s.initProps(l,{shape:{endAngle:-o[1]*r}},n)),l}(t,e,n):function(t,e,n){var i=g(t.getAxis("x")),a=g(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),r=Math.min(i[0],i[1]),l=Math.min(a[0],a[1]),u=Math.max(i[0],i[1])-r,h=Math.max(a[0],a[1])-l,c=n.get("lineStyle.normal.width")||2,d=n.get("clipOverflow")?c/2:Math.max(u,h);o?(l-=d,h+=2*d):(r-=d,u+=2*d);var f=new s.Rect({shape:{x:r,y:l,width:u,height:h}});return e&&(f.shape[o?"width":"height"]=0,s.initProps(f,{shape:{width:u,height:h}},n)),f}(t,e,n)}function y(t,e,n){for(var i=e.getBaseAxis(),a="x"===i.dim||"radius"===i.dim?0:1,o=[],r=0;r0?a=o[0]:o[1]<0&&(a=o[1])}var r=i.dim,s="x"===r||"radius"===r?1:0;return e.mapArray([r],function(i,o){for(var l,u=e.stackedOn;u&&m(u.get(r,o))===m(i);){l=u;break}var h=[];return h[s]=e.get(n.dim,o),h[1-s]=l?l.get(r,o,!0):a,t.dataToPoint(h)},!0)}(a,r),I=t.get("showSymbol"),A=I&&!c&&!t.get("showAllSymbol")&&this._getSymbolIgnoreFunc(r,a),T=this._data;T&&T.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),T.setItemGraphicEl(e,null))}),I||g.remove(),o.add(b);var C=!c&&t.get("step");x&&d.type===a.type&&C===this._step?(S&&!_?_=this._newPolygon(h,M,a,w):_&&!S&&(b.remove(_),_=this._polygon=null),b.setClipPath(v(a,!1,t)),I&&g.updateData(r,A),r.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),f(this._stackedOnPoints,M)&&f(this._points,h)||(w?this._updateAnimation(r,M,a,n,C):(C&&(h=y(h,a,C),M=y(M,a,C)),x.setShape({points:h}),_&&_.setShape({points:h,stackedOnPoints:M})))):(I&&g.updateData(r,A),C&&(h=y(h,a,C),M=y(M,a,C)),x=this._newPolyline(h,a,w),S&&(_=this._newPolygon(h,M,a,w)),b.setClipPath(v(a,!0,t)));var L=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()){for(var a,o=n.length-1;o>=0;o--)if(n[o].dimension<2){a=n[o];break}if(a&&"cartesian2d"===e.type){var r=a.dimension,l=t.dimensions[r],u=e.getAxis(l),h=i.map(a.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),c=h.length,d=a.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),d.reverse());var f=h[0].coord-10,p=h[c-1].coord+10,g=p-f;if(g<.001)return"transparent";i.each(h,function(t){t.offset=(t.coord-f)/g}),h.push({offset:c?h[c-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:c?h[0].offset:.5,color:d[0]||"transparent"});var m=new s.LinearGradient(0,0,0,0,h,!0);return m[l]=f,m[l+"2"]=p,m}}}(r,a)||r.getVisual("color");x.useStyle(i.defaults(l.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"}));var D=t.get("smooth");if(D=p(t.get("smooth")),x.setShape({smooth:D,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),_){var P=r.stackedOn,k=0;if(_.useStyle(i.defaults(u.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel"})),P)k=p(P.hostModel.get("smooth"));_.setShape({smooth:D,stackedOnSmooth:k,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=r,this._coordSys=a,this._stackedOnPoints=M,this._points=h,this._step=C},dispose:function(){},highlight:function(t,e,n,i){var a=t.getData(),r=l.queryDataIndex(a,i);if(!(r instanceof Array)&&null!=r&&r>=0){var s=a.getItemGraphicEl(r);if(!s){var u=a.getItemLayout(r);if(!u)return;(s=new o(a,r)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,a.setItemGraphicEl(r,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(),o=l.queryDataIndex(a,i);if(null!=o&&o>=0){var r=a.getItemGraphicEl(o);r&&(r.__temp?(a.setItemGraphicEl(o,null),this.group.remove(r)):r.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 h({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 c({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_getSymbolIgnoreFunc:function(t,e){var n=e.getAxesByScale("ordinal")[0];if(n&&n.isLabelIgnored)return i.bind(n.isLabelIgnored,n)},_updateAnimation:function(t,e,n,i,a){var o=this._polyline,l=this._polygon,u=t.hostModel,h=r(this._data,t,this._stackedOnPoints,e,this._coordSys,n),c=h.current,d=h.stackedOnCurrent,f=h.next,p=h.stackedOnNext;a&&(c=y(h.current,n,a),d=y(h.stackedOnCurrent,n,a),f=y(h.next,n,a),p=y(h.stackedOnNext,n,a)),o.shape.__points=h.current,o.shape.points=c,s.updateProps(o,{shape:{points:f}},u),l&&(l.setShape({points:c,stackedOnPoints:d}),s.updateProps(l,{shape:{points:f,stackedOnPoints:p}},u));for(var g=[],m=h.status,v=0;v "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,n,n.ecModel);else{var w=l.get(b),S=s((w&&"view"!==w.type&&w.dimensions||[]).concat(["value"]),t);(_=new a(S,n)).initData(t)}var M=new a(["value"],n);return M.initData(g,p),c&&c(_,M),r({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:M},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},d8Tt:function(t,e){var n=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],i=function(t,e){this.extendFrom(t,!1),this.host=e};function a(t,e,n){var i=null==e.x?0:e.x,a=null==e.x2?1:e.x2,o=null==e.y?0:e.y,r=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,a=a*n.width+n.x,o=o*n.height+n.y,r=r*n.height+n.y),t.createLinearGradient(i,o,a,r)}function o(t,e,n){var i=n.width,a=n.height,o=Math.min(i,a),r=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(r=r*i+n.x,s=s*a+n.y,l*=o),t.createRadialGradient(r,s,0,r,s,l)}for(var r=i.prototype={constructor:i,host:null,fill:"#000",stroke:null,opacity:1,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,i){for(var a=i&&i.style,o=!a,r=0;r0},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?o:a)(t,e,n),r=e.colorStops,s=0;sn&&(s=n);var l=d.length,c=function(t,e,n,i){for(;n>>1;t[a][1]1&&(r*=s(_),c*=s(_));var b=(a===o?-1:1)*s((r*r*(c*c)-r*r*(x*x)-c*c*(y*y))/(r*r*(x*x)+c*c*(y*y)))||0,w=b*r*x/c,S=b*-c*y/r,M=(t+n)/2+u(v)*w-l(v)*S,I=(e+i)/2+l(v)*w+u(v)*S,A=f([1,0],[(y-w)/r,(x-S)/c]),T=[(y-w)/r,(x-S)/c],C=[(-1*y-w)/r,(-1*x-S)/c],L=f(T,C);d(T,C)<=-1&&(L=h),d(T,C)>=1&&(L=0),0===o&&L>0&&(L-=2*h),1===o&&L<0&&(L+=2*h),m.addData(g,M,I,r,c,A,L,v,o)}function g(t,e){var n=function(t){if(!t)return[];var e,n=t.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e0&&""===m[0]&&m.shift();for(var v=0;v=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var o=0;o=0&&l<0)&&(r=g,l=p,a=h,o.length=0),s(c,function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:o,snapToValue:a}}(e,t),u=l.payloadBatch,h=l.snapToValue;u[0]&&null==o.seriesIndex&&i.extend(o,u[0]),!a&&t.snap&&r.containData(h)&&null!=h&&(e=h),n.showPointer(t,e,u,o),n.showTooltip(t,l,h)}else n.showPointer(t,e)}function c(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function d(t,e,n,i){var a=n.payloadBatch,r=e.axis,s=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,h=o.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:r.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,o=[t.x,t.y],g=t,m=t.dispatchAction||i.bind(n.dispatchAction,n),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){p(o)&&(o=r({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(o),x=g.axesInfo,_=v.axesInfo,b="leave"===a||p(o),w={},S={},M={list:[],map:{}},I={showPointer:l(c,S),showTooltip:l(d,M)};s(v.coordSysMap,function(t,e){var n=y||t.containPoint(o);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 r=a&&a.value;null!=r||y||(r=i.pointToData(o)),null!=r&&h(t,r,I,!1,w)}})});var A={};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 o=a.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,f(e),f(t)))),A[t.key]=o}})}),s(A,function(t,e){h(_[e],t,I,!0,w)}),function(t,e,n){var i=n.axesInfo=[];s(e,function(e,n){var a=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.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,o,t,m),function(t,e,n){var a=n.getZr(),o=u(a).axisPointerLastHighlights||{},r=u(a).axisPointerLastHighlights={};s(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&s(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;r[e]=t})});var l=[],h=[];i.each(o,function(t,e){!r[e]&&h.push(t)}),i.each(r,function(t,e){!o[e]&&l.push(t)}),h.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,n),w}}},dzlV:function(t,e,n){var i=n("0sHC");function a(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,n,o,r,s,l){var u=n.getModel("label.normal"),h=n.getModel("label.emphasis");i.setLabelStyle(t,e,u,h,{labelFetcher:r,labelDataIndex:s,defaultText:r.getRawValue(s),isRectText:!0,autoColor:o}),a(t),a(e)}},"e+YR":function(t,e,n){var i=n("/gxq");e.createWrap=function(){var t,e=[],n={};return{add:function(t,a,o,r,s){return i.isString(r)&&(s=r,r=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:a,time:o,delay:r,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,a=0,o=e.length;a0?1:-1,r=i.height>0?1:-1;return{x:i.x+o*a/2,y:i.y+r*a/2,width:i.width-o*a,height:i.height-r*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 g(t,e,n,i,s,l,u,h){var c=e.getItemVisual(n,"color"),d=e.getItemVisual(n,"opacity"),f=i.getModel("itemStyle.normal"),p=i.getModel("itemStyle.emphasis").getBarItemStyle();h||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(a.defaults({fill:c,opacity:d},f.getBarItemStyle()));var g=i.getShallow("cursor");g&&t.attr("cursor",g);var m=u?s.height>0?"bottom":"top":s.width>0?"left":"right";h||r(t.style,p,i,c,l,n,m),o.setHoverStyle(t,p)}t.exports=h},eQYg:function(t,e,n){var i=n("Icdr"),a=n("Rfu2"),o=n("vXqC").defaultEmphasis,r=n("/n1K"),s=i.extendSeriesModel({type:"series.funnel",init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){var n=r(["value"],t.data),i=new a(n,this);return i.initData(t.data),i},_defaultLabelLine:function(t){o(t.labelLine,["show"]);var e=t.labelLine.normal,n=t.labelLine.emphasis;e.show=e.show&&t.label.normal.show,n.show=n.show&&t.label.emphasis.show},getDataParams:function(t){var e=this.getData(),n=s.superCall(this,"getDataParams",t),i=e.getSum("value");return n.percent=i?+(e.get("value",t)/i*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:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}}),l=s;t.exports=l},eZxa:function(t,e,n){var i=n("g+yZ").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])});var o=a;t.exports=o},ecfp:function(t,e,n){var i=n("/gxq"),a=n("Y5nL"),o=n("eH0a"),r=n("2uoh"),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,r);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var h=s;t.exports=h},em4M:function(t,e,n){var i=n("/gxq"),a=n("vXqC"),o=n("Y5nL"),r=i.each,s=i.clone,l=i.map,u=i.merge,h=/^(min|max)?(.+)$/;function c(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,n){var a={width:e,height:n,aspectratio:e/n},o=!0;return i.each(t,function(t,e){var n=e.match(h);if(n&&n[1]&&n[2]){var i=n[1],r=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(a[r],t,i)||(o=!1)}}),o}c.prototype={constructor:c,setOption:function(t,e){t=s(t,!0);var n,h,c=this._optionBackup,d=function(t,e,n){var a,o,s=[],l=[],u=t.timeline;t.baseOption&&(o=t.baseOption);(u||t.options)&&(o=o||{},s=(t.options||[]).slice());if(t.media){o=o||{};var h=t.media;r(h,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})}o||(o=t);o.timeline||(o.timeline=u);return r([o].concat(s).concat(i.map(l,function(t){return t.option})),function(t){r(e,function(e){e(t,n)})}),{baseOption:o,timelineOptions:s,mediaDefault:a,mediaList:l}}.call(this,t,e,!c);this._newBaseOption=d.baseOption,c?(n=c.baseOption,h=d.baseOption,r(h=h||{},function(t,e){if(null!=t){var i=n[e];if(o.hasClass(e)){t=a.normalizeToArray(t),i=a.normalizeToArray(i);var r=a.mappingToExists(i,t);n[e]=l(r,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else n[e]=u(i,t,!0)}}),d.timelineOptions.length&&(c.timelineOptions=d.timelineOptions),d.mediaList.length&&(c.mediaList=d.mediaList),d.mediaDefault&&(c.mediaDefault=d.mediaDefault)):this._optionBackup=d},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,i=this._api.getWidth(),a=this._api.getHeight(),o=this._mediaList,r=this._mediaDefault,u=[],h=[];if(!o.length&&!r)return h;for(var c=0,f=o.length;c0?a:o),borderColor:e.get(s>0?n:i)})})})}},fgF4:function(t,e,n){var i=n("RYbJ")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return i(this,t,e)}};t.exports=a},fm2I:function(t,e,n){var i=n("/gxq"),a=n("8b51"),o=n("wWR3"),r=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n("1Xuh"),u=n("PTCE"),h=Math.max,c=Math.min,d=i.retrieve,f=i.each,p=["itemStyle","normal","borderWidth"],g=["itemStyle","normal","gapWidth"],m=["upperLabel","normal","show"],v=["upperLabel","normal","height"];function y(t,e,n){for(var i,a=0,o=1/0,r=0,s=t.length;ra&&(a=i));var l=t.area*t.area,u=e*e*n;return l?h(u*a/l,l/(u*o)):1/0}function x(t,e,n,i,a){var o=e===n.width?0:1,r=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],d=e?t.area/e:0;(a||d>n[l[r]])&&(d=n[l[r]]);for(var f=0,p=t.length;fs&&(h=s),r=o}hs[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(e,s,l);if(0===h.sum)return t.viewChildren=[];if(h.sum=function(t,e,n,i,a){if(!i)return n;for(var o=t.get("visibleMin"),r=a.length,s=r,l=r-1;l>=0;l--){var u=a["asc"===i?r-l-1:l].getValue();u/n*et[1])break;n.push({color:this.getControllerVisual(o,"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,o=n.handleLabels;f([0,1],function(r){var l=a[r];l.setStyle("fill",e.handlesColor[r]),l.position[1]=t[r];var u=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));o[r].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})},this)}},_showIndicator:function(t,e,n,i){var a=this.visualMapModel,o=a.getExtent(),r=a.itemSize,l=[0,r[1]],u=d(t,o,l,!0),h=this._shapes,c=h.indicator;if(c){c.position[1]=u,c.attr("invisible",!1),c.setShape("points",function(t,e,n,i){return t?[[0,-p(e,g(n,0))],[v,0],[0,p(e,g(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,u,r[1]));var f=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});c.setStyle("fill",f);var m=s.applyTransform(h.indicatorLabelPoint,s.getTransform(c,this.group)),y=h.indicatorLabel;y.attr("invisible",!1);var x=this._applyTransform("left",h.barGroup),_=this._orient;y.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===_?x:"middle",textAlign:"horizontal"===_?"center":x,x:m[0],y:m[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,i=n.itemSize;if(n.option.hoverLink){var a=[0,i[1]],o=n.getExtent();t=p(g(a[0],t),a[1]);var r=function(t,e,n){var i=m/2,a=t.get("hoverLinkDataSize");a&&(i=d(a,e,n,!0)/2);return i}(n,o,a),s=[t-r,t+r],l=d(t,a,o,!0),u=[d(s[0],a,o,!0),d(s[1],a,o,!0)];s[0]a[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var f=this._hoverLinkDataIndices,v=[];(e||_(n))&&(v=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var y=c.compressBatches(f,v);this._dispatchHighDown("downplay",h.convertDataIndex(y[0])),this._dispatchHighDown("highlight",h.convertDataIndex(y[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),o=a.getDimension(n.getDataDimension(a)),r=a.get(o,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",h.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 o=s.getTransform(e,a?null:this.group);return s[i.isArray(t)?"applyTransform":"transformDirection"](t,o,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 x(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){o.stop(t.event)},ondragend:i})}function _(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function b(t){return"vertical"===t?"ns-resize":"ew-resize"}var w=y;t.exports=w},ghha:function(t,e,n){var i=n("JzYe");n("rctg").register("single",{create:function(t,e){var n=[];return t.eachComponent("singleAxis",function(a,o){var r=new i(a,t,e);r.name="single_"+o,r.resize(a,e),a.coordinateSystem=r,n.push(r)}),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})},guZJ:function(t,e,n){var i=n("Icdr"),a=n("0sHC"),o=n("/gxq"),r=n("kK7q");var s=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function h(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n){var a=function(t){return o.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=r.createSymbol(n,-1,-1,2,2,i);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),s}}function c(e,n,i,o,r,s){i.removeAll();for(var l=0;l=0&&n.push(t)}),n}(s.originalDeps=e(r),t);s.entryCount=l.length,0===s.entryCount&&o.push(r),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(r)})}),{graph:a,noEntryList:o}}(a),l=s.graph,u=s.noEntryList,h={};for(i.each(t,function(t){h[t]=!0});u.length;){var c=u.pop(),d=l[c],f=!!h[c];f&&(o.call(r,c,d.originalDeps.slice()),delete h[c]),i.each(d.successor,f?g:p)}i.each(h,function(){throw new Error("Circle dependency may exists")})}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,p(t)}}}},h4VJ:function(t,e,n){var i=n("0sHC"),a=n("/gxq"),o=n("Ylhr");function r(t,e){i.Group.call(this);var n=new i.Polygon,a=new i.Polyline,o=new i.Text;function r(){a.ignore=a.hoverIgnore,o.ignore=o.hoverIgnore}function s(){a.ignore=a.normalIgnore,o.ignore=o.normalIgnore}this.add(n),this.add(a),this.add(o),this.updateData(t,e,!0),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var s=r.prototype,l=["itemStyle","normal","opacity"];s.updateData=function(t,e,n){var o=this.childAt(0),r=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),h=t.getItemModel(e).get(l);h=null==h?1:h,o.useStyle({}),n?(o.setShape({points:u.points}),o.setStyle({opacity:0}),i.initProps(o,{style:{opacity:h}},r,e)):i.updateProps(o,{style:{opacity:h},shape:{points:u.points}},r,e);var c=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");o.setStyle(a.defaults({lineJoin:"round",fill:d},c.getModel("normal").getItemStyle(["opacity"]))),o.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),i.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),a=this.childAt(2),o=t.hostModel,r=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},o,e),i.updateProps(a,{style:{x:s.x,y:s.y}},o,e),a.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=r.getModel("label.normal"),h=r.getModel("label.emphasis"),c=r.getModel("labelLine.normal"),d=r.getModel("labelLine.emphasis");l=t.getItemVisual(e,"color");i.setLabelStyle(a.style,a.hoverStyle={},u,h,{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=!h.get("show"),n.ignore=n.normalIgnore=!c.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l}),n.setStyle(c.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle()},a.inherits(r,i.Group);var u=o.extend({type:"funnel",render:function(t,e,n){var i=t.getData(),a=this._data,o=this.group;i.diff(a).add(function(t){var e=new r(i,t);i.setItemGraphicEl(t,e),o.add(e)}).update(function(t,e){var n=a.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)}).remove(function(t){var e=a.getItemGraphicEl(t);o.remove(e)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},h6Uy:function(t,e,n){var i=n("/gxq").createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.getRawData(),a=t.get("color"),o=i();e.each(function(t){o.set(e.getRawIndex(t),t)}),n.each(function(i){var r=n.getName(i),s=a[(t.nameMap.get(r)-1)%a.length];n.setItemVisual(i,"color",s);var l=o.get(i);null!=l&&e.setItemVisual(l,"color",s)})})}},hG1p:function(t,e,n){var i=n("GxVO").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,o=e.width,r=e.angle,s=e.x-n(r)*o*(o>=a/3?1:2),l=e.y-i(r)*o*(o>=a/3?1:2);r=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(r)*o,e.y+i(r)*o),t.lineTo(e.x+n(e.angle)*a,e.y+i(e.angle)*a),t.lineTo(e.x-n(r)*o,e.y-i(r)*o),t.lineTo(s,l)}});t.exports=i},hZf2:function(t,e,n){var i=n("Pmfi"),a=n("/gxq"),o=n("eZxa");function r(t){i.call(this,t,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(r,i),r.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,o=e.style[i],r=n.getDefs(!0);o._dom?(a=o._dom,r.contains(o._dom)||n.addDom(a)):a=n.add(o),n.markUsed(e);var s=a.getAttribute("id");t.setAttribute(i,"url(#"+s+")")}})}},r.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return o("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},r.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))})},r.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 o("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,i=0,a=n.length;io[1]&&o.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:o[1],r0:o[0]},api:{coord:i.bind(function(i){var a=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),r=t.coordToPoint([a,o]);return r.push(a,o*Math.PI/180),r}),size:i.bind(a,t)}}}},ix3c:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("0sHC"),r=n("1Hui"),s=n("PTCE"),l=n("IkDM"),u=n("5Mek"),h=n("8b51"),c=n("dOVI"),d=n("e+YR"),f=n("RYbJ"),p=a.bind,g=o.Group,m=o.Rect,v=a.each,y=["label","normal"],x=["label","emphasis"],_=["upperLabel","normal"],b=["upperLabel","emphasis"],w=10,S=1,M=2,I=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A=function(t){var e=I(t);return e.stroke=e.fill=e.lineWidth=null,e},T=i.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage={nodeGroup:[],background:[],content:[]},this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,n,i){var o=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(a.indexOf(o,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=s.retrieveTargetInfo(i,t),l=i&&i.type,u=t.layoutInfo,h=!this._oldTree,c=this._storage,d="treemapRootToNode"===l&&r&&c?{rootNodeGroup:c.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,f=this._giveContainerGroup(u),p=this._doRender(f,t,d);h||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?p.renderFinally():this._doAnimation(f,p,t,d),this._resetController(n),this._renderBreadcrumb(t,n,r)}},_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,o=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},u=this._storage,h=[],c=a.curry(C,e,l,u,n,s,h);!function t(e,n,i,o,s){o?(n=e,v(e,function(t,e){!t.isRemoved()&&u(e,e)})):new r(n,e,l,l).add(u).update(u).remove(a.curry(u,null)).execute();function l(t){return t.getId()}function u(a,r){var l=null!=a?e[a]:null,u=null!=r?n[r]:null,h=c(l,u,i,s);h&&t(l&&l.viewChildren||[],u&&u.viewChildren||[],h,o,s+1)}}(i.root?[i.root]:[],o&&o.root?[o.root]:[],t,i===o||!o,0);var d=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&v(t,function(t,n){var i=e[n];v(t,function(t){t&&(i.push(t),t.__tmWillDelete=1)})}),e}(u);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(h,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,e,n,i){if(n.get("animation")){var o=n.get("animationDurationUpdate"),r=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,h=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,h=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,h],style:{opacity:0}}:{shape:{x:u,y:h,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,o,r)}})}),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,o,r))})},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 h(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,e){if("animating"!==this._state&&(Math.abs(t)>3||Math.abs(e)>3)){var n=this.seriesModel.getData().tree.root;if(!n)return;var i=n.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t,y:i.y+e,width:i.width,height:i.height}})}},_onZoom:function(t,e,n){if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var a=i.getLayout();if(!a)return;var o=new h(a.x,a.y,a.width,a.height),r=this.seriesModel.layoutInfo;e-=r.x,n-=r.y;var s=c.create();c.translate(s,s,[-e,-n]),c.scale(s,s,[t,t]),c.translate(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.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),o=a.get("link",!0),r=a.get("target",!0)||"blank";o&&window.open(o,r)}}}}},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 o=a.transformCoordToLocal(t,e),r=a.shape;if(!(r.x<=o[0]&&o[0]<=r.x+r.width&&r.y<=o[1]&&o[1]<=r.y+r.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}},this),n}});function C(t,e,n,i,r,s,l,u,h,c){if(l){var d=l.getLayout();if(d&&d.isInView){var f=d.width,p=d.height,v=d.borderWidth,T=d.invisible,C=l.getRawIndex(),L=u&&u.getRawIndex(),D=l.viewChildren,P=d.upperHeight,k=D&&D.length,O=l.getModel("itemStyle.normal"),R=l.getModel("itemStyle.emphasis"),E=H("nodeGroup",g);if(E){if(h.add(E),E.attr("position",[d.x||0,d.y||0]),E.__tmNodeWidth=f,E.__tmNodeHeight=p,d.isAboveViewRoot)return E;var N=H("background",m,c,S);if(N&&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),r=R.get("borderColor");V(n,function(){var t=A(O);t.fill=a;var e=I(R);if(e.fill=r,i){var s=f-2*v;B(t,e,a,s,P,{x:v,y:0,width:s,height:P})}else t.text=e.text=null;n.setStyle(t),o.setHoverStyle(n,e)}),e.add(n)}(E,N,k&&d.upperHeight),!k){var z=H("content",m,c,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 r=l.getVisual("color",!0);V(n,function(){var t=A(O);t.fill=r;var e=I(R);B(t,e,r,i,a),n.setStyle(t),o.setHoverStyle(n,e)}),e.add(n)}(E,z)}return E}}}function V(t,e){T?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function B(e,n,i,r,s,u){var h=l.getModel(),c=a.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),h.get("name"));if(!u&&d.isLeafRoot){var f=t.get("drillDownIcon",!0);c=f?f+" "+c:c}var p=h.getModel(u?_:y),g=h.getModel(u?b:x),m=p.getShallow("show");o.setLabelStyle(e,n,p,g,{defaultText:m?c:null,autoColor:i,isRectText:!0}),u&&(e.textRect=a.clone(u)),e.truncate=m&&p.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function H(t,o,s,u){var h=null!=L&&n[t][L],c=r[t];return h?(n[t][L]=null,function(t,e,n){(t[C]={}).old="nodeGroup"===n?e.position.slice():a.extend({},e.shape)}(c,h,t)):T||((h=new o({z:function(t,e){var n=t*w+e;return(n-1)/n}(s,u)})).__tmDepth=s,h.__tmStorageName=t,function(t,e,n){var a=t[C]={},o=l.parentNode;if(o&&(!i||"drillDown"===i.direction)){var s=0,u=0,h=r.background[o.getRawIndex()];!i&&h&&h.old&&(s=h.old.width,u=h.old.height),a.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==n}(c,0,t)),e[t][C]=h}}t.exports=T},jHiU:function(t,e,n){var i=n("/gxq"),a=n("wRzc"),o=function(t,e,n,i,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,a.call(this,i)};o.prototype={constructor:o},i.inherits(o,a);var r=o;t.exports=r},jJrn:function(t,e,n){var i=n("/gxq"),a=n("JFJR"),o=n("tBuv"),r=n("wWR3"),s=n("3yJd"),l=s.getScaleExtent,u=s.niceScaleExtent,h=n("rctg");function c(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 o);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n),this.cx,this.cy,this.r,this.startAngle}c.prototype.getIndicatorAxes=function(){return this._indicatorAxes},c.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},c.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},c.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,o=Math.atan2(-n,e),r=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]))}else{a.getTicks().length-1>o&&(d=s(d));var g=Math.round((n[0]+n[1])/2/d)*d,m=Math.round(o/2);a.setExtent(r.round(g-m*d),r.round(g+(o-m)*d)),a.setInterval(d)}})},c.dimensions=[],c.create=function(t,e){var n=[];return t.eachComponent("radar",function(i){var a=new c(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},h.register("radar",c);var d=c;t.exports=d},jLnL:function(t,e,n){n("4w1v"),(0,n("hv2j").registerPainter)("svg",n("Q5xN"))},jMTz:function(t,e,n){n("4Nz2").__DEV__;var i=n("ao1T"),a=n("EJsE").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return i(t.data,this,e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=a},jpt2:function(t,e,n){var i=n("LBXi"),a=n("Icdr").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},k7nC: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){if("china"===t.map)for(var e=0,i=t.regions.length;e=0;o--){var r;if(i[o]!==n&&!i[o].ignore&&(r=c(i[o],t,e))&&(!a.topTarget&&(a.topTarget=i[o]),r!==s)){a.target=i[o];break}}return a}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){h.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("mosueup"===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(h,r),i.mixin(h,o);var d=h;t.exports=d},lwXq: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=0;a=0?"p":"n",m=v[n],y=h[a][n][u],x=c[a][n][u];f.isHorizontal()?(i=y,o=m[1]+l,r=m[0]-x,s=d,c[a][n][u]+=r,Math.abs(r)0?1:r<0?-1:0}(n,r,o,i,v),function(t,e,n,i,o,r,s,u,h,c){var d=h.valueDim,f=h.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(r)),c.symbolSize=g,(c.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(h.isHorizontal?-1:1)*s}(t,e,o,r,0,v.boundingLength,v.pxSign,p,i,v),function(t,e,n,i,a){var o=t.get(c)||0;o&&(f.attr({scale:e.slice(),rotation:n}),f.updateTransform(),o/=f.getLineScale(),o*=e[i.valueDim.index]);a.valueLineWidth=o}(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,o,r,s,h,c,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+h,0),x=y;if(i){var _=Math.abs(c),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=l(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=u(i),A=I?i:P((_+M)/S),T=_-A*y;S=y+2*(b=T/2/(w?A:A-1)),M=w?0:2*b,I||"fixed"===i||(A=d?P((Math.abs(d)+M)/S):0),x=A*S-M,p.repeatTimes=A,p.symbolMargin=b}var C=v*(x/2),L=p.pathPosition=[];L[g.index]=n[g.wh]/2,L[m.index]="start"===s?C:"end"===s?c-C:c/2,r&&(L[0]+=r[0],L[1]+=r[1]);var D=p.bundlePosition=[];D[g.index]=n[g.xy],D[m.index]=n[m.xy];var k=p.barRectShape=a.extend({},n);k[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(L[m.index]+C)),k[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,o,r,0,x,h,v.valueLineWidth,v.boundingLength,v.repeatCutLength,i,v),v}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize,n=r(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function v(t,e,n,i){var a=t.__pictorialBundle,o=n.symbolSize,r=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+r+2*n.symbolMargin;for(C(t,function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(a=u-1-t),e[l.index]=c*(a-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){C(t,function(t){t.trigger("emphasis")})}function v(){C(t,function(t){t.trigger("normal")})}}function y(t,e,n,i){var a=t.__pictorialBundle,o=t.__pictorialMainPath;o?L(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=m(n),a.add(o),L(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),M(o,n)}function x(t,e,n){var i=a.extend({},e.barRectShape),r=t.__pictorialBarRect;r?L(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new o.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function _(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,s=a.extend({},n.clipShape),l=e.valueDim,u=n.animationModel,h=n.dataIndex;if(r)o.updateProps(r,{shape:s},u,h);else{s[l.wh]=0,r=new o.Rect({shape:s}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var c={};c[l.wh]=n.clipShape[l.wh],o[i?"updateProps":"initProps"](r,{shape:c},u,h)}}}function b(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=w,n.isAnimationEnabled=S,n}function w(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(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 I(t,e,n,i){var a=new o.Group,r=new o.Group;return a.add(r),a.__pictorialBundle=r,r.attr("position",n.bundlePosition.slice()),n.symbolRepeat?v(a,e,n):y(a,0,n),x(a,n,i),_(a,e,n,i),a.__pictorialShapeStr=T(t,n),a.__pictorialSymbolMeta=n,a}function A(t,e,n,i){var r=i.__pictorialBarRect;r&&(r.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){o.updateProps(t,{scale:[0,0]},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function T(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,r){e&&t.attr(e),i.symbolClip&&!a?n&&t.attr(n):n&&o[a?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,r)}function D(t,e,n){var i=n.color,r=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle.normal").getItemStyle(["color"]),u=s.getModel("itemStyle.emphasis").getItemStyle(),c=s.getShallow("cursor");C(t,function(t){t.setColor(i),t.setStyle(a.defaults({fill:i,opacity:n.opacity},l)),o.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=n.z2});var d={},f=e.valueDim.posDesc[+(n.boundingLength>0)],p=t.__pictorialBarRect;h(p.style,d,s,i,e.seriesModel,r,f),o.setHoverStyle(p,d)}function P(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var k=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var i=this.group,a=t.getData(),r=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),h={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(r).add(function(t){if(a.hasValue(t)){var e=b(a,t),n=p(a,t,e,h),o=I(a,h,n);a.setItemGraphicEl(t,o),i.add(o),D(o,h,n)}}).update(function(t,e){var n=r.getItemGraphicEl(e);if(a.hasValue(t)){var s=b(a,t),l=p(a,t,s,h),u=T(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=t.__pictorialBundle;o.updateProps(r,{position:n.bundlePosition.slice()},i,a),n.symbolRepeat?v(t,e,n,!0):y(t,e,n,!0);x(t,n,!0),_(t,e,n,!0)}(n,h,l):n=I(a,h,l,!0),a.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,i.add(n),D(n,h,l)}else i.remove(n)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&A(r,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()}});t.exports=k},mLyJ:function(t,e,n){var i=n("/gxq"),a=n("wWR3").parsePercent;function o(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function r(t){return t.dim}var s=function(t,e,n){var s=n.getWidth(),l=n.getHeight(),u={},h={},c=function(t,e){var n={};i.each(t,function(t,e){var i=t.getData(),s=t.coordinateSystem,l=s.getBaseAxis(),u=l.getExtent(),h="category"===l.type?l.getBandWidth():Math.abs(u[1]-u[0])/i.count(),c=n[r(l)]||{bandWidth:h,remainedWidth:h,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=c.stacks;n[r(l)]=c;var f=o(t);d[f]||c.autoWidthCount++,d[f]=d[f]||{width:0,maxWidth:0};var p=a(t.get("barWidth"),h),g=a(t.get("barMaxWidth"),h),m=t.get("barGap"),v=t.get("barCategoryGap");p&&!d[f].width&&(p=Math.min(c.remainedWidth,p),d[f].width=p,c.remainedWidth-=p),g&&(d[f].maxWidth=g),null!=m&&(c.gap=m),null!=v&&(c.categoryGap=v)});var s={};return i.each(n,function(t,e){s[e]={};var n=t.stacks,o=t.bandWidth,r=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-r)/(h+(h-1)*l);c=Math.max(c,0),i.each(n,function(t,e){var n=t.maxWidth;n&&n=0?"p":"n",d=n.pointToCoord(T[a]),p=h[f][a][c];if("radius"===v.dim)o=p,r=d[0],l=(s=(-d[1]+g)*Math.PI/180)+m*Math.PI/180,Math.abs(r)0?C=A[1]:C===A[1]&&t<0&&(C=A[0]),h[f][a][c]=C}e.setItemLayout(a,{cx:x,cy:_,r0:o,r:r,startAngle:s,endAngle:l})}},!0)}},this)};t.exports=s},mcsk:function(t,e,n){var i="\0_ec_interaction_mutex";function a(t){return t[i]||(t[i]={})}n("Icdr").registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=function(t,e,n){a(t)[e]=n},e.release=function(t,e,n){var i=a(t);i[e]===n&&(i[e]=null)},e.isTaken=function(t,e){return!!a(t)[e]}},me52:function(t,e,n){var i=n("GxVO"),a=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=i.clone(t)},getValueState:function(t){var e=o.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){o.findPieceIndex(e,this._pieceList)===t&&i.push(n)},!0,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,o=this._pieceList.slice();if(o.length){var r=o[0].interval[0];r!==-1/0&&o.unshift({interval:[-1/0,r]}),(r=o[o.length-1].interval[1])!==1/0&&o.push({interval:[r,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(o,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,o){var r=a.getRepresentValue({interval:i});o||(o=a.getValueState(r));var s=t(r,o);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(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;for(var r=(a[1]-a[0])/o;+r.toFixed(n)!==r&&n<5;)n++;t.precision=n,r=+r.toFixed(n);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,a[0]],close:[0,0]});for(var u=a[0],h=l+o;l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}};function h(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var c=l;t.exports=c},moDv:function(t,e,n){var i=n("AAi1"),a=n("C7PF"),o=n("wUOi"),r=n("8b51"),s=n("g+yZ").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],h=[],c=[],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,o){return this.addData(l.C,t,e,n,i,a,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,a,o):this._ctx.bezierCurveTo(t,e,n,i,a,o)),this._xi=a,this._yi=o,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,o){return this.addData(l.A,t,e,n,n,i,a-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,a,o),this._xi=g(a)*n+t,this._yi=m(a)*n+t,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;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&g<=t||h<0&&g>=t||0==h&&(c>0&&m<=e||c<0&&m>=e);)g+=h*(n=r[i=this._dashIdx]),m+=c*n,this._dashIdx=(i+1)%y,h>0&&gl||c>0&&mu||s[i%2?"moveTo":"lineTo"](h>=0?f(g,t):p(g,t),c>=0?f(m,e):p(m,e));h=g-t,c=m-e,this._dashOffset=-v(h*h+c*c)},_dashedBezierTo:function(t,e,n,a,o,r){var s,l,u,h,c,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,o,s+.1)-x(m,t,n,o,s),u=x(y,e,a,r,s+.1)-x(y,e,a,r,s),_+=v(l*l+u*u);for(;bf);b++);for(s=(S-f)/_;s<=1;)h=x(m,t,n,o,s),c=x(y,e,a,r,s),b%2?g.moveTo(h,c):g.lineTo(h,c),s+=p[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(o,r),l=o-h,u=r-c,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var a=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,a,o)},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]=c[0]=c[1]=Number.MAX_VALUE,h[0]=h[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,f=0;fu||y(r-a)>h||d===c-1)&&(t.lineTo(o,r),i=o,a=r);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:_,A=x>_?1:x/_,T=x>_?_/x:1,C=b+w;Math.abs(x-_)>.001?(t.translate(p,v),t.rotate(S),t.scale(A,T),t.arc(0,0,I,b,C,1-M),t.scale(1/A,1/T),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,I,b,C,1-M),1==d&&(e=g(b)*x+p,n=m(b)*_+v),i=g(C)*x+p,a=m(C)*_+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;var b=_;t.exports=b},"n/n4":function(t,e,n){var i=n("/gxq");function a(t,e){return e=e||[0,0],i.map(["x","y"],function(n,i){var a=this.getAxis(n),o=e[i],r=t[i]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(o-r)-a.dataToCoord(o+r))},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:i.bind(t.dataToPoint,t),size:i.bind(a,t)}}}},n3NR:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("8b51"),r=n("NUWb"),s=n("zlsk"),l=n("QD+P"),u=n("XCrL"),h=["inBrush","outOfBrush"],c="__ecBrushSelect",d="__ecInBrushSelectEvent",f=i.PRIORITY.VISUAL.BRUSH;function p(t,e){if(!t.isDisposed()){var n=t.getZr();n[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[d]=!1}}function g(t,e,n,i){for(var a=0,o=e.length;ae[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&y(e)}};function y(t){return new o(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},n5nI:function(t,e,n){var i=n("wRzc");t.exports=function(t){t.eachRawSeries(function(e){var n=(e.visualColorAccessPath||"itemStyle.normal.color").split("."),a=e.getData(),o=e.get(n)||e.getColorFromPalette(e.get("name"));a.setVisual("color",o),t.isSeriesFiltered(e)||("function"!=typeof o||o instanceof i||a.each(function(t){a.setItemVisual(t,"color",o(e.getDataParams(t)))}),a.each(function(t){var e=a.getItemModel(t).get(n,!0);null!=e&&a.setItemVisual(t,"color",e)}))})}},nQkE:function(t,e,n){var i=n("/gxq"),a=n("wWR3");function o(t,e,n){if(t.count())for(var a,o=e.coordinateSystem,r=e.getLayerSeries(),s=i.map(r,function(e){return i.map(e.indices,function(e){var n=o.dataToPoint(t.get("time",e));return n[1]=t.get("value",e),n})}),l=function(t){for(var e=t.length,n=t[0].length,i=[],a=[],o=0,r={},s=0;so&&(o=u),i.push(u)}for(var h=0;ho&&(o=d)}return r.y0=a,r.max=o,r}(s),u=l.y0,h=n/l.max,c=r.length,d=r[0].indices.length,f=0;fe+h&&u>a+h&&u>r+h||ut+h&&l>n+h&&l>o+h||l1){n=n.split("");var i=[t(e,n[0]),t(e,n[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var i=o.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(t){return o.getTransform(t.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[i]}(t,n);a&&a.attr({silent:!i,invisible:!i,cursor:i?x[r]+"-resize":null})})}function z(t,e,n,i,a,o,r){var s,l,u,h,f,p=e.childOfName(n);p&&p.setShape((s=q(t,e,[[i,a],[i+o,a+r]]),l=c(s[0][0],s[1][0]),u=c(s[0][1],s[1][1]),h=d(s[0][0],s[1][0]),f=d(s[0][1],s[1][1]),{x:l,y:u,width:h-l,height:f-u}))}function V(t){return i.defaults({strokeNoScale:!0},t.brushStyle)}function B(t,e,n,i){var a=[c(t,n),c(e,i)],o=[d(t,n),d(e,i)];return[[a[0],o[0]],[a[1],o[1]]]}function H(t,e,n,i,a,o,r,s){var l=i.__brushOption,h=t(l.range),c=W(n,o,r);u(a.split(""),function(t){var e=y[t];h[e[0]][e[1]]+=c[e[0]]}),l.range=e(B(h[0][0],h[1][0],h[0][1],h[1][1])),T(n,i),k(n,{isEnd:!1})}function G(t,e,n,i,a){var o=e.__brushOption.range,r=W(t,n,i);u(o,function(t){t[0]+=r[0],t[1]+=r[1]}),T(t,e),k(t,{isEnd:!1})}function W(t,e,n){var i=t.group,a=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[a[0]-o[0],a[1]-o[1]]}function q(t,e,n){var a=D(t,e);return a&&!0!==a?a.clipPath(n,t._transform):i.clone(n)}function F(t){var e=t.event;e.preventDefault&&e.preventDefault()}function Z(t,e,n){return t.childOfName("main").contain(e,n)}function Y(t,e,n,a){var o,r=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],o=n[1]-i[1];return f(a*a+o*o,.5)>g}(t)||r){if(s&&!r){"single"===l.brushMode&&P(t);var u=i.clone(l);u.brushType=X(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=t._creatingCover=S(t,u),t._covers.push(r)}if(r){var h=J[X(t._brushType,s)];r.__brushOption.range=h.getCreatingRange(q(t,r,t._track)),a&&(M(t,r),h.updateCommon(t,r)),I(t,r),o={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&L(t,e,n)&&P(t)&&(o={isEnd:a,removeOnClick:!0});return o}function X(t,e){return"auto"===t?e.defaultBrushType:t}w.prototype={constructor:w,enableBrush:function(t){var e,n;return this._brushType&&(n=(e=this)._zr,r.release(n,v,e._uid),u(e._handlers,function(t,e){n.off(e,t)}),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||r.take(n,v,t._uid);u(t._handlers,function(t,e){n.on(e,t)}),t._brushType=e.brushType,t._brushOption=i.merge(i.clone(_),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){t=t||{},this._enableGlobalPan=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(_),t,!0)});var e="\0-brush-index-",n=this._covers,a=this._covers=[],o=this,r=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]!==r&&o.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]===r)a[e]=n[i];else{var l=a[e]=null!=i?(n[i].__brushOption=s,n[i]):M(o,S(o,s));T(o,l)}}},unmount:function(){return this.enableBrush(!1),P(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(w,a);var U={mousedown:function(t){if(this._dragging)j.call(this,t);else if(!t.target||!t.target.draggable){F(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=L(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,o=L(t,e,n);if(!t._dragging)for(var r=0;r=0||"+"===n?"left":"right"},c={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"))?p.get("itemSize"):0,v=_?p.get("itemGap"):0,y=g+v,x=t.get("label.normal.rotate")||0;x=x*m/180;var _,b=p.get("position",!0),w=(_=p.get("show",!0))&&p.get("showPlayBtn",!0),S=_&&p.get("showPrevBtn",!0),M=_&&p.get("showNextBtn",!0),I=0,A=f;return"left"===b||"bottom"===b?(w&&(o=[0,0],I+=y),S&&(r=[I,0],I+=y),M&&(l=[A-g,0],A-=y)):(w&&(o=[A-g,0],A-=y),S&&(r=[0,0],I+=y),M&&(l=[A-g,0],A-=y)),u=[I,A],t.get("inverse")&&u.reverse(),{viewRect:a,mainLength:f,orient:i,rotation:d[i],labelRotation:x,labelPosOpt:n,labelAlign:t.get("label.normal.align")||h[i],labelBaseline:t.get("label.normal.verticalAlign")||t.get("label.normal.baseline")||c[i],playPosition:o,prevBtnPosition:r,nextBtnPosition:l,axisExtent:u,controlSize:g,controlGap:v}},_position:function(t,e){var n=this._mainGroup,i=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var r=o.create(),s=a.x,l=a.y+a.height;o.translate(r,r,[-s,-l]),o.rotate(r,r,-m/2),o.translate(r,r,[s,l]),(a=a.clone()).applyTransform(r)}var u=y(a),h=y(n.getBoundingRect()),c=y(i.getBoundingRect()),d=n.position,f=i.position;f[0]=d[0]=u[0][0];var p,g=t.labelPosOpt;isNaN(g)?(x(d,h,u,1,p="+"===g?0:1),x(f,c,u,1,1-p)):(x(d,h,u,1,p=g>=0?0:1),f[1]=d[1]+g);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]}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=c.createScaleByModel(e,i),o=n.getDataExtent("value");a.setExtent(o[0],o[1]),this._customizeScale(a,n),a.niceTicks();var r=new u("value",a,t.axisExtent,i);return r.model=e,r},_customizeScale:function(t,e){t.getTicks=function(){return e.mapArray(["value"],function(t){return t})},t.getTicksLabels=function(){return i.map(this.getTicks(),t.getLabel,t)}},_createGroup:function(t){var e=this["_"+t]=new r.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,a){var o=n.getExtent();a.get("lineStyle.show")&&e.add(new r.Line({shape:{x1:o[0],y1:0,x2:o[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(),o=n.scale.getTicks();g(o,function(t,o){var s=n.dataToCoord(t),l=a.getItemModel(o),u=l.getModel("itemStyle.normal"),h=l.getModel("itemStyle.emphasis"),c={position:[s,0],onclick:p(this._changeTimeline,this,o)},d=y(l,u,e,c);r.setHoverStyle(d,h.getItemStyle()),l.get("tooltip")?(d.dataIndex=o,d.dataModel=i):d.dataIndex=d.dataModel=null},this)},_renderAxisLabel:function(t,e,n,i){var a=i.getModel("label.normal");if(a.get("show")){var o=i.getData(),s=n.scale.getTicks(),l=c.getFormattedLabels(n,a.get("formatter")),u=n.getLabelInterval();g(s,function(i,a){if(!n.isLabelIgnored(a,u)){var s=o.getItemModel(a),h=s.getModel("label.normal"),c=s.getModel("label.emphasis"),d=n.dataToCoord(i),f=new r.Text({position:[d,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,a),silent:!1});r.setTextStyle(f.style,h,{text:l[a],textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(f),r.setHoverStyle(f,r.setTextStyle({},c))}},this)}},_renderControl:function(t,e,n,o){var s=t.controlSize,l=t.rotation,u=o.getModel("controlStyle.normal").getItemStyle(),h=o.getModel("controlStyle.emphasis").getItemStyle(),c=[0,-s/2,s,s],d=o.getPlayState(),f=o.get("inverse",!0);function g(t,n,d,f){if(t){var p=function(t,e,n,o){return r.makePath(t.get(e).replace(/^path:\/\//,""),i.clone(o||{}),new a(n[0],n[1],n[2],n[3]),"center")}(o,n,c,{position:t,origin:[s/2,0],rotation:f?-l:0,rectHover:!0,style:u,onclick:d});e.add(p),r.setHoverStyle(p,h)}}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(),o=i.getCurrentIndex(),r=a.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=p(s._handlePointerDrag,s),t.ondragend=p(s._handlePointerDragend,s),x(t,o,n,i,!0)},onUpdate:function(t){x(t,o,n,i)}};this._currentPointer=y(r,r,this._mainGroup,{},this._currentPointer,l)},_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=this._axis,a=d.asc(i.getExtent().slice());n>a[1]&&(n=a[1]),n0?-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,o,r,s){e[0]=i(e[0],a),e[1]=i(e[1],a),t=t||0;var l=a[1]-a[0];null!=r&&(r=i(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===o&&(r=s=Math.abs(e[1]-e[0]),o=0);var u=n(e,o);e[o]+=t;var h=r||0,c=a.slice();u.sign<0?c[0]+=h:c[1]-=h,e[o]=i(e[o],c);var d=n(e,o);return null!=r&&(d.sign!==u.sign||d.spans&&(e[1-o]=e[o]+d.sign*s),e}},oqQy:function(t,e,n){var i=n("/gxq"),a=n("vjPX"),o=n("0sHC"),r=n("ay5B"),s=n("43ae"),l=a.getInterval,u=a.ifIgnoreOnTick,h=["axisLine","axisTickLabel","axisName"],c=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,o){var s=this.group;s.removeAll();var l=r.layout(t),u=new a(t,l);i.each(h,u.add,u),s.add(u.getGroup()),t.get("splitLine.show")&&this._splitLine(t,l.labelInterval),c.superCall(this,"render",t,e,n,o)},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitLine"),a=i.getModel("lineStyle"),r=a.get("width"),s=a.get("color"),h=l(i,e);s=s instanceof Array?s:[s];for(var c=t.coordinateSystem.getRect(),d=n.isHorizontal(),f=[],p=0,g=n.getTicksCoords(),m=[],v=[],y=t.get("axisLabel.showMinLabel"),x=t.get("axisLabel.showMaxLabel"),_=0;_=0?parseFloat(t)/100*e:parseFloat(t):t}function A(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 g(t),r(t.rich,g),t},e.renderText=function(t,e,n,i,a){i.rich?function(t,e,n,i,a){var o=t.__textCotentBlock;o&&!t.__dirty||(o=t.__textCotentBlock=h.parseRichText(n,i)),function(t,e,n,i,a){var o=n.width,r=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=b(0,i,a),c=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;m(e,i,a,c,d);var g=h.adjustTextX(c,r,f),_=h.adjustTextY(d,s,p),w=g,S=_;l&&(w+=l[3],S+=l[0]);var M=w+o;y(i)&&x(t,e,i,g,_,r,s);for(var I=0;I=0&&"right"===(A=C[E]).textAlign;)v(t,e,A,i,D,S,R,"right"),P-=A.width,R-=A.width,E--;for(O+=(o-(O-w)-(M-R)-P)/2;k<=E;)A=C[k],v(t,e,A,i,D,S,O+A.width/2,"center"),O+=A.width,k++;S+=D}}(t,e,o,i,a)}(t,e,n,i,a):function(t,e,n,i,a){var o=w(e,"font",i.font||h.DEFAULT_FONT),r=i.textPadding,s=t.__textCotentBlock;s&&!t.__dirty||(s=t.__textCotentBlock=h.parsePlainText(n,o,r,i.truncate));var l=s.outerHeight,u=s.lines,c=s.lineHeight,d=b(0,i,a),f=d.baseX,p=d.baseY,g=d.textAlign,v=d.textVerticalAlign;m(e,i,a,f,p);var _=h.adjustTextY(p,l,v),I=f,T=_,C=y(i);if(C||r){var L=h.getWidth(n,o),D=L;r&&(D+=r[1]+r[3]);var P=h.adjustTextX(f,D,g);C&&x(t,e,i,P,_,D,l),r&&(I=A(f,g,r),T+=r[0])}w(e,"textAlign",g||"left"),w(e,"textBaseline","middle"),w(e,"shadowBlur",i.textShadowBlur||0),w(e,"shadowColor",i.textShadowColor||"transparent"),w(e,"shadowOffsetX",i.textShadowOffsetX||0),w(e,"shadowOffsetY",i.textShadowOffsetY||0),T+=c/2;var k=i.textStrokeWidth,O=S(i.textStroke,k),R=M(i.textFill);O&&(w(e,"lineWidth",k),w(e,"strokeStyle",O)),R&&w(e,"fillStyle",R);for(var E=0;E3&&(e=n.call(e,1));for(var a=this._$handlers[t],o=a.length,r=0;r4&&(e=n.call(e,1,e.length-1));for(var a=e[e.length-1],o=this._$handlers[t],r=o.length,s=0;s=0},e.createNameEach=r,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,n){return function(o){var r,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!o)return s;a(o,s);do{r=!1,t(l)}while(r);function l(t){!function(t,e){return i.indexOf(e.nodes,t)>=0}(t,s)&&function(t,a){var o=!1;return e(function(e){i.each(n(t,e)||[],function(t){a.records[e.name][t]&&(o=!0)})}),o}(t,s)&&(a(t,s),r=!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})})}}},s48c:function(t,e,n){var i=n("/gxq"),a=n("0sHC"),o=n("vjPX"),r=n("43ae"),s=n("koEO"),l=o.ifIgnoreOnTick,u=o.getInterval,h=["axisLine","axisTickLabel","axisName"],c=["splitArea","splitLine"],d=r.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,r){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),t.get("show")){var u=t.getCoordSysModel(),f=s.layout(u,t),p=new o(t,f);i.each(h,p.add,p),this._axisGroup.add(p.getGroup()),i.each(c,function(e){t.get(e+".show")&&this["_"+e](t,u,f.labelInterval)},this),a.groupTransition(l,this._axisGroup,t),d.superCall(this,"render",t,e,n,r)}},_splitLine:function(t,e,n){var o=t.axis;if(!o.scale.isBlank()){var r=t.getModel("splitLine"),s=r.getModel("lineStyle"),h=s.get("color"),c=u(r,n);h=i.isArray(h)?h:[h];for(var d=e.coordinateSystem.getRect(),f=o.isHorizontal(),p=0,g=o.getTicksCoords(),m=o.scale.getTicks(),v=t.get("axisLabel.showMinLabel"),y=t.get("axisLabel.showMaxLabel"),x=[],_=[],b=s.getLineStyle(),w=0;w0?100:20}},getFirstTargetAxisModel:function(){var t;return h(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;h(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&&d(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()}});t.exports=f},sK5G:function(t,e,n){var i=n("Rfu2"),a=n("/n1K"),o=n("CiLi"),r=n("/gxq"),s={_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"),h=l.get("type");"category"===u?(t.layout="horizontal",n=s.getCategories(),o=!0):"category"===h?(t.layout="vertical",n=l.getCategories(),o=!0):t.layout=t.layout||"horizontal";var c=["x","y"],d="horizontal"===t.layout?0:1,f=this._baseAxisDim=c[d],p=c[1-d],g=t.data;o&&r.each(g,function(t,e){t.value&&r.isArray(t.value)?t.value.unshift(e):r.isArray(t)&&t.unshift(e)});var m=this.defaultValueDimensions,v=[{name:f,otherDims:{tooltip:!1},dimsDef:["base"]},{name:p,dimsDef:m.slice()}];v=a(v,g,{encodeDef:this.get("encode"),dimsDef:this.get("dimensions"),dimCount:m.length+1});var y=new i(v,this);return y.initData(g,n?n.slice():null),y},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}},l={init:function(){var t=this._whiskerBoxDraw=new o(this.getStyleUpdater());this.group.add(t.group)},render:function(t,e,n){this._whiskerBoxDraw.updateData(t.getData())},remove:function(t){this._whiskerBoxDraw.remove()}};e.seriesModelMixin=s,e.viewMixin=l},sOJ4:function(t,e,n){var i=n("0sHC"),a=n("C7PF"),o=i.Line.prototype,r=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)?o:r).buildPath(t,e)},pointAt:function(t){return s(this.shape)?o.pointAt.call(this,t):r.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:r.tangentAt.call(this,t);return a.normalize(n,n)}});t.exports=l},sRta:function(t,e,n){var i=n("GxVO"),a=n("dnLe"),o=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),o=Math.max(e.r,0),r=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(r),h=Math.sin(r);t.moveTo(u*a+n,h*a+i),t.lineTo(u*o+n,h*o+i),t.arc(n,i,o,r,s,!l),t.lineTo(Math.cos(s)*a+n,Math.sin(s)*a+i),0!==a&&t.arc(n,i,a,s,r,l),t.closePath()}});t.exports=o},sTIA:function(t,e,n){var i=n("hG1p"),a=n("0sHC"),o=n("Ylhr"),r=n("wWR3"),s=r.parsePercent,l=r.round,u=r.linearMap;function h(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var c=2*Math.PI,d=o.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(),o=Math.min(i,a);return{cx:s(n[0],e.getWidth()),cy:s(n[1],e.getHeight()),r:s(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,a)},dispose:function(){},_renderMain:function(t,e,n,i,o){for(var r=this.group,s=t.getModel("axisLine").getModel("lineStyle"),l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,h=((g=-t.get("endAngle")/180*Math.PI)-u)%c,d=u,f=s.get("width"),p=0;p=t&&(0===e?0:i[e-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(x.get("show")&&D!==b){for(var z=0;z<=w;z++){P=Math.cos(I),k=Math.sin(I);var V=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:L});"auto"===L.stroke&&V.setStyle({stroke:i((D+z/w)/b)}),d.add(V),I+=T}I-=T}else I+=A}},_renderPointer:function(t,e,n,o,r,l,h,c){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,h],m=t.getData();m.diff(f).add(function(e){var n=new i({shape:{angle:l}});a.initProps(n,{shape:{angle:u(m.get("value",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("value",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:r.cx,y:r.cy,width:s(i.get("width"),r.r),r:s(i.get("length"),r.r)}),t.useStyle(n.getModel("itemStyle.normal").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",o(u(m.get("value",e),p,[0,1],!0))),a.setHoverStyle(t,n.getModel("itemStyle.emphasis").getItemStyle())}),this._data=m}else f&&f.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,n,i,o){var r=t.getModel("title");if(r.get("show")){var l=r.get("offsetCenter"),h=o.cx+s(l[0],o.r),c=o.cy+s(l[1],o.r),d=+t.get("min"),f=+t.get("max"),p=t.getData().get("value",0),g=i(u(p,[d,f],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},r,{x:h,y:c,text:t.getData().getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:g,forceRich:!0})}))}},_renderDetail:function(t,e,n,i,o){var r=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(r.get("show")){var d=r.get("offsetCenter"),f=o.cx+s(d[0],o.r),p=o.cy+s(d[1],o.r),g=s(r.get("width"),o.r),m=s(r.get("height"),o.r),v=t.getData().get("value",0),y=i(u(v,[l,c],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},r,{x:f,y:p,text:h(v,r.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:y,forceRich:!0})}))}}});t.exports=d},sYrQ:function(t,e,n){var i=n("/gxq"),a=n("dOVI"),o=n("1Xuh"),r=n("3yJd"),s=n("/BOW"),l=n("0sHC"),u=n("wWR3"),h=n("og9+"),c=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._rect,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.dimensions,a=t.parallelAxisIndex;c(i,function(t,n){var i=a[n],o=e.getComponent("parallelAxis",i),l=this._axesMap.set(t,new s(t,r.createScaleByModel(o),[0,0],o.get("type"),i)),u="category"===l.type;l.onBand=u&&o.get("boundaryGap"),l.inverse=o.get("inverse"),o.axis=l,l.model=o,l.coordinateSystem=o.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,o=t[1-a],r=t[a];return o>=n&&o<=n+e.axisLength&&r>=i&&r<=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();c(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,t),r.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=o.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"],o=e.get("layout"),r="horizontal"===o?0:1,s=n[a[r]],l=[0,s],u=this.dimensions.length,h=x(e.get("axisExpandWidth"),l),c=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,f=e.get("axisExpandWindow");f?(t=x(f[1]-f[0],l),f[1]=f[0]+t):(t=x(h*(c-1),l),(f=[h*(e.get("axisExpandCenter")||p(u/2))-t/2])[1]=f[0]+t);var v=(s-t)/(u-c);v<3&&(v=0);var y=[p(m(f[0]/h,1))+1,g(m(f[1]/h,1))-1],_=v/h*f[0];return{layout:o,pixelDimIndex:r,layoutBase:n[i[r]],layoutLength:s,axisBase:n[i[1-r]],axisLength:n[a[1-r]],axisExpandable:d,axisExpandWidth:h,axisCollapseWidth:v,axisExpandWindow:f,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),c(n,function(n,r){var s=(i.axisExpandable?function(t,e){var n,i,a=e.layoutLength,o=e.axisExpandWidth,r=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;ta*(1-c[0])?(l="jump",r=s-a*(1-c[2])):(r=s-a*c[1])>=0&&(r=s-a*(1-c[1]))<=0&&(r=0),(r*=e.axisExpandWidth/u)?h(r,i,o,"all"):l="none";else{a=i[1]-i[0];(i=[f(0,o[1]*s/a-a/2)])[1]=d(o[1],i[0]+a),i[0]=i[1]-a}return{axisExpandWindow:i,behavior:l}}};var _=y;t.exports=_},srbS:function(t,e,n){n("4Nz2").__DEV__;var i=n("Icdr"),a=n("/gxq"),o=n("HcG6"),r=n("1Xuh"),s=n("wWR3");function l(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 o,l=this.getBoundingRect(),u=t.get("layoutCenter"),h=t.get("layoutSize"),c=e.getWidth(),d=e.getHeight(),f=t.get("aspectScale")||.75,p=l.width/l.height*f,g=!1;if(u&&h&&(u=[s.parsePercent(u[0],c),s.parsePercent(u[1],d)],h=s.parsePercent(h,Math.min(c,d)),isNaN(u[0])||isNaN(u[1])||isNaN(h)||(g=!0)),g){var m={};p>1?(m.width=h,m.height=h/p):(m.height=h,m.width=h*p),m.y=u[1]-m.height/2,m.x=u[0]-m.width/2}else(o=t.getBoxLayoutParams()).aspect=p,m=r.getLayoutRect(o,{width:c,height:d});this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function u(t,e){a.each(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}var h={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",function(t,a){var r=t.get("map"),s=i.getMap(r),h=new o(r+a,r,s&&s.geoJson,s&&s.specialAreas,t.get("nameMap"));h.zoomLimit=t.get("scaleLimit"),n.push(h),u(h,t),t.coordinateSystem=h,h.model=t,h.resize=l,h.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),a.each(r,function(t,r){var s=i.getMap(r),h=a.map(t,function(t){return t.get("nameMap")}),c=new o(r,r,s&&s.geoJson,s&&s.specialAreas,a.mergeAll(h));c.zoomLimit=a.retrieve.apply(null,a.map(t,function(t){return t.get("scaleLimit")})),n.push(c),c.resize=l,c.resize(t[0],e),a.each(t,function(t){t.coordinateSystem=c,u(c,t)})}),n},getFilledRegions:function(t,e,n){var o=(t||[]).slice();n=n||{};var r=i.getMap(e),s=r&&r.geoJson;if(!s)return t;for(var l=a.createHashMap(),u=s.features,h=0;he[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=r.getIntervalPrecision(t)},getTicks:function(){return r.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getTicksLabels:function(){for(var t=[],e=this.getTicks(),n=0;ne+s&&r>i+s||rt+s&&o>n+s||o=0)return!0}(t)){var o=function(t){for(var e=t.split(/\n+/g),n=d(e.shift()).split(f),i=[],o=a.map(n,function(t){return{name:t,data:[]}}),r=0;r0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var d=h;c&&(d=h(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}},h.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},h.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]},h.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,a=t.__t,o=t.position,r=l.quadraticAt,s=l.quadraticDerivativeAt;o[0]=r(e[0],i[0],n[0],a),o[1]=r(e[1],i[1],n[1],a);var u=s(e[0],i[0],n[0],a),h=s(e[1],i[1],n[1],a);t.rotation=-Math.atan2(h,u)-Math.PI/2,t.ignore=!1},h.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},o.inherits(u,i.Group);var c=u;t.exports=c},uJBW:function(t,e,n){var i=n("/gxq"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var o=function(t){i.each(a,function(e){this[e]=i.bind(t[e],t)},this)};t.exports=o},uNEE:function(t,e,n){var i=n("Icdr"),a=n("dZZy"),o=n("uv9t");i.extendChartView({type:"scatter",init:function(){this._normalSymbolDraw=new a,this._largeSymbolDraw=new o},render:function(t,e,n){var i=t.getData(),a=this._largeSymbolDraw,o=this._normalSymbolDraw,r=this.group,s=t.get("large")&&i.count()>t.get("largeThreshold")?a:o;this._symbolDraw=s,s.updateData(i),r.add(s.group),r.remove(s===a?o.group:a.group)},updateLayout:function(t){this._symbolDraw.updateLayout(t)},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e,!0)},dispose:function(){}})},uv9t:function(t,e,n){var i=n("0sHC"),a=n("kK7q").createSymbol,o=i.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(t,e){for(var n=e.points,i=e.sizes,a=this.symbolProxy,o=a.shape,r=0;r=0;o--){var r=i[o],s=a[o],l=r[0]-s[0]/2,u=r[1]-s[1]/2;if(t>=l&&e>=u&&t<=l+s[0]&&e<=u+s[1])return o}return-1}});function r(){this.group=new i.Group,this._symbolEl=new o({})}var s=r.prototype;s.updateData=function(t){this.group.removeAll();var e=this._symbolEl,n=t.hostModel;e.setShape({points:t.mapArray(t.getItemLayout),sizes:t.mapArray(function(e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array||(n=[n,n]),n})}),e.symbolProxy=a(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor,e.useStyle(n.getModel("itemStyle.normal").getItemStyle(["color"]));var i=t.getVisual("color");i&&e.setColor(i),e.seriesIndex=n.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n)}),this.group.add(e)},s.updateLayout=function(t){var e=t.getData();this._symbolEl.setShape({points:e.mapArray(e.getItemLayout)})},s.remove=function(){this.group.removeAll()};var l=r;t.exports=l},"v/cD":function(t,e,n){var i=n("1Xuh"),a=i.getLayoutRect,o=i.box,r=i.positionElement,s=n("HHfb"),l=n("0sHC");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);o(e.get("orient"),t,e.get("itemGap"),u.width,u.height),r(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"),t=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})}},vEM8:function(t,e,n){var i=n("/gxq"),a=n("dZZy"),o=n("wWR3"),r=n("Rfu2"),s=n("vx1D");function l(t,e,n){var i=e.coordinateSystem;t.each(function(a){var r,s=t.getItemModel(a),l=o.parsePercent(s.get("x"),n.getWidth()),u=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)r=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(i){var h=t.get(i.dimensions[0],a),c=t.get(i.dimensions[1],a);r=i.dataToPoint([h,c])}}else r=[l,u];isNaN(l)||(r[0]=l),isNaN(u)||(r[1]=u),t.setItemLayout(a,r)})}var u=n("SZjP").extend({type:"markPoint",updateLayout: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,o){var u=t.coordinateSystem,h=t.id,c=t.getData(),d=this.markerGroupMap,f=d.get(h)||d.set(h,new a),p=function(t,e,n){var a;a=t?i.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return n.name=t,n}):[{name:"value",type:"float"}];var o=new r(a,n),l=i.map(n.get("data"),i.curry(s.dataTransform,e));t&&(l=i.filter(l,i.curry(s.dataFilter,t)));return o.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),o}(u,t,e);e.setData(p),l(e.getData(),t,o),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.normal.color")||c.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},vIe4:function(t,e,n){var i=n("/gxq");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,o,r,s=(n=i.map(t,function(t){return t.getData()}),a=t[0].get("mapValueCalculation"),o={},r=["value"],i.each(n,function(t){t.each(r,function(e,n){var i="ec-"+t.getName(n);o[i]=o[i]||[],isNaN(e)||o[i].push(e)})}),n[0].map(r,function(t,e){for(var i,r="ec-"+n[0].getName(e),s=0,l=1/0,u=-1/0,h=o[r].length,c=0;c=n.length&&n.push({option:t})}}),n},e.makeIdAndName=function(t){var e=i.createHashMap();s(t,function(t,n){var i=t.exist;i&&e.set(i.id,t)}),s(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={})}),s(t,function(t,n){var i=t.exist,a=t.option,o=t.keyInfo;if(l(a)){if(o.name=null!=a.name?a.name+"":i?i.name:"\0-",i)o.id=i.id;else if(null!=a.id)o.id=a.id+"";else{var r=0;do{o.id="\0"+o.name+"\0"+r++}while(e.get(o.id))}e.set(o.id,t)}})},e.isIdInner=c,e.compressBatches=function(t,e){var n={},i={};return a(t||[],n),a(e||[],i,n),[o(n),o(i)];function a(t,e,n){for(var i=0,a=t.length;ig[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+h*p:0],_=e.get("nameRotate");null!=_&&(_=_*v/180),I(s)?i=b(t.rotation,null!=_?_:t.rotation,h):(i=function(t,e,n,i){var a,o,r=f(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;d(r-v/2)?(o=l?"bottom":"top",a="center"):d(r-1.5*v)?(o=l?"top":"bottom",a="center"):(o="middle",a=r<1.5*v&&r>v/2?l?"left":"right":l?"right":"left");return{rotation:r,textAlign:a,textVerticalAlign:o}}(t,s,_||0,g),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(i.rotation)),!isFinite(o)&&(o=null)));var S=c.getFont(),M=e.get("nameTruncate",!0)||{},A=M.ellipsis,T=a(t.nameTruncateMaxWidth,M.maxWidth,o),C=null!=A&&null!=T?l.truncateText(n,T,S,A,{minChar:2,placeholder:M.placeholder}):n,L=e.get("tooltip",!0),D=e.mainType,P={componentType:D,name:n,$vars:["name"]};P[D+"Index"]=e.componentIndex;var k=new u.Text({anid:"name",__fullText:n,__truncatedText:C,position:x,rotation:i.rotation,silent:w(e),z2:1,tooltip:L&&L.show?r({content:n,formatter:function(){return n},formatterParams:P},L):null});u.setTextStyle(k.style,c,{text:C,textFont:S,textFill:c.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,o=f(e-t);return d(o)?(a=n>0?"top":"bottom",i="center"):d(o-v)?(a=n>0?"bottom":"top",i="center"):(a="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,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 o=g.identity([]);return g.rotate(o,o,-t.rotation),i.applyTransform(g.mul([],o,t.getLocalTransform())),a.applyTransform(g.mul([],o,e.getLocalTransform())),i.intersect(a)}}function I(t){return"middle"===t||"center"===t}var A=x.ifIgnoreOnTick=function(t,e,n,i,a,o){if(0===e&&a||e===i-1&&o)return!1;var r,s=t.scale;return"ordinal"===s.type&&("function"==typeof n?!n(r=s.getTicks()[e],s.getLabel(r)):e%(n+1))},T=x.getInterval=function(t,e){var n=t.get("interval");return null!=n&&"auto"!=n||(n=e),n};var C=x;t.exports=C},vx1D:function(t,e,n){var i=n("/gxq"),a=n("wWR3"),o=i.indexOf;function r(t,e,n,i,o,r){var s=[],l=h(e,i,t),u=e.indicesOfNearest(i,l,!0)[0];s[o]=e.get(n,u,!0),s[r]=e.get(i,u,!0);var c=function(t,e,n){var i=-1;do{i=Math.max(a.getPrecision(t.get(e,n)),i),t=t.stackedOn}while(t);return i}(e,i,u);return(c=Math.min(c,20))>=0&&(s[r]=+s[r].toFixed(c)),s}var s=i.curry,l={min:s(r,"min"),max:s(r,"max"),average:s(r,"average")};function u(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(i.dataDimToCoordDim(a.valueDataDim)),a.baseAxis=n.getOtherAxis(a.valueAxis),a.baseDataDim=i.coordDimToDataDim(a.baseAxis.dim)[0]):(a.baseAxis=i.getBaseAxis(),a.valueAxis=n.getOtherAxis(a.baseAxis),a.baseDataDim=i.coordDimToDataDim(a.baseAxis.dim)[0],a.valueDataDim=i.coordDimToDataDim(a.valueAxis.dim)[0]),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++)},!0),i/a}return 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=u(e,n,a,t);if((e=i.clone(e)).type&&l[e.type]&&s.baseAxis&&s.valueAxis){var c=o(r,s.baseAxis.dim),d=o(r,s.valueAxis.dim);e.coord=l[e.type](n,s.baseDataDim,s.valueDataDim,c,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++)if(l[f[p]]){var g=t.coordDimToDataDim(r[p])[0];f[p]=h(n,g,f[p])}e.coord=f}}return e},e.getAxisInfo=u,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},vxwL:function(t,e,n){var i=n("/gxq"),a=n("wWR3").parsePercent,o=n("0sHC").subPixelOptimize,r=i.retrieve2;t.exports=function(t){t.eachSeriesByType("candlestick",function(t){var e,n=t.coordinateSystem,s=t.getData(),l=function(t,e){var n,i=t.getBaseAxis(),o="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),s=a(r(t.get("barMaxWidth"),o),o),l=a(r(t.get("barMinWidth"),1),o),u=t.get("barWidth");return null!=u?a(u,o):Math.max(Math.min(o/2,s),l)}(t,s),u=t.get("layout"),h="horizontal"===u?0:1,c=1-h,d=["x","y"],f=[];if(i.each(s.dimensions,function(t){var n=s.getDimensionInfo(t).coordDim;n===d[c]?f.push(t):n===d[h]&&(e=t)}),!(null==e||f.length<4)){var p=0;s.each([e].concat(f),function(){var t,e,i,a=arguments,r=a[0],d=a[f.length+1],g=a[1],m=a[2],v=a[3],y=a[4],x=Math.min(g,m),_=Math.max(g,m),b=A(x),w=A(_),S=A(v),M=[[C(A(y)),C(w)],[C(S),C(b)]],I=[];function A(t){var e=[];return e[h]=r,e[c]=t,isNaN(r)||isNaN(t)?[NaN,NaN]:n.dataToPoint(e)}function T(t,e){var n=t.slice(),i=t.slice();n[h]=o(n[h]+l/2,1,!1),i[h]=o(i[h]-l/2,1,!0),e?I.push(n,i):I.push(i,n)}function C(t){return t[h]=o(t[h],1),t}T(w,0),T(b,1),t=g>m?-1:g0?s.getItemModel(p-1).get()[2]<=m?1:-1:1,s.setItemLayout(d,{chartLayout:u,sign:t,initBaseline:g>m?w[c]:b[c],bodyEnds:I,whiskerEnds:M,brushRect:(e=A(Math.min(g,m,v,y)),i=A(Math.max(g,m,v,y)),e[h]-=l/2,i[h]-=l/2,{x:e[0],y:e[1],width:c?l:i[0]-e[0],height:c?i[1]-e[1]:l})}),++p},!0)}})}},"w2H/":function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("NUWb"),r=n("HGSA");function s(t,e,n,i){for(var a=e.targetVisuals[i],o=r.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,u=o.length;l+e.start.y&&(f=f+"-"+e.end.y);var p=a.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new o.Text({z2:30});o.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],n,s,r)),i.add(v)}},_monthTextPositionControl:function(t,e,n,i,a){var o="left",r="top",s=t[0],l=t[1];return"horizontal"===n?(l+=a,e&&(o="center"),"start"===i&&(r="bottom")):(s+=a,e&&(r="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:r}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),h=i.get("align"),c=[this._tlpoints,this._blpoints];a.isString(r)&&(r=l[r.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===h,g=0;g"],a.isArray(t)&&(t=t.slice(),i=!0),o=e?t:i?[h(t[0]),h(t[1])]:h(t),a.isString(u)?u.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):a.isFunction(u)?i?u(t[0],t[1]):u(t):i?t[0]===l[0]?n[0]+" "+o[1]:t[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function h(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;return null!=e?e:t.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.option,e={inRange:t.inRange,outOfRange:t.outOfRange},n=t.target||(t.target={}),i=t.controller||(t.controller={});a.merge(n,e),a.merge(i,e);var o=this.isCategory();function l(e){f(t.color)&&!e.inRange&&(e.inRange={color:t.color.slice().reverse()}),e.inRange=e.inRange||{color:y},p(this.stateList,function(t){var n=e[t];if(a.isString(n)){var i=r.get(n,"active",o);i?(e[t]={},e[t][n]=i):delete e[t]}},this)}l.call(this,n),l.call(this,i),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=r.get(e,"inactive",o);null!=n&&(a[e]=n,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}.call(this,n,"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 s=this.itemSize,l=t[r];l||(l=t[r]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&a.clone(e)||(o?"roundRect":["roundRect"])),null==l.symbolSize&&(l.symbolSize=n&&a.clone(n)||(o?s[0]:[s[0],s[0]])),l.symbol=c(l.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=l.symbolSize;if(null!=u){var h=-1/0;d(u,function(t){t>h&&(h=t)}),l.symbolSize=c(u,function(t){return m(t,[0,h],[0,s[0]],!0)})}},this)}.call(this,i)},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=x},wLWv:function(t,e,n){var i=n("/gxq"),a=n("0sHC"),o=n("1Xuh"),r=n("8RN9"),s=a.Group,l=["width","height"],u=["x","y"],h=r.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){h.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),this._showController},resetInner:function(){h.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,n,o){var r=this;h.superCall(this,"renderInner",t,e,n,o);var s=this._controllerGroup,l=e.get("pageIconSize",!0);i.isArray(l)||(l=[l,l]),c("pagePrev",0);var u=e.getModel("pageTextStyle");function c(t,n){var u=t+"DataIndex",h=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][n],{onclick:i.bind(r._pageGo,r,u,e,o)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});h.name=t,s.add(h)}s.add(new a.Text({name:"pageText",style:{textFill:u.getTextColor(),font:u.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),c("pageNext",1)},layoutInner:function(t,e,n){var r=this.getContentGroup(),s=this._containerGroup,h=this._controllerGroup,c=t.getOrient().index,d=l[c],f=l[1-c],p=u[1-c];o.box(t.get("orient"),r,t.get("itemGap"),c?n.width:null,c?null:n.height),o.box("horizontal",h,t.get("pageButtonItemGap",!0));var g=r.getBoundingRect(),m=h.getBoundingRect(),v=this._showController=g[d]>n[d],y=[-g.x,-g.y];y[c]=r.position[c];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)?_[c]+=n[d]-m[d]:x[c]+=m[d]+b);_[1-c]+=g[f]/2-m[f]/2,r.attr("position",y),s.attr("position",x),h.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-c]),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 h.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(t);return null!=M.pageIndex&&a.updateProps(r,{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"],o=n.childOfName(i);o&&(o.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=a?"pointer":"default")});var a=n.childOfName("pageText"),o=t.get("pageFormatter"),r=e.pageIndex,s=null!=r?r+1:0,l=e.pageCount;a&&o&&a.setStyle("text",i.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e,n,i,a,o=t.get("scrollDataIndex",!0),r=this.getContentGroup(),s=r.getBoundingRect(),h=this._containerGroup.__rectSize,c=t.getOrient().index,d=l[c],f=l[1-c],p=u[c],g=r.position.slice();this._showController?r.eachChild(function(t){t.__legendDataIndex===o&&(a=t)}):a=r.childAt(0);var m=h?Math.ceil(s[d]/h):0;if(a){var v=a.getBoundingRect(),y=a.position[c]+v[p];g[c]=-y-s[p],e=Math.floor(m*(y+v[p]+h/2)/s[d]),e=s[d]&&m?Math.max(0,Math.min(m-1,e)):-1;var x,_={x:0,y:0};_[d]=h,_[f]=s[f],_[p]=-g[c]-s[p];var b=r.children();if(r.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[c],e}}}),c=h;t.exports=c},wQkr:function(t,e,n){n("cuL/"),n("sJ4e"),n("ilLo"),n("envY"),n("5Hn/"),n("8Mpj"),n("WbrJ"),n("b/SY"),n("KAfT")},wRzc: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})}};var i=n;t.exports=i},wTOJ:function(t,e,n){var i=n("1Xuh"),a=n("P05t"),o=n("/gxq");function r(t,e,n){o.each(t,function(t){var i,a,o,r=0,s=t.length;for(t.sort(g),o=0;o0){var l=i.getLayout().y+a;i.setLayout({y:l},!0)}r=i.getLayout().y+i.getLayout().dy+e}if((a=r-e-n)>0){l=i.getLayout().y-a;for(i.setLayout({y:l},!0),r=i.getLayout().y,o=s-2;o>=0;--o)(a=(i=t[o]).getLayout().y+i.getLayout().dy+e-r)>0&&(l=i.getLayout().y-a,i.setLayout({y:l},!0)),r=i.getLayout().y}})}function s(t,e){o.each(t.slice().reverse(),function(t){o.each(t,function(t){if(t.outEdges.length){var n=f(t.outEdges,l)/f(t.outEdges,v),i=t.getLayout().y+(n-p(t))*e;t.setLayout({y:i},!0)}})})}function l(t){return p(t.node2)*t.getValue()}function u(t,e){o.each(t,function(t){o.each(t,function(t){if(t.inEdges.length){var n=f(t.inEdges,h)/f(t.inEdges,v),i=t.getLayout().y+(n-p(t))*e;t.setLayout({y:i},!0)}})})}function h(t){return p(t.node1)*t.getValue()}function c(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}function d(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}function f(t,e){for(var n=0,i=t.length,a=-1;++ae?1:t===e?0:NaN}function v(t){return t.getValue()}t.exports=function(t,e,n){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),l=t.get("nodeGap"),h=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=h;var p=h.width,g=h.height,y=t.getGraph(),x=y.nodes,_=y.edges;!function(t){o.each(t,function(t){var e=f(t.outEdges,v),n=f(t.inEdges,v),i=Math.max(e,n);t.setLayout({value:i},!0)})}(x),function(t,e,n,i,l,h,f){(function(t,e,n){for(var i=t,a=null,r=0;i.length;){a=[];for(var s=0,l=i.length;s0;l--)s(h,c*=.99),r(h,i,n),u(h,c),r(h,i,n)}(t,e,h,i,f),function(t){o.each(t,function(t){t.outEdges.sort(c),t.inEdges.sort(d)}),o.each(t,function(t){var e=0,n=0;o.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),o.each(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t)}(x,_,n,l,p,g,0!==o.filter(x,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"))})}},wUOi:function(t,e,n){var i=n("C7PF"),a=n("AAi1"),o=Math.min,r=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,h=i.create(),c=i.create(),d=i.create();var 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],h=a[1];for(i=1;i1e-4)return p[0]=t-n,p[1]=e-a,g[0]=t+n,void(g[1]=e+a);if(h[0]=l(o)*n+t,h[1]=s(o)*a+e,c[0]=l(r)*n+t,c[1]=s(r)*a+e,m(p,h,c),v(g,h,c),(o%=u)<0&&(o+=u),(r%=u)<0&&(r+=u),o>r&&!f?r+=u:oo&&(d[0]=l(_)*n+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}},wW3A:function(t,e,n){var i=n("wWR3"),a=i.round;function o(t){return i.getPrecisionSafe(t)+2}function r(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]),r(t,0,e),r(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,r){var l={},u=t[1]-t[0],h=l.interval=i.nice(u/e,!0);null!=n&&hr&&(h=l.interval=r);var c=l.intervalPrecision=o(h);return s(l.niceTickExtent=[a(Math.ceil(t[0]/h)*h,c),a(Math.floor(t[1]/h)*h,c)],t),l},e.getIntervalPrecision=o,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,n,i){var o=[];if(!t)return o;e[0]1e4)return[];return e[1]>(o.length?o[o.length-1]:n[1])&&o.push(e[1]),o}},wWR3:function(t,e,n){var i=n("/gxq"),a=1e-4;var o=/^(?:(\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],o=n[1]-n[0];if(0===a)return 0===o?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*o+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),o=Math.round(n(Math.abs(e[1]-e[0]))/i),r=Math.min(Math.max(-a+o,0),20);return isFinite(r)?r: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 o=Math.pow(10,n),r=i.map(t,function(t){return(isNaN(t)?0:t)/a*o*100}),s=100*o,l=i.map(r,function(t){return Math.floor(t)}),u=i.reduce(l,function(t,e){return t+e},0),h=i.map(r,function(t,e){return t-l[e]});uc&&(c=h[f],d=f);++l[d],h[d]=0,++u}return l[e]/o},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>-a&&t=-20?+t.toFixed(n<0?-n:0):t},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,n,i){return e.interval[i]=0}},whrq:function(t,e,n){var i=n("/gxq"),a=n("vXqC"),o=n("Y5nL"),r=n("Pdtn"),s=n("kQD9"),l=n("srbS"),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){o.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 r(n,e)),t},i.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:.75,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,color:"#000"},emphasis:{show:!0,color:"rgb(100,0,0)"}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new r(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);var h=u;t.exports=h},xCbH:function(t,e,n){var i=n("/gxq"),a=n("/+sa"),o=n("wWR3"),r=n("tBuv"),s=a.prototype,l=r.prototype,u=o.getPrecisionSafe,h=o.round,c=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 r},getTicks:function(){var t=this._originalScale,e=this._extent,n=t.getExtent();return i.map(l.getTicks.call(this),function(i){var a=o.round(f(this.base,i));return a=i===e[0]&&t.__fixMin?m(a,n[0]):a,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.getDataExtent(e,!0,function(t){return t>0}))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=o.quantity(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var a=[o.round(d(e[0]/i)*i),o.round(c(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 h(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};var v=g;t.exports=v},xLO3:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("s/lY"),r=n("Pdtn"),s=n("2uoh"),l=o.valueAxis;function u(t,e){return a.defaults({show:e},t)}var h=i.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),c=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:o,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:f},!1),h||(p.name=""),"string"==typeof c){var m=p.name;p.name=c.replace("{value}",null!=m?m:"")}else"function"==typeof c&&(p.name=c(p.name,p));var v=a.extend(new r(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=h},"xb/I":function(t,e,n){var i=n("/gxq"),a=n("vXqC"),o=i.each,r=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=t.get("largeThreshold");c===this._hasEffet&&d===this._isPolyline&&f===this._isLarge||(h&&h.remove(),h=this._lineDraw=f?new u:new a(d?c?l:s:c?o:r),this._hasEffet=c,this._isPolyline=d,this._isLarge=f);var p=t.get("zlevel"),g=t.get("effect.trailLength"),m=n.getZr(),v="svg"===m.painter.getType();v||m.painter.getLayer(p).clear(!0),null==this._lastZlevel||v||m.configLayer(this._lastZlevel,{motionBlur:!1}),c&&g&&(v||m.configLayer(p,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})),this.group.add(h.group),h.updateData(i),this._lastZlevel=p},updateLayout:function(t,e,n){this._lineDraw.updateLayout(t);var i=n.getZr();"svg"===i.painter.getType()||i.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(e,!0);var n=e.getZr();"svg"===n.painter.getType()||n.painter.getLayer(this._lastZlevel).clear(!0)},dispose:function(){}});t.exports=h},z81E:function(t,e,n){var i=n("Icdr"),a=n("Rfu2"),o=n("/gxq"),r=n("vXqC").defaultEmphasis,s=n("Pdtn"),l=n("HHfb").encodeHTML,u=n("d1IL"),h=i.extendSeriesModel({type:"series.graph",init:function(t){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){h.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){h.superApply(this,"mergeDefaultAndTheme",arguments),r(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,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t});var i=a.getModel("edgeLabel"),o=new s({label:i.option},i.parentModel,e);function r(t){return(t=this.parsePath(t))&&"label"===t[0]?o:this.parentModel}n.wrapMethod("getItemModel",function(t){return t.customizeGetParent(r),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),o=i.graph.getEdgeByIndex(t),r=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),u=[];return null!=r&&u.push(r),null!=s&&u.push(s),u=l(u.join(" > ")),a.value&&(u+=" : "+l(a.value)),u}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=o.map(this.option.categories||[],function(t){return null!=t.value?t:o.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 h.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:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}}),c=h;t.exports=c},zAPJ:function(t,e,n){var i=n("/gxq"),a=n("0sHC"),o=n("3h1/"),r=n("HHfb"),s=n("dOVI"),l=n("3yJd"),u=n("vjPX");function h(t,e,n,i,a){var s=c(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=r.normalizeCssArray(l.get("padding")||0),h=l.getFont(),d=o.getBoundingRect(s,h),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(),o=i.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+n,o)-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:h,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 c(t,e,n,a,o){var r=e.scale.getLabel(t,{precision:o.precision}),s=o.formatter;if(s){var u={value:l.getAxisRawValue(e,t),seriesData:[]};i.each(a,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,a=e&&e.getDataParams(i);a&&u.seriesData.push(a)}),i.isString(s)?r=s.replace("{value}",r):i.isFunction(s)&&(r=s(u))}return r}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=h,e.getValueLabel=c,e.getTransformedPosition=d,e.buildCartesianSingleLabelElOption=function(t,e,n,i,a,o){var r=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get("label.margin"),h(e,i,a,o,{position:d(i.axis,t,n),align:r.textAlign,verticalAlign:r.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,o){return{cx:t,cy:e,r0:n,r:i,startAngle:a,endAngle:o,clockwise:!0}}},zMj2: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,this.next,this.prev},o=function(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},r=o.prototype;r.put=function(t,e){var n=this._list,i=this._map,o=null;if(null==i[t]){var r=n.len(),s=this._lastRemovedEntry;if(r>=this._maxSize&&r>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,n.insertEntry(s),i[t]=s}return o},r.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},r.clear=function(){this._list.clear(),this._map={}};var s=o;t.exports=s},zO13:function(t,e,n){var i=n("Icdr"),a=n("/gxq"),o=n("0sHC"),r=n("HHfb"),s=n("1Xuh"),l=n("HGSA"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},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=r.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new o.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,o=this.visualMapModel,r={};if("symbol"===e&&(r.symbol=o.get("itemSymbol")),"color"===e){var s=o.get("contentColor");r.color=s}function u(t){return r[t]}function h(t,e){r[t]=e}var c=o.controllerVisuals[i||o.getValueState(t)],d=l.prepareVisualTypes(c);return a.each(d,function(i){var a=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",a=c.__alphaForOpacity),l.dependsOn(i,e)&&a&&a.applyVisual(t,u,h)}),r[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:a.noop});t.exports=u},zjhG:function(t,e,n){var i=n("Icdr");n("P0a5"),n("z+uQ");var a=n("4A6G"),o=n("nV/6");i.registerLayout(a),i.registerVisual(o)},zlsk:function(t,e,n){var i=n("N1qP"),a=n("8b51");function o(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var a=i.range;return r(e[t],a)}},rect:function(i,a,o){if(i){var s=o.range,l=[i[e[t]],i[e[t]]+i[n[t]]];return l[1]=-1e-6)return!1;var c=u(a-t,a-r,o-e,o-s)/h;if(c<0||c>1)return!1;var d=u(n-t,a-t,i-e,o-e)/h;return!(d<0||d>1)}function u(t,e,n,i){return t*i-e*n}var h={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 o=n.range;if(!t||o.length<=1)return!1;var r=t.x,l=t.y,u=t.width,h=t.height,c=o[0];return!!(i.contain(o,r,l)||i.contain(o,r+u,l)||i.contain(o,r,l+h)||i.contain(o,r+u,l+h)||a.create(t).contain(c[0],c[1])||s(r,l,r+u,l,o)||s(r,l,r,l+h,o)||s(r+u,l,r+u,l+h,o)||s(r,l+h,r+u,l+h,o))||void 0}}};t.exports=h},zz1u:function(t,e,n){n("ecfp"),n("s48c")}});