(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-6faa"],{"+08G":function(t,e,n){var i=n("2uO+"),a=n("UGP7");function r(t,e){e.update="updateView",i.registerAction(e,function(e,n){var i={};return n.eachComponent({mainType:"geo",query:e},function(n){n[t](e.name);var r=n.coordinateSystem;a.each(r.regions,function(t){i[t.name]=n.isSelected(t.name)||!1})}),{selected:i,name:e.name}})}n("qVUe"),n("vCJU"),n("uvPz"),n("daJn"),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},"+Czg":function(t,e,n){var i=n("2uO+"),a=n("UGP7");n("XYVD"),n("6LJS"),n("3EC8");var r=n("APTP").layout,o=n("RAnq");n("/48L"),i.registerLayout(a.curry(r,"pictorialBar")),i.registerVisual(o("pictorialBar","roundRect"))},"+I5X":function(t,e,n){var i=n("A3JO");function a(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}a.prototype={constructor:a,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var a=this.easing,r="string"==typeof a?i[a]:a,o="function"==typeof r?r(n):n;return this.fire("frame",o),1==n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var r=a;t.exports=r},"+IVY":function(t,e,n){var i=n("YiJa").extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};return t.eachTargetAxis(function(t,i){var a=e.getComponent(t.axis,i);if(a){var r=a.getCoordSysModel();r&&function(t,e,n,i){for(var a,r=0;r0){t.moveTo(n[a++],n[a++]);for(var o=1;o0){var h=(s+u)/2-(l-c)*i,d=(l+c)/2-(u-s)*i;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,i=n.segs,a=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var c=i[l++],h=i[l++],d=1;d0){var g=(c+f)/2-(h-p)*a,m=(h+p)/2-(f-c)*a;if(o.containStroke(c,h,g,m,f,p))return s}else if(r.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=e.getVisual("color");a&&t.setStyle("stroke",a),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)}))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=l;t.exports=c},"+d7i":function(t,e,n){var i=n("2uO+");n("I/eS"),n("3Z2O"),n("daJn"),n("vCJU");var a=n("7Veh"),r=n("Iusz"),o=n("utOW"),s=n("7067"),l=n("XHUn");i.registerLayout(a),i.registerVisual(r),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,o),i.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},"+p35":function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("GBWL"),o=n("C+/8"),s=n("ywda"),l=n("UgMx"),u=n("0FeM"),c=["inBrush","outOfBrush"],h="__ecBrushSelect",d="__ecInBrushSelectEvent",f=i.PRIORITY.VISUAL.BRUSH;function p(t,e){if(!t.isDisposed()){var n=t.getZr();n[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[d]=!1}}function g(t,e,n,i){for(var a=0,r=e.length;ae[0][1]&&(e[0][1]=r[0]),r[1]e[1][1]&&(e[1][1]=r[1])}return e&&y(e)}};function y(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},"/48L":function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("F7La");n("XYVD"),n("lHAe"),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new r.Rect({shape:t.coordinateSystem.getRect(),style:a.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},"/6yU":function(t,e,n){var i=n("UGP7"),a=i.retrieve2,r=i.retrieve3,o=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=n("FWXg"),h=n("dGa/"),d=n("iIwn"),f=n("xJKF"),p={left:1,right:1,center:1},g={top:1,bottom:1,middle:1};function m(t){if(t){t.font=c.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||p[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||g[n]?n:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function v(t,e,n,i,a){if(n&&e.textRotation){var r=e.textOrigin;"center"===r?(i=n.width/2+n.x,a=n.height/2+n.y):r&&(i=r[0]+n.x,a=r[1]+n.y),t.translate(i,a),t.rotate(-e.textRotation),t.translate(-i,-a)}}function y(t,e,n,i,o,s,l,u){var h=i.rich[n.styleName]||{},d=n.textVerticalAlign,f=s+o/2;"top"===d?f=s+n.height/2:"bottom"===d&&(f=s+o-n.height/2),!n.isLineHolder&&x(h)&&_(t,e,h,"right"===u?l-n.width:"center"===u?l-n.width/2:l,f-n.height/2,n.width,n.height);var p=n.textPadding;p&&(l=T(l,u,p),f-=n.height/2-p[2]-n.textHeight/2),S(e,"shadowBlur",r(h.textShadowBlur,i.textShadowBlur,0)),S(e,"shadowColor",h.textShadowColor||i.textShadowColor||"transparent"),S(e,"shadowOffsetX",r(h.textShadowOffsetX,i.textShadowOffsetX,0)),S(e,"shadowOffsetY",r(h.textShadowOffsetY,i.textShadowOffsetY,0)),S(e,"textAlign",u),S(e,"textBaseline","middle"),S(e,"font",n.font||c.DEFAULT_FONT);var g=M(h.textStroke||i.textStroke,v),m=I(h.textFill||i.textFill),v=a(h.textStrokeWidth,i.textStrokeWidth);g&&(S(e,"lineWidth",v),S(e,"strokeStyle",g),e.strokeText(n.text,l,f)),m&&(S(e,"fillStyle",m),e.fillText(n.text,l,f))}function x(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor}function _(t,e,n,i,a,r,o){var s=n.textBackgroundColor,c=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(S(e,"shadowBlur",n.textBoxShadowBlur||0),S(e,"shadowColor",n.textBoxShadowColor||"transparent"),S(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),S(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&f){e.beginPath();var g=n.textBorderRadius;g?h.buildPath(e,{x:i,y:a,width:r,height:o,r:g}):e.rect(i,a,r,o),e.closePath()}if(p)S(e,"fillStyle",s),e.fill();else if(u(s)){var m=s.image;(m=d.createOrUpdateImage(m,null,t,b,s))&&d.isImageReady(m)&&e.drawImage(m,i,a,r,o)}c&&f&&(S(e,"lineWidth",c),S(e,"strokeStyle",f),e.stroke())}function b(t,e){e.image=t}function w(t,e,n){var i=e.x||0,a=e.y||0,r=e.textAlign,o=e.textVerticalAlign;if(n){var s=e.textPosition;if(s instanceof Array)i=n.x+A(s[0],n.width),a=n.y+A(s[1],n.height);else{var l=c.adjustTextPositionOnRect(s,n,e.textDistance);i=l.x,a=l.y,r=r||l.textAlign,o=o||l.textVerticalAlign}var u=e.textOffset;u&&(i+=u[0],a+=u[1])}return{baseX:i,baseY:a,textAlign:r,textVerticalAlign:o}}function S(t,e,n){return t[e]=f(t,e,n),t[e]}function M(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function I(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function A(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function T(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return m(t),o(t.rich,m),t},e.renderText=function(t,e,n,i,a){i.rich?function(t,e,n,i,a){var r=t.__textCotentBlock;r&&!t.__dirty||(r=t.__textCotentBlock=c.parseRichText(n,i)),function(t,e,n,i,a){var r=n.width,o=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=w(0,i,a),h=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;v(e,i,a,h,d);var g=c.adjustTextX(h,o,f),m=c.adjustTextY(d,s,p),b=g,S=m;l&&(b+=l[3],S+=l[0]);var M=b+r;x(i)&&_(t,e,i,g,m,o,s);for(var I=0;I=0&&"right"===(A=C[E]).textAlign;)y(t,e,A,i,P,S,R,"right"),L-=A.width,R-=A.width,E--;for(O+=(r-(O-b)-(M-R)-L)/2;k<=E;)A=C[k],y(t,e,A,i,P,S,O+A.width/2,"center"),O+=A.width,k++;S+=P}}(t,e,r,i,a)}(t,e,n,i,a):function(t,e,n,i,a){var r=S(e,"font",i.font||c.DEFAULT_FONT),o=i.textPadding,s=t.__textCotentBlock;s&&!t.__dirty||(s=t.__textCotentBlock=c.parsePlainText(n,r,o,i.truncate));var l=s.outerHeight,u=s.lines,h=s.lineHeight,d=w(0,i,a),f=d.baseX,p=d.baseY,g=d.textAlign,m=d.textVerticalAlign;v(e,i,a,f,p);var y=c.adjustTextY(p,l,m),b=f,A=y,C=x(i);if(C||o){var D=c.getWidth(n,r),P=D;o&&(P+=o[1]+o[3]);var L=c.adjustTextX(f,P,g);C&&_(t,e,i,L,y,P,l),o&&(b=T(f,g,o),A+=o[0])}S(e,"textAlign",g||"left"),S(e,"textBaseline","middle"),S(e,"shadowBlur",i.textShadowBlur||0),S(e,"shadowColor",i.textShadowColor||"transparent"),S(e,"shadowOffsetX",i.textShadowOffsetX||0),S(e,"shadowOffsetY",i.textShadowOffsetY||0),A+=h/2;var k=i.textStrokeWidth,O=M(i.textStroke,k),R=I(i.textFill);O&&(S(e,"lineWidth",k),S(e,"strokeStyle",O)),R&&S(e,"fillStyle",R);for(var E=0;E0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=i.clone(t)},getValueState:function(t){var e=r.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],a=n.getData();a.each(this.getDataDimension(a),function(e,n){r.findPieceIndex(e,this._pieceList)===t&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],n=[],a=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(r,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:n}}function l(i,r){var o=a.getRepresentValue({interval:i});r||(r=a.getValueState(o));var s=t(o,r);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),a=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;for(var o=(a[1]-a[0])/r;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,a[0]],close:[0,0]});for(var u=a[0],c=l+r;l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var h=l;t.exports=h},"/Wjg":function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("F7La"),o=n("Xq6c"),s=n("Ba82"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var a=t.coordinateSystem,r=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(t,r,i),this._renderLines(t,r,o,i),this._renderYearText(t,r,o,i),this._renderMonthText(t,o,i),this._renderWeekText(t,r,o,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,a=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new r.Rect({shape:{x:u[0],y:u[1],width:o,height:s},cursor:"default",style:a});n.add(c)}},_renderLines:function(t,e,n,i){var a=this,r=t.coordinateSystem,o=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=r.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=r.getDateInfo(h)}function d(e){a._firstDayOfMonth.push(r.getDateInfo(e)),a._firstDayPoints.push(r.dataToRect([e],!1).tl);var l=a._getLinePointsOfOneWeek(t,e,n);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,o,i)}d(r.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,n),o,i),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,n),o,i)},_getEdgesPoints:function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],a="horizontal"===n?0:1;return i[0][a]=i[0][a]-e/2,i[1][a]=i[1][a]+e/2,i},_drawSplitline:function(t,e,n){var i=new r.Polyline({z2:20,shape:{points:t},style:e});n.add(i)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var a=[],r=0;r<7;r++){var o=i.getNextNDay(e.time,r),s=i.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===n?"bl":"tr"]}return a},_formatterLabel:function(t,e){return"string"==typeof t&&t?o.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,a){e=e.slice();var r=["center","bottom"];"bottom"===i?(e[1]+=a,r=["center","top"]):"left"===i?e[0]-=a:"right"===i?(e[0]+=a,r=["center","top"]):e[1]-=a;var o=0;return"left"!==i&&"right"!==i||(o=Math.PI/2),{rotation:o,position:e,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(t,e,n,i){var a=t.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),s=a.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,d={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},f=e.start.y;+e.end.y>+e.start.y&&(f=f+"-"+e.end.y);var p=a.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new r.Text({z2:30});r.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],n,s,o)),i.add(v)}},_monthTextPositionControl:function(t,e,n,i,a){var r="left",o="top",s=t[0],l=t[1];return"horizontal"===n?(l+=a,e&&(r="center"),"start"===i&&(o="bottom")):(s+=a,e&&(o="middle"),"start"===i&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),h=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g=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 l=s;t.exports=l},"0/XC":function(t,e,n){var i=n("2uO+"),a=n("F7La"),r=n("UGP7"),o=n("N3RP");var s=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n){var a=function(t){return r.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=o.createSymbol(n,-1,-1,2,2,i);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),s}}function h(e,n,i,r,o,s){i.removeAll();for(var l=0;l=0)&&t(r,i,a)})}var f=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return r.parseFinder(t,e,{includeMainTypes:h})}f.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=x[t.brushType](0,n,e);t.__rangeOffset={offset:b[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})},f.matchOutputRanges=function(t,e,n){s(t,function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&i.each(a.coordSyses,function(i){var a=x[t.brushType](1,i,t.range);n(t,a.values,i,e)})},this)},f.setInputRanges=function(t,e){s(t,function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=x[t.brushType](0,n.coordSys,t.coordRange),a=t.__rangeOffset;t.range=a?b[t.brushType](i.values,a.offset,function(t,e){var n=S(t),i=S(e),a=[n[0]/i[0],n[1]/i[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}(i.xyMinMax,a.xyMinMax)):i.values}},this)},f.makePanelOpts=function(t,e){return i.map(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:o.makeRectPanelClipPath(i),isTargetByCursor:o.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(i)}})},f.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&l(i.coordSyses,e.coordinateSystem)>=0},f.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=g(e,t),a=0;a=0||l(a,t.getAxis("y").model)>=0)&&r.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:c[t.id]})}))},geo:function(t,e){s(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:y.geo})})}},v=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,a=t.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&i&&(a=i.axis.grid.model),a&&a===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(a.getTransform(t)),e}},x={lineX:u(_,0),lineY:u(_,1),rect:function(t,e,n){var i=e[c[t]]([n[0][0],n[1][0]]),a=e[c[t]]([n[0][1],n[1][1]]),r=[p([i[0],a[0]]),p([i[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,n){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,function(n){var i=e[c[t]](n);return a[0][0]=Math.min(a[0][0],i[0]),a[1][0]=Math.min(a[1][0],i[1]),a[0][1]=Math.max(a[0][1],i[0]),a[1][1]=Math.max(a[1][1],i[1]),i}),xyMinMax:a}}};function _(t,e,n,a){var r=n.getAxis(["x","y"][t]),o=p(i.map([0,1],function(t){return e?r.coordToData(r.toLocalCoord(a[t])):r.toGlobalCoord(r.dataToCoord(a[t]))})),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var b={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return i.map(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function w(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function S(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var M=d;t.exports=M},"0PgU":function(t,e,n){var i=n("UGP7"),a=n("6SPp"),r=n("WQ2X"),o=n("GBWL"),s=n("IoQA"),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();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=a.applyTransform([],i,t),n=a.applyTransform([],n,t),e.origin=i,e.position=[n[0]-i[0],n[1]-i[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?l(n,t,i):a.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(c,s);var d=c;t.exports=d},"0QTg":function(t,e,n){var i=n("UGP7"),a=n("IjG1");function r(t){a.call(this,t)}r.prototype={constructor:r,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),a=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=a.toGlobalCoord(a.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,a=n.getExtent(),r=i.getExtent(),o=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(a[0],a[1]),o),Math.max(a[0],a[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},i.inherits(r,a);var o=r;t.exports=o},"0hx/":function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("C+/8"),o=n("FMWM"),s=i.PRIORITY.VISUAL.COMPONENT;function l(t,e,n,i){for(var a=e.targetVisuals[i],r=o.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,u=r.length;l=a/3?1:2),l=e.y-i(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(o)*r,e.y+i(o)*r),t.lineTo(e.x+n(e.angle)*a,e.y+i(e.angle)*a),t.lineTo(e.x-n(o)*r,e.y-i(o)*r),t.lineTo(s,l)}});t.exports=i},"0pyX":function(t,e,n){var i=n("2uO+");n("PUbP"),n("jOUU"),i.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},"0uG1":function(t,e,n){var i=n("2uO+");n("PEJE"),n("xL/y");var a=n("RAnq"),r=n("5Cz/"),o=n("HIC9");n("/48L"),i.registerVisual(a("line","circle","line")),i.registerLayout(r("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,o("line"))},"0yVX":function(t,e,n){var i=n("TQsr"),a=n("r1R6"),r=n("UGP7").each;function o(t){return parseInt(t,10)}function s(t,e){a.initVML(),this.root=t,this.storage=e;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",t.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var r=e.delFromStorage,o=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&t.onRemove&&t.onRemove(i)},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),o.call(e,t)},this._firstPaint=!0}s.prototype={constructor:s,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,n=0;n=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},"1gvL":function(t,e,n){var i=n("6SPp");e.circularLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=e.getBoundingRect(),a=t.getData(),r=a.graph,o=0,s=a.getSum("value"),l=2*Math.PI/(s||a.count()),u=n.width/2+n.x,c=n.height/2+n.y,h=Math.min(n.width,n.height)/2;r.eachNode(function(t){var e=t.getValue("value");o+=l*(s?e:1)/2,t.setLayout([h*Math.cos(o)+u,h*Math.sin(o)+c]),o+=l*(s?e:1)/2}),a.setLayout({cx:u,cy:c}),r.eachEdge(function(t){var e,n=t.getModel().get("lineStyle.curveness")||0,a=i.clone(t.node1.getLayout()),r=i.clone(t.node2.getLayout()),o=(a[0]+r[0])/2,s=(a[1]+r[1])/2;+n&&(e=[u*(n*=3)+o*(1-n),c*n+s*(1-n)]),t.setLayout([a,r,e])})}}},"1t2D":function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("XI5D"),o=n("HCVr"),s=n("0B9E"),l=r.valueAxis;function u(t,e){return a.defaults({show:e},t)}var c=i.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),l=this.get("axisLabel"),u=this.get("name"),c=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),f=this.get("triggerEvent"),p=a.map(this.get("indicator")||[],function(p){null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var g=u;if(null!=p.color&&(g=a.defaults({color:p.color},u)),p=a.merge(a.clone(p),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:f},!1),c||(p.name=""),"string"==typeof h){var m=p.name;p.name=h.replace("{value}",null!=m?m:"")}else"function"==typeof h&&(p.name=h(p.name,p));var v=a.extend(new o(p,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=c},"280B":function(t,e,n){var i=n("UGP7");function a(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,a=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-a)-n.dataToCoord(i+a))}t.exports=function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(a,t)}}}},"2Pps":function(t,e,n){var i=["itemStyle","borderColor"],a=["itemStyle","borderColor0"],r=["itemStyle","color"],o=["itemStyle","color0"],s={seriesType:"candlestick",plan:n("u5D0")(),performRawSeries:!0,reset:function(t,e){var n=t.getData(),s=t.pipelineContext.large;if(n.setVisual({legendSymbol:"roundRect",colorP:l(1,t),colorN:l(-1,t),borderColorP:u(1,t),borderColorN:u(-1,t)}),!e.isSeriesFiltered(t))return!s&&{progress:function(t,e){var n;for(;null!=(n=t.next());){var i=e.getItemModel(n),a=e.getItemLayout(n).sign;e.setItemVisual(n,{color:l(a,i),borderColor:u(a,i)})}}};function l(t,e){return e.get(t>0?r:o)}function u(t,e){return e.get(t>0?i:a)}}};t.exports=s},"2c6L":function(t,e,n){var i=n("xJKF"),a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],r=function(t,e){this.extendFrom(t,!1),this.host=e};function o(t,e,n){var i=null==e.x?0:e.x,a=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,a=a*n.width+n.x,r=r*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,a=isNaN(a)?1:a,r=isNaN(r)?0:r,o=isNaN(o)?0:o,t.createLinearGradient(i,r,a,o)}function s(t,e,n){var i=n.width,a=n.height,r=Math.min(i,a),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(o=o*i+n.x,s=s*a+n.y,l*=r),t.createRadialGradient(o,s,0,o,s,l)}for(var l=r.prototype={constructor:r,host:null,fill:"#000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){for(var r=n&&n.style,o=!r,s=0;s0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i=("radial"===e.type?s:o)(t,e,n),a=e.colorStops,r=0;r0&&t.unfinished);t.unfinished||this._zr.flush()}}},W.getDom=function(){return this._dom},W.getZr=function(){return this._zr},W.setOption=function(t,e,n){var i;if(L(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[z]=!0,!this._model||e){var a=new d(this._api),r=this._theme,o=this._model=new u(null,null,r,a);o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,lt),n?(this[G]={silent:i},this[z]=!1):(X(this),Z.update.call(this),this._zr.flush(),this[G]=!1,this[z]=!1,J.call(this,i),Q.call(this,i))},W.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},W.getModel=function(){return this._model},W.getOption=function(){return this._model&&this._model.getOption()},W.getWidth=function(){return this._zr.getWidth()},W.getHeight=function(){return this._zr.getHeight()},W.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},W.getRenderedCanvas=function(t){if(o.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},W.getSvgDataUrl=function(){if(o.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},W.getDataURL=function(t){var e=(t=t||{}).excludeComponents,n=this._model,i=[],a=this;D(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 D(i,function(t){t.group.ignore=!1}),r},W.getConnectedDataURL=function(t){if(o.canvasSupported){var e=this.group,n=Math.min,r=Math.max;if(pt[e]){var s=1/0,l=1/0,u=-1/0,c=-1/0,h=[],d=t&&t.pixelRatio||1;a.each(ft,function(i,o){if(i.group===e){var d=i.getRenderedCanvas(a.clone(t)),f=i.getDom().getBoundingClientRect();s=n(f.left,s),l=n(f.top,l),u=r(f.right,u),c=r(f.bottom,c),h.push({dom:d,left:f.left,top:f.top})}});var f=(u*=d)-(s*=d),p=(c*=d)-(l*=d),g=a.createCanvas();g.width=f,g.height=p;var m=i.init(g);return D(h,function(t){var e=new x.Image({style:{x:t.left*d-s,y:t.top*d-l,image:t.dom}});m.add(e)}),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},W.convertToPixel=a.curry(H,"convertToPixel"),W.convertFromPixel=a.curry(H,"convertFromPixel"),W.containPixel=function(t,e){var n,i=this._model;return t=_.parseFinder(i,t),a.each(t,function(t,i){i.indexOf("Models")>=0&&a.each(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)n|=!!a.containPoint(e);else if("seriesModels"===i){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(n|=r.containPoint(e,t))}},this)},this),!!n},W.getVisual=function(t,e){var n=this._model,i=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=a?i.getItemVisual(a,e):i.getVisual(e)},W.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},W.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var Z={prepareAndUpdate:function(t){X(this),Z.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,a=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),a.create(e,n),s.performDataProcessorTasks(e,t),j(this,e),a.update(e,n),$(e),s.performVisualTasks(e,t),tt(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(o.canvasSupported)i.setBackgroundColor(l);else{var u=r.parse(l);l=r.stringify(u,"rgb"),0===u[3]&&(l="transparent")}nt(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var r=[];e.eachComponent(function(a,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,i,t);l&&l.update&&r.push(s)}else r.push(s)});var o=a.createHashMap();e.eachSeries(function(a){var r=n._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,i,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)}),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),et(n,e,i,t,o),nt(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),tt(this,this._model,this._api,t),nt(e,this._api))},updateVisual:function(t){Z.update.call(this,t)},updateLayout:function(t){Z.update.call(this,t)}};function X(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),K(t,"component",e,n),K(t,"chart",e,n),n.plan()}function q(t,e,n,i,r){var o=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;null!=u&&(u=a.createHashMap(_.normalizeToArray(u))),o&&o.eachComponent(l,function(e){u&&null!=u.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else D(t._componentsViews.concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}}function j(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})}function Y(t,e){var n=t.type,i=t.escapeConnect,r=rt[n],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&k(s[0]),this[z]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=a.map(t.batch,function(e){return(e=a.defaults(a.extend({},e),t)).batch=null,e}));var h,d=[],f="highlight"===n||"downplay"===n;D(u,function(t){(h=(h=r.action(t,this._model,this._api))||a.extend({},t)).type=o.event||h.type,d.push(h),f?q(this,l,t,"series"):s&&q(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[G]?(X(this),Z.update.call(this,t),this[G]=!1):Z[l].call(this,t)),h=c?{type:o.event||n,escapeConnect:i,batch:d}:d[0],this[z]=!1,!e&&this._messageCenter.trigger(h.type,h)}function J(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Y.call(this,n,t)}}function Q(t){!t&&this.trigger("updated")}function K(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")&&!o.node&&n.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}(t._zr,e),S(t._zr.dom,e)}function nt(t,e){D(ut,function(n){n(t,e)})}W.resize=function(t){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[z]=!0,n&&X(this),Z.update.call(this),this[z]=!1,J.call(this,i),Q.call(this,i)}},W.showLoading=function(t,e){if(L(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),dt[t]){var n=dt[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},W.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},W.makeActionFromEvent=function(t){var e=a.extend({},t);return e.type=ot[t.type],e},W.dispatchAction=function(t,e){L(e)||(e={silent:!!e}),rt[t.type]&&this._model&&(this[z]?this._pendingActions.push(t):(Y.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&o.browser.weChat&&this._throttledZrFlush(),J.call(this,e.silent),Q.call(this,e.silent)))},W.appendData=function(t){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0},W.on=V("on"),W.off=V("off"),W.one=V("one");var it=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function at(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))})}W._initEvents=function(){D(it,function(t){this._zr.on(t,function(e){var n,i=this.getModel(),r=e.target;if("globalout"===t)n={};else if(r&&null!=r.dataIndex){var o=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=o&&o.getDataParams(r.dataIndex,r.dataType)||{}}else r&&r.eventData&&(n=a.extend({},r.eventData));n&&(n.event=e,n.type=t,this.trigger(t,n))},this)},this),D(ot,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},W.isDisposed=function(){return this._disposed},W.clear=function(){this.setOption({series:[]},!0)},W.dispose=function(){if(!this._disposed){this._disposed=!0,_.setAttribute(this.getDom(),vt,"");var t=this._api,e=this._model;D(this._componentsViews,function(n){n.dispose(e,t)}),D(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete ft[this.id]}},a.mixin(U,l);var rt={},ot={},st=[],lt=[],ut=[],ct=[],ht={},dt={},ft={},pt={},gt=new Date-0,mt=new Date-0,vt="_echarts_instance_",yt={};function xt(t){pt[t]=!1}var _t=xt;function bt(t){return ft[_.getAttribute(t,vt)]}function wt(t,e){ht[t]=e}function St(t){lt.push(t)}function Mt(t,e){Tt(st,t,e,O)}function It(t,e,n){"function"==typeof e&&(n=e,e="");var i=L(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,C(B.test(i)&&B.test(e)),rt[i]||(rt[i]={action:n,actionInfo:t}),ot[e]=i}function At(t,e){Tt(ct,t,e,E,"visual")}function Tt(t,e,n,i,a){(P(e)||L(e))&&(n=e,e=i);var r=I.wrapStageHandler(n,a);return r.__prio=e,r.__raw=n,t.push(r),r}function Ct(t,e){dt[t]=e}At(2e3,w),St(f),Mt(5e3,p),Ct("default",M),It({type:"highlight",event:"highlight",update:"highlight"},a.noop),It({type:"downplay",event:"downplay",update:"downplay"},a.noop),wt("light",A),wt("dark",T);e.version="4.1.0",e.dependencies={zrender:"4.0.4"},e.PRIORITY=N,e.init=function(t,e,n){var i=bt(t);if(i)return i;var a=new U(t,e,n);return a.id="ec_"+gt++,ft[a.id]=a,_.setAttribute(t,vt,a.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i0?1:o<0?-1:0}(n,o,r,i,v),function(t,e,n,i,r,o,s,u,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(n[f.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]);g[f.index]=l(g[f.index],p),g[d.index]=l(g[d.index],i?p:Math.abs(o)),h.symbolSize=g,(h.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(c.isHorizontal?-1:1)*s}(t,e,r,o,0,v.boundingLength,v.pxSign,p,i,v),function(t,e,n,i,a){var r=t.get(h)||0;r&&(f.attr({scale:e.slice(),rotation:n}),f.updateTransform(),r/=f.getLineScale(),r*=e[i.valueDim.index]);a.valueLineWidth=r}(n,v.symbolScale,d,i,v);var y=v.symbolSize,x=n.get("symbolOffset");return a.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(t,e,n,i,r,o,s,c,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+c,0),x=y;if(i){var _=Math.abs(h),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=l(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=u(i),A=I?i:L((_+M)/S),T=_-A*y;S=y+2*(b=T/2/(w?A:A-1)),M=w?0:2*b,I||"fixed"===i||(A=d?L((Math.abs(d)+M)/S):0),x=A*S-M,p.repeatTimes=A,p.symbolMargin=b}var C=v*(x/2),D=p.pathPosition=[];D[g.index]=n[g.wh]/2,D[m.index]="start"===s?C:"end"===s?h-C:h/2,o&&(D[0]+=o[0],D[1]+=o[1]);var P=p.bundlePosition=[];P[g.index]=n[g.xy],P[m.index]=n[m.xy];var k=p.barRectShape=a.extend({},n);k[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(D[m.index]+C)),k[g.wh]=n[g.wh];var O=p.clipShape={};O[g.xy]=-n[g.xy],O[g.wh]=f.ecSize[g.wh],O[m.xy]=0,O[m.wh]=n[m.wh]}(n,y,r,o,0,x,c,v.valueLineWidth,v.boundingLength,v.repeatCutLength,i,v),v}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize,n=o(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function v(t,e,n,i){var a=t.__pictorialBundle,r=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=r[e.valueDim.index]+o+2*n.symbolMargin;for(C(t,function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:i<0)&&(a=u-1-t),e[l.index]=h*(a-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){C(t,function(t){t.trigger("emphasis")})}function v(){C(t,function(t){t.trigger("normal")})}}function y(t,e,n,i){var a=t.__pictorialBundle,r=t.__pictorialMainPath;r?D(r,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(r=t.__pictorialMainPath=m(n),a.add(r),D(r,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),r.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),M(r,n)}function x(t,e,n){var i=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?D(o,null,{shape:i},e,n):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function _(t,e,n,i){if(n.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},n.clipShape),l=e.valueDim,u=n.animationModel,c=n.dataIndex;if(o)r.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=n.clipShape[l.wh],r[i?"updateProps":"initProps"](o,{shape:h},u,c)}}}function b(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=w,n.isAnimationEnabled=S,n}function w(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:n.slice()},400,"elasticOut")})}function I(t,e,n,i){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",n.bundlePosition.slice()),n.symbolRepeat?v(a,e,n):y(a,0,n),x(a,n,i),_(a,e,n,i),a.__pictorialShapeStr=T(t,n),a.__pictorialSymbolMeta=n,a}function A(t,e,n,i){var o=i.__pictorialBarRect;o&&(o.style.text=null);var s=[];C(i,function(t){s.push(t)}),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),a.each(s,function(t){r.updateProps(t,{scale:[0,0]},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function T(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function C(t,e,n){a.each(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function D(t,e,n,i,a,o){e&&t.attr(e),i.symbolClip&&!a?n&&t.attr(n):n&&r[a?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function P(t,e,n){var i=n.color,o=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),h=s.getShallow("cursor");C(t,function(t){t.setColor(i),t.setStyle(a.defaults({fill:i,opacity:n.opacity},l)),r.setHoverStyle(t,u),h&&(t.cursor=h),t.z2=n.z2});var d={},f=e.valueDim.posDesc[+(n.boundingLength>0)],p=t.__pictorialBarRect;c(p.style,d,s,i,e.seriesModel,o,f),r.setHoverStyle(p,d)}function L(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var k=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var i=this.group,a=t.getData(),o=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return a.diff(o).add(function(t){if(a.hasValue(t)){var e=b(a,t),n=p(a,t,e,c),r=I(a,c,n);a.setItemGraphicEl(t,r),i.add(r),P(r,c,n)}}).update(function(t,e){var n=o.getItemGraphicEl(e);if(a.hasValue(t)){var s=b(a,t),l=p(a,t,s,c),u=T(a,l);n&&u!==n.__pictorialShapeStr&&(i.remove(n),a.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,a=n.dataIndex,o=t.__pictorialBundle;r.updateProps(o,{position:n.bundlePosition.slice()},i,a),n.symbolRepeat?v(t,e,n,!0):y(t,e,n,!0);x(t,n,!0),_(t,e,n,!0)}(n,c,l):n=I(a,c,l,!0),a.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,i.add(n),P(n,c,l)}else i.remove(n)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&A(o,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=a,this.group},dispose:a.noop,remove:function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){A(i,e.dataIndex,t,e)}):n.removeAll()}});t.exports=k},"3ITH":function(t,e,n){var i=n("bsbH").devicePixelRatio,a=n("UGP7"),r=n("TQsr"),o=n("GBWL"),s=n("rM1G"),l=n("mr6t"),u=n("d/FO"),c=n("akfV"),h=n("GyJx");function d(t){return parseInt(t,10)}var f=new o(0,0,0,0),p=new o(0,0,0,0);var g=function(t,e,n){this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=a.extend({},n||{}),this.dpr=n.devicePixelRatio||i,this._singleCanvas=r,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,r){var c=t.width,h=t.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,t.width=c*this.dpr,t.height=h*this.dpr,this._width=c,this._height=h;var d=new l(t,this,this.dpr);d.__builtin__=!0,d.initContext(),u[314159]=d,d.zlevel=314159,s.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};g.prototype={constructor:g,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}l.__drawIndex=v,l.__drawIndex0&&t>i[0]){for(s=0;st);s++);o=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else r("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,a=this._zlevelList;for(i=0;i0?.01:0),this._needsManuallyCompositing),s.__builtin__||r("ZLevel "+l+" has been used by unkown layer "+s.id),s!==i&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.incremental?s.__drawIndex=-1:s.__drawIndex=n,e(n),i=s),o.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?a.merge(n[t],e,!0):n[t]=e;for(var i=0;i=0},e.createNameEach=o,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,n){return function(r){var o,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!r)return s;a(r,s);do{o=!1,t(l)}while(o);function l(t){!function(t,e){return i.indexOf(e.nodes,t)>=0}(t,s)&&function(t,a){var r=!1;return e(function(e){i.each(n(t,e)||[],function(t){a.records[e.name][t]&&(r=!0)})}),r}(t,s)&&(a(t,s),o=!0)}return s};function a(t,a){a.nodes.push(t),e(function(e){i.each(n(t,e)||[],function(t){a.records[e.name][t]=!0})})}}},"3lrE":function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("APTP"),o=r.layout,s=r.largeLayout;n("XYVD"),n("J9/l"),n("XUq2"),n("/48L"),i.registerLayout(a.curry(o,"bar")),i.registerLayout(s),i.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"4FN4":function(t,e,n){var i=n("/6yU"),a=new(n("GBWL")),r=function(){};r.prototype={constructor:r,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){t.save();var o=this.transform;n.transformText?this.setTransform(t):o&&(a.copy(e),a.applyTransform(o),e=a),i.renderText(this,t,r,n,e),t.restore()}}};var o=r;t.exports=o},"4SPT":function(t,e,n){var i=n("oEC0"),a=n("SoO+"),r=n("IoQA"),o=n("upXB"),s=n("UGP7"),l=function(t){r.call(this,t),a.call(this,t),o.call(this,t),this.id=t.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},"5l1v":function(t,e,n){var i=n("nNpp");t.exports=function(t,e){return i((e=e||{}).coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}},"5lny":function(t,e,n){var i=n("2uO+"),a=n("qB6Q");n("U371"),n("0hx/"),n("/NfK"),n("BPCq"),n("nsjM"),i.registerPreprocessor(a)},"5lzl":function(t,e,n){var i=n("2uO+");n("OaQw"),n("ep0X");var a=n("TXoJ"),r=n("Av9o");i.registerLayout(a),i.registerVisual(r)},"5oy1":function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("PLIk"),o=n("0FeM"),s=n("Xe9r"),l=n("wsbn"),u=n("wNM1"),c=n("XRpO");n("ruUa");var h=u.toolbox.dataZoom,d=a.each,f="\0_ec_\0toolbox-dataZoom_";function p(t,e,n){(this._brushController=new r(n.getZr())).on("brush",a.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:a.clone(h.title)};var g=p.prototype;g.render=function(t,e,n,i){this.model=t,this.ecModel=e,this.api=n,function(t,e,n,i,a){var r=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(r="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(v(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}(t,e)},g.onclick=function(t,e,n){m[n].call(this)},g.remove=function(t,e){this._brushController.unmount()},g.dispose=function(t,e){this._brushController.dispose()};var m={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function v(t){var e={};return a.each(["xAxisIndex","yAxisIndex"],function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),(!1===e[n]||"none"===e[n])&&(e[n]=[])}),e}g._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new o(v(this.model.option),i,{include:["grid"]}).matchOutputRanges(t,i,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(a("x",n,e[0]),a("y",n,e[1])):a({lineX:"x",lineY:"y"}[i],n,e)}}),s.push(i,n),this._dispatchZoomAction(n)}function a(t,e,a){var r=e.getAxis(t),o=r.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)}),i}(t,o,i),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}},g._dispatchZoomAction=function(t){var e=[];d(t,function(t,n){e.push(a.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",p),i.registerPreprocessor(function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var n=t.toolbox;if(n&&(a.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;r("xAxis",i),r("yAxis",i)}}function r(n,i){if(i){var r=n+"Index",o=i[r];null==o||"all"==o||a.isArray(o)||(o=!1===o||"none"===o?[]:[o]),function(e,n){var i=t[e];a.isArray(i)||(i=i?[i]:[]);d(i,n)}(n,function(t,i){if(null==o||"all"==o||-1!==a.indexOf(o,i)){var s={type:"select",$fromToolbox:!0,id:f+n+i};s[r]=i,e.push(s)}})}}});var y=p;t.exports=y},"6AUs":function(t,e,n){var i=n("UGP7"),a=n("6SPp"),r=n("N3RP"),o=n("h5OS"),s=n("F7La"),l=n("Ba82").round,u=["fromSymbol","toSymbol"];function c(t){return"_"+t+"Type"}function h(t,e,n){var a=e.getItemVisual(n,"color"),o=e.getItemVisual(n,t),s=e.getItemVisual(n,t+"Size");if(o&&"none"!==o){i.isArray(s)||(s=[s,s]);var l=r.createSymbol(o,-s[0]/2,-s[1]/2,s[0],s[1],a);return l.name=t,l}}function d(t,e){var n=e[0],i=e[1],a=e[2];t.x1=n[0],t.y1=n[1],t.x2=i[0],t.y2=i[1],t.percent=1,a?(t.cpx1=a[0],t.cpy1=a[1]):(t.cpx1=NaN,t.cpy1=NaN)}function f(t,e,n){s.Group.call(this),this._createLine(t,e,n)}var p=f.prototype;p.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.childOfName("label");if(t||e||!n.ignore){for(var i=1,r=this.parent;r;)r.scale&&(i/=r.scale[0]),r=r.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var s=o.shape.percent,l=o.pointAt(0),u=o.pointAt(s),c=a.sub([],u,l);if(a.normalize(c,c),t){t.attr("position",l);var h=o.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(h[1],h[0])),t.attr("scale",[i*s,i*s])}if(e&&(e.attr("position",u),h=o.tangentAt(1),e.attr("rotation",-Math.PI/2-Math.atan2(h[1],h[0])),e.attr("scale",[i*s,i*s])),!n.ignore){var d,f,p;n.attr("position",u);var g=5*i;if("end"===n.__position)d=[c[0]*g+u[0],c[1]*g+u[1]],f=c[0]>.8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var m=s/2,v=[(h=o.tangentAt(m))[1],-h[0]],y=o.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]),d=[y[0]+v[0]*g,y[1]+v[1]*g],f="center",p="bottom";var x=-Math.atan2(h[1],h[0]);u[0].8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||f},position:d,scale:[i,i]})}}}},p._createLine=function(t,e,n){var a=t.hostModel,r=function(t){var e=new o({name:"line"});return d(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,s.initProps(r,{shape:{percent:1}},a,e),this.add(r);var l=new s.Text({name:"label"});this.add(l),i.each(u,function(n){var i=h(n,t,e);this.add(i),this[c(n)]=t.getItemVisual(e,n)},this),this._updateCommonStl(t,e,n)},p.updateData=function(t,e,n){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};d(l.shape,o),s.updateProps(r,l,a,e),i.each(u,function(n){var i=t.getItemVisual(e,n),a=c(n);if(this[a]!==i){this.remove(this.childOfName(n));var r=h(n,t,e);this.add(r)}this[a]=i},this),this._updateCommonStl(t,e,n)},p._updateCommonStl=function(t,e,n){var a=t.hostModel,r=this.childOfName("line"),o=n&&n.lineStyle,c=n&&n.hoverLineStyle,h=n&&n.labelModel,d=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var f=t.getItemModel(e);o=f.getModel("lineStyle").getLineStyle(),c=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=i.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),r.hoverStyle=c,i.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))},this);var m,v,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=p||"#000",null==(v=a.getFormattedLabel(e,"normal",t.dataType)))){var b=a.getRawValue(e);v=null==b?t.getName(e):isFinite(b)?l(b):b}var w=y?v:null,S=x?i.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),v):null,M=_.style;null==w&&null==S||(s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle"),_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},p.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},i.inherits(f,s.Group);var g=f;t.exports=g},"6GAK":function(t,e,n){for(var i=n("2uO+"),a=n("pZTd"),r=function(){},o=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s=0&&l<0)&&(o=g,l=p,a=c,r.length=0),s(h,function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:r,snapToValue:a}}(e,t),u=l.payloadBatch,c=l.snapToValue;u[0]&&null==r.seriesIndex&&i.extend(r,u[0]),!a&&t.snap&&o.containData(c)&&null!=c&&(e=c),n.showPointer(t,e,u,r),n.showTooltip(t,l,c)}else n.showPointer(t,e)}function h(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function d(t,e,n,i){var a=n.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,c=r.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function f(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var a=t.currTrigger,r=[t.x,t.y],g=t,m=t.dispatchAction||i.bind(n.dispatchAction,n),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){p(r)&&(r=o({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(r),x=g.axesInfo,_=v.axesInfo,b="leave"===a||p(r),w={},S={},M={list:[],map:{}},I={showPointer:l(h,S),showTooltip:l(d,M)};s(v.coordSysMap,function(t,e){var n=y||t.containPoint(r);s(v.coordSysAxesInfo[e],function(t,e){var i=t.axis,a=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(x,t);if(!b&&n&&(!x||a)){var o=a&&a.value;null!=o||y||(o=i.pointToData(r)),null!=o&&c(t,o,I,!1,w)}})});var A={};return s(_,function(t,e){var n=t.linkGroup;n&&!S[e]&&s(n.axesInfo,function(e,i){var a=S[i];if(e!==t&&a){var r=a.value;n.mapper&&(r=t.axis.scale.parse(n.mapper(r,f(e),f(t)))),A[t.key]=r}})}),s(A,function(t,e){c(_[e],t,I,!0,w)}),function(t,e,n){var i=n.axesInfo=[];s(e,function(e,n){var a=e.axisPointerModel.option,r=t[n];r?(!e.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})})}(S,_,w),function(t,e,n,i){if(!p(e)&&t.list.length){var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(M,r,t,m),function(t,e,n){var a=n.getZr(),r=u(a).axisPointerLastHighlights||{},o=u(a).axisPointerLastHighlights={};s(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&s(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var l=[],c=[];i.each(r,function(t,e){!o[e]&&c.push(t)}),i.each(o,function(t,e){!r[e]&&l.push(t)}),c.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,n),w}}},"6z4l":function(t,e){var n=function(){this.head=null,this.tail=null,this._len=0},i=n.prototype;i.insert=function(t){var e=new a(t);return this.insertEntry(e),e},i.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},i.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},i.len=function(){return this._len},i.clear=function(){this.head=this.tail=null,this._len=0};var a=function(t){this.value=t,this.next,this.prev},r=function(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=r.prototype;o.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,n.insertEntry(s),i[t]=s}return r},o.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;t.exports=s},7067:function(t,e,n){var i=n("UGP7");t.exports=function(t){var e=[];i.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,i.defaults(t,t.mapLocation))})}},"75hO":function(t,e){e.updateCenterAndZoom=function(t,e,n){var i=t.getZoom(),a=t.getCenter(),r=e.zoom,o=t.dataToPoint(a);null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,a=t.pointToData(o),t.setCenter(a));if(null!=r){if(n){var s=n.min||0,l=n.max||1/0;r=Math.max(Math.min(i*r,l),s)/i}t.scale[0]*=r,t.scale[1]*=r;var u=t.position,c=(e.originX-u[0])*(r-1),h=(e.originY-u[1])*(r-1);u[0]-=c,u[1]-=h,t.updateTransform(),a=t.pointToData(o),t.setCenter(a),t.setZoom(r*i)}return{center:t.getCenter(),zoom:t.getZoom()}}},"7HPD":function(t,e,n){var i=n("F7La"),a=n("6AUs");function r(t){this._ctor=t||a,this.group=new i.Group}var o=r.prototype;function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return!l(t[0])&&!l(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,n=e.group,i=e._lineData;e._lineData=t,i||n.removeAll();var a=s(t);t.diff(i).add(function(n){!function(t,e,n,i){if(!u(e.getItemLayout(n)))return;var a=new t._ctor(e,n,i);e.setItemGraphicEl(n,a),t.group.add(a)}(e,t,n,a)}).update(function(n,r){!function(t,e,n,i,a,r){var o=e.getItemGraphicEl(i);if(!u(n.getItemLayout(a)))return void t.group.remove(o);o?o.updateData(n,a,r):o=new t._ctor(n,a,r);n.setItemGraphicEl(a,o),t.group.add(o)}(e,i,t,r,n,a)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},o.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var l=e.getComponent("tooltip"),h=e.getComponent("axisPointer"),d=h.get("link",!0)||[],f=[];r(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var p=c(n.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var m=n.model,v=m.getModel("tooltip",l);if(r(n.getAxes(),o(b,!1,null)),n.getTooltipAxes&&l&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),_=n.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&r(_.baseAxes,o(b,!x||"cross",y)),x&&r(_.otherAxes,o(b,"cross",!1))}}function b(o,l,p){var m=p.model.getModel("axisPointer",h),y=m.get("show");if(y&&("auto"!==y||o||u(m))){null==l&&(l=m.get("triggerTooltip"));var x=(m=o?function(t,e,n,o,s,l){var u=e.getModel("axisPointer"),c={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){c[t]=i.clone(u.get(t))}),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&i.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new a(c,n,o))}(p,v,h,e,o,l):m).get("snap"),_=c(p.model),b=l||x||"category"===p.type,w=t.axesInfo[_]={key:_,axis:p,coordSys:n,axisPointerModel:m,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(m),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var n=e.model,i=e.dim,a=0;ac[1]&&c.reverse(),(null==o||o>c[1])&&(o=c[1]),oS.x)||(_-=Math.PI);var A=b?"left":"right";x.setStyle({textPosition:A,textRotation:-_,textOrigin:"center",verticalAlign:"middle"})}if(h.parentNode&&h.parentNode!==f){var T=n.__edge;T||(T=n.__edge=new a.BezierCurve({shape:d(l,v,v),style:i.defaults({opacity:0},l.lineStyle)})),a.updateProps(T,{shape:d(l,m,y),style:{opacity:1}},s),o.add(T)}}function h(t,e,n,i,r,o){for(var s,l=t.tree.getNodeByDataIndex(e),c=t.tree.root,h=(o=u(l,l.getModel(),o),l.parentNode===c?l:l.parentNode||l);null==(s=h.getLayout());)h=h.parentNode===c?h:h.parentNode||h;a.updateProps(n,{position:[s.x+1,s.y+1]},r,function(){i.remove(n),t.setItemGraphicEl(e,null)}),n.fadeOut(null,{keepLabel:!0});var f=n.__edge;f&&a.updateProps(f,{shape:d(o,s,s),style:{opacity:0}},r,function(){i.remove(f)})}function d(t,e,n){var i,a,r,s,l=t.orient;if("radial"===t.layout){var u=e.rawX,c=e.rawY,h=n.rawX,d=n.rawY,f=o(u,c),p=o(u,c+(d-c)*t.curvature),g=o(h,d+(c-d)*t.curvature),m=o(h,d);return{x1:f.x,y1:f.y,x2:m.x,y2:m.y,cpx1:p.x,cpy1:p.y,cpx2:g.x,cpy2:g.y}}u=e.x,c=e.y,h=n.x,d=n.y;return"LR"!==l&&"RL"!==l||(i=u+(h-u)*t.curvature,a=c,r=h+(u-h)*t.curvature,s=d),"TB"!==l&&"BT"!==l||(i=u,a=c+(d-c)*t.curvature,r=h,s=d+(c-d)*t.curvature),{x1:u,y1:c,x2:h,y2:d,cpx1:i,cpy1:a,cpx2:r,cpy2:s}}t.exports=s},"8SWq":function(t,e,n){var i=n("UGP7");t.exports=function(t){for(var e=0;e=0||a&&i.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}},"8aFm":function(t,e,n){var i=n("2uO+");n("bowe"),n("dKWo"),i.registerPreprocessor(function(t){t.markLine=t.markLine||{}})},"90Ko":function(t,e,n){var i=n("2uO+");n("TYbb"),n("QrZi"),n("vgBJ"),n("lQgO"),n("AI4R"),i.extendComponentView({type:"single"})},"90Li":function(t,e,n){var i=n("UGP7"),a=n("a1dA"),r=n("Ba82"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):i.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],a=n.getData();a.each(this.getDataDimension(a),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function a(e,n){i.push({value:e,color:t(e,n)})}for(var r=0,o=0,s=n.length,u=e.length;on.blockIndex?n.step:null,r=i&&i.modDataCount;return{step:a,modBy:null!=r?Math.ceil(r/a):null,modDataCount:r}}},g.getPipeline=function(t){return this._pipelineMap.get(t)},g.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),a=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,r=t.get("large")&&i>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:a,modDataCount:o,large:r}},g.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries(function(t){var i=t.getProgressive(),a=t.uid;n.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),T(e,t,t.dataTask)})},g.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;a(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,[]);i.reset&&function(t,e,n,i,a){var r=n.seriesTaskMap||(n.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?i.eachRawSeries(c):o?i.eachRawSeriesByType(o,c):l&&l(i,a).each(c);function c(n){var o=n.uid,s=r.get(o)||r.set(o,u({plan:w,reset:S,count:A}));s.context={model:n,ecModel:i,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},T(t,n,s)}var h=t._pipelineMap;r.each(function(t,e){h.get(e)||(t.dispose(),r.removeKey(e))})}(this,i,r,e,n),i.overallReset&&function(t,e,n,i,r){var o=n.overallTask=n.overallTask||u({reset:y});o.context={ecModel:i,api:r,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),c=e.seriesType,h=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;c?i.eachRawSeriesByType(c,p):h?h(i,r).each(p):(d=!1,a(i.getSeries(),p));function p(e){var n=e.uid,i=l.get(n);i||(i=l.set(n,u({reset:x,onDirty:b})),o.dirty()),i.context={model:e,overallProgress:d,modifyOutputEnd:f},i.agent=o,i.__block=d,T(t,e,i)}var g=t._pipelineMap;l.each(function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))})}(this,i,r,e,n)},this)},g.prepareView=function(t,e,n,i){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=n,r.api=i,a.__block=!t.incrementalPrepareRender,T(this,e,a)},g.performDataProcessorTasks=function(t,e){m(this,this._dataProcessorHandlers,t,e,{block:!0})},g.performVisualTasks=function(t,e,n){m(this,this._visualHandlers,t,e,n)},g.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},g.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})};var v=g.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function x(t,e){return t.overallProgress&&_}function _(){this.agent.dirty(),this.getDownstream().dirty()}function b(){this.agent&&this.agent.dirty()}function w(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function S(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=f(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,function(t,e){return I(e)}):M}var M=I(0);function I(t){return function(e,n){var i=n.data,a=n.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r=1)&&(t=1),t}s===c&&u===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=function(t,e){var n,i;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),a(n)&&!n.length&&(n=null));t._progress=n,t._modBy=t._modDataCount=null;var r=t._downstream;return r&&r.dirty(),i}(this,i)),this._modBy=c,this._modDataCount=h;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:o}};return r;function o(){return e=t?null:r1e-4)return p[0]=t-n,p[1]=e-a,g[0]=t+n,void(g[1]=e+a);if(c[0]=l(r)*n+t,c[1]=s(r)*a+e,h[0]=l(o)*n+t,h[1]=s(o)*a+e,m(p,c,h),v(g,c,h),(r%=u)<0&&(r+=u),(o%=u)<0&&(o+=u),r>o&&!f?o+=u:rr&&(d[0]=l(_)*n+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}},"9sxn":function(t,e,n){var i=n("FMWM"),a=n("MUAU"),r=n("UGP7"),o=r.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(t,e,n,o){var l=t.getData().tree,c=l.root,d=t.getModel(s);c.isRemoved()||function t(e,n,o,l,c,d){var f=e.getModel();var p=e.getLayout();if(!p||p.invisible||!p.isInView)return;var g=e.getModel(s);var m=o[e.depth];var v=function(t,e,n,i){var a=r.extend({},e);return r.each(["color","colorAlpha","colorSaturation"],function(r){var o=t.get(r,!0);null==o&&n&&(o=n[r]),null==o&&(o=e[r]),null==o&&(o=i.get(r)),null!=o&&(a[r]=o)}),a}(g,n,m,l);var y=g.get("borderColor");var x=g.get("borderColorSaturation");var _;null!=x&&(_=u(v),y=function(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}(x,_));e.setVisual("borderColor",y);var b=e.viewChildren;if(b&&b.length){var w=function(t,e,n,a,r,o){if(!o||!o.length)return;var s=h(e,"color")||null!=r.color&&"none"!==r.color&&(h(e,"colorAlpha")||h(e,"colorSaturation"));if(!s)return;var l=e.get("visualMin"),u=e.get("visualMax"),c=n.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var d=e.get("colorMappingBy"),f={type:s.name,dataExtent:c,visual:s.range};"color"!==f.type||"index"!==d&&"id"!==d?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var p=new i(f);return p.__drColorMappingBy=d,p}(0,f,p,0,v,b);r.each(b,function(e,n){if(e.depth>=c.length||e===c[e.depth]){var i=function(t,e,n,i,a,o){var s=r.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,c="index"===u?i:"id"===u?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}(f,v,e,n,w,d);t(e,i,o,l,c,d)}})}else _=u(v),e.setVisual("color",_)}(c,{},r.map(l.levelModels,function(t){return t?t.get(s):null}),d,t.getViewRoot().getAncestors(),t)}};function u(t){var e=c(t,"color");if(e){var n=c(t,"colorAlpha"),i=c(t,"colorSaturation");return i&&(e=a.modifyHSL(e,null,null,i)),n&&(e=a.modifyAlpha(e,n)),e}}function c(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function h(t,e){var n=t.get(e);return o(n)&&n.length?{name:e,range:n}:null}t.exports=l},"9xFb":function(t,e){t.exports=function(t,e,n,i,a,r){if(r>e&&r>i||ra?o:0}},A3JO:function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},i=n;t.exports=i},A5kE:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("XRpO"),o=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,function(t,e){var n=r.get(e);n&&a.merge(t,n.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}}}}),s=o;t.exports=s},A66k:function(t,e,n){var i=n("F7La"),a=n("aGmn"),r=n("UGP7"),o=n("pZTd").wrapTreePathInfo,s=5;function l(t){this.group=new i.Group,t.add(this.group)}function u(t,e,n,i,a,r){var o=[[a?t:t-s,e],[t+n,e],[t+n,e+i],[a?t:t-s,e+i]];return!r&&o.splice(2,0,[t+n+s,e+i/2]),!a&&o.push([t,e+i/2]),o}function c(t,e,n){t.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&o(n,e)}}l.prototype={constructor:l,render:function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var s=r.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,s,l,i),a.positionElement(o,u.pos,u.box)}},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var a=i.getModel().get("name"),r=n.getTextRect(a),o=Math.max(r.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:i,text:a,width:o})}},_renderContent:function(t,e,n,o,s){for(var l=0,h=e.emptyItemWidth,d=t.get("breadcrumb.height"),f=a.getAvailableSize(e.pos,e.box),p=e.totalWidth,g=e.renderList,m=g.length-1;m>=0;m--){var v=g[m],y=v.node,x=v.width,_=v.text;p>f.width&&(p-=x-h,x=h,_=null);var b=new i.Polygon({shape:{points:u(l,0,x,d,m===g.length-1,0===m)},style:r.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,y)});this.group.add(b),c(b,t,y),l+=x+8}},remove:function(){this.group.removeAll()}};var h=l;t.exports=h},A6j4:function(t,e,n){var i=n("Ba82"),a=i.round;function r(t){return i.getPrecisionSafe(t)+2}function o(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function s(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),o(t,0,e),o(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,o){var l={},u=t[1]-t[0],c=l.interval=i.nice(u/e,!0);null!=n&&co&&(c=l.interval=o);var h=l.intervalPrecision=r(c);return s(l.niceTickExtent=[a(Math.ceil(t[0]/c)*c,h),a(Math.floor(t[1]/c)*c,h)],t),l},e.getIntervalPrecision=r,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,n,i){var r=[];if(!t)return r;e[0]1e4)return[];return e[1]>(r.length?r[r.length-1]:n[1])&&r.push(e[1]),r}},ADnn:function(t,e,n){var i=n("UGP7"),a=n("GyJx"),r=(0,n("vhe7").makeInner)(),o=i.each;function s(t,e,n){t.handler("leave",null,n)}function l(t,e,n,i){e.handler(t,n,i)}e.register=function(t,e,n){if(!a.node){var u=e.getZr();r(u).records||(r(u).records={}),function(t,e){function n(n,i){t.on(n,function(n){var a=function(t){var e={showTip:[],hideTip:[]},n=function(i){var a=e[i.type];a?a.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);o(r(t).records,function(t){t&&i(t,n,a.dispatchAction)}),function(t,e){var n,i=t.showTip.length,a=t.hideTip.length;i?n=t.showTip[i-1]:a&&(n=t.hideTip[a-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(a.pendings,e)})}r(t).initialized||(r(t).initialized=!0,n("click",i.curry(l,"click")),n("mousemove",i.curry(l,"mousemove")),n("globalout",s))}(u,e),(r(u).records[t]||(r(u).records[t]={})).handler=n}},e.unregister=function(t,e){if(!a.node){var n=e.getZr();(r(n).records||{})[t]&&(r(n).records[t]=null)}}},AGHm:function(t,e,n){var i=n("2uO+");n("Ussf"),n("BJIw");var a=n("JMMV"),r=n("tOB6");i.registerVisual(a),i.registerLayout(r)},AI4R:function(t,e,n){var i=n("F7La"),a=n("ibt6"),r=n("ffSB"),o=n("eVHp"),s=n("SWfF"),l=["x","y"],u=["width","height"],c=a.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.coordinateSystem,u=f(l,1-d(s)),c=l.dataToPoint(e)[0],p=i.get("type");if(p&&"none"!==p){var g=r.buildElStyle(i),m=h[p](s,c,u,g);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=o.layout(n);r.buildCartesianSingleLabelElOption(e,t,v,n,i,a)},getHandleTransform:function(t,e,n){var i=o.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,r=a.coordinateSystem,o=d(a),s=f(r,o),l=t.position;l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var u=f(r,1-o),c=(u[1]+u[0])/2,h=[c,c];return h[o]=l[o],{position:l,rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}}}),h={line:function(t,e,n,a){var o=r.makeLineShape([e,n[0]],[e,n[1]],d(t));return i.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(t,e,n,i){var a=t.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([e-a/2,n[0]],[a,o],d(t))}}};function d(t){return t.isHorizontal()?0:1}function f(t,e){var n=t.getRect();return[n[l[e]],n[l[e]]+n[u[e]]]}s.registerAxisPointerClass("SingleAxisPointer",c);var p=c;t.exports=p},ANEW:function(t,e,n){var i=n("UGP7"),a=n("Ba82"),r=n("3hBm"),o=i.each,s=a.asc,l=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function u(t,e){var n=t.getAxisModel(),i=t._percentWindow,r=t._valueWindow;if(i){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=e||0===i[0]&&100===i[1];n.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}l.prototype={constructor:l,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries(function(n){if(r.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,a=e.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&t.push(n)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,a=this.ecModel,r=this.getAxisModel();return"x"===i||"y"===i?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle"),a.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(n=t)}),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e=this._dataExtent,n=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),r=[0,100],l=[t.start,t.end],u=[];return o(["startValue","endValue"],function(e){u.push(null!=t[e]?n.parse(t[e]):null)}),o([0,1],function(t){var o=u[t],s=l[t];"percent"===i[t]?(null==s&&(s=r[t]),o=n.parse(a.linearMap(s,r,e,!0))):s=a.linearMap(o,e,r,!0),u[t]=o,l[t]=s}),{valueWindow:s(u),percentWindow:s(l)}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];o(n,function(t){var n=t.getData();n&&o(n.mapDimension(e,!0),function(t){var e=n.getApproximateExtent(t);e[0]i[1]&&(i[1]=e[1])})}),i[1]0?0:NaN);var o=n.getMax(!0);null!=o&&"dataMax"!==o&&"function"!=typeof o?e[1]=o:a&&(e[1]=r>0?r-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,i),i}(this,this._dimName,e);var n=this.calculateDataWindow(t.option);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,function(t){var e=t._minMaxSpan={},n=t._dataZoomModel;o(["min","max"],function(i){e[i+"Span"]=n.get(i+"Span");var r=n.get(i+"ValueSpan");if(null!=r&&(e[i+"ValueSpan"]=r,null!=(r=t.getAxisModel().axis.scale.parse(r)))){var o=t._dataExtent;e[i+"Span"]=a.linearMap(o[0]+r,o,[0,100],!0)}})}(this),u(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&o(i,function(t){var e=t.getData(),i=e.mapDimension(n,!0);"weakFilter"===a?e.filterSelf(function(t){for(var n,a,o,s=0;sr[1];if(u&&!c&&!h)return!0;u&&(o=!0),c&&(n=!0),h&&(a=!0)}return o&&n&&a}):o(i,function(n){if("empty"===a)t.setData(e.map(n,function(t){return function(t){return t>=r[0]&&t<=r[1]}(t)?t:NaN}));else{var i={};i[n]=r,e.selectRange(i)}}),o(i,function(t){e.setApproximateExtent(r,t)})})}}};var c=l;t.exports=c},APTP:function(t,e,n){var i=n("UGP7"),a=n("Ba82").parsePercent,r=n("z+In").isDimensionStacked,o=n("u5D0"),s="__ec_stack_",l="undefined"!=typeof Float32Array?Float32Array:Array;function u(t){return t.get("stack")||s+t.seriesIndex}function c(t){return t.dim+t.index}function h(t,e){var n=[];return e.eachSeriesByType(t,function(t){m(t)&&!v(t)&&n.push(t)}),n}function d(t){var e=[];return i.each(t,function(t){var n=t.getData(),i=t.coordinateSystem.getBaseAxis(),r=i.getExtent(),o="category"===i.type?i.getBandWidth():Math.abs(r[1]-r[0])/n.count(),s=a(t.get("barWidth"),o),l=a(t.get("barMaxWidth"),o),h=t.get("barGap"),d=t.get("barCategoryGap");e.push({bandWidth:o,barWidth:s,barMaxWidth:l,barGap:h,barCategoryGap:d,axisKey:c(i),stackId:u(t)})}),f(e)}function f(t){var e={};i.each(t,function(t,n){var i=t.axisKey,a=t.bandWidth,r=e[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[i]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barGap;null!=c&&(r.gap=c);var h=t.barCategoryGap;null!=h&&(r.categoryGap=h)});var n={};return i.each(e,function(t,e){n[e]={};var r=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(r,function(t,e){var n=t.maxWidth;n&&n.5||(c=.5),{progress:function(t,e){var h,d=new l(2*t.count),f=[],p=[],g=0;for(;null!=(h=t.next());)p[u]=e.get(r,h),p[1-u]=e.get(o,h),f=n.dataToPoint(p,null,f),d[g++]=f[0],d[g++]=f[1];e.setLayout({largePoints:d,barWidth:c,valueAxisStart:y(i,a,!1),valueAxisHorizontal:s})}}}}};function m(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function v(t){return t.pipelineContext&&t.pipelineContext.large}function y(t,e,n){return i.indexOf(t.getAxesOnZeroOf(),e)>=0||n?e.toGlobalCoord(e.dataToCoord(0)):e.getGlobalExtent()[0]}e.getLayoutOnAxis=function(t){var e=[],n=t.axis;if("category"===n.type){for(var a=n.getBandWidth(),r=0;r=0?"p":"n",k=b;x&&(o[l][I]||(o[l][I]={p:b,n:b}),k=o[l][I][L]),_?(A=k,T=(P=n.dataToPoint([M,I]))[1]+d,C=P[0]-b,D=f,Math.abs(C)=0&&!(i[s]<=e);s--);s=Math.min(s,a-2)}else{for(var s=r;se);s++);s=Math.min(s-1,a-2)}o.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,r);var u=s;t.exports=u},BCtA:function(t,e,n){var i=n("2uO+");i.registerAction({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},BGn2:function(t,e,n){var i=n("FJ3K"),a=n("UGP7"),r=n("GABs").getDimensionTypeByAxis,o={_baseAxisDim:null,getInitialData:function(t,e){var n,o,s=e.getComponent("xAxis",this.get("xAxisIndex")),l=e.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(t.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===c?(t.layout="vertical",n=l.getOrdinalMeta(),o=!0):t.layout=t.layout||"horizontal";var h=["x","y"],d="horizontal"===t.layout?0:1,f=this._baseAxisDim=h[d],p=h[1-d],g=[s,l],m=g[d].get("type"),v=g[1-d].get("type"),y=t.data;if(y&&o){var x=[];a.each(y,function(t,e){var n;t.value&&a.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):a.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,x.push(n)}),t.data=x}var _=this.defaultValueDimensions;return i(this,{coordDimensions:[{name:f,type:r(m),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:r(v),dimsDef:_.slice()}],dimensionsCount:_.length+1})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=o},BJIw:function(t,e,n){var i=n("UGP7"),a=n("N2Lo"),r=n("F7La"),o=n("r2sF"),s=["itemStyle"],l=["emphasis","itemStyle"],u=a.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),a=this.group,r=this._data;this._data||a.removeAll();var o="horizontal"===t.get("layout")?1:0;i.diff(r).add(function(t){if(i.hasValue(t)){var e=h(i.getItemLayout(t),i,t,o,!0);i.setItemGraphicEl(t,e),a.add(e)}}).update(function(t,e){var n=r.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?d(s,n,i,t):n=h(s,i,t,o),a.add(n),i.setItemGraphicEl(t,n)}else a.remove(n)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&a.remove(e)}).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},dispose:i.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i=0;d--)null==o[d]?o.splice(d,1):delete o[d].$action},_flatten:function(t,e,n){a.each(t,function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;"group"===t.type&&i&&this._flatten(i,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function u(t,e,n,i){var a=n.type,r=new(0,o[a.charAt(0).toUpperCase()+a.slice(1)])(n);e.add(r),i.set(t,r),r.__ecGraphicId=t}function c(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse(function(t){c(t,e)}),e.removeKey(t.__ecGraphicId),n.remove(t))}function h(t,e){var n;return a.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}i.extendComponentView({type:"graphic",init:function(t,e){this._elMap=a.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t,n),this._relocate(t,n)},_updateElements:function(t,e){var n=t.useElOptionsToUpdate();if(n){var i=this._elMap,r=this.group;a.each(n,function(t){var e=t.$action,n=t.id,o=i.get(n),l=t.parentId,h=null!=l?i.get(l):r;if("text"===t.type){var d=t.style;t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke)}var f=function(t){return t=a.extend({},t),a.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),function(e){delete t[e]}),t}(t);e&&"merge"!==e?"replace"===e?(c(o,i),u(n,h,f,i)):"remove"===e&&c(o,i):o?o.attr(f):u(n,h,f,i);var p=i.get(n);p&&(p.__ecGraphicWidth=t.width,p.__ecGraphicHeight=t.height)})}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,a=this._elMap,r=n.length-1;r>=0;r--){var o=n[r],l=a.get(o.id);if(l){var u=l.parent,c=u===i?{width:e.getWidth(),height:e.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};s.positionElement(l,o,c,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){c(e,t)}),this._elMap=a.createHashMap()},dispose:function(){this._clear()}})},Ba82:function(t,e,n){var i=n("UGP7"),a=1e-4;var r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(t){return Math.floor(Math.log(t)/Math.LN10)}e.linearMap=function(t,e,n,i){var a=e[1]-e[0],r=n[1]-n[0];if(0===a)return 0===r?n[0]:(n[0]+n[1])/2;if(i)if(a>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/a*r+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?function(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var a=e.indexOf(".");return a<0?0:e.length-1-a},e.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,a=Math.floor(n(t[1]-t[0])/i),r=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var a=i.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===a)return 0;for(var r=Math.pow(10,n),o=i.map(t,function(t){return(isNaN(t)?0:t)/a*r*100}),s=100*r,l=i.map(o,function(t){return Math.floor(t)}),u=i.reduce(l,function(t,e){return t+e},0),c=i.map(o,function(t,e){return t-l[e]});uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/r},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-a&&t=-20?+t.toFixed(n<0?-n:0):t},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,n,i){return e.interval[i]=0}},BqZL:function(t,e,n){n("HVjr");var i=n("C2x7").extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=i},"C+/8":function(t,e,n){var i=n("UGP7"),a=n("FMWM"),r=i.each;function o(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}e.createVisualMappings=function(t,e,n){var o={};return r(e,function(e){var s=o[e]=function(){var t=function(){};return t.prototype.__hidden=t.prototype,new t}();r(t[e],function(t,r){if(a.isValidType(r)){var o={type:r,visual:t};n&&n(o,e),s[r]=new a(o),"opacity"===r&&((o=i.clone(o)).type="colorAlpha",s.__hidden.__alphaForOpacity=new a(o))}})}),o},e.replaceVisualOption=function(t,e,n){var a;i.each(n,function(t){e.hasOwnProperty(t)&&o(e[t])&&(a=!0)}),a&&i.each(n,function(n){e.hasOwnProperty(n)&&o(e[n])?t[n]=i.clone(e[n]):delete t[n]})},e.applyVisual=function(t,e,n,r,o,s){var l,u={};function c(t){return n.getItemVisual(l,t)}function h(t,e){n.setItemVisual(l,t,e)}function d(t,i){l=null==s?t:i;var a=n.getRawDataItem(l);if(!a||!1!==a.visualMap)for(var d=r.call(o,t),f=e[d],p=u[d],g=0,m=p.length;g=0;o--)r=i.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(f,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(f),r.enableTopologicalTravel(f,function(t){var e=[];i.each(f.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=i.map(e,function(t){return l(t).main}),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}),i.mixin(f,h);var p=f;t.exports=p},C3HF:function(t,e,n){var i=n("nPoN").quadraticProjectPoint;e.containStroke=function(t,e,n,a,r,o,s,l,u){if(0===s)return!1;var c=s;return!(u>e+c&&u>a+c&&u>o+c||ut+c&&l>n+c&&l>r+c||le[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),a=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:a[0],y2:a[1]}}function l(t){return t.getRadiusAxis().inverse?0:1}function u(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var c=n("SWfF").extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,r=a.getRadiusAxis().getExtent(),s=n.getTicksCoords(),l=i.map(n.getViewLabels(),function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t});u(l),u(s),i.each(o,function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,s,r,l)},this)}},_axisLine:function(t,e,n,i){var r=t.getModel("axisLine.lineStyle"),o=new a.Circle({shape:{cx:e.cx,cy:e.cy,r:i[l(e)]},style:r.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,n,r){var o=t.getModel("axisTick"),u=(o.get("inside")?-1:1)*o.get("length"),c=r[l(e)],h=i.map(n,function(t){return new a.Line({shape:s(e,[c,c+u],t.coord)})});this.group.add(a.mergePath(h,{style:i.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,n,o,s){var u=t.getCategories(!0),c=t.getModel("axisLabel"),h=c.get("margin");i.each(s,function(n,i){var s=c,d=n.tickValue,f=o[l(e)],p=e.coordToPoint([f+h,n.coord]),g=e.cx,m=e.cy,v=Math.abs(p[0]-g)/f<.3?"center":p[0]>g?"left":"right",y=Math.abs(p[1]-m)/f<.3?"middle":p[1]>m?"top":"bottom";u&&u[d]&&u[d].textStyle&&(s=new r(u[d].textStyle,c,c.ecModel));var x=new a.Text({silent:!0});this.group.add(x),a.setTextStyle(x.style,s,{x:p[0],y:p[1],textFill:s.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:v,textVerticalAlign:y})},this)},_splitLine:function(t,e,n,r){var o=t.getModel("splitLine").getModel("lineStyle"),l=o.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=0;h0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",t,e):(s.virtualPiece=new r(n,t,e),h.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var a=function(t){s._rootToNode(i.parentNode)};i.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}(u,c),a&&a.highlight&&a.highlight.piece){var g=t.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece.childAt(0)===e.target){var a=i.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(i);else if("link"===a){var r=i.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";window.open(o,s)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,a=t[1]-n.cy,r=Math.sqrt(i*i+a*a);return r<=n.r&&r>=n.r0}}});t.exports=s},CZCe:function(t,e,n){var i=n("2uO+"),a=n("npYb");n("Rv7n"),n("tWCw"),n("FPYY"),n("HwNf"),i.registerPreprocessor(a)},CqUL:function(t,e,n){var i=n("UGP7"),a={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t){i.each(t.regions,function(t){var e=a[t.name];if(e){var n=t.center;n[0]=e[0],n[1]=e[1]}})}},Cqaw:function(t,e,n){var i=n("UGP7"),a=n("Ba82").parsePercent,r=n("z+In").isDimensionStacked;function o(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t){return t.dim}var l=function(t,e,n){var l=n.getWidth(),u=n.getHeight(),c={},h=function(t,e){var n={};i.each(t,function(t,e){var i=t.getData(),r=t.coordinateSystem,l=r.getBaseAxis(),u=l.getExtent(),c="category"===l.type?l.getBandWidth():Math.abs(u[1]-u[0])/i.count(),h=n[s(l)]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=h.stacks;n[s(l)]=h;var f=o(t);d[f]||h.autoWidthCount++,d[f]=d[f]||{width:0,maxWidth:0};var p=a(t.get("barWidth"),c),g=a(t.get("barMaxWidth"),c),m=t.get("barGap"),v=t.get("barCategoryGap");p&&!d[f].width&&(p=Math.min(h.remainedWidth,p),d[f].width=p,h.remainedWidth-=p),g&&(d[f].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)});var r={};return i.each(n,function(t,e){r[e]={};var n=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(n,function(t,e){var n=t.maxWidth;n&&n=0?"p":"n",E=I;if(M&&(c[d][D]||(c[d][D]={p:I,n:I}),E=c[d][D][R]),"radius"===m.dim){var N=m.dataToRadius(C)-I,z=i.dataToAngle(D);Math.abs(N)<_&&(N=(N<0?-1:1)*_),P=E,L=E+N,O=(k=z-p)-g,M&&(c[d][D][R]=L)}else{var G=m.dataToAngle(C,!0)-I,B=i.dataToRadius(D);Math.abs(G)"+r.map(n,function(n,i){var a=e.get(e.mapDimension(n.dim),t);return o(n.name+" : "+a)}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),l=s;t.exports=l},"DX/+":function(t,e,n){var i=n("VrlY").normalizeRadian,a=2*Math.PI;e.containStroke=function(t,e,n,r,o,s,l,u,c){if(0===l)return!1;var h=l;u-=t,c-=e;var d=Math.sqrt(u*u+c*c);if(d-h>n||d+ho&&(o+=a);var p=Math.atan2(c,u);return p<0&&(p+=a),p>=r&&p<=o||p+a>=r&&p+a<=o}},DqCO:function(t,e,n){var i=n("UGP7"),a=n("bZEM");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},Dqg7:function(t,e,n){var i=n("UGP7"),a=n("N3RP").createSymbol,r=n("F7La").Group,o=n("Ba82").parsePercent,s=n("+NBr");function l(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function u(t,e){r.call(this);var n=new s(t,e),i=new r;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var c=u.prototype;c.stopEffectAnimation=function(){this.childAt(1).removeAll()},c.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),r=0;r<3;r++){var o=a(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-r/3*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(o)}l(i,t)},c.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],a=0;ah?w[c]:b[c],ends:I,brushRect:C(f,y,o)})}function A(t,n){var i=[];return i[l]=n,i[c]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function T(t,e,n){var r=e.slice(),o=e.slice();r[l]=i(r[l]+a/2,1,!1),o[l]=i(o[l]-a/2,1,!0),n?t.push(r,o):t.push(o,r)}function C(t,e,n){var i=A(t,n),r=A(e,n);return i[l]-=a/2,r[l]-=a/2,{x:i[0],y:i[1],width:c?a:r[0]-i[0],height:c?r[1]-i[1]:a}}function D(t){return t[l]=i(t[l],1),t}}}}};function u(t,e,n,i,a){return n>i?-1:n0?t.get(a,e-1)<=i?1:-1:1}t.exports=l},EDq4:function(t,e,n){var i=n("z+In").isDimensionStacked,a=n("UGP7").map;e.prepareDataCoordInfo=function(t,e,n){var r,o=t.getBaseAxis(),s=t.getOtherAxis(o),l=function(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}(s,n),u=o.dim,c=s.dim,h=e.mapDimension(c),d=e.mapDimension(u),f="x"===c||"radius"===c?1:0,p=a(t.dimensions,function(t){return e.mapDimension(t)}),g=e.getCalculationInfo("stackResultDimension");return(r|=i(e,p[0]))&&(p[0]=g),(r|=i(e,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!r,valueDim:h,baseDim:d,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,n,i){var a=NaN;t.stacked&&(a=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(a)&&(a=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=n.get(t.baseDim,i),o[1-r]=a,e.dataToPoint(o)}},"EL/e":function(t,e,n){var i=n("F7La"),a=n("ibt6"),r=n("ffSB"),o=n("p0DZ"),s=n("SWfF"),l=a.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.grid,h=i.get("type"),d=u(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(e,!0));if(h&&"none"!==h){var p=r.buildElStyle(i),g=c[h](s,f,d,p);g.style=p,t.graphicKey=g.type,t.pointer=g}var m=o.layout(l.model,n);r.buildCartesianSingleLabelElOption(e,t,m,n,i,a)},getHandleTransform:function(t,e,n){var i=o.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,r=a.grid,o=a.getGlobalExtent(!0),s=u(r,a).getOtherAxis(a).getGlobalExtent(),l="x"===a.dim?0:1,c=t.position;c[l]+=e[l],c[l]=Math.min(o[1],c[l]),c[l]=Math.max(o[0],c[l]);var h=(s[1]+s[0])/2,d=[h,h];d[l]=c[l];return{position:c,rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}}});function u(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var c={line:function(t,e,n,a){var o=r.makeLineShape([e,n[0]],[e,n[1]],h(t));return i.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(t,e,n,i){var a=Math.max(1,t.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([e-a/2,n[0]],[a,o],h(t))}}};function h(t){return"x"===t.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",l);var d=l;t.exports=d},ERjf:function(t,e,n){var i=n("UGP7"),a=n("bZEM"),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},ETdO:function(t,e,n){var i=n("UGP7"),a=n("F7La"),r=n("N2Lo");function o(t,e,n,i){var a=e.getData(),r=this.dataIndex,o=a.getName(r),l=e.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),a.each(function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),l,n)})}function s(t,e,n,i,a){var r=(e.startAngle+e.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=n?i:0,u=[o*l,s*l];a?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){a.Group.call(this);var n=new a.Sector({z2:2}),i=new a.Polyline,r=new a.Text;function o(){i.ignore=i.hoverIgnore,r.ignore=r.hoverIgnore}function s(){i.ignore=i.normalIgnore,r.ignore=r.normalIgnore}this.add(n),this.add(i),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var u=l.prototype;u.updateData=function(t,e,n){var r=this.childAt(0),o=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e),c=i.extend({},u);(c.label=null,n)?(r.setShape(c),"scale"===o.getShallow("animationType")?(r.shape.r=u.r0,a.initProps(r,{shape:{r:u.r}},o,e)):(r.shape.endAngle=u.startAngle,a.updateProps(r,{shape:{endAngle:u.endAngle}},o,e))):a.updateProps(r,{shape:c},o,e);var h=t.getItemVisual(e,"color");r.useStyle(i.defaults({lineJoin:"bevel",fill:h},l.getModel("itemStyle").getItemStyle())),r.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var d=l.getShallow("cursor");function f(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r+o.get("hoverOffset")}},300,"elasticOut")}function p(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r}},300,"elasticOut")}d&&r.attr("cursor",d),s(this,t.getItemLayout(e),o.isSelected(null,e),o.get("selectedOffset"),o.get("animation")),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&o.isAnimationEnabled()&&r.on("mouseover",f).on("mouseout",p).on("emphasis",f).on("normal",p),this._updateLabel(t,e),a.setHoverStyle(this)},u._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");a.updateProps(n,{shape:{points:s.linePoints||[[s.x,s.y],[s.x,s.y],[s.x,s.y]]}},r,e),a.updateProps(i,{style:{x:s.x,y:s.y}},r,e),i.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),c=o.getModel("emphasis.label"),h=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");a.setLabelStyle(i.style,i.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),i.ignore=i.normalIgnore=!u.get("show"),i.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l,opacity:t.getItemVisual(e,"opacity")}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle();var f=h.get("smooth");f&&!0===f&&(f=.4),n.setShape({smooth:f})},i.inherits(l,a.Group);var c=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,n,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,d=t.get("animationType"),f=i.curry(o,this.uid,t,c,n),p=t.get("selectedMode");if(r.diff(s).add(function(t){var e=new l(r,t);h&&"scale"!==d&&e.eachChild(function(t){t.stopAnimation(!0)}),p&&e.on("click",f),r.setItemGraphicEl(t,e),u.add(e)}).update(function(t,e){var n=s.getItemGraphicEl(e);n.updateData(r,t),n.off("click"),p&&n.on("click",f),u.add(n),r.setItemGraphicEl(t,n)}).remove(function(t){var e=s.getItemGraphicEl(t);u.remove(e)}).execute(),c&&h&&r.count()>0&&"scale"!==d){var g=r.getItemLayout(0),m=Math.max(n.getWidth(),n.getHeight())/2,v=i.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,t))}this._data=r}},dispose:function(){},_createClipPath:function(t,e,n,i,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:r}});return a.initProps(l,{shape:{endAngle:i+(r?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,a=t[1]-n.cy,r=Math.sqrt(i*i+a*a);return r<=n.r&&r>=n.r0}}});t.exports=c},EZgB:function(t,e,n){var i=n("UGP7"),a=n("bZEM"),r=function(t,e,n,i,r){a.call(this,t,e,n),this.type=i||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(r,a);var o=r;t.exports=o},Ee89:function(t,e){var n=function(t){this.colorStops=t||[]};n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var i=n;t.exports=i},EzlC:function(t,e,n){n("C2x7").registerSubTypeDefaulter("dataZoom",function(){return"slider"})},F1dp:function(t,e,n){var i=n("EDq4"),a=i.prepareDataCoordInfo,r=i.getStackedOnPoint;t.exports=function(t,e,n,i,o,s,l,u){for(var c=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),h=[],d=[],f=[],p=[],g=[],m=[],v=[],y=a(o,e,l),x=a(s,t,u),_=0;_=0)&&(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=n.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),i}function $(t,e,n,i,a,r){if("function"==typeof a&&(r=a,a=null),i&&i.isAnimationEnabled()){var o=t?"Update":"",s=i.getShallow("animationDuration"+o),l=i.getShallow("animationEasing"+o),u=i.getShallow("animationDelay"+o);"function"==typeof u&&(u=u(a,i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null)),"function"==typeof s&&(s=s(a)),s>0?e.animateTo(n,s,u||0,l,r,!!r):(e.stopAnimation(),e.attr(n),r&&r())}else e.stopAnimation(),e.attr(n),r&&r()}function tt(t,e,n,i,a){$(!0,t,e,n,i,a)}function et(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=o.invert([],e)),s.applyTransform([],t,e)}e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return a.extendFromString(t,e)},e.makePath=L,e.makeImage=function(t,e,n){var i=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var a={width:t.width,height:t.height};i.setStyle(k(e,a))}}});return i},e.mergePath=O,e.resizePath=R,e.subPixelOptimizeLine=function(t){var e=t.shape,n=t.style.lineWidth;return T(2*e.x1)===T(2*e.x2)&&(e.x1=e.x2=E(e.x1,n,!0)),T(2*e.y1)===T(2*e.y2)&&(e.y1=e.y2=E(e.y1,n,!0)),t},e.subPixelOptimizeRect=function(t){var e=t.shape,n=t.style.lineWidth,i=e.x,a=e.y,r=e.width,o=e.height;return e.x=E(e.x,n,!0),e.y=E(e.y,n,!0),e.width=Math.max(E(i+r,n,!1)-e.x,0===r?0:1),e.height=Math.max(E(a+o,n,!1)-e.y,0===o?0:1),t},e.subPixelOptimize=E,e.setHoverStyle=function(t,e,n){t.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&W(t,e)}):W(t,e),t.on("mouseover",H).on("mouseout",Z),t.on("emphasis",X).on("normal",q)},e.setLabelStyle=function(t,e,n,a,r,o,s){var l,u=(r=r||P).labelFetcher,c=r.labelDataIndex,h=r.labelDimIndex,d=n.getShallow("show"),f=a.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h)),null==l&&(l=i.isFunction(r.defaultText)?r.defaultText(c,r):r.defaultText));var p=d?l:null,g=f?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h):null,l):null;null==p&&null==g||(j(t,n,o,r),j(e,a,s,r,!0)),t.text=p,e.text=g},e.setTextStyle=j,e.setText=function(t,e,n){var i,a={isRectText:!0};!1===n?i=!0:a.autoColor=n,Y(t,e,a,i),t.host&&t.host.dirty&&t.host.dirty(!1)},e.getFont=function(t,e){var n=e||e.getModel("textStyle");return i.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=tt,e.initProps=function(t,e,n,i,a){$(!1,t,e,n,i,a)},e.getTransform=function(t,e){for(var n=o.identity([]);t&&t!==e;)o.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=et,e.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-i:"right"===t?i:0,"top"===t?-a:"bottom"===t?a:0];return r=et(r,e,n),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,a){if(t&&e){var r=function(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),tt(t,i,n,t.dataIndex)}}})}function o(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return i.map(t,function(t){var n=t[0];n=C(n,e.x),n=D(n,e.x+e.width);var i=t[1];return i=C(i,e.y),[n,i=D(i,e.y+e.height)]})},e.clipRectByRect=function(t,e){var n=C(t.x,e.x),i=D(t.x+t.width,e.x+e.width),a=C(t.y,e.y),r=D(t.y+t.height,e.y+e.height);if(i>=n&&r>=a)return{x:n,y:a,width:i-n,height:r-a}},e.createIcon=function(t,e,n){var a=(e=i.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),i.defaults(a,n),new c(e)):L(t.replace("path://",""),e,n,"center")}},F7PJ:function(t,e,n){var i=n("UGP7"),a=n("C2x7"),r=n("yo78"),o=n("vhe7"),s=a.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,a=this._names=[];if("category"===n){var s=[];i.each(e,function(t,e){var n,r=o.getDataItemValue(t);i.isObject(t)?(n=i.clone(t)).value=e:n=e,s.push(n),i.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")}),e=s}var l={category:"ordinal",time:"time"}[n]||"number";(this._data=new r([{name:"value",type:l}],this)).initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},FANF:function(t,e,n){var i=n("UGP7").inherits,a=n("zasC"),r=n("GBWL");function o(t){a.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}o.prototype.incremental=!0,o.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},o.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},o.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}i.registerPreprocessor(o)},FHmb:function(t,e,n){var i=n("6SPp"),a=i.min,r=i.max,o=i.scale,s=i.distance,l=i.add,u=i.clone,c=i.sub;t.exports=function(t,e,n,i){var h,d,f,p,g=[],m=[],v=[],y=[];if(i){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)a(f,f,t[x]),r(p,p,t[x]);a(f,f,i[0]),r(p,p,i[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(u(t[x]));continue}h=t[x-1],d=t[x+1]}c(m,d,h),o(m,m,e);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(v,m,-w),o(y,m,S);var I=l([],b,v),A=l([],b,y);i&&(r(I,I,f),a(I,I,p),r(A,A,f),a(A,A,p)),g.push(I),g.push(A)}return n&&g.push(g.shift()),g}},FJ3K:function(t,e,n){var i=n("5l1v"),a=n("yo78"),r=n("UGP7"),o=r.extend,s=r.isArray;t.exports=function(t,e,n){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=i(r,e),u=new a(l,t);return u.initData(r,n),u}},FK3x:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n=0;s--)null==n[s]&&(delete a[e[s]],e.pop())}(a):h(a,!0):(i.assert("linear"!==e||a.dataExtent),h(a))};u.prototype={constructor:u,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var c=u.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var t=this.option;return i.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),g.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=a.fastLerp(e,t.parsedVisual,i),r?i:a.stringify(i,"rgba")},this)},_doMap:{linear:function(t){return a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){var n=y.call(this,e);return null==n&&(n=a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:m}},colorHue:d(function(t,e){return a.modifyHSL(t,e)}),colorSaturation:d(function(t,e){return a.modifyHSL(t,null,e)}),colorLightness:d(function(t,e){return a.modifyHSL(t,null,null,e)}),colorAlpha:d(function(t,e){return a.modifyAlpha(t,e)}),opacity:{applyVisual:p("opacity"),_doMap:v([0,1])},liftZ:{applyVisual:p("liftZ"),_doMap:{linear:m,category:m,piecewise:m,fixed:m}},symbol:{applyVisual:function(t,e,n){var a=this.mapValueToVisual(t);if(i.isString(a))n("symbol",a);else if(s(a))for(var r in a)a.hasOwnProperty(r)&&n(r,a[r])},_doMap:{linear:f,category:g,piecewise:function(t,e){var n=y.call(this,e);return null==n&&(n=f.call(this,t)),n},fixed:m}},symbolSize:{applyVisual:p("symbolSize"),_doMap:v([0,1])}};function h(t,e){var n=t.visual,a=[];i.isObject(n)?o(n,function(t){a.push(t)}):null!=n&&a.push(n);e||1!==a.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(a[1]=a[0]),x(t,a)}function d(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:v([0,1])}}function f(t){var e=this.option.visual;return e[Math.round(r(t,[0,1],[0,e.length-1],!0))]||{}}function p(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==l?t%e.length:t]}function m(){return this.option.visual[0]}function v(t){return{linear:function(e){return r(e,t,this.option.visual,!0)},category:g,piecewise:function(e,n){var i=y.call(this,n);return null==i&&(i=r(e,t,this.option.visual,!0)),i},fixed:m}}function y(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[u.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=i.map(e,function(t){return a.parse(t)})),e}var _={linear:function(t){return r(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=u.findPieceIndex(t,e,!0);if(null!=n)return r(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?l:e},fixed:i.noop};function b(t,e,n){return t?e<=n:ef&&(d=0,h={}),d++,h[n]=a,a}function y(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function x(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function _(t,e,n,i,a){if(!e)return"";var r=(t+"").split("\n");a=b(e,n,i,a);for(var o=0,s=r.length;o=r;u++)o-=r;var c=v(n);return c>o&&(n="",c=0),o=t-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=o,i.containerWidth=t,i}function w(t,e){var n=e.containerWidth,i=e.font,a=e.contentWidth;if(!n)return"";var r=v(t,i);if(r<=n)return t;for(var o=0;;o++){if(r<=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?S(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;r=v(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function S(t,e,n,i){for(var a=0,r=0,o=t.length;rl)t="",r=[];else if(null!=u)for(var c=b(u-(n?n[1]+n[3]:0),e,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),h=0,d=r.length;hr&&C(n,t.substring(r,o)),C(n,i[2],i[1]),r=p.lastIndex}ry)return{lines:[],width:0,height:0};z.textWidth=v(z.text,D);var L=A.textWidth,k=null==L||"auto"===L;if("string"==typeof L&&"%"===L.charAt(L.length-1))z.percentWidth=L,d.push(z),L=0;else{if(k){L=z.textWidth;var O=A.textBackgroundColor,R=O&&O.image;R&&(R=a.findExistImage(R),a.isImageReady(R)&&(L=Math.max(L,R.width*P/R.height)))}var E=T?T[1]+T[3]:0;L+=E;var N=null!=m?m-S:null;null!=N&&N=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,a=this._children,r=i.indexOf(a,t);return r<0?this:(a.splice(r,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),e&&e.refresh(),this)},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e=0&&t.call(e,n[a],a)},s.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)},s.breadthFirstTraverse=function(t,e,n,i){if(l.isInstance(e)||(e=this._nodesMap[r(e)]),e){for(var a="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=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)}}};i.mixin(l,c("hostGraph","data")),i.mixin(u,c("hostGraph","edgeData")),o.Node=l,o.Edge=u,a(l),a(u);var h=o;t.exports=h},G76f:function(t,e,n){var i=n("ibbb"),a=n("duB+"),r=n("OkAo"),o=n("C3HF"),s=n("DX/+"),l=n("VrlY").normalizeRadian,u=n("nPoN"),c=n("9xFb"),h=i.CMD,d=2*Math.PI,f=1e-4;var p=[-1,-1,-1],g=[-1,-1];function m(){var t=g[0];g[0]=g[1],g[1]=t}function v(t,e,n,i,a,r,o,s,l,c){if(c>e&&c>i&&c>r&&c>s||c1&&m(),d=u.cubicAt(e,i,r,s,g[0]),y>1&&(f=u.cubicAt(e,i,r,s,g[1]))),2==y?_e&&s>i&&s>r||s=0&&c<=1){for(var h=0,d=u.quadraticAt(e,i,r,c),f=0;fn||s<-n)return 0;var u=Math.sqrt(n*n-s*s);p[0]=-u,p[1]=u;var c=Math.abs(i-a);if(c<1e-4)return 0;if(c%d<1e-4){i=0,a=d;var h=r?1:-1;return o>=p[0]+t&&o<=p[1]+t?h:0}if(r){u=i;i=l(a),a=l(u)}else i=l(i),a=l(a);i>a&&(a+=d);for(var f=0,g=0;g<2;g++){var m=p[g];if(m+t>o){var v=Math.atan2(s,m);h=r?1:-1;v<0&&(v=d+v),(v>=i&&v<=a||v+d>=i&&v+d<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),f+=h)}}return f}function _(t,e,n,i,l){for(var u=0,d=0,p=0,g=0,m=0,_=0;_1&&(n||(u+=c(d,p,g,m,i,l))),1==_&&(g=d=t[_],m=p=t[_+1]),b){case h.M:d=g=t[_++],p=m=t[_++];break;case h.L:if(n){if(a.containStroke(d,p,t[_],t[_+1],e,i,l))return!0}else u+=c(d,p,t[_],t[_+1],i,l)||0;d=t[_++],p=t[_++];break;case h.C:if(n){if(r.containStroke(d,p,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],e,i,l))return!0}else u+=v(d,p,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],i,l)||0;d=t[_++],p=t[_++];break;case h.Q:if(n){if(o.containStroke(d,p,t[_++],t[_++],t[_],t[_+1],e,i,l))return!0}else u+=y(d,p,t[_++],t[_++],t[_],t[_+1],i,l)||0;d=t[_++],p=t[_++];break;case h.A:var w=t[_++],S=t[_++],M=t[_++],I=t[_++],A=t[_++],T=t[_++],C=(t[_++],1-t[_++]),D=Math.cos(A)*M+w,P=Math.sin(A)*I+S;_>1?u+=c(d,p,D,P,i,l):(g=D,m=P);var L=(i-w)*I/M+w;if(n){if(s.containStroke(w,S,I,A,A+T,C,e,L,l))return!0}else u+=x(w,S,I,A,A+T,C,L,l);d=Math.cos(A+T)*M+w,p=Math.sin(A+T)*I+S;break;case h.R:g=d=t[_++],m=p=t[_++];D=g+t[_++],P=m+t[_++];if(n){if(a.containStroke(g,m,D,m,e,i,l)||a.containStroke(D,m,D,P,e,i,l)||a.containStroke(D,P,g,P,e,i,l)||a.containStroke(g,P,g,m,e,i,l))return!0}else u+=c(D,m,D,P,i,l),u+=c(g,P,g,m,i,l);break;case h.Z:if(n){if(a.containStroke(d,p,g,m,e,i,l))return!0}else u+=c(d,p,g,m,i,l);d=g,p=m}}return n||function(t,e){return Math.abs(t-e)=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var u=l;t.exports=u},GBj8:function(t,e,n){var i=n("i/lv").forceLayout,a=n("Yryp").simpleLayout,r=n("1gvL").circularLayout,o=n("Ba82").linearMap,s=n("6SPp"),l=n("UGP7");t.exports=function(t){t.eachSeriesByType("graph",function(t){if(!(v=t.coordinateSystem)||"view"===v.type)if("force"===t.get("layout")){var e=t.preservedPoints||{},n=t.getGraph(),u=n.data,c=n.edgeData,h=t.getModel("force"),d=h.get("initLayout");t.preservedPoints?u.each(function(t){var n=u.getId(t);u.setItemLayout(t,e[n]||[NaN,NaN])}):d&&"none"!==d?"circular"===d&&r(t):a(t);var f=u.getDataExtent("value"),p=c.getDataExtent("value"),g=h.get("repulsion"),m=h.get("edgeLength");l.isArray(g)||(g=[g,g]),l.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var v,y=u.mapArray("value",function(t,e){var n=u.getItemLayout(e),i=o(t,f,g);return isNaN(i)&&(i=(g[0]+g[1])/2),{w:i,rep:i,fixed:u.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),x=c.mapArray("value",function(t,e){var i=n.getEdgeByIndex(e),a=o(t,p,m);return isNaN(a)&&(a=(m[0]+m[1])/2),{n1:y[i.node1.dataIndex],n2:y[i.node2.dataIndex],d:a,curveness:i.getModel().get("lineStyle.curveness")||0}}),_=(v=t.coordinateSystem).getBoundingRect(),b=i(y,x,{rect:_,gravity:h.get("gravity")}),w=b.step;b.step=function(t){for(var i=0,a=y.length;ix?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}(e,n,0,f,a.get("label.margin"));o.buildLabelElOption(t,n,a,u,y)}});var h={line:function(t,e,n,i,a){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,a){var r=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-r/2)*s,(r/2-n)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var d=c;t.exports=d},GIR0:function(t,e,n){n("ePAU").__DEV__;var i=n("2uO+"),a=n("F7La"),r=n("JfQO"),o=n("UGP7");var s=i.extendChartView({type:"heatmap",render:function(t,e,n){var i;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),this.group.removeAll(),this._incrementalDisplayable=null;var a=t.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}(a)&&this._renderOnGeo(a,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,i,r){var s,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");s=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=t.getData(),p=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel("emphasis.itemStyle").getItemStyle(),m=t.getModel("label"),v=t.getModel("emphasis.label"),y=u.type,x="cartesian2d"===y?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],_=n;_=e[0]&&t<=e[1]}}(b,n.option.range):function(t,e,n){var i=t[1]-t[0],a=(e=o.map(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,r=0;return function(t){for(var i=r;i=0;i--){var o;if((o=e[i].interval)[0]<=t&&t<=o[1]){r=i;break}}return i>=0&&i=11)}}(navigator.userAgent);t.exports=n},HCVr:function(t,e,n){var i=n("UGP7"),a=n("GyJx"),r=n("vhe7").makeInner,o=n("G4Qs"),s=o.enableClassExtend,l=o.enableClassCheck,u=n("N9zh"),c=n("ZqAn"),h=n("4v/c"),d=n("U++G"),f=i.mixin,p=r();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var i=0;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)))}}}}},HJ6M:function(t,e,n){var i=n("UGP7"),a=n("Icff"),r=n("LRZu"),o=n("uXj1").onIrrelevantElement,s=n("F7La");function l(t,e){var n=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(n.fill=i),n}function u(t,e){e.eachChild(function(e){i.each(e.__regions,function(n){e.trigger(t.isSelected(n.name)?"emphasis":"normal")})})}function c(t,e){var n=new s.Group;this._controller=new a(t.getZr()),this._controllerHost={target:e?n:null},this.group=n,this._updateGroup=e,this._mouseDownFlag}c.prototype={constructor:c,draw:function(t,e,n,a,r){var o="geo"===t.mainType,c=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(e){c||e.getHostGeoModel()!==t||(c=e.getData())});var h=t.coordinateSystem,d=this.group,f=h.scale,p={position:h.position,scale:f};!d.childAt(0)||r?d.attr(p):s.updateProps(d,p,t),d.removeAll();var g=["itemStyle"],m=["emphasis","itemStyle"],v=["label"],y=["emphasis","label"],x=i.createHashMap();i.each(h.regions,function(e){var n=x.get(e.name)||x.set(e.name,new s.Group),a=new s.CompoundPath({shape:{paths:[]}});n.add(a);var r,u=(L=t.getRegionModel(e.name)||t).getModel(g),h=L.getModel(m),p=l(u),_=l(h),b=L.getModel(v),w=L.getModel(y);if(c){r=c.indexOfName(e.name);var S=c.getItemVisual(r,"color",!0);S&&(p.fill=S)}i.each(e.geometries,function(t){if("polygon"===t.type){a.shape.paths.push(new s.Polygon({shape:{points:t.exterior}}));for(var e=0;e<(t.interiors?t.interiors.length:0);e++)a.shape.paths.push(new s.Polygon({shape:{points:t.interiors[e]}}))}}),a.setStyle(p),a.style.strokeNoScale=!0,a.culling=!0;var M=b.get("show"),I=w.get("show"),A=c&&isNaN(c.get(c.mapDimension("value"),r)),T=c&&c.getItemLayout(r);if(o||A&&(M||I)||T&&T.showLabel){var C,D=o?e.name:r;(!c||r>=0)&&(C=t);var P=new s.Text({position:e.center.slice(),scale:[1/f[0],1/f[1]],z2:10,silent:!0});s.setLabelStyle(P.style,P.hoverStyle={},b,w,{labelFetcher:C,labelDataIndex:D,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),n.add(P)}if(c)c.setItemGraphicEl(r,n);else{var L=t.getRegionModel(e.name);a.eventData={componentType:"geo",geoIndex:t.componentIndex,name:e.name,region:L&&L.option||{}}}(n.__regions||(n.__regions=[])).push(e),s.setHoverStyle(n,_,{hoverSilentOnTouch:!!t.get("selectedMode")}),d.add(n)}),this._updateController(t,e,n),function(t,e,n,a,r){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",function(){t._mouseDownFlag=!0}),n.on("click",function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=o.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,function(t){return{name:t.name,from:r.uid}})};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),u(e,n)}}}))}(this,t,d,n,a),u(t,d)},remove:function(){this.group.removeAll(),this._controller.dispose(),this._controllerHost={}},_updateController:function(t,e,n){var a=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",function(t,e){this._mouseDownFlag=!1,r.updateViewOnPan(l,t,e),n.dispatchAction(i.extend(c(),{dx:t,dy:e}))},this),s.off("zoom").on("zoom",function(t,e,a){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t,e,a),n.dispatchAction(i.extend(c(),{zoom:t,originX:e,originY:a})),this._updateGroup){var o=this.group,s=o.scale;o.traverse(function(t){"text"===t.type&&t.attr("scale",[1/s[0],1/s[1]])})}},this),s.setPointerChecker(function(e,i,r){return a.getViewRectAfterRoam().contain(i,r)&&!o(e,n,t)})}};var h=c;t.exports=h},HKTE:function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),a=0;a=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:m/2},f="vertical"===i?a.height:a.width,p=t.getModel("controlStyle"),g=p.get("show",!0),v=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,x=v+y,_=t.get("label.rotate")||0;_=_*m/180;var b=p.get("position",!0),w=g&&p.get("showPlayBtn",!0),S=g&&p.get("showPrevBtn",!0),M=g&&p.get("showNextBtn",!0),I=0,A=f;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=x),S&&(o=[I,0],I+=x),M&&(l=[A-v,0],A-=x)):(w&&(r=[A-v,0],A-=x),S&&(o=[0,0],I+=x),M&&(l=[A-v,0],A-=x)),u=[I,A],t.get("inverse")&&u.reverse(),{viewRect:a,mainLength:f,orient:i,rotation:d[i],labelRotation:_,labelPosOpt:n,labelAlign:t.get("label.align")||c[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[i],playPosition:r,prevBtnPosition:o,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(t,e){var n=this._mainGroup,i=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-m/2),r.translate(o,o,[s,l]),(a=a.clone()).applyTransform(o)}var u=y(a),c=y(n.getBoundingRect()),h=y(i.getBoundingRect()),d=n.position,f=i.position;f[0]=d[0]=u[0][0];var p,g=t.labelPosOpt;isNaN(g)?(x(d,c,u,1,p="+"===g?0:1),x(f,h,u,1,1-p)):(x(d,c,u,1,p=g>=0?0:1),f[1]=d[1]+g);function v(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,n,i,a){t[i]+=n[i][a]-e[i][a]}n.attr("position",d),i.attr("position",f),n.rotation=i.rotation=t.rotation,v(n),v(i)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),a=h.createScaleByModel(e,i);a.getTicks=function(){return n.mapArray(["value"],function(t){return t})};var r=n.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new u("value",a,t.axisExtent,i);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,a){var r=n.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:i.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,i){var a=i.getData(),r=n.scale.getTicks();g(r,function(t){var r=n.dataToCoord(t),s=a.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[r,0],onclick:p(this._changeTimeline,this,t)},h=y(s,l,e,c);o.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=i):h.dataIndex=h.dataModel=null},this)},_renderAxisLabel:function(t,e,n,i){if(n.getLabelModel().get("show")){var a=i.getData(),r=n.getViewLabels();g(r,function(i){var r=i.tickValue,s=a.getItemModel(r),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),h=new o.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,r),silent:!1});o.setTextStyle(h.style,l,{text:i.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),o.setHoverStyle(h,o.setTextStyle({},u))},this)}},_renderControl:function(t,e,n,r){var s=t.controlSize,l=t.rotation,u=r.getModel("controlStyle").getItemStyle(),c=r.getModel("emphasis.controlStyle").getItemStyle(),h=[0,-s/2,s,s],d=r.getPlayState(),f=r.get("inverse",!0);function g(t,n,d,f){if(t){var p=function(t,e,n,r){return o.makePath(t.get(e).replace(/^path:\/\//,""),i.clone(r||{}),new a(n[0],n[1],n[2],n[3]),"center")}(r,n,h,{position:t,origin:[s/2,0],rotation:f?-l:0,rectHover:!0,style:u,onclick:d});e.add(p),o.setHoverStyle(p,c)}}g(t.nextBtnPosition,"controlStyle.nextIcon",p(this._changeTimeline,this,f?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",p(this._changeTimeline,this,f?"+":"-")),g(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),p(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,n,i){var a=i.getData(),r=i.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=p(s._handlePointerDrag,s),t.ondragend=p(s._handlePointerDragend,s),x(t,r,n,i,!0)},onUpdate:function(t){x(t,r,n,i)}};this._currentPointer=y(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,a=d.asc(i.getExtent().slice());n>a[1]&&(n=a[1]),n"+s(i+" : "+n)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}}}});i.mixin(d,u);var f=d;t.exports=f},I98p:function(t,e,n){var i=n("dqQ9"),a=n("d2jw"),r=n("WHJM"),o=i.extend({type:"series.heatmap",getInitialData:function(t,e){return a(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=r.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=o},IB5H:function(t,e,n){var i=n("UGP7"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var r=function(t){i.each(a,function(e){this[e]=i.bind(t[e],t)},this)};t.exports=r},IKzn:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("F7La"),o=n("Xq6c"),s=n("aGmn"),l=n("FMWM"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=o.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new r.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=r.get("itemSymbol")),"color"===e){var s=r.get("contentColor");o.color=s}function u(t){return o[t]}function c(t,e){o[t]=e}var h=r.controllerVisuals[i||r.getValueState(t)],d=l.prepareVisualTypes(h);return a.each(d,function(i){var a=h[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(i,e)&&a&&a.applyVisual(t,u,c)}),o[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:a.noop});t.exports=u},IP54:function(t,e,n){var i=n("9xFb"),a=1e-8;function r(t,e){return Math.abs(t-e)=a.start.time&&n.timeo.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,i=new Date(t[0].time),a=i.getDate(),r=t[1].date.getDate();if(i.setDate(a+n-1),i.getDate()!==r)for(var o=i.getTime()-t[1].time>0?1:-1;i.getDate()!==r&&(i.getTime()-t[1].time)*o>0;)n-=o,i.setDate(a+n-1);var s=Math.floor((n+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return!1;var a=7*(t-1)-i.fweek+e,r=new Date(i.start.time);return r.setDate(i.start.d+a),this.getDateInfo(r)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var n=[];return t.eachComponent("calendar",function(i){var a=new s(i,t,e);n.push(a),i.coordinateSystem=a}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])}),n},o.register("calendar",s);var u=s;t.exports=u},Icff:function(t,e,n){var i=n("UGP7"),a=n("SoO+"),r=n("RVXt"),o=n("PpNr");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=i.bind,n=e(l,this),r=e(u,this),o=e(c,this),s=e(h,this),f=e(d,this);a.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,a){this.disable(),this._opt=i.defaults(i.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",r),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",f))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",s),t.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(r.notLeftMouse(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function u(t){if(!r.notLeftMouse(t)&&p(this,"moveOnMouseMove",t)&&this._dragging&&"pinch"!==t.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,a=this._y,s=e-i,l=n-a;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&r.stop(t.event),this.trigger("pan",s,l,i,a,e,n)}}function c(t){r.notLeftMouse(t)||(this._dragging=!1)}function h(t){if(p(this,"zoomOnMouseWheel",t)&&0!==t.wheelDelta){var e=t.wheelDelta>0?1.1:1/1.1;f.call(this,t,e,t.offsetX,t.offsetY)}}function d(t){if(!o.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;f.call(this,t,e,t.pinchX,t.pinchY)}}function f(t,e,n,i){this.pointerChecker&&this.pointerChecker(t,n,i)&&(r.stop(t.event),this.trigger("zoom",e,n,i))}function p(t,e,n){var a=t._opt[e];return a&&(!i.isString(a)||n.event[a+"Key"])}i.mixin(s,a);var g=s;t.exports=g},IjG1:function(t,e,n){var i=n("UGP7");function a(t){return this._axes[t]}var r=function(t){this._axes={},this._dimList=[],this.name=t||""};r.prototype={constructor:r,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,a,this)},getAxesByScale:function(t){return t=t.toLowerCase(),i.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},a=0;ao||t<-o}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)},u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),a=this.transform;n||e?(a=a||i.create(),n?this.getLocalTransform(a):r(a),e&&(n?i.mul(a,t.transform,a):i.copy(a,t.transform)),this.transform=a,this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,a)):a&&r(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[];u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(c,t.invTransform,e),e=c);var n=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],r=this.position,o=this.scale;s(n-1)&&(n=Math.sqrt(n)),s(a-1)&&(a=Math.sqrt(a)),e[0]<0&&(n=-n),e[3]<0&&(a=-a),r[0]=e[4],r[1]=e[5],o[0]=n,o[1]=a,this.rotation=Math.atan2(-e[1]/a,e[0]/n)}},u.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),n=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(n=-n),[e,n]},u.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&a.applyTransform(n,n,i),n},u.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&a.applyTransform(n,n,i),n},l.getLocalTransform=function(t,e){r(e=e||[]);var n=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,a),o&&i.rotate(e,e,o),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var h=l;t.exports=h},IrEC:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("PLIk"),o=i.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new r(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateTransform:s,updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:a.clone(t),$from:n})}});function s(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=o},Iusz:function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),n=t.getModel("itemStyle"),i=n.get("areaColor"),a=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:i,color:a})})}},J2ba:function(t,e,n){var i=n("GBWL"),a=n("9buB"),r=n("6SPp"),o=n("IP54");function s(t,e,n){if(this.name=t,this.geometries=e,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,c=0;ct&&(t=e),t}});t.exports=i},JMMV:function(t,e){var n=["itemStyle","borderColor"];t.exports=function(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var a=i[e.seriesIndex%i.length],r=e.getData();r.setVisual({legendSymbol:"roundRect",color:e.get(n)||a}),t.isSeriesFiltered(e)||r.each(function(t){var e=r.getItemModel(t);r.setItemVisual(t,{color:e.get(n,!0)})})})}},JSzh:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("FWXg"),o=n("XRpO"),s=n("F7La"),l=n("HCVr"),u=n("BNSp"),c=n("Pjsi"),h=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h=this.group;if(h.removeAll(),t.get("show")){var d=+t.get("itemSize"),f=t.get("feature")||{},p=this._features||(this._features={}),g=[];a.each(f,function(t,e){g.push(e)}),new u(this._featureNames||[],g).add(m).update(m).remove(a.curry(m,null)).execute(),this._featureNames=g,c.layout(h,t,n),h.add(c.makeBackground(h.getBoundingRect(),t)),h.eachChild(function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var a=r.getBoundingRect(e,r.makeFont(i)),o=t.position[0]+h.position[0],s=!1;t.position[1]+h.position[1]+d+a.height>n.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-a.height:d+8;o+a.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):o-a.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}})}function m(r,u){var c,m=g[r],v=g[u],y=f[m],x=new l(y,t,t.ecModel);if(m&&!v){if(function(t){return 0===t.indexOf("my")}(m))c={model:x,onclick:x.option.onclick,featureName:m};else{var _=o.get(m);if(!_)return;c=new _(x,e,n)}p[m]=c}else{if(!(c=p[v]))return;c.model=x,c.ecModel=e,c.api=n}m||!v?x.get("show")&&!c.unusable?(!function(i,r,o){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=r.getIcons?r.getIcons():i.get("icon"),f=i.get("title")||{};if("string"==typeof c){var p=c,g=f;f={},(c={})[o]=p,f[o]=g}var m=i.iconPaths={};a.each(c,function(o,c){var p=s.createIcon(o,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[c],p.on("mouseover",function(){var t=u.getItemStyle();p.setStyle({text:f[c],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){p.setStyle({textFill:null})})),p.trigger(i.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",a.bind(r.onclick,r,e,n,c)),m[c]=p})}(x,c,m),x.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},c.render&&c.render(x,e,n,i)):c.remove&&c.remove(e,n):c.dispose&&c.dispose(e,n)}},updateView:function(t,e,n,i){a.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,n,i)})},remove:function(t,e){a.each(this._features,function(n){n.remove&&n.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){a.each(this._features,function(n){n.dispose&&n.dispose(t,e)})}});t.exports=h},JdaJ:function(t,e,n){var i=n("UGP7"),a=n("F7La"),r=n("rakW"),o=n("SWfF"),s=n("p0DZ"),l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],c=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,o){this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),f=s.layout(d,t),p=new r(t,f);i.each(l,p.add,p),this._axisGroup.add(p.getGroup()),i.each(u,function(e){t.get(e+".show")&&this["_"+e](t,d)},this),a.groupTransition(h,this._axisGroup,t),c.superCall(this,"render",t,e,n,o)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var r=t.getModel("splitLine"),o=r.getModel("lineStyle"),s=o.get("color");s=i.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,h=n.getTicksCoords({tickModel:r}),d=[],f=[],p=o.getLineStyle(),g=0;g0){var I=r(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return h.putImageData(y,0,0),c},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=i.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var a=t.getContext("2d");return a.clearRect(0,0,n,n),a.shadowOffsetX=n,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},_getGradient:function(t,e,n){for(var i=this._gradientPixels,a=i[n]||(i[n]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)e[n](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var r=a;t.exports=r},JiFs:function(t,e,n){var i=n("r2sF"),a=n("6SPp"),r=n("nPoN"),o=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,u=r.cubicAt,c=r.quadraticDerivativeAt,h=r.cubicDerivativeAt,d=[];function f(t,e,n){var i=t.cpx2,a=t.cpy2;return null===i||null===a?[(n?h:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?c:l)(t.x1,t.cpx1,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.y2,e)]}var p=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,a=e.x2,r=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,i),null==c||null==h?(f<1&&(o(n,l,a,f,d),l=d[1],a=d[2],o(i,u,r,f,d),u=d[1],r=d[2]),t.quadraticCurveTo(l,u,a,r)):(f<1&&(s(n,l,c,a,f,d),l=d[1],c=d[2],a=d[3],s(i,u,h,r,f,d),u=d[1],h=d[2],r=d[3]),t.bezierCurveTo(l,u,c,h,a,r)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return a.normalize(e,e)}});t.exports=p},Jw9u:function(t,e,n){var i=n("2uO+");n("D1Pb"),n("lTcd");var a=n("RAnq"),r=n("5Cz/");i.registerVisual(a("effectScatter","circle")),i.registerLayout(r("effectScatter"))},K39R:function(t,e,n){var i=n("UGP7"),a=n("Ba82");function r(t,e,n){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),u=i.map(o,function(e){return i.map(e.indices,function(e){var n=r.dataToPoint(t.get(s,e));return n[1]=t.get(l,e),n})}),c=function(t){for(var e=t.length,n=t[0].length,i=[],a=[],r=0,o={},s=0;sr&&(r=u),i.push(u)}for(var c=0;cr&&(r=d)}return o.y0=a,o.max=r,o}(u),h=c.y0,d=n/c.max,f=o.length,p=o[0].indices.length,g=0;g=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),l=s;t.exports=l},LBSj:function(t,e,n){var i=n("2uO+");n("lQgO"),n("f5GF"),n("r8FP"),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},LRZu:function(t,e){e.updateViewOnPan=function(t,e,n){var i=t.target,a=i.position;a[0]+=e,a[1]+=n,i.dirty()},e.updateViewOnZoom=function(t,e,n,i){var a=t.target,r=t.zoomLimit,o=a.position,s=a.scale,l=t.zoom=t.zoom||1;if(l*=e,r){var u=r.min||0,c=r.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/t.zoom;t.zoom=l,o[0]-=(n-o[0])*(h-1),o[1]-=(i-o[1])*(h-1),s[0]*=h,s[1]*=h,a.dirty()}},LbsV:function(t,e,n){var i=n("F7La"),a=n("N3RP").createSymbol,r=n("FANF"),o=i.extendShape({shape:{points:null},symbolProxy:null,buildPath:function(t,e){var n=e.points,i=e.size,a=this.symbolProxy,r=a.shape;if(!((t.getContext?t.getContext():t)&&i[0]<4))for(var o=0;o=0;s--){var l=2*s,u=i[l]-r/2,c=i[l+1]-o/2;if(t>=u&&e>=c&&t<=u+r&&e<=c+o)return s}return-1}});function s(){this.group=new i.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t){this.group.removeAll();var e=new o({rectHover:!0,cursor:"default"});e.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},l.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild(function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e)})}},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,e){var n;this._incremental?(n=new o,this._incremental.addDisplayable(n,!0)):((n=new o({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(n)),n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!!this._incremental)},l._setCommon=function(t,e,n){var i=e.hostModel,r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.symbolProxy=a(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=e.getVisual("color");s&&t.setColor(s),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(t.dataIndex=n+(t.startIndex||0))}))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var u=s;t.exports=u},LfnE:function(t,e,n){var i=n("2uO+"),a=n("mmpS");n("+p35"),n("UpVd"),n("IrEC"),n("BCtA"),n("XWgk"),i.registerPreprocessor(a)},MGBg:function(t,e,n){var i=n("UGP7").each,a=n("Yryp"),r=a.simpleLayout,o=a.simpleLayoutEdge;t.exports=function(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var a=t.getData(),s=[];i(n.dimensions,function(t){s=s.concat(a.mapDimension(t,!0))});for(var l=0;l255?255:t}function r(t){return t<0?0:t>1?1:t}function o(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100):r(parseFloat(t))}function l(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function u(t,e,n){return t+(e-t)*n}function c(t,e,n,i,a){return t[0]=e,t[1]=n,t[2]=i,t[3]=a,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new(n("6z4l"))(20),f=null;function p(t,e){f&&h(f,e),f=d.put(t,f||e.slice())}function g(t,e){if(t){e=e||[];var n=d.get(t);if(n)return h(e,n);var a,r=(t+="").replace(/ /g,"").toLowerCase();if(r in i)return h(e,i[r]),p(t,e),e;if("#"===r.charAt(0))return 4===r.length?(a=parseInt(r.substr(1),16))>=0&&a<=4095?(c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,1),p(t,e),e):void c(e,0,0,0,1):7===r.length?(a=parseInt(r.substr(1),16))>=0&&a<=16777215?(c(e,(16711680&a)>>16,(65280&a)>>8,255&a,1),p(t,e),e):void c(e,0,0,0,1):void 0;var l=r.indexOf("("),u=r.indexOf(")");if(-1!==l&&u+1===r.length){var f=r.substr(0,l),g=r.substr(l+1,u-(l+1)).split(","),v=1;switch(f){case"rgba":if(4!==g.length)return void c(e,0,0,0,1);v=s(g.pop());case"rgb":return 3!==g.length?void c(e,0,0,0,1):(c(e,o(g[0]),o(g[1]),o(g[2]),v),p(t,e),e);case"hsla":return 4!==g.length?void c(e,0,0,0,1):(g[3]=s(g[3]),m(g,e),p(t,e),e);case"hsl":return 3!==g.length?void c(e,0,0,0,1):(m(g,e),p(t,e),e);default:return}}c(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),r=s(t[2]),o=r<=.5?r*(i+1):r+i-r*i,u=2*r-o;return c(e=e||[],a(255*l(u,o,n+1/3)),a(255*l(u,o,n)),a(255*l(u,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),o=Math.floor(i),s=Math.ceil(i),l=e[o],c=e[s],h=i-o;return n[0]=a(u(l[0],c[0],h)),n[1]=a(u(l[1],c[1],h)),n[2]=a(u(l[2],c[2],h)),n[3]=r(u(l[3],c[3],h)),n}}var y=v;function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),o=Math.floor(i),s=Math.ceil(i),l=g(e[o]),c=g(e[s]),h=i-o,d=b([a(u(l[0],c[0],h)),a(u(l[1],c[1],h)),a(u(l[2],c[2],h)),r(u(l[3],c[3],h))],"rgba");return n?{color:d,leftIndex:o,rightIndex:s,value:i}:d}}var _=x;function b(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=g,e.lift=function(t,e){var n=g(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return b(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=v,e.fastMapToColor=y,e.lerp=x,e.mapToColor=_,e.modifyHSL=function(t,e,n,i){if(t=g(t))return t=function(t){if(t){var e,n,i=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o,u=(s+o)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-i)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;i===s?e=d-h:a===s?e=1/3+c-d:r===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(t),null!=e&&(t[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(t[1]=s(n)),null!=i&&(t[2]=s(i)),b(m(t),"rgba")},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=r(e),b(t,"rgba")},e.stringify=b},MaXA:function(t,e,n){var i=n("2uO+"),a=n("pZTd"),r="sunburstRootToNode";i.registerAction({type:r,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){var i=a.retrieveTargetInfo(t,[r],e);if(i){var o=e.getViewRoot();o&&(t.direction=a.aboveViewRoot(o,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})});var o="sunburstHighlight";i.registerAction({type:o,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){var i=a.retrieveTargetInfo(t,[o],e);i&&(t.highlight=i.node)})});i.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){t.unhighlight=!0})})},N2Lo:function(t,e,n){var i=n("UGP7").each,a=n("FrB/"),r=n("xgpl"),o=n("G4Qs"),s=n("vhe7"),l=n("9MiN").createTask,u=n("u5D0"),c=s.makeInner(),h=u();function d(){this.group=new a,this.uid=r.getUID("viewChart"),this.renderTask=l({plan:m,reset:v}),this.renderTask.context={view:this}}d.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){g(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){g(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null};var f=d.prototype;function p(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var n=0;n=0&&(l[s]=+l[s].toFixed(f)),l}var l=i.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function c(t,e,n,i){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var a=0;a=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=function(t){var e=a();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),a=t.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;i.length&&a.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(r)}}),e.each(o)}},"OZb+":function(t,e,n){var i=n("F7La"),a=(n("UGP7"),.3);function r(t,e,n,i){for(var a=[],r=0;r "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),p=f;t.exports=p},OkAo:function(t,e,n){var i=n("nPoN");e.containStroke=function(t,e,n,a,r,o,s,l,u,c,h){if(0===u)return!1;var d=u;return!(h>e+d&&h>a+d&&h>o+d&&h>l+d||ht+d&&c>n+d&&c>r+d&&c>s+d||c1){n=n.split("");var i=[t(e,n[0]),t(e,n[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var i=r.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(t){return r.getTransform(t.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[i]}(t,n);a&&a.attr({silent:!i,invisible:!i,cursor:i?x[o]+"-resize":null})})}function z(t,e,n,i,a,r,o){var s=e.childOfName(n);s&&s.setShape(function(t){var e=h(t[0][0],t[1][0]),n=h(t[0][1],t[1][1]),i=d(t[0][0],t[1][0]),a=d(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:a-n}}(W(t,e,[[i,a],[i+r,a+o]])))}function G(t){return i.defaults({strokeNoScale:!0},t.brushStyle)}function B(t,e,n,i){var a=[h(t,n),h(e,i)],r=[d(t,n),d(e,i)];return[[a[0],r[0]],[a[1],r[1]]]}function V(t,e,n,i,a,r,o,s){var l=i.__brushOption,c=t(l.range),h=U(n,r,o);u(a.split(""),function(t){var e=y[t];c[e[0]][e[1]]+=h[e[0]]}),l.range=e(B(c[0][0],c[1][0],c[0][1],c[1][1])),T(n,i),k(n,{isEnd:!1})}function F(t,e,n,i,a){var r=e.__brushOption.range,o=U(t,n,i);u(r,function(t){t[0]+=o[0],t[1]+=o[1]}),T(t,e),k(t,{isEnd:!1})}function U(t,e,n){var i=t.group,a=i.transformCoordToLocal(e,n),r=i.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function W(t,e,n){var a=P(t,e);return a&&!0!==a?a.clipPath(n,t._transform):i.clone(n)}function H(t){var e=t.event;e.preventDefault&&e.preventDefault()}function Z(t,e,n){return t.childOfName("main").contain(e,n)}function X(t,e,n,a){var r,o=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],a=n[0]-i[0],r=n[1]-i[1];return f(a*a+r*r,.5)>g}(t)||o){if(s&&!o){"single"===l.brushMode&&L(t);var u=i.clone(l);u.brushType=q(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=t._creatingCover=S(t,u),t._covers.push(o)}if(o){var c=J[q(t._brushType,s)];o.__brushOption.range=c.getCreatingRange(W(t,o,t._track)),a&&(M(t,o),c.updateCommon(t,o)),I(t,o),r={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&D(t,e,n)&&L(t)&&(r={isEnd:a,removeOnClick:!0});return r}function q(t,e){return"auto"===t?e.defaultBrushType:t}w.prototype={constructor:w,enableBrush:function(t){return this._brushType&&function(t){var e=t._zr;o.release(e,v,t._uid),u(t._handlers,function(t,n){e.off(n,t)}),t._brushType=t._brushOption=null}(this),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||o.take(n,v,t._uid);u(t._handlers,function(t,e){n.on(e,t)}),t._brushType=e.brushType,t._brushOption=i.merge(i.clone(_),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};i.each(t,function(t){e[t.panelId]=i.clone(t)})}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=i.map(t,function(t){return i.merge(i.clone(_),t,!0)});var e="\0-brush-index-",n=this._covers,a=this._covers=[],r=this,o=this._creatingCover;return new s(n,t,function(t,e){return l(t.__brushOption,e)},l).add(u).update(u).remove(function(t){n[t]!==o&&r.group.remove(n[t])}).execute(),this;function l(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function u(e,i){var s=t[e];if(null!=i&&n[i]===o)a[e]=n[i];else{var l=a[e]=null!=i?(n[i].__brushOption=s,n[i]):M(r,S(r,s));T(r,l)}}},unmount:function(){return this.enableBrush(!1),L(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(w,a);var j={mousedown:function(t){if(this._dragging)Y.call(this,t);else if(!t.target||!t.target.draggable){H(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=D(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,n){if(t._brushType){var i=t._zr,a=t._covers,r=D(t,e,n);if(!t._dragging)for(var o=0;o0?"P":"N",r=i.getVisual("borderColor"+a)||i.getVisual("color"+a),o=n.getModel(s).getItemStyle(u);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var v=c;t.exports=v},Q0gk:function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function i(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(i(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,a=t.offsetY,r=n-this._x,o=a-this._y;this._x=n,this._y=a,e.drift(r,o,t),this.dispatchToElement(i(e,t),"drag",t.event);var s=this.findHover(n,a,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(i(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(i(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(i(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(i(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var a=n;t.exports=a},QU9m:function(t,e,n){var i=n("UGP7"),a=i.each,r=i.isArray,o=i.isObject,s=n("7QhT"),l=n("vhe7").normalizeToArray;function u(t){a(c,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var c=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],h=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];t.exports=function(t,e){s(t,e),t.series=l(t.series),a(t.series,function(t){if(o(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var n=function(t,e){e=e.split(",");for(var n=t,i=0;i=e:"max"===n?t<=e:t===e})(a[o],t,i)||(r=!1)}}),r}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(a.normalizeToArray(t.series),function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)}),t=s(t,!0);var n=this._optionBackup,c=function(t,e,n){var a,r,s=[],l=[],u=t.timeline;t.baseOption&&(r=t.baseOption);(u||t.options)&&(r=r||{},s=(t.options||[]).slice());if(t.media){r=r||{};var c=t.media;o(c,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})}r||(r=t);r.timeline||(r.timeline=u);return o([r].concat(s).concat(i.map(l,function(t){return t.option})),function(t){o(e,function(e){e(t,n)})}),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}.call(this,t,e,!n);this._newBaseOption=c.baseOption,n?(!function(t,e){o(e=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)}})}(n.baseOption,c.baseOption),c.timelineOptions.length&&(n.timelineOptions=c.timelineOptions),c.mediaList.length&&(n.mediaList=c.mediaList),c.mediaDefault&&(n.mediaDefault=c.mediaDefault)):this._optionBackup=c},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=0){var a="touchend"!=i?e.targetTouches[0]:e.changedTouches[0];a&&s(t,a,e,n)}else s(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var r=e.button;return null==e.which&&void 0!==r&&o.test(e.type)&&(e.which=1&r?1:2&r?3:4&r?2:0),e},e.addEventListener=function(t,e,n){r?t.addEventListener(e,n):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){r?t.removeEventListener(e,n):t.detachEvent("on"+e,n)},e.stop=u,e.notLeftMouse=function(t){return t.which>1}},RdKC:function(t,e,n){var i=n("aGmn"),a=n("im81"),r=n("UGP7");n("ePAU").__DEV__;function o(t,e,n){r.each(t,function(t){var i,a,r,o=0,s=t.length;for(t.sort(g),r=0;r0){var l=i.getLayout().y+a;i.setLayout({y:l},!0)}o=i.getLayout().y+i.getLayout().dy+e}if((a=o-e-n)>0){l=i.getLayout().y-a;for(i.setLayout({y:l},!0),o=i.getLayout().y,r=s-2;r>=0;--r)(a=(i=t[r]).getLayout().y+i.getLayout().dy+e-o)>0&&(l=i.getLayout().y-a,i.setLayout({y:l},!0)),o=i.getLayout().y}})}function s(t,e){r.each(t.slice().reverse(),function(t){r.each(t,function(t){if(t.outEdges.length){var n=f(t.outEdges,l)/f(t.outEdges,v),i=t.getLayout().y+(n-p(t))*e;t.setLayout({y:i},!0)}})})}function l(t){return p(t.node2)*t.getValue()}function u(t,e){r.each(t,function(t){r.each(t,function(t){if(t.inEdges.length){var n=f(t.inEdges,c)/f(t.inEdges,v),i=t.getLayout().y+(n-p(t))*e;t.setLayout({y:i},!0)}})})}function c(t){return p(t.node1)*t.getValue()}function h(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}function d(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}function f(t,e){for(var n=0,i=t.length,a=-1;++a0;l--)s(c,h*=.99),o(c,i,n),u(c,h),o(c,i,n)}(t,e,c,i,f),function(t){r.each(t,function(t){t.outEdges.sort(h),t.inEdges.sort(d)}),r.each(t,function(t){var e=0,n=0;r.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),r.each(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t)}(x,_,n,l,p,g,0!==r.filter(x,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"))})}},RfBU:function(t,e,n){n("ePAU").__DEV__;var i=n("UGP7"),a=i.createHashMap,r=(i.retrieve,i.each);var o={cartesian2d:function(t,e,n,i){var a=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",a),n.set("y",r),s(a)&&(i.set("x",a),e.firstCategoryDimIndex=0),s(r)&&(i.set("y",r),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",a),s(a)&&(i.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var a=t.getReferringComponents("polar")[0],r=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",r),n.set("angle",o),s(r)&&(i.set("radius",r),e.firstCategoryDimIndex=0),s(o)&&(i.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var a=t.ecModel,o=a.getComponent("parallel",t.get("parallelIndex")),l=e.coordSysDims=o.dimensions.slice();r(o.parallelAxisIndex,function(t,r){var o=a.getComponent("parallelAxis",t),u=l[r];n.set(u,o),s(o)&&null==e.firstCategoryDimIndex&&(i.set(u,o),e.firstCategoryDimIndex=r)})}};function s(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=function(t){var e=t.get("coordinateSystem"),n={coordSysName:e,coordSysDims:[],axisMap:a(),categoryAxisMap:a()},i=o[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}},Rhgo:function(t,e,n){var i=n("r2sF"),a=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n=n&&r<=n+e.axisLength&&o>=i&&o<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();h(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=n[a[o]],l=[0,s],u=this.dimensions.length,c=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=x(f[1]-f[0],l),f[1]=f[0]+t):(t=x(c*(h-1),l),(f=[c*(e.get("axisExpandCenter")||p(u/2))-t/2])[1]=f[0]+t);var v=(s-t)/(u-h);v<3&&(v=0);var y=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],_=v/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:v,axisExpandWindow:f,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),h(n,function(e,n){var o=(i.axisExpandable?function(t,e){var n,i,a=e.layoutLength,r=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;ta*(1-h[0])?(l="jump",o=s-a*(1-h[2])):(o=s-a*h[1])>=0&&(o=s-a*(1-h[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?c(o,i,r,"all"):l="none";else{a=i[1]-i[0];(i=[f(0,r[1]*s/a-a/2)])[1]=d(r[1],i[0]+a),i[0]=i[1]-a}return{axisExpandWindow:i,behavior:l}}};var _=y;t.exports=_},SMgi:function(t,e,n){var i=n("UGP7"),a=n("dqQ9"),r=n("BGn2").seriesModelMixin,o=a.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:5e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)}});i.mixin(o,r,!0);var s=o;t.exports=s},SRgS:function(t,e,n){var i=n("UGP7"),a=n("Ba82"),r=n("Xq6c"),o=n("A6j4"),s=n("d3tb"),l=s.prototype,u=Math.ceil,c=Math.floor,h=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return r.formatTime(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=a.round(c(e[0]/i)*i)),t.fixMax||(e[1]=a.round(u(e[1]/i)*i))},niceTicks:function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0],s=r/t;null!=e&&sn&&(s=n);var l=d.length,h=function(t,e,n,i){for(;n>>1;t[a][1]o;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]}};var o=r;t.exports=o},"SoO+":function(t,e){var n=Array.prototype.slice,i=function(){this._$handlers={}};i.prototype={constructor:i,one:function(t,e,n){var i=this._$handlers;if(!e||!t)return this;i[t]||(i[t]=[]);for(var a=0;a3&&(e=n.call(e,1));for(var a=this._$handlers[t],r=a.length,o=0;o4&&(e=n.call(e,1,e.length-1));for(var a=e[e.length-1],r=this._$handlers[t],o=r.length,s=0;s1&&(a=function(){for(var t in arguments)console.log(arguments[t])});var r=a;t.exports=r},TXoJ:function(t,e,n){var i={seriesType:"lines",plan:n("u5D0")(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(a,r){var o=[];if(i){var s,l=a.end-a.start;if(n){for(var u=0,c=a.start;c0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},UGP7:function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},a=Object.prototype.toString,r=Array.prototype,o=r.forEach,s=r.filter,l=r.slice,u=r.map,c=r.reduce,h={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!M(t)){e=[];for(var o=0,s=t.length;o=0?h():c=setTimeout(h,-a),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=r,e.createOrUpdate=function(t,e,o,s){var l=t[e];if(l){var u=l[n]||l,c=l[a];if(l[i]!==o||c!==s){if(null==o||!s)return t[e]=u;(l=t[e]=r(u,o,"debounce"===s))[n]=u,l[a]=s,l[i]=o}return l}},e.clear=function(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}},Umha:function(t,e,n){var i=n("UGP7"),a=n("DqCO"),r=n("d3tb"),o=n("Ba82"),s=n("spam"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("WHJM");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.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].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},h.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var a,r=Math.atan2(-n,e),o=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]))}else{a.getTicks().length-1>r&&(d=s(d));var g=Math.round((n[0]+n[1])/2/d)*d,m=Math.round(r/2);a.setExtent(o.round(g-m*d),o.round(g+(r-m)*d)),a.setInterval(d)}})},h.dimensions=[],h.create=function(t,e){var n=[];return t.eachComponent("radar",function(i){var a=new h(i,t,e);n.push(a),i.coordinateSystem=a}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])}),n},c.register("radar",h);var d=h;t.exports=d},UpVd:function(t,e,n){n("ePAU").__DEV__;var i=n("2uO+"),a=n("UGP7"),r=n("C+/8"),o=n("HCVr"),s=["#ddd"];function l(t,e){return a.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new o(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var u=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;!e&&r.replaceVisualOption(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(t){t&&(this.areas=a.map(t,function(t){return l(this.option,t)},this))},setBrushOption:function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType}});t.exports=u},UqI4:function(t,e,n){var i=n("UGP7"),a=n("Icff"),r=n("UgMx"),o=i.curry,s="\0_ec_dataZoom_roams";function l(t){var e=t.getZr();return e[s]||(e[s]={})}function u(t){i.each(t,function(e,n){e.count||(e.controller.dispose(),delete t[n])})}function c(t,e,n,i,a,r,o){d(t,function(s){return s.panGetRange(t.controller,e,n,i,a,r,o)})}function h(t,e,n,i){d(t,function(a){return a.zoomGetRange(t.controller,e,n,i)})}function d(t,e){var n=[];i.each(t.dataZoomInfos,function(t){var i=e(t);!t.disabled&&i&&n.push({dataZoomId:t.dataZoomId,start:i[0],end:i[1]})}),n.length&&t.dispatchAction(n)}function f(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var n=l(t),s=e.dataZoomId,d=e.coordId;i.each(n,function(t,n){var a=t.dataZoomInfos;a[s]&&i.indexOf(e.allCoordIds,d)<0&&(delete a[s],t.count--)}),u(n);var p=n[d];p||((p=n[d]={coordId:d,dataZoomInfos:{},count:0}).controller=function(t,e){var n=new a(t.getZr());return n.on("pan",o(c,e)),n.on("zoom",o(h,e)),n}(t,p),p.dispatchAction=i.curry(f,t)),!p.dataZoomInfos[s]&&p.count++,p.dataZoomInfos[s]=e;var g=function(t){var e,n={},a={type_true:2,type_move:1,type_false:0,type_undefined:-1};return i.each(t,function(t){var r=!t.disabled&&(!t.zoomLock||"move");a["type_"+r]>a["type_"+e]&&(e=r),i.extend(n,t.roamControllerOpt)}),{controlType:e,opt:n}}(p.dataZoomInfos);p.controller.enable(g.controlType,g.opt),p.controller.setPointerChecker(e.containsPoint),r.createOrUpdate(p,"dispatchAction",e.throttleRate,"fixRate")},e.unregister=function(t,e){var n=l(t);i.each(n,function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)}),u(n)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},Ussf:function(t,e,n){var i=n("UGP7"),a=n("dqQ9"),r=n("BGn2").seriesModelMixin,o=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(o,r,!0);var s=o;t.exports=s},"VUe/":function(t,e,n){var i=n("UGP7"),a=i.each,r="\0__link_datas",o="\0__link_mainData";function s(t,e){if(function(t){return t[o]===t}(this)){var n=i.extend({},this[r]);n[this.dataType]=e,h(e,n,t)}else d(e,this.dataType,this[o],t);return e}function l(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return a(e[r],function(n,i){n!==e&&d(n.cloneShallow(),i,e,t)}),e}function c(t){var e=this[o];return null==t||null==e?e:e[r][t]}function h(t,e,n){t[r]={},a(e,function(e,i){d(e,i,t,n)})}function d(t,e,n,i){n[r][e]=t,t[o]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=c}var f=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,h(e,n,t),a(n,function(n){a(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,i.curry(s,t))})}),e.wrapMethod("cloneShallow",i.curry(u,t)),a(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,i.curry(l,t))}),i.assert(n[e.dataType]===e)};t.exports=f},VhdI:function(t,e,n){var i=n("UGP7");t.exports=function(t){t&&i.isArray(t.series)&&i.each(t.series,function(t){i.isObject(t)&&"k"===t.type&&(t.type="candlestick")})}},Vi7j:function(t,e,n){var i=n("oEC0"),a=n("GyJx"),r=n("UGP7"),o=n("tKJZ"),s=n("5Ql8"),l=n("3ITH"),u=n("pYl2"),c=n("jiyr"),h=!a.canvasSupported,d={canvas:l},f={};var p=function(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,l=new s,f=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](e,l,n,t);this.storage=l,this.painter=p;var g=a.node||a.worker?null:new c(p.getViewportRoot());this.handler=new o(l,p,g,p.root),this.animation=new u({stage:{update:r.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(t){m.call(l,t),t&&t.removeSelfFromZr(i)},l.addToStorage=function(t){v.call(l,t),t.addSelfToZr(i)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){this.painter.addHover&&(this.painter.addHover(t,e),this.refreshHover())},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,function(t){delete f[t]}(this.id)}},e.version="4.0.4",e.init=function(t,e){var n=new p(i(),t,e);return f[n.id]=n,n},e.dispose=function(t){if(t)t.dispose();else{for(var e in f)f.hasOwnProperty(e)&&f[e].dispose();f={}}return this},e.getInstance=function(t){return f[t]},e.registerPainter=function(t,e){d[t]=e}},VrlY:function(t,e){var n=2*Math.PI;e.normalizeRadian=function(t){return(t%=n)<0&&(t+=n),t}},W7Tj:function(t,e){t.exports=function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}},WHJM:function(t,e,n){var i=n("UGP7"),a={};function r(){this._coordinateSystems=[]}r.prototype={constructor:r,create:function(t,e){var n=[];i.each(a,function(i,a){var r=i.create(t,e);n=n.concat(r||[])}),this._coordinateSystems=n},update:function(t,e){i.each(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},r.register=function(t,e){a[t]=e},r.get=function(t){return a[t]};var o=r;t.exports=o},WLil:function(t,e,n){var i=n("UGP7"),a=n("C2x7"),r=n("ARtI"),o=n("0B9E"),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={splitNumber:5};function u(t,e){return e.type||(e.data?"category":"value")}r("angle",s,u,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),r("radius",s,u,l)},WQ2X:function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return a(t),t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function r(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}e.create=i,e.identity=a,e.copy=r,e.mul=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],a=e[1]*n[0]+e[3]*n[1],r=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=a,t[2]=r,t[3]=o,t[4]=s,t[5]=l,t},e.translate=function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t},e.rotate=function(t,e,n){var i=e[0],a=e[2],r=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+o*u,t[1]=-i*u+o*c,t[2]=a*c+s*u,t[3]=-a*u+c*s,t[4]=c*r+u*l,t[5]=c*l-u*r,t},e.scale=function(t,e,n){var i=n[0],a=n[1];return t[0]=e[0]*i,t[1]=e[1]*a,t[2]=e[2]*i,t[3]=e[3]*a,t[4]=e[4]*i,t[5]=e[5]*a,t},e.invert=function(t,e){var n=e[0],i=e[2],a=e[4],r=e[1],o=e[3],s=e[5],l=n*o-r*i;return l?(l=1/l,t[0]=o*l,t[1]=-r*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*a)*l,t[5]=(r*a-n*s)*l,t):null},e.clone=function(t){var e=i();return r(e,t),e}},WcjM:function(t,e,n){var i=n("UGP7");t.exports=function(t){var e=t.polar;if(e){i.isArray(e)||(e=[e]);var n=[];i.each(e,function(e,a){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],i.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)}),t.polar=n}i.each(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}},WwKc:function(t,e,n){var i=n("7zT1").createElement,a=n("UGP7"),r=a.each,o=n("TQsr"),s=n("r2sF"),l=n("akfV"),u=n("lhs0"),c=n("pn1Q"),h=n("xLKW"),d=n("cr5B"),f=n("81dG"),p=n("pYL/"),g=p.path,m=p.image,v=p.text;function y(t){return parseInt(t,10)}function x(t){return t instanceof s?g:t instanceof l?m:t instanceof u?v:g}function _(t,e){return e&&t&&e.parentNode!==t}function b(t,e,n){if(_(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function w(t,e){if(_(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function S(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function M(t){return t.__textSvgEl}function I(t){return t.__svgEl}var A=function(t,e,n,r){this.root=t,this.storage=e,this._opts=n=a.extend({},n||{});var o=i("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new h(r,o),this.clipPathManager=new d(r,o),this.shadowManager=new f(r,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=s,t.appendChild(s),s.appendChild(o),this.resize(n.width,n.height),this._visibleList=[]};A.prototype={constructor:A,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n=this._svgRoot,i=this._visibleList,a=t.length,r=[];for(e=0;e=0;--i)if(n[i]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=n.style;a.width=t+"px",a.height=e+"px";var r=this._svgRoot;r.setAttribute("width",t),r.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[i]||y(s[n])||y(o.style[n]))-(y(s[a])||0)-(y(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},r(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){A.prototype[t]=function(t){return function(){o('In SVG mode painter not support method "'+t+'"')}}(t)});var T=A;t.exports=T},XHUn:function(t,e,n){var i=n("2uO+"),a=n("UGP7");t.exports=function(t,e){a.each(e,function(e){e.update="updateView",i.registerAction(e,function(n,i){var a={};return i.eachComponent({mainType:"series",subType:t,query:n},function(t){t[e.method]&&t[e.method](n.name,n.dataIndex);var i=t.getData();i.each(function(e){var n=i.getName(e);a[n]=t.isSelected(n)||!1})}),{name:n.name,selected:a}})})}},XI5D:function(t,e,n){var i=n("UGP7"),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},XPA9:function(t,e,n){var i=n("2uO+");n("UKuj"),n("woTO");var a=n("Zdbs"),r=n("18F9"),o=n("HKTE");i.registerVisual(a("funnel")),i.registerLayout(r),i.registerProcessor(o("funnel"))},XRpO:function(t,e){var n={};e.register=function(t,e){n[t]=e},e.get=function(t){return n[t]}},XUq2:function(t,e,n){n("ePAU").__DEV__;var i=n("2uO+"),a=n("UGP7"),r=n("F7La"),o=n("cjMm").setLabel,s=n("HCVr"),l=n("iQMH"),u=n("r2sF"),c=["itemStyle","barBorderWidth"];a.extend(s.prototype,l);var h=i.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,n){var i,a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=t.isAnimationEnabled()?t:null;o.diff(s).add(function(e){if(o.hasValue(e)){var n=o.getItemModel(e),r=g[l.type](o,e,n),s=d[l.type](o,e,n,r,i,c);o.setItemGraphicEl(e,s),a.add(s),m(s,o,e,n,r,t,i,"polar"===l.type)}}).update(function(e,n){var u=s.getItemGraphicEl(n);if(o.hasValue(e)){var h=o.getItemModel(e),f=g[l.type](o,e,h);u?r.updateProps(u,{shape:f},c,e):u=d[l.type](o,e,h,f,i,c,!0),o.setItemGraphicEl(e,u),a.add(u),m(u,o,e,h,f,t,i,"polar"===l.type)}else a.remove(u)}).remove(function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&f(t,c,e):e&&p(t,c,e)}).execute(),this._data=o},_renderLarge:function(t,e,n){this._clear(),y(t,this.group)},_incrementalRenderLarge:function(t,e){y(e,this.group,!0)},dispose:a.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,n=this._data;t&&t.get("animation")&&n&&!this._isLargeDraw?n.eachItemGraphicEl(function(e){"sector"===e.type?p(e.dataIndex,t,e):f(e.dataIndex,t,e)}):e.removeAll(),this._data=null}}),d={cartesian2d:function(t,e,n,i,o,s,l){var u=new r.Rect({shape:a.extend({},i)});if(s){var c=u.shape,h=o?"height":"width",d={};c[h]=0,d[h]=i[h],r[l?"updateProps":"initProps"](u,{shape:d},s,e)}return u},polar:function(t,e,n,i,o,s,l){var u=i.startAngle0?1:-1,o=i.height>0?1:-1;return{x:i.x+r*a/2,y:i.y+o*a/2,width:i.width-r*a,height:i.height-o*a}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function m(t,e,n,i,s,l,u,c){var h=e.getItemVisual(n,"color"),d=e.getItemVisual(n,"opacity"),f=i.getModel("itemStyle"),p=i.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(a.defaults({fill:h,opacity:d},f.getBarItemStyle()));var g=i.getShallow("cursor");g&&t.attr("cursor",g);var m=u?s.height>0?"bottom":"top":s.width>0?"left":"right";c||o(t.style,p,i,h,l,n,m),r.setHoverStyle(t,p)}var v=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,a=this.__valueIdx,r=0;r1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:o}),e.eachSeries(function(t,e){if(e1?"multiple":"single")+".";n=f(n=p(i?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:function(t){return a.series.typeNames[t]||"自定义图"}(t.subType)});var u=t.getData();window.data=u,u.count()>l?n+=f(p("data.partialData"),{displayCnt:l}):n+=p("data.allData");for(var h=[],g=0;g=0&&!n[a][i];a--);if(a<0){var r=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(r){var o=r.getPercentRange();n[0][i]={dataZoomId:i,start:o[0],end:o[1]}}}}),n.push(e)},e.pop=function(t){var e=r(t),n=e[e.length-1];e.length>1&&e.pop();var a={};return i(n,function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n]){a[n]=t;break}}),a},e.clear=function(t){t[a]=null},e.count=function(t){return r(t).length}},Xq6c:function(t,e,n){var i=n("UGP7"),a=n("FWXg"),r=n("Ba82");var o=i.normalizeCssArray,s=/([&<>"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(s,function(t,e){return l[e]})}var c=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e){return"0000".substr(0,e-(t+="").length)+t}var f=a.truncateText,p=a.getBoundingRect;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=o,e.encodeHTML=u,e.formatTpl=function(t,e,n){i.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o':'':""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=r.parseDate(e),a=n?"UTC":"",o=i["get"+a+"FullYear"](),s=i["get"+a+"Month"]()+1,l=i["get"+a+"Date"](),u=i["get"+a+"Hours"](),c=i["get"+a+"Minutes"](),h=i["get"+a+"Seconds"](),f=i["get"+a+"Milliseconds"]();return t=t.replace("MM",d(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",d(l,2)).replace("d",l).replace("hh",d(u,2)).replace("h",u).replace("mm",d(c,2)).replace("m",c).replace("ss",d(h,2)).replace("s",h).replace("SSS",d(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=f,e.getTextRect=p},YTRE:function(t,e){t.exports=function(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){for(var a=i.getIndicatorAxes(),r=0;ro&&(o=t.depth)});var s=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s}),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),a=i.getValue(),o=i.name;i&&i!==n;)o=i.parentNode.name+"."+o,i=i.parentNode;return r(o+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=o},YiJa:function(t,e,n){var i=n("FrB/"),a=n("xgpl"),r=n("G4Qs"),o=function(){this.group=new i,this.uid=a.getUID("viewComponent")},s=o.prototype={constructor:o,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){}};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},Yryp:function(t,e,n){var i=n("6SPp");function a(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,n=i.clone(t.node1.getLayout()),a=i.clone(t.node2.getLayout()),r=[n,a];+e&&r.push([(n[0]+a[0])/2-(n[1]-a[1])*e,(n[1]+a[1])/2-(a[0]-n[0])*e]),t.setLayout(r)})}e.simpleLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),a(n)}},e.simpleLayoutEdge=a},Z6Tg:function(t,e,n){var i=n("dqQ9"),a=n("kOsr"),r=n("Xq6c").encodeHTML,o=i.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,n=t.data||t.nodes;if(n&&e)return a(n,e,this,!0).data},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getDataParams(t,n),a=i.data,s=a.source+" -- "+a.target;return i.value&&(s+=" : "+i.value),r(s)}return o.superCall(this,"formatTooltip",t,e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}}),s=o;t.exports=s},Z9f1:function(t,e,n){var i=n("xIEw").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=i},ZDMB:function(t,e,n){var i=n("UGP7"),a=n("F7La"),r={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},o=2,s=4;function l(t,e,n){a.Group.call(this);var i=new a.Sector({z2:o});i.seriesIndex=e.seriesIndex;var r=new a.Text({z2:s,silent:t.getModel("label").get("silent")});function l(){r.ignore=r.hoverIgnore}function u(){r.ignore=r.normalIgnore}this.add(i),this.add(r),this.updateData(!0,t,"normal",e,n),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(t,e,n,r,o){this.node=e,e.piece=this,r=r||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout();u||console.log(e.getLayout());var c=i.extend({},u);c.label=null;var h,d=function(t,e,n){var a=t.getVisual("color"),r=t.getVisual("visualMeta");r&&0!==r.length||(a=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(a)return a;if(0===t.depth)return n.option.color[0];var s=n.option.color.length;o=n.option.color[function(t){var e=t;for(;e.depth>1;)e=e.parentNode;var n=t.getAncestors()[0];return i.indexOf(n.children,e)}(t)%s];return o}(e,0,o),f=l.getModel("itemStyle").getItemStyle();if("normal"===n)h=f;else{var p=l.getModel(n+".itemStyle").getItemStyle();h=i.merge(p,f)}h=i.defaults({lineJoin:"bevel",fill:h.fill||d},h),t?(s.setShape(c),s.shape.r=u.r0,a.updateProps(s,{shape:{r:u.r}},r,e.dataIndex),s.useStyle(h)):"object"==typeof h.fill&&h.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:c},r),s.useStyle(h)):a.updateProps(s,{shape:c,style:h},r),this._updateLabel(r,d,n);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),t){var m=r.getShallow("highlightPolicy");this._initEvents(s,e,r,m)}this._seriesModel=r||this._seriesModel,this._ecModel=o||this._ecModel},u.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode(function(n){n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):!function(t,e,n){return n!==r.NONE&&(n===r.SELF?t===e:n===r.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}(n,e.node,t)?t!==r.NONE&&n.piece.childAt(0).trigger("downplay"):n.piece.childAt(0).trigger("highlight"))})},u.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(t,e,n){var r=this.node.getModel(),o=r.getModel("label"),s="normal"===n||"emphasis"===n?o:r.getModel(n+".label"),l=r.getModel("emphasis.label"),u=i.retrieve(t.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===I("show")&&(u="");var c=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=o.get("minAngle")),h=h/180*Math.PI;var d=c.endAngle-c.startAngle;null!=h&&Math.abs(d)Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(p=c.r0+x,g>Math.PI/2&&(_="right")):"right"===_&&(p=c.r-x,g>Math.PI/2&&(_="left")):(p=(c.r+c.r0)/2,_="center"),f.attr("style",{text:u,textAlign:_,textVerticalAlign:I("verticalAlign")||"middle",opacity:I("opacity")});var b=p*m+c.cx,w=p*v+c.cy;f.attr("position",[b,w]);var S=I("rotate"),M=0;function I(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===S?(M=-g)<-Math.PI/2&&(M+=Math.PI):"tangential"===S?(M=Math.PI/2-g)>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI):"number"==typeof S&&(M=S*Math.PI/180),f.attr("rotation",M)},u._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(i)},o=function(){a.onNormal()};n.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",function(){a.onDownplay()}).on("highlight",function(){a.onHighlight()})},i.inherits(l,a.Group);var c=l;t.exports=c},ZGTe:function(t,e,n){var i=n("UGP7"),a=n("FWXg"),r=n("vhe7").makeInner,o=n("spam").makeLabelFormatter,s=r();function l(t,e){var n,a=u(t,"labels"),r=p(e),o=c(a,r);return o||h(a,r,{labels:i.isFunction(r)?f(t,r):d(t,n="auto"===r?function(t){var e=s(t).autoInterval;return null!=e?e:s(t).autoInterval=t.calculateCategoryInterval()}(t):r),labelCategoryInterval:n})}function u(t,e){return s(t)[e]||(s(t)[e]=[])}function c(t,e){for(var n=0;n1&&h/u>2&&(c=Math.round(Math.ceil(c/u)*u));var d=s.get("showMinLabel"),f=s.get("showMaxLabel");d&&c!==r[0]&&g(r[0]);for(var p=c;p<=r[1];p+=u)g(p);function g(t){l.push(n?t:{formattedLabel:i(t),rawLabel:a.getLabel(t),tickValue:t})}return f&&p!==r[1]&&g(r[1]),l}function f(t,e,n){var a=t.scale,r=o(t),s=[];return i.each(a.getTicks(),function(t){var i=a.getLabel(t);e(t,i)&&s.push(n?t:{formattedLabel:r(t),rawLabel:i,tickValue:t})}),s}function p(t){var e=t.get("interval");return null==e?"auto":e}e.createAxisLabels=function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=l(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=o(t);return{labels:i.map(e,function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e}})}}(t)},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var n,a,r=u(t,"ticks"),o=p(e),s=c(r,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(n=[]),i.isFunction(o))n=f(t,o,!0);else if("auto"===o){var g=l(t,t.getLabelModel());a=g.labelCategoryInterval,n=i.map(g.labels,function(t){return t.tickValue})}else n=d(t,a=o,!0);return h(r,o,{ticks:n,tickCategoryInterval:a})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=o(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,l=r.getExtent(),u=r.count();if(l[1]-l[0]<1)return 0;var c=1;u>40&&(c=Math.max(1,Math.floor(u/40)));for(var h=l[0],d=t.dataToCoord(h+1)-t.dataToCoord(h),f=Math.abs(d*Math.cos(i)),p=Math.abs(d*Math.sin(i)),g=0,m=0;h<=l[1];h+=c){var v,y,x=a.getBoundingRect(n(h),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=s(t.model),M=S.lastAutoInterval,I=S.lastTickCount;return null!=M&&null!=I&&Math.abs(M-w)<=1&&Math.abs(I-u)<=1&&M>w?w=M:(S.lastTickCount=u,S.lastAutoInterval=w),w}},ZU8W:function(t,e,n){n("ePAU").__DEV__;var i=n("2uO+"),a=n("UGP7"),r=n("F7La"),o=n("smDs").getDefaultLabel,s=n("d2jw"),l=n("APTP").getLayoutOnAxis,u=n("BNSp"),c=["itemStyle"],h=["emphasis","itemStyle"],d=["label"],f=["emphasis","label"],p="e\0\0",g={cartesian2d:n("GePf"),geo:n("2fjD"),singleAxis:n("280B"),polar:n("wPWP"),calendar:n("W7Tj")};function m(t,e,n,i,a){null==n[t]||a||(e[t]=n[t],n[t]=i[t])}function v(t,e,n,i){var s=t.get("renderItem"),u=t.coordinateSystem,p={};u&&(p=u.prepareCustoms?u.prepareCustoms():g[u.type](u));var m,v,y,x,_,b=a.defaults({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=m),e.get(e.getDimension(t||0),n)},style:function(n,i){null==i&&(i=m),M(i);var s=v.getModel(c).getItemStyle();null!=_&&(s.fill=_);var l=e.getItemVisual(i,"opacity");return null!=l&&(s.opacity=l),r.setTextStyle(s,y,null,{autoColor:_,isRectText:!0}),s.text=y.getShallow("show")?a.retrieve2(t.getFormattedLabel(i,"normal"),o(e,i)):null,n&&a.extend(s,n),s},styleEmphasis:function(n,i){null==i&&(i=m),M(i);var s=v.getModel(h).getItemStyle();return r.setTextStyle(s,x,null,{isRectText:!0},!0),s.text=x.getShallow("show")?a.retrieve3(t.getFormattedLabel(i,"emphasis"),t.getFormattedLabel(i,"normal"),o(e,i)):null,n&&a.extend(s,n),s},visual:function(t,n){return null==n&&(n=m),e.getItemVisual(n,t)},barLayout:function(t){if(u.getBaseAxis){var e=u.getBaseAxis();return l(a.defaults({axis:e},t),i)}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return r.getFont(t,n)}},p.api||{}),w={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:p.coordSys,dataInsideLength:e.count(),encode:function(t){var e={};return a.each(t.dimensions,function(n,i){var a=t.getDimensionInfo(n);if(!a.isExtraCoord){var r=a.coordDim;(e[r]=e[r]||[])[a.coordDimIndex]=i}}),e}(t.getData())},S=!0;return function(t){return m=t,S=!0,s&&s(a.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t)},w),b)||{}};function M(t){null==t&&(t=m),S&&(v=e.getItemModel(t),y=v.getModel(d),x=v.getModel(f),_=e.getItemVisual(t,"color"),S=!1)}}function y(t,e,n,i,a,r){return(t=x(t,e,n,i,a,r))&&r.setItemGraphicEl(e,t),t}function x(t,e,n,i,o,s){var l=n.type;if(!t||l===t.__customGraphicType||"path"===l&&n.pathData===t.__customPathData||"image"===l&&n.style.image===t.__customImagePath||"text"===l&&n.style.text===t.__customText||(o.remove(t),t=null),null!=l){var c=!t;if(!t&&(t=function(t){var e,n=t.type;if("path"===n){var i=t.shape;(e=r.makePath(i.pathData,null,{x:i.x||0,y:i.y||0,width:i.width||0,height:i.height||0},"center")).__customPathData=t.pathData}else"image"===n?(e=new r.Image({})).__customImagePath=t.style.image:"text"===n?(e=new r.Text({})).__customText=t.style.text:e=new(0,r[n.charAt(0).toUpperCase()+n.slice(1)]);return e.__customGraphicType=n,e.name=t.name,e}(n)),function(t,e,n,i,o,s){var l={},u=n.style||{};if(n.shape&&(l.shape=a.clone(n.shape)),n.position&&(l.position=n.position.slice()),n.scale&&(l.scale=n.scale.slice()),n.origin&&(l.origin=n.origin.slice()),n.rotation&&(l.rotation=n.rotation),"image"===t.type&&n.style){var c=l.style={};a.each(["x","y","width","height"],function(e){m(e,c,u,t.style,s)})}"text"===t.type&&n.style&&(c=l.style={},a.each(["x","y"],function(e){m(e,c,u,t.style,s)}),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));if("group"!==t.type&&(t.useStyle(u),s)){t.style.opacity=0;var h=u.opacity;null==h&&(h=1),r.initProps(t,{style:{opacity:h}},i,e)}s?t.attr(l):r.updateProps(t,l,i,e),t.attr({z2:n.z2||0,silent:n.silent}),!1!==n.styleEmphasis&&r.setHoverStyle(t,n.styleEmphasis)}(t,e,n,i,0,c),"group"===l){var h=t.children()||[],d=n.children||[];if(n.diffChildrenByName)!function(t){new u(t.oldChildren,t.newChildren,_,_,t).add(b).update(b).remove(w).execute()}({oldChildren:h,newChildren:d,dataIndex:e,animatableModel:i,group:t,data:s});else{for(var f=0;f.5?e:t}function h(t,e,n,i,a){var r=t.length;if(1==a)for(var o=0;oa)t.length=a;else for(var r=i;r=0&&!(T[n]<=e);n--);n=Math.min(n,_-2)}else{for(n=V;n<_&&!(T[n]>e);n++);n=Math.min(n-1,_-2)}V=n,F=e;var i=T[n+1]-T[n];if(0!==i)if(E=(e-T[n])/i,x)if(z=C[n],N=C[0===n?n:n-1],G=C[n>_-2?_-1:n+1],B=C[n>_-3?_-1:n+2],S)p(N,z,G,B,E,E*E,E*E*E,m(t,s),A);else{if(M)a=p(N,z,G,B,E,E*E,E*E*E,U,1),a=v(U);else{if(I)return c(z,G,E);a=g(N,z,G,B,E,E*E,E*E*E)}y(t,s,a)}else if(S)h(C[n],C[n+1],E,m(t,s),A);else{var a;if(M)h(C[n],C[n+1],E,U,1),a=v(U);else{if(I)return c(C[n],C[n+1],E);a=u(C[n],C[n+1],E)}y(t,s,a)}},ondestroy:n});return e&&"spline"!==e&&(W.easing=e),W}}}var x=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||s,this._setter=i||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var a=this._getter(this._target,i);if(null==a)continue;0!==t&&n[i].push({time:0,value:m(a)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t"],a.isArray(t)&&(t=t.slice(),i=!0),r=e?t:i?[c(t[0]),c(t[1])]:c(t),a.isString(u)?u.replace("{value}",i?r[0]:r).replace("{value2}",i?r[1]:r):a.isFunction(u)?i?u(t[0],t[1]):u(t):i?t[0]===l[0]?n[0]+" "+r[1]:t[1]===l[1]?n[1]+" "+r[0]:r[0]+" - "+r[1]:r;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,a=i.length-1;a>=0;a--){var r=i[a];if(!t.getDimensionInfo(r).isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});a.merge(i,n),a.merge(r,n);var l=this.isCategory();function u(n){f(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,function(t){var e=n[t];if(a.isString(e)){var i=o.get(e,"active",l);i?(n[t]={},n[t][e]=i):delete n[t]}},this)}u.call(this,i),u.call(this,r),function(t,e,n){var i=t[e],a=t[n];i&&!a&&(a=t[n]={},p(i,function(t,e){if(s.isValidType(e)){var n=o.get(e,"inactive",l);null!=n&&(a[e]=n,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:l?i:[i]}),null==s.symbol&&(s.symbol=e&&a.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&a.clone(n)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,function(t){t>c&&(c=t)}),s.symbolSize=h(u,function(t){return m(t,[0,c],[0,o[0]],!0)})}},this)}.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=y},a2XD:function(t,e,n){n("ePAU").__DEV__;var i=n("UGP7"),a=i.each,r=i.filter,o=i.map,s=i.isArray,l=i.indexOf,u=i.isObject,c=i.isString,h=i.createHashMap,d=i.assert,f=i.clone,p=i.merge,g=i.extend,m=i.mixin,v=n("vhe7"),y=n("HCVr"),x=n("C2x7"),_=n("b9xO"),b=n("tWWB"),w=n("d3Ui").resetSourceDefaulter,S="\0_ec_inner",M=y.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=i},setOption:function(t,e){d(!(S in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):function(t){t=t,this.option={},this.option[S]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(t,e){var n=t.color&&!t.colorLayer;a(e,function(e,i){"colorLayer"===i&&n||x.hasClass(i)||("object"==typeof e?t[i]=t[i]?p(t[i],e,!1):f(e):null==t[i]&&(t[i]=e))})}(t,this._theme.option),p(t,_,!1),this.mergeOption(t)}.call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o.length&&a(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];w(this),a(t,function(t,n){null!=t&&(x.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?f(t):p(e[n],t,!0))}),x.topologicalTravel(i,x.getAllClassMainTypes(),function(i,r){var o=v.normalizeToArray(t[i]),l=v.mappingToExists(n.get(i),o);v.makeIdAndName(l),a(l,function(t,e){var n=t.option;u(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=function(t,e,n){return e.type?e.type:n?n.subType:x.determineSubType(t,e)}(i,n,t.exist))});var c=function(t,e){s(e)||(e=e?[e]:[]);var n={};return a(e,function(e){n[e]=(t.get(e)||[]).slice()}),n}(n,r);e[i]=[],n.set(i,[]),a(l,function(t,a){var r=t.exist,o=t.option;if(d(u(o)||r,"Empty component definition"),o){var s=x.getClass(i,t.keyInfo.subType,!0);if(r&&r instanceof s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var l=g({dependentModels:c,componentIndex:a},t.keyInfo);r=new s(o,this,this,l),g(r,l),r.init(o,this,this,l),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);n.get(i)[a]=r,e[i][a]=r.option},this),"series"===i&&I(this,n.get("series"))},this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=f(this.option);return a(t,function(e,n){if(x.hasClass(n)){for(var i=(e=v.normalizeToArray(e)).length-1;i>=0;i--)v.isIdInner(e[i])&&e.splice(i,1);t[n]=e}}),delete t[S],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,a=t.id,u=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=i)s(i)||(i=[i]),n=r(o(i,function(t){return c[t]}),function(t){return!!t});else if(null!=a){var h=s(a);n=r(c,function(t){return h&&l(a,t.id)>=0||!h&&t.id===a})}else if(null!=u){var d=s(u);n=r(c,function(t){return d&&l(u,t.name)>=0||!d&&t.name===u})}else n=c.slice();return A(n,t)},findComponents:function(t){var e=t.query,n=t.mainType,i=function(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]}}(e);return function(e){return t.filter?r(e,t.filter):e}(A(i?this.queryComponents(i):this._componentsMap.get(n),t))},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"==typeof t)n=e,e=t,i.each(function(t,i){a(t,function(t,a){e.call(n,i,t,a)})});else if(c(t))a(i.get(t),e,n);else if(u(t)){var r=this.findComponents(t);a(r,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return r(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return r(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){a(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},eachRawSeries:function(t,e){a(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){a(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];a.subType===t&&e.call(n,a,i)},this)},eachRawSeriesByType:function(t,e,n){return a(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){I(this,r(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;I(this,e.get("series"));var n=[];e.each(function(t,e){n.push(e)}),x.topologicalTravel(n,x.getAllClassMainTypes(),function(n,i){a(e.get(n),function(e){("series"!==n||!function(t,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}}(e,t))&&e.restoreData()})})}});function I(t,e){t._seriesIndicesMap=h(t._seriesIndices=o(e,function(t){return t.componentIndex})||[])}function A(t,e){return e.hasOwnProperty("subType")?r(t,function(t){return t.subType===e.subType}):t}m(M,b);var T=M;t.exports=T},aGmn:function(t,e,n){var i=n("UGP7"),a=n("GBWL"),r=n("Ba82").parsePercent,o=n("Xq6c"),s=i.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(t,e,n,i,a){var r=0,o=0;null==i&&(i=1/0),null==a&&(a=1/0);var s=0;e.eachChild(function(l,u){var c,h,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var m=f.width+(g?-g.x+f.x:0);(c=r+m)>i||l.newline?(r=0,c=m,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(h=o+v)>a||l.newline?(r+=s+n,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=c+n:o=h+n)})}var h=c,d=i.curry(c,"vertical"),f=i.curry(c,"horizontal");function p(t,e,n){n=o.normalizeCssArray(n||0);var i=e.width,s=e.height,l=r(t.left,i),u=r(t.top,s),c=r(t.right,i),h=r(t.bottom,s),d=r(t.width,i),f=r(t.height,s),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=i-c-g-l),isNaN(f)&&(f=s-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>i/s?d=.8*i:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=i-c-d-g),isNaN(u)&&(u=s-h-f-p),t.left||t.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=i-g-l-(c||0)),isNaN(f)&&(f=s-p-u-(h||0));var v=new a(l+n[3],u+n[0],d,f);return v.margin=n,v}function g(t,e){return e&&t&&s(l,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=h,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,n){var i=e.width,a=e.height,s=r(t.x,i),l=r(t.y,a),u=r(t.x2,i),c=r(t.y2,a);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=a),n=o.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(c=c.clone()).applyTransform(h)}e=p(i.defaults({width:c.width,height:c.height},e),n,r);var d=t.position,f=s?e.x-c.x:0,g=l?e.y-c.y:0;t.attr("position","raw"===u?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,n){!i.isObject(n)&&(n={});var a=n.ignoreSize;!i.isArray(a)&&(a=[a,a]);var r=l(u[0],0),o=l(u[1],1);function l(n,i){var r={},o=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){c(e,t)&&(r[t]=l[t]=e[t]),h(r,t)&&o++,h(l,t)&&u++}),a[i])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&o){if(o>=2)return r;for(var d=0;d0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var d=c;h&&(d=c(n)),i.__t>0&&(d=-s*i.__t),i.__t=0;var f=i.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(i)});l||f.done(function(){a.remove(i)}),f.start()}this._period=s,this._loop=l}},c.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},c.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},c.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},c.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,a=t.__t,r=t.position,o=l.quadraticAt,s=l.quadraticDerivativeAt;r[0]=o(e[0],i[0],n[0],a),r[1]=o(e[1],i[1],n[1],a);var u=s(e[0],i[0],n[0],a),c=s(e[1],i[1],n[1],a);t.rotation=-Math.atan2(c,u)-Math.PI/2,t.ignore=!1},c.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},r.inherits(u,i.Group);var h=u;t.exports=h},b9xO: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},bJV5:function(t,e,n){n("bvCP"),n("CGXZ")},bZEM:function(t,e,n){var i=n("UGP7"),a=i.each,r=i.map,o=n("Ba82"),s=o.linearMap,l=o.getPixelPrecision,u=n("ZGTe"),c=u.createAxisTicks,h=u.createAxisLabels,d=u.calculateCategoryInterval,f=[0,1],p=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function g(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}p.prototype={constructor:p,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&g(n=n.slice(),i.count()),s(t,f,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&g(n=n.slice(),i.count());var a=s(t,n,f,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=c(this,e),i=n.ticks,o=r(i,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),s=e.get("alignWithLabel");return function(t,e,n,i,r){var o=e.length;if(!t.onBand||i||!o)return;var s,l=t.getExtent();if(1===o)e[0].coord=l[0],s=e[1]={coord:l[0]};else{var u=e[1].coord-e[0].coord;a(e,function(t){t.coord-=u/2;var e=e||0;e%2>0&&(t.coord-=u/(2*(e+1)))}),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=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},d.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return a.each(this._tagNames,function(n){var i=t.getElementsByTagName(n);e=e.concat([].slice.call(i))}),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;a.each(t,function(t){t[e._markLabel]="0"})},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),n=this;a.each(e,function(e){"1"!==e[n._markLabel]&&t.removeChild(e)})}},d.prototype.getSvgProxy=function(t){return t instanceof r?u:t instanceof o?c:t instanceof s?h:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var f=d;t.exports=f},cpKL:function(t,e,n){var i=n("yzeo"),a=i.eachAfter,r=i.eachBefore,o=n("fStQ"),s=o.init,l=o.firstWalk,u=o.secondWalk,c=o.separation,h=o.radialCoordinate,d=o.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=d(t,e);t.layoutInfo=n;var i=t.get("layout"),o=0,f=0,p=null;"radial"===i?(o=2*Math.PI,f=Math.min(n.height,n.width)/2,p=c(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=n.width,f=n.height,p=c());var g=t.getData().tree.root,m=g.children[0];if(m){s(g),a(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,r(m,u);var v=m,y=m,x=m;r(m,function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)});var _=v===y?1:p(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===i)w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=h(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)});else{var A=t.getOrient();"RL"===A||"LR"===A?(S=f/(y.getLayout().x+_+b),w=o/(x.depth-1||1),r(m,function(t){I=(t.getLayout().x+b)*S,M="LR"===A?(t.depth-1)*w:o-(t.depth-1)*w,t.setLayout({x:M,y:I},!0)})):"TB"!==A&&"BT"!==A||(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,I="TB"===A?(t.depth-1)*S:f-(t.depth-1)*S,t.setLayout({x:M,y:I},!0)}))}}}(t,e)})}},cr5B:function(t,e,n){var i=n("cjav"),a=n("UGP7"),r=n("WQ2X");function o(t,e){i.call(this,t,e,"clipPath","__clippath_in_use__")}a.inherits(o,i),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,n){if(e&&e.length>0){var i,a,o=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),i=s[l],o.contains(i)||o.appendChild(i)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",a),o.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);i.innerHTML="",i.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(i,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&a.each(t.__clipPaths,function(t){t._dom&&i.prototype.markUsed.call(e,t._dom),t._textDom&&i.prototype.markUsed.call(e,t._textDom)})};var s=o;t.exports=s},cxYs:function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),i=t.getEdgeData(),a=n(t.get("edgeSymbol")),r=n(t.get("edgeSymbolSize")),o="lineStyle.color".split("."),s="lineStyle.opacity".split(".");i.setVisual("fromSymbol",a&&a[0]),i.setVisual("toSymbol",a&&a[1]),i.setVisual("fromSymbolSize",r&&r[0]),i.setVisual("toSymbolSize",r&&r[1]),i.setVisual("color",t.get(o)),i.setVisual("opacity",t.get(s)),i.each(function(t){var a=i.getItemModel(t),r=e.getEdgeByIndex(t),l=n(a.getShallow("symbol",!0)),u=n(a.getShallow("symbolSize",!0)),c=a.get(o),h=a.get(s);switch(c){case"source":c=r.node1.getVisual("color");break;case"target":c=r.node2.getVisual("color")}l[0]&&r.setVisual("fromSymbol",l[0]),l[1]&&r.setVisual("toSymbol",l[1]),u[0]&&r.setVisual("fromSymbolSize",u[0]),u[1]&&r.setVisual("toSymbolSize",u[1]),r.setVisual("color",c),r.setVisual("opacity",h)})})}},"d/FO":function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},d1Gw:function(t,e,n){var i=n("r2sF"),a=n("lcGm"),r=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:a(i.prototype.brush),buildPath:function(t,e){var n=e.cx,i=e.cy,a=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(o),c=Math.sin(o);t.moveTo(u*a+n,c*a+i),t.lineTo(u*r+n,c*r+i),t.arc(n,i,r,o,s,!l),t.lineTo(Math.cos(s)*a+n,Math.sin(s)*a+i),0!==a&&t.arc(n,i,a,s,o,l),t.closePath()}});t.exports=r},d2jw:function(t,e,n){var i=n("UGP7"),a=n("yo78"),r=n("5l1v"),o=n("dTyV").SOURCE_FORMAT_ORIGINAL,s=n("GABs").getDimensionTypeByAxis,l=n("vhe7").getDataItemValue,u=n("WHJM"),c=n("RfBU").getCoordSysDefineBySeries,h=n("R1jG"),d=n("z+In").enableDataStack;var f=function(t,e,n){n=n||{},h.isInstance(t)||(t=h.seriesDataToSource(t));var f,p=e.get("coordinateSystem"),g=u.get(p),m=c(e);m&&(f=i.map(m.coordSysDims,function(t){var e={name:t},n=m.axisMap.get(t);if(n){var i=n.get("type");e.type=s(i)}return e})),f||(f=g&&(g.getDimensionsInfo?g.getDimensionsInfo():g.dimensions.slice())||["x","y"]);var v,y,x=r(t,{coordDimensions:f,generateCoord:n.generateCoord});m&&i.each(x,function(t,e){var n=t.coordDim,i=m.categoryAxisMap.get(n);i&&(null==v&&(v=e),t.ordinalMeta=i.getOrdinalMeta()),null!=t.otherDims.itemName&&(y=!0)}),y||null==v||(x[v].otherDims.itemName=0);var _=d(e,x),b=new a(x,e);b.setCalculationInfo(_);var w=null!=v&&function(t){if(t.sourceFormat===o){var e=function(t){for(var e=0;ee[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},d6p4:function(t,e,n){var i=n("Ee89"),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)))});return{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e).get(a,!0);null!=n&&t.setItemVisual(e,"color",n)}:null}}}};t.exports=a},"dFM+":function(t,e,n){var i=n("UGP7"),a=n("eEXx"),r=n("Ba82"),o=n("yo78"),s=n("NpMX");function l(t,e,n){var i=e.coordinateSystem;t.each(function(a){var o,s=t.getItemModel(a),l=r.parsePercent(s.get("x"),n.getWidth()),u=r.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(i){var c=t.get(i.dimensions[0],a),h=t.get(i.dimensions[1],a);o=i.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(a,o)})}var u=n("uWVc").extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries(function(t){var e=t.markPointModel;e&&(l(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,e,n,r){var u=t.coordinateSystem,c=t.id,h=t.getData(),d=this.markerGroupMap,f=d.get(c)||d.set(c,new a),p=function(t,e,n){var a;a=t?i.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)}):[{name:"value",type:"float"}];var r=new o(a,n),l=i.map(n.get("data"),i.curry(s.dataTransform,e));t&&(l=i.filter(l,i.curry(s.dataFilter,t)));return r.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),r}(u,t,e);e.setData(p),l(e.getData(),t,r),p.each(function(t){var n=p.getItemModel(t),i=n.getShallow("symbolSize");"function"==typeof i&&(i=i(e.getRawValue(t),e.getDataParams(t))),p.setItemVisual(t,{symbolSize:i,color:n.get("itemStyle.color")||h.getVisual("color"),symbol:n.getShallow("symbol")})}),f.updateData(p),this.group.add(f.group),p.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),f.__keep=!0,f.group.silent=e.get("silent")||t.get("silent")}});t.exports=u},"dGa/":function(t,e){e.buildPath=function(t,e){var n,i,a,r,o,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=a=r=h:h instanceof Array?1===h.length?n=i=a=r=h[0]:2===h.length?(n=a=h[0],i=r=h[1]):3===h.length?(n=h[0],i=r=h[1],a=h[2]):(n=h[0],i=h[1],a=h[2],r=h[3]):n=i=a=r=0,n+i>u&&(n*=u/(o=n+i),i*=u/o),a+r>u&&(a*=u/(o=a+r),r*=u/o),i+a>c&&(i*=c/(o=i+a),a*=c/o),n+r>c&&(n*=c/(o=n+r),r*=c/o),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-a),0!==a&&t.arc(s+u-a,l+c-a,a,0,Math.PI/2),t.lineTo(s+r,l+c),0!==r&&t.arc(s+r,l+c-r,r,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},dKWo:function(t,e,n){var i=n("UGP7"),a=n("yo78"),r=n("Ba82"),o=n("NpMX"),s=n("7HPD"),l=function(t,e,n,a){var r=t.getData(),s=a.type;if(!i.isArray(a)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=a.xAxis||null!=a.yAxis)){var l,u;if(null!=a.yAxis||null!=a.xAxis)l=null!=a.yAxis?"y":"x",e.getAxis(l),u=i.retrieve(a.yAxis,a.xAxis);else{var c=o.getAxisInfo(a,r,e,t);l=c.valueDataDim,c.valueAxis,u=o.numCalculate(r,l,s)}var h="x"===l?0:1,d=1-h,f=i.clone(a),p={};f.type=null,f.coord=[],p.coord=[],f.coord[d]=-1/0,p.coord[d]=1/0;var g=n.get("precision");g>=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(g,20))),f.coord[h]=p.coord[h]=u,a=[f,p,{type:s,valueIndex:a.valueIndex,value:u}]}return(a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),i.extend({},a[2])])[2].type=a[2].type||"",i.merge(a[2],a[0]),i.merge(a[2],a[1]),a};function u(t){return!isNaN(t)&&!isFinite(t)}function c(t,e,n,i){var a=1-t,r=i.dimensions[t];return u(e[a])&&u(n[a])&&e[t]===n[t]&&i.getAxis(r).containData(e[t])}function h(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(c(1,n,i,t)||c(0,n,i,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function d(t,e,n,i,a){var o,s=i.coordinateSystem,l=t.getItemModel(e),c=r.parsePercent(l.get("x"),a.getWidth()),h=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(c)||isNaN(h)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,f=t.get(d[0],e),p=t.get(d[1],e);o=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;u(t.get(d[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):u(t.get(d[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(c)||(o[0]=c),isNaN(h)||(o[1]=h)}else o=[c,h];t.setItemLayout(e,o)}var f=n("uWVc").extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries(function(t){var e=t.markLineModel;if(e){var i=e.getData(),a=e.__from,r=e.__to;a.each(function(e){d(a,e,!0,t,n),d(r,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,n,r){var u=t.coordinateSystem,c=t.id,f=t.getData(),p=this.markerGroupMap,g=p.get(c)||p.set(c,new s);this.group.add(g.group);var m=function(t,e,n){var r;r=t?i.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)}):[{name:"value",type:"float"}];var s=new a(r,n),u=new a(r,n),c=new a([],n),d=i.map(n.get("data"),i.curry(l,e,t,n));t&&(d=i.filter(d,i.curry(h,t)));var f=t?o.dimValueGetter:function(t){return t.value};return s.initData(i.map(d,function(t){return t[0]}),null,f),u.initData(i.map(d,function(t){return t[1]}),null,f),c.initData(i.map(d,function(t){return t[2]})),c.hasItemOption=!0,{from:s,to:u,line:c}}(u,t,e),v=m.from,y=m.to,x=m.line;e.__from=v,e.__to=y,e.setData(x);var _=e.get("symbol"),b=e.get("symbolSize");function w(e,n,i){var a=e.getItemModel(n);d(e,n,i,t,r),e.setItemVisual(n,{symbolSize:a.get("symbolSize")||b[i?0:1],symbol:a.get("symbol",!0)||_[i?0:1],color:a.get("itemStyle.color")||f.getVisual("color")})}i.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each(function(t){w(v,t,!0),w(y,t,!1)}),x.each(function(t){var e=x.getItemModel(t).get("lineStyle.color");x.setItemVisual(t,{color:e||v.getItemVisual(t,"color")}),x.setItemLayout(t,[v.getItemLayout(t),y.getItemLayout(t)]),x.setItemVisual(t,{fromSymbolSize:v.getItemVisual(t,"symbolSize"),fromSymbol:v.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})}),g.updateData(x),m.line.eachItemGraphicEl(function(t,n){t.traverse(function(t){t.dataModel=e})}),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=f},dRdw:function(t,e,n){var i=n("UGP7"),a=n("d2jw"),r=n("spam"),o=n("0B9E"),s=n("HCVr"),l=n("aGmn");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var u=n("z+In"),c=u.enableDataStack,h=u.isDimensionStacked,d=u.getStackedDimension,f=n("nNpp");e.completeDimensions=f;var p=n("5l1v");e.createDimensions=p;var g=n("N3RP");e.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:c,getStackedDimension:d};e.createList=function(t){return a(t.getSource(),t)},e.dataStack=m,e.createScale=function(t,e){var n=e;s.isInstance(e)||(n=new s(e),i.mixin(n,o));var a=r.createScaleByModel(n);return a.setExtent(t[0],t[1]),r.niceScaleExtent(a,n),a},e.mixinAxisModelCommonMethods=function(t){i.mixin(t,o)}},dTyV:function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},dUaz:function(t,e,n){var i=n("j1kn").retrieveRawValue,a=n("Xq6c"),r=a.getTooltipMarker,o=a.formatTpl,s=/\{@(.+?)\}/g,l={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),a=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"color");return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:this.seriesIndex,seriesId:this.id,seriesName:this.name,name:o,dataIndex:a,data:s,dataType:e,value:i,color:l,marker:r(l),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,a,r){e=e||"normal";var l=this.getData(n),u=l.getItemModel(t),c=this.getDataParams(t,n);null!=a&&c.value instanceof Array&&(c.value=c.value[a]);var h=u.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);return"function"==typeof h?(c.status=e,h(c)):"string"==typeof h?o(h,c).replace(s,function(e,n){var a=n.length;return"["===n.charAt(0)&&"]"===n.charAt(a-1)&&(n=+n.slice(1,a-1)),i(l,t,n)}):void 0},getRawValue:function(t,e){return i(this.getData(e),t)},formatTooltip:function(){}};t.exports=l},daJn:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("75hO").updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){var i=e.coordinateSystem;if("geo"===i.type){var o=r(i,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===n&&a.each(e.seriesGroup,function(t){t.setCenter(o.center),t.setZoom(o.zoom)})}})})},dcqS:function(t,e){var n=["lineStyle","normal","opacity"],i={seriesType:"parallel",reset:function(t,e,i){var a=t.getModel("itemStyle"),r=t.getModel("lineStyle"),o=e.get("color"),s=r.get("color")||a.get("color")||o[t.seriesIndex%o.length],l=t.get("inactiveOpacity"),u=t.get("activeOpacity"),c=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,d=t.getData(),f={normal:c.opacity,active:u,inactive:l};return d.setVisual("color",s),{progress:function(t,e){h.eachActiveState(e,function(t,i){var a=f[t];if("normal"===t&&e.hasItemOption){var r=e.getItemModel(i).get(n,!0);null!=r&&(a=r)}e.setItemVisual(i,"opacity",a)},t.start,t.end)}}}};t.exports=i},do5i:function(t,e,n){n("/48L"),n("EL/e"),n("lQgO")},dqQ9:function(t,e,n){n("ePAU").__DEV__;var i=n("UGP7"),a=n("GyJx"),r=n("Xq6c"),o=r.formatTime,s=r.encodeHTML,l=r.addCommas,u=r.getTooltipMarker,c=n("vhe7"),h=n("C2x7"),d=n("tWWB"),f=n("dUaz"),p=n("aGmn"),g=p.getLayoutParams,m=p.mergeLayoutParam,v=n("9MiN").createTask,y=n("d3Ui"),x=y.prepareSource,_=y.getSource,b=n("j1kn").retrieveRawValue,w=c.makeInner(),S=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=v({count:I,reset:A}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),x(this);var a=this.getInitialData(t,n);C(a,this),this.dataTask.context.data=a,w(this).dataBeforeProcessed=a,M(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,a=n?g(t):{},r=this.subType;h.hasClass(r)&&(r+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&m(t,a,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&m(this.option,t,n),x(this);var a=this.getInitialData(t,e);C(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,w(this).dataBeforeProcessed=a,M(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n1||p&&!d?function(n){var a=i.reduce(n,function(t,e,n){var i=r.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)},0),c=[];function d(t,n){var i=r.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var h=i.type,d=u({color:g,type:"subItem"}),f=(a?d+s(i.displayName||"-")+": ":"")+s("ordinal"===h?t+"":"time"===h?e?"":o("yyyy/MM/dd hh:mm:ss",t):l(t));f&&c.push(f)}}return h.length?i.each(h,function(e){d(b(r,t,e),e)}):i.each(n,d),(a?"
":"")+c.join(a?"
":", ")}(f):a(d?b(r,t,h[0]):p?f[0]:f),v=u(g),y=r.getName(t),x=this.name;return c.isNameSpecified(this)||(x=""),x=x?s(x)+(e?": ":"
"):"",e?v+x+m:x+v+(y?s(y)+": "+m:m)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,a=d.getColorFromPalette.call(this,t,e,n);return a||(a=i.getColorFromPalette(t,e,n)),a},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function M(t){var e=t.name;c.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),a=[];return i.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&a.push(n.displayName)}),a.join(" ")}(t)||e)}function I(t){return t.model.getRawData().count()}function A(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),T}function T(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function C(t,e){i.each(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,i.curry(D,e))})}function D(t){var e=P(t);e&&e.setOutputEnd(this.count())}function P(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var a=i.agentStubMap;a&&(i=a.get(t.uid))}return i}}i.mixin(S,f),i.mixin(S,d);var L=S;t.exports=L},"duB+":function(t,e){e.containStroke=function(t,e,n,i,a,r,o){if(0===a)return!1;var s=a,l=0;if(o>e+s&&o>i+s||ot+s&&r>n+s||r=0;a--){var r=n[a];r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(r)}},e.firstWalk=function(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,l=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){for(var e=t.children,n=e.length,i=0,a=0;--n>=0;){var r=e[n];r.hierNode.prelim+=i,r.hierNode.modifier+=i,a+=r.hierNode.change,i+=r.hierNode.shift+a}}(t);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var l=t,u=t,c=u.parentNode.children[0],h=e,d=l.hierNode.modifier,f=u.hierNode.modifier,p=c.hierNode.modifier,g=h.hierNode.modifier;h=a(h),u=r(u),h&&u;){l=a(l),c=r(c),l.hierNode.ancestor=t;var m=h.hierNode.prelim+g-u.hierNode.prelim-f+i(h,u);m>0&&(s(o(h,t,n),t,m),f+=m,d+=m),g+=h.hierNode.modifier,f+=u.hierNode.modifier,d+=l.hierNode.modifier,p+=c.hierNode.modifier}h&&!a(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=g-d),u&&!r(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=f-p,n=t)}return n}(t,l,t.parentNode.hierNode.defaultAncestor||i[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},e.getViewRect=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},ffSB:function(t,e,n){var i=n("UGP7"),a=n("F7La"),r=n("FWXg"),o=n("Xq6c"),s=n("WQ2X"),l=n("spam"),u=n("rakW");function c(t,e,n,i,a){var s=h(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),l=n.getModel("label"),u=o.normalizeCssArray(l.get("padding")||0),c=l.getFont(),d=r.getBoundingRect(s,c),f=a.position,p=d.width+u[1]+u[3],g=d.height+u[0]+u[2],m=a.align;"right"===m&&(f[0]-=p),"center"===m&&(f[0]-=p/2);var v=a.verticalAlign;"bottom"===v&&(f[1]-=g),"middle"===v&&(f[1]-=g/2),function(t,e,n,i){var a=i.getWidth(),r=i.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+n,r)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(f,p,g,i);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:p,height:g,r:l.get("borderRadius")},position:f.slice(),style:{text:s,textFont:c,textFill:l.getTextColor(),textPosition:"inside",fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function h(t,e,n,a,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var u={value:l.getAxisRawValue(e,t),seriesData:[]};i.each(a,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,a=e&&e.getDataParams(i);a&&u.seriesData.push(a)}),i.isString(s)?o=s.replace("{value}",o):i.isFunction(s)&&(o=s(u))}return o}function d(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),a.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}e.buildElStyle=function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e},e.buildLabelElOption=c,e.getValueLabel=h,e.getTransformedPosition=d,e.buildCartesianSingleLabelElOption=function(t,e,n,i,a,r){var o=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get("label.margin"),c(e,i,a,r,{position:d(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})},e.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},e.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},e.makeSectorShape=function(t,e,n,i,a,r){return{cx:t,cy:e,r0:n,r:i,startAngle:a,endAngle:r,clockwise:!0}}},gRbr:function(t,e,n){var i=n("UGP7"),a=n("F7La"),r=Math.PI;t.exports=function(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}},gt3n:function(t,e,n){var i=n("GBWL"),a=n("uXj1").onIrrelevantElement,r=n("F7La");function o(t){return i.create(t)}e.makeRectPanelClipPath=function(t){return t=o(t),function(e,n){return r.clipPointsByRect(e,t)}},e.makeLinearBrushOtherExtent=function(t,e){return t=o(t),function(n){var i=null!=e?e:n,a=i?t.width:t.height,r=i?t.x:t.y;return[r,r+(a||0)]}},e.makeRectIsTargetByCursor=function(t,e,n){return t=o(t),function(i,r,o){return t.contain(r[0],r[1])&&!a(i,e,n)}}},gwPt:function(t,e,n){var i=n("FMWM"),a=n("UGP7");t.exports=function(t,e){t.eachSeriesByType("sankey",function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,r=-1/0;a.each(e,function(t){var e=t.getLayout().value;er&&(r=e)}),a.each(e,function(e){var a=new i({type:"color",mappingMethod:"linear",dataExtent:[n,r],visual:t.get("color")}).mapValueToVisual(e.getLayout().value);e.setVisual("color",a);var o=e.getModel().get("itemStyle.color");null!=o&&e.setVisual("color",o)})}})}},gz0C:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("rakW"),o=n("PLIk"),s=n("gt3n"),l=n("F7La"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(t,e){c.superApply(this,"init",arguments),(this._brushController=new o(e.getZr())).on("brush",a.bind(this._onBrush,this))},render:function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),c=s.coordinateSystem,h=t.getAreaSelectStyle(),d=h.width,f=t.axis.dim,p=c.getAxisLayout(f),g=a.extend({strokeContainThreshold:d},p),m=new r(t,g);a.each(u,m.add,m),this._axisGroup.add(m.getGroup()),this._refreshBrushController(g,h,t,s,d,n);var v=i&&!1===i.animation?null:t;l.groupTransition(o,this._axisGroup,v)}}},_refreshBrushController:function(t,e,n,i,r,o){var u=n.axis.getExtent(),c=u[1]-u[0],h=Math.min(30,.1*Math.abs(c)),d=l.BoundingRect.create({x:u[0],y:-r/2,width:c,height:r});d.x-=h,d.width+=2*h,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(d),isTargetByCursor:s.makeRectIsTargetByCursor(d,o,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return a.map(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}(n))},_onBrush:function(t,e){var n=this.axisModel,i=n.axis,r=a.map(t,function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]});(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},dispose:function(){this._brushController.dispose()}});var h=c;t.exports=h},h5OS:function(t,e,n){var i=n("F7La"),a=n("6SPp"),r=i.Line.prototype,o=i.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){(s(e)?r:o).buildPath(t,e)},pointAt:function(t){return s(this.shape)?r.pointAt.call(this,t):o.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:o.tangentAt.call(this,t);return a.normalize(n,n)}});t.exports=l},h6Qd:function(t,e,n){var i=n("2uO+"),a=n("yo78"),r=n("UGP7"),o=n("vhe7").defaultEmphasis,s=n("HCVr"),l=n("Xq6c").encodeHTML,u=n("kOsr"),c=i.extendSeriesModel({type:"series.graph",init:function(t){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){c.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){c.superApply(this,"mergeDefaultAndTheme",arguments),o(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],a=this;if(i&&n)return u(i,n,this,!0,function(t,n){t.wrapMethod("getItemModel",function(t){var e=a._categoriesModels,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t});var i=a.getModel("edgeLabel"),r=new s({label:i.option},i.parentModel,e),o=a.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:o.option}},o.parentModel,e);function u(t){return(t=this.parsePath(t))&&"label"===t[0]?r:t&&"emphasis"===t[0]&&"label"===t[1]?l:this.parentModel}n.wrapMethod("getItemModel",function(t){return t.customizeGetParent(u),t})}).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getData(),a=this.getDataParams(t,n),r=i.graph.getEdgeByIndex(t),o=i.getName(r.node1.dataIndex),s=i.getName(r.node2.dataIndex),u=[];return null!=o&&u.push(o),null!=s&&u.push(s),u=l(u.join(" > ")),a.value&&(u+=" : "+l(a.value)),u}return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],function(t){return null!=t.value?t:r.extend({value:0},t)}),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),h=c;t.exports=h},hAlA:function(t,e,n){var i=n("UGP7"),a=n("J2ba");function r(t,e,n){for(var i=[],a=e[0],r=e[1],o=0;o>1^-(1&s),l=l>>1^-(1&l),a=s+=a,r=l+=r,i.push([s/n,l/n])}return i}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i0}),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})}},hhhu:function(t,e,n){n("2uO+").registerAction({type:"dragNode",event:"dragNode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})})},hrvL:function(t,e,n){var i=n("UGP7"),a=n("1L7U"),r=n("n/Lt"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s};var l=s;t.exports=l},hwiq:function(t,e,n){var i=n("kEtx"),a=n("FHmb");e.buildPath=function(t,e,n){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=a(r,o,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=r[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=i(r,n)),t.moveTo(r[0][0],r[0][1]),u=1;for(var f=r.length;uthis._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,a,r){return this.addData(l.C,t,e,n,i,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,a,r):this._ctx.bezierCurveTo(t,e,n,i,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,n,i){return this.addData(l.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,a,r){return this.addData(l.A,t,e,n,n,i,a-i,0,r?0:1),this._ctx&&this._ctx.arc(t,e,n,i,a,r),this._xi=g(a)*n+t,this._yi=m(a)*n+t,this},arcTo:function(t,e,n,i,a){return this._ctx&&this._ctx.arcTo(t,e,n,i,a),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&g<=t||c<0&&g>=t||0==c&&(h>0&&m<=e||h<0&&m>=e);)g+=c*(n=o[i=this._dashIdx]),m+=h*n,this._dashIdx=(i+1)%y,c>0&&gl||h>0&&mu||s[i%2?"moveTo":"lineTo"](c>=0?f(g,t):p(g,t),h>=0?f(m,e):p(m,e));c=g-t,h=m-e,this._dashOffset=-v(c*c+h*h)},_dashedBezierTo:function(t,e,n,a,r,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=i.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,n,r,s+.1)-x(m,t,n,r,s),u=x(y,e,a,o,s+.1)-x(y,e,a,o,s),_+=v(l*l+u*u);for(;bf);b++);for(s=(S-f)/_;s<=1;)c=x(m,t,n,r,s),h=x(y,e,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(r,o),l=r-c,u=o-h,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var a=n,r=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,f=0;fu||y(o-a)>c||d===h-1)&&(t.lineTo(r,o),i=r,a=o);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),i=s[d-2],a=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),i=s[d-2],a=s[d-1];break;case l.A:var p=s[d++],v=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=x>_?x:_,A=x>_?1:x/_,T=x>_?_/x:1,C=b+w;Math.abs(x-_)>.001?(t.translate(p,v),t.rotate(S),t.scale(A,T),t.arc(0,0,I,b,C,1-M),t.scale(1/A,1/T),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,I,b,C,1-M),1==d&&(e=g(b)*x+p,n=m(b)*_+v),i=g(C)*x+p,a=m(C)*_+v;break;case l.R:e=i=s[d],n=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),i=e,a=n}}}},_.CMD=l;var b=_;t.exports=b},ibt6:function(t,e,n){var i=n("UGP7"),a=n("G4Qs"),r=n("F7La"),o=n("8EmV"),s=n("RVXt"),l=n("UgMx"),u=(0,n("vhe7").makeInner)(),c=i.clone,h=i.bind;function d(){}function f(t,e,n,a){(function t(e,n){if(i.isObject(e)&&i.isObject(n)){var a=!0;return i.each(n,function(n,i){a=a&&t(e[i],n)}),!!a}return e===n})(u(n).lastProp,a)||(u(n).lastProp=a,e?r.updateProps(n,a,t):(n.stopAnimation(),n.attr(a)))}function p(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),a=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=a&&(t.zlevel=a),t.silent=n)})}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,o,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=i.curry(f,e,d);this.updatePointerEl(l,c,p,e),this.updateLabelEl(l,c,p,e)}else l=this._group=new r.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);m(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),i=t.axis,a="category"===i.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,a){},createPointerEl:function(t,e,n,i){var a=e.pointer;if(a){var o=u(t).pointerEl=new r[a.type](c(e.pointer));t.add(o)}},createLabelEl:function(t,e,n,i){if(e.label){var a=u(t).labelEl=new r.Rect(c(e.label));t.add(a),p(a,i)}},updatePointerEl:function(t,e,n){var i=u(t).pointerEl;i&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var a=u(t).labelEl;a&&(a.setStyle(e.label.style),n(a,{shape:e.label.shape,position:e.label.position}),p(a,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,a=this._api.getZr(),o=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),a.add(o)),m(o,n,!1);o.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");i.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(g(i)),u(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},d.prototype.constructor=d,a.enableClassExtend(d);var v=d;t.exports=v},ig5b:function(t,e,n){var i=n("2uO+"),a=n("ADnn"),r=i.extendComponentView({type:"axisPointer",render:function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";a.register("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},im81:function(t,e,n){var i=n("UGP7");t.exports=function(){var t=[],e=[];return{key:function(e){return t.push(e),this},sortKeys:function(n){return e[t.length-1]=n,this},entries:function(n){return function n(a,r){if(r>=t.length)return a;var o=[],s=e[r++];return i.each(a,function(t,e){o.push({key:e,values:n(t,r)})}),s?o.sort(function(t,e){return s(t.key,e.key)}):o}(function e(n,a){if(a>=t.length)return n;for(var r=-1,o=n.length,s=t[a++],l={},u={};++r0&&e%v)m+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:d(t,s,c,!0);n&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,i]),p.push([m,i]),m+=g,u=n}});var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:f},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,a=this.ecModel;return t.eachTargetAxis(function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();i.each(s,function(t){if(!(n||!0!==e&&i.indexOf(y,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u=function(t){return{x:"y",y:"x",radius:"angle",angle:"radius"}[t]}(r.name),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),n={thisAxis:l,series:t,thisDim:r.name,otherDim:u,otherAxisInverse:s}}},this)},this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,o=this._size,s=this.dataZoomModel;i.add(t.filler=new h({draggable:!0,cursor:_(this._orient),drift:p(this._onDragMove,this,"all"),onmousemove:function(t){a.stop(t.event)},ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),i.add(new h(r.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),g([0,1],function(t){var o=r.createIcon(s.get("handleIcon"),{cursor:_(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),onmousemove:function(t){a.stop(t.event)},ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=o.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,o.setStyle(s.getModel("handleStyle").getItemStyle());var c=s.get("handleColor");null!=c&&(o.style.fill=c),i.add(e[t]=o);var h=s.textStyleModel;this.group.add(n[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,a=this._getViewExtent(),r=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(e,i,a,n.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=f([d(i[0],a,o,!0),d(i[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=f(n.slice()),a=this._size;g([0,1],function(t){var i=e.handles[t],r=this._handleHeight;i.attr({scale:[r/2,r/2],position:[n[t],a[1]/2-r/2]})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=r.getTransform(n.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,u=r.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);i[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===m?"middle":s,textAlign:a===m?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,a=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return i.isFunction(a)?a(t,o):i.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n){this._dragging=!0;var i=this._displayables.barGroup.getLocalTransform(),a=r.applyTransform([e,n],i,!0),o=this._updateInterval(t,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),o&&s&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,a=(i[0]+i[1])/2,r=this._updateInterval("all",n[0]-a);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}}),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}var b=x;t.exports=b},itxa:function(t,e,n){var i=n("2uO+"),a=n("F7La"),r=n("aGmn").getLayoutRect;i.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),i.extendComponentView({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,o=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=t.get("textBaseline"),c=new a.Text({style:a.setTextStyle({},o,{text:t.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),h=c.getBoundingRect(),d=t.get("subtext"),f=new a.Text({style:a.setTextStyle({},s,{text:d,textFill:s.getTextColor(),y:h.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),g=t.get("sublink");c.silent=!p,f.silent=!g,p&&c.on("click",function(){window.open(p,"_"+t.get("target"))}),g&&f.on("click",function(){window.open(g,"_"+t.get("subtarget"))}),i.add(c),d&&i.add(f);var m=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=m.width,v.height=m.height;var y=r(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));l||("middle"===(l=t.get("left")||t.get("right"))&&(l="center"),"right"===l?y.x+=y.width:"center"===l&&(y.x+=y.width/2)),u||("center"===(u=t.get("top")||t.get("bottom"))&&(u="middle"),"bottom"===u?y.y+=y.height:"middle"===u&&(y.y+=y.height/2),u=u||"top"),i.attr("position",[y.x,y.y]);var x={textAlign:l,textVerticalAlign:u};c.setStyle(x),f.setStyle(x),m=i.getBoundingRect();var _=y.margin,b=t.getItemStyle(["color","opacity"]);b.fill=t.get("backgroundColor");var w=new a.Rect({shape:{x:m.x-_[3],y:m.y-_[0],width:m.width+_[1]+_[3],height:m.height+_[0]+_[2],r:t.get("borderRadius")},style:b,silent:!0});a.subPixelOptimizeRect(w),i.add(w)}}})},j1kn:function(t,e,n){n("ePAU").__DEV__;var i=n("UGP7"),a=(i.isTypedArray,i.extend),r=(i.assert,i.each),o=i.isObject,s=n("vhe7"),l=s.getDataItemValue,u=s.isDataItemOption,c=n("Ba82").parseDate,h=n("R1jG"),d=n("dTyV"),f=d.SOURCE_FORMAT_TYPED_ARRAY,p=d.SOURCE_FORMAT_ARRAY_ROWS,g=d.SOURCE_FORMAT_ORIGINAL,m=d.SOURCE_FORMAT_OBJECT_ROWS;function v(t,e){h.isInstance(t)||(t=h.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===f&&(this._offset=0,this._dimSize=e,this._data=n);var r=x[i===p?i+"_"+t.seriesLayoutBy:i];a(this,r)}var y=v.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:w},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i0;)i*=10;var a=[r.round(d(e[0]/i)*i),r.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}i.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}}),g.create=function(){return new g};var v=g;t.exports=v},"k+cI":function(t,e,n){n("ePAU").__DEV__;var i=n("2uO+"),a=n("UGP7"),r=n("GyJx"),o=n("vhe7"),s=n("Xq6c"),l=n("dUaz"),u=s.addCommas,c=s.encodeHTML;function h(t){o.defaultEmphasis(t,"label",["show"])}var d=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n),this.mergeOption(t,n,i.createdBySelf,!0)},isAnimationEnabled:function(){if(r.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,n,i){var r=this.constructor,o=this.mainType+"Model";n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),s=t[o];n&&n.data?(s?s.mergeOption(n,e,!0):(i&&h(n),a.each(n.data,function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)}),s=new r(n,this,e),a.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null},this)},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),i=a.isArray(n)?a.map(n,u).join(", "):u(n),r=e.getName(t),o=c(this.name);return(null!=n||r)&&(o+="
"),r&&(o+=c(r),null!=n&&(o+=" : ")),null!=n&&(o+=c(i)),o},getData:function(){return this._data},setData:function(t){this._data=t}});a.mixin(d,l);var f=d;t.exports=f},kEtx:function(t,e,n){var i=n("6SPp").distance;function a(t,e,n,i,a,r,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*r+s*a+e}t.exports=function(t,e){for(var n=t.length,r=[],o=0,s=1;sn-2?n-1:f+1],h=t[f>n-3?n-1:f+2]);var m=p*p,v=p*m;r.push([a(u[0],g[0],c[0],h[0],p,m,v),a(u[1],g[1],c[1],h[1],p,m,v)])}return r}},kOsr:function(t,e,n){var i=n("UGP7"),a=n("yo78"),r=n("G5CH"),o=n("VUe/"),s=n("5l1v"),l=n("WHJM"),u=n("d2jw");t.exports=function(t,e,n,c,h){for(var d=new r(c),f=0;f "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,n);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];i.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});(_=new a(M,n)).initData(t)}var I=new a(["value"],n);return I.initData(g,p),h&&h(_,I),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},kiZV:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getGraph().data,a=n.mapArray(n.getName);i.filterSelf(function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=a[n]);for(var r=0;r0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(l[1]-l[0])+l[0];i=Math.max(1/i,0),l[0]=(l[0]-d)*i+d,l[1]=(l[1]-d)*i+d;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,l,[0,100],0,f.minSpan,f.maxSpan),this._range=l,s[0]!==l[0]||s[1]!==l[1]?l:void 0}}}),u={grid:function(t,e,n,i,a){var r=n.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,n,i,a){var r=n.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,n,i,a){var r=n.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},c=l;t.exports=c},lHAe:function(t,e,n){n("HVjr"),n("JdaJ")},lQgO:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("8EmV"),o=n("6w8Q");n("piQe"),n("ig5b"),n("EL/e"),i.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!a.isArray(e)&&(t.axisPointer.link=[e])}}),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=r.collect(t,e)}),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},lTcd:function(t,e,n){var i=n("2uO+"),a=n("eEXx"),r=n("Dqg7"),o=n("WQ2X"),s=n("5Cz/"),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new a(r)},render:function(t,e,n){var i=t.getData(),a=this._symbolDraw;a.updateData(i),this.group.add(a.group)},updateTransform:function(t,e,n){var i=t.getData();this.group.dirty();var a=s().reset(t);a.progress&&a.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=o.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},lcGm:function(t,e,n){var i=n("GyJx"),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(t){return i.browser.ie&&i.browser.version>=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var r=0;re&&r+1t[r].y+t[r].height)return void l(r,i/2);l(n-1,i/2)}function l(e,n){for(var i=e;i>=0&&(t[i].y-=n,!(i>0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function u(t,e,n,i,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=n+d*r,o=d}}t.sort(function(t,e){return t.y-e.y});for(var c,h=0,d=t.length,f=[],p=[],g=0;g=n?p.push(t[g]):f.push(t[g]);u(f,!1,e,n,i,a),u(p,!0,e,n,i,a)}t.exports=function(t,e,n,r){var o,s,l=t.getData(),u=[],c=!1;l.each(function(n){var a,r,h,d,f=l.getItemLayout(n),p=l.getItemModel(n),g=p.getModel("label"),m=g.get("position")||p.get("emphasis.label.position"),v=p.getModel("labelLine"),y=v.get("length"),x=v.get("length2"),_=(f.startAngle+f.endAngle)/2,b=Math.cos(_),w=Math.sin(_);o=f.cx,s=f.cy;var S="inside"===m||"inner"===m;if("center"===m)a=f.cx,r=f.cy,d="center";else{var M=(S?(f.r+f.r0)/2*b:f.r*b)+o,I=(S?(f.r+f.r0)/2*w:f.r*w)+s;if(a=M+3*b,r=I+3*w,!S){var A=M+b*(y+e-f.r),T=I+w*(y+e-f.r),C=A+(b<0?-1:1)*x;a=C+(b<0?-5:5),r=T,h=[[M,I],[A,T],[C,T]]}d=S?"center":b>0?"left":"right"}var D=g.getFont(),P=g.get("rotate")?b<0?-_+Math.PI:-_:0,L=t.getFormattedLabel(n,"normal")||l.getName(n),k=i.getBoundingRect(L,D,d,"top");c=!!P,f.label={x:a,y:r,position:m,height:k.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",rotation:P,inside:S},S||u.push(f.label)}),!c&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o){for(var s=[],l=[],u=0;un[d],y=[-g.x,-g.y];y[h]=o.position[h];var x=[0,0],_=[-m.x,-m.y],b=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));v&&("end"===t.get("pageButtonPosition",!0)?_[h]+=n[d]-m[d]:x[h]+=m[d]+b);_[1-h]+=g[f]/2-m[f]/2,o.attr("position",y),s.attr("position",x),c.attr("position",_);var w=this.group.getBoundingRect();if((w={x:0,y:0})[d]=v?n[d]:g[d],w[f]=Math.max(g[f],m[f]),w[p]=Math.min(0,m[p]+_[1-h]),s.__rectSize=n[d],v){var S={x:0,y:0};S[d]=Math.max(n[d]-m[d]-b,0),S[f]=w[f],s.setClipPath(new a.Rect({shape:S})),s.__rectSize=S[d]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(t);return null!=M.pageIndex&&a.updateProps(o,{position:M.contentPosition},!!v&&t),this._updatePageInfoView(t,M),w},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],function(i){var a=null!=e[i+"DataIndex"],r=n.childOfName(i);r&&(r.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")});var a=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",i.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e,n,i,a,r=t.get("scrollDataIndex",!0),o=this.getContentGroup(),s=o.getBoundingRect(),c=this._containerGroup.__rectSize,h=t.getOrient().index,d=l[h],f=l[1-h],p=u[h],g=o.position.slice();this._showController?o.eachChild(function(t){t.__legendDataIndex===r&&(a=t)}):a=o.childAt(0);var m=c?Math.ceil(s[d]/c):0;if(a){var v=a.getBoundingRect(),y=a.position[h]+v[p];g[h]=-y-s[p],e=Math.floor(m*(y+v[p]+c/2)/s[d]),e=s[d]&&m?Math.max(0,Math.min(m-1,e)):-1;var x,_={x:0,y:0};_[d]=c,_[f]=s[f],_[p]=-g[h]-s[p];var b=o.children();if(o.eachChild(function(t,e){var n=S(t);n.intersect(_)&&(null==x&&(x=e),i=t.__legendDataIndex),e===b.length-1&&n[p]+n[d]<=_[p]+_[d]&&(i=null)}),null!=x){var w=S(b[x]);if(_[p]=w[p]+w[d]-_[d],x<=0&&w[p]>=_[p])n=null;else{for(;x>0&&S(b[x-1]).intersect(_);)x--;n=b[x].__legendDataIndex}}}return{contentPosition:g,pageIndex:e,pageCount:m,pagePrevDataIndex:n,pageNextDataIndex:i};function S(t){var e=t.getBoundingRect().clone();return e[p]+=t.position[h],e}}}),h=c;t.exports=h},mmpS:function(t,e,n){var i=n("UGP7"),a=["rect","polygon","keep","clear"];t.exports=function(t,e){var n=t&&t.brush;if(i.isArray(n)||(n=n?[n]:[]),n.length){var r=[];i.each(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))});var o=t&&t.toolbox;i.isArray(o)&&(o=o[0]),o||(o={feature:{}},t.toolbox=[o]);var s=o.feature||(o.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,r),function(t){var e={};i.each(t,function(t){e[t]=1}),t.length=0,i.each(e,function(e,n){t.push(n)})}(u),e&&!u.length&&u.push.apply(u,a)}}},mnAB:function(t,e,n){var i=n("nPoN"),a=n("6SPp"),r=[],o=[],s=[],l=i.quadraticAt,u=a.distSquare,c=Math.abs;function h(t,e,n){for(var i,a=t[0],h=t[1],d=t[2],f=1/0,p=n*n,g=.1,m=.1;m<=.9;m+=.1){r[0]=l(a[0],h[0],d[0],m),r[1]=l(a[1],h[1],d[1],m),(x=c(u(r,e)-p))=0?i+=g:i-=g:_>=0?i-=g:i+=g}return i}t.exports=function(t,e){var n=[],r=i.quadraticSubdivide,o=[[],[],[]],s=[[],[]],l=[];function u(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}e/=2,t.eachEdge(function(t,i){var c=t.getLayout(),d=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");c.__original||(c.__original=[a.clone(c[0]),a.clone(c[1])],c[2]&&c.__original.push(a.clone(c[2])));var p=c.__original;if(null!=c[2]){if(a.copy(o[0],p[0]),a.copy(o[1],p[2]),a.copy(o[2],p[1]),d&&"none"!=d){var g=u(t.node1),m=h(o,p[0],g*e);r(o[0][0],o[1][0],o[2][0],m,n),o[0][0]=n[3],o[1][0]=n[4],r(o[0][1],o[1][1],o[2][1],m,n),o[0][1]=n[3],o[1][1]=n[4]}f&&"none"!=f&&(g=u(t.node2),m=h(o,p[1],g*e),r(o[0][0],o[1][0],o[2][0],m,n),o[1][0]=n[1],o[2][0]=n[2],r(o[0][1],o[1][1],o[2][1],m,n),o[1][1]=n[1],o[2][1]=n[2]),a.copy(c[0],o[0]),a.copy(c[1],o[2]),a.copy(c[2],o[1])}else a.copy(s[0],p[0]),a.copy(s[1],p[1]),a.sub(l,s[1],s[0]),a.normalize(l,l),d&&"none"!=d&&(g=u(t.node1),a.scaleAndAdd(s[0],s[0],l,g*e)),f&&"none"!=f&&(g=u(t.node2),a.scaleAndAdd(s[1],s[1],l,-g*e)),a.copy(c[0],s[0]),a.copy(c[1],s[1])})}},mnZ7:function(t,e,n){var i=n("r2sF").extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,a=e.x2,r=e.y2,o=e.percent;0!==o&&(t.moveTo(n,i),o<1&&(a=n*(1-o)+a*o,r=i*(1-o)+r*o),t.lineTo(a,r))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=i},mr6t:function(t,e,n){var i=n("UGP7"),a=n("bsbH").devicePixelRatio,r=n("2c6L"),o=n("5K2w");function s(){return!1}function l(t,e,n){var a=i.createCanvas(),r=e.getWidth(),o=e.getHeight(),s=a.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=o+"px",a.setAttribute("data-zr-dom-id",t)),a.width=r*n,a.height=o*n,a}var u=function(t,e,n){var r;n=n||a,"string"==typeof t?r=l(t,e,n):i.isObject(t)&&(t=(r=t).id),this.id=t,this.dom=r;var o=r.style;o&&(r.onselectstart=s,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o.padding=0,o.margin=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!=t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,a=i.style,r=this.domBack;a&&(a.width=t+"px",a.height=e+"px"),i.width=t*n,i.height=e*n,r&&(r.width=t*n,r.height=e*n,1!=n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,a=this.ctx,s=i.width,l=i.height,u=(e=e||this.clearColor,this.motionBlur&&!t),c=this.lastFrameAlpha,h=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,s/h,l/h)),a.clearRect(0,0,s,l),e&&"transparent"!==e)&&(e.colorStops?(n=e.__canvasGradient||r.getGradient(a,e,{x:0,y:0,width:s,height:l}),e.__canvasGradient=n):e.image&&(n=o.prototype.getCanvasPattern.call(e,a)),a.save(),a.fillStyle=n||e,a.fillRect(0,0,s,l),a.restore());if(u){var d=this.domBack;a.save(),a.globalAlpha=c,a.drawImage(d,0,0,s,l),a.restore()}}};var c=u;t.exports=c},msL4:function(t,e,n){var i=n("UGP7"),a={updateSelectedMap:function(t){this._targetList=i.isArray(t)?t.slice():[],this._selectTargetMap=i.reduce(t||[],function(t,e){return t.set(e.name,e),t},i.createHashMap())},select:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(t){t.selected=!1}),n&&(n.selected=!0)},unSelect:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);n&&(n.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return n&&n.selected}};t.exports=a},mwS0:function(t,e,n){n("uHTF"),n("vg45")},"n/Lt":function(t,e,n){var i=n("UGP7"),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 null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e};var h=s;t.exports=h},"n/tL":function(t,e,n){var i=n("2uO+"),a=n("UGP7");function r(t,e,n){var i,r={},o="toggleSelected"===t;return n.eachComponent("legend",function(n){o&&null!=i?n[i?"select":"unSelect"](e.name):(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();a.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}})}),{name:e.name,selected:r}}i.registerAction("legendToggleSelect","legendselectchanged",a.curry(r,"toggleSelected")),i.registerAction("legendSelect","legendselected",a.curry(r,"select")),i.registerAction("legendUnSelect","legendunselected",a.curry(r,"unSelect"))},nD6G:function(t,e,n){n("Umha"),n("1t2D"),n("7SLk")},nNpp:function(t,e,n){var i=n("UGP7"),a=i.createHashMap,r=i.each,o=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n("vhe7").normalizeToArray,d=n("d3Ui").guessOrdinal,f=n("R1jG"),p=n("GABs").OTHER_DIMENSIONS;function g(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}var m=function(t,e,n){f.isInstance(e)||(e=f.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),m=a(n.encodeDef),v=a(),y=a(),x=[],_=function(t,e,n,i){var a=Math.max(t.dimensionsDetectCount||1,e.length,n.length,i||0);return r(e,function(t){var e=t.dimsDef;e&&(a=Math.max(a,e.length))}),a}(e,t,i,n.dimCount),b=0;b<_;b++){var w=i[b]=l({},u(i[b])?i[b]:{name:i[b]}),S=w.name,M=x[b]={otherDims:{}};null!=S&&null==v.get(S)&&(M.name=M.displayName=S,v.set(S,b)),null!=w.type&&(M.type=w.type),null!=w.displayName&&(M.displayName=w.displayName)}m.each(function(t,e){t=h(t).slice();var n=m.set(e,[]);r(t,function(t,i){o(t)&&(t=v.get(t)),null!=t&&t<_&&(n[i]=t,A(x[t],e,i))})});var I=0;function A(t,e,n){null!=p.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,y.set(e,!0))}r(t,function(t,e){var n,i,a;if(o(t))n=t,t={};else{n=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,(t=c(t)).ordinalMeta=l,i=t.dimsDef,a=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var d=h(m.get(n));if(!d.length)for(var f=0;f<(i&&i.length||1);f++){for(;I-l&&tl||t<-l}function v(t,e,n,i,a){var r=1-a;return r*r*(r*t+3*a*e)+a*a*(a*i+3*r*n)}function y(t,e,n,i){var a=1-i;return a*(a*t+2*i*e)+i*i*n}e.cubicAt=v,e.cubicDerivativeAt=function(t,e,n,i,a){var r=1-a;return 3*(((e-t)*r+2*(n-e)*a)*r+(i-n)*a*a)},e.cubicRootAt=function(t,e,n,i,a,r){var l=i+3*(e-n)-t,u=3*(n-2*e+t),d=3*(e-t),f=t-a,p=u*u-3*l*d,m=u*d-9*l*f,v=d*d-3*u*f,y=0;if(g(p)&&g(m))g(u)?r[0]=0:(D=-d/u)>=0&&D<=1&&(r[y++]=D);else{var x=m*m-4*p*v;if(g(x)){var _=m/p,b=-_/2;(D=-u/l+_)>=0&&D<=1&&(r[y++]=D),b>=0&&b<=1&&(r[y++]=b)}else if(x>0){var w=s(x),S=p*u+1.5*l*(-m+w),M=p*u+1.5*l*(-m-w);(D=(-u-((S=S<0?-o(-S,h):o(S,h))+(M=M<0?-o(-M,h):o(M,h))))/(3*l))>=0&&D<=1&&(r[y++]=D)}else{var I=(2*p*u-3*l*m)/(2*s(p*p*p)),A=Math.acos(I)/3,T=s(p),C=Math.cos(A),D=(-u-2*T*C)/(3*l),P=(b=(-u+T*(C+c*Math.sin(A)))/(3*l),(-u+T*(C-c*Math.sin(A)))/(3*l));D>=0&&D<=1&&(r[y++]=D),b>=0&&b<=1&&(r[y++]=b),P>=0&&P<=1&&(r[y++]=P)}}return y},e.cubicExtrema=function(t,e,n,i,a){var r=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(g(o))m(r)&&(h=-l/r)>=0&&h<=1&&(a[u++]=h);else{var c=r*r-4*o*l;if(g(c))a[0]=-r/(2*o);else if(c>0){var h,d=s(c),f=(-r-d)/(2*o);(h=(-r+d)/(2*o))>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u},e.cubicSubdivide=function(t,e,n,i,a,r){var o=(e-t)*a+t,s=(n-e)*a+e,l=(i-n)*a+n,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;r[0]=t,r[1]=o,r[2]=u,r[3]=h,r[4]=h,r[5]=c,r[6]=l,r[7]=i},e.cubicProjectPoint=function(t,e,n,i,a,o,l,c,h,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=v(t,n,a,l,I),f[1]=v(e,i,o,c,I),(b=r(d,f))=0&&b=0&&h<=1&&(a[u++]=h);else{var c=o*o-4*r*l;if(g(c))(h=-o/(2*r))>=0&&h<=1&&(a[u++]=h);else if(c>0){var h,d=s(c),f=(-o-d)/(2*r);(h=(-o+d)/(2*r))>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u},e.quadraticExtremum=function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},e.quadraticSubdivide=function(t,e,n,i,a){var r=(e-t)*i+t,o=(n-e)*i+e,s=(o-r)*i+r;a[0]=t,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=n},e.quadraticProjectPoint=function(t,e,n,i,a,o,l,c,h){var g,m=.005,v=1/0;d[0]=l,d[1]=c;for(var x=0;x<1;x+=.05)f[0]=y(t,n,a,x),f[1]=y(e,i,o,x),(S=r(d,f))=0&&S';window.open().document.write(f)}else{var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(p)}},r.register("saveAsImage",s);var l=s;t.exports=l},np6z:function(t,e,n){var i=n("UGP7"),a=n("F7La"),r=n("rakW"),o=["axisLine","axisTickLabel","axisName"],s=["splitLine","splitArea"],l=n("SWfF").extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,l=a.getAngleAxis(),u=n.getTicksCoords(),c=l.getExtent()[0],h=n.getExtent(),d=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(a,t,c),f=new r(t,d);i.each(o,f.add,f),this.group.add(f.getGroup()),i.each(s,function(e){t.get(e+".show")&&!n.scale.isBlank()&&this["_"+e](t,a,c,h,u)},this)}},_splitLine:function(t,e,n,r,o){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=0;hr&&(r=c,o=l)}for(var h=0;h=a||m<0)break;if(f(y)){if(p){m+=r;continue}break}if(m===n)t[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}.apply(this,arguments):function(t,e,n,i,r,p,g,m,v,y,x){for(var _=0,b=n,w=0;w=r||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===n)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(v>0){var M=b+p,I=e[M];if(x)for(;I&&f(e[M]);)I=e[M+=p];var A=.5,T=e[_],I=e[M];if(!I||f(I))u(d,S);else{var C,D;if(f(I)&&!x&&(I=S),a.sub(c,I,T),"x"===y||"y"===y){var P="x"===y?0:1;C=Math.abs(S[P]-T[P]),D=Math.abs(S[P]-I[P])}else C=a.dist(S,T),D=a.dist(S,I);l(d,S,c,-v*(1-(A=D/(D+C))))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,v*A)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}.apply(this,arguments)}function g(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var a=0;ai[0]&&(i[0]=r[0]),r[1]>i[1]&&(i[1]=r[1])}return{min:e?n:i,max:e?i:n}}var m=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,a=n.length,r=g(n,e.smoothConstraint);if(e.connectNulls){for(;a>0&&f(n[a-1]);a--);for(;i0&&f(n[r-1]);r--);for(;a1&&i&&i.length>1){var o=r(i)/r(a);!isFinite(o)&&(o=1),e.pinchScale=o;var s=function(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}(i);return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}},s=a;t.exports=s},"pYL/":function(t,e,n){var i=n("7zT1").createElement,a=n("ibbb"),r=n("GBWL"),o=n("WQ2X"),s=n("FWXg"),l=n("/6yU"),u=n("lhs0"),c=a.CMD,h=Array.prototype.join,d="none",f=Math.round,p=Math.sin,g=Math.cos,m=Math.PI,v=2*Math.PI,y=180/m,x=1e-4;function _(t){return f(1e4*t)/1e4}function b(t){return t-x}function w(t,e){e&&S(t,"transform","matrix("+h.call(e,",")+")")}function S(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&("string"==typeof n&&n.indexOf("NaN")>-1&&console.log(n),t.setAttribute(e,n))}function M(t,e,n){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==d}(e,n)){var i=n?e.textFill:e.fill;i="transparent"===i?d:i,"none"!==t.getAttribute("clip-path")&&i===d&&(i="rgba(0, 0, 0, 0.002)"),S(t,"fill",i),S(t,"fill-opacity",e.opacity)}else S(t,"fill",d);if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==d}(e,n)){var a=n?e.textStroke:e.stroke;S(t,"stroke",a="transparent"===a?d:a),S(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?e.host.getLineScale():1)),S(t,"paint-order",n?"stroke":"fill"),S(t,"stroke-opacity",e.opacity),e.lineDash?(S(t,"stroke-dasharray",e.lineDash.join(",")),S(t,"stroke-dashoffset",f(e.lineDashOffset||0))):S(t,"stroke-dasharray",""),e.lineCap&&S(t,"stroke-linecap",e.lineCap),e.lineJoin&&S(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&S(t,"stroke-miterlimit",e.miterLimit)}else S(t,"stroke",d)}var I={};I.brush=function(t){var e=t.style,n=t.__svgEl;n||(n=i("path"),t.__svgEl=n),t.path||t.createPathProxy();var a=t.path;if(t.__dirtyPath){a.beginPath(),t.buildPath(a,t.shape),t.__dirtyPath=!1;var r=function(t){for(var e=[],n=t.data,i=t.len(),a=0;a=v||!b(M)&&(x>-m&&x<0||x>m)==!!S;var T=_(s+u*g(d)),C=_(l+h*p(d));I&&(x=S?v-1e-4:1e-4-v,A=!0,9===a&&e.push("M",T,C));var D=_(s+u*g(d+x)),P=_(l+h*p(d+x));e.push("A",_(u),_(h),f(w*y),+A,+S,D,P);break;case c.Z:r="Z";break;case c.R:D=_(n[a++]),P=_(n[a++]);var L=_(n[a++]),k=_(n[a++]);e.push("M",D,P,"L",D+L,P,"L",D+L,P+k,"L",D,P+k,"L",D,P)}r&&e.push(r);for(var O=0;O=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n=0){var a=n.getData().tree.root,r=t.targetNode;if(r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}},e.getPathToRoot=a,e.aboveViewRoot=function(t,e){var n=a(t);return i.indexOf(n,e)>=0},e.wrapTreePathInfo=function(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}},piQe:function(t,e,n){var i=n("2uO+").extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});t.exports=i},pn1Q:function(t,e){function n(){}function i(t,e,n,i){for(var a=0,r=e.length,o=0,s=0;a=o&&h+1>=s){for(var d=[],f=0;f=o&&f+1>=s)return i(r,u.components,e,t);c[n]=u}else c[n]=void 0}l++}for(;l<=u;){var g=p();if(g)return g}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var a=e.length,r=n.length,o=t.newPos,s=o-i,l=0;o+1s&&(c=s),o=r}cs[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(e,s,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,a){if(!i)return n;for(var r=t.get("visibleMin"),o=a.length,s=o,l=o-1;l>=0;l--){var u=a["asc"===i?o-l-1:l].getValue();u/n*ea&&(a=i));var l=t.area*t.area,u=e*e*n;return l?c(u*a/l,l/(u*r)):1/0}function _(t,e,n,i,a){var r=e===n.width?0:1,o=1-r,s=["x","y"],l=["width","height"],u=n[s[r]],d=e?t.area/e:0;(a||d>n[l[o]])&&(d=n[l[o]]);for(var f=0,p=t.length;f')}}catch(t){i=function(t){return l.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return i(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},r2sF:function(t,e,n){var i=n("zasC"),a=n("UGP7"),r=n("ibbb"),o=n("G76f"),s=n("5K2w").prototype.getCanvasPattern,l=Math.abs,u=new r(!0);function c(t){i.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var n,i=this.style,a=this.path||u,r=i.hasStroke(),o=i.hasFill(),l=i.fill,c=i.stroke,h=o&&!!l.colorStops,d=r&&!!c.colorStops,f=o&&!!l.image,p=r&&!!c.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,l,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,c,n)));h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(c,t));var g=i.lineDash,m=i.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();a.setScale(y[0],y[1]),this.__dirtyPath||g&&!v&&r?(a.beginPath(t),g&&!v&&(a.setLineDash(g),a.setLineDashOffset(m)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o&&a.fill(t),g&&v&&(t.setLineDash(g),t.lineDashOffset=m),r&&a.stroke(t),g&&v&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new r},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new r),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),a=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,t,e)))return!0}if(a.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(a.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var a in n)!i.hasOwnProperty(a)&&n.hasOwnProperty(a)&&(i[a]=n[a])}t.init&&t.init.call(this,e)};for(var n in a.inherits(e,c),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},a.inherits(c,i);var h=c;t.exports=h},r5Of: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},r8FP:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("GyJx"),o=n("cGzk"),s=n("Xq6c"),l=n("Ba82"),u=n("F7La"),c=n("i0Ld"),h=n("aGmn"),d=n("HCVr"),f=n("ADnn"),p=n("spam"),g=n("ffSB"),m=a.bind,v=a.each,y=l.parsePercent,x=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),_=i.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var n=new o(e.getDom(),e);this._tooltipContent=n}},render:function(t,e,n){if(!r.node&&!r.wxa){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");f.register("itemTooltip",this._api,m(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})})}},manuallyShowTip:function(t,e,n,i){if(i.from!==this.uid&&!r.node){var a=w(i,n);this._ticket="";var o=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var s=x;s.position=[i.x,i.y],s.update(),s.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:s},a)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,event:{},dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},a);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=c(i,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,position:i.position,target:l.el,event:{}},a)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target,event:{}},a))}},manuallyHideTip:function(t,e,n,i){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(w(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var a=i.seriesIndex,r=i.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=e.getSeriesByIndex(a);if(s)if("axis"===(t=b([s.getData().getItemModel(r),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:i.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],l=[],u=b([e.tooltipOption,i]);v(t,function(t){v(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value,r=[];if(e&&null!=i){var u=g.getValueLabel(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,function(a){var o=n.getSeriesByIndex(a.seriesIndex),s=a.dataIndexInside,c=o&&o.getDataParams(s);c.axisDim=t.axisDim,c.axisIndex=t.axisIndex,c.axisType=t.axisType,c.axisId=t.axisId,c.axisValue=p.getAxisRawValue(e.axis,i),c.axisValueLabel=u,c&&(l.push(c),r.push(o.formatTooltip(s,!0)))});var c=u;o.push((c?s.encodeHTML(c)+"
":"")+r.join("
"))}})},this),o.reverse(),o=o.join("

");var c=e.position;this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,c,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(u,o,l,Math.random(),r[0],r[1],c)})},_showSeriesItemTooltip:function(t,e,n){var i=this._ecModel,a=e.seriesIndex,r=i.getSeriesByIndex(a),o=e.dataModel||r,s=e.dataIndex,l=e.dataType,u=o.getData(),c=b([u.getItemModel(s),o,r&&(r.coordinateSystem||{}).model,this._tooltipModel]),h=c.get("trigger");if(null==h||"item"===h){var d=o.getDataParams(s,l),f=o.formatTooltip(s,!1,l),p="item_"+o.name+"_"+s;this._showOrMove(c,function(){this._showTooltipContent(c,f,d,p,t.offsetX,t.offsetY,t.position,t.target)}),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;if("string"==typeof i){i={content:i,formatter:i}}var a=new d(i,this._tooltipModel,this._ecModel),r=a.get("content"),o=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,r,a.get("formatterParams")||{},o,t.offsetX,t.offsetY,t.position,e)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,a,r,o,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,c=t.get("formatter");o=o||t.get("position");var h=e;if(c&&"string"==typeof c)h=s.formatTpl(c,n,!0);else if("function"==typeof c){var d=m(function(e,i){e===this._ticket&&(u.setContent(i),this._updatePosition(t,o,a,r,u,n,l))},this);this._ticket=i,h=c(n,i,d)}u.setContent(h),u.show(t),this._updatePosition(t,o,a,r,u,n,l)}},_updatePosition:function(t,e,n,i,r,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),d=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"==typeof e&&(e=e([n,i],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),a.isArray(e))n=y(e[0],l),i=y(e[1],u);else if(a.isObject(e)){e.width=c[0],e.height=c[1];var g=h.getLayoutRect(e,{width:l,height:u});n=g.x,i=g.y,d=null,f=null}else if("string"==typeof e&&s){var m=function(t,e,n){var i=n[0],a=n[1],r=0,o=0,s=e.width,l=e.height;switch(t){case"inside":r=e.x+s/2-i/2,o=e.y+l/2-a/2;break;case"top":r=e.x+s/2-i/2,o=e.y-a-5;break;case"bottom":r=e.x+s/2-i/2,o=e.y+l+5;break;case"left":r=e.x-i-5,o=e.y+l/2-a/2;break;case"right":r=e.x+s+5,o=e.y+l/2-a/2}return[r,o]}(e,p,c);n=m[0],i=m[1]}else{m=function(t,e,n,i,a,r,o){var s=S(n),l=s.width,u=s.height;null!=r&&(t+l+r>i?t-=l+r:t+=r);null!=o&&(e+u+o>a?e-=u+o:e+=o);return[t,e]}(n,i,r.el,l,u,d?null:20,f?null:20);n=m[0],i=m[1]}if(d&&(n-=M(d)?c[0]/2:"right"===d?c[0]:0),f&&(i-=M(f)?c[1]/2:"bottom"===f?c[1]:0),t.get("confine")){m=function(t,e,n,i,a){var r=S(n),o=r.width,s=r.height;return t=Math.min(t+o,i)-o,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r.el,l,u);n=m[0],i=m[1]}r.moveTo(n,i)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&v(e,function(e,i){var a=e.dataByAxis||{},r=(t[i]||{}).dataByAxis||[];(n&=a.length===r.length)&&v(a,function(t,e){var i=r[e]||{},a=t.seriesDataIndices||[],o=i.seriesDataIndices||[];(n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&a.length===o.length)&&v(a,function(t,e){var i=o[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex})})}),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||r.wxa||(this._tooltipContent.hide(),f.unregister("itemTooltip",e))}});function b(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(d.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new d(n,e,e.ecModel))}return e}function w(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function S(t){var e=t.clientWidth,n=t.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(t);i&&(e+=parseInt(i.paddingLeft,10)+parseInt(i.paddingRight,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),n+=parseInt(i.paddingTop,10)+parseInt(i.paddingBottom,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:e,height:n}}function M(t){return"center"===t||"middle"===t}t.exports=_},rM1G:function(t,e){var n=32,i=7;function a(t,e,n,i){var a=e+1;if(a===n)return 1;if(i(t[a++],t[e])<0){for(;a=0;)a++;return a-e}function r(t,e,n,i,a){for(i===e&&i++;i>>1])<0?l=r:s=r+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function o(t,e,n,i,a,r){var o=0,s=0,l=1;if(r(t,e[n+a])>0){for(s=i-a;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o>>1);r(t,e[n+c])>0?o=c+1:l=c}return l}function s(t,e,n,i,a,r){var o=0,s=0,l=1;if(r(t,e[n+a])<0){for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=i-a;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o>>1);r(t,e[n+c])<0?l=c:o=c+1}return l}function l(t,e){var n,a,r,l=i,u=0;n=t.length;var c=[];function h(n){var h=a[n],d=r[n],f=a[n+1],p=r[n+1];r[n]=d+p,n===u-3&&(a[n+1]=a[n+2],r[n+1]=r[n+2]),u--;var g=s(t[f],t,h,d,0,e);h+=g,0!==(d-=g)&&0!==(p=o(t[h+d-1],t,f,p,p-1,e))&&(d<=p?function(n,a,r,u){var h=0;for(h=0;h=i||m>=i);if(v)break;y<0&&(y=0),y+=2}if((l=y)<1&&(l=1),1===a){for(h=0;h=0;h--)t[m+h]=t[g+h];return void(t[p]=c[f])}var v=l;for(;;){var y=0,x=0,_=!1;do{if(e(c[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0==--a){_=!0;break}}else if(t[p--]=c[f--],x++,y=0,1==--u){_=!0;break}}while((y|x)=0;h--)t[m+h]=t[g+h];if(0===a){_=!0;break}}if(t[p--]=c[f--],1==--u){_=!0;break}if(0!==(x=u-o(t[d],c,0,u,u-1,e))){for(u-=x,m=(p-=x)+1,g=(f-=x)+1,h=0;h=i||x>=i);if(_)break;v<0&&(v=0),v+=2}(l=v)<1&&(l=1);if(1===u){for(m=(p-=a)+1,g=(d-=a)+1,h=a-1;h>=0;h--)t[m+h]=t[g+h];t[p]=c[f]}else{if(0===u)throw new Error;for(g=p-(u-1),h=0;h1;){var t=u-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;h(t)}},this.forceMergeRuns=function(){for(;u>1;){var t=u-2;t>0&&r[t-1]=n;)e|=1&t,t>>=1;return t+e}(s);do{if((u=a(t,i,o,e))h&&(d=h),r(t,i,i+d,i+u,e),u=d}c.pushRun(i,u),c.mergeRuns(),s-=u,i+=u}while(0!==s);c.forceMergeRuns()}}}},rMQl:function(t,e,n){n("bvCP"),n("np6z")},rakW:function(t,e,n){var i=n("UGP7"),a=i.retrieve,r=i.defaults,o=i.extend,s=i.each,l=n("Xq6c"),u=n("F7La"),c=n("HCVr"),h=n("Ba82"),d=h.isRadianAroundZero,f=h.remRadian,p=n("N3RP").createSymbol,g=n("WQ2X"),m=n("6SPp").applyTransform,v=Math.PI;function y(t){var e={componentType:t.mainType};return e[t.mainType+"Index"]=t.componentIndex,e}var x=function(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};x.prototype={constructor:x,hasBuilder:function(t){return!!_[t]},add:function(t){_[t].call(this)},getGroup:function(){return this.group}};var _={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,a=[n[0],0],r=[n[1],0];i&&(m(a,a,i),m(r,r,i));var l=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line(u.subPixelOptimizeLine({anid:"line",shape:{x1:a[0],y1:a[1],x2:r[0],y2:r[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})));var c=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"==typeof d&&(d=[d,d]),null!=c){"string"==typeof c&&(c=[c,c]),"string"!=typeof h&&"number"!=typeof h||(h=[h,h]);var f=h[0],g=h[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((a[0]-r[0])*(a[0]-r[0])+(a[1]-r[1])*(a[1]-r[1]))}],function(e,n){if("none"!==c[n]&&null!=c[n]){var i=p(c[n],-f/2,-g/2,f,g,l.stroke,!0),r=e.r+e.offset,o=[a[0]+r*Math.cos(t.rotation),a[1]-r*Math.sin(t.rotation)];i.attr({rotation:e.rotate,position:o,silent:!0}),this.group.add(i)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=function(t,e,n){var i=e.axis;if(!e.get("axisTick.show")||i.scale.isBlank())return;for(var a=e.getModel("axisTick"),o=a.getModel("lineStyle"),s=a.get("length"),l=i.getTicksCoords(),c=[],h=[],d=t._transform,f=[],p=0;pg[1]?-1:1,x=["start"===s?g[0]-m*p:"end"===s?g[1]+m*p:(g[0]+g[1])/2,I(s)?t.labelOffset+c*p:0],_=e.get("nameRotate");null!=_&&(_=_*v/180),I(s)?i=b(t.rotation,null!=_?_:t.rotation,c):(i=function(t,e,n,i){var a,r,o=f(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;d(o-v/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*v)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*v&&o>v/2?l?"left":"right":l?"right":"left");return{rotation:o,textAlign:a,textVerticalAlign:r}}(t,s,_||0,g),null!=(r=t.axisNameAvailableWidth)&&(r=Math.abs(r/Math.sin(i.rotation)),!isFinite(r)&&(r=null)));var S=h.getFont(),M=e.get("nameTruncate",!0)||{},A=M.ellipsis,T=a(t.nameTruncateMaxWidth,M.maxWidth,r),C=null!=A&&null!=T?l.truncateText(n,T,S,A,{minChar:2,placeholder:M.placeholder}):n,D=e.get("tooltip",!0),P=e.mainType,L={componentType:P,name:n,$vars:["name"]};L[P+"Index"]=e.componentIndex;var k=new u.Text({anid:"name",__fullText:n,__truncatedText:C,position:x,rotation:i.rotation,silent:w(e),z2:1,tooltip:D&&D.show?o({content:n,formatter:function(){return n},formatterParams:L},D):null});u.setTextStyle(k.style,h,{text:C,textFont:S,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:i.textAlign,textVerticalAlign:i.textVerticalAlign}),e.get("triggerEvent")&&(k.eventData=y(e),k.eventData.targetType="axisName",k.eventData.name=n),this._dumbGroup.add(k),k.updateTransform(),this.group.add(k),k.decomposeTransform()}}},b=x.innerTextLayout=function(t,e,n){var i,a,r=f(e-t);return d(r)?(a=n>0?"top":"bottom",i="center"):d(r-v)?(a=n>0?"bottom":"top",i="center"):(a="middle",i=r>0&&r0?"right":"left":n>0?"left":"right"),{rotation:r,textAlign:i,textVerticalAlign:a}};function w(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function S(t){t&&(t.ignore=!0)}function M(t,e,n){var i=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(i&&a){var r=g.identity([]);return g.rotate(r,r,-t.rotation),i.applyTransform(g.mul([],r,t.getLocalTransform())),a.applyTransform(g.mul([],r,e.getLocalTransform())),i.intersect(a)}}function I(t){return"middle"===t||"center"===t}var A=x;t.exports=A},ru8v:function(t,e,n){var i=n("r2sF").extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,i=e.cy,a=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(r),u=Math.sin(r);t.moveTo(l*a+n,u*a+i),t.arc(n,i,a,r,o,!s)}});t.exports=i},ruUa:function(t,e,n){n("EzlC"),n("xIEw"),n("+IVY"),n("isPr"),n("i/Sh"),n("vqiG"),n("K7Bo")},sGE7:function(t,e,n){var i=n("UGP7"),a=n("Ee89"),r=function(t,e,n,i,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=r||!1,a.call(this,i)};r.prototype={constructor:r},i.inherits(r,a);var o=r;t.exports=o},sU3J:function(t,e,n){var i=n("r2sF"),a=n("ibbb"),r=n("zSp0"),o=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],s=Math.sqrt,l=Math.sin,u=Math.cos,c=Math.PI,h=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},d=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(h(t)*h(e))},f=function(t,e){return(t[0]*e[1]1&&(o*=s(_),h*=s(_));var b=(a===r?-1:1)*s((o*o*(h*h)-o*o*(x*x)-h*h*(y*y))/(o*o*(x*x)+h*h*(y*y)))||0,w=b*o*x/h,S=b*-h*y/o,M=(t+n)/2+u(v)*w-l(v)*S,I=(e+i)/2+l(v)*w+u(v)*S,A=f([1,0],[(y-w)/o,(x-S)/h]),T=[(y-w)/o,(x-S)/h],C=[(-1*y-w)/o,(-1*x-S)/h],D=f(T,C);d(T,C)<=-1&&(D=c),d(T,C)>=1&&(D=0),0===r&&D>0&&(D-=2*c),1===r&&D<0&&(D+=2*c),m.addData(g,M,I,o,h,A,D,v,r)}function g(t,e){var n=function(t){if(!t)return[];var e,n=t.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e0&&""===m[0]&&m.shift();for(var v=0;v0&&d>0&&!f&&(l=0),l<0&&d<0&&!p&&(d=0));var m=e.ecModel;if(m&&"time"===o){var v,y=u("bar",m);if(i.each(y,function(t){v|=t.getBaseAxis()===e.axis}),v){var x=c(y),_=function(t,e,n,a){var r=n.axis.getExtent(),o=r[1]-r[0],s=h(a,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;i.each(s,function(t){u=Math.max(t.offset+t.width,u)}),l=Math.abs(l),u=Math.abs(u);var c=l+u,d=e-t,f=d/(1-(l+u)/o)-d;return{min:t-=f*(l/c),max:e+=f*(u/c)}}(l,d,e,x);l=_.min,d=_.max}}return[l,d]}function p(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof e?e=function(t){return function(e){return t.replace("{value}",null!=e?e:"")}}(e):"function"==typeof e?function(i,a){return null!=n&&(a=i-n),e(g(t,i),a)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function m(t,e){var n=e*Math.PI/180,i=t.plain(),a=i.width,r=i.height,o=a*Math.cos(n)+r*Math.sin(n),s=a*Math.sin(n)+r*Math.cos(n);return new d(i.x,i.y,o,s)}n("SRgS"),n("jpom"),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var n=f(t,e),i=null!=e.getMin(),a=null!=e.getMax(),r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:r,fixMin:i,fixMax:a,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new a(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new r;default:return(o.getClass(e)||r).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,a,r="category"===t.type,o=n.getExtent();a=r?n.count():(i=n.getTicks()).length;var s,l=t.getLabelModel(),u=p(t),c=1;a>40&&(c=Math.ceil(a/40));for(var h=0;h=0;r--){var o;if(i[r]!==n&&!i[r].ignore&&(o=h(i[r],t,e))&&(!a.topTarget&&(a.topTarget=i[r]),o!==s)){a.target=i[r];break}}return a}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){c.prototype[t]=function(e){var n=this.findHover(e.zrX,e.zrY),i=n.target;if("mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}),i.mixin(c,o),i.mixin(c,r);var d=c;t.exports=d},tOB6:function(t,e,n){var i=n("UGP7"),a=n("Ba82").parsePercent,r=i.each;t.exports=function(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",function(t){var a=t.getBaseAxis(),r=i.indexOf(n,a);r<0&&(r=n.length,n[r]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)}),e}(t);r(e,function(t){var e=t.seriesModels;e.length&&(function(t){var e,n,o=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===o.type)n=o.getBandWidth();else{var d=0;r(s,function(t){d=Math.max(d,t.getData().count())}),e=o.getExtent(),Math.abs(e[1]-e[0])}r(s,function(t){var e=t.get("boxWidth");i.isArray(e)||(e=[e,e]),h.push([a(e[0],n)||0,a(e[1],n)||0])});var f=.8*n-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;r(s,function(t,e){c.push(m),m+=p+g,u.push(Math.min(Math.max(g,h[e][0]),h[e][1]))})}(t),r(e,function(e,n){!function(t,e,n){var i=t.coordinateSystem,a=t.getData(),r=n/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=a.mapDimension(l[o]),c=a.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;he)return t[i];return t[n-1]}(u,n):l;if((c=c||l)&&c.length){var h=c[a];return t&&(s[t]=h),i.colorIdx=(a+1)%c.length,h}}};t.exports=s},tkTd:function(t,e,n){var i=n("2uO+"),a=n("FJ3K"),r=n("UGP7"),o=n("vhe7"),s=n("Ba82").getPercentWithPrecision,l=n("msL4"),u=n("j1kn").retrieveRawAttr,c=i.extendSeriesModel({type:"series.pie",init:function(t){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){c.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return a(this,["value"])},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,a=t.count();i=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;i0&&this.animate(t,!1).when(null==i?500:i,r).delay(a||0),this}};var d=h;t.exports=d},us34:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("wNM1"),o=n("XRpO"),s=r.toolbox.magicType;function l(t){this.model=t}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:a.clone(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return a.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n};var c={line:function(t,e,n,i){if("bar"===t)return a.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(t,e,n,i){if("line"===t)return a.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(t,e,n,i){if("line"===t||"bar"===t)return a.merge({id:e,stack:"__ec_magicType_stack__"},i.get("option.stack")||{},!0)},tiled:function(t,e,n,i){if("line"===t||"bar"===t)return a.merge({id:e,stack:""},i.get("option.tiled")||{},!0)}},h=[["line","bar"],["stack","tiled"]];u.onclick=function(t,e,n){var i=this.model,r=i.get("seriesIndex."+n);if(c[n]){var o={series:[]};a.each(h,function(t){a.indexOf(t,n)>=0&&a.each(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(e){var r=e.subType,s=e.id,l=c[n](r,s,e,i);l&&(a.defaults(l,e.option),o.series.push(l));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim+"Axis",f=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;o[d]=o[d]||[];for(var p=0;p<=f;p++)o[d][f]=o[d][f]||{};o[d][f].boundaryGap="bar"===n}}}),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:o})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),o.register("magicType",l);var d=l;t.exports=d},utOW:function(t,e,n){var i=n("UGP7");t.exports=function(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),i.each(e,function(t,e){for(var n=function(t,e){var n={};return i.each(t,function(t){t.each(t.mapDimension("value"),function(e,i){var a="ec-"+t.getName(i);n[a]=n[a]||[],isNaN(e)||n[a].push(e)})}),t[0].map(t[0].mapDimension("value"),function(i,a){for(var r,o="ec-"+t[0].getName(a),s=0,l=1/0,u=-1/0,c=n[o].length,h=0;h1?(m.width=c,m.height=c/p):(m.height=c,m.width=c*p),m.y=u[1]-m.height/2,m.x=u[0]-m.width/2}else(r=t.getBoxLayoutParams()).aspect=p,m=o.getLayoutRect(r,{width:h,height:d});this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function u(t,e){a.each(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}var c={dimensions:r.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",function(t,a){var o=t.get("map"),s=i.getMap(o),c=new r(o+a,o,s&&s.geoJson,s&&s.specialAreas,t.get("nameMap"));c.zoomLimit=t.get("scaleLimit"),n.push(c),u(c,t),t.coordinateSystem=c,c.model=t,c.resize=l,c.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var o={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();o[e]=o[e]||[],o[e].push(t)}}),a.each(o,function(t,o){var s=i.getMap(o),c=a.map(t,function(t){return t.get("nameMap")}),h=new r(o,o,s&&s.geoJson,s&&s.specialAreas,a.mergeAll(c));h.zoomLimit=a.retrieve.apply(null,a.map(t,function(t){return t.get("scaleLimit")})),n.push(h),h.resize=l,h.resize(t[0],e),a.each(t,function(t){t.coordinateSystem=h,u(h,t)})}),n},getFilledRegions:function(t,e,n){var r=(t||[]).slice();n=n||{};var o=i.getMap(e),s=o&&o.geoJson;if(!s)return t;for(var l=a.createHashMap(),u=s.features,c=0;c=t&&(0===e?0:i[e-1][0]).4?"bottom":"middle",textAlign:L<-.4?"left":L>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(x.get("show")&&P!==b){for(var z=0;z<=w;z++){L=Math.cos(I),k=Math.sin(I);var G=new a.Line({shape:{x1:L*g+f,y1:k*g+p,x2:L*(g-M)+f,y2:k*(g-M)+p},silent:!0,style:D});"auto"===D.stroke&&G.setStyle({stroke:i((P+z/w)/b)}),d.add(G),I+=T}I-=T}else I+=A}},_renderPointer:function(t,e,n,r,o,l,c,h){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],m=t.getData(),v=m.mapDimension("value");m.diff(f).add(function(e){var n=new i({shape:{angle:l}});a.initProps(n,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)}).update(function(e,n){var i=f.getItemGraphicEl(n);a.updateProps(i,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)}).remove(function(t){var e=f.getItemGraphicEl(t);d.remove(e)}).execute(),m.eachItemGraphicEl(function(t,e){var n=m.getItemModel(e),i=n.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(i.get("width"),o.r),r:s(i.get("length"),o.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(u(m.get(v,e),p,[0,1],!0))),a.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())}),this._data=m}else f&&f.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,n,i,r){var o=t.getData(),l=o.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=r.cx+s(h[0],r.r),f=r.cy+s(h[1],r.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=i(u(m,[p,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},c,{x:d,y:f,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,n,i,r){var o=t.getModel("detail"),l=+t.get("min"),h=+t.get("max");if(o.get("show")){var d=o.get("offsetCenter"),f=r.cx+s(d[0],r.r),p=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=i(u(y,[l,h],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:f,y:p,text:c(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});t.exports=d},vgBJ:function(t,e,n){var i=n("UGP7"),a=n("C2x7"),r=n("ARtI"),o=n("0B9E"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(s.prototype,o),r("single",s,function(t,e){return e.type||(e.data?"category":"value")},{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var l=s;t.exports=l},vhe7:function(t,e,n){var i=n("UGP7"),a=i.each,r=i.isObject,o=i.isArray,s="series\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t){return r(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function h(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=l,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,a=n.length;i=n.length&&n.push({option:t})}}),n},e.makeIdAndName=function(t){var e=i.createHashMap();a(t,function(t,n){var i=t.exist;i&&e.set(i.id,t)}),a(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={})}),a(t,function(t,n){var i=t.exist,a=t.option,o=t.keyInfo;if(r(a)){if(o.name=null!=a.name?a.name+"":i?i.name:s+n,i)o.id=i.id;else if(null!=a.id)o.id=a.id+"";else{var l=0;do{o.id="\0"+o.name+"\0"+l++}while(e.get(o.id))}e.set(o.id,t)}})},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf(s))},e.isIdInner=u,e.compressBatches=function(t,e){var 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;it[1])break;n.push({color:this.getControllerVisual(r,"color",e),offset:a/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,a=n.handleThumbs,r=n.handleLabels;f([0,1],function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(n.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",n.barGroup)})},this)}},_showIndicator:function(t,e,n,i){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],u=d(t,r,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",function(t,e,n,i){return t?[[0,-p(e,g(n,0))],[v,0],[0,p(e,g(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,u,o[1]));var f=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});h.setStyle("fill",f);var m=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),y=c.indicatorLabel;y.attr("invisible",!1);var x=this._applyTransform("left",c.barGroup),_=this._orient;y.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===_?x:"middle",textAlign:"horizontal"===_?"center":x,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=p(g(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var a=[0,i[1]],r=n.getExtent();t=p(g(a[0],t),a[1]);var o=function(t,e,n){var i=m/2,a=t.get("hoverLinkDataSize");a&&(i=d(a,e,n,!0)/2);return i}(n,r,a),s=[t-o,t+o],l=d(t,a,r,!0),u=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]a[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var f=this._hoverLinkDataIndices,v=[];(e||_(n))&&(v=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var y=h.compressBatches(f,v);this._dispatchHighDown("downplay",c.convertDataIndex(y[0])),this._dispatchHighDown("highlight",c.convertDataIndex(y[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var a=i.getData(e.dataType),r=a.get(n.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.convertDataIndex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,a){var r=s.getTransform(e,a?null:this.group);return s[i.isArray(t)?"applyTransform":"transformDirection"](t,r,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){r.stop(t.event)},ondragend:i})}function _(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function b(t){return"vertical"===t?"ns-resize":"ew-resize"}var w=y;t.exports=w},wNM1:function(t,e){t.exports={toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}}},wPWP:function(t,e,n){var i=n("UGP7");function a(t,e){return i.map(["Radius","Angle"],function(n,i){var a=this["get"+n+"Axis"](),r=e[i],o=t[i]/2,s="dataTo"+n,l="category"===a.type?a.getBandWidth():Math.abs(a[s](r-o)-a[s](r+o));return"Angle"===n&&(l=l*Math.PI/180),l},this)}t.exports=function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:i.bind(function(i){var a=e.dataToRadius(i[0]),r=n.dataToAngle(i[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o}),size:i.bind(a,t)}}}},wUvX:function(t,e,n){var i=n("Vi7j");e.zrender=i;var a=n("WQ2X");e.matrix=a;var r=n("6SPp");e.vector=r;var o=n("UGP7"),s=n("MUAU");e.color=s;var l=n("F7La");e.graphic=l;var u=n("Ba82");e.number=u;var c=n("Xq6c");e.format=c;var h=n("UgMx");h.throttle;e.throttle=h.throttle;var d=n("dRdw");e.helper=d;var f=n("hAlA");e.parseGeoJSON=f;var p=n("yo78");e.List=p;var g=n("HCVr");e.Model=g;var m=n("bZEM");e.Axis=m;var v=n("GyJx");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]}),e.parseGeoJson=y,e.util=x},woTO:function(t,e,n){var i=n("F7La"),a=n("UGP7"),r=n("N2Lo");function o(t,e){i.Group.call(this);var n=new i.Polygon,a=new i.Polyline,r=new i.Text;function o(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function s(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}this.add(n),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,n){var r=this.childAt(0),o=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,r.useStyle({}),n?(r.setShape({points:u.points}),r.setStyle({opacity:0}),i.initProps(r,{style:{opacity:c}},o,e)):i.updateProps(r,{style:{opacity:c},shape:{points:u.points}},o,e);var h=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");r.setStyle(a.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),i.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),a=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},r,e),i.updateProps(a,{style:{x:s.x,y:s.y}},r,e),a.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),c=o.getModel("emphasis.label"),h=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");i.setLabelStyle(a.style,a.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),a.ignore=a.normalIgnore=!u.get("show"),a.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle()},a.inherits(o,i.Group);var u=r.extend({type:"funnel",render:function(t,e,n){var i=t.getData(),a=this._data,r=this.group;i.diff(a).add(function(t){var e=new o(i,t);i.setItemGraphicEl(t,e),r.add(e)}).update(function(t,e){var n=a.getItemGraphicEl(e);n.updateData(i,t),r.add(n),i.setItemGraphicEl(t,n)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},wsbn:function(t,e){function n(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function i(t,e){return Math.min(e[1],Math.max(e[0],t))}t.exports=function(t,e,a,r,o,s){e[0]=i(e[0],a),e[1]=i(e[1],a),t=t||0;var l=a[1]-a[0];null!=o&&(o=i(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===r&&(o=s=Math.abs(e[1]-e[0]),r=0);var u=n(e,r);e[r]+=t;var c=o||0,h=a.slice();u.sign<0?h[0]+=c:h[1]-=c,e[r]=i(e[r],h);var d=n(e,r);return null!=o&&(d.sign!==u.sign||d.spans&&(e[1-r]=e[r]+d.sign*s),e}},wuwO:function(t,e,n){var i=n("Ba82"),a=i.parsePercent,r=i.linearMap,o=n("m/pt"),s=n("UGP7"),l=2*Math.PI,u=Math.PI/180;t.exports=function(t,e,n,i){e.eachSeriesByType(t,function(t){var e=t.getData(),i=e.mapDimension("value"),c=t.get("center"),h=t.get("radius");s.isArray(h)||(h=[0,h]),s.isArray(c)||(c=[c,c]);var d=n.getWidth(),f=n.getHeight(),p=Math.min(d,f),g=a(c[0],d),m=a(c[1],f),v=a(h[0],p/2),y=a(h[1],p/2),x=-t.get("startAngle")*u,_=t.get("minAngle")*u,b=0;e.each(i,function(t){!isNaN(t)&&b++});var w=e.getSum(i),S=Math.PI/(w||b)*2,M=t.get("clockwise"),I=t.get("roseType"),A=t.get("stillShowZeroSum"),T=e.getDataExtent(i);T[0]=0;var C=l,D=0,P=x,L=M?1:-1;if(e.each(i,function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:m,r0:v,r:I?NaN:y});else{(i="area"!==I?0===w&&A?S:t*S:l/b)<_?(i=_,C-=_):D+=t;var a=P+L*i;e.setItemLayout(n,{angle:i,startAngle:P,endAngle:a,clockwise:M,cx:g,cy:m,r0:v,r:I?r(t,T,[v,y]):y}),P=a}}),C1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(t);a.progress&&a.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new r:new a,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},xIEw:function(t,e,n){n("ePAU").__DEV__;var i=n("2uO+"),a=n("UGP7"),r=n("GyJx"),o=n("vhe7"),s=n("3hBm"),l=n("ANEW"),u=a.each,c=s.eachAxisDim;function h(t){var e={};return u(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}function d(t,e){var n=t._rangePropMode,i=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],function(t,a){var r=null!=e[t[0]],o=null!=e[t[1]];r&&!o?n[a]="percent":!r&&o?n[a]="value":i?n[a]=i[a]:r&&(n[a]="percent")})}var f=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=h(t);this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var e=h(t);a.merge(this.option,t,!0),this.doInit(e)},doInit:function(t){var e=this.option;r.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),d(this,t),u([["start","startValue"],["end","endValue"]],function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,n,i,a){var r=this.dependentModels[e.axis][n],o=r.__dzAxisProxy||(r.__dzAxisProxy=new l(e.name,n,this,a));t[e.name+"_"+n]=o},this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();c(function(e){var n=e.axisIndex;t[n]=o.normalizeToArray(t[n])},this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;c(function(n){null!=t[n.axisIndex]&&(e=!0)},this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),n=this.option,i=this.dependentModels;if(t){var r="vertical"===e?"y":"x";i[r+"Axis"].length?(n[r+"AxisIndex"]=[0],t=!1):u(i.singleAxis,function(i){t&&i.get("orient",!0)===e&&(n.singleAxisIndex=[i.componentIndex],t=!1)})}t&&c(function(e){if(t){var i=[],a=this.dependentModels[e.axis];if(a.length&&!i.length)for(var r=0,o=a.length;r0?100:20}},getFirstTargetAxisModel:function(){var t;return c(function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}},this),t},eachTargetAxis:function(t,e){var n=this.ecModel;c(function(i){u(this.get(i.axisIndex),function(a){t.call(e,i,a,this,n)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t,e){var n=this.option;u([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(n[e[0]]=t[e[0]],n[e[1]]=t[e[1]])},this),!e&&d(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});t.exports=f},xJKF:function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,i){return n.hasOwnProperty(e)?i*t.dpr:i}},xJzg:function(t,e,n){var i=n("UGP7"),a=n("bZEM");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},"xL/y":function(t,e,n){n("ePAU").__DEV__;var i=n("UGP7"),a=n("eEXx"),r=n("+NBr"),o=n("F1dp"),s=n("F7La"),l=n("vhe7"),u=n("pUcL"),c=u.Polyline,h=u.Polygon,d=n("N2Lo"),f=n("Ba82").round,p=n("EDq4"),g=p.prepareDataCoordInfo,m=p.getStackedOnPoint;function v(t,e){if(t.length===e.length){for(var n=0;ne[0]?1:-1;e[0]+=i*n,e[1]-=i*n}return e}function _(t,e,n,i){return"polar"===t.type?function(t,e,n,i){var a=t.getAngleAxis(),r=t.getRadiusAxis().getExtent().slice();r[0]>r[1]&&r.reverse();var o=a.getExtent(),l=Math.PI/180;n&&(r[0]-=.5,r[1]+=.5);var u=new s.Sector({shape:{cx:f(t.cx,1),cy:f(t.cy,1),r0:f(r[0],1),r:f(r[1],1),startAngle:-o[0]*l,endAngle:-o[1]*l,clockwise:a.inverse}});return e&&(u.shape.endAngle=-o[0]*l,s.initProps(u,{shape:{endAngle:-o[1]*l}},i)),u}(t,e,n,i):function(t,e,n,i){var a=x(t.getAxis("x")),r=x(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),l=Math.min(a[0],a[1]),u=Math.min(r[0],r[1]),c=Math.max(a[0],a[1])-l,h=Math.max(r[0],r[1])-u;if(n)l-=.5,c+=.5,u-=.5,h+=.5;else{var d=i.get("lineStyle.width")||2,f=i.get("clipOverflow")?d/2:Math.max(c,h);o?(u-=f,h+=2*f):(l-=f,c+=2*f)}var p=new s.Rect({shape:{x:l,y:u,width:c,height:h}});return e&&(p.shape[o?"width":"height"]=0,s.initProps(p,{shape:{width:c,height:h}},i)),p}(t,e,n,i)}function b(t,e,n){for(var i=e.getBaseAxis(),a="x"===i.dim||"radius"===i.dim?0:1,r=[],o=0;oi)return!1;return!0}(s,e))){var l=e.mapDimension(s.dim),u={};return i.each(s.getViewLabels(),function(t){u[t.tickValue]=1}),function(t){return!u.hasOwnProperty(e.get(l,t))}}}}var S=d.extend({type:"line",init:function(){var t=new s.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var a=t.coordinateSystem,r=this.group,o=t.getData(),l=t.getModel("lineStyle"),u=t.getModel("areaStyle"),c=o.mapArray(o.getItemLayout),h="polar"===a.type,d=this._coordSys,f=this._symbolDraw,p=this._polyline,x=this._polygon,S=this._lineGroup,M=t.get("animation"),I=!u.isEmpty(),A=u.get("origin"),T=function(t,e,n){if(!n.valueDim)return[];for(var i=[],a=0,r=e.count();a=0;o--){var l=n[o].dimension,u=t.dimensions[l],c=t.getDimensionInfo(u);if("x"===(a=c&&c.coordDim)||"y"===a){r=n[o];break}}if(r){var h=e.getAxis(a),d=i.map(r.stops,function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}}),f=d.length,p=r.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=d[0].coord-10,m=d[f-1].coord+10,v=m-g;if(v<.001)return"transparent";i.each(d,function(t){t.offset=(t.coord-g)/v}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var y=new s.LinearGradient(0,0,0,0,d,!0);return y[a]=g,y[a+"2"]=m,y}}}(o,a)||o.getVisual("color");p.useStyle(i.defaults(l.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"}));var O=t.get("smooth");if(O=y(t.get("smooth")),p.setShape({smooth:O,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),x){var R=o.getCalculationInfo("stackedOnSeries"),E=0;x.useStyle(i.defaults(u.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel"})),R&&(E=y(R.get("smooth"))),x.setShape({smooth:O,stackedOnSmooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=a,this._stackedOnPoints=T,this._points=c,this._step=L,this._valueOrigin=A},dispose:function(){},highlight:function(t,e,n,i){var a=t.getData(),o=l.queryDataIndex(a,i);if(!(o instanceof Array)&&null!=o&&o>=0){var s=a.getItemGraphicEl(o);if(!s){var u=a.getItemLayout(o);if(!u)return;(s=new r(a,o)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,a.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var a=t.getData(),r=l.queryDataIndex(a,i);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else d.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new c({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new h({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,a,r){var l=this._polyline,u=this._polygon,c=t.hostModel,h=o(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,r),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;a&&(d=b(h.current,n,a),f=b(h.stackedOnCurrent,n,a),p=b(h.next,n,a),g=b(h.stackedOnNext,n,a)),l.shape.__points=h.current,l.shape.points=d,s.updateProps(l,{shape:{points:p}},c),u&&(u.setShape({points:d,stackedOnPoints:f}),s.updateProps(u,{shape:{points:p,stackedOnPoints:g}},c));for(var m=[],v=h.status,y=0;y=0&&n.push(t)}),n}(s.originalDeps=e(o),t);s.entryCount=l.length,0===s.entryCount&&r.push(o),i.each(l,function(t){i.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(a,t);i.indexOf(e.successor,t)<0&&e.successor.push(o)})}),{graph:a,noEntryList:r}}(a),l=s.graph,u=s.noEntryList,c={};for(i.each(t,function(t){c[t]=!0});u.length;){var h=u.pop(),d=l[h],f=!!c[h];f&&(r.call(o,h,d.originalDeps.slice()),delete c[h]),i.each(d.successor,f?g:p)}i.each(c,function(){throw new Error("Circle dependency may exists")})}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){c[t]=!0,p(t)}}}},xpdc:function(t,e,n){var i=n("UGP7"),a=n("HCVr"),r=n("VUe/"),o=n("yo78"),s=n("5l1v"),l=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function u(t,e,n){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=i.map(e||[],function(e){return new a(e,t,t.ecModel)}),this.leavesModel=new a(n||{},t,t.ecModel)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null),t=t||{},i.isString(t)&&(t={order:t});var a,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(a=e.call(n,this));for(var s=0;!a&&se&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,n=this.hostTree,i=n.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),i.getModel(t,(a||e||n.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n3||Math.abs(e)>3)){var n=this.seriesModel.getData().tree.root;if(!n)return;var i=n.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t,y:i.y+e,width:i.width,height:i.height}})}},_onZoom:function(t,e,n){if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var a=i.getLayout();if(!a)return;var r=new c(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;e-=o.x,n-=o.y;var s=h.create();h.translate(s,s,[-e,-n]),h.scale(s,s,[t,t]),h.translate(s,s,[e,n]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var a=i.hostTree.data.getItemModel(i.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&window.open(r,o)}}}}},this)},_renderBreadcrumb:function(t,e,n){n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,n.node,p(function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var a=this._storage.background[i.getRawIndex()];if(a){var r=a.transformCoordToLocal(t,e),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;n={node:i,offsetX:r[0],offsetY:r[1]}}},this),n}});function C(t,e,n,i,o,s,l,u,c,h){if(l){var d=l.getLayout();if(d&&d.isInView){var f=d.width,p=d.height,v=d.borderWidth,T=d.invisible,C=l.getRawIndex(),D=u&&u.getRawIndex(),P=l.viewChildren,L=d.upperHeight,k=P&&P.length,O=l.getModel("itemStyle"),R=l.getModel("emphasis.itemStyle"),E=V("nodeGroup",g);if(E){if(c.add(E),E.attr("position",[d.x||0,d.y||0]),E.__tmNodeWidth=f,E.__tmNodeHeight=p,d.isAboveViewRoot)return E;var N=V("background",m,h,S);if(N&&function(e,n,i){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:p});var a=l.getVisual("borderColor",!0),o=R.get("borderColor");G(n,function(){var t=A(O);t.fill=a;var e=I(R);if(e.fill=o,i){var s=f-2*v;B(t,e,a,s,L,{x:v,y:0,width:s,height:L})}else t.text=e.text=null;n.setStyle(t),r.setHoverStyle(n,e)}),e.add(n)}(E,N,k&&d.upperHeight),!k){var z=V("content",m,h,M);z&&function(e,n){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex;var i=Math.max(f-2*v,0),a=Math.max(p-2*v,0);n.culling=!0,n.setShape({x:v,y:v,width:i,height:a});var o=l.getVisual("color",!0);G(n,function(){var t=A(O);t.fill=o;var e=I(R);B(t,e,o,i,a),n.setStyle(t),r.setHoverStyle(n,e)}),e.add(n)}(E,z)}return E}}}function G(t,e){T?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function B(e,n,i,o,s,u){var c=l.getModel(),h=a.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),c.get("name"));if(!u&&d.isLeafRoot){var f=t.get("drillDownIcon",!0);h=f?f+" "+h:h}var p=c.getModel(u?_:y),g=c.getModel(u?b:x),m=p.getShallow("show");r.setLabelStyle(e,n,p,g,{defaultText:m?h:null,autoColor:i,isRectText:!0}),u&&(e.textRect=a.clone(u)),e.truncate=m&&p.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function V(t,r,s,u){var c=null!=D&&n[t][D],h=o[t];return c?(n[t][D]=null,function(t,e,n){(t[C]={}).old="nodeGroup"===n?e.position.slice():a.extend({},e.shape)}(h,c,t)):T||((c=new r({z:function(t,e){var n=t*w+e;return(n-1)/n}(s,u)})).__tmDepth=s,c.__tmStorageName=t,function(t,e,n){var a=t[C]={},r=l.parentNode;if(r&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=o.background[r.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),a.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==n}(h,0,t)),e[t][C]=c}}t.exports=T},"y1/D":function(t,e,n){var i=n("Ba82").parsePercent,a=n("UGP7"),r=(Math.PI,Math.PI/180);t.exports=function(t,e,n,o){e.eachSeriesByType(t,function(t){var e=t.get("center"),o=t.get("radius");a.isArray(o)||(o=[0,o]),a.isArray(e)||(e=[e,e]);var s=n.getWidth(),l=n.getHeight(),u=Math.min(s,l),c=i(e[0],s),h=i(e[1],l),d=i(o[0],u/2),f=i(o[1],u/2),p=-t.get("startAngle")*r,g=t.get("minAngle")*r,m=t.getData().tree.root,v=t.getViewRoot(),y=v.depth,x=t.get("sort");null!=x&&function t(e,n){var i=e.children||[];e.children=function(t,e){if("function"==typeof e)return t.sort(e);var n="asc"===e;return t.sort(function(t,e){var i=(t.getValue()-e.getValue())*(n?1:-1);return 0===i?(t.dataIndex-e.dataIndex)*(n?-1:1):i})}(i,n),i.length&&a.each(e.children,function(e){t(e,n)})}(v,x);var _=0;a.each(v.children,function(t){!isNaN(t.getValue())&&_++});var b=v.getValue(),w=Math.PI/(b||_)*2,S=v.depth>0,M=v.height-(S?-1:1),I=(f-d)/(M||1),A=t.get("clockwise"),T=t.get("stillShowZeroSum"),C=A?1:-1,D=function(t,e){if(t){var n=e;if(t!==m){var r=t.getValue(),o=0===b&&T?w:r*w;o65535?p:g}function v(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],x=["_extent","_approximateExtent","_rawExtent"];function _(t,e){i.each(y.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,i.each(x,function(n){t[n]=i.clone(e[n])}),t._calculationInfo=i.extend(e._calculationInfo)}var b=function(t,e){t=t||["x","y"];for(var n={},a=[],r={},o=0;o=0?this._indices[t]:-1}function A(t,e){var n=t._idList[e];return null==n&&(n=S(t,t._idDimIdx,e)),null==n&&(n=d+e),n}function T(t){return i.isArray(t)||(t=[t]),t}function C(t,e){var n=t.dimensions,a=new b(i.map(n,t.getDimensionInfo,t),t.hostModel);_(a,t);for(var r=a._storage={},o=t._storage,s=0;s=0?(r[l]=D(o[l]),a._rawExtent[l]=P(),a._extent[l]=null):r[l]=o[l])}return a}function D(t){for(var e=new Array(t.length),n=0;n=e)){for(var n,a=this._chunkSize,r=this._rawData,o=this._storage,s=this.dimensions,l=s.length,u=this._dimensionInfos,c=this._nameList,h=this._idList,d=this._rawExtent,g=this._nameRepeatCount={},m=this._chunkCount,v=m-1,y=0;yO[1]&&(O[1]=k)}if(!r.pure){var R=c[A];if(I&&null==R)if(null!=I.name)c[A]=R=I.name;else if(null!=n){var E=s[n],N=o[E][T];if(N){R=N[C];var z=u[E].ordinalMeta;z&&z.categories.length&&(R=z.categories[R])}}var G=null==I?null:I.id;null==G&&null!=R&&(g[R]=g[R]||0,G=R,g[R]>0&&(G+="__ec__"+g[R]),g[R]++),null!=G&&(h[A]=G)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},function(t){var e=t._invertedIndicesMap;i.each(e,function(n,i){var a=t._dimensionInfos[i],r=a.ordinalMeta;if(r){n=e[i]=new p(r.categories.length);for(var o=0;o=0&&e=0&&eo&&(o=l)}return i=[r,o],this._extent[t]=i,i},w.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},w.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},w.getCalculationInfo=function(t){return this._calculationInfo[t]},w.setCalculationInfo=function(t,e){h(t)?i.extend(this._calculationInfo,t):this._calculationInfo[t]=e},w.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n=this._rawCount||t<0)return-1;var e=this._indices,n=e[t];if(null!=n&&nt))return r;a=r-1}}return-1},w.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var a=Number.MAX_VALUE,r=-1,o=0,s=this.count();o=0&&r<0)&&(a=u,r=l,i.length=0),i.push(o))}return i},w.getRawIndex=M,w.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=l&&w<=u||isNaN(w))&&(r[o++]=h),h++}c=!0}else if(2===i){d=this._storage[s];var y=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(f=0;f=l&&w<=u||isNaN(w))&&(S>=x&&S<=_||isNaN(S))&&(r[o++]=h),h++}}c=!0}}if(!c)if(1===i)for(v=0;v=l&&w<=u||isNaN(w))&&(r[o++]=A)}else for(v=0;vt[C][1])&&(T=!1)}T&&(r[o++]=this.getRawIndex(v))}return ow[1]&&(w[1]=b)}}}return r},w.downSample=function(t,e,n,i){for(var a=C(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],u=this.count(),c=this._chunkSize,h=a._rawExtent[t],d=new(m(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gh[1]&&(h[1]=_),d[f++]=b}return a._count=f,a._indices=d,a.getRawIndex=I,a},w.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},w.diff=function(t){var e=this;return new r(t?t.getIndices():[],this.getIndices(),function(e){return A(t,e)},function(t){return A(e,t)})},w.getVisual=function(t){var e=this._visual;return e&&e[t]},w.setVisual=function(t,e){if(h(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},w.setLayout=function(t,e){if(h(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},w.getLayout=function(t){return this._layout[t]},w.getItemLayout=function(t){return this._itemLayouts[t]},w.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},w.clearItemLayouts=function(){this._itemLayouts.length=0},w.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],a=i&&i[e];return null!=a||n?a:this.getVisual(e)},w.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=i,h(e))for(var r in e)e.hasOwnProperty(r)&&(i[r]=e[r],a[r]=!0);else i[e]=n,a[e]=!0},w.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var L=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};w.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(L,e)),this._graphicEls[t]=e},w.getItemGraphicEl=function(t){return this._graphicEls[t]},w.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},w.cloneShallow=function(t){if(!t){var e=i.map(this.dimensions,this.getDimensionInfo,this);t=new b(e,this.hostModel)}if(t._storage=this._storage,_(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?I:M,t},w.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},w.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],w.CHANGABLE_METHODS=["filterSelf","selectRange"];var k=b;t.exports=k},ypXr:function(t,e,n){var i=n("GyJx"),a=n("6SPp").applyTransform,r=n("GBWL"),o=n("MUAU"),s=n("FWXg"),l=n("/6yU"),u=n("4FN4"),c=n("zasC"),h=n("akfV"),d=n("lhs0"),f=n("r2sF"),p=n("ibbb"),g=n("Ee89"),m=n("r1R6"),v=p.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,w=Math.sin,S=Math.max;if(!i.canvasSupported){var M=21600,I=M/2,A=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=M+","+M,t.coordorigin="0,0"},T=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},C=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},D=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},P=function(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n},L=function(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},k=function(t,e,n){var i=o.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=T(i[0],i[1],i[2]),t.opacity=n*i[3])},O=function(t){var e=o.parse(t);return[T(e[0],e[1],e[2]),e[3]]},R=function(t,e,n,i){var r="fill"==e,o=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof g&&D(t,o),o||(o=m.createNode(e)),r?function(t,e,n){var i=e.fill;if(null!=i)if(i instanceof g){var r,o=0,s=[0,0],l=0,u=1,c=n.getBoundingRect(),h=c.width,d=c.height;if("linear"===i.type){r="gradient";var f=n.transform,p=[i.x*h,i.y*d],m=[i.x2*h,i.y2*d];f&&(a(p,p,f),a(m,m,f));var v=m[0]-p[0],y=m[1]-p[1];(o=180*Math.atan2(v,y)/Math.PI)<0&&(o+=360),o<1e-6&&(o=0)}else{r="gradientradial",p=[i.x*h,i.y*d],f=n.transform;var x=n.scale,_=h,b=d;s=[(p[0]-c.x)/_,(p[1]-c.y)/b],f&&a(p,p,f),_/=x[0]*M,b/=x[1]*M;var w=S(_,b);l=0/w,u=2*i.r/w-l}var I=i.colorStops.slice();I.sort(function(t,e){return t.offset-e.offset});for(var A=I.length,T=[],C=[],D=0;D=2){var R=T[0][0],E=T[1][0],N=T[0][1]*e.opacity,z=T[1][1]*e.opacity;t.type=r,t.method="none",t.focus="100%",t.angle=o,t.color=R,t.color2=E,t.colors=C.join(","),t.opacity=z,t.opacity2=N}"radial"===r&&(t.focusposition=s.join(","))}else k(t,i,e.opacity)}(o,n,i):function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||k(t,e.stroke,e.opacity)}(o,n),C(t,o)):(t[r?"filled":"stroked"]="false",D(t,o))},E=[[],[],[]];f.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),A(n),this._vmlEl=n),R(n,"fill",e,this),R(n,"stroke",e,this);var i=this.transform,r=null!=i,o=n.getElementsByTagName("stroke")[0];if(o){var s=e.lineWidth;if(r&&!e.strokeNoScale){var l=i[0]*i[3]-i[1]*i[2];s*=x(_(l))}o.weight=s+"px"}var u=this.path||(this.path=new p);this.__dirtyPath&&(u.beginPath(),this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){var n,i,r,o,s,l,u=v.M,c=v.C,h=v.L,d=v.A,f=v.Q,p=[],g=t.data,m=t.len();for(o=0;o.01?U&&(W+=.0125):Math.abs(H-z)<1e-4?U&&WN?T-=.0125:T+=.0125:U&&Hz?A+=.0125:A-=.0125),p.push(Z,y(((N-G)*k+P)*M-I),",",y(((z-B)*O+L)*M-I),",",y(((N+G)*k+P)*M-I),",",y(((z+B)*O+L)*M-I),",",y((W*k+P)*M-I),",",y((H*O+L)*M-I),",",y((A*k+P)*M-I),",",y((T*O+L)*M-I)),s=A,l=T;break;case v.R:var X=E[0],q=E[1];X[0]=g[o++],X[1]=g[o++],q[0]=X[0]+g[o++],q[1]=X[1]+g[o++],e&&(a(X,X,e),a(q,q,e)),X[0]=y(X[0]*M-I),q[0]=y(q[0]*M-I),X[1]=y(X[1]*M-I),q[1]=y(q[1]*M-I),p.push(" m ",X[0],",",X[1]," l ",q[0],",",X[1]," l ",q[0],",",q[1]," l ",X[0],",",q[1]);break;case v.Z:p.push(" x ")}if(n>0){p.push(i);for(var j=0;j100&&(G=0,z={});var n,i=B.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(t){}e={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},z[t]=e,G++}return e}(r.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(o,b,v,x);var w=this.transform;if(w&&!i&&(V.copy(e),V.applyTransform(w),e=V),i)p=e.x,g=e.y;else{var S=r.textPosition,M=r.textDistance;if(S instanceof Array)p=e.x+L(S[0],e.width),g=e.y+L(S[1],e.height),v=v||"left";else{var I=s.adjustTextPositionOnRect(S,e,M);p=I.x,g=I.y,v=v||I.textAlign,x=x||I.textVerticalAlign}}p=s.adjustTextX(p,n.width,v),g=s.adjustTextY(g,n.height,x),g+=n.height/2;var T,D,k,O=m.createNode,E=this._textVmlEl;E?D=(T=(k=E.firstChild).nextSibling).nextSibling:(E=O("line"),T=O("path"),D=O("textpath"),k=O("skew"),D.style["v-text-align"]="left",A(E),T.textpathok=!0,D.on=!0,E.from="0 0",E.to="1000 0.05",C(E,k),C(E,T),C(E,D),this._textVmlEl=E);var N=[p,g],F=E.style;w&&i?(a(N,N,w),k.on=!0,k.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",k.offset=(y(N[0])||0)+","+(y(N[1])||0),k.origin="0 0",F.left="0px",F.top="0px"):(k.on=!1,F.left=y(p)+"px",F.top=y(g)+"px"),D.string=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")}(o);try{D.style.font=b}catch(t){}R(E,"fill",{fill:r.textFill,opacity:r.opacity},this),R(E,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash},this),E.style.zIndex=P(this.zlevel,this.z,this.z2),C(t,E)}},U=function(t){D(t,this._textVmlEl),this._textVmlEl=null},W=function(t){C(t,this._textVmlEl)},H=[u,c,h,f,d],Z=0;Z=-1e-6}(l))return!1;var c=u(a-t,a-o,r-e,r-s)/l;if(c<0||c>1)return!1;var h=u(n-t,a-t,i-e,r-e)/l;return!(h<0||h>1)}function u(t,e,n,i){return t*i-e*n}var c={lineX:r(0),lineY:r(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&i.contain(n.range,t[0],t[1])},rect:function(t,e,n){var r=n.range;if(!t||r.length<=1)return!1;var o=t.x,l=t.y,u=t.width,c=t.height,h=r[0];return!!(i.contain(r,o,l)||i.contain(r,o+u,l)||i.contain(r,o,l+c)||i.contain(r,o+u,l+c)||a.create(t).contain(h[0],h[1])||s(o,l,o+u,l,r)||s(o,l,o,l+c,r)||s(o+u,l,o+u,l+c,r)||s(o,l+c,o+u,l+c,r))||void 0}}};t.exports=c},yzeo:function(t,e){e.eachAfter=function(t,e,n){for(var i,a=[t],r=[];i=a.pop();)if(r.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s=0;r--)i.push(a[r])}}},"z+In":function(t,e,n){var i=n("UGP7"),a=i.each,r=i.isString;function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var i,o,s,l,u=(n=n||{}).byIndex,c=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(a(e,function(t,n){r(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(u||i||!t.ordinalMeta||(i=t),o||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(o=t))}),!o||u||i||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;a(e,function(t){t.coordDim===d&&p++}),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),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}},e.isDimensionStacked=o,e.getStackedDimension=function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e}},z0B4:function(t,e,n){var i=n("k+cI").extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});t.exports=i},zEsq:function(t,e,n){var i=n("2uO+"),a=n("UGP7"),r=n("RVXt"),o=n("wNM1"),s=n("XRpO"),l=o.toolbox.dataView,u=new Array(60).join("-"),c="\t";function h(t){var e=function(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var a=t.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)n.push(t);else{var r=a.getBaseAxis();if("category"===r.type){var o=r.dim+"_"+r.index;e[o]||(e[o]={categoryAxis:r,valueAxis:a.getOtherAxis(r),series:[]},i.push({axisDim:r.dim,axisIndex:r.index})),e[o].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:a.filter([function(t){var e=[];return a.each(t,function(t,n){var i=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(a.map(t.series,function(t){return t.name})),s=[i.model.getCategories()];a.each(t.series,function(t){s.push(t.getRawData().mapArray(r,function(t){return t}))});for(var l=[o.join(c)],u=0;u=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=d(e.shift()).split(f),i=[],r=a.map(n,function(t){return{name:t,data:[]}}),o=0;o