(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~db300d2f"],{"00d8":function(t,e,n){var i=n("6d8b");function a(t,e){return e=e||[0,0],i.map([0,1],function(n){var i=e[n],a=t[n]/2,r=[],o=[];return r[n]=i-a,o[n]=i+a,r[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(r)[n]-this.dataToPoint(o)[n])},this)}function r(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(a,t)}}}t.exports=r},"0141":function(t,e,n){var i=n("6d8b"),a=n("9850"),r=n("6cc5"),o=n("5b87");function s(t,e,n,i){r.call(this,t),this.map=e;var a=o.load(e,n);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==i||i,this.regions=a.regions,this._rect=a.boundingRect}function l(t,e,n,i){var a=n.geoModel,r=n.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;ne&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,n=this.hostTree,i=n.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),i.getModel(t,(a||e||n.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var g=u;if(null!=p.color&&(g=a.defaults({color:p.color},u)),p=a.merge(a.clone(p),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:f},!1),c||(p.name=""),"string"===typeof h){var m=p.name;p.name=h.replace("{value}",null!=m?m:"")}else"function"===typeof h&&(p.name=h(p.name,p));var v=a.extend(new o(p,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;t.exports=h},1792:function(t,e){var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function i(t,e){if("china"===t){var i=n[e.name];if(i){var a=e.center;a[0]+=i[0]/10.5,a[1]+=-i[1]/14}}}t.exports=i},"18c0":function(t,e,n){var i=n("6d8b"),a=n("e0d8"),r=n("8e43"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s};var l=s;t.exports=l},"1ccf":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=n("fd27"),o=n("3842"),s=o.parsePercent,l=n("697e"),u=l.createScaleByModel,c=l.niceScaleExtent,h=n("2039"),d=n("ee1a"),f=d.getStackedDimension;function p(t,e,n){var i=e.get("center"),a=n.getWidth(),r=n.getHeight();t.cx=s(i[0],a),t.cy=s(i[1],r);var o=t.getRadiusAxis(),l=Math.min(a,r)/2,u=s(e.get("radius"),l);o.inverse?o.setExtent(u,0):o.setExtent(0,u)}function g(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();a.each(e.mapDimension("radius",!0),function(t){r.scale.unionExtentFromData(e,f(e,t))}),a.each(e.mapDimension("angle",!0),function(t){i.scale.unionExtentFromData(e,f(e,t))})}}),c(i.scale,i.model),c(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),s=360/i.scale.count();i.inverse?o[1]+=s:o[1]-=s,i.setExtent(o[0],o[1])}}function m(t,e){if(t.type=e.get("type"),t.scale=u(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}n("78f0");var v={dimensions:r.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,i){var a=new r(i);a.update=g;var o=a.getRadiusAxis(),s=a.getAngleAxis(),l=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");m(o,l),m(s,u),p(a,t,e),n.push(a),t.coordinateSystem=a,a.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=n.coordinateSystem}}),n}};h.register("polar",v)},"1e32":function(t,e,n){var i=n("6d8b"),a=n("3842"),r=a.parsePercent,o=n("ee1a"),s=o.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t){return t.dim}function c(t,e,n){n.getWidth(),n.getHeight();var a={},r=h(i.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),o=l(t),c=r[u(i)][o],h=c.offset,d=c.width,f=n.getOtherAxis(i),p=t.coordinateSystem.cx,g=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,v=t.get("barMinAngle")||0;a[o]=a[o]||[];for(var y=e.mapDimension(f.dim),x=e.mapDimension(i.dim),_=s(e,y),b=f.getExtent()[0],w=0,M=e.count();w=0?"p":"n",E=b;if(_&&(a[o][T]||(a[o][T]={p:b,n:b}),E=a[o][T][k]),"radius"===f.dim){var R=f.dataToRadius(S)-b,O=i.dataToAngle(T);Math.abs(R)>>1;t[a][1]n&&(s=n);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=r/f,m=a.nice(p/t,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,x=[Math.round(u((i[0]-y)/f)*f+y),Math.round(c((i[1]-y)/f)*f+y)];o.fixExtent(x,i),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(t){return+a.parseDate(t)}});i.each(["contain","normalize"],function(t){m.prototype[t]=function(e){return l[t].call(this,this.parse(e))}});var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(t){return new m({useUTC:t.ecModel.get("useUTC")})};var y=m;t.exports=y},"217c":function(t,e,n){var i=n("6d8b"),a=n("6cb7");n("df3a");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&&i.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},setAxisExpand:function(t){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);i.each(n,function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})}});t.exports=r},"217d":function(t,e){function n(t,e){var n,i=0,a=t.length;for(i;i=0)?(n={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))):null!=r&&(n={textFill:null},t.textFill=r),n&&(t.insideRollback=n)}}function ft(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function pt(t,e){var n=e||e.getModel("textStyle");return i.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function gt(t,e,n,i,a,r){"function"===typeof a&&(r=a,a=null);var o=i&&i.isAnimationEnabled();if(o){var s=t?"Update":"",l=i.getShallow("animationDuration"+s),u=i.getShallow("animationEasing"+s),c=i.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(a,i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null)),"function"===typeof l&&(l=l(a)),l>0?e.animateTo(n,l,c||0,u,r,!!r):(e.stopAnimation(),e.attr(n),r&&r())}else e.stopAnimation(),e.attr(n),r&&r()}function mt(t,e,n,i,a){gt(!0,t,e,n,i,a)}function vt(t,e,n,i,a){gt(!1,t,e,n,i,a)}function yt(t,e){var n=o.identity([]);while(t&&t!==e)o.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function xt(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=o.invert([],e)),s.applyTransform([],t,e)}function _t(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-i:"right"===t?i:0,"top"===t?-a:"bottom"===t?a:0];return r=xt(r,e,n),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function bt(t,e,n,a){if(t&&e){var r=o(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=l(t);t.attr(l(e)),mt(t,i,n,t.dataIndex)}}})}function o(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}}function wt(t,e){return i.map(t,function(t){var n=t[0];n=A(n,e.x),n=C(n,e.x+e.width);var i=t[1];return i=A(i,e.y),i=C(i,e.y+e.height),[n,i]})}function Mt(t,e){var n=A(t.x,e.x),i=C(t.x+t.width,e.x+e.width),a=A(t.y,e.y),r=C(t.y+t.height,e.y+e.height);if(i>=n&&r>=a)return{x:n,y:a,width:i-n,height:r-a}}function St(t,e,n){e=i.extend({rectHover:!0},e);var a=e.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),i.defaults(a,n),new c(e)):L(t.replace("path://",""),e,n,"center")}e.Z2_EMPHASIS_LIFT=E,e.extendShape=R,e.extendPath=O,e.makePath=L,e.makeImage=N,e.mergePath=B,e.resizePath=z,e.subPixelOptimizeLine=F,e.subPixelOptimizeRect=V,e.subPixelOptimize=W,e.setElementHoverStyle=J,e.isInEmphasis=$,e.setHoverStyle=it,e.setAsHoverStyleTrigger=at,e.setLabelStyle=rt,e.setTextStyle=ot,e.setText=st,e.getFont=pt,e.updateProps=mt,e.initProps=vt,e.getTransform=yt,e.applyTransform=xt,e.transformDirection=_t,e.groupTransition=bt,e.clipPointsByRect=wt,e.clipRectByRect=Mt,e.createIcon=St},"23e0":function(t,e,n){var i=n("6d8b"),a=n("7887"),r=n("89e3"),o=n("3842"),s=n("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("2039");function h(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new a(n,new r);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle,a=this.cx+t*Math.cos(i),r=this.cy-t*Math.sin(i);return[a,r]},h.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var a,r=Math.atan2(-n,e),o=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]))}else{var g=a.getTicks().length-1;g>r&&(d=s(d));var m=Math.round((n[0]+n[1])/2/d)*d,v=Math.round(r/2);a.setExtent(o.round(m-v*d),o.round(m+(r-v)*d)),a.setInterval(d)}})},h.dimensions=[],h.create=function(t,e){var n=[];return t.eachComponent("radar",function(i){var a=new h(i,t,e);n.push(a),i.coordinateSystem=a}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])}),n},c.register("radar",h);var d=h;t.exports=d},"26e1":function(t,e,n){var i=n("6d8b"),a=n("e0d3"),r=i.each,o=i.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,a=s.length;n=0||a&&i.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}t.exports=a},"29a8":function(t,e){var n={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:""}}}};t.exports=n},"2b17":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=(a.isTypedArray,a.extend),o=(a.assert,a.each),s=a.isObject,l=n("e0d3"),u=l.getDataItemValue,c=l.isDataItemOption,h=n("3842"),d=h.parseDate,f=n("ec6f"),p=n("93d0"),g=p.SOURCE_FORMAT_TYPED_ARRAY,m=p.SOURCE_FORMAT_ARRAY_ROWS,v=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function x(t,e){f.isInstance(t)||(t=f.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===g&&(this._offset=0,this._dimSize=e,this._data=n);var a=b[i===m?i+"_"+t.seriesLayoutBy:i];r(this,a)}var _=x.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var b={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:S},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/a*r+n[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function u(t){return t.sort(function(t,e){return t-e}),t}function c(t){if(t=+t,isNaN(t))return 0;var e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function h(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var a=e.indexOf(".");return a<0?0:e.length-1-a}function d(t,e){var n=Math.log,i=Math.LN10,a=Math.floor(n(t[1]-t[0])/i),r=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20}function f(t,e,n){if(!t[e])return 0;var a=i.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===a)return 0;var r=Math.pow(10,n),o=i.map(t,function(t){return(isNaN(t)?0:t)/a*r*100}),s=100*r,l=i.map(o,function(t){return Math.floor(t)}),u=i.reduce(l,function(t,e){return t+e},0),c=i.map(o,function(t,e){return t-l[e]});while(uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/r}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function m(t){return t>-a&&t=-20?+t.toFixed(i<0?-i:0):t}function w(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),a=+t[i-1],r=n-i;return r?a+r*(t[i]-a):a}function M(t){t.sort(function(t,e){return s(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=u,e.getPrecision=c,e.getPrecisionSafe=h,e.getPixelPrecision=d,e.getPercentWithPrecision=f,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=m,e.parseDate=y,e.quantity=x,e.nice=b,e.quantile=w,e.reformIntervals=M,e.isNumeric=S},"38a2":function(t,e,n){var i=n("2b17"),a=i.retrieveRawValue,r=n("eda2"),o=r.getTooltipMarker,s=r.formatTpl,l=n("e0d3"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),a=n.getRawIndex(t),r=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"color"),c=this.ecModel.getComponent("tooltip"),h=c&&c.get("renderMode"),d=u(h),f=this.mainType,p="series"===f;return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:r,dataIndex:a,data:s,dataType:e,value:i,color:l,marker:o({color:l,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,i,r){e=e||"normal";var o=this.getData(n),l=o.getItemModel(t),u=this.getDataParams(t,n);null!=i&&u.value instanceof Array&&(u.value=u.value[i]);var h=l.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);if("function"===typeof h)return u.status=e,h(u);if("string"===typeof h){var d=s(h,u);return d.replace(c,function(e,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),a(o,t,n)})}},getRawValue:function(t,e){return a(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},3901:function(t,e,n){var i=n("282b"),a=i([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(t){var e=a(this,t),n=this.getLineDash(e.lineWidth);return n&&(e.lineDash=n),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"===e||null==e?null:"dashed"===e?[i,i]:[n,n]}};t.exports=r},"3eba":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("697e7")),r=n("6d8b"),o=n("41ef"),s=n("22d1"),l=n("04f6"),u=n("1fab"),c=n("7e63"),h=n("843e"),d=n("2039"),f=n("ca98"),p=n("fb05"),g=n("d15d"),m=n("6cb7"),v=n("4f85"),y=n("b12f"),x=n("e887"),_=n("2306"),b=n("e0d3"),w=n("88b3"),M=w.throttle,S=n("fd63"),T=n("b809"),I=n("998c"),D=n("69ff"),A=n("c533"),C=n("f219");n("0352");var k=n("ec34"),E=r.assert,R=r.each,O=r.isFunction,L=r.isObject,N=m.parseClassType,P="4.2.1",B={zrender:"4.0.6"},z=1,F=1e3,V=5e3,W=1e3,H=2e3,G=3e3,U=4e3,j=5e3,Y={PROCESSOR:{FILTER:F,STATISTIC:V},VISUAL:{LAYOUT:W,GLOBAL:H,CHART:G,COMPONENT:U,BRUSH:j}},q="__flagInMainProcess",Z="__optionUpdated",X=/^[a-zA-Z0-9_]+$/;function K(t){return function(e,n,i){e=e&&e.toLowerCase(),u.prototype[t].call(this,e,n,i)}}function J(){u.call(this)}function $(t,e,n){n=n||{},"string"===typeof e&&(e=Dt[e]),this.id,this.group,this._dom=t;var i="canvas",o=this._zr=a.init(t,{renderer:n.renderer||i,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=M(r.bind(o.flush,o),17);e=r.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=xt(this);function c(t,e){return t.__prio-e.__prio}l(It,c),l(Mt,c),this._scheduler=new D(this,s,Mt,It),u.call(this,this._ecEventProcessor=new _t),this._messageCenter=new J,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),lt(o,this),r.setAsPrimitive(this)}J.prototype.on=K("on"),J.prototype.off=K("off"),J.prototype.one=K("one"),r.mixin(J,u);var Q=$.prototype;function tt(t,e,n){var i,a=this._model,r=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(a,e);for(var o=0;o0&&t.unfinished);t.unfinished||this._zr.flush()}}},Q.getDom=function(){return this._dom},Q.getZr=function(){return this._zr},Q.setOption=function(t,e,n){var i;if(L(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[q]=!0,!this._model||e){var a=new f(this._api),r=this._theme,o=this._model=new c(null,null,r,a);o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,St),n?(this[Z]={silent:i},this[q]=!1):(nt(this),et.update.call(this),this._zr.flush(),this[Z]=!1,this[q]=!1,ot.call(this,i),st.call(this,i))},Q.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Q.getModel=function(){return this._model},Q.getOption=function(){return this._model&&this._model.getOption()},Q.getWidth=function(){return this._zr.getWidth()},Q.getHeight=function(){return this._zr.getHeight()},Q.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Q.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},Q.getSvgDataUrl=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},Q.getDataURL=function(t){t=t||{};var e=t.excludeComponents,n=this._model,i=[],a=this;R(e,function(t){n.eachComponent({mainType:t},function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(i.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 R(i,function(t){t.group.ignore=!1}),r},Q.getConnectedDataURL=function(t){if(s.canvasSupported){var e=this.group,n=Math.min,i=Math.max,o=1/0;if(kt[e]){var l=o,u=o,c=-o,h=-o,d=[],f=t&&t.pixelRatio||1;r.each(Ct,function(a,o){if(a.group===e){var s=a.getRenderedCanvas(r.clone(t)),f=a.getDom().getBoundingClientRect();l=n(f.left,l),u=n(f.top,u),c=i(f.right,c),h=i(f.bottom,h),d.push({dom:s,left:f.left,top:f.top})}}),l*=f,u*=f,c*=f,h*=f;var p=c-l,g=h-u,m=r.createCanvas();m.width=p,m.height=g;var v=a.init(m);return R(d,function(t){var e=new _.Image({style:{x:t.left*f-l,y:t.top*f-u,image:t.dom}});v.add(e)}),v.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},Q.convertToPixel=r.curry(tt,"convertToPixel"),Q.convertFromPixel=r.curry(tt,"convertFromPixel"),Q.containPixel=function(t,e){var n,i=this._model;return t=b.parseFinder(i,t),r.each(t,function(t,i){i.indexOf("Models")>=0&&r.each(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)n|=!!a.containPoint(e);else if("seriesModels"===i){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(n|=r.containPoint(e,t))}},this)},this),!!n},Q.getVisual=function(t,e){var n=this._model;t=b.parseFinder(n,t,{defaultMainType:"series"});var i=t.seriesModel,a=i.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?a.indexOfRawIndex(t.dataIndex):null;return null!=r?a.getItemVisual(r,e):a.getVisual(e)},Q.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},Q.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var et={prepareAndUpdate:function(t){nt(this),et.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,a=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),a.create(e,n),r.performDataProcessorTasks(e,t),at(this,e),a.update(e,n),ct(e),r.performVisualTasks(e,t),ht(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)i.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}pt(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var a=[];e.eachComponent(function(r,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,i,t);l&&l.update&&a.push(s)}else a.push(s)});var o=r.createHashMap();e.eachSeries(function(a){var r=n._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,i,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)}),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),ft(n,e,i,t,o),pt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),ht(this,this._model,this._api,t),pt(e,this._api))},updateVisual:function(t){et.update.call(this,t)},updateLayout:function(t){et.update.call(this,t)}};function nt(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),ut(t,"component",e,n),ut(t,"chart",e,n),n.plan()}function it(t,e,n,i,a){var o=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};a&&(l.subType=a);var u=n.excludeSeriesId;null!=u&&(u=r.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,function(e){u&&null!=u.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else R(t._componentsViews.concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}}function at(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})}function rt(t,e){var n=t.type,i=t.escapeConnect,a=bt[n],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&N(s[0]),this[q]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=r.map(t.batch,function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e}));var h,d=[],f="highlight"===n||"downplay"===n;R(u,function(t){h=a.action(t,this._model,this._api),h=h||r.extend({},t),h.type=o.event||h.type,d.push(h),f?it(this,l,t,"series"):s&&it(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[Z]?(nt(this),et.update.call(this,t),this[Z]=!1):et[l].call(this,t)),h=c?{type:o.event||n,escapeConnect:i,batch:d}:d[0],this[q]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ot(t){var e=this._pendingActions;while(e.length){var n=e.shift();rt.call(this,n,t)}}function st(t){!t&&this.trigger("updated")}function lt(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[Z]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}function ut(t,e,n,i){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!s.node&&n.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function vt(t,e){var n=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",n)})})}function yt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))})}function xt(t){var e=t._coordSysMgr;return r.extend(new h(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}}})}function _t(){this.eventInfo}Q._initEvents=function(){R(gt,function(t){var e=function(e){var n,i=this.getModel(),a=e.target,o="globalout"===t;if(o)n={};else if(a&&null!=a.dataIndex){var s=a.dataModel||i.getSeriesByIndex(a.seriesIndex);n=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(n=r.extend({},a.eventData));if(n){var l=n.componentType,u=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=n.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:n,model:c,view:h},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)},this),R(wt,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},Q.isDisposed=function(){return this._disposed},Q.clear=function(){this.setOption({series:[]},!0)},Q.dispose=function(){if(!this._disposed){this._disposed=!0,b.setAttribute(this.getDom(),Ot,"");var t=this._api,e=this._model;R(this._componentsViews,function(n){n.dispose(e,t)}),R(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete Ct[this.id]}},r.mixin($,u),_t.prototype={constructor:_t,normalizeQuery:function(t){var e={},n={},i={};if(r.isString(t)){var a=N(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,function(t,a){for(var r=!1,l=0;l0&&c===a.length-u.length){var h=a.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(a)&&(n[a]=t,r=!0),r||(i[a]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var a=i.targetEl,r=i.packedEvent,o=i.model,s=i.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,r,"name")&&c(u,r,"dataIndex")&&c(u,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,r));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var bt={},wt={},Mt=[],St=[],Tt=[],It=[],Dt={},At={},Ct={},kt={},Et=new Date-0,Rt=new Date-0,Ot="_echarts_instance_";function Lt(t){var e=0,n=1,i=2,a="__connectUpdateStatus";function r(t,e){for(var n=0;n=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[a]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-a]=0===a?n.y+n.height/2:n.x+n.width/2,i}};var c=u;t.exports=c},"4c86":function(t,e,n){var i=n("6d8b"),a=i.each,r=n("bda7"),o=n("e0d3"),s=o.makeInner,l=n("320a"),u=n("1792"),c=n("6bd4"),h=n("a7f2"),d=s(),f={load:function(t,e){var n=d(e).parsed;if(n)return n;var i,o=e.specialAreas||{},s=e.geoJSON;try{i=s?r(s):[]}catch(f){throw new Error("Invalid geoJson format\n"+f.message)}return a(i,function(e){var n=e.name;u(t,e),c(t,e),h(t,e);var i=o[n];i&&e.transformTo(i.left,i.top,i.width,i.height)}),l(t,i),d(e).parsed={regions:i,boundingRect:p(i)}}};function p(t){for(var e,n=0;n":"\n",d="richText"===i,f={},p=0;function g(n){var o=a.reduce(n,function(t,e,n){var i=v.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)},0),h=[];function g(t,n){var a=v.getDimensionInfo(n);if(a&&!1!==a.otherDims.tooltip){var g=a.type,m="sub"+r.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:i,markerId:m}),x="string"===typeof y?y:y.content,_=(o?x+l(a.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):u(t));_&&h.push(_),d&&(f[m]=w,++p)}}y.length?a.each(y,function(e){g(S(v,t,e),e)}):a.each(n,g);var m=o?d?"\n":"
":"",x=m+h.join(m||", ");return{renderMode:i,content:x,style:f}}function m(t){return{renderMode:i,content:l(u(t)),style:f}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=a.isArray(_),w=v.getItemVisual(t,"color");a.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var M=x>1||b&&!x?g(_):m(x?S(v,t,y[0]):b?_[0]:_),T=M.content,I=r.seriesIndex+"at"+p,D=c({color:w,type:"item",renderMode:i,markerId:I});f[I]=w,++p;var A=v.getName(t),C=this.name;h.isNameSpecified(this)||(C=""),C=C?l(C)+(e?": ":o):"";var k="string"===typeof D?D:D.content,E=e?k+C+T:C+k+(A?l(A)+": "+T:T);return{html:E,markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,a=f.getColorFromPalette.call(this,t,e,n);return a||(a=i.getColorFromPalette(t,e,n)),a},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function D(t){var e=t.name;h.isNameSpecified(t)||(t.name=A(t)||e)}function A(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),i=[];return a.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}function C(t){return t.model.getRawData().count()}function k(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),E}function E(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function R(t,e){a.each(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,a.curry(O,e))})}function O(t){var e=L(t);e&&e.setOutputEnd(this.count())}function L(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var a=i.agentStubMap;a&&(i=a.get(t.uid))}return i}}a.mixin(I,p),a.mixin(I,f);var N=I;t.exports=N},"551f":function(t,e,n){var i=n("282b"),a=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),r={getItemStyle:function(t,e){var n=a(this,t,e),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=r},"5aa9":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=a.isObject,o=a.each,s=a.map,l=a.indexOf,u=(a.retrieve,n("f934")),c=u.getLayoutRect,h=n("697e"),d=h.createScaleByModel,f=h.ifAxisCrossZero,p=h.niceScaleExtent,g=h.estimateLabelUnionRect,m=n("cbe9"),v=n("ec02"),y=n("2039"),x=n("ee1a"),_=x.getStackedDimension;function b(t,e,n){return t.getCoordSysModel()===e}function w(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}n("8ed2");var M=w.prototype;function S(t,e,n,i){n.getAxesOnZeroOf=function(){return a?[a]:[]};var a,r=t[e],o=n.model,s=o.get("axisLine.onZero"),l=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)T(r[l])&&(a=r[l]);else for(var u in r)if(r.hasOwnProperty(u)&&T(r[u])&&!i[c(r[u])]){a=r[u];break}a&&(i[c(a)]=!0)}function c(t){return t.dim+"_"+t.index}}function T(t){return t&&"category"!==t.type&&"time"!==t.type&&f(t)}function I(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}M.type="grid",M.axisPointerEnabled=!0,M.getRect=function(){return this._rect},M.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),o(n.x,function(t){p(t.scale,t.model)}),o(n.y,function(t){p(t.scale,t.model)});var i={};o(n.x,function(t){S(n,"y",t,i)}),o(n.y,function(t){S(n,"x",t,i)}),this.resize(this.model,e)},M.resize=function(t,e,n){var i=c(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=i;var a=this._axesList;function r(){o(a,function(t){var e=t.isHorizontal(),n=e?[0,i.width]:[0,i.height],a=t.inverse?1:0;t.setExtent(n[a],n[1-a]),I(t,e?i.x:i.y)})}r(),!n&&t.get("containLabel")&&(o(a,function(t){if(!t.model.get("axisLabel.inside")){var e=g(t);if(e){var n=t.isHorizontal()?"height":"width",a=t.model.get("axisLabel.margin");i[n]-=e[n]+a,"top"===t.position?i.y+=e.height+a:"left"===t.position&&(i.x+=e.width+a)}}}),r())},M.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},M.getAxes=function(){return this._axesList.slice()},M.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}r(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i=0;o--)null==n[o]&&(delete a[e[o]],e.pop())}function p(t,e){var n=t.visual,a=[];i.isObject(n)?s(n,function(t){a.push(t)}):null!=n&&a.push(n);var r={color:1,symbol:1};e||1!==a.length||r.hasOwnProperty(t.type)||(a[1]=a[0]),w(t,a)}function g(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:_([0,1])}}function m(t){var e=this.option.visual;return e[Math.round(o(t,[0,1],[0,e.length-1],!0))]||{}}function v(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function y(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function x(){return this.option.visual[0]}function _(t){return{linear:function(e){return o(e,t,this.option.visual,!0)},category:y,piecewise:function(e,n){var i=b.call(this,n);return null==i&&(i=o(e,t,this.option.visual,!0)),i},fixed:x}}function b(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=c.findPieceIndex(t,n),a=n[i];if(a&&a.visual)return a.visual[this.type]}}function w(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=i.map(e,function(t){return a.parse(t)})),e}var M={linear:function(t){return o(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=c.findPieceIndex(t,e,!0);if(null!=n)return o(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?u:e},fixed:i.noop};function S(t,e,n){return t?e<=n:e65535?y:_}function w(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],S=["_extent","_approximateExtent","_rawExtent"];function T(t,e){a.each(M.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,a.each(S,function(n){t[n]=a.clone(e[n])}),t._calculationInfo=a.extend(e._calculationInfo)}var I=function(t,e){t=t||["x","y"];for(var n={},i=[],r={},o=0;o=0?this._indices[t]:-1}function O(t,e){var n=t._idList[e];return null==n&&(n=k(t,t._idDimIdx,e)),null==n&&(n=m+e),n}function L(t){return a.isArray(t)||(t=[t]),t}function N(t,e){var n=t.dimensions,i=new I(a.map(n,t.getDimensionInfo,t),t.hostModel);T(i,t);for(var r=i._storage={},o=t._storage,s=0;s=0?(r[l]=P(o[l]),i._rawExtent[l]=B(),i._extent[l]=null):r[l]=o[l])}return i}function P(t){for(var e=new Array(t.length),n=0;nx[1]&&(x[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},C(this)},D._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,a=this._rawData,r=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pS[1]&&(S[1]=M)}if(!a.pure){var T=u[y];if(v&&null==T)if(null!=v.name)u[y]=T=v.name;else if(null!=n){var I=o[n],D=r[I][x];if(D){T=D[_];var k=l[I].ordinalMeta;k&&k.categories.length&&(T=k.categories[T])}}var E=null==v?null:v.id;null==E&&null!=T&&(d[T]=d[T]||0,E=T,d[T]>0&&(E+="__ec__"+d[T]),d[T]++),null!=E&&(c[y]=E)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent={},C(this)}},D.count=function(){return this._count},D.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){a=new e(n);for(var i=0;i=0&&e=0&&es&&(s=u)}return i=[o,s],this._extent[t]=i,i},D.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},D.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},D.getCalculationInfo=function(t){return this._calculationInfo[t]},D.setCalculationInfo=function(t,e){f(t)?a.extend(this._calculationInfo,t):this._calculationInfo[t]=e},D.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var i=0,a=this.count();i=this._rawCount||t<0)return-1;var e=this._indices,n=e[t];if(null!=n&&nt))return r;a=r-1}}return-1},D.indicesOfNearest=function(t,e,n){var i=this._storage,a=i[t],r=[];if(!a)return r;null==n&&(n=1/0);for(var o=Number.MAX_VALUE,s=-1,l=0,u=this.count();l=0&&s<0)&&(o=h,s=c,r.length=0),r.push(l))}return r},D.getRawIndex=E,D.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=u&&y<=c||isNaN(y))&&(o[s++]=d),d++}h=!0}else if(2===i){f=this._storage[l];var x=this._storage[e[1]],_=t[e[1]][0],w=t[e[1]][1];for(p=0;p=u&&y<=c||isNaN(y))&&(S>=_&&S<=w||isNaN(S))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===i)for(v=0;v=u&&y<=c||isNaN(y))&&(o[s++]=T)}else for(v=0;vt[D][1])&&(I=!1)}I&&(o[s++]=this.getRawIndex(v))}return sw[1]&&(w[1]=b)}}}return r},D.downSample=function(t,e,n,i){for(var a=N(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(b(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gh[1]&&(h[1]=x),d[f++]=_}return a._count=f,a._indices=d,a.getRawIndex=R,a},D.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},D.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),function(e){return O(t,e)},function(t){return O(e,t)})},D.getVisual=function(t){var e=this._visual;return e&&e[t]},D.setVisual=function(t,e){if(f(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},D.setLayout=function(t,e){if(f(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},D.getLayout=function(t){return this._layout[t]},D.getItemLayout=function(t){return this._itemLayouts[t]},D.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?a.extend(this._itemLayouts[t]||{},e):e},D.clearItemLayouts=function(){this._itemLayouts.length=0},D.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],a=i&&i[e];return null!=a||n?a:this.getVisual(e)},D.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=i,f(e))for(var r in e)e.hasOwnProperty(r)&&(i[r]=e[r],a[r]=!0);else i[e]=n,a[e]=!0},D.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var z=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};D.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(z,e)),this._graphicEls[t]=e},D.getItemGraphicEl=function(t){return this._graphicEls[t]},D.eachItemGraphicEl=function(t,e){a.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},D.cloneShallow=function(t){if(!t){var e=a.map(this.dimensions,this.getDimensionInfo,this);t=new I(e,this.hostModel)}if(t._storage=this._storage,T(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?R:E,t},D.wrapMethod=function(t,e){var n=this[t];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(a.slice(arguments)))})},D.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],D.CHANGABLE_METHODS=["filterSelf","selectRange"];var F=I;t.exports=F},"625e":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(r),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return a.extend(n.prototype,t),n.extend=this.extend,n.superCall=d,n.superApply=f,a.inherits(n,this),n.superClass=e,n}}var c=0;function h(t){var e=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){var n=a.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function f(t,e,n){return this.superClass.prototype[e].apply(t,n)}function p(t,e){e=e||{};var n={};function i(t){var e=n[t.main];return e&&e[o]||(e=n[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==o){var a=i(e);a[e.sub]=t}}else n[e.main]=t;return t},t.getClass=function(t,e,i){var a=n[t];if(a&&a[o]&&(a=e?a[e]:null),i&&!a)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return a},t.getClassesByMainType=function(t){t=s(t);var e=[],i=n[t.main];return i&&i[o]?a.each(i,function(t,n){n!==o&&e.push(t)}):e.push(i),e},t.hasClass=function(t){return t=s(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return a.each(n,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){t=s(t);var e=n[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var n=r.call(this,e);return t.registerClass(n,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=u,e.enableClassCheck=h,e.enableClassManagement=p,e.setReadOnly=g},6569:function(t,e,n){var i=n("6d8b"),a=n("e0d3");function r(t){o(t),s(t)}function o(t){if(!t.parallel){var e=!1;i.each(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function s(t){var e=a.normalizeToArray(t.parallelAxis);i.each(e,function(e){if(i.isObject(e)){var n=e.parallelIndex||0,r=a.normalizeToArray(t.parallel)[n];r&&r.parallelAxisDefault&&i.merge(e,r.parallelAxisDefault,!1)}})}t.exports=r},"66fc":function(t,e,n){var i=n("6d8b"),a=n("84ce"),r=function(t,e,n,i,r){a.call(this,t,e,n),this.type=i||"value",this.position=r||"bottom",this.orient=null};r.prototype={constructor:r,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},i.inherits(r,a);var o=r;t.exports=o},"697e":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=n("18c0"),o=n("89e3"),s=n("e0d8"),l=n("3842"),u=n("9d57"),c=u.prepareLayoutBarSeries,h=u.makeColumnLayout,d=u.retrieveColumnLayout,f=n("9850");function p(t,e){var n,i,r,o=t.type,s=e.getMin(),u=e.getMax(),d=null!=s,f=null!=u,p=t.getExtent();"ordinal"===o?n=e.getCategories().length:(i=e.get("boundaryGap"),a.isArray(i)||(i=[i||0,i||0]),"boolean"===typeof i[0]&&(i=[0,0]),i[0]=l.parsePercent(i[0],1),i[1]=l.parsePercent(i[1],1),r=p[1]-p[0]||Math.abs(p[0])),null==s&&(s="ordinal"===o?n?0:NaN:p[0]-i[0]*r),null==u&&(u="ordinal"===o?n?n-1:NaN:p[1]+i[1]*r),"dataMin"===s?s=p[0]:"function"===typeof s&&(s=s({min:p[0],max:p[1]})),"dataMax"===u?u=p[1]:"function"===typeof u&&(u=u({min:p[0],max:p[1]})),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(a.eqNaN(s)||a.eqNaN(u)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&u>0&&!d&&(s=0),s<0&&u<0&&!f&&(u=0));var m=e.ecModel;if(m&&"time"===o){var v,y=c("bar",m);if(a.each(y,function(t){v|=t.getBaseAxis()===e.axis}),v){var x=h(y),_=g(s,u,e,x);s=_.min,u=_.max}}return[s,u]}function g(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],s=d(i,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;a.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;a.each(s,function(t){u=Math.max(t.offset+t.width,u)}),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=e-t,f=1-(l+u)/o,p=h/f-h;return e+=p*(u/c),t-=p*(l/c),{min:t,max:e}}function m(t,e){var n=p(t,e),i=null!=e.getMin(),a=null!=e.getMax(),r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:r,fixMin:i,fixMax:a,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function v(t,e){if(e=e||t.get("type"),e)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)}}function y(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function x(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}}(e),e):"function"===typeof e?function(i,a){return null!=n&&(a=i-n),e(_(t,i),a)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function b(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,a,r="category"===t.type,o=n.getExtent();r?a=n.count():(i=n.getTicks(),a=i.length);var s,l=t.getLabelModel(),u=x(t),c=1;a>40&&(c=Math.ceil(a/40));for(var h=0;hn.blockIndex,r=a?n.step:null,o=i&&i.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&a>=n.threshold,o=t.get("large")&&a>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries(function(t){var i=t.getProgressive(),a=t.uid;n.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),R(e,t,t.dataTask)})},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;a(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,[]);i.reset&&b(this,i,a,e,n),i.overallReset&&w(this,i,a,e,n)},this)},y.prepareView=function(t,e,n,i){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=n,r.api=i,a.__block=!t.incrementalPrepareRender,R(this,e,a)},y.performDataProcessorTasks=function(t,e){x(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,n){x(this,this._visualHandlers,t,e,n)},y.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},y.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function b(t,e,n,i,a){var r=n.seriesTaskMap||(n.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function u(n){var o=n.uid,s=r.get(o)||r.set(o,c({plan:D,reset:A,count:E}));s.context={model:n,ecModel:i,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},R(t,n,s)}e.createOnAllSeries?i.eachRawSeries(u):o?i.eachRawSeriesByType(o,u):l&&l(i,a).each(u);var h=t._pipelineMap;r.each(function(t,e){h.get(e)||(t.dispose(),r.removeKey(e))})}function w(t,e,n,i,r){var o=n.overallTask=n.overallTask||c({reset:M});o.context={ecModel:i,api:r,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),u=e.seriesType,h=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;function p(e){var n=e.uid,i=l.get(n);i||(i=l.set(n,c({reset:S,onDirty:I})),o.dirty()),i.context={model:e,overallProgress:d,modifyOutputEnd:f},i.agent=o,i.__block=d,R(t,e,i)}u?i.eachRawSeriesByType(u,p):h?h(i,r).each(p):(d=!1,a(i.getSeries(),p));var g=t._pipelineMap;l.each(function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))})}function M(t){t.overallReset(t.ecModel,t.api,t.payload)}function S(t,e){return t.overallProgress&&T}function T(){this.agent.dirty(),this.getDownstream().dirty()}function I(){this.agent&&this.agent.dirty()}function D(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function A(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=m(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,function(t,e){return k(e)}):C}var C=k(0);function k(t){return function(e,n){var i=n.data,a=n.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r=0;o--)r=i.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return i.each(p.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=i.map(e,function(t){return l(t).main}),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(p),r.enableTopologicalTravel(p,g),i.mixin(p,d);var m=p;t.exports=m},"6cc5":function(t,e,n){var i=n("6d8b"),a=n("401b"),r=n("1687"),o=n("9850"),s=n("0cde"),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,n,i){var a=n.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[t](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new o(t,e,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,i){this.transformTo(t,e,n,i),this._viewRect=new o(t,e,n,i)},transformTo:function(t,e,n,i){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(t,e,n,i)),r.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=a.applyTransform([],i,t),n=a.applyTransform([],n,t),e.origin=i,e.position=[n[0]-i[0],n[1]-i[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?l(n,t,i):a.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(c,s);var d=c;t.exports=d},"71ad":function(t,e,n){var i=n("6d8b"),a={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=i.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),r.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5},a),r.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=i.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;t.exports=o},7368:function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=n("625e"),o=r.enableClassCheck;function s(t){return"_EC_"+t}var l=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function h(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(t,e){t=t||""+e;var n=this._nodesMap;if(!n[s(t)]){var i=new c(t,e);return i.hostGraph=this,this.nodes.push(i),n[s(t)]=i,i}},u.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},u.getNodeById=function(t){return this._nodesMap[s(t)]},u.addEdge=function(t,e,n){var i=this._nodesMap,a=this._edgesMap;if("number"===typeof t&&(t=this.nodes[t]),"number"===typeof e&&(e=this.nodes[e]),c.isInstance(t)||(t=i[s(t)]),c.isInstance(e)||(e=i[s(e)]),t&&e){var r=t.id+"-"+e.id;if(!a[r]){var o=new h(t,e,n);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),a[r]=o,o}}},u.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},u.getEdge=function(t,e){c.isInstance(t)&&(t=t.id),c.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},u.eachNode=function(t,e){for(var n=this.nodes,i=n.length,a=0;a=0&&t.call(e,n[a],a)},u.eachEdge=function(t,e){for(var n=this.edges,i=n.length,a=0;a=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&t.call(e,n[a],a)},u.breadthFirstTraverse=function(t,e,n,i){if(c.isInstance(e)||(e=this._nodesMap[s(e)]),e){for(var a="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r=0&&n.node2.dataIndex>=0});for(a=0,r=i.length;a=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};a.mixin(c,d("hostGraph","data")),a.mixin(h,d("hostGraph","edgeData")),l.Node=c,l.Edge=h,o(c),o(h);var f=l;t.exports=f},7887:function(t,e,n){var i=n("6d8b"),a=n("84ce");function r(t,e,n){a.call(this,t,e,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(r,a);var o=r;t.exports=o},"78f0":function(t,e,n){var i=n("3eba");n("d9f1");var a=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e,n=this.ecModel;return n.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=a},"7e63":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=a.each,o=a.filter,s=a.map,l=a.isArray,u=a.indexOf,c=a.isObject,h=a.isString,d=a.createHashMap,f=a.assert,p=a.clone,g=a.merge,m=a.extend,v=a.mixin,y=n("e0d3"),x=n("4319"),_=n("6cb7"),b=n("8971"),w=n("e47b"),M=n("0f99"),S=M.resetSourceDefaulter,T="\0_ec_inner",I=x.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new x(n),this._optionManager=i},setOption:function(t,e){f(!(T in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):C.call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=n.getTimelineOption(this);a&&(this.mergeOption(a),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o.length&&r(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];function a(i,a){var o=y.normalizeToArray(t[i]),s=y.mappingToExists(n.get(i),o);y.makeIdAndName(s),r(s,function(t,e){var n=t.option;c(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=E(i,n,t.exist))});var l=k(n,a);e[i]=[],n.set(i,[]),r(s,function(t,a){var r=t.exist,o=t.option;if(f(c(o)||r,"Empty component definition"),o){var s=_.getClass(i,t.keyInfo.subType,!0);if(r&&r instanceof s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var u=m({dependentModels:l,componentIndex:a},t.keyInfo);r=new s(o,this,this,u),m(r,u),r.init(o,this,this,u),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);n.get(i)[a]=r,e[i][a]=r.option},this),"series"===i&&R(this,n.get("series"))}S(this),r(t,function(t,n){null!=t&&(_.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?p(t):g(e[n],t,!0))}),_.topologicalTravel(i,_.getAllClassMainTypes(),a,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return r(t,function(e,n){if(_.hasClass(n)){e=y.normalizeToArray(e);for(var i=e.length-1;i>=0;i--)y.isIdInner(e[i])&&e.splice(i,1);t[n]=e}}),delete t[T],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,a=t.id,r=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=i)l(i)||(i=[i]),n=o(s(i,function(t){return c[t]}),function(t){return!!t});else if(null!=a){var h=l(a);n=o(c,function(t){return h&&u(a,t.id)>=0||!h&&t.id===a})}else if(null!=r){var d=l(r);n=o(c,function(t){return d&&u(r,t.name)>=0||!d&&t.name===r})}else n=c.slice();return O(n,t)},findComponents:function(t){var e=t.query,n=t.mainType,i=r(e),a=i?this.queryComponents(i):this._componentsMap.get(n);return s(O(a,t));function r(t){var e=n+"Index",i=n+"Id",a=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[a]?null:{mainType:n,index:t[e],id:t[i],name:t[a]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"===typeof t)n=e,e=t,i.each(function(t,i){r(t,function(t,a){e.call(n,i,t,a)})});else if(h(t))r(i.get(t),e,n);else if(c(t)){var a=this.findComponents(t);r(a,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(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 o(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){L(this),r(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){L(this),r(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];a.subType===t&&e.call(n,a,i)},this)},eachRawSeriesByType:function(t,e,n){return r(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return L(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){L(this);var n=o(this._componentsMap.get("series"),t,e);R(this,n)},restoreData:function(t){var e=this._componentsMap;R(this,e.get("series"));var n=[];e.each(function(t,e){n.push(e)}),_.topologicalTravel(n,_.getAllClassMainTypes(),function(n,i){r(e.get(n),function(e){("series"!==n||!D(e,t))&&e.restoreData()})})}});function D(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,a=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=a&&t.name!==a}}function A(t,e){var n=t.color&&!t.colorLayer;r(e,function(e,i){"colorLayer"===i&&n||_.hasClass(i)||("object"===typeof e?t[i]=t[i]?g(t[i],e,!1):p(e):null==t[i]&&(t[i]=e))})}function C(t){t=t,this.option={},this.option[T]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,A(t,this._theme.option),g(t,b,!1),this.mergeOption(t)}function k(t,e){l(e)||(e=e?[e]:[]);var n={};return r(e,function(e){n[e]=(t.get(e)||[]).slice()}),n}function E(t,e,n){var i=e.type?e.type:n?n.subType:_.determineSubType(t,e);return i}function R(t,e){t._seriesIndicesMap=d(t._seriesIndices=s(e,function(t){return t.componentIndex})||[])}function O(t,e){return e.hasOwnProperty("subType")?o(t,function(t){return t.subType===e.subType}):t}function L(t){}v(I,w);var N=I;t.exports=N},"7f96":function(t,e){function n(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,i,a){var r=t.getData(),o=t.get("symbol")||e,s=t.get("symbolSize"),l=t.get("symbolKeepAspect");if(r.setVisual({legendSymbol:n||o,symbol:o,symbolSize:s,symbolKeepAspect:l}),!i.isSeriesFiltered(t)){var u="function"===typeof s;return{dataEach:r.hasItemOption||u?c:null}}function c(e,n){if("function"===typeof s){var i=t.getRawValue(n),a=t.getDataParams(n);e.setItemVisual(n,"symbolSize",s(i,a))}if(e.hasItemOption){var r=e.getItemModel(n),o=r.getShallow("symbol",!0),l=r.getShallow("symbolSize",!0),u=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(n,"symbol",o),null!=l&&e.setItemVisual(n,"symbolSize",l),null!=u&&e.setItemVisual(n,"symbolKeepAspect",u)}}}}}t.exports=n},"80f0":function(t,e){function n(t){return t}function i(t,e,i,a,r){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=a||n,this.context=r}function a(t,e,n,i,a){for(var r=0;r0&&(t.coord-=u/(2*(e+1)))}),s={coord:e[o-1].coord+u},e.push(s)}var c=l[0]>l[1];h(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift()),r&&h(l[0],e[0].coord)&&e.unshift({coord:l[0]}),h(l[1],s.coord)&&(r?s.coord=l[1]:e.pop()),r&&h(s.coord,l[1])&&e.push({coord:l[1]})}function h(t,e){return c?t>e:t=n&&t<=i},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),g(n,i.count())),s(t,f,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),g(n,i.count()));var a=s(t,n,f,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=c(this,e),i=n.ticks,a=r(i,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),o=e.get("alignWithLabel");return m(this,a,n.tickCategoryInterval,o,t.clamp),a},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}};var v=p;t.exports=v},"862d":function(t,e,n){var i=n("6d8b"),a=i.createHashMap,r=i.each,o=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n("e0d3"),d=h.normalizeToArray,f=n("0f99"),p=f.guessOrdinal,g=n("ec6f"),m=n("2f45"),v=m.OTHER_DIMENSIONS;function y(t,e,n){g.isInstance(e)||(e=g.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),h=a(n.encodeDef),f=a(),m=a(),y=[],b=x(e,t,i,n.dimCount),w=0;w=0?h():c=setTimeout(h,-a),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function o(t,e,o,s){var l=t[e];if(l){var u=l[n]||l,c=l[a],h=l[i];if(h!==o||c!==s){if(null==o||!s)return t[e]=u;l=t[e]=r(u,o,"debounce"===s),l[n]=u,l[a]=s,l[i]=o}return l}}function s(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}e.throttle=r,e.createOrUpdate=o,e.clear=s},8918:function(t,e,n){var i=n("6d8b"),a=n("625e"),r=a.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=r(t),e[t.main]=n},t.determineSubType=function(n,i){var a=i.type;if(!a){var o=r(n).main;t.hasSubTypes(n)&&e[o]&&(a=e[o](i))}return a},t}function u(t,e){function n(t){var n={},o=[];return i.each(t,function(s){var l=a(n,s),u=l.originalDeps=e(s),c=r(u,t);l.entryCount=c.length,0===l.entryCount&&o.push(s),i.each(c,function(t){i.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=a(n,t);i.indexOf(e.successor,t)<0&&e.successor.push(s)})}),{graph:n,noEntryList:o}}function a(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var n=[];return i.each(t,function(t){i.indexOf(e,t)>=0&&n.push(t)}),n}t.topologicalTravel=function(t,e,a,r){if(t.length){var o=n(e),s=o.graph,l=o.noEntryList,u={};i.each(t,function(t){u[t]=!0});while(l.length){var c=l.pop(),h=s[c],d=!!u[c];d&&(a.call(r,c,h.originalDeps.slice()),delete u[c]),i.each(h.successor,d?p:f)}i.each(u,function(){throw new Error("Circle dependency may exists")})}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){u[t]=!0,f(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=u},8971:function(t,e){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var i={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=i},"89e3":function(t,e,n){var i=n("3842"),a=n("eda2"),r=n("e0d8"),o=n("944e"),s=i.round,l=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=i.getPrecisionSafe(t)||0:"auto"===n&&(n=this._intervalPrecision),t=s(t,n,!0),a.addCommas(t)},niceTicks:function(t,e,n){t=t||5;var i=this._extent,a=i[1]-i[0];if(isFinite(a)){a<0&&(a=-a,i.reverse());var r=o.intervalScaleNiceTicks(i,t,e,n);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax?e[0]-=n/2:(e[1]+=n/2,e[0]-=n/2)}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/a)*a)),t.fixMax||(e[1]=s(Math.ceil(e[1]/a)*a))}});l.create=function(){return new l};var u=l;t.exports=u},"8b7f":function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=a.createHashMap,o=(a.retrieve,a.each);function s(t){var e=t.get("coordinateSystem"),n={coordSysName:e,coordSysDims:[],axisMap:r(),categoryAxisMap:r()},i=l[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var l={cartesian2d:function(t,e,n,i){var a=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",a),n.set("y",r),u(a)&&(i.set("x",a),e.firstCategoryDimIndex=0),u(r)&&(i.set("y",r),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",a),u(a)&&(i.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var a=t.getReferringComponents("polar")[0],r=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",r),n.set("angle",o),u(r)&&(i.set("radius",r),e.firstCategoryDimIndex=0),u(o)&&(i.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var a=t.ecModel,r=a.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=r.dimensions.slice();o(r.parallelAxisIndex,function(t,r){var o=a.getComponent("parallelAxis",t),l=s[r];n.set(l,o),u(o)&&null==e.firstCategoryDimIndex&&(i.set(l,o),e.firstCategoryDimIndex=r)})}};function u(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=s},"8c2a":function(t,e,n){var i=n("6d8b"),a=n("e0d8"),r=n("3842"),o=n("89e3"),s=a.prototype,l=o.prototype,u=r.getPrecisionSafe,c=r.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=a.extend({type:"log",base:10,$constructor:function(){a.apply(this,arguments),this._originalScale=new o},getTicks:function(){var t=this._originalScale,e=this._extent,n=t.getExtent();return i.map(l.getTicks.call(this),function(i){var a=r.round(f(this.base,i));return a=i===e[0]&&t.__fixMin?m(a,n[0]):a,a=i===e[1]&&t.__fixMax?m(a,n[1]):a,a},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var n=this.base;t=p(t)/p(n),e=p(e)/p(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=m(e[0],i[0])),n.__fixMax&&(e[1]=m(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=r.quantity(n),a=t/n*i;a<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var o=[r.round(d(e[0]/i)*i),r.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}i.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}}),g.create=function(){return new g};var v=g;t.exports=v},"8df8":function(t,e,n){"use strict";t.exports=r,t.exports.isMobile=r,t.exports.default=r;var i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function r(t){t||(t={});var e=t.ua;if(e||"undefined"===typeof navigator||(e=navigator.userAgent),e&&e.headers&&"string"===typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]),"string"!==typeof e)return!1;var n=t.tablet?a.test(e):i.test(e);return!n&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==e.indexOf("Macintosh")&&-1!==e.indexOf("Safari")&&(n=!0),n}},"8e43":function(t,e,n){var i=n("6d8b"),a=i.createHashMap,r=i.isObject,o=i.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&o(n,c);return new s({categories:i,needCollect:!i,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=a(t.categories))}function c(t){return r(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!==typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=u(this);return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e};var h=s;t.exports=h},"8e95":function(t,e,n){var i=n("c195");t.exports=new i},"8ed2":function(t,e,n){n("48c7");var i=n("6cb7"),a=i.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=a},9020:function(t,e){function n(t){this.options=t,!t.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},t.exports=n},9273:function(t,e,n){var i=n("6d8b"),a=n("84ce");function r(t,e){a.call(this,"radius",t,e),this.type="category"}r.prototype={constructor:r,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:a.prototype.dataToCoord,radiusToData:a.prototype.coordToData},i.inherits(r,a);var o=r;t.exports=o},"93d0":function(t,e){var n="original",i="arrayRows",a="objectRows",r="keyedColumns",o="unknown",s="typedArray",l="column",u="row";e.SOURCE_FORMAT_ORIGINAL=n,e.SOURCE_FORMAT_ARRAY_ROWS=i,e.SOURCE_FORMAT_OBJECT_ROWS=a,e.SOURCE_FORMAT_KEYED_COLUMNS=r,e.SOURCE_FORMAT_UNKNOWN=o,e.SOURCE_FORMAT_TYPED_ARRAY=s,e.SERIES_LAYOUT_BY_COLUMN=l,e.SERIES_LAYOUT_BY_ROW=u},"944e":function(t,e,n){var i=n("3842"),a=i.round;function r(t,e,n,r){var s={},u=t[1]-t[0],c=s.interval=i.nice(u/e,!0);null!=n&&cr&&(c=s.interval=r);var h=s.intervalPrecision=o(c),d=s.niceTickExtent=[a(Math.ceil(t[0]/c)*c,h),a(Math.floor(t[1]/c)*c,h)];return l(d,t),s}function o(t){return i.getPrecisionSafe(t)+2}function s(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function u(t,e,n,i){var r=[];if(!t)return r;var o=1e4;e[0]o)return[]}return e[1]>(r.length?r[r.length-1]:n[1])&&r.push(e[1]),r}e.intervalScaleNiceTicks=r,e.getIntervalPrecision=o,e.fixExtent=l,e.intervalScaleGetTicks=u},"98e7":function(t,e,n){var i=n("6d8b"),a=i.createHashMap;function r(t){return{getTargetSeries:function(e){var n={},i=a();return e.eachSeriesByType(t,function(t){t.__paletteScope=n,i.set(t.uid,t)}),i},reset:function(t,e){var n=t.getRawData(),i={},a=t.getData();a.each(function(t){var e=a.getRawIndex(t);i[e]=t}),n.each(function(e){var r=i[e],o=null!=r&&a.getItemVisual(r,"color",!0);if(o)n.setItemVisual(e,"color",o);else{var s=n.getItemModel(e),l=s.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());n.setItemVisual(e,"color",l),null!=r&&a.setItemVisual(r,"color",l)}})}}}t.exports=r},"998c":function(t,e,n){var i=n("6d8b"),a=n("2306"),r=Math.PI;function o(t,e){e=e||{},i.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new a.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new a.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new a.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut");var l=new a.Group;return l.add(o),l.add(s),l.add(n),l.resize=function(){var e=t.getWidth()/2,i=t.getHeight()/2;o.setShape({cx:e,cy:i});var a=o.shape.r;s.setShape({x:e-a,y:i-a,width:2*a,height:2*a}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}t.exports=o},"9bdb":function(t,e,n){var i=n("282b"),a=i([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),r={getAreaStyle:function(t,e){return a(this,t,e)}};t.exports=r},"9d57":function(t,e,n){var i=n("6d8b"),a=n("3842"),r=a.parsePercent,o=n("ee1a"),s=o.isDimensionStacked,l=n("cccd"),u="__ec_stack_",c=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function d(t){return t.get("stack")||u+t.seriesIndex}function f(t){return t.dim+t.index}function p(t){var e=[],n=t.axis,a="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=0?"p":"n",E=_;if(y&&(r[l][T]||(r[l][T]={p:_,n:_}),E=r[l][T][k]),x){var R=n.dataToPoint([S,T]);I=E,D=R[1]+c,A=R[0]-_,C=h,Math.abs(A)c||(u=c),{progress:d}}function d(t,e){var c,d=new h(2*t.count),f=[],p=[],g=0;while(null!=(c=t.next()))p[l]=e.get(r,c),p[1-l]=e.get(o,c),f=n.dataToPoint(p,null,f),d[g++]=f[0],d[g++]=f[1];e.setLayout({largePoints:d,barWidth:u,valueAxisStart:M(i,a,!1),valueAxisHorizontal:s})}}};function b(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function w(t){return t.pipelineContext&&t.pipelineContext.large}function M(t,e,n){var i,a,r=e.getGlobalExtent();r[0]>r[1]?(i=r[1],a=r[0]):(i=r[0],a=r[1]);var o=e.toGlobalCoord(e.dataToCoord(0));return oa&&(o=a),o}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=m,e.retrieveColumnLayout=y,e.layout=x,e.largeLayout=_},"9e47":function(t,e,n){var i=n("6d8b"),a=n("71ad"),r=n("6cb7"),o=n("f934"),s=o.getLayoutParams,l=o.mergeLayoutParam,u=n("8e43"),c=["value","category","time","log"];function h(t,e,n,o){i.each(c,function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,u=o?s(e):{},c=a.getTheme();i.merge(e,c.get(r+"Axis")),i.merge(e,this.getDefaultOption()),e.type=n(t,e),o&&l(e,u,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.mergeAll([{},a[r+"Axis"],o],!0)})}),r.registerSubTypeDefaulter(t+"Axis",i.curry(n,t))}t.exports=h},a15a:function(t,e,n){var i=n("6d8b"),a=n("2306"),r=n("9850"),o=a.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=e.width/2,r=e.height/2;t.moveTo(n,i-r),t.lineTo(n+a,i+r),t.lineTo(n-a,i+r),t.closePath()}}),s=a.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=e.width/2,r=e.height/2;t.moveTo(n,i-r),t.lineTo(n+a,i),t.lineTo(n,i+r),t.lineTo(n-a,i),t.closePath()}}),l=a.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,a=e.width/5*3,r=Math.max(a,e.height),o=a/2,s=o*o/(r-o),l=i-r+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,h=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(n-c,l+s),t.arc(n,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),t.closePath()}}),u=a.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,a=e.x,r=e.y,o=i/3*2;t.moveTo(a,r),t.lineTo(a+o,r+n),t.lineTo(a,r+n/4*3),t.lineTo(a-o,r+n),t.lineTo(a,r),t.closePath()}}),c={line:a.Line,rect:a.Rect,roundRect:a.Rect,square:a.Rect,circle:a.Circle,diamond:s,pin:l,arrow:u,triangle:o},h={line:function(t,e,n,i,a){a.x1=t,a.y1=e+i/2,a.x2=t+n,a.y2=e+i/2},rect:function(t,e,n,i,a){a.x=t,a.y=e,a.width=n,a.height=i},roundRect:function(t,e,n,i,a){a.x=t,a.y=e,a.width=n,a.height=i,a.r=Math.min(n,i)/4},square:function(t,e,n,i,a){var r=Math.min(n,i);a.x=t,a.y=e,a.width=r,a.height=r},circle:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.r=Math.min(n,i)/2},diamond:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.width=n,a.height=i},pin:function(t,e,n,i,a){a.x=t+n/2,a.y=e+i/2,a.width=n,a.height=i},arrow:function(t,e,n,i,a){a.x=t+n/2,a.y=e+i/2,a.width=n,a.height=i},triangle:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.width=n,a.height=i}},d={};i.each(c,function(t,e){d[e]=new t});var f=a.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style,e=this.shape;"pin"===e.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,n){var i=e.symbolType,a=d[i];"none"!==e.symbolType&&(a||(i="rect",a=d[i]),h[i](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n))}});function p(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}function g(t,e,n,i,o,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),u=0===t.indexOf("image://")?a.makeImage(t.slice(8),new r(e,n,i,o),l?"center":"cover"):0===t.indexOf("path://")?a.makePath(t.slice(7),{},new r(e,n,i,o),l?"center":"cover"):new f({shape:{symbolType:t,x:e,y:n,width:i,height:o}}),u.__isEmptyBrush=c,u.setColor=p,u.setColor(s),u}e.createSymbol=g},a7f2:function(t,e){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function i(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}t.exports=i},a991:function(t,e,n){var i=n("6d8b"),a=n("e86a"),r=n("84ce"),o=n("e0d3"),s=o.makeInner,l=s();function u(t,e){e=e||[0,360],r.call(this,"angle",t,e),this.type="category"}u.prototype={constructor:u,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:r.prototype.dataToCoord,angleToData:r.prototype.coordToData,calculateCategoryInterval:function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],s=t.dataToCoord(o+1)-t.dataToCoord(o),u=Math.abs(s),c=a.getBoundingRect(o,e.getFont(),"center","top"),h=Math.max(c.height,7),d=h/u;isNaN(d)&&(d=1/0);var f=Math.max(0,Math.floor(d)),p=l(t.model),g=p.lastAutoInterval,m=p.lastTickCount;return null!=g&&null!=m&&Math.abs(g-f)<=1&&Math.abs(m-r)<=1&&g>f?f=g:(p.lastTickCount=r,p.lastAutoInterval=f),f}},i.inherits(u,r);var c=u;t.exports=c},aa3e:function(t,e,n){var i=n("6d8b");function a(t,e){return e=e||[0,0],i.map(["x","y"],function(n,i){var a=this.getAxis(n),r=e[i],o=t[i]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))},this)}function r(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(a,t)}}}t.exports=r},b12f:function(t,e,n){var i=n("e1fc"),a=n("8918"),r=n("625e"),o=function(){this.group=new i,this.uid=a.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,i){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0});var l=o;t.exports=l},b1d4:function(t,e,n){var i=n("862d");function a(t,e){return e=e||{},i(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=a},b719:function(t,e,n){var i=n("697e7");e.zrender=i;var a=n("1687");e.matrix=a;var r=n("401b");e.vector=r;var o=n("6d8b"),s=n("41ef");e.color=s;var l=n("2306"),u=n("3842");e.number=u;var c=n("eda2");e.format=c;var h=n("88b3");h.throttle;e.throttle=h.throttle;var d=n("1548");e.helper=d;var f=n("bda7");e.parseGeoJSON=f;var p=n("6179");e.List=p;var g=n("4319");e.Model=g;var m=n("84ce");e.Axis=m;var v=n("22d1");e.env=v;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){x[t]=o[t]});var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){_[t]=l[t]}),e.parseGeoJson=y,e.util=x,e.graphic=_},b809:function(t,e,n){var i=n("6d8b"),a=n("29a8"),r=n("2b17"),o=r.retrieveRawValue;function s(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var r=0;e.eachSeries(function(t,e){++r},this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(r,u);if(!(r<1)){var h=m();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=r>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:r}),e.eachSeries(function(t,e){if(e1?"multiple":"single")+".";n=g(i?a+"withName":a+"withoutName"),n=p(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:v(t.subType)});var s=t.getData();window.data=s,s.count()>l?n+=p(g("data.partialData"),{displayCnt:l}):n+=g("data.allData");for(var u=[],h=0;h>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=r,a=s,r=l,i.push([s/n,l/n])}return i}function s(t){return r(t),i.map(i.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var e=t.properties,n=t.geometry,r=n.coordinates,o=[];"Polygon"===n.type&&o.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===n.type&&i.each(r,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new a(e.name,o,e.cp);return s.properties=e,s})}t.exports=s},c195:function(t,e,n){var i=n("bcf7"),a=n("217d"),r=a.each,o=a.isFunction,s=a.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(t,e,n){var a=this.queries,l=n&&this.browserIsIncapable;return a[t]||(a[t]=new i(t,l)),o(e)&&(e={match:e}),s(e)||(e=[e]),r(e,function(e){o(e)&&(e={match:e}),a[t].addHandler(e)}),this},unregister:function(t,e){var n=this.queries[t];return n&&(e?n.removeHandler(e):(n.clear(),delete this.queries[t])),this}},t.exports=l},c533:function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],i={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};t.exports=i},c62c:function(t,e,n){var i=n("6d8b"),a=n("6cb7"),r=n("9e47"),o=n("2023"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(t,e){return e.type||(e.data?"category":"value")}i.merge(s.prototype,o),r("single",s,u,l);var c=s;t.exports=c},c92f:function(t,e,n){var i=n("3041"),a=i.parseSVG,r=i.makeViewBoxTransform,o=n("e1fc"),s=n("c7a2"),l=n("6d8b"),u=l.assert,c=l.createHashMap,h=n("9850"),d=n("e0d3"),f=d.makeInner,p=f(),g={load:function(t,e){var n=p(e).originRoot;if(n)return{root:n,boundingRect:p(e).boundingRect};var i=m(e);return p(e).originRoot=i.root,p(e).boundingRect=i.boundingRect,i},makeGraphic:function(t,e,n){var i=p(e),a=i.rootMap||(i.rootMap=c()),r=a.get(n);if(r)return r;var o=i.originRoot,s=i.boundingRect;return i.originRootHostKey?r=m(e,s).root:(i.originRootHostKey=n,r=o),a.set(n,r)},removeGraphic:function(t,e,n){var i=p(e),a=i.rootMap;a&&a.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}};function m(t,e){var n,i,l=t.svgXML;try{n=l&&a(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},i=n.root,u(null!=i)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var c=n.width,d=n.height,f=n.viewBoxRect;if(e||(e=null==c||null==d?i.getBoundingRect():new h(0,0,0,0),null!=c&&(e.width=c),null!=d&&(e.height=d)),f){var p=r(f,e.width,e.height),g=i;i=new o,i.add(g),g.scale=p.scale,g.position=p.position}return i.setClipPath(new s({shape:e.plain()})),{root:i,boundingRect:e}}t.exports=g},ca98:function(t,e,n){var i=n("6d8b"),a=n("e0d3"),r=n("6cb7"),o=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,n){var a,r,s=[],l=[],u=t.timeline;if(t.baseOption&&(r=t.baseOption),(u||t.options)&&(r=r||{},s=(t.options||[]).slice()),t.media){r=r||{};var c=t.media;o(c,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})}return r||(r=t),r.timeline||(r.timeline=u),o([r].concat(s).concat(i.map(l,function(t){return t.option})),function(t){o(e,function(e){e(t,n)})}),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}function f(t,e,n){var a={width:e,height:n,aspectratio:e/n},r=!0;return i.each(t,function(t,e){var n=e.match(c);if(n&&n[1]&&n[2]){var i=n[1],o=n[2].toLowerCase();p(a[o],t,i)||(r=!1)}}),r}function p(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function m(t,e){e=e||{},o(e,function(e,n){if(null!=e){var i=t[n];if(r.hasClass(n)){e=a.normalizeToArray(e),i=a.normalizeToArray(i);var o=a.mappingToExists(i,e);t[n]=l(o,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else t[n]=u(i,e,!0)}})}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(a.normalizeToArray(t.series),function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)}),t=s(t,!0);var n=this._optionBackup,r=d.call(this,t,e,!n);this._newBaseOption=r.baseOption,n?(m(n.baseOption,r.baseOption),r.timelineOptions.length&&(n.timelineOptions=r.timelineOptions),r.mediaList.length&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=s(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,a=this._mediaDefault,r=[],o=[];if(!i.length&&!a)return o;for(var u=0,c=i.length;u=a.start.time&&n.timeo.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],t[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/s)-Math.floor(t[0].time/s)+1,i=new Date(t[0].time),a=i.getDate(),r=t[1].date.getDate();if(i.setDate(a+n-1),i.getDate()!==r){var o=i.getTime()-t[1].time>0?1:-1;while(i.getDate()!==r&&(i.getTime()-t[1].time)*o>0)n-=o,i.setDate(a+n-1)}var l=Math.floor((n+t[0].day+6)/7),u=e?1-l:l-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:l,nthWeek:u,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return!1;var a=7*(t-1)-i.fweek+e,r=new Date(i.start.time);return r.setDate(i.start.d+a),this.getDateInfo(r)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(t,e){var n=[];return t.eachComponent("calendar",function(i){var a=new l(i,t,e);n.push(a),i.coordinateSystem=a}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])}),n},o.register("calendar",l);var c=l;t.exports=c},d15d:function(t,e,n){var i=n("6d8b"),a=i.createHashMap,r=i.each;function o(t){var e=a();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),a=t.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;i.length&&a.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(r)}}),e.each(s)}function s(t){r(t,function(e,n){var i=[],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=n-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 i[0]=d,i[1]=f,i});o.hostModel.setData(l),e.data=l})}t.exports=o},d3f47:function(t,e){function n(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),a=0;a=n&&r<=n+e.axisLength&&o>=i&&o<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();h(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=n[a[o]],l=[0,s],u=this.dimensions.length,c=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");if(f)t=x(f[1]-f[0],l),f[1]=f[0]+t;else{t=x(c*(h-1),l);var v=e.get("axisExpandCenter")||p(u/2);f=[c*v-t/2],f[1]=f[0]+t}var y=(s-t)/(u-h);y<3&&(y=0);var _=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],b=y/c*f[0];return{layout:r,pixelDimIndex:o,layoutBase:n[i[o]],layoutLength:s,axisBase:n[i[1-o]],axisLength:n[a[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:f,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:b}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),h(n,function(e,n){var o=(i.axisExpandable?b:_)(n,i),s={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},l={horizontal:v/2,vertical:0},u=[s[r].x+t.x,s[r].y+t.y],c=l[r],h=a.create();a.rotate(h,h,c),a.translate(h,h,u),this._axesLayout[e]={position:u,rotation:c,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,a){null==n&&(n=0),null==a&&(a=t.count());var r=this._axesMap,o=this.dimensions,s=[],l=[];i.each(o,function(e){s.push(t.mapDimension(e)),l.push(r.get(e).model)});for(var u=this.hasAxisBrushed(),c=n;ca*(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,o?c(o,i,r,"all"):l="none";else{a=i[1]-i[0];var g=r[1]*s/a;i=[f(0,g-a/2)],i[1]=d(r[1],i[0]+a),i[0]=i[1]-a}return{axisExpandWindow:i,behavior:l}}};var w=y;t.exports=w},d9f1:function(t,e,n){var i=n("6d8b"),a=n("6cb7"),r=n("9e47"),o=n("2023"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,o);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(t,e){return e.type||(e.data?"category":"value")}r("angle",s,u,l.angle),r("radius",s,u,l.radius)},de1c:function(t,e){var n={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};t.exports=n},df3a:function(t,e,n){var i=n("6d8b"),a=n("6cb7"),r=n("282b"),o=n("9e47"),s=n("3842"),l=n("2023"),u=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return r([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=i.clone(t);if(e)for(var n=e.length-1;n>=0;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,a=e.length;i40&&(u=Math.max(1,Math.floor(s/40)));for(var c=o[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),f=Math.abs(d*Math.cos(i)),p=Math.abs(d*Math.sin(i)),g=0,m=0;c<=o[1];c+=u){var v=0,y=0,x=a.getBoundingRect(n(c),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,b=m/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),S=h(t.model),T=S.lastAutoInterval,I=S.lastTickCount;return null!=T&&null!=I&&Math.abs(T-w)<=1&&Math.abs(I-s)<=1&&T>w?w=T:(S.lastTickCount=s,S.lastAutoInterval=w),w}function M(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function S(t,e,n){var i=l(t),a=t.scale,r=a.getExtent(),o=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),h=r[0],d=a.count();0!==h&&u>1&&d/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=c(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&h!==r[0]&&v(r[0]);for(var m=h;m<=r[1];m+=u)v(m);function v(t){s.push(n?t:{formattedLabel:i(t),rawLabel:a.getLabel(t),tickValue:t})}return g&&m!==r[1]&&v(r[1]),s}function T(t,e,n){var a=t.scale,r=l(t),o=[];return i.each(a.getTicks(),function(t){var i=a.getLabel(t);e(t,i)&&o.push(n?t:{formattedLabel:r(t),rawLabel:i,tickValue:t})}),o}e.createAxisLabels=d,e.createAxisTicks=f,e.calculateCategoryInterval=w},e0d3:function(t,e,n){var i=n("6d8b"),a=n("22d1"),r=i.each,o=i.isObject,s=i.isArray,l="series\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function c(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,a=n.length;i=n.length&&n.push({option:t})}}),n}function g(t){var e=i.createHashMap();r(t,function(t,n){var i=t.exist;i&&e.set(i.id,t)}),r(t,function(t,n){var a=t.option;i.assert(!a||null==a.id||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})}),r(t,function(t,n){var i=t.exist,a=t.option,r=t.keyInfo;if(o(a)){if(r.name=null!=a.name?a.name+"":i?i.name:l+n,i)r.id=i.id;else if(null!=a.id)r.id=a.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}})}function m(t){var e=t.name;return!(!e||!e.indexOf(l))}function v(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var n={},i={};return a(t||[],n),a(e||[],i,n),[r(n),r(i)];function a(t,e,n){for(var i=0,a=t.length;i=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 n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(t){this._isBlank=t},a.prototype.getLabel=null,i.enableClassExtend(a),i.enableClassManagement(a,{registerWhenExtend:!0});var r=a;t.exports=r},e47b:function(t,e,n){var i=n("e0d3"),a=i.makeInner,r=i.normalizeToArray,o=a();function s(t,e){for(var n=t.length,i=0;ie)return t[i];return t[n-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,n){e=e||this;var i=o(e),a=i.colorIdx||0,l=i.colorNameMap=i.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var u=r(this.get("color",!0)),c=this.get("colorLayer",!0),h=null!=n&&c?s(c,n):u;if(h=h||u,h&&h.length){var d=h[a];return t&&(l[t]=d),i.colorIdx=(a+1)%h.length,d}}};t.exports=l},e6cd:function(t,e,n){var i=n("6d8b");function a(){var t,e=[],n={};return{add:function(t,a,r,o,s){return i.isString(o)&&(s=o,o=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:a,time:r,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,a=0,r=e.length;ar[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:i.bind(function(i){var a=e.dataToRadius(i[0]),r=n.dataToAngle(i[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o}),size:i.bind(a,t)}}}t.exports=r},ec02:function(t,e,n){var i=n("6d8b"),a=n("84ce"),r=function(t,e,n,i,r){a.call(this,t,e,n),this.type=i||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},i.inherits(r,a);var o=r;t.exports=o},ec34:function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("6d8b")),r=a.createHashMap,o=a.isString,s=a.isArray,l=a.each,u=(a.assert,n("3041")),c=u.parseXML,h=r(),d={registerMap:function(t,e,n){var i;return s(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:n}]),l(i,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var n=f[e];n(t)}),h.set(t,i)},retrieveMap:function(t){return h.get(t)}},f={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=c(t.source)}};t.exports=d},ec6f:function(t,e,n){var i=n("6d8b"),a=i.createHashMap,r=i.isTypedArray,o=n("625e"),s=o.enableClassCheck,l=n("93d0"),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===f?{}:[]),this.sourceFormat=t.sourceFormat||h,this.seriesLayoutBy=t.seriesLayoutBy||c,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&a(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:r(t)?d:u,fromDataset:!1})},s(p);var g=p;t.exports=g},eda2:function(t,e,n){var i=n("6d8b"),a=n("e86a"),r=n("3842");function o(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=i.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(t){return null==t?"":(t+"").replace(u,function(t,e){return c[e]})}var d=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){i.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:r,content:"{marker"+o+"|} ",style:{color:n}}:""}function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=r.parseDate(e),a=n?"UTC":"",o=i["get"+a+"FullYear"](),s=i["get"+a+"Month"]()+1,l=i["get"+a+"Date"](),u=i["get"+a+"Hours"](),c=i["get"+a+"Minutes"](),h=i["get"+a+"Seconds"](),d=i["get"+a+"Milliseconds"]();return t=t.replace("MM",v(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(u,2)).replace("h",u).replace("mm",v(c,2)).replace("m",c).replace("ss",v(h,2)).replace("s",h).replace("SSS",v(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=a.truncateText;function b(t){return a.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,n,i,r,o,s,l){return a.getBoundingRect(t,e,n,i,r,l,o,s)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=m,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w},edb9:function(t,e,n){var i=n("6d8b");function a(t,e){e=e||{};var n=t.coordinateSystem,a=t.axis,r={},o=a.position,s=a.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};r.position=["vertical"===s?c.vertical[o]:u[0],"horizontal"===s?c.horizontal[o]:u[3]];var h={horizontal:0,vertical:1};r.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[o],t.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var f=e.rotate;return null==f&&(f=t.get("axisLabel.rotate")),r.labelRotation="top"===o?-f:f,r.z2=1,r}e.layout=a},ee1a:function(t,e,n){var i=n("6d8b"),a=i.each,r=i.isString;function o(t,e,n){n=n||{};var i,o,s,l,u=n.byIndex,c=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(a(e,function(t,n){r(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(u||i||!t.ordinalMeta||(i=t),o||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(o=t))}),!o||u||i||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;a(e,function(t){t.coordDim===d&&p++}),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:i&&i.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=o,e.isDimensionStacked=s,e.getStackedDimension=l},eeea:function(t,e,n){var i=n("4e08"),a=(i.__DEV__,n("3eba")),r=n("6d8b"),o=n("0141"),s=n("f934"),l=n("3842"),u=n("5b87"),c=n("ec34");function h(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],a=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(i[0],i[1],a[0]-i[0],a[1]-i[1])}var r,o=this.getBoundingRect(),u=t.get("layoutCenter"),c=t.get("layoutSize"),h=e.getWidth(),d=e.getHeight(),f=o.width/o.height*this.aspectScale,p=!1;if(u&&c&&(u=[l.parsePercent(u[0],h),l.parsePercent(u[1],d)],c=l.parsePercent(c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(p=!0)),p){var g={};f>1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else r=t.getBoxLayoutParams(),r.aspect=f,g=s.getLayoutRect(r,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function d(t,e){r.each(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}var f={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",function(t,i){var a=t.get("map"),r=t.get("aspectScale"),s=!0,l=c.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var u=new o(a+i,a,t.get("nameMap"),s);u.aspectScale=r,u.zoomLimit=t.get("scaleLimit"),n.push(u),d(u,t),t.coordinateSystem=u,u.model=t,u.resize=h,u.resize(t,e)}),t.eachSeries(function(t){var e=t.get("coordinateSystem");if("geo"===e){var i=t.get("geoIndex")||0;t.coordinateSystem=n[i]}});var i={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}}),r.each(i,function(t,i){var a=r.map(t,function(t){return t.get("nameMap")}),s=new o(i,i,r.mergeAll(a));s.zoomLimit=r.retrieve.apply(null,r.map(t,function(t){return t.get("scaleLimit")})),n.push(s),s.resize=h,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),r.each(t,function(t){t.coordinateSystem=s,d(s,t)})}),n},getFilledRegions:function(t,e,n){for(var i=(t||[]).slice(),a=r.createHashMap(),o=0;o=1)&&(t=1),t}s===u&&l===d||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=h(this,i)),this._modBy=u,this._modDataCount=d;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!i&&(o||g1&&i>0?s:o}};return r;function o(){return e=t?null:ri||l.newline?(r=0,c=m,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);h=o+v,h>a||l.newline?(r+=s+n,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=c+n:o=h+n)})}var d=h,f=i.curry(h,"vertical"),p=i.curry(h,"horizontal");function g(t,e,n){var i=e.width,a=e.height,r=o(t.x,i),l=o(t.y,a),u=o(t.x2,i),c=o(t.y2,a);return(isNaN(r)||isNaN(parseFloat(t.x)))&&(r=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=a),n=s.normalizeCssArray(n||0),{width:Math.max(u-r-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function m(t,e,n){n=s.normalizeCssArray(n||0);var i=e.width,r=e.height,l=o(t.left,i),u=o(t.top,r),c=o(t.right,i),h=o(t.bottom,r),d=o(t.width,i),f=o(t.height,r),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=i-c-g-l),isNaN(f)&&(f=r-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>i/r?d=.8*i:f=.8*r),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=i-c-d-g),isNaN(u)&&(u=r-h-f-p),t.left||t.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g;break}switch(t.top||t.bottom){case"middle":case"center":u=r/2-f/2-n[0];break;case"bottom":u=r-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=i-g-l-(c||0)),isNaN(f)&&(f=r-p-u-(h||0));var v=new a(l+n[3],u+n[0],d,f);return v.margin=n,v}function v(t,e,n,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();c=c.clone(),c.applyTransform(h)}e=m(i.defaults({width:c.width,height:c.height},e),n,r);var d=t.position,f=s?e.x-c.x:0,p=l?e.y-c.y:0;t.attr("position","raw"===u?[f,p]:[d[0]+f,d[1]+p])}}function y(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]}function x(t,e,n){!i.isObject(n)&&(n={});var a=n.ignoreSize;!i.isArray(a)&&(a=[a,a]);var r=s(c[0],0),o=s(c[1],1);function s(n,i){var r={},o=0,s={},c=0,d=2;if(l(n,function(e){s[e]=t[e]}),l(n,function(t){u(e,t)&&(r[t]=s[t]=e[t]),h(r,t)&&o++,h(s,t)&&c++}),a[i])return h(e,n[1])?s[n[2]]=null:h(e,n[2])&&(s[n[1]]=null),s;if(c!==d&&o){if(o>=d)return r;for(var f=0;fo)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,a=-Math.sin(n)*e+this.cy;return[i,a]}};var o=r;t.exports=o},fd63:function(t,e,n){var i=n("42e5"),a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(n.setVisual("color",r),!e.isSeriesFiltered(t)){"function"!==typeof r||r instanceof i||n.each(function(e){n.setItemVisual(e,"color",r(t.getDataParams(e)))});var o=function(t,e){var n=t.getItemModel(e),i=n.get(a,!0);null!=i&&t.setItemVisual(e,"color",i)};return{dataEach:n.hasItemOption?o:null}}}};t.exports=a},fdde:function(t,e){var n={average:function(t){for(var e=0,n=0,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1)"string"===typeof o?l=n[o]:"function"===typeof o&&(l=o),l&&t.setData(r.downSample(r.mapDimension(c.dim),1/f,l,i))}}}}t.exports=a},fe21:function(t,e,n){var i=n("e86a"),a=n("2306"),r=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return i.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o}}]); //# sourceMappingURL=chunk-vendors~db300d2f.62c1f16e.js.map