webpackJsonp([0],{"+2Ke":function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},"+Dgo":function(t,e,i){i("82Fv"),i("Icdr").extendComponentView({type:"dataset"})},"+PQg":function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("3h1/"),o=i("dCQY"),s=i("0sHC"),l=i("Pdtn"),u=i("1Hui"),c=i("v/cD"),h=n.extendComponentView({type:"toolbox",render:function(t,e,i,n){var h=this.group;if(h.removeAll(),t.get("show")){var d=+t.get("itemSize"),f=t.get("feature")||{},p=this._features||(this._features={}),g=[];a.each(f,function(t,e){g.push(e)}),new u(this._featureNames||[],g).add(m).update(m).remove(a.curry(m,null)).execute(),this._featureNames=g,c.layout(h,t,i),h.add(c.makeBackground(h.getBoundingRect(),t)),h.eachChild(function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var a=r.getBoundingRect(e,r.makeFont(n)),o=t.position[0]+h.position[0],s=!1;t.position[1]+h.position[1]+d+a.height>i.getHeight()&&(n.textPosition="top",s=!0);var l=s?-5-a.height:d+8;o+a.width/2>i.getWidth()?(n.textPosition=["100%",l],n.textAlign="right"):o-a.width/2<0&&(n.textPosition=[0,l],n.textAlign="left")}})}function m(r,u){var c,m=g[r],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))c={model:x,onclick:x.option.onclick,featureName:m};else{var _=o.get(m);if(!_)return;c=new _(x,e,i)}p[m]=c}else{if(!(c=p[v]))return;c.model=x,c.ecModel=e,c.api=i}m||!v?x.get("show")&&!c.unusable?(!function(n,r,o){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.iconStyle"),c=r.getIcons?r.getIcons():n.get("icon"),f=n.get("title")||{};if("string"==typeof c){var p=c,g=f;f={},(c={})[o]=p,f[o]=g}var m=n.iconPaths={};a.each(c,function(o,c){var p=s.createIcon(o,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[c],p.on("mouseover",function(){var t=u.getItemStyle();p.setStyle({text:f[c],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){p.setStyle({textFill:null})})),p.trigger(n.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",a.bind(r.onclick,r,e,i,c)),m[c]=p})}(x,c,m),x.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},c.render&&c.render(x,e,i,n)):c.remove&&c.remove(e,i):c.dispose&&c.dispose(e,i)}},updateView:function(t,e,i,n){a.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,i,n)})},remove:function(t,e){a.each(this._features,function(i){i.remove&&i.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){a.each(this._features,function(i){i.dispose&&i.dispose(t,e)})}});t.exports=h},"+UTs":function(t,e,i){var n=i("GxVO"),a=i("No7X"),r=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=r},"+Y0c":function(t,e,i){var n=new(i("zMj2"))(50);function a(){var t=this.__cachedImgObj;this.onload=this.__cachedImgObj=null;for(var e=0;ee&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.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,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),n.getModel(t,(a||e||i.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},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,i=0,n=e.length;i=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.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},a.prototype.getTicksLabels=function(){for(var t=[],e=this.getTicks(),i=0;io||t<-o}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)},u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;i||e?(a=a||n.create(),i?this.getLocalTransform(a):r(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a,this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)):a&&r(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[];u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(c,t.invTransform,e),e=c);var i=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],r=this.position,o=this.scale;s(i-1)&&(i=Math.sqrt(i)),s(a-1)&&(a=Math.sqrt(a)),e[0]<0&&(i=-i),e[3]<0&&(a=-a),r[0]=e[4],r[1]=e[5],o[0]=i,o[1]=a,this.rotation=Math.atan2(-e[1]/a,e[0]/i)}},u.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),i=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(i=-i),[e,i]},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){r(e=e||[]);var i=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,a),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var h=l;t.exports=h},"/gZK":function(t,e,i){var n=i("hcq/"),a=i("Rfu2"),r=i("/gxq"),o=r.extend,s=r.isArray;t.exports=function(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=n(r,e),u=new a(l,t);return u.initData(r,i),u}},"/gxq":function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},n={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},a=Object.prototype.toString,r=Array.prototype,o=r.forEach,s=r.filter,l=r.slice,u=r.map,c=r.reduce,h={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!M(t)){e=[];for(var o=0,s=t.length;oe[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),a=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function l(t){return t.getRadiusAxis().inverse?0:1}var u=i("43ae").extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,r=a.getRadiusAxis().getExtent(),s=i.getTicksCoords();"category"!==i.type&&s.pop(),n.each(o,function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,s,r)},this)}},_axisLine:function(t,e,i,n){var r=t.getModel("axisLine.lineStyle"),o=new a.Circle({shape:{cx:e.cx,cy:e.cy,r:n[l(e)]},style:r.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,i,r){var o=t.getModel("axisTick"),u=(o.get("inside")?-1:1)*o.get("length"),c=r[l(e)],h=n.map(i,function(t){return new a.Line({shape:s(e,[c,c+u],t)})});this.group.add(a.mergePath(h,{style:n.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,n){for(var o=t.axis,s=t.getCategories(),u=t.getModel("axisLabel"),c=t.getFormattedLabels(),h=u.get("margin"),d=o.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 r(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:c[f],textAlign:y,textVerticalAlign:x})}},_splitLine:function(t,e,i,r){var o=t.getModel("splitLine").getModel("lineStyle"),l=o.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=0;h=a.start.time&&i.time<=a.end.time))return[NaN,NaN];var o=i.day,s=this._getRangeInfo([a.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*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+o*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},convertToPixel:n.curry(l,"dataToPoint"),convertFromPixel:n.curry(l,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(n.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 i=this.getDateInfo(e),a=i.date;a.setMonth(a.getMonth()+1);var r=this.getNextNDay(a,-1);t=[i.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,n=new Date(t[0].time),a=n.getDate(),r=t[1].date.getDate();if(n.setDate(a+i-1),n.getDate()!==r)for(var o=n.getTime()-t[1].time>0?1:-1;n.getDate()!==r&&(n.getTime()-t[1].time)*o>0;)i-=o,n.setDate(a+i-1);var s=Math.floor((i+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:i,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&en.lweek)return!1;var a=7*(t-1)-n.fweek+e,r=new Date(n.start.time);return r.setDate(n.start.d+a),this.getDateInfo(r)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var i=[];return t.eachComponent("calendar",function(n){var a=new s(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},o.register("calendar",s);var u=s;t.exports=u},"0O1a":function(t,e,i){var n=i("Icdr"),a=i("DZTl");i("Osoq"),i("w2H/"),i("mlpt"),i("XiVP"),i("H4Wn"),n.registerPreprocessor(a)},"0QFe":function(t,e){},"0fQF":function(t,e){function i(){}function n(t,e,i,n){for(var a=0,r=e.length,o=0,s=0;a=r&&c+1>=o){for(var h=[],d=0;d=r&&d+1>=o)return n(a,l.components,e,t);u[i]=l}else u[i]=void 0}var g;s++}for(;s<=l;){var p=f();if(p)return p}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){for(var a=e.length,r=i.length,o=t.newPos,s=o-n,l=0;o+1=0)&&(n={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=i.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),n}function $(t,e,i,n,a,r){if("function"==typeof a&&(r=a,a=null),n&&n.isAnimationEnabled()){var o=t?"Update":"",s=n.getShallow("animationDuration"+o),l=n.getShallow("animationEasing"+o),u=n.getShallow("animationDelay"+o);"function"==typeof u&&(u=u(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"==typeof s&&(s=s(a)),s>0?e.animateTo(i,s,u||0,l,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function tt(t,e,i,n,a){$(!0,t,e,i,n,a)}function et(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return a.extendFromString(t,e)},e.makePath=P,e.makeImage=function(t,e,i){var n=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var a={width:t.width,height:t.height};n.setStyle(k(e,a))}}});return n},e.mergePath=O,e.resizePath=R,e.subPixelOptimizeLine=function(t){var e=t.shape,i=t.style.lineWidth;return C(2*e.x1)===C(2*e.x2)&&(e.x1=e.x2=N(e.x1,i,!0)),C(2*e.y1)===C(2*e.y2)&&(e.y1=e.y2=N(e.y1,i,!0)),t},e.subPixelOptimizeRect=function(t){var e=t.shape,i=t.style.lineWidth,n=e.x,a=e.y,r=e.width,o=e.height;return e.x=N(e.x,i,!0),e.y=N(e.y,i,!0),e.width=Math.max(N(n+r,i,!1)-e.x,0===r?0:1),e.height=Math.max(N(a+o,i,!1)-e.y,0===o?0:1),t},e.subPixelOptimize=N,e.setHoverStyle=function(t,e,i){t.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&W(t,e)}):W(t,e),t.on("mouseover",q).on("mouseout",Z),t.on("emphasis",Y).on("normal",U)},e.setLabelStyle=function(t,e,i,a,r,o,s){var l,u=(r=r||L).labelFetcher,c=r.labelDataIndex,h=r.labelDimIndex,d=i.getShallow("show"),f=a.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(c,r):r.defaultText));var p=d?l:null,g=f?n.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h):null,l):null;null==p&&null==g||(j(t,i,o,r),j(e,a,s,r,!0)),t.text=p,e.text=g},e.setTextStyle=j,e.setText=function(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,X(t,e,a,n),t.host&&t.host.dirty&&t.host.dirty(!1)},e.getFont=function(t,e){var i=e||e.getModel("textStyle");return n.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=tt,e.initProps=function(t,e,i,n,a){$(!1,t,e,i,n,a)},e.getTransform=function(t,e){for(var i=o.identity([]);t&&t!==e;)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i},e.applyTransform=et,e.transformDirection=function(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-n:"right"===t?n:0,"top"===t?-a:"bottom"===t?a:0];return r=et(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"},e.groupTransition=function(t,e,i,a){if(t&&e){var r,o=(r={},t.traverse(function(t){!t.isGroup&&t.anid&&(r[t.anid]=t)}),r);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var n=l(t);t.attr(l(e)),tt(t,n,i,t.dataIndex)}}})}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return n.map(t,function(t){var i=t[0];i=T(i,e.x),i=D(i,e.x+e.width);var n=t[1];return n=T(n,e.y),[i,n=D(n,e.y+e.height)]})},e.clipRectByRect=function(t,e){var i=T(t.x,e.x),n=D(t.x+t.width,e.x+e.width),a=T(t.y,e.y),r=D(t.y+t.height,e.y+e.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}},e.createIcon=function(t,e,i){var a=(e=n.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),n.defaults(a,i),new c(e)):P(t.replace("path://",""),e,i,"center")}},"1A4n":function(t,e,i){var n=i("/gxq"),a=i("0sHC"),r=i("Ylhr");function o(t,e,i,n){var a=e.getData(),r=this.dataIndex,o=a.getName(r),l=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),a.each(function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),l,i)})}function s(t,e,i,n,a){var r=(e.startAngle+e.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=i?n:0,u=[o*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 i=new a.Sector({z2:2}),n=new a.Polyline,r=new a.Text;function o(){n.ignore=n.hoverIgnore,r.ignore=r.hoverIgnore}function s(){n.ignore=n.normalIgnore,r.ignore=r.normalIgnore}this.add(i),this.add(n),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var u=l.prototype;u.updateData=function(t,e,i){var r=this.childAt(0),o=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e),c=n.extend({},u);(c.label=null,i)?(r.setShape(c),"scale"===o.getShallow("animationType")?(r.shape.r=u.r0,a.initProps(r,{shape:{r:u.r}},o,e)):(r.shape.endAngle=u.startAngle,a.updateProps(r,{shape:{endAngle:u.endAngle}},o,e))):a.updateProps(r,{shape:c},o,e);var h=t.getItemVisual(e,"color");r.useStyle(n.defaults({lineJoin:"bevel",fill:h},l.getModel("itemStyle").getItemStyle())),r.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var d=l.getShallow("cursor");function f(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r+o.get("hoverOffset")}},300,"elasticOut")}function p(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r}},300,"elasticOut")}d&&r.attr("cursor",d),s(this,t.getItemLayout(e),o.isSelected(null,e),o.get("selectedOffset"),o.get("animation")),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&o.isAnimationEnabled()&&r.on("mouseover",f).on("mouseout",p).on("emphasis",f).on("normal",p),this._updateLabel(t,e),a.setHoverStyle(this)},u._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");a.updateProps(i,{shape:{points:s.linePoints||[[s.x,s.y],[s.x,s.y],[s.x,s.y]]}},r,e),a.updateProps(n,{style:{x:s.x,y:s.y}},r,e),n.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),c=o.getModel("emphasis.label"),h=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");a.setLabelStyle(n.style,n.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),n.ignore=n.normalIgnore=!u.get("show"),n.hoverIgnore=!c.get("show"),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!d.get("show"),i.setStyle({stroke:l,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(h.getModel("lineStyle").getLineStyle()),i.hoverStyle=d.getModel("lineStyle").getLineStyle();var f=h.get("smooth");f&&!0===f&&(f=.4),i.setShape({smooth:f})},n.inherits(l,a.Group);var c=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,i,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,d=t.get("animationType"),f=n.curry(o,this.uid,t,c,i),p=t.get("selectedMode");if(r.diff(s).add(function(t){var e=new l(r,t);h&&"scale"!==d&&e.eachChild(function(t){t.stopAnimation(!0)}),p&&e.on("click",f),r.setItemGraphicEl(t,e),u.add(e)}).update(function(t,e){var i=s.getItemGraphicEl(e);i.updateData(r,t),i.off("click"),p&&i.on("click",f),u.add(i),r.setItemGraphicEl(t,i)}).remove(function(t){var e=s.getItemGraphicEl(t);u.remove(e)}).execute(),c&&h&&r.count()>0&&"scale"!==d){var g=r.getItemLayout(0),m=Math.max(i.getWidth(),i.getHeight())/2,v=n.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,t))}this._data=r}},dispose:function(){},_createClipPath:function(t,e,i,n,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:r}});return a.initProps(l,{shape:{endAngle:n+(r?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,a=t[1]-i.cy,r=Math.sqrt(n*n+a*a);return r<=i.r&&r>=i.r0}}});t.exports=c},"1FNb":function(t,e,i){var n=i("Icdr");i("z81E"),i("0nGg"),i("iZVd");var a=i("T6W2"),r=i("AjK0"),o=i("akwy"),s=i("TXKS"),l=i("4RQY"),u=i("NAKW"),c=i("pzOI"),h=i("KGuM");n.registerProcessor(a),n.registerVisual(r("graph","circle",null)),n.registerVisual(o),n.registerVisual(s),n.registerLayout(l),n.registerLayout(u),n.registerLayout(c),n.registerCoordinateSystem("graphView",{create:h})},"1Hui":function(t,e){function i(t){return t}function n(t,e,n,a,r){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=a||i,this.context=r}function a(t,e,i,n,a){for(var r=0;rn||l.newline?(r=0,c=m,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(h=o+v)>a||l.newline?(r+=s+i,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=c+i:o=h+i)})}var h=c,d=n.curry(c,"vertical"),f=n.curry(c,"horizontal");function p(t,e,i){i=o.normalizeCssArray(i||0);var n=e.width,s=e.height,l=r(t.left,n),u=r(t.top,s),c=r(t.right,n),h=r(t.bottom,s),d=r(t.width,n),f=r(t.height,s),p=i[2]+i[0],g=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=n-c-g-l),isNaN(f)&&(f=s-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>n/s?d=.8*n:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=n-c-d-g),isNaN(u)&&(u=s-h-f-p),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-i[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(c||0)),isNaN(f)&&(f=s-p-u-(h||0));var v=new a(l+i[3],u+i[0],d,f);return v.margin=i,v}function g(t,e){return e&&t&&s(l,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=h,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,i){var n=e.width,a=e.height,s=r(t.x,n),l=r(t.y,a),u=r(t.x2,n),c=r(t.y2,a);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=a),i=o.normalizeCssArray(i||0),{width:Math.max(u-s-i[1]-i[3],0),height:Math.max(c-l-i[0]-i[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,i,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(c=c.clone()).applyTransform(h)}e=p(n.defaults({width:c.width,height:c.height},e),i,r);var d=t.position,f=s?e.x-c.x:0,g=l?e.y-c.y:0;t.attr("position","raw"===u?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var r=l(u[0],0),o=l(u[1],1);function l(i,n){var r={},o=0,l={},u=0;if(s(i,function(e){l[e]=t[e]}),s(i,function(t){c(e,t)&&(r[t]=l[t]=e[t]),h(r,t)&&o++,h(l,t)&&u++}),a[n])return h(e,i[1])?l[i[2]]=null:h(e,i[2])&&(l[i[1]]=null),l;if(2!==u&&o){if(o>=2)return r;for(var d=0;d=0&&t.call(e,i[a],a)},s.eachEdge=function(t,e){for(var i=this.edges,n=i.length,a=0;a=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&t.call(e,i[a],a)},s.breadthFirstTraverse=function(t,e,i,n){if(l.isInstance(e)||(e=this._nodesMap[r(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",o=0;o=0&&i.node2.dataIndex>=0});for(a=0,r=n.length;a=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},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)}}};n.mixin(l,c("hostGraph","data")),n.mixin(u,c("hostGraph","edgeData")),o.Node=l,o.Edge=u,a(l),a(u);var h=o;t.exports=h},"2HcM":function(t,e,i){var n=i("/gxq"),a=i("wWR3"),r=i("3yJd"),o=a.linearMap;function s(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}var l=[0,1],u=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1,this._labelInterval};u.prototype={constructor:u,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},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 i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&s(i=i.slice(),n.count()),o(t,l,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&s(i=i.slice(),n.count());var a=o(t,i,l,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){if(this.onBand&&!t){for(var e=this.getBands(),i=[],a=0;ai||d+ho&&(o+=a);var p=Math.atan2(c,u);return p<0&&(p+=a),p>=r&&p<=o||p+a>=r&&p+a<=o}},"2M5Q":function(t,e,i){var n=i("moDv"),a=i("u+XU"),r=i("LICT"),o=i("oBGI"),s=i("2I/p"),l=i("ABnm").normalizeRadian,u=i("AAi1"),c=i("QxFU"),h=n.CMD,d=2*Math.PI,f=1e-4;var p=[-1,-1,-1],g=[-1,-1];function m(t,e,i,n,a,r,o,s,l,c){if(c>e&&c>n&&c>r&&c>s||c1&&(void 0,h=g[0],g[0]=g[1],g[1]=h),f=u.cubicAt(e,n,r,s,g[0]),y>1&&(m=u.cubicAt(e,n,r,s,g[1]))),2==y?_e&&s>n&&s>r||s=0&&c<=1){for(var h=0,d=u.quadraticAt(e,n,r,c),f=0;fi||s<-i)return 0;var u=Math.sqrt(i*i-s*s);p[0]=-u,p[1]=u;var c=Math.abs(n-a);if(c<1e-4)return 0;if(c%d<1e-4){n=0,a=d;var h=r?1:-1;return o>=p[0]+t&&o<=p[1]+t?h:0}if(r){u=n;n=l(a),a=l(u)}else n=l(n),a=l(a);n>a&&(a+=d);for(var f=0,g=0;g<2;g++){var m=p[g];if(m+t>o){var v=Math.atan2(s,m);h=r?1:-1;v<0&&(v=d+v),(v>=n&&v<=a||v+d>=n&&v+d<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),f+=h)}}return f}function x(t,e,i,n,l){for(var u,d,p=0,g=0,x=0,_=0,b=0,w=0;w1&&(i||(p+=c(g,x,_,b,n,l))),1==w&&(_=g=t[w],b=x=t[w+1]),S){case h.M:g=_=t[w++],x=b=t[w++];break;case h.L:if(i){if(a.containStroke(g,x,t[w],t[w+1],e,n,l))return!0}else p+=c(g,x,t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case h.C:if(i){if(r.containStroke(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else p+=m(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case h.Q:if(i){if(o.containStroke(g,x,t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else p+=v(g,x,t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case h.A:var M=t[w++],I=t[w++],A=t[w++],C=t[w++],T=t[w++],D=t[w++],L=(t[w++],1-t[w++]),P=Math.cos(T)*A+M,k=Math.sin(T)*C+I;w>1?p+=c(g,x,P,k,n,l):(_=P,b=k);var O=(n-M)*C/A+M;if(i){if(s.containStroke(M,I,C,T,T+D,L,e,O,l))return!0}else p+=y(M,I,C,T,T+D,L,O,l);g=Math.cos(T+D)*A+M,x=Math.sin(T+D)*C+I;break;case h.R:_=g=t[w++],b=x=t[w++];P=_+t[w++],k=b+t[w++];if(i){if(a.containStroke(_,b,P,b,e,n,l)||a.containStroke(P,b,P,k,e,n,l)||a.containStroke(P,k,_,k,e,n,l)||a.containStroke(_,k,_,b,e,n,l))return!0}else p+=c(P,b,P,k,n,l),p+=c(_,k,_,b,n,l);break;case h.Z:if(i){if(a.containStroke(g,x,_,b,e,n,l))return!0}else p+=c(g,x,_,b,n,l);g=_,x=b}}return i||(u=x,d=b,Math.abs(u-d)i-2?i-1:f+1],h=t[f>i-3?i-1:f+2]);var m=p*p,v=p*m;r.push([a(u[0],g[0],c[0],h[0],p,m,v),a(u[1],g[1],c[1],h[1],p,m,v)])}return r}},"2m1D":function(t,e,i){var n=i("EJsE"),a=i("ao1T"),r=n.extend({type:"series.__base_bar__",getInitialData:function(t,e){return a(this.getSource(),this)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(e.clampData(t)),n=this.getData(),a=n.getLayout("offset"),r=n.getLayout("size");return i[e.getBaseAxis().isHorizontal()?0:1]+=a+r/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,itemStyle:{},emphasis:{}}});t.exports=r},"2tOJ":function(t,e,i){var n=i("Icdr");i("orv6"),i("vEM8"),n.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},"2uoh":function(t,e,i){var n=i("/gxq"),a=i("3yJd"),r={getFormattedLabels:function(){return a.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:n.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,i){var n=i("8b51"),a=i("+Y0c"),r=i("/gxq"),o=r.getContext,s=r.extend,l=r.retrieve2,u=r.retrieve3,c=r.trim,h={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",m={};function v(t,e){var i=t+":"+(e=e||g);if(h[i])return h[i];for(var n=(t+"").split("\n"),a=0,r=0,o=n.length;rf&&(d=0,h={}),d++,h[i]=a,a}function y(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function x(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function _(t,e,i,n,a){if(!e)return"";var r=(t+"").split("\n");a=b(e,i,n,a);for(var o=0,s=r.length;o=r;u++)o-=r;var c=v(i);return c>o&&(i="",c=0),o=t-c,n.ellipsis=i,n.ellipsisWidth=c,n.contentWidth=o,n.containerWidth=t,n}function w(t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i)return"";var r=v(t,n);if(r<=i)return t;for(var o=0;;o++){if(r<=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?S(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;r=v(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function S(t,e,i,n){for(var a=0,r=0,o=t.length;rl)t="",r=[];else if(null!=u)for(var c=b(u-(i?i[1]+i[3]:0),e,n.ellipsis,{minChar:n.minChar,placeholder:n.placeholder}),h=0,d=r.length;hr&&T(i,t.substring(r,o)),T(i,n[2],n[1]),r=p.lastIndex}ry)return{lines:[],width:0,height:0};z.textWidth=v(z.text,D);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*L/R.height)))}var N=C?C[1]+C[3]:0;P+=N;var E=null!=m?m-S:null;null!=E&&E0&&c>0&&!h&&(s=0),s<0&&c<0&&!d&&(c=0));var p=e.ecModel;if(p&&"time"===o){var g,m=[];if(p.eachSeriesByType("bar",function(t){t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type&&(m.push(t),g|=t.getBaseAxis()===e.axis)}),g){var v=function(t,e,i,a){var r=i.axis.getExtent(),o=r[1]-r[0],s=u(a),l=i.axis.dim+i.axis.index,c=s[l];if(void 0===c)return{min:t,max:e};var h=1/0;n.each(c,function(t){h=Math.min(t.offset,h)});var d=-1/0;n.each(c,function(t){d=Math.max(t.offset+t.width,d)}),h=Math.abs(h),d=Math.abs(d);var f=h+d,p=e-t,g=p/(1-(h+d)/o)-p;return{min:t-=g*(h/f),max:e+=g*(d/f)}}(s,c,e,m);s=v.min,c=v.max}}return[s,c]}function h(t,e){return"category"===t.type?t.scale.getLabel(e):e}i("dDRy"),i("xCbH"),e.getScaleExtent=c,e.niceScaleExtent=function(t,e){var i=c(t,e),n=null!=e.getMin(),a=null!=e.getMax(),r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n,fixMax:a,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)},e.getAxisLabelInterval=function(t,e,i,n,r){var o,s=0,l=0,u=(n-r)/180*Math.PI,c=1;e.length>40&&(c=Math.floor(e.length/40));for(var h=0;h1?c:(s+1)*c-1},e.getFormattedLabels=function(t,e){var i,a=t.scale,r=a.getTicksLabels(),o=a.getTicks();return"string"==typeof e?(i=e,e=function(t){return i.replace("{value}",null!=t?t:"")},n.map(r,e)):"function"==typeof e?n.map(o,function(i,n){return e(h(t,i),n)},this):r},e.getAxisRawValue=h},"42YS":function(t,e,i){var n=i("CCtz"),a=i("eZxa"),r=i("/gxq"),o=r.isString,s=r.isFunction,l=r.isObject,u=r.isArrayLike,c=r.indexOf,h=function(){this.animators=[]};h.prototype={constructor:h,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var l=t.split("."),u=o;r="shape"===l[0];for(var h=0,d=l.length;h0&&this.animate(t,!1).when(null==n?500:n,r).delay(a||0),this}};var d=h;t.exports=d},"43ae":function(t,e,i){i("4Nz2").__DEV__;var n=i("Icdr"),a=i("QCrJ"),r=n.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&a.fixValue(t),r.superApply(this,"render",arguments),o(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,a){o(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),r.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),r.superApply(this,"dispose",arguments)}});function o(t,e,i,n,o,l){var u=r.getAxisPointerClass(t.axisPointerClass);if(u){var c=a.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u)).render(e,c,n,l):s(t,n)}}function s(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var l=[];r.registerAxisPointerClass=function(t,e){l[t]=e},r.getAxisPointerClass=function(t){return t&&l[t]};var u=r;t.exports=u},"46eW":function(t,e,i){var n=i("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 i=e.cx,n=e.cy,a=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(r),u=Math.sin(r);t.moveTo(l*a+i,u*a+n),t.arc(i,n,a,r,o,!s)}});t.exports=n},"4A6G":function(t,e,i){var n={seriesType:"lines",plan:i("CqCN")(),reset:function(t){var e=t.coordinateSystem,i=t.get("polyline"),n=t.pipelineContext.large;return{progress:function(a,r){var o=[];if(n){var s,l=a.end-a.start;if(i){for(var u=0,c=a.start;c0,M=v.height-(S?-1:1),I=(f-d)/(M||1),A=t.get("clockwise"),C=t.get("stillShowZeroSum"),T=A?1:-1,D=function(t,e){if(t){var i=e;if(t!==m){var r=t.getValue(),o=0===b&&C?w:r*w;o-y}function b(t,e){e&&w(t,"transform","matrix("+c.call(e,",")+")")}function w(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function S(t,e,i){if(function(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==h}(e,i)){var n=i?e.textFill:e.fill;n="transparent"===n?h:n,"none"!==t.getAttribute("clip-path")&&n===h&&(n="rgba(0, 0, 0, 0.002)"),w(t,"fill",n),w(t,"fill-opacity",e.opacity)}else w(t,"fill",h);if(function(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==h}(e,i)){var a=i?e.textStroke:e.stroke;w(t,"stroke",a="transparent"===a?h:a),w(t,"stroke-width",(i?e.textStrokeWidth:e.lineWidth)/(!i&&e.strokeNoScale?e.host.getLineScale():1)),w(t,"paint-order",i?"stroke":"fill"),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",h)}var M={};M.brush=function(t){var e=t.style,i=t.__svgEl;i||(i=n("path"),t.__svgEl=i),t.path||t.createPathProxy();var a=t.path;if(t.__dirtyPath){a.beginPath(),t.buildPath(a,t.shape),t.__dirtyPath=!1;var r=function(t){for(var e=[],i=t.data,n=t.len(),a=0;a=m||!_(M)&&(b>-g&&b<0||b>g)==!!S;var C=x(s+c*p(y)),T=x(l+h*f(y));I&&(b=S?m-1e-4:1e-4-m,A=!0,9===a&&e.push("M",C,T));var D=x(s+c*p(y+b)),L=x(l+h*f(y+b));e.push("A",x(c),x(h),d(w*v),+A,+S,D,L);break;case u.Z:r="Z";break;case u.R:D=x(i[a++]),L=x(i[a++]);var P=x(i[a++]),k=x(i[a++]);e.push("M",D,L,"L",D+P,L,"L",D+P,L+k,"L",D,L+k,"L",D,L)}r&&e.push(r);for(var O=0;O=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},"5Hn/":function(t,e,i){var n=i("/gxq"),a=i("UAiw"),r=i("0sHC"),o=i("QD+P"),s=i("ilLo"),l=i("wWR3"),u=i("1Xuh"),c=i("og9+"),h=r.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.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,i,n){x.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},r=this._orient===m?{right:a.width-i.x-i.width,top:a.height-30-7,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},o=u.getLayoutParams(t.option);n.each(["right","top","width","height"],function(t){"ph"===o[t]&&(o[t]=r[t])});var s=u.getLayoutRect(o,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==m||a?i===m&&a?{scale:o?[-1,1]:[-1,-1]}:"vertical"!==i||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([r]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,a=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],h=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=h[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([o],function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,c,!0);i&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,n]),p.push([m,n]),m+=g,u=i}});var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.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 i,a=this.ecModel;return t.eachTargetAxis(function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();n.each(s,function(t){if(!(i||!0!==e&&n.indexOf(y,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[r.name],c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),i={thisAxis:l,series:t,thisDim:r.name,otherDim:u,otherAxisInverse:s}}},this)},this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,o=this._size,s=this.dataZoomModel;n.add(t.filler=new h({draggable:!0,cursor:_(this._orient),drift:p(this._onDragMove,this,"all"),onmousemove:function(t){a.stop(t.event)},ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),n.add(new h(r.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),g([0,1],function(t){var o=r.createIcon(s.get("handleIcon"),{cursor:_(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),onmousemove:function(t){a.stop(t.event)},ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=o.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,o.setStyle(s.getModel("handleStyle").getItemStyle());var c=s.get("handleColor");null!=c&&(o.style.fill=c),n.add(e[t]=o);var h=s.textStyleModel;this.group.add(i[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),r=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(e,n,a,i.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null),this._range=f([d(n[0],a,o,!0),d(n[1],a,o,!0)])},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=f(i.slice()),a=this._size;g([0,1],function(t){var n=e.handles[t],r=this._handleHeight;n.attr({scale:[r/2,r/2],position:[i[t],a[1]/2-r/2]})},this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=r.getTransform(i.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,u=r.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===m?"middle":s,textAlign:a===m?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,a=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return n.isFunction(a)?a(t,o):n.isString(a)?a.replace("{value}",o):o},_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,i){this._dragging=!0;var n=this._displayables.barGroup.getLocalTransform(),a=r.applyTransform([e,i],n,!0);this._updateInterval(t,a[0]);var o=this.dataZoomModel.get("realtime");this._updateView(!o),o&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,a=(n[0]+n[1])/2;this._updateInterval("all",i[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 i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}}),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}var b=x;t.exports=b},"5KBG":function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),a=(n.isTypedArray,n.extend),r=(n.assert,n.each),o=n.isObject,s=i("vXqC"),l=s.getDataItemValue,u=s.isDataItemOption,c=i("wWR3").parseDate,h=i("rrAD"),d=i("+2Ke"),f=d.SOURCE_FORMAT_TYPED_ARRAY,p=d.SOURCE_FORMAT_ARRAY_ROWS,g=d.SOURCE_FORMAT_ORIGINAL,m=d.SOURCE_FORMAT_OBJECT_ROWS;function v(t,e){h.isInstance(t)||(t=h.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===f&&(this._offset=0,this._dimSize=e,this._data=i);var r=x[n===p?n+"_"+t.seriesLayoutBy:n];a(this,r)}var y=v.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:w},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,n=0;n0?1.1:1/1.1;f.call(this,t,e,t.offsetX,t.offsetY)}}function d(t){if(!o.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,i,n){this.pointerChecker&&this.pointerChecker(t,i,n)&&(r.stop(t.event),this.trigger("zoom",e,i,n))}function p(t,e,i){var a=t._opt[e];return a&&(!n.isString(a)||i.event[a+"Key"])}n.mixin(s,a);var g=s;t.exports=g},"5QRV":function(t,e,i){var n=i("/gxq"),a=i("ao1T"),r=i("3yJd"),o=i("2uoh"),s=i("Pdtn"),l=i("1Xuh");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var u=i("qVJQ"),c=u.enableDataStack,h=u.isDimensionStacked,d=i("/n1K");e.completeDimensions=d;var f=i("hcq/");e.createDimensions=f;var p=i("kK7q");e.createSymbol=p.createSymbol;var g={isDimensionStacked:h,enableDataStack:c};e.createList=function(t){return a(t.getSource(),t)},e.dataStack=g,e.createScale=function(t,e){var i=e;s.isInstance(e)||(i=new s(e),n.mixin(i,o));var a=r.createScaleByModel(i);return a.setExtent(t[0],t[1]),r.niceScaleExtent(a,i),a},e.mixinAxisModelCommonMethods=function(t){n.mixin(t,o)}},"5dr1":function(t,e,i){var n=i("/gxq"),a=i("ct4P");function r(t){a.call(this,t)}r.prototype={constructor:r,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var n=this.getAxis("x"),a=this.getAxis("y");return(i=i||[])[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=a.toGlobalCoord(a.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale.getExtent(),n=this.getAxis("y").scale.getExtent();return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),t[0]),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(n[0],n[1]),t[1]),Math.max(n[0],n[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return(e=e||[])[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},n.inherits(r,a);var o=r;t.exports=o},"5vFd":function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),a=i("8b51"),r=i("1Xuh").getLayoutRect,o=i("3yJd"),s=i("5dr1"),l=i("RKzr"),u=i("rctg");i("BuI2");var c=n.each,h=o.ifAxisCrossZero,d=o.niceScaleExtent;function f(t,e,i){return t.getCoordSysModel()===e}function p(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}var g=p.prototype;function m(t,e,i){var n=t[e];if(i.onZero){var a=i.onZeroAxisIndex;if(null==a){for(var r in n){if(n.hasOwnProperty(r))if((o=n[r])&&!v(o)){a=+r;break}}null==a&&(i.onZero=!1),i.onZeroAxisIndex=a}else{var o;(o=n[a])&&v(o)&&(i.onZero=!1)}}}function v(t){return"category"===t.type||"time"===t.type||!h(t)}g.type="grid",g.axisPointerEnabled=!0,g.getRect=function(){return this._rect},g.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),c(i.x,function(t){d(t.scale,t.model)}),c(i.y,function(t){d(t.scale,t.model)}),c(i.x,function(t){m(i,"y",t)}),c(i.y,function(t){m(i,"x",t)}),this.resize(this.model,e)},g.resize=function(t,e,i){var n=r(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=n;var o=this._axesList;function s(){c(o,function(t){var e=t.isHorizontal(),i=e?[0,n.width]:[0,n.height],a=t.inverse?1:0;t.setExtent(i[a],i[1-a]),function(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}(t,e?n.x:n.y)})}s(),!i&&t.get("containLabel")&&(c(o,function(t){if(!t.model.get("axisLabel.inside")){var e=function(t){var e,i,n,r,o,s,l,u,c,h=t.model,d=h.get("axisLabel.show")?h.getFormattedLabels():[],f=h.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}}}),l=s;t.exports=l},"6Kqb":function(t,e,i){var n=i("GxVO").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,a,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,a,!0)}});t.exports=n},"6MCj":function(t,e,i){var n=i("YNzw"),a=i("C7PF").applyTransform,r=i("8b51"),o=i("DRaW"),s=i("3h1/"),l=i("qjrH"),u=i("taS8"),c=i("9qnA"),h=i("MAom"),d=i("/86O"),f=i("GxVO"),p=i("moDv"),g=i("wRzc"),m=i("cI6i"),v=p.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,w=Math.sin,S=Math.max;if(!n.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"},C=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},T=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},D=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},L=function(t,e,i){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+i},P=function(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},k=function(t,e,i){var n=o.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=C(n[0],n[1],n[2]),t.opacity=i*n[3])},O=function(t,e,i,n){var r="fill"==e,s=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(r||!r&&i.lineWidth)?(t[r?"filled":"stroked"]="true",i[e]instanceof g&&D(t,s),s||(s=m.createNode(e)),r?function(t,e,i){var n,r,s=e.fill;if(null!=s)if(s instanceof g){var l,u=0,c=[0,0],h=0,d=1,f=i.getBoundingRect(),p=f.width,m=f.height;if("linear"===s.type){l="gradient";var v=i.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=i.transform;var w=i.scale,I=p,A=m;c=[(y[0]-f.x)/I,(y[1]-f.y)/A],v&&a(y,y,v),I/=w[0]*M,A/=w[1]*M;var T=S(I,A);h=0/T,d=2*s.r/T-h}var D=s.colorStops.slice();D.sort(function(t,e){return t.offset-e.offset});for(var L=D.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=c.join(","))}else k(t,s,e.opacity)}(s,i,n):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,i),T(t,s)):(t[r?"filled":"stroked"]="false",D(t,s))},R=[[],[],[]];f.prototype.brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=m.createNode("shape"),A(i),this._vmlEl=i),O(i,"fill",e,this),O(i,"stroke",e,this);var n=this.transform,r=null!=n,o=i.getElementsByTagName("stroke")[0];if(o){var s=e.lineWidth;if(r&&!e.strokeNoScale){var l=n[0]*n[3]-n[1]*n[2];s*=x(_(l))}o.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),i.path=function(t,e){var i,n,r,o,s,l,u=v.M,c=v.C,h=v.L,d=v.A,f=v.Q,p=[],g=t.data,m=t.len();for(o=0;o.01?F&&(W+=.0125):Math.abs(q-z)<1e-4?F&&WE?C-=.0125:C+=.0125:F&&qz?A+=.0125:A-=.0125),p.push(Z,y(((E-V)*k+L)*M-I),",",y(((z-B)*O+P)*M-I),",",y(((E+V)*k+L)*M-I),",",y(((z+B)*O+P)*M-I),",",y((W*k+L)*M-I),",",y((q*O+P)*M-I),",",y((A*k+L)*M-I),",",y((C*O+P)*M-I)),s=A,l=C;break;case v.R:var Y=R[0],U=R[1];Y[0]=g[o++],Y[1]=g[o++],U[0]=Y[0]+g[o++],U[1]=Y[1]+g[o++],e&&(a(Y,Y,e),a(U,U,e)),Y[0]=y(Y[0]*M-I),U[0]=y(U[0]*M-I),Y[1]=y(Y[1]*M-I),U[1]=y(U[1]*M-I),p.push(" m ",Y[0],",",Y[1]," l ",U[0],",",Y[1]," l ",U[0],",",U[1]," l ",Y[0],",",U[1]);break;case v.Z:p.push(" x ")}if(i>0){p.push(n);for(var j=0;j100&&(z=0,E={});var i,n=V.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(t){}e={style:n.fontStyle||"normal",variant:n.fontVariant||"normal",weight:n.fontWeight||"normal",size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},E[t]=e,z++}return e}(r.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';i=i||s.getBoundingRect(o,b,v,x);var w=this.transform;if(w&&!n&&(B.copy(e),B.applyTransform(w),e=B),n)p=e.x,g=e.y;else{var S=r.textPosition,M=r.textDistance;if(S instanceof Array)p=e.x+P(S[0],e.width),g=e.y+P(S[1],e.height),v=v||"left";else{var I=s.adjustTextPositionOnRect(S,e,M);p=I.x,g=I.y,v=v||I.textAlign,x=x||I.textVerticalAlign}}p=s.adjustTextX(p,i.width,v),g=s.adjustTextY(g,i.height,x),g+=i.height/2;var C,D,k,R=m.createNode,N=this._textVmlEl;N?D=(C=(k=N.firstChild).nextSibling).nextSibling:(N=R("line"),C=R("path"),D=R("textpath"),k=R("skew"),D.style["v-text-align"]="left",A(N),C.textpathok=!0,D.on=!0,N.from="0 0",N.to="1000 0.05",T(N,k),T(N,C),T(N,D),this._textVmlEl=N);var H=[p,g],G=N.style;w&&n?(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"),D.string=String(o).replace(/&/g,"&").replace(/"/g,""");try{D.style.font=b}catch(t){}O(N,"fill",{fill:r.textFill,opacity:r.opacity},this),O(N,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash},this),N.style.zIndex=L(this.zlevel,this.z,this.z2),T(t,N)}},G=function(t){D(t,this._textVmlEl),this._textVmlEl=null},F=function(t){T(t,this._textVmlEl)},W=[u,c,h,f,d],q=0;qo;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI;return[Math.cos(i)*e+this.cx,-Math.sin(i)*e+this.cy]}};var o=r;t.exports=o},"6f6q":function(t,e,i){var n=i("Icdr"),a=i("/gxq");function r(t,e,i){var n,r={},o="toggleSelected"===t;return i.eachComponent("legend",function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();a.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&n:r[e]=n}})}),{name:e.name,selected:r}}n.registerAction("legendToggleSelect","legendselectchanged",a.curry(r,"toggleSelected")),n.registerAction("legendSelect","legendselected",a.curry(r,"select")),n.registerAction("legendUnSelect","legendunselected",a.curry(r,"unSelect"))},"6n1D":function(t,e,i){var n=i("0sHC"),a=i("bzOU");function r(t){this._ctor=t||a,this.group=new n.Group}var o=r.prototype;function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return!l(t[0])&&!l(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,i=e.group,n=e._lineData;e._lineData=t,n||i.removeAll();var a=s(t);t.diff(n).add(function(i){!function(t,e,i,n){if(!u(e.getItemLayout(i)))return;var a=new t._ctor(e,i,n);e.setItemGraphicEl(i,a),t.group.add(a)}(e,t,i,a)}).update(function(i,r){!function(t,e,i,n,a,r){var o=e.getItemGraphicEl(n);if(!u(i.getItemLayout(a)))return void t.group.remove(o);o?o.updateData(i,a,r):o=new t._ctor(i,a,r);i.setItemGraphicEl(a,o),t.group.add(o)}(e,n,t,r,i,a)}).remove(function(t){i.remove(n.getItemGraphicEl(t))}).execute()},o.updateLayout=function(){var t=this._lineData;t.eachItemGraphicEl(function(e,i){e.updateLayout(t,i)},this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var n=t.start;nr&&(r=c,o=l)}for(var h=0;h=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,i){i("jJrn"),i("xLO3"),i("lVde")},"9N6q":function(t,e,i){var n=i("/gxq"),a=i("YNzw"),r=i("AlhT"),o=i("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 i=0;i=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},"9Owa":function(t,e,i){var n=i("/gxq").each,a="\0_ec_hist_store";function r(t){var e=t[a];return e||(e=t[a]=[{}]),e}e.push=function(t,e){var i=r(t);n(e,function(e,n){for(var a=i.length-1;a>=0&&!i[a][n];a--);if(a<0){var r=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(r){var o=r.getPercentRange();i[0][n]={dataZoomId:n,start:o[0],end:o[1]}}}}),i.push(e)},e.pop=function(t){var e=r(t),i=e[e.length-1];e.length>1&&e.pop();var a={};return n(i,function(t,i){for(var n=e.length-1;n>=0;n--)if(t=e[n][i]){a[i]=t;break}}),a},e.clear=function(t){t[a]=null},e.count=function(t){return r(t).length}},"9Z3y":function(t,e,i){var n=i("wWR3"),a=n.parsePercent,r=n.linearMap,o=i("XhgW"),s=i("/gxq"),l=2*Math.PI,u=Math.PI/180;t.exports=function(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.getData(),n=e.mapDimension("value"),c=t.get("center"),h=t.get("radius");s.isArray(h)||(h=[0,h]),s.isArray(c)||(c=[c,c]);var d=i.getWidth(),f=i.getHeight(),p=Math.min(d,f),g=a(c[0],d),m=a(c[1],f),v=a(h[0],p/2),y=a(h[1],p/2),x=-t.get("startAngle")*u,_=t.get("minAngle")*u,b=0;e.each(n,function(t){!isNaN(t)&&b++});var w=e.getSum(n),S=Math.PI/(w||b)*2,M=t.get("clockwise"),I=t.get("roseType"),A=t.get("stillShowZeroSum"),C=e.getDataExtent(n);C[0]=0;var T=l,D=0,L=x,P=M?1:-1;if(e.each(n,function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:m,r0:v,r:I?NaN:y});else{(n="area"!==I?0===w&&A?S:t*S:l/b)<_?(n=_,T-=_):D+=t;var a=L+P*n;e.setItemLayout(i,{angle:n,startAngle:L,endAngle:a,clockwise:M,cx:g,cy:m,r0:v,r:I?r(t,C,[v,y]):y}),L=a}}),T-l&&tl||t<-l}function v(t,e,i,n,a){var r=1-a;return r*r*(r*t+3*a*e)+a*a*(a*n+3*r*i)}function y(t,e,i,n){var a=1-n;return a*(a*t+2*n*e)+n*n*i}e.cubicAt=v,e.cubicDerivativeAt=function(t,e,i,n,a){var r=1-a;return 3*(((e-t)*r+2*(i-e)*a)*r+(n-i)*a*a)},e.cubicRootAt=function(t,e,i,n,a,r){var l=n+3*(e-i)-t,u=3*(i-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)?r[0]=0:(D=-d/u)>=0&&D<=1&&(r[y++]=D);else{var x=m*m-4*p*v;if(g(x)){var _=m/p,b=-_/2;(D=-u/l+_)>=0&&D<=1&&(r[y++]=D),b>=0&&b<=1&&(r[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);(D=(-u-((S=S<0?-o(-S,h):o(S,h))+(M=M<0?-o(-M,h):o(M,h))))/(3*l))>=0&&D<=1&&(r[y++]=D)}else{var I=(2*p*u-3*l*m)/(2*s(p*p*p)),A=Math.acos(I)/3,C=s(p),T=Math.cos(A),D=(-u-2*C*T)/(3*l),L=(b=(-u+C*(T+c*Math.sin(A)))/(3*l),(-u+C*(T-c*Math.sin(A)))/(3*l));D>=0&&D<=1&&(r[y++]=D),b>=0&&b<=1&&(r[y++]=b),L>=0&&L<=1&&(r[y++]=L)}}return y},e.cubicExtrema=function(t,e,i,n,a){var r=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(o))m(r)&&(h=-l/r)>=0&&h<=1&&(a[u++]=h);else{var c=r*r-4*o*l;if(g(c))a[0]=-r/(2*o);else if(c>0){var h,d=s(c),f=(-r-d)/(2*o);(h=(-r+d)/(2*o))>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u},e.cubicSubdivide=function(t,e,i,n,a,r){var o=(e-t)*a+t,s=(i-e)*a+e,l=(n-i)*a+i,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;r[0]=t,r[1]=o,r[2]=u,r[3]=h,r[4]=h,r[5]=c,r[6]=l,r[7]=n},e.cubicProjectPoint=function(t,e,i,n,a,o,l,c,h,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=v(t,i,a,l,I),f[1]=v(e,n,o,c,I),(b=r(d,f))=0&&b=0&&h<=1&&(a[u++]=h);else{var c=o*o-4*r*l;if(g(c))(h=-o/(2*r))>=0&&h<=1&&(a[u++]=h);else if(c>0){var h,d=s(c),f=(-o-d)/(2*r);(h=(-o+d)/(2*r))>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u},e.quadraticExtremum=function(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n},e.quadraticSubdivide=function(t,e,i,n,a){var r=(e-t)*n+t,o=(i-e)*n+e,s=(o-r)*n+r;a[0]=t,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=i},e.quadraticProjectPoint=function(t,e,i,n,a,o,l,c,h){var g,m=.005,v=1/0;d[0]=l,d[1]=c;for(var x=0;x<1;x+=.05)f[0]=y(t,i,a,x),f[1]=y(e,n,o,x),(S=r(d,f))=0&&S=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(g,20))),f.coord[h]=p.coord[h]=u,a=[f,p,{type:s,valueIndex:a.valueIndex,value:u}]}return(a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),n.extend({},a[2])])[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function u(t){return!isNaN(t)&&!isFinite(t)}function c(t,e,i,n){var a=1-t,r=n.dimensions[t];return u(e[a])&&u(i[a])&&e[t]===i[t]&&n.getAxis(r).containData(e[t])}function h(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(c(1,i,n,t)||c(0,i,n,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function d(t,e,i,n,a){var o,s=n.coordinateSystem,l=t.getItemModel(e),c=r.parsePercent(l.get("x"),a.getWidth()),h=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(c)||isNaN(h)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,f=t.get(d[0],e),p=t.get(d[1],e);o=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))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):u(t.get(d[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(c)||(o[0]=c),isNaN(h)||(o[1]=h)}else o=[c,h];t.setItemLayout(e,o)}var f=i("SZjP").extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markLineModel;if(e){var n=e.getData(),a=e.__from,r=e.__to;a.each(function(e){d(a,e,!0,t,i),d(r,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,i,r){var u=t.coordinateSystem,c=t.id,f=t.getData(),p=this.markerGroupMap,g=p.get(c)||p.set(c,new s);this.group.add(g.group);var m=function(t,e,i){var r;r=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)}):[{name:"value",type:"float"}];var s=new a(r,i),u=new a(r,i),c=new a([],i),d=n.map(i.get("data"),n.curry(l,e,t,i));t&&(d=n.filter(d,n.curry(h,t)));var f=t?o.dimValueGetter:function(t){return t.value};return s.initData(n.map(d,function(t){return t[0]}),null,f),u.initData(n.map(d,function(t){return t[1]}),null,f),c.initData(n.map(d,function(t){return t[2]})),c.hasItemOption=!0,{from:s,to:u,line:c}}(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,i,n){var a=e.getItemModel(i);d(e,i,n,t,r),e.setItemVisual(i,{symbolSize:a.get("symbolSize")||b[n?0:1],symbol:a.get("symbol",!0)||_[n?0:1],color:a.get("itemStyle.color")||f.getVisual("color")})}n.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each(function(t){w(v,t,!0),w(y,t,!1)}),x.each(function(t){var e=x.getItemModel(t).get("lineStyle.color");x.setItemVisual(t,{color:e||v.getItemVisual(t,"color")}),x.setItemLayout(t,[v.getItemLayout(t),y.getItemLayout(t)]),x.setItemVisual(t,{fromSymbolSize:v.getItemVisual(t,"symbolSize"),fromSymbol:v.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})}),g.updateData(x),m.line.eachItemGraphicEl(function(t,i){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,i){var n=i("YNzw"),a=i("FIAY"),r=i("dCQY"),o=a.toolbox.saveAsImage;function s(t){this.model=t}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!n.canvasSupported,s.prototype.onclick=function(t,e){var i=this.model,a=i.get("name")||t.get("title.0.text")||"echarts",r=document.createElement("a"),o=i.get("type",!0)||"png";r.download=a+"."+o,r.target="_blank";var s=e.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(r.href=s,"function"!=typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);u--;)c[u]=l.charCodeAt(u);var h=new Blob([c]);window.navigator.msSaveOrOpenBlob(h,a+"."+o)}else{var d=i.get("lang"),f='';window.open().document.write(f)}else{var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(p)}},r.register("saveAsImage",s);var l=s;t.exports=l},AjK0:function(t,e){t.exports=function(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,n,a){var r=t.getData(),o=t.get("symbol")||e,s=t.get("symbolSize");if(r.setVisual({legendSymbol:i||o,symbol:o,symbolSize:s}),!n.isSeriesFiltered(t)){var l="function"==typeof s;return{dataEach:r.hasItemOption||l?function(e,i){if("function"==typeof s){var n=t.getRawValue(i),a=t.getDataParams(i);e.setItemVisual(i,"symbolSize",s(n,a))}if(e.hasItemOption){var r=e.getItemModel(i),o=r.getShallow("symbol",!0),l=r.getShallow("symbolSize",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=l&&e.setItemVisual(i,"symbolSize",l)}}:null}}}}}},AjST:function(t,e,i){var n=i("Icdr");i("Po+l"),i("MsVc");var a=i("5KWC"),r=i("YbE0");n.registerVisual(a),n.registerLayout(r)},AlhT:function(t,e,i){var n=i("/gxq"),a=i("avYi"),r=i("8b51"),o=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};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,a=this._children,r=n.indexOf(a,t);return r<0?this:(a.splice(r,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e>1^-(1&s),l=l>>1^-(1&l),a=s+=a,r=l+=r,n.push([s/i,l/i])}return n}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n0}),function(t){var e=t.properties,i=t.geometry,r=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===i.type&&n.each(r,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new a(e.name,o,e.cp);return s.properties=e,s})}},B123:function(t,e,i){var n=i("/gxq"),a={get:function(t,e,i){var a=n.clone((r[t]||{})[e]);return i&&n.isArray(a)?a[a.length-1]:a}},r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},o=a;t.exports=o},B33o:function(t,e,i){var n=i("8b51"),a=i("wUOi"),r=i("C7PF"),o=i("N1qP");function s(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,c=0;c.5?e:t}function h(t,e,i,n,a){var r=t.length;if(1==a)for(var o=0;oa)t.length=a;else for(var r=n;r=0&&!(C[i]<=e);i--);i=Math.min(i,_-2)}else{for(i=H;i<_&&!(C[i]>e);i++);i=Math.min(i-1,_-2)}H=i,G=e;var n=C[i+1]-C[i];if(0!==n)if(N=(e-C[i])/n,x)if(z=T[i],E=T[0===i?i:i-1],V=T[i>_-2?_-1:i+1],B=T[i>_-3?_-1:i+2],S)p(E,z,V,B,N,N*N,N*N*N,m(t,s),A);else{if(M)a=p(E,z,V,B,N,N*N,N*N*N,F,1),a=v(F);else{if(I)return c(z,V,N);a=g(E,z,V,B,N,N*N,N*N*N)}y(t,s,a)}else if(S)h(T[i],T[i+1],N,m(t,s),A);else{var a;if(M)h(T[i],T[i+1],N,F,1),a=v(F);else{if(I)return c(T[i],T[i+1],N);a=u(T[i],T[i+1],N)}y(t,s,a)}},ondestroy:i});return e&&"spline"!==e&&(W.easing=e),W}}}var x=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||s,this._setter=n||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==t&&i[n].push({time:0,value:m(a)})}i[n].push({time:t,value:e[n]})}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(h.parentNode&&h.parentNode!==f){var C=i.__edge;C||(C=i.__edge=new a.BezierCurve({shape:d(l,v,v),style:n.defaults({opacity:0},l.lineStyle)})),a.updateProps(C,{shape:d(l,m,y),style:{opacity:1}},s),o.add(C)}}function h(t,e,i,n,r,o){for(var s,l=t.tree.getNodeByDataIndex(e),c=t.tree.root,h=(o=u(l,l.getModel(),o),l.parentNode===c?l:l.parentNode||l);null==(s=h.getLayout());)h=h.parentNode===c?h:h.parentNode||h;a.updateProps(i,{position:[s.x+1,s.y+1]},r,function(){n.remove(i),t.setItemGraphicEl(e,null)}),i.fadeOut(null,{keepLabel:!0});var f=i.__edge;f&&a.updateProps(f,{shape:d(o,s,s),style:{opacity:0}},r,function(){n.remove(f)})}function d(t,e,i){var n,a,r,s,l=t.orient;if("radial"===t.layout){var u=e.rawX,c=e.rawY,h=i.rawX,d=i.rawY,f=o(u,c),p=o(u,c+(d-c)*t.curvature),g=o(h,d+(c-d)*t.curvature),m=o(h,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,c=e.y,h=i.x,d=i.y;return"horizontal"===l&&(n=u+(h-u)*t.curvature,a=c,r=h+(u-h)*t.curvature,s=d),"vertical"===l&&(n=u,a=c+(d-c)*t.curvature,r=h,s=d+(c-d)*t.curvature),{x1:u,y1:c,x2:h,y2:d,cpx1:n,cpy1:a,cpx2:r,cpy2:s}}t.exports=s},CWSg:function(t,e){var i=["lineStyle","normal","opacity"];t.exports=function(t){t.eachSeriesByType("parallel",function(e){var n=e.getModel("itemStyle"),a=e.getModel("lineStyle"),r=t.get("color"),o=a.get("color")||n.get("color")||r[e.seriesIndex%r.length],s=e.get("inactiveOpacity"),l=e.get("activeOpacity"),u=e.getModel("lineStyle").getLineStyle(),c=e.coordinateSystem,h=e.getData(),d={normal:u.opacity,active:l,inactive:s};c.eachActiveState(h,function(t,e){var n=h.getItemModel(e),a=d[t];if("normal"===t){var r=n.get(i,!0);null!=r&&(a=r)}h.setItemVisual(e,"opacity",a)}),h.setVisual("color",o)})}},CiLi:function(t,e,i){var n=i("/gxq"),a=i("0sHC"),r=i("GxVO").extend({type:"whiskerInBox",shape:{},buildPath:function(t,e){for(var i in e)if(e.hasOwnProperty(i)&&0===i.indexOf("ends")){var n=e[i];t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1])}}});function o(t,e,i,n){a.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=i,this._createContent(t,e,n),this.updateData(t,e,n),this._seriesModel}var s=o.prototype;function l(t,e,i){return n.map(t,function(t){return(t=t.slice())[e]=i.initBaseline,t})}function u(t){var e={};return n.each(t,function(t,i){e["ends"+i]=t}),e}function c(t){this.group=new a.Group,this.styleUpdater=t}s._createContent=function(t,e,i){var o=t.getItemLayout(e),s="horizontal"===o.chartLayout?1:0,c=0;this.add(new a.Polygon({shape:{points:i?l(o.bodyEnds,s,o):o.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=c++;var h=n.map(o.whiskerEnds,function(t){return i?l(t,s,o):t});this.add(new r({shape:u(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=c++},s.updateData=function(t,e,i){var n=this._seriesModel=t.hostModel,r=t.getItemLayout(e),o=a[i?"initProps":"updateProps"];o(this.childAt(this.bodyIndex),{shape:{points:r.bodyEnds}},n,e),o(this.childAt(this.whiskerIndex),{shape:u(r.whiskerEnds)},n,e),this.styleUpdater.call(null,this,t,e)},n.inherits(o,a.Group);var h=c.prototype;h.updateData=function(t){var e=this.group,i=this._data,n=this.styleUpdater;this._data||e.removeAll(),t.diff(i).add(function(i){if(t.hasValue(i)){var a=new o(t,i,n,!0);t.setItemGraphicEl(i,a),e.add(a)}}).update(function(a,r){var s=i.getItemGraphicEl(r);t.hasValue(a)?(s?s.updateData(t,a):s=new o(t,a,n),e.add(s),t.setItemGraphicEl(a,s)):e.remove(s)}).remove(function(t){var n=i.getItemGraphicEl(t);n&&e.remove(n)}).execute(),this._data=t},h.incrementalPrepareUpdate=function(t,e,i){this.group.removeAll(),this._data=null},h.incrementalUpdate=function(t,e,i,n){for(var a=e.getData(),r=t.start;r=0;i--)s.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t)return"inactive";for(var i=0,n=e.length;i255?255:t}function r(t){return t<0?0:t>1?1:t}function o(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)?r(parseFloat(t)/100):r(parseFloat(t))}function l(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function u(t,e,i){return t+(e-t)*i}function c(t,e,i,n,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=a,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new(i("zMj2"))(20),f=null;function p(t,e){f&&h(f,e),f=d.put(t,f||e.slice())}function g(t,e){if(t){e=e||[];var i=d.get(t);if(i)return h(e,i);var a,r=(t+="").replace(/ /g,"").toLowerCase();if(r in n)return h(e,n[r]),p(t,e),e;if("#"===r.charAt(0))return 4===r.length?(a=parseInt(r.substr(1),16))>=0&&a<=4095?(c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,1),p(t,e),e):void c(e,0,0,0,1):7===r.length?(a=parseInt(r.substr(1),16))>=0&&a<=16777215?(c(e,(16711680&a)>>16,(65280&a)>>8,255&a,1),p(t,e),e):void c(e,0,0,0,1):void 0;var l=r.indexOf("("),u=r.indexOf(")");if(-1!==l&&u+1===r.length){var f=r.substr(0,l),g=r.substr(l+1,u-(l+1)).split(","),v=1;switch(f){case"rgba":if(4!==g.length)return void c(e,0,0,0,1);v=s(g.pop());case"rgb":return 3!==g.length?void c(e,0,0,0,1):(c(e,o(g[0]),o(g[1]),o(g[2]),v),p(t,e),e);case"hsla":return 4!==g.length?void c(e,0,0,0,1):(g[3]=s(g[3]),m(g,e),p(t,e),e);case"hsl":return 3!==g.length?void c(e,0,0,0,1):(m(g,e),p(t,e),e);default:return}}c(e,0,0,0,1)}}function m(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=s(t[1]),r=s(t[2]),o=r<=.5?r*(n+1):r+n-r*n,u=2*r-o;return c(e=e||[],a(255*l(u,o,i+1/3)),a(255*l(u,o,i)),a(255*l(u,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),o=Math.floor(n),s=Math.ceil(n),l=e[o],c=e[s],h=n-o;return i[0]=a(u(l[0],c[0],h)),i[1]=a(u(l[1],c[1],h)),i[2]=a(u(l[2],c[2],h)),i[3]=r(u(l[3],c[3],h)),i}}var y=v;function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),o=Math.floor(n),s=Math.ceil(n),l=g(e[o]),c=g(e[s]),h=n-o,d=b([a(u(l[0],c[0],h)),a(u(l[1],c[1],h)),a(u(l[2],c[2],h)),r(u(l[3],c[3],h))],"rgba");return i?{color:d,leftIndex:o,rightIndex:s,value:n}:d}}var _=x;function b(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=g,e.lift=function(t,e){var i=g(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return b(i,4===i.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,i,n){if(t=g(t))return t=function(t){if(t){var e,i,n=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o,u=(s+o)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var c=((s-n)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?e=d-h:a===s?e=1/3+c-d:r===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,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!=i&&(t[1]=s(i)),null!=n&&(t[2]=s(n)),b(m(t),"rgba");var a},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=r(e),b(t,"rgba")},e.stringify=b},DZTl:function(t,e,i){var n=i("/gxq"),a=n.each;function r(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.visualMap;n.isArray(e)||(e=e?[e]:[]),a(e,function(t){if(t){r(t,"splitList")&&!r(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&n.isArray(e)&&a(e,function(t){n.isObject(t)&&(r(t,"start")&&!r(t,"min")&&(t.min=t.start),r(t,"end")&&!r(t,"max")&&(t.max=t.end))})}})}},DknX:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("oDOe"),o=i("XCrL"),s=i("9Owa"),l=i("og9+"),u=i("FIAY"),c=i("dCQY");i("l2wH");var h=u.toolbox.dataZoom,d=a.each,f="\0_ec_\0toolbox-dataZoom_";function p(t,e,i){(this._brushController=new r(i.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(h.title)};var g=p.prototype;g.render=function(t,e,i,n){this.model=t,this.ecModel=e,this.api=i,function(t,e,i,n,a){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive);i._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(v(t.option),e,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,n,i),function(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}(t,e)},g.onclick=function(t,e,i){m[i].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(i){e[i]=t[i],null==e[i]&&(e[i]="all"),(!1===e[i]||"none"===e[i])&&(e[i]=[])}),e}g._onBrush=function(t,e){if(e.isEnd&&t.length){var i={},n=this.ecModel;this._brushController.updateCovers([]),new o(v(this.model.option),n,{include:["grid"]}).matchOutputRanges(t,n,function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(a("x",i,e[0]),a("y",i,e[1])):a({lineX:"x",lineY:"y"}[n],i,e)}}),s.push(n,i),this._dispatchZoomAction(i)}function a(t,e,a){var r=e.getAxis(t),o=r.model,s=function(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(t,e.componentIndex)&&(n=i)}),n}(t,o,n),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}},g._dispatchZoomAction=function(t){var e=[];d(t,function(t,i){e.push(a.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",p),n.registerPreprocessor(function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var i=t.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;r("xAxis",n),r("yAxis",n)}}function r(i,n){if(n){var r=i+"Index",o=n[r];null==o||"all"==o||a.isArray(o)||(o=!1===o||"none"===o?[]:[o]),function(e,i){var n=t[e];a.isArray(n)||(n=n?[n]:[]);d(n,i)}(i,function(t,n){if(null==o||"all"==o||-1!==a.indexOf(o,n)){var s={type:"select",$fromToolbox:!0,id:f+i+n};s[r]=n,e.push(s)}})}}});var y=p;t.exports=y},DnWC:function(t,e,i){var n=i("/gxq"),a=i("Ylhr"),r=i("pSwa"),o=i("1Hui"),s=a.extend({type:"sunburst",init:function(){},render:function(t,e,i,a){var s=this;this.seriesModel=t,this.api=i,this.ecModel=e;var l=t.getData(),u=l.tree.root,c=t.getViewRoot(),h=this.group,d=t.get("renderLabelForZeroData"),f=[];c.eachNode(function(t){f.push(t)});var p=this._oldChildren||[];if(function(i,a){if(0===i.length&&0===a.length)return;function s(t){return t.getId()}function c(n,o){var s=null==n?null:i[n],c=null==o?null:a[o];!function(i,n){d||!i||i.getValue()||(i=null);if(i!==u&&n!==u)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",t,e),l.setItemGraphicEl(i.dataIndex,n.piece)):function(t){if(!t)return;t.piece&&(h.remove(t.piece),t.piece=null)}(n);else if(i){var a=new r(i,t,e);h.add(a),l.setItemGraphicEl(i.dataIndex,a)}}(s,c)}new o(a,i,s,s).add(c).update(c).remove(n.curry(c,null)).execute()}(f,p),function(i,n){if(n.depth>0){i.piece?i.piece.updateData(!1,i,"normal",t,e):(i.piece=new r(i,t,e),h.add(i.piece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(t){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,i.piece.on("click",a)}else i.piece&&(h.remove(i.piece),i.piece=null)}(u,c),a&&a.highlight&&a.highlight.piece){var g=t.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=u.piece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var i=!1;t.seriesModel.getViewRoot().eachNode(function(n){if(!i&&n.piece&&n.piece.childAt(0)===e.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(n);else if("link"===a){var r=n.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";window.open(o,s)}}i=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,a=t[1]-i.cy,r=Math.sqrt(n*n+a*a);return r<=i.r&&r>=i.r0}}});t.exports=s},DpwM:function(t,e,i){var n=i("/gxq"),a=i("YNzw"),r=(0,i("vXqC").makeInner)(),o=n.each;function s(t,e,i){t.handler("leave",null,i)}function l(t,e,i,n){e.handler(t,i,n)}e.register=function(t,e,i){if(!a.node){var u=e.getZr();r(u).records||(r(u).records={}),function(t,e){function i(i,n){t.on(i,function(i){var a=function(t){var e={showTip:[],hideTip:[]},i=function(n){var a=e[n.type];a?a.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}(e);o(r(t).records,function(t){t&&n(t,i,a.dispatchAction)}),function(t,e){var i,n=t.showTip.length,a=t.hideTip.length;n?i=t.showTip[n-1]:a&&(i=t.hideTip[a-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}(a.pendings,e)})}r(t).initialized||(r(t).initialized=!0,i("click",n.curry(l,"click")),i("mousemove",n.curry(l,"mousemove")),i("globalout",s))}(u,e),(r(u).records[t]||(r(u).records[t]={})).handler=i}},e.unregister=function(t,e){if(!a.node){var i=e.getZr();(r(i).records||{})[t]&&(r(i).records[t]=null)}}},E7aA:function(t,e,i){var n=i("/gxq"),a=i("5Mek"),r=i("QD+P"),o=n.curry,s="\0_ec_dataZoom_roams";function l(t){var e=t.getZr();return e[s]||(e[s]={})}function u(t){n.each(t,function(e,i){e.count||(e.controller.dispose(),delete t[i])})}function c(t,e,i,n,a,r,o){d(t,function(s){return s.panGetRange(t.controller,e,i,n,a,r,o)})}function h(t,e,i,n){d(t,function(a){return a.zoomGetRange(t.controller,e,i,n)})}function d(t,e){var i=[];n.each(t.dataZoomInfos,function(t){var n=e(t);!t.disabled&&n&&i.push({dataZoomId:t.dataZoomId,start:n[0],end:n[1]})}),t.dispatchAction(i)}function f(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var i=l(t),s=e.dataZoomId,d=e.coordId;n.each(i,function(t,i){var a=t.dataZoomInfos;a[s]&&n.indexOf(e.allCoordIds,d)<0&&(delete a[s],t.count--)}),u(i);var p=i[d];p||((p=i[d]={coordId:d,dataZoomInfos:{},count:0}).controller=function(t,e){var i=new a(t.getZr());return i.on("pan",o(c,e)),i.on("zoom",o(h,e)),i}(t,p),p.dispatchAction=n.curry(f,t)),!p.dataZoomInfos[s]&&p.count++,p.dataZoomInfos[s]=e;var g,m,v,y,x=(g=p.dataZoomInfos,v={},y={type_true:2,type_move:1,type_false:0,type_undefined:-1},n.each(g,function(t){var e=!t.disabled&&(!t.zoomLock||"move");y["type_"+e]>y["type_"+m]&&(m=e),n.extend(v,t.roamControllerOpt)}),{controlType:m,opt:v});p.controller.enable(x.controlType,x.opt),p.controller.setPointerChecker(e.containsPoint),r.createOrUpdate(p,"dispatchAction",e.throttleRate,"fixRate")},e.unregister=function(t,e){var i=l(t);n.each(i,function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)}),u(i)},e.shouldRecordRange=function(t,e){if(t&&"dataZoom"===t.type&&t.batch)for(var i=0,n=t.batch.length;i1||p&&!d?function(i){var a=n.reduce(i,function(t,e,i){var n=r.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)},0),c=[];function d(t,i){var n=r.getDimensionInfo(i);if(n&&!1!==n.otherDims.tooltip){var h=n.type,d=u({color:g,type:"subItem"}),f=(a?d+s(n.displayName||"-")+": ":"")+s("ordinal"===h?t+"":"time"===h?e?"":o("yyyy/MM/dd hh:mm:ss",t):l(t));f&&c.push(f)}}return h.length?n.each(h,function(e){d(b(r,t,e),e)}):n.each(i,d),(a?"
":"")+c.join(a?"
":", ")}(f):a(d?b(r,t,h[0]):p?f[0]:f),v=u(g),y=r.getName(t),x=this.name;return c.isNameSpecified(this)||(x=""),x=x?s(x)+(e?": ":"
"):"",e?v+x+m:x+v+(y?s(y)+": "+m:m)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,a=d.getColorFromPalette.call(this,t,e,i);return a||(a=n.getColorFromPalette(t,e,i)),a},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function M(t){var e=t.name;c.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),a=[];return n.each(i,function(t){var i=e.getDimensionInfo(t);i.displayName&&a.push(i.displayName)}),a.join(" ")}(t)||e)}function I(t){return t.model.getRawData().count()}function A(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),C}function C(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function T(t,e){n.each(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,n.curry(D,e))})}function D(t){var e=L(t);e&&e.setOutputEnd(this.count())}function L(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(t.uid))}return n}}n.mixin(S,f),n.mixin(S,d);var P=S;t.exports=P},ERCD:function(t,e,i){var n=i("1Xuh");function a(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function r(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function o(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function s(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}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,i,n=[t];e=n.pop();)if(i=e.children,e.isExpand&&i.length)for(var a=i.length-1;a>=0;a--){var r=i[a];r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},n.push(r)}},e.firstWalk=function(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,l=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){!function(t){for(var e=t.children,i=e.length,n=0,a=0;--i>=0;){var r=e[i];r.hierNode.prelim+=n,r.hierNode.modifier+=n,a+=r.hierNode.change,n+=r.hierNode.shift+a}}(t);var u=(i[0].hierNode.prelim+i[i.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,i,n){if(e){for(var l=t,u=t,c=u.parentNode.children[0],h=e,d=l.hierNode.modifier,f=u.hierNode.modifier,p=c.hierNode.modifier,g=h.hierNode.modifier;h=a(h),u=r(u),h&&u;){l=a(l),c=r(c),l.hierNode.ancestor=t;var m=h.hierNode.prelim+g-u.hierNode.prelim-f+n(h,u);m>0&&(s(o(h,t,i),t,m),f+=m,d+=m),g+=h.hierNode.modifier,f+=u.hierNode.modifier,d+=l.hierNode.modifier,p+=c.hierNode.modifier}h&&!a(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=g-d),u&&!r(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=f-p,i=t)}return i}(t,l,t.parentNode.hierNode.defaultAncestor||n[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 i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i},e.getViewRect=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},F8oC:function(t,e,i){var n=i("/gxq"),a=i("Y5nL"),r=i("Rfu2"),o=i("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:{},label:{color:"#000"},data:[]},init:function(t,e,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),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||[],i=t.axisType,a=this._names=[];if("category"===i){var s=[];n.each(e,function(t,e){var i,r=o.getDataItemValue(t);n.isObject(t)?(i=n.clone(t)).value=e:i=e,s.push(i),n.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")}),e=s}var l={category:"ordinal",time:"time"}[i]||"number";(this._data=new r([{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:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}}},Fkmw:function(t,e,i){var n=i("/gxq"),a=i("DRaW"),r=i("Rfu2"),o=i("wWR3"),s=i("0sHC"),l=i("vx1D"),u=function(t,e,i,a){var r=l.dataTransform(t,a[0]),o=l.dataTransform(t,a[1]),s=n.retrieve,u=r.coord,c=o.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=n.mergeAll([{},r,o]);return h.coord=[r.coord,o.coord],h.x0=r.x,h.y0=r.y,h.x1=o.x,h.y1=o.y,h};function c(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,i,n){var a=1-t;return c(e[a])&&c(i[a])}function d(t,e){var i=e.coord[0],n=e.coord[1];return!("cartesian2d"!==t.type||!i||!n||!h(1,i,n)&&!h(0,i,n))||(l.dataFilter(t,{coord:i,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:n,x:e.x1,y:e.y1}))}function f(t,e,i,n,a){var r,s=n.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get(i[0]),a.getWidth()),h=o.parsePercent(l.get(i[1]),a.getHeight());if(isNaN(u)||isNaN(h)){if(n.getMarkerPosition)r=n.getMarkerPosition(t.getValues(i,e));else{var d=[g=t.get(i[0],e),m=t.get(i[1],e)];s.clampData&&s.clampData(d,d),r=s.dataToPoint(d,!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),p=s.getAxis("y"),g=t.get(i[0],e),m=t.get(i[1],e);c(g)?r[0]=f.toGlobalCoord(f.getExtent()["x0"===i[0]?0:1]):c(m)&&(r[1]=p.toGlobalCoord(p.getExtent()["y0"===i[1]?0:1]))}isNaN(u)||(r[0]=u),isNaN(h)||(r[1]=h)}else r=[u,h];return r}var p=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];i("SZjP").extend({type:"markArea",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markAreaModel;if(e){var a=e.getData();a.each(function(e){var r=n.map(p,function(n){return f(a,e,n,t,i)});a.setItemLayout(e,r),a.getItemGraphicEl(e).setShape("points",r)})}},this)},renderSeries:function(t,e,i,o){var l=t.coordinateSystem,c=t.name,h=t.getData(),g=this.markerGroupMap,m=g.get(c)||g.set(c,{group:new s.Group});this.group.add(m.group),m.__keep=!0;var v=function(t,e,i){var a,o;t?(a=n.map(t&&t.dimensions,function(t){var i=e.getData(),a=i.getDimensionInfo(i.mapDimension(t))||{};return n.defaults({name:t},a)}),o=new r(n.map(["x0","y0","x1","y1"],function(t,e){return{name:t,type:a[e%2].type}}),i)):o=new r(a=[{name:"value",type:"float"}],i);var s=n.map(i.get("data"),n.curry(u,e,t,i));t&&(s=n.filter(s,n.curry(d,t)));var l=t?function(t,e,i,n){return t.coord[Math.floor(n/2)][n%2]}:function(t){return t.value};return o.initData(s,null,l),o.hasItemOption=!0,o}(l,t,e);e.setData(v),v.each(function(e){v.setItemLayout(e,n.map(p,function(i){return f(v,e,i,t,o)})),v.setItemVisual(e,{color:h.getVisual("color")})}),v.diff(m.__data).add(function(t){var e=new s.Polygon({shape:{points:v.getItemLayout(t)}});v.setItemGraphicEl(t,e),m.group.add(e)}).update(function(t,i){var n=m.__data.getItemGraphicEl(i);s.updateProps(n,{shape:{points:v.getItemLayout(t)}},e,t),m.group.add(n),v.setItemGraphicEl(t,n)}).remove(function(t){var e=m.__data.getItemGraphicEl(t);m.group.remove(e)}).execute(),v.eachItemGraphicEl(function(t,i){var r=v.getItemModel(i),o=r.getModel("label"),l=r.getModel("emphasis.label"),u=v.getItemVisual(i,"color");t.useStyle(n.defaults(r.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,o,l,{labelFetcher:e,labelDataIndex:i,defaultText:v.getName(i)||"",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,i){var n=i("Icdr"),a=i("/gxq"),r=i("QD+P"),o=i("i6Ks");i("qSkD"),i("KjPy"),i("LjPz");n.extendComponentView({type:"parallel",render:function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},a.each(s,function(t,e){i.getZr().on(e,this._handlers[e]=a.bind(t,this))},this)),r.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){a.each(this._handlers,function(t,i){e.getZr().off(i,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 i=[t.offsetX,t.offsetY];if(Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2)>5)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==n.behavior&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function l(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}n.registerPreprocessor(o)},FvdC:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("ii60").updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var n=e.coordinateSystem;if("geo"===n.type){var o=r(n,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&a.each(e.seriesGroup,function(t){t.setCenter(o.center),t.setZoom(o.zoom)})}})})},GQGX:function(t,e,i){var n=i("/gxq");function a(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},o=a.normal||(a.normal={}),s={normal:1,emphasis:1};n.each(a,function(t,e){s[e]||r(o,e)||(o[e]=t)}),i.label&&!r(a,"emphasis")&&(a.emphasis=i.label,delete i.label)}function r(t,e){return t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.timeline;n.isArray(e)||(e=e?[e]:[]),n.each(e,function(t){t&&function(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),a(t),r(t,"controlPosition")){var o=t.controlStyle||(t.controlStyle={});r(o,"position")||(o.position=t.controlPosition),"none"!==o.position||r(o,"show")||(o.show=!1,delete o.position),delete t.controlPosition}n.each(t.data||[],function(t){n.isObject(t)&&!n.isArray(t)&&(!r(t,"value")&&r(t,"name")&&(t.value=t.name),a(t))})}(t)})}},GWV8:function(t,e,i){var n=i("/gxq"),a=i("wWR3"),r=i("s1Aj"),o=n.each,s=a.asc,l=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function u(t,e){var i=t.getAxisModel(),n=t._percentWindow,r=t._valueWindow;if(n){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=e||0===n[0]&&100===n[1];i.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}l.prototype={constructor:l,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries(function(i){if(r.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,a=e.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&t.push(i)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i,n=this._dimName,a=this.ecModel,r=this.getAxisModel();return"x"===n||"y"===n?(e="gridIndex",t="x"===n?"y":"x"):(e="polarIndex",t="angle"===n?"radius":"angle"),a.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(i=t)}),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e=this._dataExtent,i=this.getAxisModel().axis.scale,n=this._dataZoomModel.getRangePropMode(),r=[0,100],l=[t.start,t.end],u=[];return o(["startValue","endValue"],function(e){u.push(null!=t[e]?i.parse(t[e]):null)}),o([0,1],function(t){var o=u[t],s=l[t];"percent"===n[t]?(null==s&&(s=r[t]),o=i.parse(a.linearMap(s,r,e,!0))):s=a.linearMap(o,e,r,!0),u[t]=o,l[t]=s}),{valueWindow:s(u),percentWindow:s(l)}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,i){var n=[1/0,-1/0];o(i,function(t){var i=t.getData();i&&o(i.mapDimension(e,!0),function(t){var e=i.getApproximateExtent(t);e[0]n[1]&&(n[1]=e[1])})}),n[1]0?0:NaN);var o=i.getMax(!0);null!=o&&"dataMax"!==o&&"function"!=typeof o?e[1]=o:a&&(e[1]=r>0?r-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,n),n}(this,this._dimName,e);var i=this.calculateDataWindow(t.option);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,function(t){var e=t._minMaxSpan={},i=t._dataZoomModel;o(["min","max"],function(n){e[n+"Span"]=i.get(n+"Span");var r=i.get(n+"ValueSpan");if(null!=r&&(e[n+"ValueSpan"]=r,null!=(r=t.getAxisModel().axis.scale.parse(r)))){var o=t._dataExtent;e[n+"Span"]=a.linearMap(o[0]+r,o,[0,100],!0)}})}(this),u(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&o(n,function(t){var e=t.getData(),n=e.mapDimension(i,!0);"weakFilter"===a?e.filterSelf(function(t){for(var i,a,o,s=0;sr[1];if(u&&!c&&!h)return!0;u&&(o=!0),c&&(i=!0),h&&(a=!0)}return o&&i&&a}):o(n,function(i){if("empty"===a)t.setData(e.map(i,function(t){return function(t){return t>=r[0]&&t<=r[1]}(t)?t:NaN}));else{var n={};n[i]=r,e.selectRange(n)}}),o(n,function(t){e.setApproximateExtent(r,t)})})}}};var c=l;t.exports=c},GbHy:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("m/6y").layout;i("5vFd"),i("DPh+"),i("eHPu"),i("UkNE"),n.registerLayout(a.curry(r,"bar")),n.registerVisual(function(t){t.eachSeriesByType("bar",function(t){t.getData().setVisual("legendSymbol","roundRect")})})},Gevp:function(t,e,i){var n=i("EJsE"),a=i("/gZK"),r=i("/gxq"),o=i("HHfb").encodeHTML,s=n.extend({type:"series.radar",dependencies:["radar"],init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t){var e=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),n=this.getData().getName(t);return o(""===n?this.name:n)+"
"+r.map(i,function(i,n){var a=e.get(e.mapDimension(i.dim),t);return o(i.name+" : "+a)}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),l=s;t.exports=l},GnMB:function(t,e,i){var n=i("/gxq"),a=i("kK7q").createSymbol,r=i("0sHC").Group,o=i("wWR3").parsePercent,s=i("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){r.call(this);var i=new s(t,e),n=new r;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(t,e)}var c=u.prototype;c.stopEffectAnimation=function(){this.childAt(1).removeAll()},c.startEffectAnimation=function(t){for(var e=t.symbolType,i=t.color,n=this.childAt(1),r=0;r<3;r++){var o=a(e,-1,-1,2,2,i);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-r/3*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),n.add(o)}l(n,t)},c.updateEffectAnimation=function(t){for(var e=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale"],a=0;a=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}t.exports=function(t,e){var i=[],r=n.quadraticSubdivide,o=[[],[],[]],s=[[],[]],l=[];function u(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}e/=2,t.eachEdge(function(t,n){var c=t.getLayout(),d=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");c.__original||(c.__original=[a.clone(c[0]),a.clone(c[1])],c[2]&&c.__original.push(a.clone(c[2])));var p=c.__original;if(null!=c[2]){if(a.copy(o[0],p[0]),a.copy(o[1],p[2]),a.copy(o[2],p[1]),d&&"none"!=d){var g=u(t.node1),m=h(o,p[0],g*e);r(o[0][0],o[1][0],o[2][0],m,i),o[0][0]=i[3],o[1][0]=i[4],r(o[0][1],o[1][1],o[2][1],m,i),o[0][1]=i[3],o[1][1]=i[4]}f&&"none"!=f&&(g=u(t.node2),m=h(o,p[1],g*e),r(o[0][0],o[1][0],o[2][0],m,i),o[1][0]=i[1],o[2][0]=i[2],r(o[0][1],o[1][1],o[2][1],m,i),o[1][1]=i[1],o[2][1]=i[2]),a.copy(c[0],o[0]),a.copy(c[1],o[2]),a.copy(c[2],o[1])}else a.copy(s[0],p[0]),a.copy(s[1],p[1]),a.sub(l,s[1],s[0]),a.normalize(l,l),d&&"none"!=d&&(g=u(t.node1),a.scaleAndAdd(s[0],s[0],l,g*e)),f&&"none"!=f&&(g=u(t.node2),a.scaleAndAdd(s[1],s[1],l,-g*e)),a.copy(c[0],s[0]),a.copy(c[1],s[1])})}},Gp87:function(t,e,i){var n=i("Pgdp").extend({type:"timeline"});t.exports=n},Gw4f:function(t,e,i){var n=i("/gxq"),a=i("wRzc"),r=function(t,e,i,n,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=o||!1,a.call(this,r)};r.prototype={constructor:r},n.inherits(r,a);var o=r;t.exports=o},GxVO:function(t,e,i){var n=i("9qnA"),a=i("/gxq"),r=i("moDv"),o=i("2M5Q"),s=i("dZ2L").prototype.getCanvasPattern,l=Math.abs,u=new r(!0);function c(t){n.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var i,n=this.style,a=this.path||u,r=n.hasStroke(),o=n.hasFill(),l=n.fill,c=n.stroke,h=o&&!!l.colorStops,d=r&&!!c.colorStops,f=o&&!!l.image,p=r&&!!c.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,l,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,c,i)));h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(c,t));var g=n.lineDash,m=n.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();a.setScale(y[0],y[1]),this.__dirtyPath||g&&!v&&r?(a.beginPath(t),g&&!v&&(a.setLineDash(g),a.setLineDashOffset(m)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o&&a.fill(t),g&&v&&(t.setLineDash(g),t.lineDashOffset=m),r&&a.stroke(t),g&&v&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new r},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new r),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){a.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,t,e)))return!0}if(a.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!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):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(a.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}t.init&&t.init.call(this,e)};for(var i in a.inherits(e,c),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},a.inherits(c,n);var h=c;t.exports=h},H4Od:function(t,e,i){var n=i("/gxq"),a=i("C7PF"),r=i("dOVI"),o=i("8b51"),s=i("/ZBO"),l=a.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(t,e,i,n){var a=i.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[t](n):null}n.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new o(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new o(t,e,i,n)},transformTo:function(t,e,i,n){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(t,e,i,n)),r.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=a.applyTransform([],n,t),i=a.applyTransform([],i,t),e.origin=n,e.position=[i[0]-n[0],i[1]-n[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?l(i,t,n):a.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:n.curry(h,"dataToPoint"),convertFromPixel:n.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},n.mixin(c,s);var d=c;t.exports=d},H4Wn:function(t,e,i){i("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,i){var n=i("/gxq"),a=i("DRaW"),r=i("wWR3").linearMap,o=n.each,s=n.isObject,l=-1,u=function(t){var e=t.mappingMethod,i=t.type,a=this.option=n.clone(t);this.type=i,this.mappingMethod=e,this._normalizeData=_[e];var r=c[i];this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._doMap=r._doMap[e],"piecewise"===e?(h(a),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,n.each(e,function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)})}(a)):"category"===e?a.categories?function(t){var e=t.categories,i=t.visual,a=t.categoryMap={};if(o(e,function(t,e){a[t]=e}),!n.isArray(i)){var r=[];n.isObject(i)?o(i,function(t,e){var i=a[e];r[null!=i?i:l]=t}):r[l]=i,i=x(t,r)}for(var s=e.length-1;s>=0;s--)null==i[s]&&(delete a[e[s]],e.pop())}(a):h(a,!0):(n.assert("linear"!==e||a.dataExtent),h(a))};u.prototype={constructor:u,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return n.bind(this._normalizeData,this)}};var c=u.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),g.call(this,t)}:function(e,i,n){var r=!!n;return!i&&(e=this._normalizeData(e)),n=a.fastLerp(e,t.parsedVisual,n),r?n:a.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")),i},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,i){var a=this.mapValueToVisual(t);if(n.isString(a))i("symbol",a);else if(s(a))for(var r in a)a.hasOwnProperty(r)&&i(r,a[r])},_doMap:{linear:f,category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=f.call(this,t)),i},fixed:m}},symbolSize:{applyVisual:p("symbolSize"),_doMap:v([0,1])}};function h(t,e){var i=t.visual,a=[];n.isObject(i)?o(i,function(t){a.push(t)}):null!=i&&a.push(i);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,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:v([0,1])}}function f(t){var e=this.option.visual;return e[Math.round(r(t,[0,1],[0,e.length-1],!0))]||{}}function p(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==l?t%e.length:t]}function m(){return this.option.visual[0]}function v(t){return{linear:function(e){return r(e,t,this.option.visual,!0)},category:g,piecewise:function(e,i){var n=y.call(this,i);return null==n&&(n=r(e,t,this.option.visual,!0)),n},fixed:m}}function y(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=i[u.findPieceIndex(t,i)];if(n&&n.visual)return n.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return a.parse(t)})),e}var _={linear:function(t){return r(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=u.findPieceIndex(t,e,!0);if(null!=i)return r(i,[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:n.noop};function b(t,e,i){return t?e<=i:e/g,">").replace(/"/g,""").replace(/'/g,"'")}var l=["a","b","c","d","e","f","g"],u=function(t,e){return"{"+t+(null==e?"":e)+"}"};function c(t,e){return"0000".substr(0,e-(t+="").length)+t}var h=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=o,e.encodeHTML=s,e.formatTpl=function(t,e,i){n.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o':'':""},e.formatTime=function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=r.parseDate(e),a=i?"UTC":"",o=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),u=n["get"+a+"Hours"](),h=n["get"+a+"Minutes"](),d=n["get"+a+"Seconds"](),f=n["get"+a+"Milliseconds"]();return t=t.replace("MM",c(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",c(l,2)).replace("d",l).replace("hh",c(u,2)).replace("h",u).replace("mm",c(h,2)).replace("m",h).replace("ss",c(d,2)).replace("s",d).replace("SSS",c(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=h,e.getTextRect=d},HKuw:function(t,e){var i=32,n=7;function a(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){for(;a=0;)a++;return a-e}function r(t,e,i,n,a){for(n===e&&n++;n>>1])<0?l=r:s=r+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function o(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])>0){for(s=n-a;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o>>1);r(t,e[i+c])>0?o=c+1:l=c}return l}function s(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])<0){for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=n-a;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o>>1);r(t,e[i+c])<0?l=c:o=c+1}return l}function l(t,e){var i,a,r,l=n,u=0;i=t.length;var c=[];function h(i){var h=a[i],d=r[i],f=a[i+1],p=r[i+1];r[i]=d+p,i===u-3&&(a[i+1]=a[i+2],r[i+1]=r[i+2]),u--;var g=s(t[f],t,h,d,0,e);h+=g,0!==(d-=g)&&0!==(p=o(t[h+d-1],t,f,p,p-1,e))&&(d<=p?function(i,a,r,u){var h=0;for(h=0;h=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if((l=y)<1&&(l=1),1===a){for(h=0;h=0;h--)t[m+h]=t[g+h];return void(t[p]=c[f])}var v=l;for(;;){var y=0,x=0,_=!1;do{if(e(c[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0==--a){_=!0;break}}else if(t[p--]=c[f--],x++,y=0,1==--u){_=!0;break}}while((y|x)=0;h--)t[m+h]=t[g+h];if(0===a){_=!0;break}}if(t[p--]=c[f--],1==--u){_=!0;break}if(0!==(x=u-o(t[d],c,0,u,u-1,e))){for(u-=x,m=(p-=x)+1,g=(f-=x)+1,h=0;h=n||x>=n);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,h=a-1;h>=0;h--)t[m+h]=t[g+h];t[p]=c[f]}else{if(0===u)throw new Error;for(g=p-(u-1),h=0;h1;){var t=u-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;h(t)}},this.forceMergeRuns=function(){for(;u>1;){var t=u-2;t>0&&r[t-1]=i;)e|=1&t,t>>=1;return t+e}(s);do{if((u=a(t,n,o,e))h&&(d=h),r(t,n,n+d,n+u,e),u=d}c.pushRun(n,u),c.mergeRuns(),s-=u,n+=u}while(0!==s);c.forceMergeRuns()}}}},HcG6:function(t,e,i){var n=i("/gxq"),a=i("8b51"),r=i("Axyt"),o=i("H4Od"),s=[i("Qv0P"),i("cU6c"),i("WxG6"),i("k7nC")];function l(t,e,i,a,r){o.call(this,t),this.map=e,this._nameCoordMap=n.createHashMap(),this.loadGeoJson(i,a,r)}function u(t,e,i,n){var a=i.geoModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](n):null}l.prototype={constructor:l,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}l.__drawIndex=v,l.__drawIndex0&&t>n[0]){for(s=0;st);s++);o=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else r("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,a=this._zlevelList;for(n=0;n0?.01:0),this._needsManuallyCompositing),s.__builtin__||r("ZLevel "+l+" has been used by unkown layer "+s.id),s!==n&&(s.__used=!0,s.__startIndex!==i&&(s.__dirty=!0),s.__startIndex=i,s.incremental?s.__drawIndex=-1:s.__drawIndex=i,e(i),n=s),o.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=i))}e(i),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?a.merge(i[t],e,!0):i[t]=e;for(var n=0;n0&&t.unfinished);t.unfinished||this._zr.flush()}}},W.getDom=function(){return this._dom},W.getZr=function(){return this._zr},W.setOption=function(t,e,i){var n;if(P(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[z]=!0,!this._model||e){var a=new d(this._api),r=this._theme,o=this._model=new u(null,null,r,a);o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,lt),i?(this[V]={silent:n},this[z]=!1):(Y(this),Z.update.call(this),this._zr.flush(),this[V]=!1,this[z]=!1,K.call(this,n),J.call(this,n))},W.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},W.getModel=function(){return this._model},W.getOption=function(){return this._model&&this._model.getOption()},W.getWidth=function(){return this._zr.getWidth()},W.getHeight=function(){return this._zr.getHeight()},W.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},W.getRenderedCanvas=function(t){if(o.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},W.getSvgDataUrl=function(){if(o.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},W.getDataURL=function(t){var e=(t=t||{}).excludeComponents,i=this._model,n=[],a=this;D(e,function(t){i.eachComponent({mainType:t},function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var r="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return D(n,function(t){t.group.ignore=!1}),r},W.getConnectedDataURL=function(t){if(o.canvasSupported){var e=this.group,i=Math.min,r=Math.max;if(pt[e]){var s=1/0,l=1/0,u=-1/0,c=-1/0,h=[],d=t&&t.pixelRatio||1;a.each(ft,function(n,o){if(n.group===e){var d=n.getRenderedCanvas(a.clone(t)),f=n.getDom().getBoundingClientRect();s=i(f.left,s),l=i(f.top,l),u=r(f.right,u),c=r(f.bottom,c),h.push({dom:d,left:f.left,top:f.top})}});var f=(u*=d)-(s*=d),p=(c*=d)-(l*=d),g=a.createCanvas();g.width=f,g.height=p;var m=n.init(g);return D(h,function(t){var e=new x.Image({style:{x:t.left*d-s,y:t.top*d-l,image:t.dom}});m.add(e)}),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},W.convertToPixel=a.curry(q,"convertToPixel"),W.convertFromPixel=a.curry(q,"convertFromPixel"),W.containPixel=function(t,e){var i,n=this._model;return t=_.parseFinder(n,t),a.each(t,function(t,n){n.indexOf("Models")>=0&&a.each(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(e);else if("seriesModels"===n){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}},this)},this),!!i},W.getVisual=function(t,e){var i=this._model,n=(t=_.parseFinder(i,t,{defaultMainType:"series"})).seriesModel.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=a?n.getItemVisual(a,e):n.getVisual(e)},W.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},W.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var Z={prepareAndUpdate:function(t){Y(this),Z.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,s=this._scheduler;if(e){e.restoreData(t),s.performSeriesTasks(e),a.create(e,i),s.performDataProcessorTasks(e,t),j(this,e),a.update(e,i),$(e),s.performVisualTasks(e,t),tt(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(o.canvasSupported)n.setBackgroundColor(l);else{var u=r.parse(l);l=r.stringify(u,"rgb"),0===u[3]&&(l="transparent")}it(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var r=[];e.eachComponent(function(a,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&r.push(s)}else r.push(s)});var o=a.createHashMap();e.eachSeries(function(a){var r=i._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,n,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)}),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),et(i,e,n,t,o),it(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),tt(this,this._model,this._api,t),it(e,this._api))},updateVisual:function(t){Z.update.call(this,t)},updateLayout:function(t){Z.update.call(this,t)}};function Y(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),Q(t,"component",e,i),Q(t,"chart",e,i),i.plan()}function U(t,e,i,n,a){var r=t._model;if(n){var o={};o[n+"Id"]=i[n+"Id"],o[n+"Index"]=i[n+"Index"],o[n+"Name"]=i[n+"Name"];var s={mainType:n,query:o};a&&(s.subType=a),r&&r.eachComponent(s,function(e,i){l(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else D(t._componentsViews.concat(t._chartsViews),l);function l(n){n&&n.__alive&&n[e]&&n[e](n.__model,r,t._api,i)}}function j(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})}function X(t,e){var i=t.type,n=t.escapeConnect,r=rt[i],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&k(s[0]),this[z]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=a.map(t.batch,function(e){return(e=a.defaults(a.extend({},e),t)).batch=null,e}));var h,d=[],f="highlight"===i||"downplay"===i;D(u,function(t){(h=(h=r.action(t,this._model,this._api))||a.extend({},t)).type=o.event||h.type,d.push(h),f?U(this,l,t,"series"):s&&U(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[V]?(Y(this),Z.update.call(this,t),this[V]=!1):Z[l].call(this,t)),h=c?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[z]=!1,!e&&this._messageCenter.trigger(h.type,h)}function K(t){for(var e=this._pendingActions;e.length;){var i=e.shift();X.call(this,i,t)}}function J(t){!t&&this.trigger("updated")}function Q(t,e,i,n){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!o.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}(t._zr,e),S(t._zr.dom,e)}function it(t,e){D(ut,function(i){i(t,e)})}W.resize=function(t){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[z]=!0,i&&Y(this),Z.update.call(this),this[z]=!1,K.call(this,n),J.call(this,n)}},W.showLoading=function(t,e){if(P(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),dt[t]){var i=dt[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},W.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},W.makeActionFromEvent=function(t){var e=a.extend({},t);return e.type=ot[t.type],e},W.dispatchAction=function(t,e){P(e)||(e={silent:!!e}),rt[t.type]&&this._model&&(this[z]?this._pendingActions.push(t):(X.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&o.browser.weChat&&this._throttledZrFlush(),K.call(this,e.silent),J.call(this,e.silent)))},W.appendData=function(t){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0},W.on=H("on"),W.off=H("off"),W.one=H("one");var nt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function at(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}W._initEvents=function(){D(nt,function(t){this._zr.on(t,function(e){var i,n=this.getModel(),r=e.target;if("globalout"===t)i={};else if(r&&null!=r.dataIndex){var o=r.dataModel||n.getSeriesByIndex(r.seriesIndex);i=o&&o.getDataParams(r.dataIndex,r.dataType)||{}}else r&&r.eventData&&(i=a.extend({},r.eventData));i&&(i.event=e,i.type=t,this.trigger(t,i))},this)},this),D(ot,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},W.isDisposed=function(){return this._disposed},W.clear=function(){this.setOption({series:[]},!0)},W.dispose=function(){if(!this._disposed){this._disposed=!0,_.setAttribute(this.getDom(),vt,"");var t=this._api,e=this._model;D(this._componentsViews,function(i){i.dispose(e,t)}),D(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete ft[this.id]}},a.mixin(F,l);var rt={},ot={},st=[],lt=[],ut=[],ct=[],ht={},dt={},ft={},pt={},gt=new Date-0,mt=new Date-0,vt="_echarts_instance_",yt={};function xt(t){pt[t]=!1}var _t=xt;function bt(t){return ft[_.getAttribute(t,vt)]}function wt(t,e){ht[t]=e}function St(t){lt.push(t)}function Mt(t,e){Ct(st,t,e,O)}function It(t,e,i){"function"==typeof e&&(i=e,e="");var n=P(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,T(B.test(n)&&B.test(e)),rt[n]||(rt[n]={action:i,actionInfo:t}),ot[e]=n}function At(t,e){Ct(ct,t,e,N,"visual")}function Ct(t,e,i,n,a){(L(e)||P(e))&&(i=e,e=n);var r=I.wrapStageHandler(i,a);return r.__prio=e,r.__raw=i,t.push(r),r}function Tt(t,e){dt[t]=e}At(2e3,w),St(f),Mt(5e3,p),Tt("default",M),It({type:"highlight",event:"highlight",update:"highlight"},a.noop),It({type:"downplay",event:"downplay",update:"downplay"},a.noop),wt("light",A),wt("dark",C);e.version="4.0.4",e.dependencies={zrender:"4.0.3"},e.PRIORITY=E,e.init=function(t,e,i){var n=bt(t);if(n)return n;var a=new F(t,e,i);return a.id="ec_"+gt++,ft[a.id]=a,_.setAttribute(t,vt,a.id),function(t){var e="__connectUpdateStatus";function i(t,i){for(var n=0;n=0;m--){var v=g[m],y=v.node,x=v.width,_=v.text;p>f.width&&(p-=x-h,x=h,_=null);var b=new n.Polygon({shape:{points:u(l,0,x,d,m===g.length-1,0===m)},style:r.defaults(i.getItemStyle(),{lineJoin:"bevel",text:_,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,y)});this.group.add(b),c(b,t,y),l+=x+8}},remove:function(){this.group.removeAll()}};var h=l;t.exports=h},JFJR:function(t,e,i){var n=i("/gxq"),a=i("2HcM");function r(t,e,i){a.call(this,t,e,i),this.type="value",this.angle=0,this.name="",this.model}n.inherits(r,a);var o=r;t.exports=o},JIsR:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var i=0;i1&&a&&a.length>1){var s=r(a)/r(o);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((n=a)[0][0]+n[1][0])/2,(n[0][1]+n[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,i){var n=i("Icdr"),a=i("9Owa"),r=i("FIAY"),o=i("dCQY"),s=r.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,i){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},o.register("restore",l),n.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var u=l;t.exports=u},JNWs:function(t,e,i){var n=i("/gZK"),a=i("EJsE"),r=i("/gxq"),o=a.extend({type:"series.gauge",getInitialData:function(t,e){var i=t.data||[];return r.isArray(i)||(i=[i]),t.data=i,n(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});t.exports=o},JRc4:function(t,e,i){var n=i("Icdr"),a=i("GQGX");i("od06"),i("iEm+"),i("ZuqD"),i("oYIf"),n.registerPreprocessor(a)},Jd65:function(t,e,i){var n=i("PiQa"),a=i("/gxq"),r=i("uA0k"),o=i("C7PF");function s(t,e,i){r.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(t,e,i){return new n(t,e,i)},l.updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,a=1;a=0&&!(n[s]<=e);s--);s=Math.min(s,a-2)}else{for(var s=r;se);s++);s=Math.min(s-1,a-2)}o.lerp(t.position,i[s],i[s+1],(e-n[s])/(n[s+1]-n[s]));var l=i[s+1][0]-i[s][0],u=i[s+1][1]-i[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,r);var u=s;t.exports=u},JzYe:function(t,e,i){var n=i("WK/r"),a=i("3yJd"),r=i("1Xuh").getLayoutRect,o=i("/gxq").each;function s(t,e,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,i),this.model=t}s.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:s,_init:function(t,e,i){var r=this.dimension,o=new n(r,a.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===o.type;o.onBand=s&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},update:function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();o(e.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(e,t)},this),a.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=r({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],a=e.reverse?1:0;e.setExtent(n[a],n[1-a]),this._updateAxisTransform(e,i?t.x:t.y)},_updateAxisTransform:function(t,e){var i=t.getExtent(),n=i[0]+i[1],a=t.isHorizontal();t.toGlobalCoord=a?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=a?function(t){return t-e}:function(t){return n-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(),i=this.getAxis();return"horizontal"===i.orient?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.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(),i=this.getRect(),n=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[a]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var l=s;t.exports=l},K0T9:function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:i*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-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},n=i;t.exports=n},KAfT:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("s1Aj");n.registerAction("dataZoom",function(t,e){var i=r.createLinkedNodesFinder(a.bind(e.eachComponent,e,"dataZoom"),r.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),n=[];e.eachComponent({mainType:"dataZoom",query:t},function(t,e){n.push.apply(n,i(t).nodes)}),a.each(n,function(e,i){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})},KGuM:function(t,e,i){var n=i("H4Od"),a=i("1Xuh").getLayoutRect,r=i("wUOi");t.exports=function(t,e){var i=[];return t.eachSeriesByType("graph",function(t){var o=t.get("coordinateSystem");if(!o||"view"===o){var s=t.getData(),l=s.mapArray(function(t){var e=s.getItemModel(t);return[+e.get("x"),+e.get("y")]}),u=[],c=[];r.fromPoints(l,u,c),c[0]-u[0]==0&&(c[0]+=1,u[0]-=1),c[1]-u[1]==0&&(c[1]+=1,u[1]-=1);var h=(c[0]-u[0])/(c[1]-u[1]),d=function(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,a(n,{width:e.getWidth(),height:e.getHeight()})}(t,e,h);isNaN(h)&&(u=[d.x,d.y],c=[d.x+d.width,d.y+d.height]);var f=c[0]-u[0],p=c[1]-u[1],g=d.width,m=d.height,v=t.coordinateSystem=new n;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")),i.push(v)}}),i}},KjPy:function(t,e,i){var n=i("/gxq"),a=i("Y5nL");i("DHpS");var r=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){n.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=[],i=n.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);n.each(i,function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)})}});t.exports=r},KsMi:function(t,e,i){var n=i("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 i=e.x1,n=e.y1,a=e.x2,r=e.y2,o=e.percent;0!==o&&(t.moveTo(i,n),o<1&&(a=i*(1-o)+a*o,r=n*(1-o)+r*o),t.lineTo(a,r))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=n},LBXi:function(t,e,i){var n=i("/gxq"),a=i("5Mek"),r=i("YpIy"),o=i("NKek").onIrrelevantElement,s=i("0sHC");function l(t,e){var i=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(i.fill=n),i}function u(t,e){e.eachChild(function(e){n.each(e.__regions,function(i){e.trigger(t.isSelected(i.name)?"emphasis":"normal")})})}function c(t,e){var i=new s.Group;this._controller=new a(t.getZr()),this._controllerHost={target:e?i:null},this.group=i,this._updateGroup=e,this._mouseDownFlag}c.prototype={constructor:c,draw:function(t,e,i,a,r){var o="geo"===t.mainType,c=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(e){c||e.getHostGeoModel()!==t||(c=e.getData())});var h=t.coordinateSystem,d=this.group,f=h.scale,p={position:h.position,scale:f};!d.childAt(0)||r?d.attr(p):s.updateProps(d,p,t),d.removeAll();var g=["itemStyle"],m=["emphasis","itemStyle"],v=["label"],y=["emphasis","label"],x=n.createHashMap();n.each(h.regions,function(e){var i=x.get(e.name)||x.set(e.name,new s.Group),a=new s.CompoundPath({shape:{paths:[]}});i.add(a);var r,u=(P=t.getRegionModel(e.name)||t).getModel(g),h=P.getModel(m),p=l(u),_=l(h),b=P.getModel(v),w=P.getModel(y);if(c){r=c.indexOfName(e.name);var S=c.getItemVisual(r,"color",!0);S&&(p.fill=S)}n.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=c&&isNaN(c.get(c.mapDimension("value"),r)),C=c&&c.getItemLayout(r);if(o||A&&(M||I)||C&&C.showLabel){var T,D=o?e.name:r;(!c||r>=0)&&(T=t);var L=new s.Text({position:e.center.slice(),scale:[1/f[0],1/f[1]],z2:10,silent:!0});s.setLabelStyle(L.style,L.hoverStyle={},b,w,{labelFetcher:T,labelDataIndex:D,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(L)}if(c)c.setItemGraphicEl(r,i);else{var P=t.getRegionModel(e.name);a.eventData={componentType:"geo",geoIndex:t.componentIndex,name:e.name,region:P&&P.option||{}}}(i.__regions||(i.__regions=[])).push(e),s.setHoverStyle(i,_,{hoverSilentOnTouch:!!t.get("selectedMode")}),d.add(i)}),this._updateController(t,e,i),function(t,e,i,a,r){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",function(){t._mouseDownFlag=!0}),i.on("click",function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=o.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:n.map(s.__regions,function(t){return{name:t.name,from:r.uid}})};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),u(e,i)}}}))}(this,t,d,i,a),u(t,d)},remove:function(){this.group.removeAll(),this._controller.dispose(),this._controllerHost={}},_updateController:function(t,e,i){var a=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",function(t,e){this._mouseDownFlag=!1,r.updateViewOnPan(l,t,e),i.dispatchAction(n.extend(c(),{dx:t,dy:e}))},this),s.off("zoom").on("zoom",function(t,e,a){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t,e,a),i.dispatchAction(n.extend(c(),{zoom:t,originX:e,originY:a})),this._updateGroup){var o=this.group,s=o.scale;o.traverse(function(t){"text"===t.type&&t.attr("scale",[1/s[0],1/s[1]])})}},this),s.setPointerChecker(function(e,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!o(e,i,t)})}};var h=c;t.exports=h},LGKB:function(t,e,i){var n=i("EJsE"),a=i("+jMe"),r=i("HHfb").encodeHTML,o=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n={};n.leaves=i;var r=a.createTree(e,this,n),o=0;r.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var s=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s}),r.data},formatTooltip:function(t){for(var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),a=n.getValue(),o=n.name;n&&n!==i;)o=n.parentNode.name+"."+o,n=n.parentNode;return r(o+(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:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=o},LICT:function(t,e,i){var n=i("AAi1");e.containStroke=function(t,e,i,a,r,o,s,l,u,c,h){if(0===u)return!1;var d=u;return!(h>e+d&&h>a+d&&h>o+d&&h>l+d||ht+d&&c>i+d&&c>r+d&&c>s+d||c0){var I=r(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return h.putImageData(y,0,0),c},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=n.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var a=t.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,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,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)e[i](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var r=a;t.exports=r},LjPz:function(t,e,i){i("qSkD"),i("MRvz"),i("BqCv")},LzVd:function(t,e,i){var n=i("XFat"),a=n.eachAfter,r=n.eachBefore,o=i("ERCD"),s=o.init,l=o.firstWalk,u=o.secondWalk,c=o.separation,h=o.radialCoordinate,d=o.getViewRect;t.exports=function(t,e){var i=d(t,e);t.layoutInfo=i;var n=t.get("layout"),o=0,f=0,p=null;"radial"===n?(o=2*Math.PI,f=Math.min(i.height,i.width)/2,p=c(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=i.width,f=i.height,p=c());var g=t.getData().tree.root,m=g.children[0];s(g),a(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,r(m,u);var v=m,y=m,x=m;r(m,function(t){var e=t.getLayout().x;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"===n?(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=h(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=o/(x.depth-1||1),r(m,function(t){I=(t.getLayout().x+b)*S,M=(t.depth-1)*w,t.setLayout({x:M,y:I},!0)})):(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(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,i){var n=i("HGSA"),a=i("DRaW"),r=i("/gxq"),o=r.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(t,e,i,o){var l=t.getData().tree,c=l.root,d=t.getModel(s);c.isRemoved()||function t(e,i,o,l,c,d){var f=e.getModel();var p=e.getLayout();if(!p||p.invisible||!p.isInView)return;var g=e.getModel(s);var m=o[e.depth];var v=function(t,e,i,n){var a=r.extend({},e);return r.each(["color","colorAlpha","colorSaturation"],function(r){var o=t.get(r,!0);null==o&&i&&(o=i[r]),null==o&&(o=e[r]),null==o&&(o=n.get(r)),null!=o&&(a[r]=o)}),a}(g,i,m,l);var y=g.get("borderColor");var x=g.get("borderColorSaturation");var _;null!=x&&(_=u(v),y=function(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}(x,_));e.setVisual("borderColor",y);var b=e.viewChildren;if(b&&b.length){var w=function(t,e,i,a,r,o){if(!o||!o.length)return;var s=h(e,"color")||null!=r.color&&"none"!==r.color&&(h(e,"colorAlpha")||h(e,"colorSaturation"));if(!s)return;var l=e.get("visualMin"),u=e.get("visualMax"),c=i.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 n(f);return p.__drColorMappingBy=d,p}(0,f,p,0,v,b);r.each(b,function(e,i){if(e.depth>=c.length||e===c[e.depth]){var n=function(t,e,i,n,a,o){var s=r.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,c="index"===u?n:"id"===u?o.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}(f,v,e,i,w,d);t(e,n,o,l,c,d)}})}else _=u(v),e.setVisual("color",_)}(c,{},r.map(l.levelModels,function(t){return t?t.get(s):null}),d,t.getViewRoot().getAncestors(),t)}};function u(t){var e=c(t,"color");if(e){var i=c(t,"colorAlpha"),n=c(t,"colorSaturation");return n&&(e=a.modifyHSL(e,null,null,n)),i&&(e=a.modifyAlpha(e,i)),e}}function c(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function h(t,e){var i=t.get(e);return o(i)&&i.length?{name:e,range:i}:null}t.exports=l},MAom:function(t,e,i){var n=i("9qnA"),a=i("8b51"),r=i("/gxq"),o=i("+Y0c");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,u=i.height,c=a.width/a.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(a,h,d,i.sWidth,i.sHeight,r,s,l,u)}else if(i.sx&&i.sy){var f=l-(h=i.sx),p=u-(d=i.sy);t.drawImage(a,h,d,f,p,r,s,l,u)}else t.drawImage(a,r,s,l,u);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,n);var l=s;t.exports=l},MOpb:function(t,e,i){i("4Nz2").__DEV__;var n=i("Icdr"),a=i("/gxq"),r=i("0sHC"),o=i("RjA7").getDefaultLabel,s=i("ao1T"),l=i("m/6y").getLayoutOnAxis,u=i("1Hui"),c=["itemStyle"],h=["emphasis","itemStyle"],d=["label"],f=["emphasis","label"],p="e\0\0",g={cartesian2d:i("n/n4"),geo:i("OpfW"),singleAxis:i("8YpK"),polar:i("ilox"),calendar:i("RAps")};function m(t,e,i,n,a){null==i[t]||a||(e[t]=i[t],i[t]=n[t])}function v(t,e,i,n){var s=t.get("renderItem"),u=t.coordinateSystem,p={};u&&(p=u.prepareCustoms?u.prepareCustoms():g[u.type](u));var m,v,y,x,_,b=a.defaults({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(t,i){return null==i&&(i=m),e.get(e.getDimension(t||0),i)},style:function(i,n){null==n&&(n=m),M(n);var s=v.getModel(c).getItemStyle();null!=_&&(s.fill=_);var l=e.getItemVisual(n,"opacity");return null!=l&&(s.opacity=l),r.setTextStyle(s,y,null,{autoColor:_,isRectText:!0}),s.text=y.getShallow("show")?a.retrieve2(t.getFormattedLabel(n,"normal"),o(e,n)):null,i&&a.extend(s,i),s},styleEmphasis:function(i,n){null==n&&(n=m),M(n);var s=v.getModel(h).getItemStyle();return r.setTextStyle(s,x,null,{isRectText:!0},!0),s.text=x.getShallow("show")?a.retrieve3(t.getFormattedLabel(n,"emphasis"),t.getFormattedLabel(n,"normal"),o(e,n)):null,i&&a.extend(s,i),s},visual:function(t,i){return null==i&&(i=m),e.getItemVisual(i,t)},barLayout:function(t){if(u.getBaseAxis){var e=u.getBaseAxis();return l(a.defaults({axis:e},t),n)}},currentSeriesIndices:function(){return i.getCurrentSeriesIndices()},font:function(t){return r.getFont(t,i)}},p.api||{}),w={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:p.coordSys,dataInsideLength:e.count(),encode:function(t){var e={};return a.each(t.dimensions,function(i,n){var a=t.getDimensionInfo(i);if(!a.isExtraCoord){var r=a.coordDim;(e[r]=e[r]||[])[a.coordDimIndex]=n}}),e}(t.getData())},S=!0;return function(t){return m=t,S=!0,s&&s(a.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t)},w),b)||{}};function M(t){null==t&&(t=m),S&&(v=e.getItemModel(t),y=v.getModel(d),x=v.getModel(f),_=e.getItemVisual(t,"color"),S=!1)}}function y(t,e,i,n,a,r){return(t=x(t,e,i,n,a,r))&&r.setItemGraphicEl(e,t),t}function x(t,e,i,n,o,s){var l=i.type;if(!t||l===t.__customGraphicType||"path"===l&&i.pathData===t.__customPathData||"image"===l&&i.style.image===t.__customImagePath||"text"===l&&i.style.text===t.__customText||(o.remove(t),t=null),null!=l){var c,h=!t;if(!t&&(t=function(t){var e,i=t.type;if("path"===i){var n=t.shape;(e=r.makePath(n.pathData,null,{x:n.x||0,y:n.y||0,width:n.width||0,height:n.height||0},"center")).__customPathData=t.pathData}else"image"===i?(e=new r.Image({})).__customImagePath=t.style.image:"text"===i?(e=new r.Text({})).__customText=t.style.text:e=new(0,r[i.charAt(0).toUpperCase()+i.slice(1)]);return e.__customGraphicType=i,e.name=t.name,e}(i)),function(t,e,i,n,o,s){var l={},u=i.style||{};if(i.shape&&(l.shape=a.clone(i.shape)),i.position&&(l.position=i.position.slice()),i.scale&&(l.scale=i.scale.slice()),i.origin&&(l.origin=i.origin.slice()),i.rotation&&(l.rotation=i.rotation),"image"===t.type&&i.style){var c=l.style={};a.each(["x","y","width","height"],function(e){m(e,c,u,t.style,s)})}"text"===t.type&&i.style&&(c=l.style={},a.each(["x","y"],function(e){m(e,c,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 h=u.opacity;null==h&&(h=1),r.initProps(t,{style:{opacity:h}},n,e)}s?t.attr(l):r.updateProps(t,l,n,e),t.attr({z2:i.z2||0,silent:i.silent}),!1!==i.styleEmphasis&&r.setHoverStyle(t,i.styleEmphasis)}(t,e,i,n,0,h),"group"===l){var d=t.children()||[],f=i.children||[];if(i.diffChildrenByName)new u((c={oldChildren:d,newChildren:f,dataIndex:e,animatableModel:n,group:t,data:s}).oldChildren,c.newChildren,_,_,c).add(b).update(b).remove(w).execute();else{for(var p=0;p=0!=a>=0)return!1;isNaN(o)||0===o||(a=o,n=t[r][i])}return!0}function m(t,e,i,n,a,r,o,s,l,c,p){for(var g=0,m=i,v=0;v=a||m<0)break;if(f(y)){if(p){m+=r;continue}break}if(m===i)t[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}function v(t,e,i,n,r,p,g,m,v,y,x){for(var _=0,b=i,w=0;w=r||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===i)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(v>0){var M=b+p,I=e[M];if(x)for(;I&&f(e[M]);)I=e[M+=p];var A=.5,C=e[_];if(!(I=e[M])||f(I))u(d,S);else{var T,D;if(f(I)&&!x&&(I=S),a.sub(c,I,C),"x"===y||"y"===y){var L="x"===y?0:1;T=Math.abs(S[L]-C[L]),D=Math.abs(S[L]-I[L])}else T=a.dist(S,C),D=a.dist(S,I);l(d,S,c,-v*(1-(A=D/(D+T))))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,v*A)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function y(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;an[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:e?i:n,max:e?n:i}}var x=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,a=i.length,r=y(i,e.smoothConstraint);if(e.connectNulls){for(;a>0&&f(i[a-1]);a--);for(;n0&&f(i[r-1]);r--);for(;a"),r&&(o+=c(r),null!=i&&(o+=" : ")),null!=i&&(o+=c(n)),o},getData:function(){return this._data},setData:function(t){this._data=t}});a.mixin(d,l);var f=d;t.exports=f},"Mn6+":function(t,e,i){var n=i("Icdr");i("ZtEr"),i("Fkmw"),n.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},MsVc:function(t,e,i){var n=i("/gxq"),a=i("Ylhr"),r=i("0sHC"),o=i("sK5G").viewMixin,s=a.extend({type:"boxplot",getStyleUpdater:function(){return c},dispose:n.noop});n.mixin(s,o,!0);var l=["itemStyle"],u=["emphasis","itemStyle"];function c(t,e,i){var n=e.getItemModel(i),a=n.getModel(l),o=e.getItemVisual(i,"color"),s=a.getItemStyle(["borderColor"]),c=t.childAt(t.whiskerIndex);c.style.set(s),c.style.stroke=o,c.dirty();var h=t.childAt(t.bodyIndex);h.style.set(s),h.style.stroke=o,h.dirty();var d=n.getModel(u).getItemStyle();r.setHoverStyle(t,d)}var h=s;t.exports=h},Mxrs:function(t,e,i){var n=i("HGSA"),a=i("/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 i=e[0].getLayout().value,r=e[e.length-1].getLayout().value;a.each(e,function(e){var a=new n({type:"color",mappingMethod:"linear",dataExtent:[i,r],visual:t.get("color")}).mapValueToVisual(e.getLayout().value);e.setVisual("color",a);var o=e.getModel().get("itemStyle.color");null!=o&&e.setVisual("color",o)})})}},MyoG:function(t,e,i){var n=i("vXqC"),a=n.makeInner,r=n.normalizeToArray,o=a();var s={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){var n=o(e=e||this),a=n.colorIdx||0,s=n.colorNameMap=n.colorNameMap||{};if(s.hasOwnProperty(t))return s[t];var l=r(this.get("color",!0)),u=this.get("colorLayer",!0),c=null!=i&&u?function(t,e){for(var i=t.length,n=0;ne)return t[n];return t[i-1]}(u,i):l;if((c=c||l)&&c.length){var h=c[a];return t&&(s[t]=h),n.colorIdx=(a+1)%c.length,h}}};t.exports=s},N1UU:function(t,e,i){var n=i("Icdr"),a=i("/gxq");i("5vFd"),i("OQAC"),i("m5oG");var r=i("m/6y").layout,o=i("AjK0");i("UkNE"),n.registerLayout(a.curry(r,"pictorialBar")),n.registerVisual(o("pictorialBar","roundRect"))},N1qP:function(t,e,i){var n=i("QxFU"),a=1e-8;function r(t,e){return Math.abs(t-e)=2){if(o&&"spline"!==o){var s=a(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,u=0;u<(i?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=r[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=n(r,i)),t.moveTo(r[0][0],r[0][1]),u=1;for(var f=r.length;u=e[0]&&t<=e[1]}}(b,i.option.range):function(t,e,i){var n=t[1]-t[0],a=(e=o.map(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}})).length,r=0;return function(t){for(var n=r;n=0;n--){var o;if((o=e[n].interval)[0]<=t&&t<=o[1]){r=n;break}}return n>=0&&ne[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),n.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(e,i){n.push({value:e,color:t(e,i)})}for(var r=0,o=0,s=i.length,u=e.length;o0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},Ou7x:function(t,e,i){var n=i("/gxq"),a=i("BNYN"),r=i("0sHC"),o=i("QCrJ"),s=i("UAiw"),l=i("QD+P"),u=(0,i("vXqC").makeInner)(),c=n.clone,h=n.bind;function d(){}function f(t,e,i,a){(function t(e,i){if(n.isObject(e)&&n.isObject(i)){var a=!0;return n.each(i,function(i,n){a=a&&t(e[n],i)}),!!a}return e===i})(u(i).lastProp,a)||(u(i).lastProp=a,e?r.updateProps(i,a,t):(i.stopAnimation(),i.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,i){var n=e.get("z"),a=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=a&&(t.zlevel=a),t.silent=i)})}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,o,t,e,i);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=n.curry(f,e,d);this.updatePointerEl(l,c,p,e),this.updateLabelEl(l,c,p,e)}else l=this._group=new r.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),i.getZr().add(l);m(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,a="category"===n.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,a){},createPointerEl:function(t,e,i,n){var a=e.pointer;if(a){var o=u(t).pointerEl=new r[a.type](c(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var a=u(t).labelEl=new r.Rect(c(e.label));t.add(a),p(a,n)}},updatePointerEl:function(t,e,i){var n=u(t).pointerEl;n&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var a=u(t).labelEl;a&&(a.setStyle(e.label.style),i(a,{shape:e.label.shape,position:e.label.position}),p(a,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,a=this._api.getZr(),o=this._handle,u=i.getModel("handle"),c=i.get("status");if(!u.get("show")||!c||"hide"===c)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),a.add(o)),m(o,i,!1);o.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(g(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(g(n)),u(i).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(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}}},d.prototype.constructor=d,a.enableClassExtend(d);var v=d;t.exports=v},OvrE:function(t,e,i){var n=i("/gxq"),a=i("/gZK"),r=i("EJsE"),o=i("HHfb"),s=o.encodeHTML,l=o.addCommas,u=i("kQD9"),c=i("5KBG").retrieveRawAttr,h=i("srbS"),d=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(t){d.superApply(this,"init",arguments),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t){return a(this,["value"])},mergeOption:function(t){d.superApply(this,"mergeOption",arguments),this.updateSelectedMap(this._createSelectableList())},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),i=[],n=0,a=t.count();n"+s(n+" : "+i)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}}}});n.mixin(d,u);var f=d;t.exports=f},OxCu:function(t,e,i){var n=i("/gxq"),a=i("vXqC");t.exports=function(t,e){var i,r=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=a.queryDataIndex(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)r=c.dataToPoint(s.getValues(n.map(c.dimensions,function(t){return s.mapDimension(t)}),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),r=[h.x+h.width/2,h.y+h.height/2]}return{point:r,el:u}}},P05t:function(t,e,i){var n=i("/gxq");t.exports=function(){var t=[],e=[];return{key:function(e){return t.push(e),this},sortKeys:function(i){return e[t.length-1]=i,this},entries:function(i){return function i(a,r){if(r>=t.length)return a;var o=[],s=e[r++];return n.each(a,function(t,e){o.push({key:e,values:i(t,r)})}),s?o.sort(function(t,e){return s(t.key,e.key)}):o}(function e(i,a){if(a>=t.length)return i;for(var r=-1,o=i.length,s=t[a++],l={},u={};++r "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),g=p;t.exports=g}).call(e,i("DuR2"))},P7Q7:function(t,e,i){var n=i("ao1T"),a=i("EJsE").extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=a},P7ry:function(t,e,i){i("80cc"),i("dp0Z"),i("wLWv"),i("R0U9")},PBlc:function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),a=i("6axr"),r=i("wWR3").parsePercent,o=i("3yJd"),s=o.createScaleByModel,l=o.niceScaleExtent,u=i("rctg");function c(t,e){var i=this,a=i.getAngleAxis(),r=i.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===i){var e=t.getData();n.each(e.mapDimension("radius",!0),function(t){r.scale.unionExtentFromData(e,t)}),n.each(e.mapDimension("angle",!0),function(t){a.scale.unionExtentFromData(e,t)})}}),l(a.scale,a.model),l(r.scale,r.model),"category"===a.type&&!a.onBand){var o=a.getExtent(),s=360/a.scale.count();a.inverse?o[1]+=s:o[1]-=s,a.setExtent(o[0],o[1])}}function h(t,e){if(t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}i("ZRmN");var d={dimensions:a.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",function(t,n){var o=new a(n);o.update=c;var s=o.getRadiusAxis(),l=o.getAngleAxis(),u=t.findAxisModel("radiusAxis"),d=t.findAxisModel("angleAxis");h(s,u),h(l,d),function(t,e,i){var n=e.get("center"),a=i.getWidth(),o=i.getHeight();t.cx=r(n[0],a),t.cy=r(n[1],o);var s=t.getRadiusAxis(),l=Math.min(a,o)/2,u=r(e.get("radius"),l);s.inverse?s.setExtent(u,0):s.setExtent(0,u)}(o,t,e),i.push(o),t.coordinateSystem=o,o.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}};u.register("polar",d)},PD67:function(t,e,i){var n=i("GxVO"),a=i("Sm9T"),r=n.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width,o=e.height;e.r?a.buildPath(t,e):t.rect(i,n,r,o),t.closePath()}});t.exports=r},PWa9:function(t,e){var i={average:function(t){for(var e=0,i=0,n=0;ne&&(e=t[i]);return e},min:function(t){for(var e=1/0,i=0;i1&&("string"==typeof o?l=i[o]:"function"==typeof o&&(l=o),l&&t.setData(r.downSample(c.dim,1/f,l,n)))}}}}},PYc7:function(t,e,i){i("Icdr").registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=t.dataIndex,n=e.getData().tree.getNodeByDataIndex(i);n.isExpand=!n.isExpand})})},PdL8:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("0sHC"),o=i("LBXi"),s=n.extendChartView({type:"map",render:function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var a=this.group;if(a.removeAll(),!t.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id)(r=this._mapDraw)&&a.add(r.group);else if(t.needsDrawMap){var r=this._mapDraw||new o(i,!0);a.add(r.group),r.draw(t,e,i,this,n),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},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,i){var n=t.originalData,o=this.group;n.each(n.mapDimension("value"),function(e,i){if(!isNaN(e)){var s=n.getItemLayout(i);if(s&&s.point){var l=s.point,u=s.offset,c=new r.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:l[0]+9*u,cy:l[1],r:3},silent:!0,z2:u?8:10});if(!u){var h=t.mainSeries.getData(),d=n.getName(i),f=h.indexOfName(d),p=n.getItemModel(i),g=p.getModel("label"),m=p.getModel("emphasis.label"),v=h.getItemGraphicEl(f),y=a.retrieve2(t.getFormattedLabel(i,"normal"),d),x=a.retrieve2(t.getFormattedLabel(i,"emphasis"),y),_=function(){var t=r.setTextStyle({},m,{text:m.get("show")?x:null},{isRectText:!0,useInsideStyle:!1},!0);c.style.extendFrom(t),c.__mapOriginalZ2=c.z2,c.z2+=1},b=function(){r.setTextStyle(c.style,g,{text:g.get("show")?y:null,textPosition:g.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),null!=c.__mapOriginalZ2&&(c.z2=c.__mapOriginalZ2,c.__mapOriginalZ2=null)};v.on("mouseover",_).on("mouseout",b).on("emphasis",_).on("normal",b),b()}o.add(c)}}})}});t.exports=s},Pdtn:function(t,e,i){var n=i("/gxq"),a=i("YNzw"),r=i("vXqC").makeInner,o=i("BNYN"),s=o.enableClassExtend,l=o.enableClassCheck,u=i("BwZ6"),c=i("fgF4"),h=i("NZsM"),d=i("e95b"),f=n.mixin,p=r();function g(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function m(t,e,i){for(var n=0;n=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},d.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t[this._domName]&&i.contains(t[this._domName]))"function"==typeof e&&e(t);else{var n=this.add(t);n&&(t[this._domName]=n)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return a.each(this._tagNames,function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))}),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(),i=this;a.each(e,function(e){"1"!==e[i._markLabel]&&t.removeChild(e)})}},d.prototype.getSvgProxy=function(t){return t instanceof r?u:t instanceof o?c:t instanceof s?h:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var f=d;t.exports=f},"Po+l":function(t,e,i){var n=i("/gxq"),a=i("EJsE"),r=i("sK5G").seriesModelMixin,o=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:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(o,r,!0);var s=o;t.exports=s},Pobh:function(t,e,i){var n=i("RYbJ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getBarItemStyle:function(t){var e=n(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=a},Pwgp:function(t,e,i){var n=i("/gxq"),a=i("2HcM"),r=i("3yJd"),o=function(t,e,i,n){a.call(this,t,e,i),this.type=n||"value",this._autoLabelInterval,this.model=null};o.prototype={constructor:o,getLabelInterval:function(){var t,e=this.model,i=e.getModel("label");return null!=(t=i.get("interval"))&&"auto"!=t?t:((t=this._autoLabelInterval)||(t=this._autoLabelInterval=r.getAxisLabelInterval(n.map(this.scale.getTicks(),this.dataToCoord,this),r.getFormattedLabels(this,i.get("formatter")),i.getFont(),"horizontal"===e.get("orient")?0:90,i.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)}}},n.inherits(o,a);var s=o;t.exports=s},Q5xN:function(t,e,i){var n=i("VewU").createElement,a=i("/gxq"),r=a.each,o=i("eZxa"),s=i("GxVO"),l=i("MAom"),u=i("/86O"),c=i("0fQF"),h=i("hZf2"),d=i("TDz/"),f=i("SMB/"),p=i("4w1v"),g=p.path,m=p.image,v=p.text;function y(t){return parseInt(t,10)}function x(t,e){return e&&t&&e.parentNode!==t}function _(t,e,i){if(x(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function b(t,e){if(x(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function w(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function S(t){return t.__textSvgEl}function M(t){return t.__svgEl}var I=function(t,e,i,r){this.root=t,this.storage=e,this._opts=i=a.extend({},i||{});var o=n("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new h(r,o),this.clipPathManager=new d(r,o),this.shadowManager=new f(r,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=s,t.appendChild(s),s.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};I.prototype={constructor:I,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,i,n=this._svgRoot,a=this._visibleList,r=t.length,o=[];for(e=0;e=0;--n)if(i[n]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=i.style;a.width=t+"px",a.height=e+"px";var r=this._svgRoot;r.setAttribute("width",t),r.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||y(s[i])||y(o.style[i]))-(y(s[a])||0)-(y(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},r(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;I.prototype[t]=(e=t,function(){o('In SVG mode painter not support method "'+e+'"')})});var A=I;t.exports=A},QCrJ:function(t,e,i){var n=i("/gxq"),a=i("Pdtn"),r=n.each,o=n.curry;function s(t,e){return"all"===t||n.isArray(t)&&n.indexOf(t,e)>=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,i){var l=e.getComponent("tooltip"),h=e.getComponent("axisPointer"),d=h.get("link",!0)||[],f=[];r(i.getCoordinateSystems(),function(i){if(i.axisPointerEnabled){var p=c(i.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=i;var m=i.model,v=m.getModel("tooltip",l);if(r(i.getAxes(),o(b,!1,null)),i.getTooltipAxes&&l&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),_=i.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&r(_.baseAxes,o(b,!x||"cross",y)),x&&r(_.otherAxes,o(b,"cross",!1))}}function b(o,l,p){var m=p.model.getModel("axisPointer",h),y=m.get("show");if(y&&("auto"!==y||o||u(m))){null==l&&(l=m.get("triggerTooltip"));var x=(m=o?function(t,e,i,o,s,l){var u=e.getModel("axisPointer"),c={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){c[t]=n.clone(u.get(t))}),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&n.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new a(c,i,o))}(p,v,h,e,o,l):m).get("snap"),_=c(p.model),b=l||x||"category"===p.type,w=t.axesInfo[_]={key:_,axis:p,coordSys:i,axisPointerModel:m,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(m),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var i=e.model,n=e.dim,a=0;ac[1]&&c.reverse(),(null==o||o>c[1])&&(o=c[1]),o=0?h():c=setTimeout(h,-a),l=n};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=r,e.createOrUpdate=function(t,e,o,s){var l=t[e];if(l){var u=l[i]||l,c=l[a];if(l[n]!==o||c!==s){if(null==o||!s)return t[e]=u;(l=t[e]=r(u,o,"debounce"===s))[i]=u,l[a]=s,l[n]=o}return l}},e.clear=function(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}},QDiV:function(t,e,i){var n=i("/gxq"),a=i("FIAY"),r=i("5KBG").retrieveRawValue;t.exports=function(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var o=0;e.eachSeries(function(t,e){++o},this);var s,l=i.get("data.maxCount")||10,u=i.get("series.maxCount")||10,c=Math.min(o,u);if(!(o<1)){var h=function(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}();s=h?f(p("general.withTitle"),{title:h}):p("general.withoutTitle");var d=[];s+=f(p(o>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:o}),e.eachSeries(function(t,e){if(e1?"multiple":"single")+".";i=f(i=p(n?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,a.series.typeNames[y]||"自定义图")});var u=t.getData();window.data=u,u.count()>l?i+=f(p("data.partialData"),{displayCnt:l}):i+=p("data.allData");for(var h=[],g=0;gx?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}(e,i,0,f,a.get("label.margin"));o.buildLabelElOption(t,i,a,u,y)}});var h={line:function(t,e,i,n,a){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,a){var r=t.getBandWidth(),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-r/2)*s,(r/2-i)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var d=c;t.exports=d},Qv0P:function(t,e,i){for(var n=i("/gxq"),a=i("B33o"),r=[126,25],o=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;se&&r>n||ra?o:0}},R0U9:function(t,e,i){i("Icdr").registerAction("legendScroll","legendscroll",function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(i)})})},RAps:function(t,e){t.exports=function(t){var e=t.getRect(),i=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:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}},RKzr:function(t,e,i){var n=i("/gxq"),a=i("2HcM"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom"};r.prototype={constructor:r,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},n.inherits(r,a);var o=r;t.exports=o},RTd5:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("FIAY"),o=i("dCQY"),s=r.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"),i={};return a.each(t.get("type"),function(t){e[t]&&(i[t]=e[t])}),i};var c={line:function(t,e,i,n){if("bar"===t)return a.merge({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(t,e,i,n){if("line"===t)return a.merge({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:"__ec_magicType_stack__"},n.get("option.stack")||{},!0)},tiled:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:""},n.get("option.tiled")||{},!0)}},h=[["line","bar"],["stack","tiled"]];u.onclick=function(t,e,i){var n=this.model,r=n.get("seriesIndex."+i);if(c[i]){var o={series:[]};a.each(h,function(t){a.indexOf(t,i)>=0&&a.each(t,function(t){n.setIconStatus(t,"normal")})}),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(e){var r=e.subType,s=e.id,l=c[i](r,s,e,n);l&&(a.defaults(l,e.option),o.series.push(l));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim+"Axis",f=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;o[d]=o[d]||[];for(var p=0;p<=f;p++)o[d][f]=o[d][f]||{};o[d][f].boundaryGap="bar"===i}}}),e.dispatchAction({type:"changeMagicType",currentType:i,newOption:o})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),o.register("magicType",l);var d=l;t.exports=d},RYbJ:function(t,e,i){var n=i("/gxq");t.exports=function(t){for(var e=0;e=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}},Rfu2:function(t,e,i){(function(e){i("4Nz2").__DEV__;var n=i("/gxq"),a=i("Pdtn"),r=i("1Hui"),o=i("rrAD"),s=i("5KBG"),l=s.defaultDimValueGetters,u=s.DefaultDataProvider,c=i("mvCM").summarizeDimensions,h=n.isObject,d="undefined"==typeof window?e:window,f="e\0\0",p={float:void 0===d.Float64Array?Array:d.Float64Array,int:void 0===d.Int32Array?Array:d.Int32Array,ordinal:Array,number:Array,time:Array},g=void 0===d.Uint32Array?Array:d.Uint32Array,m=void 0===d.Uint16Array?Array:d.Uint16Array;function v(t){return t._rawCount>65535?g:m}var y=["hasItemOption","_nameList","_idList","_calculationInfo","_invertedIndicesMap","_rawData","_rawExtent","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"];function x(t,e){n.each(y.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods}var _=function(t,e){t=t||["x","y"];for(var i={},a=[],r={},o=0;o=0?this._indices[t]:-1}function M(t,e){var i=t._idList[e];return null==i&&(i=t._getIdFromStore(e)),null==i&&(i=f+e),i}function I(t){return n.isArray(t)||(t=[t]),t}function A(t,e){var i=t.dimensions,a=new _(n.map(i,t.getDimensionInfo,t),t.hostModel);x(a,t);for(var r=a._storage={},o=t._storage,s=n.extend({},t._rawExtent),l=0;l=0?(r[u]=C(o[u]),s[u]=T()):r[u]=o[u])}return a}function C(t){for(var e,i,n=new Array(t.length),a=0;a=e)){for(var i,a,r,o=this._chunkSize,s=this._rawData,l=this._storage,u=this.dimensions,c=this._dimensionInfos,h=this._nameList,d=this._idList,f=this._rawExtent,m=this._nameRepeatCount={},v=this._chunkCount,y=v-1,x=0;xf[P][1]&&(f[P][1]=O)}if(!s.pure){var R=h[A];C&&!R&&(null!=i?R=this._getNameFromStore(A):null!=C.name&&(h[A]=R=C.name));var N=null==C?null:C.id;null==N&&null!=R&&(m[R]=m[R]||0,N=R,m[R]>0&&(N+="__ec__"+m[R]),m[R]++),null!=N&&(d[A]=N)}}!s.persistent&&s.clean&&s.clean(),this._rawCount=this._count=e,this._extent={},r=(a=this)._invertedIndicesMap,n.each(r,function(t,e){var i=a._dimensionInfos[e],n=i.ordinalMeta;if(n){t=r[e]=new g(n.categories.length);for(var o=0;o=0&&e=0&&eo&&(o=l)}return n=[r,o],this._extent[t]=n,n},b.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},b.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},b.getCalculationInfo=function(t){return this._calculationInfo[t]},b.setCalculationInfo=function(t,e){h(t)?n.extend(this._calculationInfo,t):this._calculationInfo[t]=e},b.getSum=function(t){var e=0;if(this._storage[t])for(var i=0,n=this.count();i=this._rawCount||t<0)return-1;var e=this._indices,i=e[t];if(null!=i&&it))return r;a=r-1}}return-1},b.indicesOfNearest=function(t,e,i){var n=[];if(!this._storage[t])return n;null==i&&(i=1/0);for(var a=Number.MAX_VALUE,r=-1,o=0,s=this.count();o=0&&r<0)&&(a=u,r=l,n.length=0),n.push(o))}return n},b.getRawIndex=w,b.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=l&&M<=u&&(r[o++]=h),h++}c=!0}else if(2===n){d=this._storage[s];var y=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(f=0;f=l&&M<=u&&I>=x&&I<=_&&(r[o++]=h),h++}}c=!0}}if(!c)if(1===n)for(m=0;m=l&&M<=u&&(r[o++]=A)}else for(m=0;mt[T][1])&&(C=!1)}C&&(r[o++]=this.getRawIndex(m))}return oM[1]&&(M[1]=b)}}}return r},b.downSample=function(t,e,i,n){for(var a=A(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],u=this.count(),c=this._chunkSize,h=a._rawExtent[t],d=new(v(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gh[1]&&(h[1]=_),d[f++]=b}return a._count=f,a._indices=d,a.getRawIndex=S,a},b.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},b.diff=function(t){var e=this;return new r(t?t.getIndices():[],this.getIndices(),function(e){return M(t,e)},function(t){return M(e,t)})},b.getVisual=function(t){var e=this._visual;return e&&e[t]},b.setVisual=function(t,e){if(h(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},b.setLayout=function(t,e){if(h(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},b.getLayout=function(t){return this._layout[t]},b.getItemLayout=function(t){return this._itemLayouts[t]},b.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?n.extend(this._itemLayouts[t]||{},e):e},b.clearItemLayouts=function(){this._itemLayouts.length=0},b.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],a=n&&n[e];return null!=a||i?a:this.getVisual(e)},b.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=n,h(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r],a[r]=!0);else n[e]=i,a[e]=!0},b.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var D=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};b.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(D,e)),this._graphicEls[t]=e},b.getItemGraphicEl=function(t){return this._graphicEls[t]},b.eachItemGraphicEl=function(t,e){n.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},b.cloneShallow=function(t){if(!t){var e=n.map(this.dimensions,this.getDimensionInfo,this);t=new _(e,this.hostModel)}if(t._storage=this._storage,x(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?S:w,t._extent=n.clone(this._extent),t._approximateExtent=n.clone(this._approximateExtent),t},b.wrapMethod=function(t,e){var i=this[t];"function"==typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(n.slice(arguments)))})},b.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],b.CHANGABLE_METHODS=["filterSelf","selectRange"];var L=_;t.exports=L}).call(e,i("DuR2"))},RiVu:function(t,e){var i=2311;t.exports=function(){return i++}},RjA7:function(t,e,i){var n=i("5KBG").retrieveRawValue;e.getDefaultLabel=function(t,e){var i=t.mapDimension("defaultedLabel",!0),a=i.length;if(1===a)return n(t,e,i[0]);if(a){for(var r=[],o=0;o=0;n--)v.isIdInner(e[n])&&e.splice(n,1);t[i]=e}}),delete t[S],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,a=t.id,u=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=n)s(n)||(n=[n]),i=r(o(n,function(t){return c[t]}),function(t){return!!t});else if(null!=a){var h=s(a);i=r(c,function(t){return h&&l(a,t.id)>=0||!h&&t.id===a})}else if(null!=u){var d=s(u);i=r(c,function(t){return d&&l(u,t.name)>=0||!d&&t.name===u})}else i=c.slice();return A(i,t)},findComponents:function(t){var e,i,n,a,o,s=t.query,l=t.mainType,u=(i=l+"Index",n=l+"Id",a=l+"Name",!(e=s)||null==e[i]&&null==e[n]&&null==e[a]?null:{mainType:l,index:e[i],id:e[n],name:e[a]}),c=u?this.queryComponents(u):this._componentsMap.get(l);return o=A(c,t),t.filter?r(o,t.filter):o},eachComponent:function(t,e,i){var n=this._componentsMap;if("function"==typeof t)i=e,e=t,n.each(function(t,n){a(t,function(t,a){e.call(i,n,t,a)})});else if(c(t))a(n.get(t),e,i);else if(u(t)){var r=this.findComponents(t);a(r,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return r(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return r(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){a(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){a(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){a(this._seriesIndices,function(n){var a=this._componentsMap.get("series")[n];a.subType===t&&e.call(i,a,n)},this)},eachRawSeriesByType:function(t,e,i){return a(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){I(this,r(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;I(this,e.get("series"));var i=[];e.each(function(t,e){i.push(e)}),x.topologicalTravel(i,x.getAllClassMainTypes(),function(i,n){a(e.get(i),function(e){("series"!==i||!function(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,a=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=a&&t.name!==a}}(e,t))&&e.restoreData()})})}});function I(t,e){t._seriesIndicesMap=h(t._seriesIndices=o(e,function(t){return t.componentIndex})||[])}function A(t,e){return e.hasOwnProperty("subType")?r(t,function(t){return t.subType===e.subType}):t}m(M,b);var C=M;t.exports=C},"S+iL":function(t,e,i){var n=i("Icdr");n.registerAction({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},"SMB/":function(t,e,i){var n=i("Pmfi");function a(t,e){n.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function r(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}i("/gxq").inherits(a,n),a.prototype.addWithoutUpdate=function(t,e){if(e&&r(e.style)){var i,n=e.style;if(n._shadowDom)i=n._shadowDom,this.getDefs(!0).contains(n._shadowDom)||this.addDom(i);else i=this.add(e);this.markUsed(e);var a=i.getAttribute("id");t.style.filter="url(#"+a+")"}},a.prototype.add=function(t){var e=this.createElement("filter"),i=t.style;return i._shadowDomId=i._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+i._shadowDomId),this.updateDom(t,e),this.addDom(e),e},a.prototype.update=function(t,e){var i=e.style;if(r(i)){var a=this;n.prototype.update.call(this,e,function(t){a.updateDom(e,t._shadowDom)})}else this.remove(t,i)},a.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(e),t.style.filter="")},a.prototype.updateDom=function(t,e){var i=e.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,a,r,o,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,a=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",a/u),i.setAttribute("flood-color",o);var c=r/2/l+" "+r/2/u;i.setAttribute("stdDeviation",c),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(r/2*200)+"%"),e.setAttribute("height",Math.ceil(r/2*200)+"%"),e.appendChild(i),s._shadowDom=e},a.prototype.markUsed=function(t){var e=t.style;e&&e._shadowDom&&n.prototype.markUsed.call(this,e._shadowDom)};var o=a;t.exports=o},SZjP:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,e,i){var n=this.markerGroupMap;n.each(function(t){t.__keep=!1});var a=this.type+"Model";e.eachSeries(function(t){var n=t[a];n&&this.renderSeries(t,n,e,i)},this),n.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=r},SlE6:function(t,e,i){var n=i("tzpD"),a=n.prepareDataCoordInfo,r=n.getStackedOnPoint;t.exports=function(t,e,i,n,o,s,l,u){for(var c=function(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}(t,e),h=[],d=[],f=[],p=[],g=[],m=[],v=[],y=a(o,e,l),x=a(s,t,u),_=0;_u&&(i*=u/(o=i+n),n*=u/o),a+r>u&&(a*=u/(o=a+r),r*=u/o),n+a>c&&(n*=c/(o=n+a),a*=c/o),i+r>c&&(i*=c/(o=i+r),r*=c/o),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+c-a),0!==a&&t.arc(s+u-a,l+c-a,a,0,Math.PI/2),t.lineTo(s+r,l+c),0!==r&&t.arc(s+r,l+c-r,r,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}},T6W2:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getGraph().data,a=i.mapArray(i.getName);n.filterSelf(function(t){var i=n.getItemModel(t).getShallow("category");if(null!=i){"number"==typeof i&&(i=a[i]);for(var r=0;r0){var n,a,o=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],o.contains(n)||o.appendChild(n)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(n=this.createElement("clipPath")).setAttribute("id",a),o.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var c=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);n.innerHTML="",n.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&a.each(t.__clipPaths,function(t){t._dom&&n.prototype.markUsed.call(e,t._dom),t._textDom&&n.prototype.markUsed.call(e,t._textDom)})};var s=o;t.exports=s},TIfe:function(t,e){function i(){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 n(t,e){return{target:t,topTarget:e&&e.topTarget}}i.prototype={constructor:i,_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(n(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,a=t.offsetY,r=i-this._x,o=a-this._y;this._x=i,this._y=a,e.drift(r,o,t),this.dispatchToElement(n(e,t),"drag",t.event);var s=this.findHover(i,a,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(n(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(n(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(n(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var a=i;t.exports=a},TTCf:function(t,e,i){var n=i("Mlni").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=n},TXKS:function(t,e){function i(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),n=t.getEdgeData(),a=i(t.get("edgeSymbol")),r=i(t.get("edgeSymbolSize")),o="lineStyle.color".split("."),s="lineStyle.opacity".split(".");n.setVisual("fromSymbol",a&&a[0]),n.setVisual("toSymbol",a&&a[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("color",t.get(o)),n.setVisual("opacity",t.get(s)),n.each(function(t){var a=n.getItemModel(t),r=e.getEdgeByIndex(t),l=i(a.getShallow("symbol",!0)),u=i(a.getShallow("symbolSize",!0)),c=a.get(o),h=a.get(s);switch(c){case"source":c=r.node1.getVisual("color");break;case"target":c=r.node2.getVisual("color")}l[0]&&r.setVisual("fromSymbol",l[0]),l[1]&&r.setVisual("toSymbol",l[1]),u[0]&&r.setVisual("fromSymbolSize",u[0]),u[1]&&r.setVisual("toSymbolSize",u[1]),r.setVisual("color",c),r.setVisual("opacity",h)})})}},UAiw:function(t,e,i){var n=i("qjvV");e.Dispatcher=n;var a=i("YNzw"),r="undefined"!=typeof window&&!!window.addEventListener,o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;function s(t,e,i,n){return i=i||{},n||!a.canvasSupported?l(t,e,i):a.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):l(t,e,i),i}function l(t,e,i){var n=function(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}(t);i.zrX=e.clientX-n.left,i.zrY=e.clientY-n.top}var u=r?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=s,e.normalizeEvent=function(t,e,i){if(null!=(e=e||window.event).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var a="touchend"!=n?e.targetTouches[0]:e.changedTouches[0];a&&s(t,a,e,i)}else s(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var r=e.button;return null==e.which&&void 0!==r&&o.test(e.type)&&(e.which=1&r?1:2&r?3:4&r?2:0),e},e.addEventListener=function(t,e,i){r?t.addEventListener(e,i):t.attachEvent("on"+e,i)},e.removeEventListener=function(t,e,i){r?t.removeEventListener(e,i):t.detachEvent("on"+e,i)},e.stop=u,e.notLeftMouse=function(t){return t.which>1}},UOrf:function(t,e,i){var n=i("1Xuh"),a=i("wWR3"),r=a.parsePercent,o=a.linearMap;t.exports=function(t,e,i){t.eachSeriesByType("funnel",function(t){var i=t.getData(),a=i.mapDimension("value"),s=t.get("sort"),l=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),u=function(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,function(t){return t}),a=[],r="ascending"===e,o=0,s=t.count();o0){t.moveTo(i[a++],i[a++]);for(var o=1;o0){var h=(s+u)/2-(l-c)*n,d=(l+c)/2-(u-s)*n;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var i=this.shape,n=i.segs,a=i.curveness;if(i.polyline)for(var s=0,l=0;l0)for(var c=n[l++],h=n[l++],d=1;d0){var g=(c+f)/2-(h-p)*a,m=(h+p)/2-(f-c)*a;if(o.containStroke(c,h,g,m,f,p))return s}else if(r.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new n.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var i=new s;i.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(i,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=t.start,this.group.add(i))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=e.getVisual("color");a&&t.setStyle("stroke",a),t.setStyle("fill"),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i+t.__startIndex)}))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=l;t.exports=c},"UeW/":function(t,e,i){i("4Nz2").__DEV__;var n=i("Icdr"),a=i("/gxq"),r=i("vXqC"),o=i("0sHC"),s=i("1Xuh");n.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=n.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 i=this.option,n=(e?i:t).elements,o=i.elements=e?[]:i.elements,l=[];this._flatten(n,l);var u=r.mappingToExists(o,l);r.makeIdAndName(u);var c=this._elOptionsToUpdate=[];a.each(u,function(t,e){var i=t.option;i&&(c.push(i),function(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}(t,i),function(t,e,i){var n=a.extend({},i),r=t[e],o=i.$action||"merge";"merge"===o?r?(a.merge(r,n,!0),s.mergeLayoutParam(r,n,{ignoreSize:!0}),s.copyLayoutParams(i,r)):t[e]=n:"replace"===o?t[e]=n:"remove"===o&&r&&(t[e]=null)}(o,e,i),function(t,e){if(!t)return;t.hv=e.hv=[h(e,["left","right"]),h(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0))}(o[e],i))},this);for(var d=o.length-1;d>=0;d--)null==o[d]?o.splice(d,1):delete o[d].$action},_flatten:function(t,e,i){a.each(t,function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function u(t,e,i,n){var a=i.type,r=new(0,o[a.charAt(0).toUpperCase()+a.slice(1)])(i);e.add(r),n.set(t,r),r.__ecGraphicId=t}function c(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(function(t){c(t,e)}),e.removeKey(t.__ecGraphicId),i.remove(t))}function h(t,e){var i;return a.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}n.extendComponentView({type:"graphic",init:function(t,e){this._elMap=a.createHashMap(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t,i),this._relocate(t,i)},_updateElements:function(t,e){var i=t.useElOptionsToUpdate();if(i){var n=this._elMap,r=this.group;a.each(i,function(t){var e=t.$action,i=t.id,o=n.get(i),l=t.parentId,h=null!=l?n.get(l):r;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?(c(o,n),u(i,h,f,n)):"remove"===e&&c(o,n):o?o.attr(f):u(i,h,f,n);var p=n.get(i);p&&(p.__ecGraphicWidth=t.width,p.__ecGraphicHeight=t.height)})}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,a=this._elMap,r=i.length-1;r>=0;r--){var o=i[r],l=a.get(o.id);if(l){var u=l.parent,c=u===n?{width:e.getWidth(),height:e.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};s.positionElement(l,o,c,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){c(e,t)}),this._elMap=a.createHashMap()},dispose:function(){this._clear()}})},UkNE:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("0sHC");i("5vFd"),i("zz1u"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new r.Rect({shape:t.coordinateSystem.getRect(),style:a.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},V4nf:function(t,e,i){var n=i("/gxq"),a=i("UAiw").Dispatcher,r=i("a1Sp"),o=i("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(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i0?c.pixelStart+c.pixelLength-c.pixel:c.pixel-c.pixelStart)/c.pixelLength*(s[1]-s[0])+s[0];n=Math.max(1/n,0),s[0]=(s[0]-h)*n+h,s[1]=(s[1]-h)*n+h;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,s,[0,100],0,d.minSpan,d.maxSpan),this._range=s}}}),u={grid:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,i,n,a){var r=i.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},c=l;t.exports=c},WxG6:function(t,e,i){var n=i("/gxq"),a={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t){n.each(t.regions,function(t){var e=a[t.name];if(e){var i=t.center;i[0]=e[0],i[1]=e[1]}})}},XAC3:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("YNzw"),o=i("aYad"),s=i("HHfb"),l=i("wWR3"),u=i("0sHC"),c=i("OxCu"),h=i("1Xuh"),d=i("Pdtn"),f=i("DpwM"),p=i("3yJd"),g=i("zAPJ"),m=a.bind,v=a.each,y=l.parsePercent,x=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),_=n.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i=new o(e.getDom(),e);this._tooltipContent=i}},render:function(t,e,i){if(!r.node&&!r.wxa){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");f.register("itemTooltip",this._api,m(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!r.node){var a=w(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=x;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},a)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=c(n,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,position:n.position,target:l.el,event:{}},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target,event:{}},a))}},manuallyHideTip:function(t,e,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(w(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var a=n.seriesIndex,r=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=e.getSeriesByIndex(a);if(s)if("axis"===(t=b([s.getData().getItemModel(r),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:n.position}),!0}},_tryShow:function(t,e){var i=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],l=[],u=b([e.tooltipOption,n]);v(t,function(t){v(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,r=[];if(e&&null!=n){var u=g.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,function(a){var o=i.getSeriesByIndex(a.seriesIndex),s=a.dataIndexInside,c=o&&o.getDataParams(s);c.axisDim=t.axisDim,c.axisIndex=t.axisIndex,c.axisType=t.axisType,c.axisId=t.axisId,c.axisValue=p.getAxisRawValue(e.axis,n),c.axisValueLabel=u,c&&(l.push(c),r.push(o.formatTooltip(s,!0)))});var c=u;o.push((c?s.encodeHTML(c)+"
":"")+r.join("
"))}})},this),o.reverse(),o=o.join("

");var c=e.position;this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,c,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(u,o,l,Math.random(),r[0],r[1],c)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,a=e.seriesIndex,r=n.getSeriesByIndex(a),o=e.dataModel||r,s=e.dataIndex,l=e.dataType,u=o.getData(),c=b([u.getItemModel(s),o,r&&(r.coordinateSystem||{}).model,this._tooltipModel]),h=c.get("trigger");if(null==h||"item"===h){var d=o.getDataParams(s,l),f=o.formatTooltip(s,!1,l),p="item_"+o.name+"_"+s;this._showOrMove(c,function(){this._showTooltipContent(c,f,d,p,t.offsetX,t.offsetY,t.position,t.target)}),i({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"==typeof n){n={content:n,formatter:n}}var a=new d(n,this._tooltipModel,this._ecModel),r=a.get("content"),o=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,r,a.get("formatterParams")||{},o,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,a,r,o,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,c=t.get("formatter");o=o||t.get("position");var h=e;if(c&&"string"==typeof c)h=s.formatTpl(c,i,!0);else if("function"==typeof c){var d=m(function(e,n){e===this._ticket&&(u.setContent(n),this._updatePosition(t,o,a,r,u,i,l))},this);this._ticket=n,h=c(i,n,d)}u.setContent(h),u.show(t),this._updatePosition(t,o,a,r,u,i,l)}},_updatePosition:function(t,e,i,n,r,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=r.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([i,n],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),a.isArray(e))i=y(e[0],l),n=y(e[1],u);else if(a.isObject(e)){e.width=c[0],e.height=c[1];var g=h.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,d=null,f=null}else if("string"==typeof e&&s){var m=function(t,e,i){var n=i[0],a=i[1],r=0,o=0,s=e.width,l=e.height;switch(t){case"inside":r=e.x+s/2-n/2,o=e.y+l/2-a/2;break;case"top":r=e.x+s/2-n/2,o=e.y-a-5;break;case"bottom":r=e.x+s/2-n/2,o=e.y+l+5;break;case"left":r=e.x-n-5,o=e.y+l/2-a/2;break;case"right":r=e.x+s+5,o=e.y+l/2-a/2}return[r,o]}(e,p,c);i=m[0],n=m[1]}else{m=function(t,e,i,n,a,r,o){var s=S(i),l=s.width,u=s.height;null!=r&&(t+l+r>n?t-=l+r:t+=r);null!=o&&(e+u+o>a?e-=u+o:e+=o);return[t,e]}(i,n,r.el,l,u,d?null:20,f?null:20);i=m[0],n=m[1]}if(d&&(i-=M(d)?c[0]/2:"right"===d?c[0]:0),f&&(n-=M(f)?c[1]/2:"bottom"===f?c[1]:0),t.get("confine")){m=function(t,e,i,n,a){var r=S(i),o=r.width,s=r.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(i,n,r.el,l,u);i=m[0],n=m[1]}r.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&v(e,function(e,n){var a=e.dataByAxis||{},r=(t[n]||{}).dataByAxis||[];(i&=a.length===r.length)&&v(a,function(t,e){var n=r[e]||{},a=t.seriesDataIndices||[],o=n.seriesDataIndices||[];(i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&a.length===o.length)&&v(a,function(t,e){var n=o[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.hide(),f.unregister("itemTooltip",e))}});function b(t){for(var e=t.pop();t.length;){var i=t.pop();i&&(d.isInstance(i)&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),e=new d(i,e,e.ecModel))}return e}function w(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function S(t){var e=t.clientWidth,i=t.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(t);n&&(e+=parseInt(n.paddingLeft,10)+parseInt(n.paddingRight,10)+parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),i+=parseInt(n.paddingTop,10)+parseInt(n.paddingBottom,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:i}}function M(t){return"center"===t||"middle"===t}t.exports=_},XCrL:function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),a=i("0sHC"),r=i("vXqC"),o=i("ZJ+T"),s=n.each,l=n.indexOf,u=n.curry,c=["dataToPoint","pointToData"],h=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,i){var n=this._targetInfoList=[],a={},r=g(e,t);s(m,function(t,e){(!i||!i.include||l(i.include,e)>=0)&&t(r,n,a)})}var f=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return r.parseFinder(t,e,{includeMainTypes:h})}f.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=x[t.brushType](0,i,e);t.__rangeOffset={offset:b[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})},f.matchOutputRanges=function(t,e,i){s(t,function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&n.each(a.coordSyses,function(n){var a=x[t.brushType](1,n,t.range);i(t,a.values,n,e)})},this)},f.setInputRanges=function(t,e){s(t,function(t){var i,n,a,r,o,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,(i=l.xyMinMax,n=u.xyMinMax,a=S(i),r=S(n),o=[a[0]/r[0],a[1]/r[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):l.values}},this)},f.makePanelOpts=function(t,e){return n.map(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:o.makeRectPanelClipPath(n),isTargetByCursor:o.makeRectIsTargetByCursor(n,t,i.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(n)}})},f.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&l(n.coordSyses,e.coordinateSystem)>=0},f.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=g(e,t),a=0;a=0||l(a,t.getAxis("y").model)>=0)&&r.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:c[t.id]})}))},geo:function(t,e){s(t.geoModels,function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:y.geo})})}},v=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,a=t.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===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,i){var n=e[c[t]]([i[0][0],i[1][0]]),a=e[c[t]]([i[0][1],i[1][1]]),r=[p([n[0],a[0]]),p([n[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,i){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:n.map(i,function(i){var n=e[c[t]](i);return a[0][0]=Math.min(a[0][0],n[0]),a[1][0]=Math.min(a[1][0],n[1]),a[0][1]=Math.max(a[0][1],n[0]),a[1][1]=Math.max(a[1][1],n[1]),n}),xyMinMax:a}}};function _(t,e,i,a){var r=i.getAxis(["x","y"][t]),o=p(n.map([0,1],function(t){return e?r.coordToData(r.toLocalCoord(a[t])):r.toGlobalCoord(r.dataToCoord(a[t]))})),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var b={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return n.map(t,function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]})}};function w(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[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,i){for(var n,a=[t],r=[];n=a.pop();)if(r.push(n),n.isExpand){var o=n.children;if(o.length)for(var s=0;s=0;r--)n.push(a[r])}}},XLwt:function(t,e,i){var n=i("Icdr");!function(){for(var t in n){if(null==n||!n.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=n[t]}}();var a=i("iNHu");!function(){for(var t in a){if(null==a||!a.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=a[t]}}(),i("+Dgo"),i("4UDB"),i("GbHy"),i("Vb+l"),i("u9yV"),i("rjsW"),i("nUSl"),i("8UWf"),i("O523"),i("1FNb"),i("87tG"),i("5/bM"),i("qbKW"),i("cWq4"),i("AjST"),i("9cSo"),i("k9Bd"),i("zjhG"),i("o0k+"),i("N1UU"),i("7bL3"),i("A6Kt"),i("MOpb"),i("UeW/"),i("ILx8"),i("P7ry"),i("Oq2I"),i("AKXb"),i("LbEf"),i("80zD"),i("FlXs"),i("4V7L"),i("swsf"),i("/99E"),i("miEh"),i("wQkr"),i("tQk0"),i("2tOJ"),i("p1Ck"),i("Mn6+"),i("JRc4"),i("YsUA"),i("VmZa"),i("jLnL")},XRkS:function(t,e,i){var n=i("Icdr"),a=i("/gxq");t.exports=function(t,e){a.each(e,function(e){e.update="updateView",n.registerAction(e,function(i,n){var a={};return n.eachComponent({mainType:"series",subType:t,query:i},function(t){t[e.method]&&t[e.method](i.name,i.dataIndex);var n=t.getData();n.each(function(e){var i=n.getName(e);a[i]=t.isSelected(i)||!1})}),{name:i.name,selected:a}})})}},XhgW:function(t,e,i){var n=i("3h1/");function a(t,e,i,n,a,r,o){function s(e,i,n,a){for(var r=e;re&&r+1t[r].y+t[r].height)return void l(r,n/2);l(i-1,n/2)}function l(e,i){for(var n=e;n>=0&&(t[n].y-=i,!(n>0&&t[n].y>t[n-1].y+t[n-1].height));n--);}function u(t,e,i,n,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*r,o=d}}t.sort(function(t,e){return t.y-e.y});for(var c,h=0,d=t.length,f=[],p=[],g=0;g=i?p.push(t[g]):f.push(t[g]);u(f,!1,e,i,n,a),u(p,!0,e,i,n,a)}t.exports=function(t,e,i,r){var o,s,l=t.getData(),u=[],c=!1;l.each(function(i){var a,r,h,d,f=l.getItemLayout(i),p=l.getItemModel(i),g=p.getModel("label"),m=g.get("position")||p.get("emphasis.label.position"),v=p.getModel("labelLine"),y=v.get("length"),x=v.get("length2"),_=(f.startAngle+f.endAngle)/2,b=Math.cos(_),w=Math.sin(_);o=f.cx,s=f.cy;var S="inside"===m||"inner"===m;if("center"===m)a=f.cx,r=f.cy,d="center";else{var M=(S?(f.r+f.r0)/2*b:f.r*b)+o,I=(S?(f.r+f.r0)/2*w:f.r*w)+s;if(a=M+3*b,r=I+3*w,!S){var A=M+b*(y+e-f.r),C=I+w*(y+e-f.r),T=A+(b<0?-1:1)*x;a=T+(b<0?-5:5),r=C,h=[[M,I],[A,C],[T,C]]}d=S?"center":b>0?"left":"right"}var D=g.getFont(),L=g.get("rotate")?b<0?-_+Math.PI:-_:0,P=t.getFormattedLabel(i,"normal")||l.getName(i),k=n.getBoundingRect(P,D,d,"top");c=!!L,f.label={x:a,y:r,position:m,height:k.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",rotation:L,inside:S},S||u.push(f.label)}),!c&&t.get("avoidLabelOverlap")&&function(t,e,i,n,r,o){for(var s=[],l=[],u=0;u=0;o--)r=n.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(f,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(f),r.enableTopologicalTravel(f,function(t){var e=[];n.each(f.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=n.map(e,function(t){return l(t).main}),"dataset"!==t&&n.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}),n.mixin(f,h);var p=f;t.exports=p},YNzw:function(t,e){var i="undefined"!=typeof wx?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0}:function(t){var e={},i=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),r=/micromessenger/i.test(t);i&&(e.firefox=!0,e.version=i[1]);n&&(e.ie=!0,e.version=n[1]);a&&(e.edge=!0,e.version=a[1]);r&&(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=i},YbE0:function(t,e,i){var n=i("/gxq"),a=i("wWR3").parsePercent,r=n.each;t.exports=function(t){var e=function(t){var e=[],i=[];return t.eachSeriesByType("boxplot",function(t){var a=t.getBaseAxis(),r=n.indexOf(i,a);r<0&&(r=i.length,i[r]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)}),e}(t);r(e,function(t){var e=t.seriesModels;e.length&&(function(t){var e,i,o=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===o.type)i=o.getBandWidth();else{var d=0;r(s,function(t){d=Math.max(d,t.getData().count())}),e=o.getExtent(),Math.abs(e[1]-e[0])}r(s,function(t){var e=t.get("boxWidth");n.isArray(e)||(e=[e,e]),h.push([a(e[0],i)||0,a(e[1],i)||0])});var f=.8*i-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;r(s,function(t,e){c.push(m),m+=p+g,u.push(Math.min(Math.max(g,h[e][0]),h[e][1]))})}(t),r(e,function(e,i){!function(t,e,i){var a,r=t.coordinateSystem,o=t.getData(),s=i/2,l=t.get("layout"),u="horizontal"===l?0:1,c=1-u,h=["x","y"],d=[];n.each(o.dimensions,function(t){var e=o.getDimensionInfo(t).coordDim;e===h[c]?d.push(t):e===h[u]&&(a=t)}),null==a||d.length<5||o.each([a].concat(d),function(){var t=arguments,i=t[0],n=t[d.length+1],a=m(t[3]),h=m(t[1]),f=m(t[5]),p=[[h,m(t[2])],[f,m(t[4])]];y(h),y(f),y(a);var g=[];function m(t){var n,a=[];return a[u]=i,a[c]=t,isNaN(i)||isNaN(t)?n=[NaN,NaN]:(n=r.dataToPoint(a))[u]+=e,n}function v(t,e){var i=t.slice(),n=t.slice();i[u]+=s,n[u]-=s,e?g.push(i,n):g.push(n,i)}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),o.setItemLayout(n,{chartLayout:l,initBaseline:a[c],median:a,bodyEnds:g,whiskerEnds:p})})}(e,t.boxOffsetList[i],t.boxWidthList[i])}))})}},Yiov:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("mtWM"),a=i.n(n),r=i("XLwt"),o=i.n(r),s=(i("Bhwq"),{props:["sales_data"],created:function(){this.data=this.sales_data,this._getCityData()},data:function(){return{data:[],legendArr:[],myChart:{},geoCoordMap:{},pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,i=new Date;i.setTime(i.getTime()-6048e5),t.$emit("pick",[i,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,i=new Date;i.setTime(i.getTime()-2592e6),t.$emit("pick",[i,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,i=new Date;i.setTime(i.getTime()-7776e6),t.$emit("pick",[i,e])}}]},duration:""}},watch:{duration:function(t,e){this._getMyChart()}},methods:{initialize:function(t){this.myChart=o.a.init(document.querySelector(".sales-distribution .chart")),this.myChart.setOption(t,!0),this.legendArr=t.series,this.legendArr.forEach(function(t){t.selected=!0}),window.addEventListener("resize",function(){this.myChart.resize()}.bind(this))},_getCityData:function(){var t=this;a.a.get("/static/city.json").then(function(e){t.geoCoordMap=e.data,t.$nextTick(function(){t._getMyChart()})})},_getMyChart:function(){var t={title:{show:!0,text:"销售地区分布",textStyle:{color:"#000"},left:"center",top:15},tooltip:{},visualMap:{min:0,max:1500,color:"#000",left:"left",top:"bottom",splitNumber:5,inRange:{color:["#51D4EB","#3BBCB0","#2F9696","#2A7484","#255B78"]},textStyle:{color:"#000"}},geo:{map:"china",roam:!1,itemStyle:{normal:{borderColor:"#fff"},emphasis:{areaColor:null,shadowOffsetX:0,shadowOffsetY:0,shadowBlur:20,borderWidth:0,shadowColor:"rgba(0, 0, 0, 0.5)"}},top:30,bottom:50},series:[{type:"scatter",coordinateSystem:"geo"},{name:"销量",type:"map",geoIndex:0,data:this.data}]};this.initialize(t)}}}),l={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"sales-distribution"},[i("div",{staticClass:"block"},[i("el-date-picker",{attrs:{type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions2},model:{value:t.duration,callback:function(e){t.duration=e},expression:"duration"}})],1),t._v(" "),i("div",{staticClass:"chart"})])},staticRenderFns:[]};var u={data:function(){return{myChart:null,data:[],cities:[]}},props:["sales_data"],created:function(){for(var t=this,e=this.sales_data.sort(function(t,e){return e.value-t.value}),i=0;i<10;i++)this.cities.push(e[i].name),this.data.push(e[i].value);this.cities.reverse(),this.data.reverse(),this.$nextTick(function(){var e={title:{text:"区域销量排名",left:"center",top:15},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"value",boundaryGap:[0,.01]},yAxis:{type:"category",data:t.cities},series:[{name:"销量",type:"bar",data:t.data,barWidth:30}]};t.myChart=o.a.init(document.querySelector(".sales-distribution-ranking .line-chart")),t.myChart.setOption(e,!0),window.addEventListener("resize",function(){this.myChart.resize()}.bind(t))})},methods:{initialize:function(t){}}},c={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sales-distribution-ranking"},[e("div",{staticClass:"line-chart"})])}]};var h={data:function(){return{myChart:null}},created:function(){var t=this;this.$nextTick(function(){t.myChart=o.a.init(document.querySelector(".sale-trend .line-chart")),t.myChart.setOption({title:{text:"商品销量趋势图",left:"center",top:15,bottom:30},tooltip:{trigger:"axis"},toolbox:{show:!0,feature:{saveAsImage:{show:!0}}},xAxis:{type:"category",boundaryGap:!1,data:["周一","周二","周三","周四","周五","周六","周日"]},yAxis:{type:"value"},series:[{name:"用户",type:"line",data:[10,12,21,54,260,830,710]}]},!0),window.addEventListener("resize",function(){this.myChart.resize()}.bind(t))})},methods:{initialize:function(t){}}},d={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sale-trend"},[e("div",{staticClass:"line-chart"})])}]};var f={data:function(){return{tableData3:[],dropTitle:"经销商数据",title:"经销商名称"}},created:function(){this.$nextTick(function(){this.test()})},methods:{test:function(){var t=[];this.dropTitle="经销商数据",this.title="经销商名称";for(var e=0;e<100;e++)t.push({name:"经销商"+e,sales:this.randomValue()});this.tableData3=t.sort(function(t,e){return e.sales-t.sales})},test1:function(){var t=[];this.dropTitle="型号数据",this.title="型号名称";for(var e=0;e<100;e++)t.push({name:"A005"+e,sales:this.randomValue()});this.tableData3=t.sort(function(t,e){return e.sales-t.sales})},test2:function(){var t=[];this.dropTitle="销售员数据",this.title="销售员名称";for(var e=0;e<100;e++)t.push({name:"销售员"+e,sales:this.randomValue()});this.tableData3=t.sort(function(t,e){return e.sales-t.sales})},randomValue:function(){return Math.round(1e3*Math.random())},handleCommand:function(t){"a"==t?this.test():"b"==t?this.test1():this.test2()}}},p={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"sales-table"},[i("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleCommand}},[i("span",{staticClass:"el-dropdown-link"},[t._v("\n "+t._s(t.dropTitle)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{attrs:{command:"a"}},[t._v("经销商数据")]),t._v(" "),i("el-dropdown-item",{attrs:{command:"b"}},[t._v("型号数据")]),t._v(" "),i("el-dropdown-item",{attrs:{command:"c"}},[t._v("销售员数据")])],1)],1),t._v(" "),i("div",{staticClass:"table"},[i("el-table",{staticClass:"table-content",staticStyle:{width:"100%"},attrs:{data:t.tableData3,height:"500"}},[i("el-table-column",{attrs:{prop:"name",label:t.title,width:"300"}}),t._v(" "),i("el-table-column",{attrs:{prop:"sales",label:"销量",width:"180"}})],1)],1)],1)},staticRenderFns:[]};var g={data:function(){return{sales_data:[{name:"北京",value:this.randomValue()},{name:"天津",value:this.randomValue()},{name:"上海",value:this.randomValue()},{name:"重庆",value:this.randomValue()},{name:"河北",value:this.randomValue()},{name:"河南",value:this.randomValue()},{name:"云南",value:this.randomValue()},{name:"辽宁",value:this.randomValue()},{name:"黑龙江",value:this.randomValue()},{name:"湖南",value:this.randomValue()},{name:"安徽",value:this.randomValue()},{name:"山东",value:this.randomValue()},{name:"新疆",value:this.randomValue()},{name:"江苏",value:this.randomValue()},{name:"浙江",value:this.randomValue()},{name:"江西",value:this.randomValue()},{name:"湖北",value:this.randomValue()},{name:"广西",value:this.randomValue()},{name:"甘肃",value:this.randomValue()},{name:"山西",value:this.randomValue()},{name:"内蒙古",value:this.randomValue()},{name:"陕西",value:this.randomValue()},{name:"吉林",value:this.randomValue()},{name:"福建",value:this.randomValue()},{name:"贵州",value:this.randomValue()},{name:"广东",value:this.randomValue()},{name:"青海",value:this.randomValue()},{name:"西藏",value:this.randomValue()},{name:"四川",value:this.randomValue()},{name:"宁夏",value:this.randomValue()},{name:"海南",value:this.randomValue()},{name:"台湾",value:this.randomValue()},{name:"香港",value:this.randomValue()},{name:"澳门",value:this.randomValue()}]}},methods:{randomValue:function(){return Math.round(1500*Math.random())}},components:{distribution:i("VU/8")(s,l,!1,function(t){i("WMKt")},"data-v-4d964114",null).exports,"distribution-ranking":i("VU/8")(u,c,!1,function(t){i("0QFe")},"data-v-e511bc9c",null).exports,"sales-trend":i("VU/8")(h,d,!1,function(t){i("DAEP")},"data-v-f77afe92",null).exports,"sales-table":i("VU/8")(f,p,!1,function(t){i("B8x2")},"data-v-17cce644",null).exports}},m={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sales"},[e("div",{staticClass:"content"},[e("div",[e("distribution",{attrs:{sales_data:this.sales_data}}),this._v(" "),e("distribution-ranking",{attrs:{sales_data:this.sales_data}}),this._v(" "),e("div",{staticStyle:{clear:"both"}})],1),this._v(" "),e("sales-trend"),this._v(" "),e("sales-table")],1)])},staticRenderFns:[]};var v=i("VU/8")(g,m,!1,function(t){i("lu3b")},"data-v-4445714c",null);e.default=v.exports},Ylhr:function(t,e,i){var n=i("/gxq").each,a=i("AlhT"),r=i("h0jU"),o=i("BNYN"),s=i("vXqC"),l=i("gV7x").createTask,u=i("CqCN"),c=s.makeInner(),h=u();function d(){this.group=new a,this.uid=r.getUID("viewChart"),this.renderTask=l({plan:m,reset:v}),this.renderTask.context={view:this}}d.prototype={type:"chart",init:function(t,e){},render:function(t,e,i,n){},highlight:function(t,e,i,n){g(t.getData(),n,"emphasis")},downplay:function(t,e,i,n){g(t.getData(),n,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null};var f=d.prototype;function p(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var i=0;i.8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";else if("middle"===i.__position){var m=s/2,v=[(h=o.tangentAt(m))[1],-h[0]],y=o.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]),d=[y[0]+v[0]*g,y[1]+v[1]*g],f="center",p="bottom";var x=-Math.atan2(h[1],h[0]);u[0].8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";i.attr({style:{textVerticalAlign:i.__verticalAlign||p,textAlign:i.__textAlign||f},position:d,scale:[n,n]})}}}},p._createLine=function(t,e,i){var a=t.hostModel,r=function(t){var e=new o({name:"line"});return d(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,s.initProps(r,{shape:{percent:1}},a,e),this.add(r);var l=new s.Text({name:"label"});this.add(l),n.each(u,function(i){var n=h(i,t,e);this.add(n),this[c(i)]=t.getItemVisual(e,i)},this),this._updateCommonStl(t,e,i)},p.updateData=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};d(l.shape,o),s.updateProps(r,l,a,e),n.each(u,function(i){var n=t.getItemVisual(e,i),a=c(i);if(this[a]!==n){this.remove(this.childOfName(i));var r=h(i,t,e);this.add(r)}this[a]=n},this),this._updateCommonStl(t,e,i)},p._updateCommonStl=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=i&&i.lineStyle,c=i&&i.hoverLineStyle,h=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var f=t.getItemModel(e);o=f.getModel("lineStyle").getLineStyle(),c=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=n.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),r.hoverStyle=c,n.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))},this);var m,v,y,x=h.getShallow("show"),_=d.getShallow("show"),b=this.childOfName("label");if(x||_){if(m=p||"#000",null==(v=a.getFormattedLabel(e,"normal",t.dataType))){var w=a.getRawValue(e);v=null==w?t.getName(e):isFinite(w)?l(w):w}y=n.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),v)}if(x){var S=s.setTextStyle(b.style,h,{text:v},{autoColor:m});b.__textAlign=S.textAlign,b.__verticalAlign=S.textVerticalAlign,b.__position=h.get("position")||"middle"}else b.setStyle("text",null);b.hoverStyle=_?{text:y,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},b.ignore=!x&&!_,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},p.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},n.inherits(f,s.Group);var g=f;t.exports=g},cI6i:function(t,e,i){var n,a=i("YNzw"),r="urn:schemas-microsoft-com:vml",o="undefined"==typeof window?null:window,s=!1,l=o&&o.document;if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",r),n=function(t){return l.createElement("')}}catch(t){n=function(t){return l.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return n(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,i){var n=i("EJsE"),a=i("ao1T"),r=i("rctg"),o=n.extend({type:"series.heatmap",getInitialData:function(t,e){return a(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=r.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=o},"cO/Q":function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),a=i("dZZy"),r=i("1bHA"),o=i("SlE6"),s=i("0sHC"),l=i("vXqC"),u=i("MXTC"),c=u.Polyline,h=u.Polygon,d=i("Ylhr"),f=i("tzpD"),p=f.prepareDataCoordInfo,g=f.getStackedOnPoint;function m(t,e){if(t.length===e.length){for(var i=0;ie[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function x(t,e,i){return"polar"===t.type?function(t,e,i){var n=t.getAngleAxis(),a=t.getRadiusAxis().getExtent(),r=n.getExtent(),o=Math.PI/180,l=new s.Sector({shape:{cx:t.cx,cy:t.cy,r0:a[0],r:a[1],startAngle:-r[0]*o,endAngle:-r[1]*o,clockwise:n.inverse}});return e&&(l.shape.endAngle=-r[0]*o,s.initProps(l,{shape:{endAngle:-r[1]*o}},i)),l}(t,e,i):function(t,e,i){var n=y(t.getAxis("x")),a=y(t.getAxis("y")),r=t.getBaseAxis().isHorizontal(),o=Math.min(n[0],n[1]),l=Math.min(a[0],a[1]),u=Math.max(n[0],n[1])-o,c=Math.max(a[0],a[1])-l,h=i.get("lineStyle.width")||2,d=i.get("clipOverflow")?h/2:Math.max(u,c);r?(l-=d,c+=2*d):(o-=d,u+=2*d);var f=new s.Rect({shape:{x:o,y:l,width:u,height:c}});return e&&(f.shape[r?"width":"height"]=0,s.initProps(f,{shape:{width:u,height:c}},i)),f}(t,e,i)}function _(t,e,i){for(var n=e.getBaseAxis(),a="x"===n.dim||"radius"===n.dim?0:1,r=[],o=0;o=0;o--){var l=i[o].dimension,u=t.dimensions[l],c=t.getDimensionInfo(u);if("x"===(a=c&&c.coordDim)||"y"===a){r=i[o];break}}if(r){var h=e.getAxis(a),d=n.map(r.stops,function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}}),f=d.length,p=r.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=d[0].coord-10,m=d[f-1].coord+10,v=m-g;if(v<.001)return"transparent";n.each(d,function(t){t.offset=(t.coord-g)/v}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var y=new s.LinearGradient(0,0,0,0,d,!0);return y[a]=g,y[a+"2"]=m,y}}}(o,a)||o.getVisual("color");y.useStyle(n.defaults(l.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"}));var O=t.get("smooth");if(O=v(t.get("smooth")),y.setShape({smooth:O,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),b){var R=o.getCalculationInfo("stackedOnSeries"),N=0;b.useStyle(n.defaults(u.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel"})),R&&(N=v(R.get("smooth"))),b.setShape({smooth:O,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=a,this._stackedOnPoints=A,this._points=c,this._step=L,this._valueOrigin=I},dispose:function(){},highlight:function(t,e,i,n){var a=t.getData(),o=l.queryDataIndex(a,n);if(!(o instanceof Array)&&null!=o&&o>=0){var s=a.getItemGraphicEl(o);if(!s){var u=a.getItemLayout(o);if(!u)return;(s=new r(a,o)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,a.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var a=t.getData(),r=l.queryDataIndex(a,n);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else d.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new c({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new h({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_getSymbolIgnoreFunc:function(t,e){var i=e.getAxesByScale("ordinal")[0];if(i&&i.isLabelIgnored)return n.bind(i.isLabelIgnored,i)},_updateAnimation:function(t,e,i,n,a,r){var l=this._polyline,u=this._polygon,c=t.hostModel,h=o(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;a&&(d=_(h.current,i,a),f=_(h.stackedOnCurrent,i,a),p=_(h.next,i,a),g=_(h.stackedOnNext,i,a)),l.shape.__points=h.current,l.shape.points=d,s.updateProps(l,{shape:{points:p}},c),u&&(u.setShape({points:d,stackedOnPoints:f}),s.updateProps(u,{shape:{points:p,stackedOnPoints:g}},c));for(var m=[],v=h.status,y=0;y "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,i);else{var w=l.get(b),S=s(t,{coordDimensions:(w&&"view"!==w.type&&w.dimensions||[]).concat(["value"])});(_=new a(S,i)).initData(t)}var M=new a(["value"],i);return M.initData(g,p),h&&h(_,M),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:M},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},d8Tt:function(t,e,i){var n=i("9b8q"),a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],r=function(t,e){this.extendFrom(t,!1),this.host=e};function o(t,e,i){var n=null==e.x?0:e.x,a=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(n=n*i.width+i.x,a=a*i.width+i.x,r=r*i.height+i.y,o=o*i.height+i.y),n=isNaN(n)?0:n,a=isNaN(a)?1:a,r=isNaN(r)?0:r,o=isNaN(o)?0:o,t.createLinearGradient(n,r,a,o)}function s(t,e,i){var n=i.width,a=i.height,r=Math.min(n,a),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(o=o*n+i.x,s=s*a+i.y,l*=r),t.createRadialGradient(o,s,0,o,s,l)}for(var l=r.prototype={constructor:r,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 r=i&&i.style,o=!r,s=0;s0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},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,i){for(var n=("radial"===e.type?s:o)(t,e,i),a=e.colorStops,r=0;ri&&(s=i);var l=d.length,h=function(t,e,i,n){for(;i>>1;t[a][1]1&&(o*=s(_),h*=s(_));var b=(a===r?-1:1)*s((o*o*(h*h)-o*o*(x*x)-h*h*(y*y))/(o*o*(x*x)+h*h*(y*y)))||0,w=b*o*x/h,S=b*-h*y/o,M=(t+i)/2+u(v)*w-l(v)*S,I=(e+n)/2+l(v)*w+u(v)*S,A=f([1,0],[(y-w)/o,(x-S)/h]),C=[(y-w)/o,(x-S)/h],T=[(-1*y-w)/o,(-1*x-S)/h],D=f(C,T);d(C,T)<=-1&&(D=c),d(C,T)>=1&&(D=0),0===r&&D>0&&(D-=2*c),1===r&&D<0&&(D+=2*c),m.addData(g,M,I,o,h,A,D,v,r)}function g(t,e){var i=function(t){if(!t)return[];var e,i=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,i=this.__clipPaths,n=this.style;if(i)for(var r=0;r=0&&l<0)&&(o=g,l=p,a=c,r.length=0),s(h,function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:r,snapToValue:a}}(e,t),u=l.payloadBatch,c=l.snapToValue;u[0]&&null==r.seriesIndex&&n.extend(r,u[0]),!a&&t.snap&&o.containData(c)&&null!=c&&(e=c),i.showPointer(t,e,u,r),i.showTooltip(t,l,c)}else i.showPointer(t,e)}function h(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function d(t,e,i,n){var a=i.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,c=r.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function f(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,i){var a=t.currTrigger,r=[t.x,t.y],g=t,m=t.dispatchAction||n.bind(i.dispatchAction,i),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){p(r)&&(r=o({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(r),x=g.axesInfo,_=v.axesInfo,b="leave"===a||p(r),w={},S={},M={list:[],map:{}},I={showPointer:l(h,S),showTooltip:l(d,M)};s(v.coordSysMap,function(t,e){var i=y||t.containPoint(r);s(v.coordSysAxesInfo[e],function(t,e){var n=t.axis,a=function(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}(x,t);if(!b&&i&&(!x||a)){var o=a&&a.value;null!=o||y||(o=n.pointToData(r)),null!=o&&c(t,o,I,!1,w)}})});var A={};return s(_,function(t,e){var i=t.linkGroup;i&&!S[e]&&s(i.axesInfo,function(e,n){var a=S[n];if(e!==t&&a){var r=a.value;i.mapper&&(r=t.axis.scale.parse(i.mapper(r,f(e),f(t)))),A[t.key]=r}})}),s(A,function(t,e){c(_[e],t,I,!0,w)}),function(t,e,i){var n=i.axesInfo=[];s(e,function(e,i){var a=e.axisPointerModel.option,r=t[i];r?(!e.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})})}(S,_,w),function(t,e,i,n){if(!p(e)&&t.list.length){var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}(M,r,t,m),function(t,e,i){var a=i.getZr(),r=u(a).axisPointerLastHighlights||{},o=u(a).axisPointerLastHighlights={};s(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&s(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var l=[],c=[];n.each(r,function(t,e){!o[e]&&c.push(t)}),n.each(o,function(t,e){!r[e]&&l.push(t)}),c.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),l.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,i),w}}},dzlV:function(t,e,i){var n=i("0sHC"),a=i("RjA7").getDefaultLabel;function r(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,i,o,s,l,u){var c=i.getModel("label"),h=i.getModel("emphasis.label");n.setLabelStyle(t,e,c,h,{labelFetcher:s,labelDataIndex:l,defaultText:a(s.getData(),l),isRectText:!0,autoColor:o}),r(t),r(e)}},"e+YR":function(t,e,i){var n=i("/gxq");e.createWrap=function(){var t,e=[],i={};return{add:function(t,a,r,o,s){return n.isString(o)&&(s=o,o=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:a,time:r,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,a=0,r=e.length;a0?1:-1,o=n.height>0?1:-1;return{x:n.x+r*a/2,y:n.y+o*a/2,width:n.width-r*a,height:n.height-o*a}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function g(t,e,i,n,s,l,u,c){var h=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),f=n.getModel("itemStyle"),p=n.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(a.defaults({fill:h,opacity:d},f.getBarItemStyle()));var g=n.getShallow("cursor");g&&t.attr("cursor",g);var m=u?s.height>0?"bottom":"top":s.width>0?"left":"right";c||o(t.style,p,n,h,l,i,m),r.setHoverStyle(t,p)}t.exports=c},eQYg:function(t,e,i){var n=i("Icdr"),a=i("/gZK"),r=i("vXqC").defaultEmphasis,o=n.extendSeriesModel({type:"series.funnel",init:function(t){o.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,["value"])},_defaultLabelLine:function(t){r(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),i=o.superCall(this,"getDataParams",t),n=e.mapDimension("value"),a=e.getSum(n);return i.percent=a?+(e.get(n,t)/a*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),s=o;t.exports=s},eZxa:function(t,e,i){var n=i("g+yZ").debugMode,a=function(){};1===n?a=function(){for(var t in arguments)throw new Error(arguments[t])}:n>1&&(a=function(){for(var t in arguments)console.log(arguments[t])});var r=a;t.exports=r},ecfp:function(t,e,i){var n=i("/gxq"),a=i("Y5nL"),r=i("eH0a"),o=i("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")}n.merge(s.prototype,o);var u={offset:0};r("x",s,l,u),r("y",s,l,u);var c=s;t.exports=c},em4M:function(t,e,i){var n=i("/gxq"),a=i("vXqC"),r=i("Y5nL"),o=n.each,s=n.clone,l=n.map,u=n.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,i){var a={width:e,height:i,aspectratio:e/i},r=!0;return n.each(t,function(t,e){var i=e.match(c);if(i&&i[1]&&i[2]){var n=i[1],o=i[2].toLowerCase();(function(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e})(a[o],t,n)||(r=!1)}}),r}h.prototype={constructor:h,setOption:function(t,e){t&&n.each(a.normalizeToArray(t.series),function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)}),t=s(t,!0);var i,c,h=this._optionBackup,d=function(t,e,i){var a,r,s=[],l=[],u=t.timeline;t.baseOption&&(r=t.baseOption);(u||t.options)&&(r=r||{},s=(t.options||[]).slice());if(t.media){r=r||{};var c=t.media;o(c,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})}r||(r=t);r.timeline||(r.timeline=u);return o([r].concat(s).concat(n.map(l,function(t){return t.option})),function(t){o(e,function(e){e(t,i)})}),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}.call(this,t,e,!h);this._newBaseOption=d.baseOption,h?(i=h.baseOption,c=d.baseOption,o(c=c||{},function(t,e){if(null!=t){var n=i[e];if(r.hasClass(e)){t=a.normalizeToArray(t),n=a.normalizeToArray(n);var o=a.mappingToExists(n,t);i[e]=l(o,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else i[e]=u(n,t,!0)}}),d.timelineOptions.length&&(h.timelineOptions=d.timelineOptions),d.mediaList.length&&(h.mediaList=d.mediaList),d.mediaDefault&&(h.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,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,i,n=this._api.getWidth(),a=this._api.getHeight(),r=this._mediaList,o=this._mediaDefault,u=[],c=[];if(!r.length&&!o)return c;for(var h=0,f=r.length;h0?a:r),borderColor:e.get(s>0?i:n)})})})}},fYRm:function(t,e,i){var n=i("/gxq"),a=n.createHashMap,r=n.each;function o(t){r(t,function(e,i){var n=[],a=[NaN,NaN],r=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(r,function(r,l,u){var c,h,d=o.get(e.stackedDimension,u);if(isNaN(d))return a;s?h=o.getRawIndex(u):c=o.get(e.stackedByDimension,u);for(var f=NaN,p=i-1;p>=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return n[0]=d,n[1]=f,n});o.hostModel.setData(l),e.data=l})}t.exports=function(t){var e=a();t.eachSeries(function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),a=t.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(r)}}),e.each(o)}},fgF4:function(t,e,i){var n=i("RYbJ")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return n(this,t,e)}};t.exports=a},fm2I:function(t,e,i){var n=i("/gxq"),a=i("8b51"),r=i("wWR3"),o=r.parsePercent,s=r.MAX_SAFE_INTEGER,l=i("1Xuh"),u=i("gOx9"),c=Math.max,h=Math.min,d=n.retrieve,f=n.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(t,e,i,r){var m=i.getWidth(),v=i.getHeight(),y=t.option,w=l.getLayoutRect(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),S=y.size||[],M=o(d(w.width,S[0]),m),I=o(d(w.height,S[1]),v),A=r&&r.type,C=u.retrieveTargetInfo(r,["treemapZoomToNode","treemapRootToNode"],t),T="treemapRender"===A||"treemapMove"===A?r.rootRect:null,D=t.getViewRoot(),L=u.getPathToRoot(D);if("treemapMove"!==A){var P="treemapZoomToNode"===A?function(t,e,i,n,a){var r,o=(e||{}).node,l=[n,a];if(!o||o===i)return l;var u=n*a,c=u*t.option.zoomToNodeRatio;for(;r=o.parentNode;){for(var h=0,d=r.children,f=0,g=d.length;fs&&(c=s),o=r}cs[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:n,dataExtent:s}}(e,s,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,i,n,a){if(!n)return i;for(var r=t.get("visibleMin"),o=a.length,s=o,l=o-1;l>=0;l--){var u=a["asc"===n?o-l-1:l].getValue();u/i*ea&&(a=n));var l=t.area*t.area,u=e*e*i;return l?c(u*a/l,l/(u*r)):1/0}function _(t,e,i,n,a){var r=e===i.width?0:1,o=1-r,s=["x","y"],l=["width","height"],u=i[s[r]],d=e?t.area/e:0;(a||d>i[l[o]])&&(d=i[l[o]]);for(var f=0,p=t.length;f=0){var a=i.getData().tree.root,r=t.targetNode;if(r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}},e.getPathToRoot=a,e.aboveViewRoot=function(t,e){var i=a(t);return n.indexOf(i,e)>=0},e.wrapTreePathInfo=function(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}},gV7x:function(t,e,i){i("/gxq").assert,i("4Nz2").__DEV__;function n(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var a=n.prototype;a.perform=function(t){var e,i,n=this._upstream,a=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context)),(this._dirty||"reset"===e)&&(this._dirty=!1,i=function(t,e){var i,n;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&(i=t._reset(t.context))&&i.progress&&(n=i.forceFirstProgress,i=i.progress);t._progress=i;var a=t._downstream;return a&&a.dirty(),n}(this,a));var o=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var s=this._dueIndex,l=Math.min(null!=o?this._dueIndex+o:1/0,this._dueEnd);!a&&(i||st[1])break;i.push({color:this.getControllerVisual(r,"color",e),offset:a/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{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 i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,r=i.handleLabels;f([0,1],function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(i.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(t,e,i,n){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],u=d(t,r,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",function(t,e,i,n){return t?[[0,-p(e,g(i,0))],[v,0],[0,p(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}(!!i,n,u,o[1]));var f=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});h.setStyle("fill",f);var m=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),y=c.indicatorLabel;y.attr("invisible",!1);var x=this._applyTransform("left",c.barGroup),_=this._orient;y.setStyle({text:(i||"")+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 i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=p(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[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 i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],r=i.getExtent();t=p(g(a[0],t),a[1]);var o=function(t,e,i){var n=m/2,a=t.get("hoverLinkDataSize");a&&(n=d(a,e,i,!0)/2);return n}(i,r,a),s=[t-o,t+o],l=d(t,a,r,!0),u=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]a[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var f=this._hoverLinkDataIndices,v=[];(e||_(i))&&(v=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var y=h.compressBatches(f,v);this._dispatchHighDown("downplay",c.convertDataIndex(y[0])),this._dispatchHighDown("highlight",c.convertDataIndex(y[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(e.dataType),r=a.get(i.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.convertDataIndex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,a){var r=s.getTransform(e,a?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,r,i)},_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,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){r.stop(t.event)},ondragend:n})}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,i){var n=i("JzYe");i("rctg").register("single",{create:function(t,e){var i=[];return t.eachComponent("singleAxis",function(a,r){var o=new n(a,t,e);o.name="single_"+r,o.resize(a,e),a.coordinateSystem=o,i.push(o)}),t.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=i&&i.coordinateSystem}}),i},dimensions:n.prototype.dimensions})},guZJ:function(t,e,i){var n=i("Icdr"),a=i("0sHC"),r=i("/gxq"),o=i("kK7q");var s=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var a=function(t){return r.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=o.createSymbol(i,-1,-1,2,2,n);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),s}}function h(e,i,n,r,o,s){n.removeAll();for(var l=0;l=0&&i.push(t)}),i}(s.originalDeps=e(o),t);s.entryCount=l.length,0===s.entryCount&&r.push(o),n.each(l,function(t){n.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=i(a,t);n.indexOf(e.successor,t)<0&&e.successor.push(o)})}),{graph:a,noEntryList:r}}(a),l=s.graph,u=s.noEntryList,c={};for(n.each(t,function(t){c[t]=!0});u.length;){var h=u.pop(),d=l[h],f=!!c[h];f&&(r.call(o,h,d.originalDeps.slice()),delete c[h]),n.each(d.successor,f?g:p)}n.each(c,function(){throw new Error("Circle dependency may exists")})}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){c[t]=!0,p(t)}}}},h4VJ:function(t,e,i){var n=i("0sHC"),a=i("/gxq"),r=i("Ylhr");function o(t,e){n.Group.call(this);var i=new n.Polygon,a=new n.Polyline,r=new n.Text;function o(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function s(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}this.add(i),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,i){var r=this.childAt(0),o=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,r.useStyle({}),i?(r.setShape({points:u.points}),r.setStyle({opacity:0}),n.initProps(r,{style:{opacity:c}},o,e)):n.updateProps(r,{style:{opacity:c},shape:{points:u.points}},o,e);var h=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");r.setStyle(a.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),n.setHoverStyle(this)},s._updateLabel=function(t,e){var i=this.childAt(1),a=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");n.updateProps(i,{shape:{points:s.linePoints||s.linePoints}},r,e),n.updateProps(a,{style:{x:s.x,y:s.y}},r,e),a.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),c=o.getModel("emphasis.label"),h=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");n.setLabelStyle(a.style,a.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),a.ignore=a.normalIgnore=!u.get("show"),a.hoverIgnore=!c.get("show"),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!d.get("show"),i.setStyle({stroke:l}),i.setStyle(h.getModel("lineStyle").getLineStyle()),i.hoverStyle=d.getModel("lineStyle").getLineStyle()},a.inherits(o,n.Group);var u=r.extend({type:"funnel",render:function(t,e,i){var n=t.getData(),a=this._data,r=this.group;n.diff(a).add(function(t){var e=new o(n,t);n.setItemGraphicEl(t,e),r.add(e)}).update(function(t,e){var i=a.getItemGraphicEl(e);i.updateData(n,t),r.add(i),n.setItemGraphicEl(t,i)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},h6Uy:function(t,e,i){var n=i("/gxq").createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.getRawData(),a=t.get("color"),r=n();e.each(function(t){r.set(e.getRawIndex(t),t)}),i.each(function(n){var o=i.getName(n),s=a[(t.nameMap.get(o)-1)%a.length];i.setItemVisual(n,"color",s);var l=r.get(n);null!=l&&e.setItemVisual(l,"color",s)})})}},hG1p:function(t,e,i){var n=i("GxVO").extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var i=Math.cos,n=Math.sin,a=e.r,r=e.width,o=e.angle,s=e.x-i(o)*r*(r>=a/3?1:2),l=e.y-n(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(o)*r,e.y+n(o)*r),t.lineTo(e.x+i(e.angle)*a,e.y+n(e.angle)*a),t.lineTo(e.x-i(o)*r,e.y-n(o)*r),t.lineTo(s,l)}});t.exports=n},hZf2:function(t,e,i){var n=i("Pmfi"),a=i("/gxq"),r=i("eZxa");function o(t,e){n.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(o,n),o.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var i=this;a.each(["fill","stroke"],function(n){if(e.style[n]&&("linear"===e.style[n].type||"radial"===e.style[n].type)){var a,r=e.style[n],o=i.getDefs(!0);r._dom?(a=r._dom,o.contains(r._dom)||i.addDom(a)):a=i.add(r),i.markUsed(e);var s=a.getAttribute("id");t.setAttribute(n,"url(#"+s+")")}})}},o.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return r("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},o.prototype.update=function(t){var e=this;n.prototype.update.call(this,t,function(){var i=t.type,n=t._dom.tagName;"linear"===i&&"linearGradient"===n||"radial"===i&&"radialGradient"===n?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))})},o.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void r("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var i=t.colorStops,n=0,a=i.length;nr[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:n.bind(function(n){var a=e.dataToRadius(n[0]),r=i.dataToAngle(n[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o}),size:n.bind(a,t)}}}},ix3c:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("0sHC"),o=i("1Hui"),s=i("gOx9"),l=i("IkDM"),u=i("5Mek"),c=i("8b51"),h=i("dOVI"),d=i("e+YR"),f=i("RYbJ"),p=a.bind,g=r.Group,m=r.Rect,v=a.each,y=["label"],x=["emphasis","label"],_=["upperLabel"],b=["emphasis","upperLabel"],w=10,S=1,M=2,I=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A=function(t){var e=I(t);return e.stroke=e.fill=e.lineWidth=null,e},C=n.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,i,n){var r=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(r,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var o=s.retrieveTargetInfo(n,["treemapZoomToNode","treemapRootToNode"],t),l=n&&n.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===l&&o&&h?{rootNodeGroup:h.nodeGroup[o.node.getRawIndex()],direction:n.direction}:null,f=this._giveContainerGroup(u),p=this._doRender(f,t,d);c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?p.renderFinally():this._doAnimation(f,p,t,d),this._resetController(i),this._renderBreadcrumb(t,i,o)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new g,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,i){var n=e.getData().tree,r=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},u=this._storage,c=[],h=a.curry(T,e,l,u,i,s,c);!function t(e,i,n,r,s){r?(i=e,v(e,function(t,e){!t.isRemoved()&&u(e,e)})):new o(i,e,l,l).add(u).update(u).remove(a.curry(u,null)).execute();function l(t){return t.getId()}function u(a,o){var l=null!=a?e[a]:null,u=null!=o?i[o]:null,c=h(l,u,n,s);c&&t(l&&l.viewChildren||[],u&&u.viewChildren||[],c,r,s+1)}}(n.root?[n.root]:[],r&&r.root?[r.root]:[],t,n===r||!r,0);var d=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&v(t,function(t,i){var n=e[i];v(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),e}(u);return this._oldTree=n,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:function(){v(d,function(t){v(t,function(t){t.parent&&t.parent.remove(t)})}),v(c,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,e,i,n){if(i.get("animation")){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),s=d.createWrap();v(e.willDeleteEls,function(t,e){v(t,function(t,i){if(!t.invisible){var a,l=t.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,r,o)}})}),v(this._storage,function(t,i){v(t,function(t,n){var l=e.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=a.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,r,o))})},this),this._state="animating",s.done(p(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||((e=this._controller=new u(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",p(this._onPan,this)),e.on("zoom",p(this._onZoom,this)));var i=new c(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},_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 i=this.seriesModel.getData().tree.root;if(!i)return;var n=i.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t,y:n.y+e,width:n.width,height:n.height}})}},_onZoom:function(t,e,i){if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var r=new c(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;e-=o.x,i-=o.y;var s=h.create();h.translate(s,s,[-e,-i]),h.scale(s,s,[t,t]),h.translate(s,s,[e,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var a=n.hostTree.data.getItemModel(n.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&window.open(r,o)}}}}},this)},_renderBreadcrumb:function(t,e,i){i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(i={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,i.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 i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var a=this._storage.background[n.getRawIndex()];if(a){var r=a.transformCoordToLocal(t,e),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}},this),i}});function T(t,e,i,n,o,s,l,u,c,h){if(l){var d=l.getLayout();if(d&&d.isInView){var f=d.width,p=d.height,v=d.borderWidth,C=d.invisible,T=l.getRawIndex(),D=u&&u.getRawIndex(),L=l.viewChildren,P=d.upperHeight,k=L&&L.length,O=l.getModel("itemStyle"),R=l.getModel("emphasis.itemStyle"),N=H("nodeGroup",g);if(N){if(c.add(N),N.attr("position",[d.x||0,d.y||0]),N.__tmNodeWidth=f,N.__tmNodeHeight=p,d.isAboveViewRoot)return N;var E=H("background",m,h,S);if(E&&function(e,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:f,height:p});var a=l.getVisual("borderColor",!0),o=R.get("borderColor");V(i,function(){var t=A(O);t.fill=a;var e=I(R);if(e.fill=o,n){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;i.setStyle(t),r.setHoverStyle(i,e)}),e.add(i)}(N,E,k&&d.upperHeight),!k){var z=H("content",m,h,M);z&&function(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(f-2*v,0),a=Math.max(p-2*v,0);i.culling=!0,i.setShape({x:v,y:v,width:n,height:a});var o=l.getVisual("color",!0);V(i,function(){var t=A(O);t.fill=o;var e=I(R);B(t,e,o,n,a),i.setStyle(t),r.setHoverStyle(i,e)}),e.add(i)}(N,z)}return N}}}function V(t,e){C?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function B(e,i,n,o,s,u){var c=l.getModel(),h=a.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),c.get("name"));if(!u&&d.isLeafRoot){var f=t.get("drillDownIcon",!0);h=f?f+" "+h:h}var p=c.getModel(u?_:y),g=c.getModel(u?b:x),m=p.getShallow("show");r.setLabelStyle(e,i,p,g,{defaultText:m?h:null,autoColor:n,isRectText:!0}),u&&(e.textRect=a.clone(u)),e.truncate=m&&p.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function H(t,r,s,u){var c=null!=D&&i[t][D],h=o[t];return c?(i[t][D]=null,function(t,e,i){(t[T]={}).old="nodeGroup"===i?e.position.slice():a.extend({},e.shape)}(h,c,t)):C||((c=new r({z:function(t,e){var i=t*w+e;return(i-1)/i}(s,u)})).__tmDepth=s,c.__tmStorageName=t,function(t,e,i){var a=t[T]={},r=l.parentNode;if(r&&(!n||"drillDown"===n.direction)){var s=0,u=0,c=o.background[r.getRawIndex()];!n&&c&&c.old&&(s=c.old.width,u=c.old.height),a.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==i}(h,0,t)),e[t][T]=c}}t.exports=C},jHiU:function(t,e,i){var n=i("/gxq"),a=i("wRzc"),r=function(t,e,i,n,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=r||!1,a.call(this,n)};r.prototype={constructor:r},n.inherits(r,a);var o=r;t.exports=o},jJrn:function(t,e,i){var n=i("/gxq"),a=i("JFJR"),r=i("tBuv"),o=i("wWR3"),s=i("3yJd"),l=s.getScaleExtent,u=s.niceScaleExtent,c=i("rctg");function h(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,n=new a(i,new r);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n},this),this.resize(t,i),this.cx,this.cy,this.r,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(i),this.cy-t*Math.sin(i)]},h.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var a,r=Math.atan2(-i,e),o=1/0,s=-1,l=0;li[0]&&isFinite(p)&&isFinite(i[0]))}else{a.getTicks().length-1>r&&(d=s(d));var g=Math.round((i[0]+i[1])/2/d)*d,m=Math.round(r/2);a.setExtent(o.round(g-m*d),o.round(g+(r-m)*d)),a.setInterval(d)}})},h.dimensions=[],h.create=function(t,e){var i=[];return t.eachComponent("radar",function(n){var a=new h(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},c.register("radar",h);var d=h;t.exports=d},jLnL:function(t,e,i){i("4w1v"),(0,i("hv2j").registerPainter)("svg",i("Q5xN"))},jMTz:function(t,e,i){i("4Nz2").__DEV__;var n=i("ao1T"),a=i("EJsE").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=a},jpt2:function(t,e,i){var n=i("LBXi"),a=i("Icdr").extendComponentView({type:"geo",init:function(t,e){var i=new n(e,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var a=this._mapDraw;t.get("show")?a.draw(t,e,i,this,n):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 i=[[[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,n=t.regions.length;e=0;r--){var o;if(n[r]!==i&&!n[r].ignore&&(o=h(n[r],t,e))&&(!a.topTarget&&(a.topTarget=n[r]),o!==s)){a.target=n[r];break}}return a}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){c.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;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(i,t,e)}}),n.mixin(c,o),n.mixin(c,r);var d=c;t.exports=d},lu3b:function(t,e){},lwXq:function(t,e){t.exports=function(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),i=[],n=t.coordinateSystem;if(n){for(var a=n.getIndicatorAxes(),r=0;r=0?"p":"n",P=_;y&&(c[a][M]||(c[a][M]={p:_,n:_}),P=c[a][M][L]),x?(I=P,A=(D=i.dataToPoint([S,M]))[1]+d,C=D[0]-_,T=f,Math.abs(C)0?1:o<0?-1:0}(i,o,r,n,v),function(t,e,i,n,r,o,s,u,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(i[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],n?p:Math.abs(o)),h.symbolSize=g,(h.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(c.isHorizontal?-1:1)*s}(t,e,r,o,0,v.boundingLength,v.pxSign,p,n,v),function(t,e,i,n,a){var r=t.get(h)||0;r&&(f.attr({scale:e.slice(),rotation:i}),f.updateTransform(),r/=f.getLineScale(),r*=e[n.valueDim.index]);a.valueLineWidth=r}(i,v.symbolScale,d,n,v);var y=v.symbolSize,x=i.get("symbolOffset");return a.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(t,e,i,n,r,o,s,c,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+c,0),x=y;if(n){var _=Math.abs(h),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(n),A=I?n:P((_+M)/S),C=_-A*y;S=y+2*(b=C/2/(w?A:A-1)),M=w?0:2*b,I||"fixed"===n||(A=d?P((Math.abs(d)+M)/S):0),x=A*S-M,p.repeatTimes=A,p.symbolMargin=b}var T=v*(x/2),D=p.pathPosition=[];D[g.index]=i[g.wh]/2,D[m.index]="start"===s?T:"end"===s?h-T:h/2,o&&(D[0]+=o[0],D[1]+=o[1]);var L=p.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var k=p.barRectShape=a.extend({},i);k[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(D[m.index]+T)),k[g.wh]=i[g.wh];var O=p.clipShape={};O[g.xy]=-i[g.xy],O[g.wh]=f.ecSize[g.wh],O[m.xy]=0,O[m.wh]=i[m.wh]}(i,y,r,o,0,x,c,v.valueLineWidth,v.boundingLength,v.repeatCutLength,n,v),v}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize,i=o(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function v(t,e,i,n){var a=t.__pictorialBundle,r=i.symbolSize,o=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,c=0,h=r[e.valueDim.index]+o+2*i.symbolMargin;for(T(t,function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:n<0)&&(a=u-1-t),e[l.index]=h*(a-u/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){T(t,function(t){t.trigger("emphasis")})}function v(){T(t,function(t){t.trigger("normal")})}}function y(t,e,i,n){var a=t.__pictorialBundle,r=t.__pictorialMainPath;r?D(r,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(r=t.__pictorialMainPath=m(i),a.add(r),D(r,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),r.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),M(r,i)}function x(t,e,i){var n=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?D(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function _(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},i.clipShape),l=e.valueDim,u=i.animationModel,c=i.dataIndex;if(o)r.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=i.clipShape[l.wh],r[n?"updateProps":"initProps"](o,{shape:h},u,c)}}}function b(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=w,i.isAnimationEnabled=S,i}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 i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function I(t,e,i,n){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",i.bundlePosition.slice()),i.symbolRepeat?v(a,e,i):y(a,0,i),x(a,i,n),_(a,e,i,n),a.__pictorialShapeStr=C(t,i),a.__pictorialSymbolMeta=i,a}function A(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var s=[];T(n,function(t){s.push(t)}),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,function(t){r.updateProps(t,{scale:[0,0]},i,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function C(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function T(t,e,i){a.each(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function D(t,e,i,n,a,o){e&&t.attr(e),n.symbolClip&&!a?i&&t.attr(i):i&&r[a?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,o)}function L(t,e,i){var n=i.color,o=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),h=s.getShallow("cursor");T(t,function(t){t.setColor(n),t.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),r.setHoverStyle(t,u),h&&(t.cursor=h),t.z2=i.z2});var d={},f=e.valueDim.posDesc[+(i.boundingLength>0)],p=t.__pictorialBarRect;c(p.style,d,s,n,e.seriesModel,o,f),r.setHoverStyle(p,d)}function P(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var k=n.extendChartView({type:"pictorialBar",render:function(t,e,i){var n=this.group,a=t.getData(),o=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return a.diff(o).add(function(t){if(a.hasValue(t)){var e=b(a,t),i=p(a,t,e,c),r=I(a,c,i);a.setItemGraphicEl(t,r),n.add(r),L(r,c,i)}}).update(function(t,e){var i=o.getItemGraphicEl(e);if(a.hasValue(t)){var s=b(a,t),l=p(a,t,s,c),u=C(a,l);i&&u!==i.__pictorialShapeStr&&(n.remove(i),a.setItemGraphicEl(t,null),i=null),i?function(t,e,i){var n=i.animationModel,a=i.dataIndex,o=t.__pictorialBundle;r.updateProps(o,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?v(t,e,i,!0):y(t,e,i,!0);x(t,i,!0),_(t,e,i,!0)}(i,c,l):i=I(a,c,l,!0),a.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=l,n.add(i),L(i,c,l)}else n.remove(i)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&A(o,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=a,this.group},dispose:a.noop,remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl(function(e){A(n,e.dataIndex,t,e)}):i.removeAll()}});t.exports=k},mLyJ:function(t,e,i){var n=i("/gxq"),a=i("wWR3").parsePercent,r=i("qVJQ").isDimensionStacked;function o(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t){return t.dim}var l=function(t,e,i){var l=i.getWidth(),u=i.getHeight(),c={},h=function(t,e){var i={};n.each(t,function(t,e){var n=t.getData(),r=t.coordinateSystem,l=r.getBaseAxis(),u=l.getExtent(),c="category"===l.type?l.getBandWidth():Math.abs(u[1]-u[0])/n.count(),h=i[s(l)]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=h.stacks;i[s(l)]=h;var f=o(t);d[f]||h.autoWidthCount++,d[f]=d[f]||{width:0,maxWidth:0};var p=a(t.get("barWidth"),c),g=a(t.get("barMaxWidth"),c),m=t.get("barGap"),v=t.get("barCategoryGap");p&&!d[f].width&&(p=Math.min(h.remainedWidth,p),d[f].width=p,h.remainedWidth-=p),g&&(d[f].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)});var r={};return n.each(i,function(t,e){r[e]={};var i=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),n.each(i,function(t,e){var i=t.maxWidth;i&&i=0?"p":"n",N=I;if(M&&(c[d][D]||(c[d][D]={p:I,n:I}),N=c[d][D][R]),"radius"===m.dim){var E=m.dataToRadius(T)-I,z=n.dataToAngle(D);Math.abs(E)<_&&(E=(E<0?-1:1)*_),L=N,P=N+E,O=(k=z-p)-g,M&&(c[d][D][R]=P)}else{var V=m.dataToAngle(T,!0)-I,B=n.dataToRadius(D);Math.abs(V)0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=n.clone(t)},getValueState:function(t){var e=r.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){r.findPieceIndex(e,this._pieceList)===t&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],a=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return n.each(r,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:i}}function l(n,r){var o=a.getRepresentValue({interval:n});r||(r=a.getValueState(o));var s=t(o,r);n[0]===-1/0?i[0]=s:n[1]===1/0?i[1]=s:e.push({value:n[0],color:s},{value:n[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),a=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;for(var o=(a[1]-a[0])/r;+o.toFixed(i)!==o&&i<5;)i++;t.precision=i,o=+o.toFixed(i);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,a[0]],close:[0,0]});for(var u=a[0],c=l+r;l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};function c(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var h=l;t.exports=h},moDv:function(t,e,i){var n=i("AAi1"),a=i("C7PF"),r=i("wUOi"),o=i("8b51"),s=i("g+yZ").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],h=[],d=[],f=Math.min,p=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,x="undefined"!=typeof Float32Array,_=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};_.prototype={constructor:_,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=y(1/s/t)||0,this._uy=y(1/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,a,r){return this.addData(l.C,t,e,i,n,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,a,r):this._ctx.bezierCurveTo(t,e,i,n,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,i,n){return this.addData(l.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,a,r){return this.addData(l.A,t,e,i,i,n,a-n,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,r),this._xi=g(a)*i+t,this._yi=m(a)*i+t,this},arcTo:function(t,e,i,n,a){return this._ctx&&this._ctx.arcTo(t,e,i,n,a),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(l.R,t,e,i,n),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,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,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&g<=t||c<0&&g>=t||0==c&&(h>0&&m<=e||h<0&&m>=e);)g+=c*(i=o[n=this._dashIdx]),m+=h*i,this._dashIdx=(n+1)%y,c>0&&gl||h>0&&mu||s[n%2?"moveTo":"lineTo"](c>=0?f(g,t):p(g,t),h>=0?f(m,e):p(m,e));c=g-t,h=m-e,this._dashOffset=-v(c*c+h*h)},_dashedBezierTo:function(t,e,i,a,r,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=n.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,i,r,s+.1)-x(m,t,i,r,s),u=x(y,e,a,o,s+.1)-x(y,e,a,o,s),_+=v(l*l+u*u);for(;bf);b++);for(s=(S-f)/_;s<=1;)c=x(m,t,i,r,s),h=x(y,e,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(r,o),l=r-c,u=o-h,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var a=i,r=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,f=0;fu||y(o-a)>c||d===h-1)&&(t.lineTo(r,o),n=r,a=o);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=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/_,C=x>_?_/x:1,T=b+w;Math.abs(x-_)>.001?(t.translate(p,v),t.rotate(S),t.scale(A,C),t.arc(0,0,I,b,T,1-M),t.scale(1/A,1/C),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,I,b,T,1-M),1==d&&(e=g(b)*x+p,i=m(b)*_+v),n=g(T)*x+p,a=m(T)*_+v;break;case l.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),n=e,a=i}}}},_.CMD=l;var b=_;t.exports=b},mvCM:function(t,e,i){var n=i("/gxq"),a=n.each,r=n.createHashMap,o=(n.assert,i("4Nz2").__DEV__,r(["tooltip","label","itemName","itemId","seriesName"]));e.OTHER_DIMENSIONS=o,e.summarizeDimensions=function(t){var e={},i=e.encode={},n=r(),s=[];a(t.dimensions,function(e){var a,r=t.getDimensionInfo(e),l=r.coordDim;if(l){var u=i[l];i.hasOwnProperty(l)||(u=i[l]=[]),u[r.coordDimIndex]=e,r.isExtraCoord||(n.set(l,1),"ordinal"!==(a=r.type)&&"time"!==a&&(s[0]=e))}o.each(function(t,e){var n=i[e];i.hasOwnProperty(e)||(n=i[e]=[]);var a=r.otherDims[e];null!=a&&!1!==a&&(n[a]=r.name)})});var l=[],u={};n.each(function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)}),e.dataDimsOnCoord=l,e.encodeFirstDimNotExtra=u;var c=i.label;c&&c.length&&(s=c.slice());var h=s.slice(),d=i.tooltip;return d&&d.length&&(h=d.slice()),i.defaultedLabel=s,i.defaultedTooltip=h,e},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},"n/n4":function(t,e,i){var n=i("/gxq");function a(t,e){return e=e||[0,0],n.map(["x","y"],function(i,n){var a=this.getAxis(i),r=e[n],o=t[n]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))},this)}t.exports=function(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}},n3NR:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("8b51"),o=i("NUWb"),s=i("zlsk"),l=i("QD+P"),u=i("XCrL"),c=["inBrush","outOfBrush"],h="__ecBrushSelect",d="__ecInBrushSelectEvent",f=n.PRIORITY.VISUAL.BRUSH;function p(t,e){if(!t.isDisposed()){var i=t.getZr();i[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[d]=!1}}function g(t,e,i,n){for(var a=0,r=e.length;ae[0][1]&&(e[0][1]=r[0]),r[1]e[1][1]&&(e[1][1]=r[1])}return e&&y(e)}};function y(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},n5nI:function(t,e,i){var n=i("wRzc"),a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(i.setVisual("color",r),!e.isSeriesFiltered(t)){"function"!=typeof r||r instanceof n||i.each(function(e){i.setItemVisual(e,"color",r(t.getDataParams(e)))});return{dataEach:i.hasItemOption?function(t,e){var i=t.getItemModel(e).get(a,!0);null!=i&&t.setItemVisual(e,"color",i)}:null}}}};t.exports=a},nQkE:function(t,e,i){var n=i("/gxq"),a=i("wWR3");function r(t,e,i){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),u=n.map(o,function(e){return n.map(e.indices,function(e){var i=r.dataToPoint(t.get(s,e));return i[1]=t.get(l,e),i})}),c=function(t){for(var e=t.length,i=t[0].length,n=[],a=[],r=0,o={},s=0;sr&&(r=u),n.push(u)}for(var c=0;cr&&(r=d)}return o.y0=a,o.max=r,o}(u),h=c.y0,d=i/c.max,f=o.length,p=o[0].indices.length,g=0;ge+c&&u>a+c&&u>o+c||ut+c&&l>i+c&&l>r+c||l1){i=i.split("");var n=[t(e,i[0]),t(e,i[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var n=r.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[i],function(t){return r.getTransform(t.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}(t,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?x[o]+"-resize":null})})}function z(t,e,i,n,a,r,o){var s,l,u,c,f,p=e.childOfName(i);p&&p.setShape((s=W(t,e,[[n,a],[n+r,a+o]]),l=h(s[0][0],s[1][0]),u=h(s[0][1],s[1][1]),c=d(s[0][0],s[1][0]),f=d(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:f-u}))}function V(t){return n.defaults({strokeNoScale:!0},t.brushStyle)}function B(t,e,i,n){var a=[h(t,i),h(e,n)],r=[d(t,i),d(e,n)];return[[a[0],r[0]],[a[1],r[1]]]}function H(t,e,i,n,a,r,o,s){var l=n.__brushOption,c=t(l.range),h=F(i,r,o);u(a.split(""),function(t){var e=y[t];c[e[0]][e[1]]+=h[e[0]]}),l.range=e(B(c[0][0],c[1][0],c[0][1],c[1][1])),C(i,n),k(i,{isEnd:!1})}function G(t,e,i,n,a){var r=e.__brushOption.range,o=F(t,i,n);u(r,function(t){t[0]+=o[0],t[1]+=o[1]}),C(t,e),k(t,{isEnd:!1})}function F(t,e,i){var n=t.group,a=n.transformCoordToLocal(e,i),r=n.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function W(t,e,i){var a=L(t,e);return a&&!0!==a?a.clipPath(i,t._transform):n.clone(i)}function q(t){var e=t.event;e.preventDefault&&e.preventDefault()}function Z(t,e,i){return t.childOfName("main").contain(e,i)}function Y(t,e,i,a){var r,o=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(i.slice()),function(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],a=i[0]-n[0],r=i[1]-n[1];return f(a*a+r*r,.5)>g}(t)||o){if(s&&!o){"single"===l.brushMode&&P(t);var u=n.clone(l);u.brushType=U(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=t._creatingCover=S(t,u),t._covers.push(o)}if(o){var c=K[U(t._brushType,s)];o.__brushOption.range=c.getCreatingRange(W(t,o,t._track)),a&&(M(t,o),c.updateCommon(t,o)),I(t,o),r={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&D(t,e,i)&&P(t)&&(r={isEnd:a,removeOnClick:!0});return r}function U(t,e){return"auto"===t?e.defaultBrushType:t}w.prototype={constructor:w,enableBrush:function(t){var e,i;return this._brushType&&(i=(e=this)._zr,o.release(i,v,e._uid),u(e._handlers,function(t,e){i.off(e,t)}),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var i=t._zr;t._enableGlobalPan||o.take(i,v,t._uid);u(t._handlers,function(t,e){i.on(e,t)}),t._brushType=e.brushType,t._brushOption=n.merge(n.clone(_),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};n.each(t,function(t){e[t.panelId]=n.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=n.map(t,function(t){return n.merge(n.clone(_),t,!0)});var e="\0-brush-index-",i=this._covers,a=this._covers=[],r=this,o=this._creatingCover;return new s(i,t,function(t,e){return l(t.__brushOption,e)},l).add(u).update(u).remove(function(t){i[t]!==o&&r.group.remove(i[t])}).execute(),this;function l(t,i){return(null!=t.id?t.id:e+i)+"-"+t.brushType}function u(e,n){var s=t[e];if(null!=n&&i[n]===o)a[e]=i[n];else{var l=a[e]=null!=n?(i[n].__brushOption=s,i[n]):M(r,S(r,s));C(r,l)}}},unmount:function(){return this.enableBrush(!1),P(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},n.mixin(w,a);var j={mousedown:function(t){if(this._dragging)X.call(this,t);else if(!t.target||!t.target.draggable){q(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=D(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,i){if(t._brushType){var n=t._zr,a=t._covers,r=D(t,e,i);if(!t._dragging)for(var o=0;o=0||"+"===i?"left":"right"},h={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:m/2},f="vertical"===n?a.height:a.width,p=t.getModel("controlStyle"),g=p.get("show",!0),v=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,x=v+y,_=t.get("label.rotate")||0;_=_*m/180;var b=p.get("position",!0),w=g&&p.get("showPlayBtn",!0),S=g&&p.get("showPrevBtn",!0),M=g&&p.get("showNextBtn",!0),I=0,A=f;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=x),S&&(o=[I,0],I+=x),M&&(l=[A-v,0],A-=x)):(w&&(r=[A-v,0],A-=x),S&&(o=[0,0],I+=x),M&&(l=[A-v,0],A-=x)),u=[I,A],t.get("inverse")&&u.reverse(),{viewRect:a,mainLength:f,orient:n,rotation:d[n],labelRotation:_,labelPosOpt:i,labelAlign:t.get("label.align")||c[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[n],playPosition:r,prevBtnPosition:o,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-m/2),r.translate(o,o,[s,l]),(a=a.clone()).applyTransform(o)}var u=y(a),c=y(i.getBoundingRect()),h=y(n.getBoundingRect()),d=i.position,f=n.position;f[0]=d[0]=u[0][0];var p,g=t.labelPosOpt;isNaN(g)?(x(d,c,u,1,p="+"===g?0:1),x(f,h,u,1,1-p)):(x(d,c,u,1,p=g>=0?0:1),f[1]=d[1]+g);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,i,n,a){t[n]+=i[n][a]-e[n][a]}i.attr("position",d),n.attr("position",f),i.rotation=n.rotation=t.rotation,v(i),v(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),a=h.createScaleByModel(e,n),r=i.getDataExtent("value");a.setExtent(r[0],r[1]),this._customizeScale(a,i),a.niceTicks();var o=new u("value",a,t.axisExtent,n);return o.model=e,o},_customizeScale:function(t,e){t.getTicks=function(){return e.mapArray(["value"],function(t){return t})},t.getTicksLabels=function(){return n.map(this.getTicks(),t.getLabel,t)}},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,a){var r=i.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var a=n.getData(),r=i.scale.getTicks();g(r,function(t,r){var s=i.dataToCoord(t),l=a.getItemModel(r),u=l.getModel("itemStyle"),c=l.getModel("emphasis.itemStyle"),h={position:[s,0],onclick:p(this._changeTimeline,this,r)},d=y(l,u,e,h);o.setHoverStyle(d,c.getItemStyle()),l.get("tooltip")?(d.dataIndex=r,d.dataModel=n):d.dataIndex=d.dataModel=null},this)},_renderAxisLabel:function(t,e,i,n){var a=n.getModel("label");if(a.get("show")){var r=n.getData(),s=i.scale.getTicks(),l=h.getFormattedLabels(i,a.get("formatter")),u=i.getLabelInterval();g(s,function(n,a){if(!i.isLabelIgnored(a,u)){var s=r.getItemModel(a),c=s.getModel("label"),h=s.getModel("emphasis.label"),d=i.dataToCoord(n),f=new o.Text({position:[d,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,a),silent:!1});o.setTextStyle(f.style,c,{text:l[a],textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(f),o.setHoverStyle(f,o.setTextStyle({},h))}},this)}},_renderControl:function(t,e,i,r){var s=t.controlSize,l=t.rotation,u=r.getModel("controlStyle").getItemStyle(),c=r.getModel("emphasis.controlStyle").getItemStyle(),h=[0,-s/2,s,s],d=r.getPlayState(),f=r.get("inverse",!0);function g(t,i,d,f){if(t){var p=function(t,e,i,r){return o.makePath(t.get(e).replace(/^path:\/\//,""),n.clone(r||{}),new a(i[0],i[1],i[2],i[3]),"center")}(r,i,h,{position:t,origin:[s/2,0],rotation:f?-l:0,rectHover:!0,style:u,onclick:d});e.add(p),o.setHoverStyle(p,c)}}g(t.nextBtnPosition,"controlStyle.nextIcon",p(this._changeTimeline,this,f?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",p(this._changeTimeline,this,f?"+":"-")),g(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),p(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,i,n){var a=n.getData(),r=n.getCurrentIndex(),o=a.getItemModel(r).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,r,i,n,!0)},onUpdate:function(t){x(t,r,i,n)}};this._currentPointer=y(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,a=d.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i0?-1:i<0?1:e?-1:1}}function n(t,e){return Math.min(e[1],Math.max(e[0],t))}t.exports=function(t,e,a,r,o,s){e[0]=n(e[0],a),e[1]=n(e[1],a),t=t||0;var l=a[1]-a[0];null!=o&&(o=n(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===r&&(o=s=Math.abs(e[1]-e[0]),r=0);var u=i(e,r);e[r]+=t;var c=o||0,h=a.slice();u.sign<0?h[0]+=c:h[1]-=c,e[r]=n(e[r],h);var d=i(e,r);return null!=o&&(d.sign!==u.sign||d.spans&&(e[1-r]=e[r]+d.sign*s),e}},oqQy:function(t,e,i){var n=i("/gxq"),a=i("vjPX"),r=i("0sHC"),o=i("ay5B"),s=i("43ae"),l=a.getInterval,u=a.ifIgnoreOnTick,c=["axisLine","axisTickLabel","axisName"],h=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,i,r){var s=this.group;s.removeAll();var l=o.layout(t),u=new a(t,l);n.each(c,u.add,u),s.add(u.getGroup()),t.get("splitLine.show")&&this._splitLine(t,l.labelInterval),h.superCall(this,"render",t,e,i,r)},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var n=t.getModel("splitLine"),a=n.getModel("lineStyle"),o=a.get("width"),s=a.get("color"),c=l(n,e);s=s instanceof Array?s:[s];for(var h=t.coordinateSystem.getRect(),d=i.isHorizontal(),f=[],p=0,g=i.getTicksCoords(),m=[],v=[],y=t.get("axisLabel.showMinLabel"),x=t.get("axisLabel.showMaxLabel"),_=0;_1;)e=e.parentNode;var i=t.getAncestors()[0];return n.indexOf(i.children,e)}(t)%s];return o}(e,0,o),f=l.getModel("itemStyle").getItemStyle();if("normal"===i)h=f;else{var p=l.getModel(i+".itemStyle").getItemStyle();h=n.merge(p,f)}h=n.defaults({lineJoin:"bevel",fill:h.fill||d},h),t?(s.setShape(c),s.shape.r=u.r0,a.updateProps(s,{shape:{r:u.r}},r,e.dataIndex),s.useStyle(h)):"object"==typeof h.fill&&h.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:c},r),s.useStyle(h)):a.updateProps(s,{shape:c,style:h},r),this._updateLabel(r,d,i);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),t){var m=r.getShallow("highlightPolicy");this._initEvents(s,e,r,m)}this._seriesModel=r||this._seriesModel,this._ecModel=o||this._ecModel},u.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode(function(i){var n,a,o;i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):(n=i,a=e.node,(o=t)!==r.NONE&&(o===r.SELF?n===a:o===r.ANCESTOR?n===a||n.isAncestorOf(a):n===a||n.isDescendantOf(a))?i.piece.childAt(0).trigger("highlight"):t!==r.NONE&&i.piece.childAt(0).trigger("downplay")))})},u.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(t,e,i){var r=this.node.getModel(),o=r.getModel("label"),s="normal"===i||"emphasis"===i?o:r.getModel(i+".label"),l=r.getModel("emphasis.label"),u=n.retrieve(t.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===I("show")&&(u="");var c=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=o.get("minAngle")),h=h/180*Math.PI;var d=c.endAngle-c.startAngle;null!=h&&Math.abs(d)Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(p=c.r0+x,g>Math.PI/2&&(_="right")):"right"===_&&(p=c.r-x,g>Math.PI/2&&(_="left")):(p=(c.r+c.r0)/2,_="center"),f.attr("style",{text:u,textAlign:_,textVerticalAlign:I("verticalAlign")||"middle",opacity:I("opacity")});var b=p*m+c.cx,w=p*v+c.cy;f.attr("position",[b,w]);var S=I("rotate"),M=0;function I(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===S?(M=-g)<-Math.PI/2&&(M+=Math.PI):"tangential"===S?(M=Math.PI/2-g)>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI):"number"==typeof S&&(M=S*Math.PI/180),f.attr("rotation",M)},u._initEvents=function(t,e,i,n){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(n)},o=function(){a.onNormal()};i.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",function(){a.onDownplay()}).on("highlight",function(){a.onHighlight()})},n.inherits(l,a.Group);var c=l;t.exports=c},pmYM:function(t,e,i){var n=i("ao1T"),a=i("EJsE").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return n(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},progressive:null}});t.exports=a},pzOI:function(t,e,i){var n=i("ITiI").forceLayout,a=i("rbn0").simpleLayout,r=i("LRsb").circularLayout,o=i("wWR3").linearMap,s=i("C7PF"),l=i("/gxq");t.exports=function(t){t.eachSeriesByType("graph",function(t){if(!(v=t.coordinateSystem)||"view"===v.type)if("force"===t.get("layout")){var e=t.preservedPoints||{},i=t.getGraph(),u=i.data,c=i.edgeData,h=t.getModel("force"),d=h.get("initLayout");t.preservedPoints?u.each(function(t){var i=u.getId(t);u.setItemLayout(t,e[i]||[NaN,NaN])}):d&&"none"!==d?"circular"===d&&r(t):a(t);var f=u.getDataExtent("value"),p=c.getDataExtent("value"),g=h.get("repulsion"),m=h.get("edgeLength");l.isArray(g)||(g=[g,g]),l.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var v,y=u.mapArray("value",function(t,e){var i=u.getItemLayout(e),n=o(t,f,g);return isNaN(n)&&(n=(g[0]+g[1])/2),{w:n,rep:n,fixed:u.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}}),x=c.mapArray("value",function(t,e){var n=i.getEdgeByIndex(e),a=o(t,p,m);return isNaN(a)&&(a=(m[0]+m[1])/2),{n1:y[n.node1.dataIndex],n2:y[n.node2.dataIndex],d:a,curveness:n.getModel().get("lineStyle.curveness")||0}}),_=(v=t.coordinateSystem).getBoundingRect(),b=n(y,x,{rect:_,gravity:h.get("gravity")}),w=b.step;b.step=function(t){for(var n=0,a=y.length;n=0?parseFloat(t)/100*e:parseFloat(t):t}function C(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}e.normalizeTextStyle=function(t){return m(t),o(t.rich,m),t},e.renderText=function(t,e,i,n,a){n.rich?function(t,e,i,n,a){var r=t.__textCotentBlock;r&&!t.__dirty||(r=t.__textCotentBlock=c.parseRichText(i,n)),function(t,e,i,n,a){var r=i.width,o=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=w(0,n,a),h=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;v(e,n,a,h,d);var g=c.adjustTextX(h,o,f),m=c.adjustTextY(d,s,p),b=g,S=m;l&&(b+=l[3],S+=l[0]);var M=b+r;x(n)&&_(t,e,n,g,m,o,s);for(var I=0;I=0&&"right"===(A=T[N]).textAlign;)y(t,e,A,n,L,S,R,"right"),P-=A.width,R-=A.width,N--;for(O+=(r-(O-b)-(M-R)-P)/2;k<=N;)A=T[k],y(t,e,A,n,L,S,O+A.width/2,"center"),O+=A.width,k++;S+=L}}(t,e,r,n,a)}(t,e,i,n,a):function(t,e,i,n,a){var r=S(e,"font",n.font||c.DEFAULT_FONT),o=n.textPadding,s=t.__textCotentBlock;s&&!t.__dirty||(s=t.__textCotentBlock=c.parsePlainText(i,r,o,n.truncate));var l=s.outerHeight,u=s.lines,h=s.lineHeight,d=w(0,n,a),f=d.baseX,p=d.baseY,g=d.textAlign,m=d.textVerticalAlign;v(e,n,a,f,p);var y=c.adjustTextY(p,l,m),b=f,A=y,T=x(n);if(T||o){var D=c.getWidth(i,r),L=D;o&&(L+=o[1]+o[3]);var P=c.adjustTextX(f,L,g);T&&_(t,e,n,P,y,L,l),o&&(b=C(f,g,o),A+=o[0])}S(e,"textAlign",g||"left"),S(e,"textBaseline","middle"),S(e,"shadowBlur",n.textShadowBlur||0),S(e,"shadowColor",n.textShadowColor||"transparent"),S(e,"shadowOffsetX",n.textShadowOffsetX||0),S(e,"shadowOffsetY",n.textShadowOffsetY||0),A+=h/2;var k=n.textStrokeWidth,O=M(n.textStroke,k),R=I(n.textFill);O&&(S(e,"lineWidth",k),S(e,"strokeStyle",O)),R&&S(e,"fillStyle",R);for(var N=0;N3&&(e=i.call(e,1));for(var a=this._$handlers[t],r=a.length,o=0;o4&&(e=i.call(e,1,e.length-1));for(var a=e[e.length-1],r=this._$handlers[t],o=r.length,s=0;s=0},e.createNameEach=o,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,i){return function(r){var o,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!r)return s;a(r,s);do{o=!1,t(l)}while(o);function l(t){!function(t,e){return n.indexOf(e.nodes,t)>=0}(t,s)&&function(t,a){var r=!1;return e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]&&(r=!0)})}),r}(t,s)&&(a(t,s),o=!0)}return s};function a(t,a){a.nodes.push(t),e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]=!0})})}}},s48c:function(t,e,i){var n=i("/gxq"),a=i("0sHC"),r=i("vjPX"),o=i("43ae"),s=i("koEO"),l=r.ifIgnoreOnTick,u=r.getInterval,c=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],d=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,o){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 r(t,f);n.each(c,p.add,p),this._axisGroup.add(p.getGroup()),n.each(h,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,i,o)}},_splitLine:function(t,e,i){var r=t.axis;if(!r.scale.isBlank()){var o=t.getModel("splitLine"),s=o.getModel("lineStyle"),c=s.get("color"),h=u(o,i);c=n.isArray(c)?c:[c];for(var d=e.coordinateSystem.getRect(),f=r.isHorizontal(),p=0,g=r.getTicksCoords(),m=r.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 c(function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this.ecModel;c(function(n){u(this.get(n.axisIndex),function(a){t.call(e,n,a,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){var i=this.option;u([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(i[e[0]]=t[e[0]],i[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 i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});t.exports=f},sK5G:function(t,e,i){var n=i("/gZK"),a=i("CiLi"),r=i("/gxq"),o=i("mvCM").getDimensionTypeByAxis,s={_baseAxisDim:null,getInitialData:function(t,e){var i,a,s=e.getComponent("xAxis",this.get("xAxisIndex")),l=e.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(t.layout="horizontal",i=s.getOrdinalMeta(),a=!0):"category"===c?(t.layout="vertical",i=l.getOrdinalMeta(),a=!0):t.layout=t.layout||"horizontal";var h=["x","y"],d="horizontal"===t.layout?0:1,f=this._baseAxisDim=h[d],p=h[1-d],g=[s,l],m=g[d].get("type"),v=g[1-d].get("type"),y=t.data;if(y&&a){var x=[];r.each(y,function(t,e){var i;t.value&&r.isArray(t.value)?(i=t.value.slice(),t.value.unshift(e)):r.isArray(t)?(i=t.slice(),t.unshift(e)):i=t,x.push(i)}),t.data=x}var _=this.defaultValueDimensions;return n(this,{coordDimensions:[{name:f,type:o(m),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:o(v),dimsDef:_.slice()}],dimensionsCount:_.length+1})},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 a(this.getStyleUpdater());this.group.add(t.group)},render:function(t,e,i){this._whiskerBoxDraw.updateData(t.getData())},incrementalPrepareRender:function(t,e,i){this._whiskerBoxDraw.incrementalPrepareUpdate(t,e,i)},incrementalRender:function(t,e,i,n){this._whiskerBoxDraw.incrementalUpdate(t,e,i,n)},remove:function(t){this._whiskerBoxDraw.remove()}};e.seriesModelMixin=s,e.viewMixin=l},sOJ4:function(t,e,i){var n=i("0sHC"),a=i("C7PF"),r=n.Line.prototype,o=n.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=n.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){(s(e)?r:o).buildPath(t,e)},pointAt:function(t){return s(this.shape)?r.pointAt.call(this,t):o.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,i=s(e)?[e.x2-e.x1,e.y2-e.y1]:o.tangentAt.call(this,t);return a.normalize(i,i)}});t.exports=l},sRta:function(t,e,i){var n=i("GxVO"),a=i("dnLe"),r=n.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(o),c=Math.sin(o);t.moveTo(u*a+i,c*a+n),t.lineTo(u*r+i,c*r+n),t.arc(i,n,r,o,s,!l),t.lineTo(Math.cos(s)*a+i,Math.sin(s)*a+n),0!==a&&t.arc(i,n,a,s,o,l),t.closePath()}});t.exports=r},sTIA:function(t,e,i){var n=i("hG1p"),a=i("0sHC"),r=i("Ylhr"),o=i("wWR3"),s=o.parsePercent,l=o.round,u=o.linearMap;function c(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var h=2*Math.PI,d=r.extend({type:"gauge",render:function(t,e,i){this.group.removeAll();var n=t.get("axisLine.lineStyle.color"),a=function(t,e){var i=t.get("center"),n=e.getWidth(),a=e.getHeight(),r=Math.min(n,a);return{cx:s(i[0],e.getWidth()),cy:s(i[1],e.getHeight()),r:s(t.get("radius"),r/2)}}(t,i);this._renderMain(t,e,i,n,a)},dispose:function(){},_renderMain:function(t,e,i,n,r){for(var o=this.group,s=t.getModel("axisLine").getModel("lineStyle"),l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,c=((g=-t.get("endAngle")/180*Math.PI)-u)%h,d=u,f=s.get("width"),p=0;p=t&&(0===e?0:n[e-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:E}),silent:!0}))}if(x.get("show")&&L!==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:D});"auto"===D.stroke&&V.setStyle({stroke:n((L+z/w)/b)}),d.add(V),I+=C}I-=C}else I+=A}},_renderPointer:function(t,e,i,r,o,l,c,h){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],m=t.getData(),v=m.mapDimension("value");m.diff(f).add(function(e){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)}).update(function(e,i){var n=f.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)}).remove(function(t){var e=f.getItemGraphicEl(t);d.remove(e)}).execute(),m.eachItemGraphicEl(function(t,e){var i=m.getItemModel(e),n=i.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(n.get("width"),o.r),r:s(n.get("length"),o.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(u(m.get(v,e),p,[0,1],!0))),a.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())}),this._data=m}else f&&f.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,i,n,r){var o=t.getData(),l=o.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=r.cx+s(h[0],r.r),f=r.cy+s(h[1],r.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=n(u(m,[p,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},c,{x:d,y:f,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,r){var o=t.getModel("detail"),l=+t.get("min"),h=+t.get("max");if(o.get("show")){var d=o.get("offsetCenter"),f=r.cx+s(d[0],r.r),p=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=n(u(y,[l,h],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:f,y:p,text:c(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});t.exports=d},sYrQ:function(t,e,i){var n=i("/gxq"),a=i("dOVI"),r=i("1Xuh"),o=i("3yJd"),s=i("/BOW"),l=i("0sHC"),u=i("wWR3"),c=i("og9+"),h=n.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=u.round,v=Math.PI;function y(t,e,i){this._axesMap=n.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,i)}function x(t,e){return d(f(t,e[0]),e[1])}y.prototype={type:"parallel",constructor:y,_init:function(t,e,i){var n=t.dimensions,a=t.parallelAxisIndex;h(n,function(t,i){var n=a[i],r=e.getComponent("parallelAxis",n),l=this._axesMap.set(t,new s(t,o.createScaleByModel(r),[0,0],r.get("type"),n)),u="category"===l.type;l.onBand=u&&r.get("boundaryGap"),l.inverse=r.get("inverse"),r.axis=l,l.model=r,l.coordinateSystem=r.coordinateSystem=this},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),i=e.axisBase,n=e.layoutBase,a=e.pixelDimIndex,r=t[1-a],o=t[a];return r>=i&&r<=i+e.axisLength&&o>=n&&o<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(i){if(t.contains(i,e)){var n=i.getData();h(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=i[a[o]],l=[0,s],u=this.dimensions.length,c=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=x(f[1]-f[0],l),f[1]=f[0]+t):(t=x(c*(h-1),l),(f=[c*(e.get("axisExpandCenter")||p(u/2))-t/2])[1]=f[0]+t);var v=(s-t)/(u-h);v<3&&(v=0);var y=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],_=v/c*f[0];return{layout:r,pixelDimIndex:o,layoutBase:i[n[o]],layoutLength:s,axisBase:i[n[1-o]],axisLength:i[a[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:v,axisExpandWindow:f,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;e.each(function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])}),h(i,function(i,o){var s=(n.axisExpandable?function(t,e){var i,n,a=e.layoutLength,r=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;ta*(1-h[0])?(l="jump",o=s-a*(1-h[2])):(o=s-a*h[1])>=0&&(o=s-a*(1-h[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?c(o,n,r,"all"):l="none";else{a=n[1]-n[0];(n=[f(0,r[1]*s/a-a/2)])[1]=d(r[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var _=y;t.exports=_},srbS:function(t,e,i){i("4Nz2").__DEV__;var n=i("Icdr"),a=i("/gxq"),r=i("HcG6"),o=i("1Xuh"),s=i("wWR3");function l(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],a=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1])}var r,l=this.getBoundingRect(),u=t.get("layoutCenter"),c=t.get("layoutSize"),h=e.getWidth(),d=e.getHeight(),f=t.get("aspectScale")||.75,p=l.width/l.height*f,g=!1;if(u&&c&&(u=[s.parsePercent(u[0],h),s.parsePercent(u[1],d)],c=s.parsePercent(c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(g=!0)),g){var m={};p>1?(m.width=c,m.height=c/p):(m.height=c,m.width=c*p),m.y=u[1]-m.height/2,m.x=u[0]-m.width/2}else(r=t.getBoxLayoutParams()).aspect=p,m=o.getLayoutRect(r,{width:h,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,i){t.addGeoCoord(i,e)})}var c={dimensions:r.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",function(t,a){var o=t.get("map"),s=n.getMap(o),c=new r(o+a,o,s&&s.geoJson,s&&s.specialAreas,t.get("nameMap"));c.zoomLimit=t.get("scaleLimit"),i.push(c),u(c,t),t.coordinateSystem=c,c.model=t,c.resize=l,c.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=i[e]}});var o={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();o[e]=o[e]||[],o[e].push(t)}}),a.each(o,function(t,o){var s=n.getMap(o),c=a.map(t,function(t){return t.get("nameMap")}),h=new r(o,o,s&&s.geoJson,s&&s.specialAreas,a.mergeAll(c));h.zoomLimit=a.retrieve.apply(null,a.map(t,function(t){return t.get("scaleLimit")})),i.push(h),h.resize=l,h.resize(t[0],e),a.each(t,function(t){t.coordinateSystem=h,u(h,t)})}),i},getFilledRegions:function(t,e,i){var r=(t||[]).slice();i=i||{};var o=n.getMap(e),s=o&&o.geoJson;if(!s)return t;for(var l=a.createHashMap(),u=s.features,c=0;ce[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getTicksLabels:function(){for(var t=[],e=this.getTicks(),i=0;i0?i=n[0]:n[1]<0&&(i=n[1]),i}(o,i),l=r.dim,u=o.dim,c=e.mapDimension(u),h=e.mapDimension(l),d="x"===u||"radius"===u?1:0,f=n(e,c,h);return{dataDimsForPoint:a(t.dimensions,function(t){return e.mapDimension(t)}),valueStart:s,valueAxisDim:u,baseAxisDim:l,stacked:f,valueDim:c,baseDim:h,baseDataOffset:d,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,i,n){var a=NaN;t.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=i.get(t.baseDim,n),o[1-r]=a,e.dataToPoint(o)}},"u+XU":function(t,e){e.containStroke=function(t,e,i,n,a,r,o){if(0===a)return!1;var s=a,l=0;if(o>e+s&&o>n+s||ot+s&&r>i+s||r=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),i=d(e.shift()).split(f),n=[],r=a.map(i,function(t){return{name:t,data:[]}}),o=0;o0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=c;h&&(d=c(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var f=n.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(n)});l||f.done(function(){a.remove(n)}),f.start()}this._period=s,this._loop=l}},c.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},c.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},c.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},c.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,a=t.__t,r=t.position,o=l.quadraticAt,s=l.quadraticDerivativeAt;r[0]=o(e[0],n[0],i[0],a),r[1]=o(e[1],n[1],i[1],a);var u=s(e[0],n[0],i[0],a),c=s(e[1],n[1],i[1],a);t.rotation=-Math.atan2(c,u)-Math.PI/2,t.ignore=!1},c.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},r.inherits(u,n.Group);var h=u;t.exports=h},uJBW:function(t,e,i){var n=i("/gxq"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var r=function(t){n.each(a,function(e){this[e]=n.bind(t[e],t)},this)};t.exports=r},uNEE:function(t,e,i){var n=i("Icdr"),a=i("dZZy"),r=i("uv9t"),o=i("1Nix");n.extendChartView({type:"scatter",render:function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).updateData(n),this._finished=!0},incrementalPrepareRender:function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).incrementalPrepareUpdate(n),this._finished=!1},incrementalRender:function(t,e,i){this._symbolDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,i){var n=t.getData();if(this.group.dirty(),!this._finished||n.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateSymbolDraw:function(t,e){var i=this._symbolDraw,n=e.pipelineContext.large;return i&&n===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=n?new r:new a,this._isLargeDraw=n,this.group.removeAll()),this.group.add(i.group),i},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},uv9t:function(t,e,i){var n=i("0sHC"),a=i("kK7q").createSymbol,r=i("thE4"),o=n.extendShape({shape:{points:null},symbolProxy:null,buildPath:function(t,e){var i=e.points,n=e.size,a=this.symbolProxy,r=a.shape;if(!((t.getContext?t.getContext():t)&&n[0]<4))for(var o=0;o=0;s--){var l=2*s,u=n[l]-r/2,c=n[l+1]-o/2;if(t>=u&&e>=c&&t<=u+r&&e<=c+o)return s}return-1}});function s(){this.group=new n.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t){this.group.removeAll();var e=new o({rectHover:!0,cursor:"default"});e.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},l.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild(function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e)})}},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,e){var i;this._incremental?(i=new o,this._incremental.addDisplayable(i,!0)):((i=new o({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental)},l._setCommon=function(t,e,i){var n=e.hostModel,r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.symbolProxy=a(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=e.getVisual("color");s&&t.setColor(s),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>=0&&(t.dataIndex=i+(t.startIndex||0))}))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var u=s;t.exports=u},"v/cD":function(t,e,i){var n=i("1Xuh"),a=n.getLayoutRect,r=n.box,o=n.positionElement,s=i("HHfb"),l=i("0sHC");e.layout=function(t,e,i){var n=e.getBoxLayoutParams(),s=e.get("padding"),l={width:i.getWidth(),height:i.getHeight()},u=a(n,l,s);r(e.get("orient"),t,e.get("itemGap"),u.width,u.height),o(t,n,l,s)},e.makeBackground=function(t,e){var i=s.normalizeCssArray(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new l.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1})}},vEM8:function(t,e,i){var n=i("/gxq"),a=i("dZZy"),r=i("wWR3"),o=i("Rfu2"),s=i("vx1D");function l(t,e,i){var n=e.coordinateSystem;t.each(function(a){var o,s=t.getItemModel(a),l=r.parsePercent(s.get("x"),i.getWidth()),u=r.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(n){var c=t.get(n.dimensions[0],a),h=t.get(n.dimensions[1],a);o=n.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(a,o)})}var u=i("SZjP").extend({type:"markPoint",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markPointModel;e&&(l(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,e,i,r){var u=t.coordinateSystem,c=t.id,h=t.getData(),d=this.markerGroupMap,f=d.get(c)||d.set(c,new a),p=function(t,e,i){var a;a=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)}):[{name:"value",type:"float"}];var r=new o(a,i),l=n.map(i.get("data"),n.curry(s.dataTransform,e));t&&(l=n.filter(l,n.curry(s.dataFilter,t)));return r.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),r}(u,t,e);e.setData(p),l(e.getData(),t,r),p.each(function(t){var i=p.getItemModel(t),n=i.getShallow("symbolSize");"function"==typeof n&&(n=n(e.getRawValue(t),e.getDataParams(t))),p.setItemVisual(t,{symbolSize:n,color:i.get("itemStyle.color")||h.getVisual("color"),symbol:i.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,i){var n=i("/gxq");t.exports=function(t){var e={};t.eachSeriesByType("map",function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)}),n.each(e,function(t,e){for(var i,a,r,o=(i=n.map(t,function(t){return t.getData()}),a=t[0].get("mapValueCalculation"),r={},n.each(i,function(t){t.each(t.mapDimension("value"),function(e,i){var n="ec-"+t.getName(i);r[n]=r[n]||[],isNaN(e)||r[n].push(e)})}),i[0].map(i[0].mapDimension("value"),function(t,e){for(var n,o="ec-"+i[0].getName(e),s=0,l=1/0,u=-1/0,c=r[o].length,h=0;h=i.length&&i.push({option:t})}}),i},e.makeIdAndName=function(t){var e=n.createHashMap();a(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),a(t,function(t,i){var a=t.option;n.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={})}),a(t,function(t,i){var n=t.exist,a=t.option,o=t.keyInfo;if(r(a)){if(o.name=null!=a.name?a.name+"":n?n.name:s+i,n)o.id=n.id;else if(null!=a.id)o.id=a.id+"";else{var l=0;do{o.id="\0"+o.name+"\0"+l++}while(e.get(o.id))}e.set(o.id,t)}})},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf(s))},e.isIdInner=u,e.compressBatches=function(t,e){var i={},n={};return a(t||[],i),a(e||[],n,i),[r(i),r(n)];function a(t,e,i){for(var n=0,a=t.length;ng[1]?-1:1,x=["start"===s?g[0]-m*p:"end"===s?g[1]+m*p:(g[0]+g[1])/2,I(s)?t.labelOffset+c*p:0],_=e.get("nameRotate");null!=_&&(_=_*v/180),I(s)?n=b(t.rotation,null!=_?_:t.rotation,c):(n=function(t,e,i,n){var a,r,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;d(o-v/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*v)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*v&&o>v/2?l?"left":"right":l?"right":"left");return{rotation:o,textAlign:a,textVerticalAlign:r}}(t,s,_||0,g),null!=(r=t.axisNameAvailableWidth)&&(r=Math.abs(r/Math.sin(n.rotation)),!isFinite(r)&&(r=null)));var S=h.getFont(),M=e.get("nameTruncate",!0)||{},A=M.ellipsis,C=a(t.nameTruncateMaxWidth,M.maxWidth,r),T=null!=A&&null!=C?l.truncateText(i,C,S,A,{minChar:2,placeholder:M.placeholder}):i,D=e.get("tooltip",!0),L=e.mainType,P={componentType:L,name:i,$vars:["name"]};P[L+"Index"]=e.componentIndex;var k=new u.Text({anid:"name",__fullText:i,__truncatedText:T,position:x,rotation:n.rotation,silent:w(e),z2:1,tooltip:D&&D.show?o({content:i,formatter:function(){return i},formatterParams:P},D):null});u.setTextStyle(k.style,h,{text:T,textFont:S,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:n.textAlign,textVerticalAlign:n.textVerticalAlign}),e.get("triggerEvent")&&(k.eventData=y(e),k.eventData.targetType="axisName",k.eventData.name=i),this._dumbGroup.add(k),k.updateTransform(),this.group.add(k),k.decomposeTransform()}}},b=x.innerTextLayout=function(t,e,i){var n,a,r=f(e-t);return d(r)?(a=i>0?"top":"bottom",n="center"):d(r-v)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,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,i){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var r=g.identity([]);return g.rotate(r,r,-t.rotation),n.applyTransform(g.mul([],r,t.getLocalTransform())),a.applyTransform(g.mul([],r,e.getLocalTransform())),n.intersect(a)}}function I(t){return"middle"===t||"center"===t}var A=x.ifIgnoreOnTick=function(t,e,i,n,a,r){if(0===e&&a||e===n-1&&r)return!1;var o,s=t.scale;return"ordinal"===s.type&&("function"==typeof i?!i(o=s.getTicks()[e],s.getLabel(o)):e%(i+1))},C=x.getInterval=function(t,e){var i=t.get("interval");return null!=i&&"auto"!=i||(i=e),i};var T=x;t.exports=T},vub9:function(t,e,i){var n=i("/gxq"),a=n.each,r=n.isFunction,o=n.createHashMap,s=n.noop,l=i("gV7x").createTask,u=i("h0jU").getUID,c=i("Rtf0"),h=i("uJBW"),d=i("vXqC").normalizeToArray;function f(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished,this._dataProcessorHandlers=i.slice(),this._visualHandlers=n.slice(),this._stageTaskMap=o()}var p=f.prototype;function g(t,e,i,n,r){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}r=r||{},a(e,function(e,a){if(!r.visualType||r.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each(function(t){s(r,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),m(c,n);var f=t.getPerformArgs(c,r.block);d.each(function(t){t.perform(f)}),o|=c.perform(f)}else u&&u.each(function(a,l){s(r,a)&&a.dirty();var u=t.getPerformArgs(a,r.block);u.skip=!e.performRawSeries&&i.isSeriesFiltered(a.context.model),m(a,n),o|=a.perform(u)})}}),t.unfinished|=o}p.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context;return{step:!e&&i.progressiveEnabled&&(!n||n.canProgressiveRender)&&t.__idxInPipeline>i.bockIndex?i.step:null}}},p.getPipeline=function(t){return this._pipelineMap.get(t)},p.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData().count(),a=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,r=t.get("large")&&n>=t.get("largeThreshold");t.pipelineContext=i.context={canProgressiveRender:a,large:r}},p.restorePipelines=function(t){var e=this,i=e._pipelineMap=o();t.eachSeries(function(t){var n=t.getProgressive(),a=t.uid;i.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),bockIndex:-1,step:n||700,count:0}),I(e,t,t.dataTask)})},p.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;a([this._dataProcessorHandlers,this._visualHandlers],function(n){a(n,function(n){var r=t.get(n.uid)||t.set(n.uid,[]);n.reset&&function(t,e,i,n,a){var r=i.seriesTaskMap||(i.seriesTaskMap=o()),s=e.seriesType,u=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):u&&u(n,a).each(c);function c(i){var o=i.uid,s=r.get(o)||r.set(o,l({plan:b,reset:w,count:M}));s.context={model:i,ecModel:n,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},I(t,i,s)}var h=t._pipelineMap;r.each(function(t,e){h.get(e)||(t.dispose(),r.removeKey(e))})}(this,n,r,e,i),n.overallReset&&function(t,e,i,n,r){var s=i.overallTask=i.overallTask||l({reset:v});s.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:t};var u=s.agentStubMap=s.agentStubMap||o(),c=e.seriesType,h=e.getTargetSeries,d=!0,f=e.isOverallFilter;c?n.eachRawSeriesByType(c,p):h?h(n,r).each(p):(d=!1,a(n.getSeries(),p));function p(e){var i=e.uid,n=u.get(i)||u.set(i,l({reset:y,onDirty:_}));n.context={model:e,overallProgress:d,isOverallFilter:f},n.agent=s,n.__block=d,I(t,e,n)}var g=t._pipelineMap;u.each(function(t,e){g.get(e)||(t.dispose(),u.removeKey(e))})}(this,n,r,e,i)},this)},this)},p.prepareView=function(t,e,i,n){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=i,r.api=n,a.__block=!t.incrementalPrepareRender,I(this,e,a)},p.performDataProcessorTasks=function(t,e){g(this,this._dataProcessorHandlers,t,e,{block:!0})},p.performVisualTasks=function(t,e,i){g(this,this._visualHandlers,t,e,i)},p.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},p.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.bockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})};var m=p.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function v(t){t.overallReset(t.ecModel,t.api,t.payload)}function y(t,e){return t.overallProgress&&x}function x(){this.agent.dirty(),this.getDownstream().dirty()}function _(){this.agent&&this.agent.dirty()}function b(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function w(t){if(t.useClearVisual&&t.data.clearAllVisual(),(t.resetDefines=d(t.reset(t.model,t.ecModel,t.api,t.payload))).length)return S}function S(t,e){for(var i=e.data,n=e.resetDefines,a=0;a=0&&(l[s]=+l[s].toFixed(f)),l}var l=n.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function c(t,e,i,n){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=i.getAxis(function(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);for(var a=0;am?-1:g0?s.getItemModel(p-1).get()[2]<=m?1:-1:1,s.setItemLayout(d,{chartLayout:u,sign:t,initBaseline:g>m?w[h]:b[h],bodyEnds:I,whiskerEnds:M,brushRect:(e=A(Math.min(g,m,v,y)),n=A(Math.max(g,m,v,y)),e[c]-=l/2,n[c]-=l/2,{x:e[0],y:e[1],width:h?l:n[0]-e[0],height:h?n[1]-e[1]:l})}),++p})}})}},"w2H/":function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("NUWb"),o=i("HGSA"),s=n.PRIORITY.VISUAL.COMPONENT;function l(t,e,i,n){for(var a=e.targetVisuals[n],r=o.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,u=r.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 r.Text({z2:30});r.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],i,s,o)),n.add(v)}},_monthTextPositionControl:function(t,e,i,n,a){var r="left",o="top",s=t[0],l=t[1];return"horizontal"===i?(l+=a,e&&(r="center"),"start"===n&&(o="bottom")):(s+=a,e&&(o="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var o=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),c=n.get("align"),h=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g"],a.isArray(t)&&(t=t.slice(),n=!0),r=e?t:n?[c(t[0]),c(t[1])]:c(t),a.isString(u)?u.replace("{value}",n?r[0]:r).replace("{value2}",n?r[1]:r):a.isFunction(u)?n?u(t[0],t[1]):u(t):n?t[0]===l[0]?i[0]+" "+r[1]:t[1]===l[1]?i[1]+" "+r[0]:r[0]+" - "+r[1]:r;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,i=t.dimensions;if(null!=e||i.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var r=n[a];if(!t.getDimensionInfo(r).isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),r=e.controller||(e.controller={});a.merge(n,i),a.merge(r,i);var l=this.isCategory();function u(i){f(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")},p(this.stateList,function(t){var e=i[t];if(a.isString(e)){var n=o.get(e,"active",l);n?(i[t]={},i[t][e]=n):delete i[t]}},this)}u.call(this,n),u.call(this,r),function(t,e,i){var n=t[e],a=t[i];n&&!a&&(a=t[i]={},p(n,function(t,e){if(s.isValidType(e)){var i=o.get(e,"inactive",l);null!=i&&(a[e]=i,"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,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor");p(this.stateList,function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:l?n:[n]}),null==s.symbol&&(s.symbol=e&&a.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&a.clone(i)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,function(t){t>c&&(c=t)}),s.symbolSize=h(u,function(t){return m(t,[0,c],[0,o[0]],!0)})}},this)}.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=y},wLWv:function(t,e,i){var n=i("/gxq"),a=i("0sHC"),r=i("1Xuh"),o=i("8RN9"),s=a.Group,l=["width","height"],u=["x","y"],c=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,r){var o=this;c.superCall(this,"renderInner",t,e,i,r);var s=this._controllerGroup,l=e.get("pageIconSize",!0);n.isArray(l)||(l=[l,l]),h("pagePrev",0);var u=e.getModel("pageTextStyle");function h(t,i){var u=t+"DataIndex",c=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:n.bind(o._pageGo,o,u,e,r)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});c.name=t,s.add(c)}s.add(new a.Text({name:"pageText",style:{textFill:u.getTextColor(),font:u.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),h("pageNext",1)},layoutInner:function(t,e,i){var o=this.getContentGroup(),s=this._containerGroup,c=this._controllerGroup,h=t.getOrient().index,d=l[h],f=l[1-h],p=u[1-h];r.box(t.get("orient"),o,t.get("itemGap"),h?i.width:null,h?null:i.height),r.box("horizontal",c,t.get("pageButtonItemGap",!0));var g=o.getBoundingRect(),m=c.getBoundingRect(),v=this._showController=g[d]>i[d],y=[-g.x,-g.y];y[h]=o.position[h];var x=[0,0],_=[-m.x,-m.y],b=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));v&&("end"===t.get("pageButtonPosition",!0)?_[h]+=i[d]-m[d]:x[h]+=m[d]+b);_[1-h]+=g[f]/2-m[f]/2,o.attr("position",y),s.attr("position",x),c.attr("position",_);var w=this.group.getBoundingRect();if((w={x:0,y:0})[d]=v?i[d]:g[d],w[f]=Math.max(g[f],m[f]),w[p]=Math.min(0,m[p]+_[1-h]),s.__rectSize=i[d],v){var S={x:0,y:0};S[d]=Math.max(i[d]-m[d]-b,0),S[f]=w[f],s.setClipPath(new a.Rect({shape:S})),s.__rectSize=S[d]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(t);return null!=M.pageIndex&&a.updateProps(o,{position:M.contentPosition},!!v&&t),this._updatePageInfoView(t,M),w},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],function(n){var a=null!=e[n+"DataIndex"],r=i.childOfName(n);r&&(r.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")});var a=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",n.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e,i,n,a,r=t.get("scrollDataIndex",!0),o=this.getContentGroup(),s=o.getBoundingRect(),c=this._containerGroup.__rectSize,h=t.getOrient().index,d=l[h],f=l[1-h],p=u[h],g=o.position.slice();this._showController?o.eachChild(function(t){t.__legendDataIndex===r&&(a=t)}):a=o.childAt(0);var m=c?Math.ceil(s[d]/c):0;if(a){var v=a.getBoundingRect(),y=a.position[h]+v[p];g[h]=-y-s[p],e=Math.floor(m*(y+v[p]+c/2)/s[d]),e=s[d]&&m?Math.max(0,Math.min(m-1,e)):-1;var x,_={x:0,y:0};_[d]=c,_[f]=s[f],_[p]=-g[h]-s[p];var b=o.children();if(o.eachChild(function(t,e){var i=S(t);i.intersect(_)&&(null==x&&(x=e),n=t.__legendDataIndex),e===b.length-1&&i[p]+i[d]<=_[p]+_[d]&&(n=null)}),null!=x){var w=S(b[x]);if(_[p]=w[p]+w[d]-_[d],x<=0&&w[p]>=_[p])i=null;else{for(;x>0&&S(b[x-1]).intersect(_);)x--;i=b[x].__legendDataIndex}}}return{contentPosition:g,pageIndex:e,pageCount:m,pagePrevDataIndex:i,pageNextDataIndex:n};function S(t){var e=t.getBoundingRect().clone();return e[p]+=t.position[h],e}}}),h=c;t.exports=h},wQkr:function(t,e,i){i("cuL/"),i("sJ4e"),i("ilLo"),i("envY"),i("5Hn/"),i("8Mpj"),i("WbrJ"),i("b/SY"),i("KAfT")},wRzc:function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var n=i;t.exports=n},wTOJ:function(t,e,i){var n=i("1Xuh"),a=i("P05t"),r=i("/gxq");function o(t,e,i){r.each(t,function(t){var n,a,r,o=0,s=t.length;for(t.sort(g),r=0;r0){var l=n.getLayout().y+a;n.setLayout({y:l},!0)}o=n.getLayout().y+n.getLayout().dy+e}if((a=o-e-i)>0){l=n.getLayout().y-a;for(n.setLayout({y:l},!0),o=n.getLayout().y,r=s-2;r>=0;--r)(a=(n=t[r]).getLayout().y+n.getLayout().dy+e-o)>0&&(l=n.getLayout().y-a,n.setLayout({y:l},!0)),o=n.getLayout().y}})}function s(t,e){r.each(t.slice().reverse(),function(t){r.each(t,function(t){if(t.outEdges.length){var i=f(t.outEdges,l)/f(t.outEdges,v),n=t.getLayout().y+(i-p(t))*e;t.setLayout({y:n},!0)}})})}function l(t){return p(t.node2)*t.getValue()}function u(t,e){r.each(t,function(t){r.each(t,function(t){if(t.inEdges.length){var i=f(t.inEdges,c)/f(t.inEdges,v),n=t.getLayout().y+(i-p(t))*e;t.setLayout({y:n},!0)}})})}function c(t){return p(t.node1)*t.getValue()}function h(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 i=0,n=t.length,a=-1;++ae?1:t===e?0:NaN}function v(t){return t.getValue()}t.exports=function(t,e,i){t.eachSeriesByType("sankey",function(t){var i=t.get("nodeWidth"),l=t.get("nodeGap"),c=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=c;var p=c.width,g=c.height,y=t.getGraph(),x=y.nodes,_=y.edges;!function(t){r.each(t,function(t){var e=f(t.outEdges,v),i=f(t.inEdges,v),n=Math.max(e,i);t.setLayout({value:n},!0)})}(x),function(t,e,i,n,l,c,f){(function(t,e,i){for(var n=t,a=null,o=0;n.length;){a=[];for(var s=0,l=n.length;s0;l--)s(c,h*=.99),o(c,n,i),u(c,h),o(c,n,i)}(t,e,c,n,f),function(t){r.each(t,function(t){t.outEdges.sort(h),t.inEdges.sort(d)}),r.each(t,function(t){var e=0,i=0;r.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),r.each(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy})})}(t)}(x,_,i,l,p,g,0!==r.filter(x,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"))})}},wUOi:function(t,e,i){var n=i("C7PF"),a=i("AAi1"),r=Math.min,o=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=n.create(),h=n.create(),d=n.create();var f=[],p=[];e.fromPoints=function(t,e,i){if(0!==t.length){var n,a=t[0],s=a[0],l=a[0],u=a[1],c=a[1];for(n=1;n1e-4)return p[0]=t-i,p[1]=e-a,g[0]=t+i,void(g[1]=e+a);if(c[0]=l(r)*i+t,c[1]=s(r)*a+e,h[0]=l(o)*i+t,h[1]=s(o)*a+e,m(p,c,h),v(g,c,h),(r%=u)<0&&(r+=u),(o%=u)<0&&(o+=u),r>o&&!f?o+=u:rr&&(d[0]=l(_)*i+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}},wW3A:function(t,e,i){var n=i("wWR3"),a=n.round;function r(t){return n.getPrecisionSafe(t)+2}function o(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function s(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),o(t,0,e),o(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,i,o){var l={},u=t[1]-t[0],c=l.interval=n.nice(u/e,!0);null!=i&&co&&(c=l.interval=o);var h=l.intervalPrecision=r(c);return s(l.niceTickExtent=[a(Math.ceil(t[0]/c)*c,h),a(Math.floor(t[1]/c)*c,h)],t),l},e.getIntervalPrecision=r,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,i,n){var r=[];if(!t)return r;e[0]1e4)return[];return e[1]>(r.length?r[r.length-1]:i[1])&&r.push(e[1]),r}},wWR3:function(t,e,i){var n=i("/gxq"),a=1e-4;var r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(t){return Math.floor(Math.log(t)/Math.LN10)}e.linearMap=function(t,e,i,n){var a=e[1]-e[0],r=i[1]-i[0];if(0===a)return 0===r?i[0]:(i[0]+i[1])/2;if(n)if(a>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*r+i[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?(i=t,i.replace(/^\s+/,"").replace(/\s+$/,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var i},e.round=function(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?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,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i},e.getPrecisionSafe=function(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var a=e.indexOf(".");return a<0?0:e.length-1-a},e.getPixelPrecision=function(t,e){var i=Math.log,n=Math.LN10,a=Math.floor(i(t[1]-t[0])/n),r=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20},e.getPercentWithPrecision=function(t,e,i){if(!t[e])return 0;var a=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===a)return 0;for(var r=Math.pow(10,i),o=n.map(t,function(t){return(isNaN(t)?0:t)/a*r*100}),s=100*r,l=n.map(o,function(t){return Math.floor(t)}),u=n.reduce(l,function(t,e){return t+e},0),c=n.map(o,function(t,e){return t-l[e]});uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/r},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-a&&t=-20?+t.toFixed(i<0?-i:0):t},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,i,n){return e.interval[n]=0}},whrq:function(t,e,i){var n=i("/gxq"),a=i("vXqC"),r=i("Y5nL"),o=i("Pdtn"),s=i("kQD9"),l=i("srbS"),u=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){r.prototype.init.apply(this,arguments),a.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=n.reduce(t.regions||[],function(t,i){return i.name&&t.set(i.name,new o(i,e)),t},n.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:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new o(null,this,this.ecModel)},getFormattedLabel:function(t,e){var i=this.getRegionModel(t).get("label."+e+".formatter"),n={name:t};return"function"==typeof i?(n.status=e,i(n)):"string"==typeof i?i.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});n.mixin(u,s);var c=u;t.exports=c},xCbH:function(t,e,i){var n=i("/gxq"),a=i("/+sa"),r=i("wWR3"),o=i("tBuv"),s=a.prototype,l=o.prototype,u=r.getPrecisionSafe,c=r.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=a.extend({type:"log",base:10,$constructor:function(){a.apply(this,arguments),this._originalScale=new o},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return n.map(l.getTicks.call(this),function(n){var a=r.round(f(this.base,n));return a=n===e[0]&&t.__fixMin?m(a,i[0]):a,a=n===e[1]&&t.__fixMax?m(a,i[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 i=this.base;t=p(t)/p(i),e=p(e)/p(i),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 i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=m(e[0],n[0])),i.__fixMax&&(e[1]=m(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=r.quantity(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var a=[r.round(d(e[0]/n)*n),r.round(h(e[1]/n)*n)];this._interval=n,this._niceExtent=a}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}n.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,i){var n=i("Icdr"),a=i("/gxq"),r=i("s/lY"),o=i("Pdtn"),s=i("2uoh"),l=r.valueAxis;function u(t,e){return a.defaults({show:e},t)}var c=n.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),r=this.get("axisTick"),l=this.get("axisLabel"),u=this.get("name"),c=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),f=this.get("triggerEvent"),p=a.map(this.get("indicator")||[],function(p){null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var g=u;if(null!=p.color&&(g=a.defaults({color:p.color},u)),p=a.merge(a.clone(p),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:f},!1),c||(p.name=""),"string"==typeof h){var m=p.name;p.name=h.replace("{value}",null!=m?m:"")}else"function"==typeof h&&(p.name=h(p.name,p));var v=a.extend(new o(p,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=c},"xb/I":function(t,e,i){var n=i("/gxq"),a=i("vXqC"),r=n.each,o=n.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var i=0,a=s.length;i ")),a.value&&(u+=" : "+l(a.value)),u}return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],function(t){return null!=t.value?t:r.extend({value:0},t)}),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),h=c;t.exports=h},zAPJ:function(t,e,i){var n=i("/gxq"),a=i("0sHC"),r=i("3h1/"),o=i("HHfb"),s=i("dOVI"),l=i("3yJd"),u=i("vjPX");function c(t,e,i,n,a){var s=h(i.get("value"),e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),l=i.getModel("label"),u=o.normalizeCssArray(l.get("padding")||0),c=l.getFont(),d=r.getBoundingRect(s,c),f=a.position,p=d.width+u[1]+u[3],g=d.height+u[0]+u[2],m=a.align;"right"===m&&(f[0]-=p),"center"===m&&(f[0]-=p/2);var v=a.verticalAlign;"bottom"===v&&(f[1]-=g),"middle"===v&&(f[1]-=g/2),function(t,e,i,n){var a=n.getWidth(),r=n.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+i,r)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(f,p,g,n);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:p,height:g,r:l.get("borderRadius")},position:f.slice(),style:{text:s,textFont:c,textFill:l.getTextColor(),textPosition:"inside",fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function h(t,e,i,a,r){var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var u={value:l.getAxisRawValue(e,t),seriesData:[]};n.each(a,function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,a=e&&e.getDataParams(n);a&&u.seriesData.push(a)}),n.isString(s)?o=s.replace("{value}",o):n.isFunction(s)&&(o=s(u))}return o}function d(t,e,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),a.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}e.buildElStyle=function(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle()).fill=null:"shadow"===i&&((e=n.getAreaStyle()).stroke=null),e},e.buildLabelElOption=c,e.getValueLabel=h,e.getTransformedPosition=d,e.buildCartesianSingleLabelElOption=function(t,e,i,n,a,r){var o=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=a.get("label.margin"),c(e,n,a,r,{position:d(n.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})},e.makeLineShape=function(t,e,i){return{x1:t[i=i||0],y1:t[1-i],x2:e[i],y2:e[1-i]}},e.makeRectShape=function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}},e.makeSectorShape=function(t,e,i,n,a,r){return{cx:t,cy:e,r0:i,r:n,startAngle:a,endAngle:r,clockwise:!0}}},zMj2:function(t,e){var i=function(){this.head=null,this.tail=null,this._len=0},n=i.prototype;n.insert=function(t){var e=new a(t);return this.insertEntry(e),e},n.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++},n.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},n.len=function(){return this._len},n.clear=function(){this.head=this.tail=null,this._len=0};var a=function(t){this.value=t,this.next,this.prev},r=function(t){this._list=new i,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=r.prototype;o.put=function(t,e){var i=this._list,n=this._map,r=null;if(null==n[t]){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,i.insertEntry(s),n[t]=s}return r},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;t.exports=s},zO13:function(t,e,i){var n=i("Icdr"),a=i("/gxq"),r=i("0sHC"),o=i("HHfb"),s=i("1Xuh"),l=i("HGSA"),u=n.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,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,i=o.normalizeCssArray(e.get("padding")||0),n=t.getBoundingRect();t.add(new r.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,i){var n=(i=i||{}).forceState,r=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=r.get("itemSymbol")),"color"===e){var s=r.get("contentColor");o.color=s}function u(t){return o[t]}function c(t,e){o[t]=e}var h=r.controllerVisuals[n||r.getValueState(t)],d=l.prepareVisualTypes(h);return a.each(d,function(n){var a=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(n,e)&&a&&a.applyVisual(t,u,c)}),o[e]},positionGroup:function(t){var e=this.visualMapModel,i=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:a.noop});t.exports=u},"zZZ/":function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),a=n.createHashMap,r=(n.retrieve,n.each);var o={cartesian2d:function(t,e,i,n){var a=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",a),i.set("y",r),s(a)&&(n.set("x",a),e.firstCategoryDimIndex=0),s(r)&&(n.set("y",r),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,n){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",a),s(a)&&(n.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var a=t.getReferringComponents("polar")[0],r=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",r),i.set("angle",o),s(r)&&(n.set("radius",r),e.firstCategoryDimIndex=0),s(o)&&(n.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var a=t.ecModel,o=a.getComponent("parallel",t.get("parallelIndex")),l=e.coordSysDims=o.dimensions.slice();r(o.parallelAxisIndex,function(t,r){var o=a.getComponent("parallelAxis",t),u=l[r];i.set(u,o),s(o)&&null==e.firstCategoryDimIndex&&(n.set(u,o),e.firstCategoryDimIndex=r)})}};function s(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=function(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:a(),categoryAxisMap:a()},n=o[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}},zjhG:function(t,e,i){var n=i("Icdr");i("P0a5"),i("z+uQ");var a=i("4A6G"),r=i("nV/6");n.registerLayout(a),n.registerVisual(r)},zlsk:function(t,e,i){var n=i("N1qP"),a=i("8b51");function r(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var a=n.range;return o(e[t],a)}},rect:function(n,a,r){if(n){var s=r.range,l=[n[e[t]],n[e[t]]+n[i[t]]];return l[1]=-1e-6)return!1;var h=u(a-t,a-o,r-e,r-s)/c;if(h<0||h>1)return!1;var d=u(i-t,a-t,n-e,r-e)/c;return!(d<0||d>1)}function u(t,e,i,n){return t*n-e*i}var c={lineX:r(0),lineY:r(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&n.contain(i.range,t[0],t[1])},rect:function(t,e,i){var r=i.range;if(!t||r.length<=1)return!1;var o=t.x,l=t.y,u=t.width,c=t.height,h=r[0];return!!(n.contain(r,o,l)||n.contain(r,o+u,l)||n.contain(r,o,l+c)||n.contain(r,o+u,l+c)||a.create(t).contain(h[0],h[1])||s(o,l,o+u,l,r)||s(o,l,o,l+c,r)||s(o+u,l,o+u,l+c,r)||s(o,l+c,o+u,l+c,r))||void 0}}};t.exports=c},zz1u:function(t,e,i){i("ecfp"),i("s48c")}}); //# sourceMappingURL=0.2434b0f8db828802d1b3.js.map