webpackJsonp([0],[function(e,t){function i(e){if(null==e||"object"!=typeof e)return e;var t=e,n=O.call(e);if("[object Array]"===n){t=[];for(var o=0,r=e.length;ot.get("hoverLayerThreshold")&&!w.node&&i.traverse(function(e){e.isGroup||(e.useHoverLayer=!0)})}function x(e,t){var i=0;t.group.traverse(function(e){"group"===e.type||e.ignore||i++});var n=+e.get("progressive"),o=i>e.get("progressiveThreshold")&&n&&!w.node;o&&t.group.traverse(function(e){e.isGroup||(e.progressive=o?Math.floor(i++/n):-1,o&&e.stopAnimation(!0))});var r=e.get("blendMode")||null;__DEV__&&!w.canvasSupported&&r&&"source-over"!==r&&console.warn("Only canvas support blendMode"),t.group.traverse(function(e){e.isGroup||e.setStyle("blend",r)})}function b(e,t){var i=e.get("z"),n=e.get("zlevel");t.group.traverse(function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=n&&(e.zlevel=n))})}function _(e){function t(e,t){for(var n=0;n=0&&O.each(e,function(e){var o=e.coordinateSystem;if(o&&o.containPoint)i|=!!o.containPoint(t);else if("seriesModels"===n){var r=this._chartsMap[e.__viewId];r&&r.containPoint?i|=r.containPoint(t,e):__DEV__&&console.warn(n+": "+(r?"The found component do not support containPoint.":"No view mapping to the found component."))}else __DEV__&&console.warn(n+": containPoint is not supported")},this)},this),!!i},j.getVisual=function(e,t){var i=this._model;e=P.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel;__DEV__&&(n||console.warn("There is no specified seires model"));var o=n.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?o.indexOfRawIndex(e.dataIndex):null;return null!=r?o.getItemVisual(r,t):o.getVisual(t)},j.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},j.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var W={update:function(e){var t=this._model,i=this._api,n=this._coordSysMgr,o=this._zr;if(t){t.restoreData(),n.create(this._model,this._api),p.call(this,t,i),f.call(this,t),n.update(t,i),m.call(this,t,e),v.call(this,t,e);var r=t.get("backgroundColor")||"transparent",a=o.painter;if(a.isSingleCanvas&&a.isSingleCanvas())o.configLayer(0,{clearColor:r});else{if(!w.canvasSupported){var s=R.parse(r);r=R.stringify(s,"rgb"),0===s[3]&&(r="transparent")}r.colorStops||r.image?(o.configLayer(0,{clearColor:r}),this.__hasGradientOrPatternBg=!0,this._dom.style.background="transparent"):(this.__hasGradientOrPatternBg&&o.configLayer(0,{clearColor:null}),this.__hasGradientOrPatternBg=!1,this._dom.style.background=r)}B(Q,function(e){e(t,i)})}},updateView:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e),h.call(this,"updateView",t,e))},updateVisual:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e,!0),h.call(this,"updateVisual",t,e))},updateLayout:function(e){var t=this._model;t&&(g.call(this,t,e),h.call(this,"updateLayout",t,e))},prepareAndUpdate:function(e){var t=this._model;d.call(this,"component",t),d.call(this,"chart",t),this.__lastOnlyGraphic?(B(this._componentsViews,function(i){var n=i.__model;n&&"graphic"===n.mainType&&(i.render(n,t,this._api,e),b(n,i))},this),this.__lastOnlyGraphic=!1):W.update.call(this,e)}};j.resize=function(e){__DEV__&&O.assert(!this[F],"`resize` should not be called during main process."),this[F]=!0,this._zr.resize(e);var t=this._model&&this._model.resetOption("media");W[t?"prepareAndUpdate":"update"].call(this),this._loadingFX&&this._loadingFX.resize(),this[F]=!1;var i=e&&e.silent;c.call(this,i),u.call(this,i)},j.showLoading=function(e,t){if(O.isObject(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),!ee[e])return void(__DEV__&&console.warn("Loading effects "+e+" not exists."));var i=ee[e](this._api,t),n=this._zr;this._loadingFX=i,n.add(i)},j.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},j.makeActionFromEvent=function(e){var t=O.extend({},e);return t.type=q[e.type],t},j.dispatchAction=function(e,t){if(O.isObject(t)||(t={silent:!!t}),Y[e.type]){if(this[F])return void this._pendingActions.push(e);l.call(this,e,t.silent),t.flush?this._zr.flush(!0):t.flush!==!1&&w.browser.weChat&&this._throttledZrFlush(),c.call(this,t.silent),u.call(this,t.silent)}},j.on=n("on"),j.off=n("off"),j.one=n("one");var Z=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];j._initEvents=function(){B(Z,function(e){this._zr.on(e,function(t){var i,n=this.getModel(),o=t.target;if("globalout"===e)i={};else if(o&&null!=o.dataIndex){var r=o.dataModel||n.getSeriesByIndex(o.seriesIndex);i=r&&r.getDataParams(o.dataIndex,o.dataType)||{}}else o&&o.eventData&&(i=O.extend({},o.eventData));i&&(i.event=t,i.type=e,this.trigger(e,i))},this)},this),B(q,function(e,t){this._messageCenter.on(t,function(e){this.trigger(t,e)},this)},this)},j.isDisposed=function(){return this._disposed},j.clear=function(){this.setOption({series:[]},!0)},j.dispose=function(){if(this._disposed)return void(__DEV__&&console.warn("Instance "+this.id+" has been disposed"));this._disposed=!0;var e=this._api,t=this._model;B(this._componentsViews,function(i){i.dispose(t,e)}),B(this._chartsViews,function(i){i.dispose(t,e)}),this._zr.dispose(),delete te[this.id]},O.mixin(r,N);var Y={},q={},X=[],J=[],Q=[],K=[],$={},ee={},te={},ie={},ne=new Date-0,oe=new Date-0,re={version:"3.5.0",dependencies:{zrender:"3.4.0"}};re.init=function(e,t,i){if(__DEV__){if(E.version.replace(".","")-00?t.animateTo(i,s,c||0,l,r):(t.attr(i),r&&r())}else t.attr(i),r&&r()}var m=i(0),v=i(533),y=Math.round,x=i(15),b=i(27),_=i(21),w=i(6),A={};A.Group=i(70),A.Image=i(101),A.Text=i(175),A.Circle=i(524),A.Sector=i(530),A.Ring=i(529),A.Polygon=i(526),A.Polyline=i(527),A.Rect=i(528),A.Line=i(525),A.BezierCurve=i(523),A.Arc=i(522),A.CompoundPath=i(517),A.LinearGradient=i(172),A.RadialGradient=i(518),A.BoundingRect=i(10),A.extendShape=function(e){return x.extend(e)},A.extendPath=function(e,t){return v.extendFromString(e,t)},A.makePath=function(e,t,i,n){var o=v.createFromString(e,t),r=o.getBoundingRect();if(i){var a=r.width/r.height;if("center"===n){var s,l=i.height*a;l<=i.width?s=i.height:(l=i.width,s=l/a);var c=i.x+i.width/2,u=i.y+i.height/2;i.x=c-l/2,i.y=u-s/2,i.width=l,i.height=s}A.resizePath(o,i)}return o},A.mergePath=v.mergePath,A.resizePath=function(e,t){if(e.applyTransform){var i=e.getBoundingRect(),n=i.calculateTransform(t);e.applyTransform(n)}},A.subPixelOptimizeLine=function(e){var t=A.subPixelOptimize,i=e.shape,n=e.style.lineWidth;return y(2*i.x1)===y(2*i.x2)&&(i.x1=i.x2=t(i.x1,n,!0)),y(2*i.y1)===y(2*i.y2)&&(i.y1=i.y2=t(i.y1,n,!0)),e},A.subPixelOptimizeRect=function(e){var t=A.subPixelOptimize,i=e.shape,n=e.style.lineWidth,o=i.x,r=i.y,a=i.width,s=i.height;return i.x=t(i.x,n,!0),i.y=t(i.y,n,!0),i.width=Math.max(t(o+a,n,!1)-i.x,0===a?0:1),i.height=Math.max(t(r+s,n,!1)-i.y,0===s?0:1),e},A.subPixelOptimize=function(e,t,i){var n=y(2*e);return(n+y(t))%2==0?n/2:(n+(i?1:-1))/2},A.setHoverStyle=function(e,t,i){e.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group"===e.type?e.traverse(function(e){"group"!==e.type&&u(e,t)}):u(e,t),e.on("mouseover",h).on("mouseout",d),e.on("emphasis",p).on("normal",f)},A.setText=function(e,t,i){var n=t.getShallow("position")||"inside",o=t.getShallow("offset"),r=n.indexOf("inside")>=0?"white":i,a=t.getModel("textStyle");m.extend(e,{textDistance:t.getShallow("distance")||5,textFont:a.getFont(),textPosition:n,textOffset:o,textFill:a.getTextColor()||r})},A.updateProps=function(e,t,i,n,o){g(!0,e,t,i,n,o)},A.initProps=function(e,t,i,n,o){g(!1,e,t,i,n,o)},A.getTransform=function(e,t){for(var i=_.identity([]);e&&e!==t;)_.mul(i,e.getLocalTransform(),i),e=e.parent;return i},A.applyTransform=function(e,t,i){return i&&(t=_.invert([],t)),w.applyTransform([],e,t)},A.transformDirection=function(e,t,i){var n=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),o=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),r=["left"===e?-n:"right"===e?n:0,"top"===e?-o:"bottom"===e?o:0];return r=A.applyTransform(r,t,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"},A.groupTransition=function(e,t,i,n){function o(e){var t={position:w.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=m.extend({},e.shape)),t}if(e&&t){var r=function(e){var t={};return e.traverse(function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)}),t}(e);t.traverse(function(e){if(!e.isGroup&&e.anid){var t=r[e.anid];if(t){var n=o(e);e.attr(o(t)),A.updateProps(e,n,i,e.dataIndex)}}})}},e.exports=A},function(e,t){function i(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")}var n={};n.linearMap=function(e,t,i,n){var o=t[1]-t[0],r=i[1]-i[0];if(0===o)return 0===r?i[0]:(i[0]+i[1])/2;if(n)if(o>0){if(e<=t[0])return i[0];if(e>=t[1])return i[1]}else{if(e>=t[0])return i[0];if(e<=t[1])return i[1]}else{if(e===t[0])return i[0];if(e===t[1])return i[1]}return(e-t[0])/o*r+i[0]},n.parsePercent=function(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return"string"==typeof e?i(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e},n.round=function(e,t,i){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),i?e:+e},n.asc=function(e){return e.sort(function(e,t){return e-t}),e},n.getPrecision=function(e){if(e=+e,isNaN(e))return 0;for(var t=1,i=0;Math.round(e*t)/t!==e;)t*=10,i++;return i},n.getPrecisionSafe=function(e){var t=e.toString(),i=t.indexOf(".");return i<0?0:t.length-1-i},n.getPixelPrecision=function(e,t){var i=Math.log,n=Math.LN10,o=Math.floor(i(e[1]-e[0])/n),r=Math.round(i(Math.abs(t[1]-t[0]))/n),a=Math.min(Math.max(-o+r,0),20);return isFinite(a)?a:20},n.MAX_SAFE_INTEGER=9007199254740991,n.remRadian=function(e){var t=2*Math.PI;return(e%t+t)%t},n.isRadianAroundZero=function(e){return e>-1e-4&&e<1e-4};var o=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(?:Z|([\+\-]\d\d):?\d\d)?)?)?)?)?$/,r=(new Date).getTimezoneOffset();n.parseDate=function(e){if(e instanceof Date)return e;if("string"==typeof e){var t=o.exec(e);return t?new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0)-60*(t[8]||0)-r,+t[6]||0,+t[7]||0):new Date(NaN)}return null==e?new Date(NaN):new Date(Math.round(e))},n.quantity=function(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))},n.nice=function(e,t){var i=n.quantity(e),o=e/i;return(t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*i},n.reformIntervals=function(e){function t(e,i,n){return e.interval[n]=0},e.exports=n},function(e,t,i){var n=i(0),o=i(3),r=i(25),a={};a.addCommas=function(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))},a.toCamelCase=function(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e},a.normalizeCssArray=function(e){var t=e.length;return"number"==typeof e?[e,e,e,e]:2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e};var s=a.encodeHTML=function(e){return String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},l=["a","b","c","d","e","f","g"],c=function(e,t){return"{"+e+(null==t?"":t)+"}"};a.formatTpl=function(e,t,i){n.isArray(t)||(t=[t]);var o=t.length;if(!o)return"";for(var r=t[0].$vars||[],a=0;a=i.length&&i.push({option:e})}}),i},u.makeIdAndName=function(e){var t={};l(e,function(e,i){var n=e.exist;n&&(t[n.id]=e)}),l(e,function(e,i){var n=e.option;s.assert(!n||null==n.id||!t[n.id]||t[n.id]===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&(t[n.id]=e),!e.keyInfo&&(e.keyInfo={})}),l(e,function(e,i){var n=e.exist,o=e.option,r=e.keyInfo;if(c(o)){if(r.name=null!=o.name?o.name+"":n?n.name:"\0-",n)r.id=n.id;else if(null!=o.id)r.id=o.id+"";else{var a=0;do{r.id="\0"+r.name+"\0"+a++}while(t[r.id])}t[r.id]=e}})},u.isIdInner=function(e){return c(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")},u.compressBatches=function(e,t){function i(e,t,i){for(var n=0,o=e.length;nn||l.newline?(r=0,u=m,a+=s+i,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(g?-g.y+p.y:0);h=a+v,h>o||l.newline?(r+=s+i,a=0,h=v,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=r,d[1]=a,"horizontal"===e?r=u+i:a=h+i)})}var o=i(0),r=i(10),a=i(3),s=i(4),l=a.parsePercent,c=o.each,u={},h=u.LOCATION_PARAMS=["left","right","top","bottom","width","height"],d=u.HV_NAMES=[["width","left","right"],["height","top","bottom"]];u.box=n,u.vbox=o.curry(n,"vertical"),u.hbox=o.curry(n,"horizontal"),u.getAvailableSize=function(e,t,i){var n=t.width,o=t.height,r=l(e.x,n),a=l(e.y,o),c=l(e.x2,n),u=l(e.y2,o);return(isNaN(r)||isNaN(parseFloat(e.x)))&&(r=0),(isNaN(c)||isNaN(parseFloat(e.x2)))&&(c=n),(isNaN(a)||isNaN(parseFloat(e.y)))&&(a=0),(isNaN(u)||isNaN(parseFloat(e.y2)))&&(u=o),i=s.normalizeCssArray(i||0),{width:Math.max(c-r-i[1]-i[3],0),height:Math.max(u-a-i[0]-i[2],0)}},u.getLayoutRect=function(e,t,i){i=s.normalizeCssArray(i||0);var n=t.width,o=t.height,a=l(e.left,n),c=l(e.top,o),u=l(e.right,n),h=l(e.bottom,o),d=l(e.width,n),p=l(e.height,o),f=i[2]+i[0],g=i[1]+i[3],m=e.aspect;switch(isNaN(d)&&(d=n-u-g-a),isNaN(p)&&(p=o-h-f-c),isNaN(d)&&isNaN(p)&&(m>n/o?d=.8*n:p=.8*o),null!=m&&(isNaN(d)&&(d=m*p),isNaN(p)&&(p=d/m)),isNaN(a)&&(a=n-u-d-g),isNaN(c)&&(c=o-h-p-f),e.left||e.right){case"center":a=n/2-d/2-i[3];break;case"right":a=n-d-g}switch(e.top||e.bottom){case"middle":case"center":c=o/2-p/2-i[0];break;case"bottom":c=o-p-f}a=a||0,c=c||0,isNaN(d)&&(d=n-a-(u||0)),isNaN(p)&&(p=o-c-(h||0));var v=new r(a+i[3],c+i[0],d,p);return v.margin=i,v},u.positionElement=function(e,t,i,n,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if(s||l){var h;if("raw"===c)h="group"===e.type?new r(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(h=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();h=h.clone(),h.applyTransform(d)}t=u.getLayoutRect(o.defaults({width:h.width,height:h.height},t),i,n);var p=e.position,f=s?t.x-h.x:0,g=l?t.y-h.y:0;e.attr("position","raw"===c?[f,g]:[p[0]+f,p[1]+g])}},u.sizeCalculable=function(e,t){return null!=e[d[t][0]]||null!=e[d[t][1]]&&null!=e[d[t][2]]},u.mergeLayoutParam=function(e,t,i){function n(i,n){var o={},s=0,u={},h=0;if(c(i,function(t){u[t]=e[t]}),c(i,function(e){r(t,e)&&(o[e]=u[e]=t[e]),a(o,e)&&s++,a(u,e)&&h++}),l[n])return a(t,i[2])&&(u[i[1]]=null),a(t,i[1])&&(u[i[2]]=null),u;if(2!==h&&s){if(s>=2)return o;for(var d=0;d=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height},clone:function(){return new n(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},n.create=function(e){return new n(e.x,e.y,e.width,e.height)},e.exports=n},function(e,t,i){(function(t){function n(e){return h.isArray(e)||(e=[e]),e}function o(e,t){var i=e.dimensions,n=new m(h.map(i,e.getDimensionInfo,e),e.hostModel);g(n,e);for(var o=n._storage={},r=e._storage,a=0;a=0?o[s]=new l.constructor(r[s].length):o[s]=r[s]}return n}var r="undefined"==typeof window?t:window,a=void 0===r.Float64Array?Array:r.Float64Array,s=void 0===r.Int32Array?Array:r.Int32Array,l={float:a,int:s,ordinal:Array,number:Array,time:Array},c=i(9),u=i(49),h=i(0),d=i(5),p=h.isObject,f=["stackedOn","hasItemOption","_nameList","_idList","_rawData"],g=function(e,t){h.each(f.concat(t.__wrappedMethods||[]),function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e.__wrappedMethods=t.__wrappedMethods},m=function(e,t){e=e||["x","y"];for(var i={},n=[],o=0;o0&&(w+="__ec__"+u[_]),u[_]++),w&&(c[p]=w)}this._nameList=t,this._idList=c},v.count=function(){return this.indices.length},v.get=function(e,t,i){var n=this._storage,o=this.indices[t];if(null==o)return NaN;var r=n[e]&&n[e][o];if(i){var a=this._dimensionInfos[e];if(a&&a.stackable)for(var s=this.stackedOn;s;){var l=s.get(e,t);(r>=0&&l>0||r<=0&&l<0)&&(r+=l),s=s.stackedOn}}return r},v.getValues=function(e,t,i){var n=[];h.isArray(e)||(i=t,t=e,e=this.dimensions);for(var o=0,r=e.length;ol&&(l=r));return this._extent[e+!!t]=[s,l]}return[1/0,-(1/0)]},v.getSum=function(e,t){var i=this._storage[e],n=0;if(i)for(var o=0,r=this.count();oe))return r;o=r-1}}return-1},v.indexOfNearest=function(e,t,i,n){var o=this._storage,r=o[e],a=[];if(!r)return a;null==n&&(n=1/0);for(var s=Number.MAX_VALUE,l=-1,c=0,u=this.count();c=0&&l<0)&&(s=d,l=h,a.length=0),a.push(c))}return a},v.getRawIndex=function(e){var t=this.indices[e];return null==t?-1:t},v.getRawDataItem=function(e){return this._rawData[this.getRawIndex(e)]},v.getName=function(e){return this._nameList[this.indices[e]]||""},v.getId=function(e){return this._idList[this.indices[e]]||this.getRawIndex(e)+""},v.each=function(e,t,i,o){"function"==typeof e&&(o=i,i=t,t=e,e=[]),e=h.map(n(e),this.getDimension,this);var r=[],a=e.length,s=this.indices;o=o||this;for(var l=0;lf-g&&(d=f-g,u.length=d);for(var m=0;m=0;o--)n=r.merge(n,e[o],!0);l.set(this,"__defaultOption",n)}return l.get(this,"__defaultOption")},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});l.enableClassManagement(u,{registerWhenExtend:!0}),s.enableSubTypeDefaulter(u),s.enableTopologicalTravel(u,n),r.mixin(u,i(451)),e.exports=u},function(e,t){var i={};i="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0}:function(e){var t={},i={},n=e.match(/Firefox\/([\d.]+)/),o=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),r=e.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(e);return n&&(i.firefox=!0,i.version=n[1]),o&&(i.ie=!0,i.version=o[1]),r&&(i.edge=!0,i.version=r[1]),a&&(i.weChat=!0),{browser:i,os:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11)}}(navigator.userAgent),e.exports=i},function(e,t,i){"use strict";var n=i(0),o=i(4),r=i(24),a=i(5),s=i(12),l=i(150),c=i(13),u=i(7),h=r.set,d=r.get,p=o.encodeHTML,f=o.addCommas,g=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.normal.color",layoutMode:null,init:function(e,t,i,o){this.seriesIndex=this.componentIndex,this.mergeDefaultAndTheme(e,i);var r=this.getInitialData(e,i);__DEV__&&n.assert(r,"getInitialData returned invalid data."),h(this,"dataBeforeProcessed",r),this.restoreData()},mergeDefaultAndTheme:function(e,t){var i=this.layoutMode,o=i?u.getLayoutParams(e):{};n.merge(e,t.getTheme().get(this.subType)),n.merge(e,this.getDefaultOption()),a.defaultEmphasis(e.label,a.LABEL_OPTIONS),this.fillDataTextStyle(e.data),i&&u.mergeLayoutParam(e,o,i)},mergeOption:function(e,t){e=n.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var i=this.layoutMode;i&&u.mergeLayoutParam(this.option,e,i);var o=this.getInitialData(e,t);o&&(h(this,"data",o),h(this,"dataBeforeProcessed",o.cloneShallow()))},fillDataTextStyle:function(e){if(e)for(var t=0;t',h=this.name;return"\0-"===h&&(h=""),t?u+p(this.name)+" : "+s:(h&&p(h)+"
")+u+(l?p(l)+" : "+s:s)},isAnimationEnabled:function(){if(c.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){h(this,"data",d(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(e,t){var i=this.ecModel,n=l.getColorFromPalette.call(this,e,t);return n||(n=i.getColorFromPalette(e,t)),n},getAxisTooltipData:null,getTooltipPosition:null});n.mixin(g,a.dataFormatMixin),n.mixin(g,l),e.exports=g},function(e,t,i){function n(e){o.call(this,e),this.path=new a}var o=i(71),r=i(0),a=i(53),s=i(514),l=i(173),c=l.prototype.getCanvasPattern,u=Math.abs;n.prototype={constructor:n,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(e,t){var i=this.style,n=this.path,o=i.hasStroke(),r=i.hasFill(),a=i.fill,s=i.stroke,l=r&&!!a.colorStops,u=o&&!!s.colorStops,h=r&&!!a.image,d=o&&!!s.image;if(i.bind(e,this,t),this.setTransform(e),this.__dirty){var p=this.getBoundingRect();l&&(this._fillGradient=i.getGradient(e,a,p)),u&&(this._strokeGradient=i.getGradient(e,s,p))}l?e.fillStyle=this._fillGradient:h&&(e.fillStyle=c.call(a,e)),u?e.strokeStyle=this._strokeGradient:d&&(e.strokeStyle=c.call(s,e));var f=i.lineDash,g=i.lineDashOffset,m=!!e.setLineDash,v=this.getGlobalScale();n.setScale(v[0],v[1]),this.__dirtyPath||f&&!m&&o?(n=this.path.beginPath(e),f&&!m&&(n.setLineDash(f),n.setLineDashOffset(g)),this.buildPath(n,this.shape,!1),this.__dirtyPath=!1):(e.beginPath(),this.path.rebuildPath(e)),r&&n.fill(e),f&&m&&(e.setLineDash(f),e.lineDashOffset=g),o&&n.stroke(e),f&&m&&e.setLineDash([]),this.restoreTransform(e),null!=i.text&&this.drawRectText(e,this.getBoundingRect())},buildPath:function(e,t,i){},getBoundingRect:function(){var e=this._rect,t=this.style,i=!e;if(i){var n=this.path;this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),e=n.getBoundingRect()}if(this._rect=e,t.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||i){o.copy(e);var r=t.lineWidth,a=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(r=Math.max(r,this.strokeContainThreshold||4)),a>1e-10&&(o.width+=r/a,o.height+=r/a,o.x-=r/a/2,o.y-=r/a/2)}return o}return e},contain:function(e,t){var i=this.transformCoordToLocal(e,t),n=this.getBoundingRect(),o=this.style;if(e=i[0],t=i[1],n.contain(e,t)){var r=this.path.data;if(o.hasStroke()){var a=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(o.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),s.containStroke(r,a/l,e,t)))return!0}if(o.hasFill())return s.contain(r,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):o.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var i=this.shape;if(i){if(r.isObject(e))for(var n in e)e.hasOwnProperty(n)&&(i[n]=e[n]);else i[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&u(e[0]-1)>1e-10&&u(e[3]-1)>1e-10?Math.sqrt(u(e[0]*e[3]-e[2]*e[1])):1}},n.extend=function(e){var t=function(t){n.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var i=e.shape;if(i){this.shape=this.shape||{};var o=this.shape;for(var r in i)!o.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(o[r]=i[r])}e.init&&e.init.call(this,t)};r.inherits(t,n);for(var i in e)"style"!==i&&"shape"!==i&&(t.prototype[i]=e[i]);return t},r.inherits(n,o),e.exports=n},,,function(e,t,i){var n=i(459),o=i(62);i(460),i(458);var r=i(63),a=i(3),s=i(0),l=i(25),c={};c.getScaleExtent=function(e,t){var i,n,o,r=e.type,l=t.getMin(),c=t.getMax(),u=null!=l,h=null!=c,d=e.getExtent();return"ordinal"===r?i=(t.get("data")||[]).length:(n=t.get("boundaryGap"),s.isArray(n)||(n=[n||0,n||0]),n[0]=a.parsePercent(n[0],1),n[1]=a.parsePercent(n[1],1),o=d[1]-d[0]),null==l&&(l="ordinal"===r?i?0:NaN:d[0]-n[0]*o),null==c&&(c="ordinal"===r?i?i-1:NaN:d[1]+n[1]*o),"dataMin"===l&&(l=d[0]),"dataMax"===c&&(c=d[1]),(null==l||!isFinite(l))&&(l=NaN),(null==c||!isFinite(c))&&(c=NaN),e.setBlank(s.eqNaN(l)||s.eqNaN(c)),t.getNeedCrossZero()&&(l>0&&c>0&&!u&&(l=0),l<0&&c<0&&!h&&(c=0)),[l,c]},c.niceScaleExtent=function(e,t){var i=c.getScaleExtent(e,t),n=null!=t.getMin(),o=null!=t.getMax(),r=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase")),e.setExtent(i[0],i[1]),e.niceExtent(r,n,o);var a=t.get("minInterval");if(isFinite(a)&&!n&&!o&&"interval"===e.type){var s=e.getInterval(),l=Math.max(Math.abs(s),a)/s;i=e.getExtent();var u=(i[1]+i[0])/2;e.setExtent(l*(i[0]-u)+u,l*(i[1]-u)+u),e.niceExtent(r)}var s=t.get("interval");null!=s&&e.setInterval&&e.setInterval(s)},c.createScaleByModel=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new n(e.getCategories(),[1/0,-(1/0)]);case"value":return new o;default:return(r.getClass(t)||o).create(e)}},c.ifAxisCrossZero=function(e){var t=e.scale.getExtent(),i=t[0],n=t[1];return!(i>0&&n>0||i<0&&n<0)},c.getAxisLabelInterval=function(e,t,i,n){var o,r=0,a=0,s=1;t.length>40&&(s=Math.floor(t.length/40));for(var c=0;c1?s:(r+1)*s-1},c.getFormattedLabels=function(e,t){var i=e.scale,n=i.getTicksLabels(),o=i.getTicks();return"string"==typeof t?(t=function(e){return function(t){return e.replace("{value}",null!=t?t:"")}}(t),s.map(n,t)):"function"==typeof t?s.map(o,function(i,n){return t(c.getAxisRawValue(e,i),n)},this):n},c.getAxisRawValue=function(e,t){return"category"===e.type?e.scale.getLabel(t):t},e.exports=c},function(e,t,i){function n(e,t,i){if(!t)return e;i=i||{};var n=i.dimCount;if(null==n){var s=o(t[0]);n=r.isArray(s)&&s.length||1}for(var l=i.defaultNames||[],c=i.extraPrefix||"extra",u=0;uu&&(c=0,l={}),c++,l[i]=o,o}function o(e,t,i,o){var r=((e||"")+"").split("\n").length,a=n(e,t),s=n("国",t),l=r*s,c=new d(0,0,a,l);switch(c.lineHeight=s,o){case"bottom":case"alphabetic":c.y-=s;break;case"middle":c.y-=s/2}switch(i){case"end":case"right":c.x-=c.width;break;case"center":c.x-=c.width/2}return c}function r(e,t,i,n){var o=t.x,r=t.y,a=t.height,s=t.width,l=i.height,c=a/2-l/2,u="left";switch(e){case"left":o-=n,r+=c,u="right";break;case"right":o+=n+s,r+=c,u="left";break;case"top":o+=s/2,r-=n+l,u="center";break;case"bottom":o+=s/2,r+=a+n,u="center";break;case"inside":o+=s/2,r+=c,u="center";break;case"insideLeft":o+=n,r+=c,u="left";break;case"insideRight":o+=s-n,r+=c,u="right";break;case"insideTop":o+=s/2,r+=n,u="center";break;case"insideBottom":o+=s/2,r+=a-l-n,u="center";break;case"insideTopLeft":o+=n,r+=n,u="left";break;case"insideTopRight":o+=s-n,r+=n,u="right";break;case"insideBottomLeft":o+=n,r+=a-l-n;break;case"insideBottomRight":o+=s-n,r+=a-l-n,u="right"}return{x:o,y:r,textAlign:u,textBaseline:"top"}}function a(e,t,i,o,r){if(!t)return"";r=r||{},o=p(o,"...");for(var a=p(r.maxIterations,2),l=p(r.minChar,0),c=n("国",i),u=n("a",i),h=p(r.placeholder,""),d=t=Math.max(0,t-1),f=0;f=u;f++)d-=u;var g=n(o);g>d&&(o="",g=0),d=t-g;for(var m=(e+"").split("\n"),f=0,v=m.length;f=a){y+=o;break}var _=0===b?s(y,d,u,c):x>0?Math.floor(y.length*d/x):0;y=y.substr(0,_),x=n(y,i)}""===y&&(y=h),m[f]=y}}return m.join("\n")}function s(e,t,i,n){for(var o=0,r=0,a=e.length;r=0){var r="touchend"!=n?t.targetTouches[0]:t.changedTouches[0];r&&o(e,r,t,i)}else o(e,t,t,i),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;return t}function s(e,t,i){h?e.addEventListener(t,i):e.attachEvent("on"+t,i)}function l(e,t,i){h?e.removeEventListener(t,i):e.detachEvent("on"+t,i)}var c=i(39),u=i(13),h="undefined"!=typeof window&&!!window.addEventListener,d=h?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};e.exports={clientToLocal:o,normalizeEvent:a,addEventListener:s,removeEventListener:l,stop:d,Dispatcher:c}},function(e,t,i){function n(e){return e=Math.round(e),e<0?0:e>255?255:e}function o(e){return e=Math.round(e),e<0?0:e>360?360:e}function r(e){return e<0?0:e>1?1:e}function a(e){return n(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100*255:parseInt(e,10))}function s(e){return r(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100:parseFloat(e))}function l(e,t,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function c(e,t,i){return e+(t-e)*i}function u(e,t,i,n,o){return e[0]=t,e[1]=i,e[2]=n,e[3]=o,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function d(e,t){k&&h(k,t),k=M.put(e,k||t.slice())}function p(e,t){if(e){t=t||[];var i=M.get(e);if(i)return h(t,i);e+="";var n=e.replace(/ /g,"").toLowerCase();if(n in S)return h(t,S[n]),d(e,t),t;if("#"!==n.charAt(0)){var o=n.indexOf("("),r=n.indexOf(")");if(o!==-1&&r+1===n.length){var l=n.substr(0,o),c=n.substr(o+1,r-(o+1)).split(","),p=1;switch(l){case"rgba":if(4!==c.length)return void u(t,0,0,0,1);p=s(c.pop());case"rgb":return 3!==c.length?void u(t,0,0,0,1):(u(t,a(c[0]),a(c[1]),a(c[2]),p),d(e,t),t);case"hsla":return 4!==c.length?void u(t,0,0,0,1):(c[3]=s(c[3]),f(c,t),d(e,t),t);case"hsl":return 3!==c.length?void u(t,0,0,0,1):(f(c,t),d(e,t),t);default:return}}u(t,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(u(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),d(e,t),t):void u(t,0,0,0,1)}if(7===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(u(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),d(e,t),t):void u(t,0,0,0,1)}}}}function f(e,t){var i=(parseFloat(e[0])%360+360)%360/360,o=s(e[1]),r=s(e[2]),a=r<=.5?r*(o+1):r+o-r*o,c=2*r-a;return t=t||[],u(t,n(255*l(c,a,i+1/3)),n(255*l(c,a,i)),n(255*l(c,a,i-1/3)),1),4===e.length&&(t[3]=e[3]),t}function g(e){if(e){var t,i,n=e[0]/255,o=e[1]/255,r=e[2]/255,a=Math.min(n,o,r),s=Math.max(n,o,r),l=s-a,c=(s+a)/2;if(0===l)t=0,i=0;else{i=c<.5?l/(s+a):l/(2-s-a);var u=((s-n)/6+l/2)/l,h=((s-o)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?t=d-h:o===s?t=1/3+u-d:r===s&&(t=2/3+h-u),t<0&&(t+=1),t>1&&(t-=1)}var p=[360*t,i,c];return null!=e[3]&&p.push(e[3]),p}}function m(e,t){var i=p(e);if(i){for(var n=0;n<3;n++)i[n]=t<0?i[n]*(1-t)|0:(255-i[n])*t+i[n]|0;return w(i,4===i.length?"rgba":"rgb")}}function v(e,t){var i=p(e);if(i)return((1<<24)+(i[0]<<16)+(i[1]<<8)+ +i[2]).toString(16).slice(1)}function y(e,t,i){if(i=i||[0,0,0,0],!t||!t.length||!(e>=0&&e<=1))return i;var o=e*(t.length-1),a=Math.floor(o),s=Math.ceil(o),l=t[a],u=t[s],h=o-a;return i[0]=n(c(l[0],u[0],h)),i[1]=n(c(l[1],u[1],h)),i[2]=n(c(l[2],u[2],h)),i[3]=r(c(l[3],u[3],h)),i}function x(e,t,i){if(t&&t.length&&e>=0&&e<=1){var o=e*(t.length-1),a=Math.floor(o),s=Math.ceil(o),l=p(t[a]),u=p(t[s]),h=o-a,d=w([n(c(l[0],u[0],h)),n(c(l[1],u[1],h)),n(c(l[2],u[2],h)),r(c(l[3],u[3],h))],"rgba");return i?{color:d,leftIndex:a,rightIndex:s,value:o}:d}}function b(e,t,i,n){if(e=p(e))return e=g(e),null!=t&&(e[0]=o(t)),null!=i&&(e[1]=s(i)),null!=n&&(e[2]=s(n)),w(f(e),"rgba")}function _(e,t){if((e=p(e))&&null!=t)return e[3]=r(t),w(e,"rgba")}function w(e,t){if(e){var i=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(i+=","+e[3]),t+"("+i+")"}}var A=i(170),S={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]},M=new A(20),k=null;e.exports={parse:p,lift:m,toHex:v,fastMapToColor:y,mapToColor:x,modifyHSL:b,modifyAlpha:_,stringify:w}},function(e,t,i){"use strict";var n={};e.exports={register:function(e,t){n[e]=t},get:function(e){return n[e]}}},function(e,t,i){function n(e,t){var i=e[1]-e[0],n=t,o=i/n/2;e[0]+=o,e[1]-=o}var o=i(3),r=o.linearMap,a=i(0),s=[0,1],l=function(e,t,i){this.dim=e,this.scale=t,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};l.prototype={constructor:l,contain:function(e){var t=this._extent,i=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=i&&e<=n},containData:function(e){return this.contain(this.dataToCoord(e))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return o.getPixelPrecision(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var i=this._extent;i[0]=e,i[1]=t},dataToCoord:function(e,t){var i=this._extent,o=this.scale;return e=o.normalize(e),this.onBand&&"ordinal"===o.type&&(i=i.slice(),n(i,o.count())),r(e,s,i,t)},coordToData:function(e,t){var i=this._extent,o=this.scale;this.onBand&&"ordinal"===o.type&&(i=i.slice(),n(i,o.count()));var a=r(e,i,s,t);return this.scale.scale(a)},pointToData:function(e,t){},getTicksCoords:function(e){if(this.onBand&&!e){for(var t=this.getBands(),i=[],n=0;n-w&&ew||e<-w}function r(e,t,i,n,o){var r=1-o;return r*r*(r*e+3*o*t)+o*o*(o*n+3*r*i)}function a(e,t,i,n,o){var r=1-o;return 3*(((t-e)*r+2*(i-t)*o)*r+(n-i)*o*o)}function s(e,t,i,o,r,a){var s=o+3*(t-i)-e,l=3*(i-2*t+e),c=3*(t-e),u=e-r,h=l*l-3*s*c,d=l*c-9*s*u,p=c*c-3*l*u,f=0;if(n(h)&&n(d))if(n(l))a[0]=0;else{var g=-c/l;g>=0&&g<=1&&(a[f++]=g)}else{var m=d*d-4*h*p;if(n(m)){var v=d/h,g=-l/s+v,y=-v/2;g>=0&&g<=1&&(a[f++]=g),y>=0&&y<=1&&(a[f++]=y)}else if(m>0){var x=_(m),w=h*l+1.5*s*(-d+x),A=h*l+1.5*s*(-d-x);w=w<0?-b(-w,M):b(w,M),A=A<0?-b(-A,M):b(A,M);var g=(-l-(w+A))/(3*s);g>=0&&g<=1&&(a[f++]=g)}else{var k=(2*h*l-3*s*d)/(2*_(h*h*h)),T=Math.acos(k)/3,I=_(h),C=Math.cos(T),g=(-l-2*I*C)/(3*s),y=(-l+I*(C+S*Math.sin(T)))/(3*s),L=(-l+I*(C-S*Math.sin(T)))/(3*s);g>=0&&g<=1&&(a[f++]=g),y>=0&&y<=1&&(a[f++]=y),L>=0&&L<=1&&(a[f++]=L)}}return f}function l(e,t,i,r,a){var s=6*i-12*t+6*e,l=9*t+3*r-3*e-9*i,c=3*t-3*e,u=0;if(n(l)){if(o(s)){var h=-c/s;h>=0&&h<=1&&(a[u++]=h)}}else{var d=s*s-4*l*c;if(n(d))a[0]=-s/(2*l);else if(d>0){var p=_(d),h=(-s+p)/(2*l),f=(-s-p)/(2*l);h>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u}function c(e,t,i,n,o,r){var a=(t-e)*o+e,s=(i-t)*o+t,l=(n-i)*o+i,c=(s-a)*o+a,u=(l-s)*o+s,h=(u-c)*o+c;r[0]=e,r[1]=a,r[2]=c,r[3]=h,r[4]=h,r[5]=u,r[6]=l,r[7]=n}function u(e,t,i,n,o,a,s,l,c,u,h){var d,p,f,g,m,v=.005,y=1/0;k[0]=c,k[1]=u;for(var b=0;b<1;b+=.05)T[0]=r(e,i,o,s,b),T[1]=r(t,n,a,l,b),(g=x(k,T))=0&&g=0&&h<=1&&(a[u++]=h)}}else{var d=l*l-4*s*c;if(n(d)){var h=-l/(2*s);h>=0&&h<=1&&(a[u++]=h)}else if(d>0){var p=_(d),h=(-l+p)/(2*s),f=(-l-p)/(2*s);h>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u}function f(e,t,i){var n=e+i-2*t;return 0===n?.5:(e-t)/n}function g(e,t,i,n,o){var r=(t-e)*n+e,a=(i-t)*n+t,s=(a-r)*n+r;o[0]=e,o[1]=r,o[2]=s,o[3]=s,o[4]=a,o[5]=i}function m(e,t,i,n,o,r,a,s,l){var c,u=.005,d=1/0;k[0]=a,k[1]=s;for(var p=0;p<1;p+=.05){T[0]=h(e,i,o,p),T[1]=h(t,n,r,p);var f=x(k,T);f=0&&f=0&&o(e)?function(e,t,i,n){return d.isDataItemOption(e)&&(x.hasItemOption=!0),n===y?i:g(f(e),v[n])}:function(e,t,i,n){var o=f(e),r=g(o&&o[n],v[n]);d.isDataItemOption(e)&&(x.hasItemOption=!0);var a=s&&s.categoryAxesModels;return a&&a[t]&&"string"==typeof r&&(_[t]=_[t]||a[t].getCategories(),(r=h.indexOf(_[t],r))<0&&!isNaN(r)&&(r=+r)),r};return x.hasItemOption=!1,x.initData(e,b,w),x}function a(e){return"category"!==e&&"time"!==e}function s(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function l(e,t){var i,n=[],o=e&&e.dimensions[e.categoryIndex];if(o&&(i=e.categoryAxesModels[o.name]),i){var r=i.getCategories();if(r){var a=t.length;if(h.isArray(t[0])&&t[0].length>1){n=[];for(var s=0;sn[1],l="start"===t&&!s||"start"!==t&&s;return d(a-m/2)?(r=l?"bottom":"top",o="center"):d(a-1.5*m)?(r=l?"top":"bottom",o="center"):(r="middle",o=a<1.5*m&&a>m/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:o,textVerticalAlign:r}}function r(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)}var a=i(0),s=i(4),l=i(2),c=i(9),u=i(3),h=u.remRadian,d=u.isRadianAroundZero,p=i(6),f=p.applyTransform,g=a.retrieve,m=Math.PI,v=function(e,t){this.opt=t,this.axisModel=e,a.defaults(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new l.Group;var i=new l.Group({position:t.position.slice(),rotation:t.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};v.prototype={constructor:v,hasBuilder:function(e){return!!y[e]},add:function(e){y[e].call(this)},getGroup:function(){return this.group}};var y={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,o=[i[0],0],r=[i[1],0];n&&(f(o,o,n),f(r,r,n)),this.group.add(new l.Line(l.subPixelOptimizeLine({anid:"line",shape:{x1:o[0],y1:o[1],x2:r[0],y2:r[1]},style:a.extend({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle()),strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1})))}},axisTick:function(){var e=this.axisModel,t=e.axis;if(e.get("axisTick.show")&&!t.scale.isBlank())for(var i=e.getModel("axisTick"),n=this.opt,o=i.getModel("lineStyle"),r=i.get("length"),s=_(i,n.labelInterval),c=t.getTicksCoords(i.get("alignWithLabel")),u=t.scale.getTicks(),h=[],d=[],p=this._transform,g=0;gf[1]?-1:1,y=["start"===u?f[0]-v*p:"end"===u?f[1]+v*p:(f[0]+f[1])/2,"middle"===u?e.labelOffset+h*p:0],b=t.get("nameRotate");null!=b&&(b=b*m/180);var _;"middle"===u?c=x(e.rotation,null!=b?b:e.rotation,h):(c=o(e,u,b||0,f),null!=(_=e.axisNameAvailableWidth)&&(_=Math.abs(_/Math.sin(c.rotation)),!isFinite(_)&&(_=null)));var w=d.getFont(),A=t.get("nameTruncate",!0)||{},S=A.ellipsis,M=g(A.maxWidth,_),k=null!=S&&null!=M?s.truncateText(i,M,w,S,{minChar:2,placeholder:A.placeholder}):i,T=t.get("tooltip",!0),I=t.mainType,C={componentType:I,name:i,$vars:["name"]};C[I+"Index"]=t.componentIndex;var L=new l.Text({anid:"name",__fullText:i,__truncatedText:k,style:{text:k,textFont:w,fill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:c.textAlign,textVerticalAlign:c.textVerticalAlign},position:y,rotation:c.rotation,silent:r(t),z2:1,tooltip:T&&T.show?a.extend({content:i,formatter:function(){return i},formatterParams:C},T):null});t.get("triggerEvent")&&(L.eventData=n(t),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},x=v.innerTextLayout=function(e,t,i){var n,o,r=h(t-e);return d(r)?(o=i>0?"top":"bottom",n="center"):d(r-m)?(o=i>0?"bottom":"top",n="center"):(o="middle",n=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:o}},b=v.ifIgnoreOnTick=function(e,t,i){var n,o=e.scale;return"ordinal"===o.type&&("function"==typeof i?(n=o.getTicks()[t],!i(n,o.getLabel(n))):t%(i+1))},_=v.getInterval=function(e,t){var i=e.get("interval");return null!=i&&"auto"!=i||(i=t),i};e.exports=v},function(e,t,i){function n(e,t,i,n,s,l){var c=a.getAxisPointerClass(e.axisPointerClass);if(c){var u=r.getAxisPointerModel(t);u?(e._axisPointer||(e._axisPointer=new c)).render(t,u,n,l):o(e,n)}}function o(e,t,i){var n=e._axisPointer;n&&n.dispose(t,i),e._axisPointer=null}var r=i(56),a=i(1).extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,i,o){this.axisPointerClass&&r.fixValue(e),a.superApply(this,"render",arguments),n(this,e,t,i,o,!0)},updateAxisPointer:function(e,t,i,o,r){n(this,e,t,i,o,!1)},remove:function(e,t){var i=this._axisPointer;i&&i.remove(t),a.superApply(this,"remove",arguments)},dispose:function(e,t){o(this,t),a.superApply(this,"dispose",arguments)}}),s=[];a.registerAxisPointerClass=function(e,t){if(__DEV__&&s[e])throw new Error("axisPointer "+e+" exists");s[e]=t},a.getAxisPointerClass=function(e){return e&&s[e]},e.exports=a},function(e,t,i){function n(e){var t=e.pieceList;e.hasSpecialVisual=!1,g.each(t,function(t,i){t.originIndex=i,null!=t.visual&&(e.hasSpecialVisual=!0)})}function o(e){var t=e.categories,i=e.visual,n=e.categoryMap={};if(y(t,function(e,t){n[e]=t}),!g.isArray(i)){var o=[];g.isObject(i)?y(i,function(e,t){var i=n[t];o[null!=i?i:b]=e}):o[b]=i,i=p(e,o)}for(var r=t.length-1;r>=0;r--)null==i[r]&&(delete n[t[r]],t.pop())}function r(e,t){var i=e.visual,n=[];g.isObject(i)?y(i,function(e){n.push(e)}):null!=i&&n.push(i);var o={color:1,symbol:1};t||1!==n.length||o.hasOwnProperty(e.type)||(n[1]=n[0]),p(e,n)}function a(e){return{applyVisual:function(t,i,n){t=this.mapValueToVisual(t),n("color",e(i("color"),t))},_doMap:h([0,1])}}function s(e){var t=this.option.visual;return t[Math.round(v(e,[0,1],[0,t.length-1],!0))]||{}}function l(e){return function(t,i,n){n(e,this.mapValueToVisual(t))}}function c(e){var t=this.option.visual;return t[this.option.loop&&e!==b?e%t.length:e]}function u(){return this.option.visual[0]}function h(e){return{linear:function(t){return v(t,e,this.option.visual,!0)},category:c,piecewise:function(t,i){var n=d.call(this,i);return null==n&&(n=v(t,e,this.option.visual,!0)),n},fixed:u}}function d(e){var t=this.option,i=t.pieceList;if(t.hasSpecialVisual){var n=_.findPieceIndex(e,i),o=i[n];if(o&&o.visual)return o.visual[this.type]}}function p(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=g.map(t,function(e){return m.parse(e)})),t}function f(e,t,i){return e?t<=i:ti.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],o=0;o3&&(t=i.call(t,1));for(var o=this._$handlers[e],r=o.length,a=0;a4&&(t=i.call(t,1,t.length-1));for(var o=t[t.length-1],r=this._$handlers[e],a=r.length,s=0;s=0},wrapTreePathInfo:function(e,t){for(var i=[];e;){var n=e.dataIndex;i.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return i.reverse(),i}};e.exports=o},function(e,t,i){function n(e){return o.isObject(e)&&null!=e.value?e.value:e}var o=i(0),r=i(18);e.exports={getFormattedLabels:function(){return r.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return"category"===this.get("type")&&o.map(this.get("data"),n)},getMin:function(e){var t=this.option,i=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&!o.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(e){var t=this.option,i=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&!o.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:o.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}}},function(e,t){e.exports=function(e,t,i,n,o){n.eachRawSeriesByType(e,function(e){var o=e.getData(),r=e.get("symbol")||t,a=e.get("symbolSize");o.setVisual({legendSymbol:i||r,symbol:r,symbolSize:a}),n.isSeriesFiltered(e)||("function"==typeof a&&o.each(function(t){var i=e.getRawValue(t),n=e.getDataParams(t);o.setItemVisual(t,"symbolSize",a(i,n))}),o.each(function(e){var t=o.getItemModel(e),i=t.getShallow("symbol",!0),n=t.getShallow("symbolSize",!0);null!=i&&o.setItemVisual(e,"symbol",i),null!=n&&o.setItemVisual(e,"symbolSize",n)}))})}},,function(e,t,i){function n(e){this.group=new r.Group,this._symbolCtor=e||a}function o(e,t,i){var n=e.getItemLayout(t);return n&&!isNaN(n[0])&&!isNaN(n[1])&&!(i&&i(t))&&"none"!==e.getItemVisual(t,"symbol")}var r=i(2),a=i(77),s=n.prototype;s.updateData=function(e,t){var i=this.group,n=e.hostModel,a=this._data,s=this._symbolCtor,l={itemStyle:n.getModel("itemStyle.normal").getItemStyle(["color"]),hoverItemStyle:n.getModel("itemStyle.emphasis").getItemStyle(),symbolRotate:n.get("symbolRotate"),symbolOffset:n.get("symbolOffset"),hoverAnimation:n.get("hoverAnimation"),labelModel:n.getModel("label.normal"),hoverLabelModel:n.getModel("label.emphasis")};e.diff(a).add(function(n){var r=e.getItemLayout(n);if(o(e,n,t)){var a=new s(e,n,l);a.attr("position",r),e.setItemGraphicEl(n,a),i.add(a)}}).update(function(c,u){var h=a.getItemGraphicEl(u),d=e.getItemLayout(c);if(!o(e,c,t))return void i.remove(h);h?(h.updateData(e,c,l),r.updateProps(h,{position:d},n)):(h=new s(e,c),h.attr("position",d)),i.add(h),e.setItemGraphicEl(c,h)}).remove(function(e){var t=a.getItemGraphicEl(e);t&&t.fadeOut(function(){i.remove(t)})}).execute(),this._data=e},s.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl(function(t,i){var n=e.getItemLayout(i);t.attr("position",n)})},s.remove=function(e){var t=this.group,i=this._data;i&&(e?i.eachItemGraphicEl(function(e){e.fadeOut(function(){t.remove(e)})}):t.removeAll())},e.exports=n},function(e,t,i){var n=i(1),o=i(56),r=i(343),a=i(0);i(339),i(340),i(120),n.registerPreprocessor(function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!a.isArray(t)&&(e.axisPointer.link=[t])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=o.collect(e,t)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},function(e,t,i){return r(t.getComponent("axisPointer").coordSysAxesInfo,e.currTrigger,e,e.dispatchAction||a.bind(i.dispatchAction,i),t,i,e.tooltipOption,e.highDownKey)})},function(e,t,i){function n(e){var t={};return h(["start","end","startValue","endValue","throttle"],function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}function o(e,t){h([["start","startValue"],["end","endValue"]],function(i,n){var o=e._rangePropMode;null!=t[i[0]]?o[n]="percent":null!=t[i[1]]&&(o[n]="value")})}var r=i(0),a=i(13),s=i(1),l=i(5),c=i(79),u=i(354),h=r.each,d=c.eachAxisDim,p=s.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},init:function(e,t,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var o=n(e);this.mergeDefaultAndTheme(e,i),this.doInit(o)},mergeOption:function(e){var t=n(e);r.merge(this.option,e,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),o(this,e),h([["start","startValue"],["end","endValue"]],function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(t,i,n,o){var r=this.dependentModels[t.axis][i],a=r.__dzAxisProxy||(r.__dzAxisProxy=new u(t.name,i,this,o));e[t.name+"_"+i]=a},this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();d(function(t){var i=t.axisIndex;e[i]=l.normalizeToArray(e[i])},this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;d(function(i){null!=e[i.axisIndex]&&(t=!0)},this);var i=e.orient;return null==i&&t?"orient":t?void 0:(null==i&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),i=this.option,n=this.dependentModels;if(e){var o="vertical"===t?"y":"x";n[o+"Axis"].length?(i[o+"AxisIndex"]=[0],e=!1):h(n.singleAxis,function(n){e&&n.get("orient",!0)===t&&(i.singleAxisIndex=[n.componentIndex],e=!1)})}e&&d(function(t){if(e){var n=[],o=this.dependentModels[t.axis];if(o.length&&!n.length)for(var r=0,a=o.length;r0?100:20}},getFirstTargetAxisModel:function(){var e;return d(function(t){if(null==e){var i=this.get(t.axisIndex);i.length&&(e=this.dependentModels[t.axis][i[0]])}},this),e},eachTargetAxis:function(e,t){var i=this.ecModel;d(function(n){h(this.get(n.axisIndex),function(o){e.call(t,n,o,this,i)},this)},this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var i=this.getAxisProxy(e,t);return i&&i.getAxisModel()},setRawRange:function(e,t){h(["start","end","startValue","endValue"],function(t){this.option[t]=e[t]},this),!t&&o(this,e)},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(){var e=this._axisProxies;for(var t in e)if(e.hasOwnProperty(t)&&e[t].hostedBy(this))return e[t];for(var t in e)if(e.hasOwnProperty(t)&&!e[t].hostedBy(this))return e[t]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=p},function(e,t,i){var n=i(90);e.exports=n.extend({type:"dataZoom",render:function(e,t,i,n){this.dataZoomModel=e,this.ecModel=t,this.api=i},getTargetCoordInfo:function(){function e(e,t,i,n){for(var o,r=0;r=0||i&&n.indexOf(i,a)<0)){var s=this.getShallow(a);null!=s&&(o[e[r][0]]=s)}}return o}}},function(e,t){var i={},n="\0__throttleOriginMethod",o="\0__throttleRate";i.throttle=function(e,t,i){function n(){c=(new Date).getTime(),u=null,e.apply(a,s||[])}var o,r,a,s,l=0,c=0,u=null;t=t||0;var h=function(){o=(new Date).getTime(),a=this,s=arguments,r=o-(i?l:c)-t,clearTimeout(u),i?u=setTimeout(n,t):r>=0?n():u=setTimeout(n,-r),l=o};return h.clear=function(){u&&(clearTimeout(u),u=null)},h},i.createOrUpdate=function(e,t,r,a){var s=e[t];if(s){var l=s[n]||s,c=s["\0__throttleType"];if(s[o]!==r||c!==a){if(null==r||!a)return e[t]=l;s=e[t]=i.throttle(l,r,"debounce"===a),s[n]=l,s["\0__throttleType"]=a,s[o]=r}return s}},i.clear=function(e,t){var i=e[t];i&&i[n]&&(e[t]=i[n])},e.exports=i},function(e,t,i){"use strict";var n,o,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};!function(i,a){"object"===r(t)?e.exports=a():(n=[],void 0!==(o=function(){return i.Humanize=a()}.apply(t,n))&&(e.exports=o))}(this,function(){var e=[{name:"second",value:1e3},{name:"minute",value:6e4},{name:"hour",value:36e5},{name:"day",value:864e5},{name:"week",value:6048e5}],t={P:Math.pow(2,50),T:Math.pow(2,40),G:Math.pow(2,30),M:Math.pow(2,20)},i=function(e){return void 0!==e&&null!==e},n=function(e){return e!==e},o=function(e){return isFinite(e)&&!n(parseFloat(e))},a=function(e){return"[object Array]"===Object.prototype.toString.call(e)},s={intword:function(e,t){var i=arguments.length<=2||void 0===arguments[2]?2:arguments[2];return s.compactInteger(e,i)},compactInteger:function(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1];t=Math.max(t,0);var i=parseInt(e,10),n=i<0?"-":"",o=Math.abs(i),r=String(o),a=r.length,s=[13,10,7,4],l=["T","B","M","k"];if(o<1e3)return""+n+r;if(a>s[0]+3)return i.toExponential(t).replace("e+","x10^");for(var c=void 0,u=0;u=h){c=h;break}}var d=a-c+1,p=r.split(""),f=p.slice(0,d),g=p.slice(d,d+t+1),m=f.join(""),v=g.join("");v.length=o)return s.formatNumber(e/o,i,"")+" "+n+"B"}return e>=1024?s.formatNumber(e/1024,0)+" KB":s.formatNumber(e,0)+s.pluralize(e," byte")},filesize:function(){return s.fileSize.apply(s,arguments)},formatNumber:function(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],i=arguments.length<=2||void 0===arguments[2]?",":arguments[2],n=arguments.length<=3||void 0===arguments[3]?".":arguments[3],o=s.normalizePrecision(t),r=e<0&&"-"||"",a=String(parseInt(s.toFixed(Math.abs(e||0),o),10)),l=a.length>3?a.length%3:0;return r+function(e,t,i){return i?e.substr(0,i)+t:""}(a,i,l)+function(e,t,i){return e.substr(i).replace(/(\d{3})(?=\d)/g,"$1"+t)}(a,i,l)+function(e,t,i){return i?t+s.toFixed(Math.abs(e),i).split(".")[1]:""}(e,n,o)},toFixed:function(e,t){t=i(t)?t:s.normalizePrecision(t,0);var n=Math.pow(10,t);return(Math.round(e*n)/n).toFixed(t)},normalizePrecision:function(e,t){return e=Math.round(Math.abs(e)),n(e)?t:e},ordinal:function(e){var t=parseInt(e,10);if(0===t)return e;var i=t%100;if([11,12,13].indexOf(i)>=0)return t+"th";var n=t%10,o=void 0;switch(n){case 1:o="st";break;case 2:o="nd";break;case 3:o="rd";break;default:o="th"}return""+t+o},times:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(o(e)&&e>=0){var n=parseFloat(e),r=["never","once","twice"];if(i(t[n]))return String(t[n]);return i(r[n])&&r[n].toString()||n.toString()+" times"}return null},pluralize:function(e,t,n){return i(e)&&i(t)?(n=i(n)?n:t+"s",1===parseInt(e,10)?t:n):null},truncate:function(e){var t=arguments.length<=1||void 0===arguments[1]?100:arguments[1],i=arguments.length<=2||void 0===arguments[2]?"...":arguments[2];return e.length>t?e.substring(0,t-i.length)+i:e},truncateWords:function(e,t){for(var n=e.split(" "),o="",r=0;rt?o+"...":null},truncatewords:function(){return s.truncateWords.apply(s,arguments)},boundedNumber:function(e){var t=arguments.length<=1||void 0===arguments[1]?100:arguments[1],i=arguments.length<=2||void 0===arguments[2]?"+":arguments[2],n=void 0;return o(e)&&o(t)&&e>t&&(n=t+i),(n||e).toString()},truncatenumber:function(){return s.boundedNumber.apply(s,arguments)},oxford:function(e,t,n){var o=e.length,r=void 0;if(o<2)return String(e);if(2===o)return e.join(" and ");if(i(t)&&o>t){var a=o-t;r=t,n=i(n)?n:", and "+a+" "+s.pluralize(a,"other")}else r=-1,n=", and "+e[o-1];return e.slice(0,r).join(", ")+n},dictionary:function(e){var t=arguments.length<=1||void 0===arguments[1]?" is ":arguments[1],n=arguments.length<=2||void 0===arguments[2]?", ":arguments[2];if(i(e)&&"object"===(void 0===e?"undefined":r(e))&&!a(e)){var o=[];for(var s in e)if(e.hasOwnProperty(s)){var l=e[s];o.push(""+s+t+l)}return o.join(n)}return""},frequency:function(e,t){if(!a(e))return null;var i=e.length,n=s.times(i);return 0===i?n+" "+t:t+" "+n},pace:function(t,i){var n=arguments.length<=2||void 0===arguments[2]?"time":arguments[2];if(0===t||0===i)return"No "+s.pluralize(0,n);for(var o="Approximately",r=void 0,a=void 0,l=t/i,c=0;c1){r=u.name;break}}r||(o="Less than",a=1,r=e[e.length-1].name);var h=Math.round(a);return n=s.pluralize(h,n),o+" "+h+" "+n+" per "+r},nl2br:function(e){var t=arguments.length<=1||void 0===arguments[1]?"
":arguments[1];return e.replace(/\n/g,t)},br2nl:function(e){var t=arguments.length<=1||void 0===arguments[1]?"\r\n":arguments[1];return e.replace(/\/g,t)},capitalize:function(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return""+e.charAt(0).toUpperCase()+(t?e.slice(1).toLowerCase():e.slice(1))},capitalizeAll:function(e){return e.replace(/(?:^|\s)\S/g,function(e){return e.toUpperCase()})},titleCase:function(e){var t=/\b(a|an|and|at|but|by|de|en|for|if|in|of|on|or|the|to|via|vs?\.?)\b/i,i=/\S+[A-Z]+\S*/,n=void 0;return(n=function(e){for(var o=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]||arguments[2],a=[],l=e.split(o?/-/:/\s+/),c=0;cthis._ux||y(t-this._yi)>this._uy||this._len<5;return this.addData(l.L,e,t),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),i&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,i,n,o,r){return this.addData(l.C,e,t,i,n,o,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,i,n,o,r):this._ctx.bezierCurveTo(e,t,i,n,o,r)),this._xi=o,this._yi=r,this},quadraticCurveTo:function(e,t,i,n){return this.addData(l.Q,e,t,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,i,n):this._ctx.quadraticCurveTo(e,t,i,n)),this._xi=i,this._yi=n,this},arc:function(e,t,i,n,o,r){return this.addData(l.A,e,t,i,i,n,o-n,0,r?0:1),this._ctx&&this._ctx.arc(e,t,i,n,o,r),this._xi=g(o)*i+e,this._yi=m(o)*i+e,this},arcTo:function(e,t,i,n,o){return this._ctx&&this._ctx.arcTo(e,t,i,n,o),this},rect:function(e,t,i,n){return this._ctx&&this._ctx.rect(e,t,i,n),this.addData(l.R,e,t,i,n),this},closePath:function(){this.addData(l.Z);var e=this._ctx,t=this._x0,i=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,i),e.closePath()),this._xi=t,this._yi=i,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,i=0;it.length&&(this._expandData(),t=this.data);for(var i=0;i0&&g<=e||u<0&&g>=e||0==u&&(h>0&&m<=t||h<0&&m>=t);)n=this._dashIdx,i=a[n],g+=u*i,m+=h*i,this._dashIdx=(n+1)%y,u>0&&gl||h>0&&mc||s[n%2?"moveTo":"lineTo"](u>=0?p(g,e):f(g,e),h>=0?p(m,t):f(m,t));u=g-e,h=m-t,this._dashOffset=-v(u*u+h*h)},_dashedBezierTo:function(e,t,i,o,r,a){var s,l,c,u,h,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=n.cubicAt,b=0,_=this._dashIdx,w=f.length,A=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,e,i,r,s+.1)-x(m,e,i,r,s),c=x(y,t,o,a,s+.1)-x(y,t,o,a,s),b+=v(l*l+c*c);for(;_p);_++);for(s=(A-p)/b;s<=1;)u=x(m,e,i,r,s),h=x(y,t,o,a,s),_%2?g.moveTo(u,h):g.lineTo(u,h),s+=f[_]/b,_=(_+1)%w;_%2!=0&&g.lineTo(r,a),l=r-u,c=a-h,this._dashOffset=-v(l*l+c*c)},_dashedQuadraticTo:function(e,t,i,n){var o=i,r=n;i=(i+2*e)/3,n=(n+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,i,n,o,r)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,x&&(this.data=new Float32Array(e)))},getBoundingRect:function(){c[0]=c[1]=h[0]=h[1]=Number.MAX_VALUE,u[0]=u[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,i=0,n=0,s=0,p=0;pc||y(a-o)>u||d===h-1)&&(e.lineTo(r,a),n=r,o=a);break;case l.C:e.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],o=s[d-1];break;case l.Q:e.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],o=s[d-1];break;case l.A:var f=s[d++],v=s[d++],x=s[d++],b=s[d++],_=s[d++],w=s[d++],A=s[d++],S=s[d++],M=x>b?x:b,k=x>b?1:x/b,T=x>b?b/x:1,I=Math.abs(x-b)>.001,C=_+w;I?(e.translate(f,v),e.rotate(A),e.scale(k,T),e.arc(0,0,M,_,C,1-S),e.scale(1/k,1/T),e.rotate(-A),e.translate(-f,-v)):e.arc(f,v,M,_,C,1-S),1==d&&(t=g(_)*x+f,i=m(_)*b+v),n=g(C)*x+f,o=m(C)*b+v;break;case l.R:t=n=s[d],i=o=s[d+1],e.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:e.closePath(),n=t,o=i}}}},b.CMD=l,e.exports=b},function(e,t,i){"use strict";function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}i.d(t,"d",function(){return s}),i.d(t,"c",function(){return l}),i.d(t,"b",function(){return c}),i.d(t,"a",function(){return u});var a=function e(t){r(this,e),this.name=t.name,null!=t.conf?(this.encryption=t.conf.use_encryption,this.compression=t.conf.use_compression):(this.encryption="",this.compression=""),this.conns=t.cur_conns,this.traffic_in=t.today_traffic_in,this.traffic_out=t.today_traffic_out,this.status=t.status},s=function(e){function t(e){r(this,t);var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.type="tcp",null!=e.conf?(i.addr=e.conf.bind_addr+":"+e.conf.remote_port,i.port=e.conf.remote_port):(i.addr="",i.port=""),i}return o(t,e),t}(a),l=function(e){function t(e){r(this,t);var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.type="udp",null!=e.conf?(i.addr=e.conf.bind_addr+":"+e.conf.remote_port,i.port=e.conf.remote_port):(i.addr="",i.port=""),i}return o(t,e),t}(a),c=function(e){function t(e,i,o){r(this,t);var a=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.type="http",a.port=i,null!=e.conf?(a.custom_domains=e.conf.custom_domains,a.host_header_rewrite=e.conf.host_header_rewrite,a.locations=e.conf.locations,""!=e.conf.sub_domain?a.subdomain=e.conf.sub_domain+"."+o:a.subdomain=""):(a.custom_domains="",a.host_header_rewrite="",a.subdomain="",a.locations=""),a}return o(t,e),t}(a),u=function(e){function t(e,i,o){r(this,t);var a=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.type="https",a.port=i,null!=e.conf?(a.custom_domains=e.conf.custom_domains,""!=e.conf.sub_domain?a.subdomain=e.conf.sub_domain+"."+o:a.subdomain=""):(a.custom_domains="",a.subdomain=""),a}return o(t,e),t}(a)},function(e,t,i){"use strict";function n(e){return null==e.value?e:e.value}var o=i(11),r=i(19),a=i(280),s=i(0),l={_baseAxisDim:null,getInitialData:function(e,t){var i,a,s=t.getComponent("xAxis",this.get("xAxisIndex")),l=t.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),u=l.get("type");"category"===c?(e.layout="horizontal",i=s.getCategories(),a=!0):"category"===u?(e.layout="vertical",i=l.getCategories(),a=!0):e.layout=e.layout||"horizontal",this._baseAxisDim="horizontal"===e.layout?"x":"y";var h=e.data,d=this.dimensions=["base"].concat(this.valueDimensions);r(d,h);var p=new o(d,this);return p.initData(h,i?i.slice():null,function(e,t,i,o){var r=n(e);return a?"base"===t?i:r[o-1]:r[o]}),p},coordDimToDataDim:function(e){var t=this.valueDimensions.slice(),i=["base"];return{horizontal:{x:i,y:t},vertical:{x:t,y:i}}[this.get("layout")][e]},dataDimToCoordDim:function(e){var t;return s.each(["x","y"],function(i,n){var o=this.coordDimToDataDim(i);s.indexOf(o,e)>=0&&(t=i)},this),t},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}},c={init:function(){var e=this._whiskerBoxDraw=new a(this.getStyleUpdater());this.group.add(e.group)},render:function(e,t,i){this._whiskerBoxDraw.updateData(e.getData())},remove:function(e){this._whiskerBoxDraw.remove()}};e.exports={seriesModelMixin:l,viewMixin:c}},function(e,t,i){function n(e,t,i){var n=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),s=r.get("link",!0)||[],c=[];h(i.getCoordinateSystems(),function(i){function u(n,u,h){var d=h.model.getModel("axisPointer",r),p=d.get("show");if(p&&("auto"!==p||n||l(d))){null==u&&(u=d.get("triggerTooltip")),d=n?o(h,v,r,t,n,u):d;var m=d.get("snap"),y=f(h.model),x=u||m||"category"===h.type,b=e.axesInfo[y]={key:y,axis:h,coordSys:i,axisPointerModel:d,triggerTooltip:u,involveSeries:x,snap:m,useHandle:l(d),seriesModels:[]};g[y]=b,e.seriesInvolved|=x;var _=a(s,h);if(null!=_){var w=c[_]||(c[_]={axesInfo:{}});w.axesInfo[y]=b,w.mapper=s[_].mapper,b.linkGroup=w}}}if(i.axisPointerEnabled){var p=f(i.model),g=e.coordSysAxesInfo[p]={};e.coordSysMap[p]=i;var m=i.model,v=m.getModel("tooltip",n);if(h(i.getAxes(),d(u,!1,null)),i.getTooltipAxes&&n&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),b=i.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&h(b.baseAxes,d(u,!x||"cross",y)),x&&h(b.otherAxes,d(u,"cross",!1))}}})}function o(e,t,i,n,o,r){var a=t.getModel("axisPointer"),s={};h(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(e){s[e]=c.clone(a.get(e))}),s.snap="category"!==e.type&&!!r,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===o&&(l.show=!0,!r)){var d=s.lineStyle=a.get("crossStyle");d&&c.defaults(l.textStyle||(l.textStyle={}),d.textStyle)}return e.model.getModel("axisPointer",new u(s,i,n))}function r(e,t){t.eachSeries(function(t){var i=t.coordinateSystem,n=t.get("tooltip.trigger",!0);i&&"none"!==n&&n!==!1&&"item"!==n&&t.get("axisPointer.show",!0)!==!1&&h(e.coordSysAxesInfo[f(i.model)],function(e){var n=e.axis;i.getAxis(n.dim)===n&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})},this)}function a(e,t){for(var i=t.model,n=t.dim,o=0;o=0||e===t}function l(e){return!!e.get("handle.show")}var c=i(0),u=i(9),h=c.each,d=c.curry,p={};p.collect=function(e,t){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n(i,e,t),i.seriesInvolved&&r(i,e),i},p.fixValue=function(e){var t=p.getAxisInfo(e);if(t){var i=t.axisPointerModel,n=t.axis.scale,o=i.option,r=i.get("status"),a=i.get("value");null!=a&&(a=n.parse(a));var s=l(i);null==r&&(o.status=s?"show":"hide");var c=n.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==a||a>c[1])&&(a=c[1]),a0?1.1:1/1.1;l.call(this,e,t,e.offsetX,e.offsetY)}}function s(e){if(!p.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;l.call(this,e,t,e.pinchX,e.pinchY)}}function l(e,t,i,n){if(this.containsPoint&&this.containsPoint(i,n)){d.stop(e.event);var o=this.target,r=this.zoomLimit;if(o){var a=o.position,s=o.scale,l=this.zoom=this.zoom||1;if(l*=t,r){var c=r.min||0,u=r.max||1/0;l=Math.max(Math.min(u,l),c)}var h=l/this.zoom;this.zoom=l,a[0]-=(i-a[0])*(h-1),a[1]-=(n-a[1])*(h-1),s[0]*=h,s[1]*=h,o.dirty()}this.trigger("zoom",t,i,n)}}function c(e,t){this.target=t,this.containsPoint,this.zoomLimit,this.zoom,this._zr=e;var i=h.bind,l=i(n,this),c=i(o,this),d=i(r,this),p=i(a,this),f=i(s,this);u.call(this),this.setContainsPoint=function(e){this.containsPoint=e},this.enable=function(t){this.disable(),null==t&&(t=!0),t!==!0&&"move"!==t&&"pan"!==t||(e.on("mousedown",l),e.on("mousemove",c),e.on("mouseup",d)),t!==!0&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",p),e.on("pinch",f))},this.disable=function(){e.off("mousedown",l),e.off("mousemove",c),e.off("mouseup",d),e.off("mousewheel",p),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}var u=i(39),h=i(0),d=i(26),p=i(129);h.mixin(c,u),e.exports=c},function(e,t,i){var n=i(143),o=i(0),r=i(12),a=i(7),s=["value","category","time","log"];e.exports=function(e,t,i,l){o.each(s,function(r){t.extend({type:e+"Axis."+r,mergeDefaultAndTheme:function(t,n){var s=this.layoutMode,l=s?a.getLayoutParams(t):{},c=n.getTheme();o.merge(t,c.get(r+"Axis")),o.merge(t,this.getDefaultOption()),t.type=i(e,t),s&&a.mergeLayoutParam(t,l,s)},defaultOption:o.mergeAll([{},n[r+"Axis"],l],!0)})}),r.registerSubTypeDefaulter(e+"Axis",o.curry(i,e))}},function(e,t,i){function n(e,t){var i=e.get("boundingCoords");if(null!=i){var n=i[0],o=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(o[0])||isNaN(o[1])?__DEV__&&console.error("Invalid boundingCoords"):this.setBoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1])}var r,s=this.getBoundingRect(),c=e.get("layoutCenter"),u=e.get("layoutSize"),h=t.getWidth(),d=t.getHeight(),p=e.get("aspectScale")||.75,f=s.width/s.height*p,g=!1;c&&u&&(c=[l.parsePercent(c[0],h),l.parsePercent(c[1],d)],u=l.parsePercent(u,Math.min(h,d)),isNaN(c[0])||isNaN(c[1])||isNaN(u)?__DEV__&&console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."):g=!0);var m;if(g){var m={};f>1?(m.width=u,m.height=u/f):(m.height=u,m.width=u*f),m.y=c[1]-m.height/2,m.x=c[0]-m.width/2}else r=e.getBoxLayoutParams(),r.aspect=f,m=a.getLayoutRect(r,{width:h,height:d});this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function o(e,t){s.each(t.get("geoCoord"),function(t,i){e.addGeoCoord(i,t)})}var r=i(421),a=i(7),s=i(0),l=i(3),c={};if(__DEV__)var u=function(e){console.error("Map "+e+" not exists. You can download map file on http://echarts.baidu.com/download-map.html")};var h={dimensions:r.prototype.dimensions,create:function(e,t){var i=[];e.eachComponent("geo",function(e,a){var s=e.get("map"),l=c[s];__DEV__&&(l||u(s));var h=new r(s+a,s,l&&l.geoJson,l&&l.specialAreas,e.get("nameMap"));h.zoomLimit=e.get("scaleLimit"),i.push(h),o(h,e),e.coordinateSystem=h,h.model=e,h.resize=n,h.resize(e,t)}),e.eachSeries(function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=i[t]}});var a={};return e.eachSeriesByType("map",function(e){if(!e.getHostGeoModel()){var t=e.getMapType();a[t]=a[t]||[],a[t].push(e)}}),s.each(a,function(e,a){var l=c[a];__DEV__&&(l||u(e[0].get("map")));var h=s.map(e,function(e){return e.get("nameMap")}),d=new r(a,a,l&&l.geoJson,l&&l.specialAreas,s.mergeAll(h));d.zoomLimit=s.retrieve.apply(null,s.map(e,function(e){return e.get("scaleLimit")})),i.push(d),d.resize=n,d.resize(e[0],t),s.each(e,function(e){e.coordinateSystem=d,o(d,e)})}),i},registerMap:function(e,t,i){t.geoJson&&!t.features&&(i=t.specialAreas,t=t.geoJson),"string"==typeof t&&(t="undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")()),c[e]={geoJson:t,specialAreas:i}},getMap:function(e){return c[e]},getFilledRegions:function(e,t){var i=(e||[]).slice(),n=h.getMap(t),o=n&&n.geoJson;if(!o)return __DEV__&&u(t),e;for(var r={},a=o.features,s=0;st[1]&&(t[1]=e[1]),u.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval||this.niceTicks(),this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice()},getTicks:function(){this._interval||this.niceTicks();var e=this._interval,t=this._extent,i=[];if(e){var n=this._niceExtent,o=this._intervalPrecision=l(e);o+=2,t[0]1e4)return[];t[1]>(i.length?i[i.length-1]:n[1])&&i.push(t[1])}return i},getTicksLabels:function(){for(var e=[],t=this.getTicks(),i=0;i=t[0]&&e<=t[1]},r.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},r.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},r.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},r.unionExtentFromData=function(e,t){this.unionExtent(e.getDataExtent(t,!0))},r.getExtent=function(){return this._extent.slice()},r.setExtent=function(e,t){var i=this._extent;isNaN(e)||(i[0]=e),isNaN(t)||(i[1]=t)},r.getTicksLabels=function(){for(var e=[],t=this.getTicks(),i=0;i=0&&(i.splice(n,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,i=this.__zr;t&&t!==e.__storage&&(t.addToMap(e),e instanceof a&&e.addChildrenToStorage(t)),i&&i.refresh()},remove:function(e){var t=this.__zr,i=this.__storage,o=this._children,r=n.indexOf(o,e);return r<0?this:(o.splice(r,1),e.parent=null,i&&(i.delFromMap(e.id),e instanceof a&&e.delChildrenFromStorage(i)),t&&t.refresh(),this)},removeAll:function(){var e,t,i=this._children,n=this.__storage;for(t=0;t.8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var v=s/2,d=a.tangentAt(v),y=[d[1],-d[0]],x=a.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),p=[x[0]+y[0]*m,x[1]+y[1]*m],f="center",g="bottom";var b=-Math.atan2(d[1],d[0]);c[0].8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||g,textAlign:n.__textAlign||f},position:p,scale:[o,o]})}}}}function l(e,t,i){d.Group.call(this),this._createLine(e,t,i)}var c=i(20),u=i(6),h=i(279),d=i(2),p=i(0),f=i(3),g=["fromSymbol","toSymbol"],m=l.prototype;m.beforeUpdate=s,m._createLine=function(e,t,i){var a=e.hostModel,s=e.getItemLayout(t),l=r(s);l.shape.percent=0,d.initProps(l,{shape:{percent:1}},a,t),this.add(l);var c=new d.Text({name:"label"});this.add(c),p.each(g,function(i){var r=o(i,e,t);this.add(r),this[n(i)]=e.getItemVisual(t,i)},this),this._updateCommonStl(e,t,i)},m.updateData=function(e,t,i){var r=e.hostModel,s=this.childOfName("line"),l=e.getItemLayout(t),c={shape:{}};a(c.shape,l),d.updateProps(s,c,r,t),p.each(g,function(i){var r=e.getItemVisual(t,i),a=n(i);if(this[a]!==r){this.remove(this.childOfName(i));var s=o(i,e,t);this.add(s)}this[a]=r},this),this._updateCommonStl(e,t,i)},m._updateCommonStl=function(e,t,i){var n=e.hostModel,o=this.childOfName("line"),r=i&&i.lineStyle,a=i&&i.hoverLineStyle,s=i&&i.labelModel,l=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var c=e.getItemModel(t);r=c.getModel("lineStyle.normal").getLineStyle(),a=c.getModel("lineStyle.emphasis").getLineStyle(),s=c.getModel("label.normal"),l=c.getModel("label.emphasis")}var u=e.getItemVisual(t,"color"),h=p.retrieve(e.getItemVisual(t,"opacity"),r.opacity,1);o.useStyle(p.defaults({strokeNoScale:!0,fill:"none",stroke:u,opacity:h},r)),o.hoverStyle=a,p.each(g,function(e){var t=this.childOfName(e);t&&(t.setColor(u),t.setStyle({opacity:h}))},this);var m,v,y=s.getShallow("show"),x=l.getShallow("show"),b=this.childOfName("label");if(y||x){var _=n.getRawValue(t);v=null==_?v=e.getName(t):isFinite(_)?f.round(_):_,m=u||"#000"}if(y){var w=s.getModel("textStyle");b.setStyle({text:p.retrieve(n.getFormattedLabel(t,"normal",e.dataType),v),textFont:w.getFont(),fill:w.getTextColor()||m}),b.__textAlign=w.get("align"),b.__verticalAlign=w.get("baseline"),b.__position=s.get("position")}else b.setStyle("text","");if(x){var A=l.getModel("textStyle");b.hoverStyle={text:p.retrieve(n.getFormattedLabel(t,"emphasis",e.dataType),v),textFont:A.getFont(),fill:A.getTextColor()||m}}else b.hoverStyle={text:""};b.ignore=!y&&!x,d.setHoverStyle(this)},m.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},m.setLinePoints=function(e){var t=this.childOfName("line");a(t.shape,e),t.dirty()},p.inherits(l,d.Group),e.exports=l},function(e,t,i){function n(e){return isNaN(e[0])||isNaN(e[1])}function o(e){return!n(e[0])&&!n(e[1])}function r(e){this._ctor=e||s,this.group=new a.Group}var a=i(2),s=i(75),l=r.prototype;l.updateData=function(e){var t=this._lineData,i=this.group,n=this._ctor,r=e.hostModel,a={lineStyle:r.getModel("lineStyle.normal").getLineStyle(),hoverLineStyle:r.getModel("lineStyle.emphasis").getLineStyle(),labelModel:r.getModel("label.normal"),hoverLabelModel:r.getModel("label.emphasis")};e.diff(t).add(function(t){if(o(e.getItemLayout(t))){var r=new n(e,t,a);e.setItemGraphicEl(t,r),i.add(r)}}).update(function(r,s){var l=t.getItemGraphicEl(s);if(!o(e.getItemLayout(r)))return void i.remove(l);l?l.updateData(e,r,a):l=new n(e,r,a),e.setItemGraphicEl(r,l),i.add(l)}).remove(function(e){i.remove(t.getItemGraphicEl(e))}).execute(),this._lineData=e},l.updateLayout=function(){var e=this._lineData;e.eachItemGraphicEl(function(t,i){t.updateLayout(e,i)},this)},l.remove=function(){this.group.removeAll()},e.exports=r},function(e,t,i){function n(e,t){var i=e.getItemVisual(t,"symbolSize");return i instanceof Array?i.slice():[+i,+i]}function o(e){return[e[0]/2,e[1]/2]}function r(e,t,i){c.Group.call(this),this.updateData(e,t,i)}function a(e,t){this.parent.drift(e,t)}var s=i(0),l=i(20),c=i(2),u=i(3),h=r.prototype;h._createSymbol=function(e,t,i,n){this.removeAll();var r=t.hostModel,s=t.getItemVisual(i,"color"),u=l.createSymbol(e,-1,-1,2,2,s);u.attr({z2:100,culling:!0,scale:[0,0]}),u.drift=a,c.initProps(u,{scale:o(n)},r,i),this._symbolType=e,this.add(u)},h.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(e,t){var i=this.childAt(0);i.zlevel=e,i.z=t},h.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":"pointer"},h.updateData=function(e,t,i){this.silent=!1;var r=e.getItemVisual(t,"symbol")||"circle",a=e.hostModel,s=n(e,t);if(r!==this._symbolType)this._createSymbol(r,e,t,s);else{var l=this.childAt(0);l.silent=!1,c.updateProps(l,{scale:o(s)},a,t)}this._updateCommon(e,t,s,i),this._seriesModel=a};var d=["itemStyle","normal"],p=["itemStyle","emphasis"],f=["label","normal"],g=["label","emphasis"];h._updateCommon=function(e,t,i,n){var r=this.childAt(0),a=e.hostModel,l=e.getItemVisual(t,"color");"image"!==r.type&&r.useStyle({strokeNoScale:!0}),n=n||null;var h=n&&n.itemStyle,m=n&&n.hoverItemStyle,v=n&&n.symbolRotate,y=n&&n.symbolOffset,x=n&&n.labelModel,b=n&&n.hoverLabelModel,_=n&&n.hoverAnimation;if(!n||e.hasItemOption){var w=e.getItemModel(t);h=w.getModel(d).getItemStyle(["color"]),m=w.getModel(p).getItemStyle(),v=w.getShallow("symbolRotate"),y=w.getShallow("symbolOffset"),x=w.getModel(f),b=w.getModel(g),_=w.getShallow("hoverAnimation")}else m=s.extend({},m);var A=r.style;r.attr("rotation",(v||0)*Math.PI/180||0),y&&r.attr("position",[u.parsePercent(y[0],i[0]),u.parsePercent(y[1],i[1])]),r.setColor(l),r.setStyle(h);var S=e.getItemVisual(t,"opacity");null!=S&&(A.opacity=S);for(var M,k,T=e.dimensions.slice();T.length&&(M=T.pop(),"ordinal"===(k=e.getDimensionInfo(M).type)||"time"===k););null!=M&&x.getShallow("show")?(c.setText(A,x,l),A.text=s.retrieve(a.getFormattedLabel(t,"normal"),e.get(M,t))):A.text="",null!=M&&b.getShallow("show")?(c.setText(m,b,l),m.text=s.retrieve(a.getFormattedLabel(t,"emphasis"),e.get(M,t))):m.text="",r.off("mouseover").off("mouseout").off("emphasis").off("normal"),r.hoverStyle=m,c.setHoverStyle(r);var I=o(i);if(_&&a.isAnimationEnabled()){var C=function(){var e=I[1]/I[0];this.animateTo({scale:[Math.max(1.1*I[0],I[0]+3),Math.max(1.1*I[1],I[1]+3*e)]},400,"elasticOut")},L=function(){this.animateTo({scale:I},400,"elasticOut")};r.on("mouseover",C).on("mouseout",L).on("emphasis",C).on("normal",L)}},h.fadeOut=function(e){var t=this.childAt(0);this.silent=t.silent=!0,t.style.text="",c.updateProps(t,{scale:[0,0]},this._seriesModel,this.dataIndex,e)},s.inherits(r,c.Group),e.exports=r},function(e,t,i){"use strict";function n(){}function o(e,t,i,n){r(p(i).lastProp,n)||(p(i).lastProp=n,t?d.updateProps(i,n,e):(i.stopAnimation(),i.attr(n)))}function r(e,t){if(u.isObject(e)&&u.isObject(t)){var i=!0;return u.each(t,function(t,n){i&=r(e[n],t)}),!!i}return e===t}function a(e,t){e[t.get("label.show")?"show":"hide"]()}function s(e){return{position:e.position.slice(),rotation:e.rotation||0}}function l(e,t){var i=e.get("icon"),n={x:-1,y:-1,width:2,height:2},o=u.extend({style:{strokeNoScale:!0},rectHover:!0,cursor:"move",draggable:!0},t);return 0===i.indexOf("image://")?(n.image=i.slice(8),o.style=n,new d.Image(o)):d.makePath(i.replace("path://",""),o,n,"center")}function c(e,t,i){var n=t.get("z"),o=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=o&&(e.zlevel=o),e.silent=i)})}var u=i(0),h=i(24),d=i(2),p=i(5).makeGetter(),f=i(56),g=i(26),m=i(51),v=u.clone,y=u.bind;n.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,i,n){var r=t.get("value"),a=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=i,n||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var s=this._group,l=this._handle;if(!a||"hide"===a)return s&&s.hide(),void(l&&l.hide());s&&s.show(),l&&l.show();var h={};this.makeElOption(h,r,e,t,i);var p=h.graphicKey;p!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=p;var f=this._moveAnimation=this.determineAnimation(e,t);if(s){var g=u.curry(o,t,f);this.updatePointerEl(s,h,g,t),this.updateLabelEl(s,h,g,t)}else s=this._group=new d.Group,this.createPointerEl(s,h,e,t),this.createLabelEl(s,h,e,t),i.getZr().add(s);c(s,t,!0),this._renderHandle(r)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var i=t.get("animation"),n=e.axis,o="category"===n.type,r=t.get("snap");if(!r&&!o)return!1;if("auto"===i||null==i){var a=this.animationThreshold;if(o&&n.getBandWidth()>a)return!0;if(r){var s=f.getAxisInfo(e).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return i===!0},makeElOption:function(e,t,i,n,o){},createPointerEl:function(e,t,i,n){var o=t.pointer,r=p(e).pointerEl=new d[o.type](v(t.pointer));e.add(r)},createLabelEl:function(e,t,i,n){var o=p(e).labelEl=new d.Rect(v(t.label));e.add(o),a(o,n)},updatePointerEl:function(e,t,i){var n=p(e).pointerEl;n&&(n.setStyle(t.pointer.style),i(n,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,i,n){var o=p(e).labelEl;o&&(o.setStyle(t.label.style),i(o,{shape:t.label.shape,position:t.label.position}),a(o,n))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t=this._axisPointerModel,i=this._api.getZr(),n=this._handle,o=t.getModel("handle"),r=t.get("status");if(!o.get("show")||!r||"hide"===r)return n&&i.remove(n),void(this._handle=null);var a;this._handle||(a=!0,n=this._handle=l(o,{onmousemove:function(e){g.stop(e.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),i.add(n)),c(n,t,!1);var s=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];n.setStyle(o.getItemStyle(null,s));var h=o.get("size");u.isArray(h)||(h=[h,h]),n.attr("scale",[h[0]/2,h[1]/2]),m.createOrUpdate(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,a)}},_moveHandleToValue:function(e,t){o(this._axisPointerModel,!t&&this._moveAnimation,this._handle,s(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(s(i),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(s(n)),p(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var e=this._payloadInfo,t={type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,highDownKey:"axisPointerHandle"};t[this._axisModel.axis.dim+"AxisId"]=this._axisModel.id,this._api.dispatchAction(t)}},_onHandleDragEnd:function(e){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),i=this._group,n=this._handle;t&&i&&(this._lastGraphicKey=null,i&&t.remove(i),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}},n.prototype.constructor=n,h.enableClassExtend(n),e.exports=n},function(e,t,i){var n=i(4),o=i(0),r={},a=["x","y","z","radius","angle","single"],s=["cartesian2d","polar","singleAxis"];r.isCoordSupported=function(e){return o.indexOf(s,e)>=0},r.createNameEach=function(e,t){e=e.slice();var i=o.map(e,n.capitalFirst);t=(t||[]).slice();var r=o.map(t,n.capitalFirst);return function(n,a){o.each(e,function(e,o){for(var s={name:e,capital:i[o]},l=0;l=0}function r(e,n){var r=!1;return t(function(t){o.each(i(e,t)||[],function(e){n.records[t.name][e]&&(r=!0)})}),r}function a(e,n){n.nodes.push(e),t(function(t){o.each(i(e,t)||[],function(e){n.records[t.name][e]=!0})})}return function(i){function o(e){!n(e,s)&&r(e,s)&&(a(e,s),l=!0)}var s={nodes:[],records:{}};if(t(function(e){s.records[e.name]={}}),!i)return s;a(i,s);var l;do{l=!1,e(o)}while(l);return s}},e.exports=r},function(e,t,i){function n(e){__DEV__&&B.assert(e),V.call(this),this._zr=e,this.group=new F.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,__DEV__&&this._mounted,this._uid="brushController_"+ne++,this._handlers={},W(oe,function(e,t){this._handlers[t]=B.bind(e,this)},this)}function o(e,t){var i=e._zr;e._enableGlobalPan||H.take(i,$,e._uid),W(e._handlers,function(e,t){i.on(t,e)}),e._brushType=t.brushType,e._brushOption=B.merge(B.clone(ie),t,!0)}function r(e){var t=e._zr;H.release(t,$,e._uid),W(e._handlers,function(e,i){t.off(i,e)}),e._brushType=e._brushOption=null}function a(e,t){var i=re[t.brushType].createCover(e,t);return c(i),i.__brushOption=t,e.group.add(i),i}function s(e,t){var i=h(t);return i.endCreating&&(i.endCreating(e,t),c(t)),t}function l(e,t){var i=t.__brushOption;h(t).updateCoverShape(e,t,i.range,i)}function c(e){e.traverse(function(e){e.z=J,e.z2=J})}function u(e,t){h(t).updateCommon(e,t),l(e,t)}function h(e){return re[e.__brushOption.brushType]}function d(e,t,i){var n=e._panels;if(!n)return!0;var o;return W(n,function(e){e.contain(t,i)&&(o=e)}),o}function p(e,t){var i=e._panels;if(!i)return!0;var n=t.__brushOption.panelId;return null==n||i[n]}function f(e){var t=e._covers,i=t.length;return W(t,function(t){e.group.remove(t)},e),t.length=0,!!i}function g(e,t){var i=Z(e._covers,function(e){var t=e.__brushOption,i=B.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:i}});e.trigger("brush",i,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function m(e){var t=e._track;if(!t.length)return!1;var i=t[t.length-1],n=t[0],o=i[0]-n[0],r=i[1]-n[1];return X(o*o+r*r,.5)>Q}function v(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function y(e,t,i,n){var o=new F.Group;return o.add(new F.Rect({name:"main",style:w(i),silent:!0,draggable:!0,cursor:"move",drift:j(e,t,o,"nswe"),ondragend:j(g,t,{isEnd:!0})})),W(n,function(i){o.add(new F.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:j(e,t,o,i),ondragend:j(g,t,{isEnd:!0})}))}),o}function x(e,t,i,n){var o=n.brushStyle.lineWidth||0,r=q(o,K),a=i[0][0],s=i[1][0],l=a-o/2,c=s-o/2,u=i[0][1],h=i[1][1],d=u-r+o/2,p=h-r+o/2,f=u-a,g=h-s,m=f+o,v=g+o;_(e,t,"main",a,s,f,g),n.transformable&&(_(e,t,"w",l,c,r,v),_(e,t,"e",d,c,r,v),_(e,t,"n",l,c,m,r),_(e,t,"s",l,p,m,r),_(e,t,"nw",l,c,r,r),_(e,t,"ne",d,c,r,r),_(e,t,"sw",l,p,r,r),_(e,t,"se",d,p,r,r))}function b(e,t){var i=t.__brushOption,n=i.transformable,o=t.childAt(0);o.useStyle(w(i)),o.attr({silent:!n,cursor:n?"move":"default"}),W(["w","e","n","s","se","sw","ne","nw"],function(i){var o=t.childOfName(i),r=M(e,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?te[r]+"-resize":null})})}function _(e,t,i,n,o,r,a){var s=t.childOfName(i);s&&s.setShape(L(C(e,t,[[n,o],[n+r,o+a]])))}function w(e){return B.defaults({strokeNoScale:!0},e.brushStyle)}function A(e,t,i,n){var o=[Y(e,i),Y(t,n)],r=[q(e,i),q(t,n)];return[[o[0],r[0]],[o[1],r[1]]]}function S(e){return F.getTransform(e.group)}function M(e,t){if(t.length>1){t=t.split("");var i=[M(e,t[0]),M(e,t[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},o={left:"w",right:"e",top:"n",bottom:"s"},i=F.transformDirection(n[t],S(e));return o[i]}function k(e,t,i,n,o,r,a,s){var l=n.__brushOption,c=e(l.range),h=I(i,r,a);W(o.split(""),function(e){var t=ee[e];c[t[0]][t[1]]+=h[t[0]]}),l.range=t(A(c[0][0],c[1][0],c[0][1],c[1][1])),u(i,n),g(i,{isEnd:!1})}function T(e,t,i,n,o){var r=t.__brushOption.range,a=I(e,i,n);W(r,function(e){e[0]+=a[0],e[1]+=a[1]}),u(e,t),g(e,{isEnd:!1})}function I(e,t,i){var n=e.group,o=n.transformCoordToLocal(t,i),r=n.transformCoordToLocal(0,0);return[o[0]-r[0],o[1]-r[1]]}function C(e,t,i){var n=p(e,t);if(n===!0)return B.clone(i);var o=n.getBoundingRect();return B.map(i,function(e){var t=e[0];t=q(t,o.x),t=Y(t,o.x+o.width);var i=e[1];return i=q(i,o.y),i=Y(i,o.y+o.height),[t,i]})}function L(e){var t=Y(e[0][0],e[1][0]),i=Y(e[0][1],e[1][1]);return{x:t,y:i,width:q(e[0][0],e[1][0])-t,height:q(e[0][1],e[1][1])-i}}function D(e,t){var i=t.offsetX,n=t.offsetY,o=e._zr;if(e._brushType){for(var r,a=e._panels,s=e._covers,l=0;lt[1]&&n.reverse(),e<0&&n[0]+e0&&n[1]+e>i[1]&&(e=i[1]-n[1]),e}return e?("rigid"===n?(e=r(e,t,i),t[0]+=e,t[1]+=e):(e=r(e,t[o],i),t[o]+=e,"push"===n&&t[0]>t[1]&&(t[1-o]=t[o])),t):t}},function(e,t,i){function n(e){o.defaultEmphasis(e.label,o.LABEL_OPTIONS)}var o=i(5),r=i(0),a=i(13),s=i(4),l=s.addCommas,c=s.encodeHTML,u=i(1).extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,i,n){if(__DEV__&&"marker"===this.type)throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(e,i),this.mergeOption(e,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t,i,o){var a=this.constructor,s=this.mainType+"Model";i||t.eachSeries(function(e){var i=e.get(this.mainType),l=e[s];if(!i||!i.data)return void(e[s]=null);l?l.mergeOption(i,t,!0):(o&&n(i),r.each(i.data,function(e){e instanceof Array?(n(e[0]),n(e[1])):n(e)}),l=new a(i,this,t),r.extend(l,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),l.__hostSeries=e),e[s]=l},this)},formatTooltip:function(e){var t=this.getData(),i=this.getRawValue(e),n=r.isArray(i)?r.map(i,l).join(", "):l(i),o=t.getName(e),a=c(this.name);return(null!=i||o)&&(a+="
"),o&&(a+=c(o),null!=i&&(a+=" : ")),null!=i&&(a+=c(n)),a},getData:function(){return this._data},setData:function(e){this._data=e}});r.mixin(u,o.dataFormatMixin),e.exports=u},function(e,t,i){e.exports=i(1).extendComponentView({type:"marker",init:function(){this.markerGroupMap={}},render:function(e,t,i){var n=this.markerGroupMap;for(var o in n)n.hasOwnProperty(o)&&(n[o].__keep=!1);var r=this.type+"Model";t.eachSeries(function(e){var n=e[r];n&&this.renderSeries(e,n,t,i)},this);for(var o in n)n.hasOwnProperty(o)&&!n[o].__keep&&this.group.remove(n[o].group)},renderSeries:function(){}})},function(e,t,i){function n(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function o(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function r(e,t,i){var n=-1;do{n=Math.max(l.getPrecision(e.get(t,i)),n),e=e.stackedOn}while(e);return n}function a(e,t,i,n,o,a){var s=[],l=m(t,n,e),c=t.indexOfNearest(n,l,!0)[0];s[o]=t.get(i,c,!0),s[a]=t.get(n,c,!0);var u=r(t,n,c);return u>=0&&(s[a]=+s[a].toFixed(u)),s}var s=i(0),l=i(3),c=s.indexOf,u=s.curry,h={min:u(a,"min"),max:u(a,"max"),average:u(a,"average")},d=function(e,t){var i=e.getData(),n=e.coordinateSystem;if(t&&!o(t)&&!s.isArray(t.coord)&&n){var r=n.dimensions,a=p(t,i,n,e);if(t=s.clone(t),t.type&&h[t.type]&&a.baseAxis&&a.valueAxis){var l=c(r,a.baseAxis.dim),u=c(r,a.valueAxis.dim);t.coord=h[t.type](i,a.baseDataDim,a.valueDataDim,l,u),t.value=t.coord[u]}else{for(var d=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],f=0;f<2;f++)if(h[d[f]]){var g=e.coordDimToDataDim(r[f])[0];d[f]=m(i,g,d[f])}t.coord=d}}return t},p=function(e,t,i,n){var o={};return null!=e.valueIndex||null!=e.valueDim?(o.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,o.valueAxis=i.getAxis(n.dataDimToCoordDim(o.valueDataDim)),o.baseAxis=i.getOtherAxis(o.valueAxis),o.baseDataDim=n.coordDimToDataDim(o.baseAxis.dim)[0]):(o.baseAxis=n.getBaseAxis(),o.valueAxis=i.getOtherAxis(o.baseAxis),o.baseDataDim=n.coordDimToDataDim(o.baseAxis.dim)[0],o.valueDataDim=n.coordDimToDataDim(o.valueAxis.dim)[0]),o},f=function(e,t){return!(e&&e.containData&&t.coord&&!n(t))||e.containData(t.coord)},g=function(e,t,i,n){return n<2?e.coord&&e.coord[n]:e.value},m=function(e,t,i){if("average"===i){var n=0,o=0;return e.each(t,function(e,t){isNaN(e)||(n+=e,o++)},!0),n/o}return e.getDataExtent(t,!0)["max"===i?1:0]};e.exports={dataTransform:d,dataFilter:f,dimValueGetter:g,getAxisInfo:p,numCalculate:m}},function(e,t,i){function n(e,t,i){return e.getCoordSysModel()===t}function o(e){var t,i=e.model,n=i.getFormattedLabels(),o=i.getModel("axisLabel.textStyle"),r=1,a=n.length;a>40&&(r=Math.ceil(a/40));for(var s=0;s=0&&i.push(e)}),i}e.topologicalTravel=function(e,t,o,r){function a(e){0===--c[e].entryCount&&u.push(e)}function s(e){h[e]=!0,a(e)}if(e.length){var l=i(t),c=l.graph,u=l.noEntryList,h={};for(n.each(e,function(e){h[e]=!0});u.length;){var d=u.pop(),p=c[d],f=!!h[d];f&&(o.call(r,d,p.originalDeps.slice()),delete h[d]),n.each(p.successor,f?s:a)}n.each(h,function(){throw new Error("Circle dependency may exists")})}}},e.exports=s},function(e,t,i){var n=i(70),o=i(89),r=i(24),a=function(){this.group=new n,this.uid=o.getUID("viewComponent")};a.prototype={constructor:a,init:function(e,t){},render:function(e,t,i,n){},dispose:function(){}};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,i,n){},r.enableClassExtend(a),r.enableClassManagement(a,{registerWhenExtend:!0}),e.exports=a},function(e,t){e.exports=function(e,t){var i={};t.eachRawSeriesByType(e,function(e){var n=e.getRawData(),o={};if(!t.isSeriesFiltered(e)){var r=e.getData();r.each(function(e){var t=r.getRawIndex(e);o[t]=e}),n.each(function(t){var a=o[t],s=null!=a&&r.getItemVisual(a,"color",!0);if(s)n.setItemVisual(t,"color",s);else{var l=n.getItemModel(t),c=l.get("itemStyle.normal.color")||e.getColorFromPalette(n.getName(t),i);n.setItemVisual(t,"color",c),null!=a&&r.setItemVisual(a,"color",c)}})}})}},,,,,,,function(e,t,i){var n=i(6),o=i(31),r={},a=Math.min,s=Math.max,l=Math.sin,c=Math.cos,u=n.create(),h=n.create(),d=n.create(),p=2*Math.PI;r.fromPoints=function(e,t,i){if(0!==e.length){var n,o=e[0],r=o[0],l=o[0],c=o[1],u=o[1];for(n=1;n1e-4)return f[0]=e-i,f[1]=t-o,g[0]=e+i,void(g[1]=t+o);if(u[0]=c(r)*i+e,u[1]=l(r)*o+t,h[0]=c(a)*i+e,h[1]=l(a)*o+t,m(f,u,h),v(g,u,h),r%=p,r<0&&(r+=p),a%=p,a<0&&(a+=p),r>a&&!s?a+=p:rr&&(d[0]=c(b)*i+e,d[1]=l(b)*o+t,m(f,d,f),v(g,d,g))},e.exports=r},function(e,t,i){var n=i(69);e.exports=function(){if(0!==n.debugMode)if(1==n.debugMode)for(var e in arguments)throw new Error(arguments[e]);else if(n.debugMode>1)for(var e in arguments)console.log(arguments[e])}},function(e,t){function i(e){for(var t=0;e>=u;)t|=1&e,e>>=1;return e+t}function n(e,t,i,n){var r=t+1;if(r===i)return 1;if(n(e[r++],e[t])<0){for(;r=0;)r++;return r-t}function o(e,t,i){for(i--;t>>1,o(a,e[r])<0?l=r:s=r+1;var c=n-s;switch(c){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;c>0;)e[s+c]=e[s+c-1],c--}e[s]=a}}function a(e,t,i,n,o,r){var a=0,s=0,l=1;if(r(e,t[i+o])>0){for(s=n-o;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=o,l+=o}else{for(s=o+1;ls&&(l=s);var c=a;a=o-l,l=o-c}for(a++;a>>1);r(e,t[i+u])>0?a=u+1:l=u}return l}function s(e,t,i,n,o,r){var a=0,s=0,l=1;if(r(e,t[i+o])<0){for(s=o+1;ls&&(l=s);var c=a;a=o-l,l=o-c}else{for(s=n-o;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=o,l+=o}for(a++;a>>1);r(e,t[i+u])<0?l=u:a=u+1}return l}function l(e,t){function i(e,t){u[g]=e,d[g]=t,g+=1}function n(){for(;g>1;){var e=g-2;if(e>=1&&d[e-1]<=d[e]+d[e+1]||e>=2&&d[e-2]<=d[e]+d[e-1])d[e-1]d[e+1])break;r(e)}}function o(){for(;g>1;){var e=g-2;e>0&&d[e-1]=h||g>=h);if(v)break;y<0&&(y=0),y+=2}if(p=y,p<1&&(p=1),1===n){for(l=0;l=0;l--)e[g+l]=e[f+l];return void(e[d]=m[u])}for(var v=p;;){var y=0,x=0,b=!1;do{if(t(m[u],e[c])<0){if(e[d--]=e[c--],y++,x=0,0==--n){b=!0;break}}else if(e[d--]=m[u--],x++,y=0,1==--r){b=!0;break}}while((y|x)=0;l--)e[g+l]=e[f+l];if(0===n){b=!0;break}}if(e[d--]=m[u--],1==--r){b=!0;break}if(0!==(x=r-a(e[c],m,0,r,r-1,t))){for(d-=x,u-=x,r-=x,g=d+1,f=u+1,l=0;l=h||x>=h);if(b)break;v<0&&(v=0),v+=2}if(p=v,p<1&&(p=1),1===r){for(d-=n,c-=n,g=d+1,f=c+1,l=n-1;l>=0;l--)e[g+l]=e[f+l];e[d]=m[u]}else{if(0===r)throw new Error;for(f=d-(r-1),l=0;ld&&(p=d),r(e,o,o+p,o+c,t),c=p}h.pushRun(o,c),h.mergeRuns(),s-=c,o+=c}while(0!==s);h.forceMergeRuns()}}var u=32,h=7;e.exports=c},function(e,t,i){function n(e){o.call(this,e)}var o=i(71),r=i(10),a=i(0),s=i(170),l=new s(50);n.prototype={constructor:n,type:"image",brush:function(e,t){var i,n=this.style,o=n.image;if(n.bind(e,this,t),!(i="string"==typeof o?this._image:o)&&o){var r=l.get(o);if(!r)return i=new Image,i.onload=function(){i.onload=null;for(var e=0;e0&&(t+=e[0].name+"
");var i=!0,n=!1,o=void 0;try{for(var r,a=e[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;t+=''+l.seriesName+": "+s.a.fileSize(l.value)+"
"}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}return t}},legend:{data:["Traffic In","Traffic Out"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:a}],yAxis:[{type:"value",axisLabel:{formatter:function(e){return s.a.fileSize(e)}}}],series:[{name:"Traffic In",type:"bar",data:t},{name:"Traffic Out",type:"bar",data:i}]};o.setOption(u),o.hideLoading()}var a=i(52),s=i.n(a),l=i(1),c=i.n(l),u=i(463),h=(i.n(u),i(107)),d=(i.n(h),i(117)),p=(i.n(d),i(134)),f=(i.n(p),i(133));i.n(f);i.d(t,"b",function(){return n}),i.d(t,"c",function(){return o}),i.d(t,"a",function(){return r})},function(e,t,i){var n=i(1),o=i(0);e.exports=function(e,t){o.each(t,function(t){t.update="updateView",n.registerAction(t,function(i,n){var o={};return n.eachComponent({mainType:"series",subType:e,query:i},function(e){e[t.method]&&e[t.method](i.name);var n=e.getData();n.each(function(t){var i=n.getName(t);o[i]=e.isSelected(i)||!1})}),{name:i.name,selected:o}})})}},function(e,t,i){var n=i(0),o=i(106);i(1).registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(e,t){var i=e.componentType||"series";t.eachComponent({mainType:i,query:e},function(t){var r=t.coordinateSystem;if("geo"===r.type){var a=o.updateCenterAndZoom(r,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(a.center),t.setZoom&&t.setZoom(a.zoom),"series"===i&&n.each(t.seriesGroup,function(e){e.setCenter(a.center),e.setZoom(a.zoom)})}})})},function(e,t){var i={};i.updateCenterAndZoom=function(e,t,i){var n=e.getZoom(),o=e.getCenter(),r=t.zoom,a=e.dataToPoint(o);if(null!=t.dx&&null!=t.dy){a[0]-=t.dx,a[1]-=t.dy;var o=e.pointToData(a);e.setCenter(o)}if(null!=r){if(i){var s=i.min||0,l=i.max||1/0;r=Math.max(Math.min(n*r,l),s)/n}e.scale[0]*=r,e.scale[1]*=r;var c=e.position,u=(t.originX-c[0])*(r-1),h=(t.originY-c[1])*(r-1);c[0]-=u,c[1]-=h,e.updateTransform();var o=e.pointToData(a);e.setCenter(o),e.setZoom(r*n)}return{center:e.getCenter(),zoom:e.getZoom()}},e.exports=i},function(e,t,i){var n=i(0);i(86),i(231),i(232);var o=i(149),r=i(1);r.registerLayout(n.curry(o,"bar")),r.registerVisual(function(e){e.eachSeriesByType("bar",function(e){e.getData().setVisual("legendSymbol","roundRect")})}),i(48)},function(e,t,i){"use strict";var n=i(14),o=i(32);e.exports=n.extend({type:"series.__base_bar__",getInitialData:function(e,t){if(__DEV__){if("cartesian2d"!==e.coordinateSystem)throw new Error("Bar only support cartesian2d coordinateSystem")}return o(e.data,this,t)},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var i=t.dataToPoint(e,!0),n=this.getData(),o=n.getLayout("offset"),r=n.getLayout("size");return i[t.getBaseAxis().isHorizontal()?0:1]+=o+r/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,itemStyle:{normal:{},emphasis:{}}}})},function(e,t,i){function n(e,t,i,n,o){r.setText(e,t,i),e.text=n,"outside"===e.textPosition&&(e.textPosition=o)}var o=i(0),r=i(2),a={};a.setLabel=function(e,t,i,r,a,s,l){var c=i.getModel("label.normal"),u=i.getModel("label.emphasis");c.get("show")?n(e,c,r,o.retrieve(a.getFormattedLabel(s,"normal"),a.getRawValue(s)),l):e.text="",u.get("show")?n(t,u,r,o.retrieve(a.getFormattedLabel(s,"emphasis"),a.getRawValue(s)),l):t.text=""},e.exports=a},function(e,t,i){var n=i(6);e.exports=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var i=t.getBoundingRect(),o=e.getData(),r=o.graph,a=0,s=o.getSum("value"),l=2*Math.PI/(s||o.count()),c=i.width/2+i.x,u=i.height/2+i.y,h=Math.min(i.width,i.height)/2;r.eachNode(function(e){var t=e.getValue("value");a+=l*(s?t:1)/2,e.setLayout([h*Math.cos(a)+c,h*Math.sin(a)+u]),a+=l*(s?t:1)/2}),o.setLayout({cx:c,cy:u}),r.eachEdge(function(e){var t,i=e.getModel().get("lineStyle.normal.curveness")||0,o=n.clone(e.node1.getLayout()),r=n.clone(e.node2.getLayout()),a=(o[0]+r[0])/2,s=(o[1]+r[1])/2;+i&&(i*=3,t=[c*i+a*(1-i),u*i+s*(1-i)]),e.setLayout([o,r,t])})}}},function(e,t,i){var n=i(6);e.exports=function(e){e.eachEdge(function(e){var t=e.getModel().get("lineStyle.normal.curveness")||0,i=n.clone(e.node1.getLayout()),o=n.clone(e.node2.getLayout()),r=[i,o];+t&&r.push([(i[0]+o[0])/2-(i[1]-o[1])*t,(i[1]+o[1])/2-(o[0]-i[0])*t]),e.setLayout(r)})}},function(e,t,i){var n=i(111);e.exports=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var i=e.getGraph();i.eachNode(function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])}),n(i)}}},function(e,t,i){function n(e,t,i){o.Group.call(this),this.add(this.createLine(e,t,i)),this._updateEffectSymbol(e,t)}var o=i(2),r=i(75),a=i(0),s=i(20),l=i(6),c=i(31),u=n.prototype;u.createLine=function(e,t,i){return new r(e,t,i)},u._updateEffectSymbol=function(e,t){var i=e.getItemModel(t),n=i.getModel("effect"),o=n.get("symbolSize"),r=n.get("symbol");a.isArray(o)||(o=[o,o]);var l=n.get("color")||e.getItemVisual(t,"color"),c=this.childAt(1);this._symbolType!==r&&(this.remove(c),c=s.createSymbol(r,-.5,-.5,1,1,l),c.z2=100,c.culling=!0,this.add(c)),c&&(c.setStyle("shadowColor",l),c.setStyle(n.getItemStyle(["color"])),c.attr("scale",o),c.setColor(l),c.attr("scale",o),this._symbolType=r,this._updateEffectAnimation(e,n,t))},u._updateEffectAnimation=function(e,t,i){var n=this.childAt(1);if(n){var o=this,r=e.getItemLayout(i),s=1e3*t.get("period"),l=t.get("loop"),c=t.get("constantSpeed"),u=a.retrieve(t.get("delay"),function(t){return t/e.count()*s/3}),h="function"==typeof u;if(n.ignore=!0,this.updateAnimationPoints(n,r),c>0&&(s=this.getLineLength(n)/c*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=u;h&&(d=u(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var p=n.animate("",l).when(s,{__t:1}).delay(d).during(function(){o.updateSymbolPosition(n)});l||p.done(function(){o.remove(n)}),p.start()}this._period=s,this._loop=l}},u.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},u.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},u.updateData=function(e,t,i){this.childAt(0).updateData(e,t,i),this._updateEffectSymbol(e,t)},u.updateSymbolPosition=function(e){var t=e.__p1,i=e.__p2,n=e.__cp1,o=e.__t,r=e.position,a=c.quadraticAt,s=c.quadraticDerivativeAt;r[0]=a(t[0],n[0],i[0],o),r[1]=a(t[1],n[1],i[1],o);var l=s(t[0],n[0],i[0],o),u=s(t[1],n[1],i[1],o);e.rotation=-Math.atan2(u,l)-Math.PI/2,e.ignore=!1},u.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var i=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,i,t)},a.inherits(n,o.Group),e.exports=n},function(e,t,i){function n(e,t,i){o.Group.call(this),this._createPolyline(e,t,i)}var o=i(2),r=i(0),a=n.prototype;a._createPolyline=function(e,t,i){var n=e.getItemLayout(t),r=new o.Polyline({shape:{points:n}});this.add(r),this._updateCommonStl(e,t,i)},a.updateData=function(e,t,i){var n=e.hostModel,r=this.childAt(0),a={shape:{points:e.getItemLayout(t)}};o.updateProps(r,a,n,t),this._updateCommonStl(e,t,i)},a._updateCommonStl=function(e,t,i){var n=this.childAt(0),a=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=i&&i.lineStyle,c=i&&i.hoverLineStyle;i&&!e.hasItemOption||(l=a.getModel("lineStyle.normal").getLineStyle(),c=a.getModel("lineStyle.emphasis").getLineStyle()),n.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),n.hoverStyle=c,o.setHoverStyle(this)},a.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},r.inherits(n,o.Group),e.exports=n},function(e,t,i){var n=i(11),o=i(443),r=i(148),a=i(19),s=i(22),l=i(0),c=i(32);e.exports=function(e,t,i,u,h){for(var d=new o(u),p=0;p "+x)),m++)}var b,_=i.get("coordinateSystem");if("cartesian2d"===_||"polar"===_)b=c(e,i,i.ecModel);else{var w=s.get(_),A=a((w&&"view"!==w.type?w.dimensions||[]:[]).concat(["value"]),e);b=new n(A,i),b.initData(e)}var S=new n(["value"],i);return S.initData(g,f),h&&h(b,S),r({mainData:b,struct:d,structAttr:"graph",datas:{node:b,edge:S},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},function(e,t,i){function n(e){return isNaN(e[0])||isNaN(e[1])}function o(e,t,i,o,r,a,g,m,v,y,x){for(var b=0,_=i,w=0;w=r||_<0)break;if(n(A)){if(x){_+=a;continue}break}if(_===i)e[a>0?"moveTo":"lineTo"](A[0],A[1]),h(p,A);else if(v>0){var S=_+a,M=t[S];if(x)for(;M&&n(t[S]);)S+=a,M=t[S];var k=.5,T=t[b],M=t[S];if(!M||n(M))h(f,A);else{n(M)&&!x&&(M=A),s.sub(d,M,T);var I,C;if("x"===y||"y"===y){var L="x"===y?0:1;I=Math.abs(A[L]-T[L]),C=Math.abs(A[L]-M[L])}else I=s.dist(A,T),C=s.dist(A,M);k=C/(C+I),u(f,A,d,-v*(1-k))}l(p,p,m),c(p,p,g),l(f,f,m),c(f,f,g),e.bezierCurveTo(p[0],p[1],f[0],f[1],A[0],A[1]),u(p,A,d,v*k)}else e.lineTo(A[0],A[1]);b=_,_+=a}return w}function r(e,t){var i=[1/0,1/0],n=[-(1/0),-(1/0)];if(t)for(var o=0;on[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:t?i:n,max:t?n:i}}var a=i(15),s=i(6),l=s.min,c=s.max,u=s.scaleAndAdd,h=s.copy,d=[],p=[],f=[];e.exports={Polyline:a.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(e,t){var i=t.points,a=0,s=i.length,l=r(i,t.smoothConstraint);if(t.connectNulls){for(;s>0&&n(i[s-1]);s--);for(;a0&&n(i[l-1]);l--);for(;s=0;o--){if(i[o][n])break}if(o<0){var r=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(r){var a=r.getPercentRange();i[0][n]={dataZoomId:n,start:a[0],end:a[1]}}}}),i.push(t)},pop:function(e){var t=n(e),i=t[t.length-1];t.length>1&&t.pop();var o={};return r(i,function(e,i){for(var n=t.length-1;n>=0;n--){var e=t[n][i];if(e){o[i]=e;break}}}),o},clear:function(e){e[a]=null},count:function(e){return n(e).length}};e.exports=s},function(e,t,i){i(12).registerSubTypeDefaulter("dataZoom",function(e){return"slider"})},function(e,t,i){function n(e,t,i){var n=this._targetInfoList=[],o={},a=r(t,e);p(x,function(e,t){(!i||!i.include||f(i.include,t)>=0)&&e(a,n,o)})}function o(e){return e[0]>e[1]&&e.reverse(),e}function r(e,t){return d.parseFinder(e,t,{includeMainTypes:v})}function a(e,t,i,n){__DEV__&&u.assert("cartesian2d"===i.type,"lineX/lineY brush is available only in cartesian2d.");var r=i.getAxis(["x","y"][e]),a=o(u.map([0,1],function(e){return t?r.coordToData(r.toLocalCoord(n[e])):r.toGlobalCoord(r.dataToCoord(n[e]))})),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}function s(e,t,i,n){return[t[0]-n[e]*i[0],t[1]-n[e]*i[1]]}function l(e,t){var i=c(e),n=c(t),o=[i[0]/n[0],i[1]/n[1]];return isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o}function c(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var u=i(0),h=i(2),d=i(5),p=u.each,f=u.indexOf,g=u.curry,m=["dataToPoint","pointToData"],v=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],y=n.prototype;y.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,function(e,t,i){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var n=w[e.brushType](0,i,t);e.__rangeOffset={offset:A[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax}}})},y.matchOutputRanges=function(e,t,i){p(e,function(e){var n=this.findTargetInfo(e,t);n&&n!==!0&&u.each(n.coordSyses,function(n){var o=w[e.brushType](1,n,e.range);i(e,o.values,n,t)})},this)},y.setInputRanges=function(e,t){p(e,function(e){var i=this.findTargetInfo(e,t);if(__DEV__&&(u.assert(!i||i===!0||e.coordRange,"coordRange must be specified when coord index specified."),u.assert(!i||i!==!0||e.range,"range must be specified in global brush.")),e.range=e.range||[],i&&i!==!0){e.panelId=i.panelId;var n=w[e.brushType](0,i.coordSys,e.coordRange),o=e.__rangeOffset;e.range=o?A[e.brushType](n.values,o.offset,l(n.xyMinMax,o.xyMinMax)):n.values}},this)},y.makePanelOpts=function(e){return u.map(this._targetInfoList,function(t){return{panelId:t.panelId,rect:t.getPanelRect(),defaultBrushType:e&&e(t)}})},y.controlSeries=function(e,t,i){var n=this.findTargetInfo(e,i);return n===!0||n&&f(n.coordSyses,t.coordinateSystem)>=0},y.findTargetInfo=function(e,t){for(var i=this._targetInfoList,n=r(t,e),o=0;o=0||f(n,e.getAxis("y").model)>=0)&&r.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSys:r[0],coordSyses:r,getPanelRect:_.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})}))},geo:function(e,t){p(e.geoModels,function(e){var i=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSys:i,coordSyses:[i],getPanelRect:_.geo})})}},b=[function(e,t){var i=e.xAxisModel,n=e.yAxisModel,o=e.gridModel;return!o&&i&&(o=i.axis.grid.model),!o&&n&&(o=n.axis.grid.model),o&&o===t.gridModel},function(e,t){var i=e.geoModel;return i&&i===t.geoModel}],_={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(h.getTransform(e)),t}},w={lineX:g(a,0),lineY:g(a,1),rect:function(e,t,i){var n=t[m[e]]([i[0][0],i[1][0]]),r=t[m[e]]([i[0][1],i[1][1]]),a=[o([n[0],r[0]]),o([n[1],r[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,i){var n=[[1/0,-(1/0)],[1/0,-(1/0)]];return{values:u.map(i,function(i){var o=t[m[e]](i);return n[0][0]=Math.min(n[0][0],o[0]),n[1][0]=Math.min(n[1][0],o[1]),n[0][1]=Math.max(n[0][1],o[0]),n[1][1]=Math.max(n[1][1],o[1]),o}),xyMinMax:n}}},A={lineX:g(s,0),lineY:g(s,1),rect:function(e,t,i){return[[e[0][0]-i[0]*t[0][0],e[0][1]-i[0]*t[0][1]],[e[1][0]-i[1]*t[1][0],e[1][1]-i[1]*t[1][1]]]},polygon:function(e,t,i){return u.map(e,function(e,n){return[e[0]-i[0]*t[n][0],e[1]-i[1]*t[n][1]]})}};e.exports=n},function(e,t,i){function n(e,t){var i=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(i.fill=n),i}function o(e,t,i,n,o){i.off("click"),i.off("mousedown"),t.get("selectedMode")&&(i.on("mousedown",function(){e._mouseDownFlag=!0}),i.on("click",function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=a.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:c.map(s.__regions,function(e){return{name:e.name,from:o.uid}})};l[t.mainType+"Id"]=t.id,n.dispatchAction(l),r(t,i)}}}))}function r(e,t){t.eachChild(function(t){c.each(t.__regions,function(i){t.trigger(e.isSelected(i.name)?"emphasis":"normal")})})}function a(e,t){var i=new l.Group;this._controller=new s(e.getZr(),t?i:null,null),this.group=i,this._updateGroup=t,this._mouseDownFlag}var s=i(58),l=i(2),c=i(0);a.prototype={constructor:a,draw:function(e,t,i,a,s){var u="geo"===e.mainType,h=e.getData&&e.getData();u&&t.eachComponent({mainType:"series",subType:"map"},function(t){h||t.getHostGeoModel()!==e||(h=t.getData())});var d=e.coordinateSystem,p=this.group,f=d.scale,g={position:d.position,scale:f};!p.childAt(0)||s?p.attr(g):l.updateProps(p,g,e),p.removeAll();var m=["itemStyle","normal"],v=["itemStyle","emphasis"],y=["label","normal"],x=["label","emphasis"],b={};c.each(d.regions,function(t){var i=b[t.name]||(b[t.name]=new l.Group),o=new l.CompoundPath({shape:{paths:[]}});i.add(o);var r,a=e.getRegionModel(t.name)||e,s=a.getModel(m),d=a.getModel(v),g=n(s,f),_=n(d,f),w=a.getModel(y),A=a.getModel(x);if(h){r=h.indexOfName(t.name);var S=h.getItemVisual(r,"color",!0);S&&(g.fill=S)}var M=w.getModel("textStyle"),k=A.getModel("textStyle");c.each(t.geometries,function(e){if("polygon"===e.type){o.shape.paths.push(new l.Polygon({shape:{points:e.exterior}}));for(var t=0;t<(e.interiors?e.interiors.length:0);t++)o.shape.paths.push(new l.Polygon({shape:{points:e.interiors[t]}}))}}),o.setStyle(g),o.style.strokeNoScale=!0,o.culling=!0;var T=w.get("show"),I=A.get("show"),C=h&&isNaN(h.get("value",r)),L=h&&h.getItemLayout(r);if(u||C&&(T||I)||L&&L.showLabel){var D=h?r:t.name,P=e.getFormattedLabel(D,"normal"),z=e.getFormattedLabel(D,"emphasis"),E=new l.Text({style:{text:T?P||t.name:"",fill:M.getTextColor(),textFont:M.getFont(),textAlign:"center",textVerticalAlign:"middle"},hoverStyle:{text:I?z||t.name:"",fill:k.getTextColor(),textFont:k.getFont()},position:t.center.slice(),scale:[1/f[0],1/f[1]],z2:10,silent:!0});i.add(E)}if(h)h.setItemGraphicEl(r,i);else{var a=e.getRegionModel(t.name);o.eventData={componentType:"geo",geoIndex:e.componentIndex,name:t.name,region:a&&a.option||{}}}(i.__regions||(i.__regions=[])).push(t),l.setHoverStyle(i,_,{hoverSilentOnTouch:!!e.get("selectedMode")}),p.add(i)}),this._updateController(e,t,i),o(this,e,p,i,a),r(e,p)},remove:function(){this.group.removeAll(),this._controller.dispose()},_updateController:function(e,t,i){function n(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}var o=e.coordinateSystem,r=this._controller;r.zoomLimit=e.get("scaleLimit"),r.zoom=o.getZoom(),r.enable(e.get("roam")||!1);var a=e.mainType;r.off("pan").on("pan",function(e,t){this._mouseDownFlag=!1,i.dispatchAction(c.extend(n(),{dx:e,dy:t}))},this),r.off("zoom").on("zoom",function(e,t,o){if(this._mouseDownFlag=!1,i.dispatchAction(c.extend(n(),{zoom:e,originX:t,originY:o})),this._updateGroup){var r=this.group,a=r.scale;r.traverse(function(e){"text"===e.type&&e.attr("scale",[1/a[0],1/a[1]])})}},this),r.setContainsPoint(function(e,t){return o.getViewRectAfterRoam().contain(e,t)})}},e.exports=a},function(e,t,i){function n(e){return e[o]||(e[o]={})}var o="\0_ec_interaction_mutex",r={take:function(e,t,i){n(e)[t]=i},release:function(e,t,i){var o=n(e);o[t]===i&&(o[t]=null)},isTaken:function(e,t){return!!n(e)[t]}};i(1).registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.exports=r},function(e,t,i){function n(e,t,i){o.positionElement(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()},t.get("padding"))}var o=i(7),r=i(4),a=i(2);e.exports={layout:function(e,t,i){var r=o.getLayoutRect(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()},t.get("padding"));o.box(t.get("orient"),e,t.get("itemGap"),r.width,r.height),n(e,t,i)},addBackground:function(e,t){var i=r.normalizeCssArray(t.get("padding")),n=e.getBoundingRect(),o=t.getItemStyle(["color","opacity"]);o.fill=t.get("backgroundColor");var s=new a.Rect({shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},style:o,silent:!0,z2:-1});a.subPixelOptimizeRect(s),e.add(s)}}},function(e,t,i){i(147),i(429),i(381);var n=i(1),o=i(0);n.extendComponentView({type:"parallel",render:function(e,t,i){var n=i.getZr();if(!this.__onMouseDown){var r;n.on("mousedown",this.__onMouseDown=function(e){r=[e.offsetX,e.offsetY]}),n.on("mouseup",this.__onMouseUp=function(t){var n=[t.offsetX,t.offsetY],a=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2);if(e.get("axisExpandable")&&!(a>5)){var s=e.coordinateSystem,l=s.findClosestAxisDim(n);if(l){var c=o.indexOf(s.dimensions,l);i.dispatchAction({type:"parallelAxisExpand",axisExpandCenter:c})}}})}},dispose:function(e,t){t.getZr().off(this.__onMouseDown),t.getZr().off(this.__onMouseUp)}}),n.registerPreprocessor(i(430))},function(e,t,i){i(442),i(337),i(439),i(45),i(342),i(1).extendComponentView({type:"single"})},function(e,t,i){"use strict";var n=i(1),o=i(2),r=i(7);n.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"}}}),n.extendComponentView({type:"title",render:function(e,t,i){if(this.group.removeAll(),e.get("show")){var n=this.group,a=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),c=e.get("textBaseline"),u=new o.Text({style:{text:e.get("text"),textFont:a.getFont(),fill:a.getTextColor()},z2:10}),h=u.getBoundingRect(),d=e.get("subtext"),p=new o.Text({style:{text:d,textFont:s.getFont(),fill:s.getTextColor(),y:h.height+e.get("itemGap"),textBaseline:"top"},z2:10}),f=e.get("link"),g=e.get("sublink");u.silent=!f,p.silent=!g,f&&u.on("click",function(){window.open(f,"_"+e.get("target"))}),g&&p.on("click",function(){window.open(g,"_"+e.get("subtarget"))}),n.add(u),d&&n.add(p);var m=n.getBoundingRect(),v=e.getBoxLayoutParams();v.width=m.width,v.height=m.height;var y=r.getLayoutRect(v,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));l||(l=e.get("left")||e.get("right"),"middle"===l&&(l="center"),"right"===l?y.x+=y.width:"center"===l&&(y.x+=y.width/2)),c||(c=e.get("top")||e.get("bottom"),"center"===c&&(c="middle"),"bottom"===c?y.y+=y.height:"middle"===c&&(y.y+=y.height/2),c=c||"top"),n.attr("position",[y.x,y.y]);var x={textAlign:l,textVerticalAlign:c};u.setStyle(x),p.setStyle(x),m=n.getBoundingRect();var b=y.margin,_=e.getItemStyle(["color","opacity"]);_.fill=e.get("backgroundColor");var w=new o.Rect({shape:{x:m.x-b[3],y:m.y-b[0],width:m.width+b[1]+b[3],height:m.height+b[0]+b[2]},style:_,silent:!0});o.subPixelOptimizeRect(w),n.add(w)}}})},function(e,t,i){i(45),i(405),i(406),i(1).registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),i(1).registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},function(e,t,i){var n=i(1),o=i(0),r=i(13),a=i(152),s=i(35),l=i(64),c=s.mapVisual,u=i(5),h=s.eachVisual,d=i(3),p=o.isArray,f=o.each,g=d.asc,m=d.linearMap,v=o.noop,y=["#f6efa6","#d88273","#bf444c"],x=n.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-(1/0),1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:null,min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,i)},optionUpdated:function(e,t){var i=this.option;r.canvasSupported||(i.realtime=!1),!t&&l.replaceVisualOption(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=o.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},resetTargetSeries:function(){var e=this.option,t=null==e.seriesIndex;e.seriesIndex=t?[]:u.normalizeToArray(e.seriesIndex),t&&this.ecModel.eachSeries(function(t,i){e.seriesIndex.push(i)})},eachTargetSeries:function(e,t){o.each(this.option.seriesIndex,function(i){e.call(t,this.ecModel.getSeriesByIndex(i))},this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries(function(i){i===e&&(t=!0)}),t},formatValueText:function(e,t,i){function n(e){return e===c[0]?"min":e===c[1]?"max":(+e).toFixed(l)}var r,a,s=this.option,l=s.precision,c=this.dataBound,u=s.formatter;return i=i||["<",">"],o.isArray(e)&&(e=e.slice(),r=!0),a=t?e:r?[n(e[0]),n(e[1])]:n(e),o.isString(u)?u.replace("{value}",r?a[0]:a).replace("{value2}",r?a[1]:a):o.isFunction(u)?r?u(e[0],e[1]):u(e):r?e[0]===c[0]?i[0]+" "+a[1]:e[1]===c[1]?i[1]+" "+a[0]:a[0]+" - "+a[1]:a},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension;return null!=t?t:e.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){function e(e){p(n.color)&&!e.inRange&&(e.inRange={color:n.color.slice().reverse()}),e.inRange=e.inRange||{color:y},f(this.stateList,function(t){var i=e[t];if(o.isString(i)){var n=a.get(i,"active",d);n?(e[t]={},e[t][i]=n):delete e[t]}},this)}function t(e,t,i){var n=e[t],o=e[i];n&&!o&&(o=e[i]={},f(n,function(e,t){if(s.isValidType(t)){var i=a.get(t,"inactive",d);null!=i&&(o[t]=i,"color"!==t||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}}))}function i(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,i=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,n=this.get("inactiveColor");f(this.stateList,function(r){var a=this.itemSize,s=e[r];s||(s=e[r]={color:d?n:[n]}),null==s.symbol&&(s.symbol=t&&o.clone(t)||(d?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&o.clone(i)||(d?a[0]:[a[0],a[0]])),s.symbol=c(s.symbol,function(e){return"none"===e||"square"===e?"roundRect":e});var l=s.symbolSize;if(null!=l){var u=-(1/0);h(l,function(e){e>u&&(u=e)}),s.symbolSize=c(l,function(e){return m(e,[0,u],[0,a[0]],!0)})}},this)}var n=this.option,r={inRange:n.inRange,outOfRange:n.outOfRange},l=n.target||(n.target={}),u=n.controller||(n.controller={});o.merge(l,r),o.merge(u,r);var d=this.isCategory();e.call(this,l),e.call(this,u),t.call(this,l,"inRange","outOfRange"),i.call(this,u)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=x},function(e,t,i){var n=i(0),o=i(2),r=i(4),a=i(7),s=i(1),l=i(35);e.exports=s.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,i,n){if(this.visualMapModel=e,e.get("show")===!1)return void this.group.removeAll();this.doRender.apply(this,arguments)},renderBackground:function(e){var t=this.visualMapModel,i=r.normalizeCssArray(t.get("padding")||0),n=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,i){function o(e){return c[e]}function r(e,t){c[e]=t}i=i||{};var a=i.forceState,s=this.visualMapModel,c={};if("symbol"===t&&(c.symbol=s.get("itemSymbol")),"color"===t){var u=s.get("contentColor");c.color=u}var h=s.controllerVisuals[a||s.getValueState(e)],d=l.prepareVisualTypes(h);return n.each(d,function(n){var a=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(n,t)&&a&&a.applyVisual(e,o,r)}),c[t]},positionGroup:function(e){var t=this.visualMapModel,i=this.api;a.positionElement(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:n.noop})},function(e,t,i){var n=i(0),o=i(7),r={getItemAlign:function(e,t,i){var n=e.option,r=n.align;if(null!=r&&"auto"!==r)return r;for(var a={width:t.getWidth(),height:t.getHeight()},s="horizontal"===n.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],c=l[s],u=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=u[d],h[c[d]]=2===d?i[0]:n[c[d]];var p=[["x","width",3],["y","height",0]][s],f=o.getLayoutRect(h,a,n.padding);return c[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*a[p[1]]?0:1]},convertDataIndex:function(e){return n.each(e||[],function(t){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null)}),e}};e.exports=r},function(e,t,i){function n(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var o=i(0),r=o.each;e.exports=function(e){var t=e&&e.visualMap;o.isArray(t)||(t=t?[t]:[]),r(t,function(e){if(e){n(e,"splitList")&&!n(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&o.isArray(t)&&r(t,function(e){o.isObject(e)&&(n(e,"start")&&!n(e,"min")&&(e.min=e.start),n(e,"end")&&!n(e,"max")&&(e.max=e.end))})}})}},function(e,t,i){i(12).registerSubTypeDefaulter("visualMap",function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})},function(e,t,i){function n(e,t){e.eachTargetSeries(function(t){var i=t.getData();s.applyVisual(e.stateList,e.targetVisuals,i,e.getValueState,e,e.getDataDimension(i))})}function o(e){e.eachSeries(function(t){var i=t.getData(),n=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var o=e.getVisualMeta(c.bind(r,null,t,e))||{stops:[],outerColors:[]};o.dimension=e.getDataDimension(i),n.push(o)}}),t.getData().setVisual("visualMeta",n)})}function r(e,t,i,n){function o(e){return c[e]}function r(e,t){c[e]=t}for(var a=t.targetVisuals[n],s=l.prepareVisualTypes(a),c={color:e.getData().getVisual("color")},u=0,h=s.length;u>1^-(1&a),s=s>>1^-(1&s),a+=n,s+=o,n=a,o=s,i.push([a/1024,s/1024])}return i}var r=i(0),a=i(145);e.exports=function(e){return n(e),r.map(r.filter(e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var t=e.properties,i=e.geometry,n=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:n[0],interiors:n.slice(1)}),"MultiPolygon"===i.type&&r.each(n,function(e){e[0]&&o.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})});var s=new a(t.name,o,t.cp);return s.properties=t,s})}},function(e,t,i){function n(e,t){var i=[];return e.eachComponent("parallel",function(n,r){var a=new o(n,e,t);a.name="parallel_"+r,a.resize(n,t),n.coordinateSystem=a,a.model=n,i.push(a)}),e.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=i.coordinateSystem}}),i}var o=i(427);i(22).register("parallel",{create:n})},function(e,t,i){function n(e){var t=e.mainData,i=e.datas;i||(i={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,c(t,i,e),d(i,function(i){d(t.TRANSFERABLE_METHODS,function(t){i.wrapMethod(t,h.curry(o,e))})}),t.wrapMethod("cloneShallow",h.curry(a,e)),d(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,h.curry(r,e))}),h.assert(i[t.dataType]===t)}function o(e,t){if(l(this)){var i=h.extend({},this[p]);i[this.dataType]=t,c(t,i,e)}else u(t,this.dataType,this[f],e);return t}function r(e,t){return e.struct&&e.struct.update(this),t}function a(e,t){return d(t[p],function(i,n){i!==t&&u(i.cloneShallow(),n,t,e)}),t}function s(e){var t=this[f];return null==e||null==t?t:t[p][e]}function l(e){return e[f]===e}function c(e,t,i){e[p]={},d(t,function(t,n){u(t,n,e,i)})}function u(e,t,i,n){i[p][t]=e,e[f]=i,e.dataType=t,n.struct&&(e[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=e),e.getLinkedData=s}var h=i(0),d=h.each,p="\0__link_datas",f="\0__link_mainData";e.exports=n},function(e,t,i){"use strict";function n(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function o(e){return e.dim+e.index}function r(e,t){var i={};s.each(e,function(e,t){var r=e.getData(),a=e.coordinateSystem,s=a.getBaseAxis(),l=s.getExtent(),u="category"===s.type?s.getBandWidth():Math.abs(l[1]-l[0])/r.count(),h=i[o(s)]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=h.stacks;i[o(s)]=h;var p=n(e);d[p]||h.autoWidthCount++,d[p]=d[p]||{width:0,maxWidth:0};var f=c(e.get("barWidth"),u),g=c(e.get("barMaxWidth"),u),m=e.get("barGap"),v=e.get("barCategoryGap");f&&!d[p].width&&(f=Math.min(h.remainedWidth,f),d[p].width=f,h.remainedWidth-=f),g&&(d[p].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)});var r={};return s.each(i,function(e,t){r[t]={};var i=e.stacks,n=e.bandWidth,o=c(e.categoryGap,n),a=c(e.gap,1),l=e.remainedWidth,u=e.autoWidthCount,h=(l-o)/(u+(u-1)*a);h=Math.max(h,0),s.each(i,function(e,t){var i=e.maxWidth;!e.width&&i&&i=0?"p":"n",v=m[i],y=l[s][i][u],x=c[s][i][u];p.isHorizontal()?(n=y,o=v[1]+h,r=v[0]-x,a=d,c[s][i][u]+=r,Math.abs(r)=i.length)return t;for(var r=-1,a=t.length,s=i[n++],l={},c={};++r=i.length)return e;var a=[],s=n[r++];return o.each(e,function(e,i){a.push({key:i,values:t(e,r)})}),s?a.sort(function(e,t){return s(e.key,t.key)}):a}var i=[],n=[];return{key:function(e){return i.push(e),this},sortKeys:function(e){return n[i.length-1]=e,this},entries:function(i){return t(e(i,0),0)}}}var o=i(0);e.exports=n},function(e,t,i){var n=i(0),o={get:function(e,t,i){var o=n.clone((r[e]||{})[t]);return i&&n.isArray(o)?o[o.length-1]:o}},r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};e.exports=o},,,,,,,function(e,t){function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===i||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function r(e){if(h===clearTimeout)return clearTimeout(e);if((h===n||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}function a(){g&&p&&(g=!1,p.length?f=p.concat(f):m=-1,f.length&&s())}function s(){if(!g){var e=o(a);g=!0;for(var t=f.length;t;){for(p=f,f=[];++m1)for(var i=1;i=0&&y.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function l(e,t){var i,n,o;if(t.singleton){var l=v++;i=m||(m=a(t)),n=c.bind(null,i,l,!1),o=c.bind(null,i,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=s(t),n=h.bind(null,i),o=function(){r(i),i.href&&URL.revokeObjectURL(i.href)}):(i=a(t),n=u.bind(null,i),o=function(){r(i)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function c(e,t,i,n){var o=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function u(e,t){var i=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}function h(e,t){var i=t.css,n=t.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([i],{type:"text/css"}),r=e.href;e.href=URL.createObjectURL(o),r&&URL.revokeObjectURL(r)}var d={},p=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},f=p(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=p(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,v=0,y=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},void 0===t.singleton&&(t.singleton=f()),void 0===t.insertAt&&(t.insertAt="bottom");var o=n(e);return i(o,t),function(e){for(var r=[],a=0;a.5?t:e}function s(e,t,i,n,o){var a=e.length;if(1==o)for(var s=0;so)e.length=o;else for(var r=n;r=0&&!(k[i]<=t);i--);i=Math.min(i,x-2)}else{for(i=G;it);i++);i=Math.min(i-1,x-2)}G=i,F=t;var n=k[i+1]-k[i];if(0!==n)if(O=(t-k[i])/n,v)if(N=T[i],R=T[0===i?i:i-1],V=T[i>x-2?x-1:i+1],B=T[i>x-3?x-1:i+2],w)u(R,N,V,B,O,O*O,O*O*O,d(e,o),M);else{var l;if(A)l=u(R,N,V,B,O,O*O,O*O*O,H,1),l=p(H);else{if(S)return a(N,V,O);l=h(R,N,V,B,O,O*O,O*O*O)}f(e,o,l)}else if(w)s(T[i],T[i+1],O,d(e,o),M);else{var l;if(A)s(T[i],T[i+1],O,H,1),l=p(H);else{if(S)return a(T[i],T[i+1],O);l=r(T[i],T[i+1],O)}f(e,o,l)}},j=new g({target:e._target,life:b,loop:e._loop,delay:e._delay,onframe:U,ondestroy:i});return t&&"spline"!==t&&(j.easing=t),j}}}var g=i(510),m=i(27),v=i(0),y=v.isArrayLike,x=Array.prototype.slice,b=function(e,t,i,r){this._tracks={},this._target=e,this._loop=t||!1,this._getter=i||n,this._setter=r||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(e,t){var i=this._tracks;for(var n in t)if(t.hasOwnProperty(n)){if(!i[n]){i[n]=[];var o=this._getter(this._target,n);if(null==o)continue;0!==e&&i[n].push({time:0,value:d(o)})}i[n].push({time:e,value:t[n]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;et+s&&a>n+s||ae+s&&r>i+s||rt+u&&c>o+u&&c>a+u||ce+u&&l>i+u&&l>r+u||lt&&r>n||ro?a:0}},function(e,t){var i=function(){this.head=null,this.tail=null,this._len=0},n=i.prototype;n.insert=function(e){var t=new o(e);return this.insertEntry(t),t},n.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},n.remove=function(e){var t=e.prev,i=e.next;t?t.next=i:this.head=i,i?i.prev=t:this.tail=t,e.next=e.prev=null,this._len--},n.len=function(){return this._len},n.clear=function(){this.head=this.tail=null,this._len=0};var o=function(e){this.value=e,this.next,this.prev},r=function(e){this._list=new i,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},a=r.prototype;a.put=function(e,t){var i=this._list,n=this._map,r=null;if(null==n[e]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete n[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new o(t),s.key=e,i.insertEntry(s),n[e]=s}return r},a.get=function(e){var t=this._map[e],i=this._list;if(null!=t)return t!==i.tail&&(i.remove(t),i.insertEntry(t)),t.value},a.clear=function(){this._list.clear(),this._map={}},e.exports=r},function(e,t){var i=2311;e.exports=function(){return i++}},function(e,t,i){"use strict";var n=i(0),o=i(72),r=function(e,t,i,n,r,a){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=a||!1,o.call(this,r)};r.prototype={constructor:r},n.inherits(r,o),e.exports=r},function(e,t){var i=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};i.prototype.getCanvasPattern=function(e){return this._canvasPattern||(this._canvasPattern=e.createPattern(this.image,this.repeat))},e.exports=i},function(e,t){function i(e,t,i){var n=t.x,o=t.x2,r=t.y,a=t.y2;return t.global||(n=n*i.width+i.x,o=o*i.width+i.x,r=r*i.height+i.y,a=a*i.height+i.y),e.createLinearGradient(n,r,o,a)}function n(e,t,i){var n=i.width,o=i.height,r=Math.min(n,o),a=t.x,s=t.y,l=t.r;return t.global||(a=a*n+i.x,s=s*o+i.y,l*=r),e.createRadialGradient(a,s,0,a,s,l)}var o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],r=function(e){this.extendFrom(e)};r.prototype={constructor:r,fill:"#000000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,textFill:"#000",textStroke:null,textPosition:"inside",textOffset:null,textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textTransform:!1,textRotation:0,blend:null,bind:function(e,t,i){for(var n=this,r=i&&i.style,a=!r,s=0;s0},extendFrom:function(e,t){if(e){var i=this;for(var n in e)!e.hasOwnProperty(n)||!t&&i.hasOwnProperty(n)||(i[n]=e[n])}},set:function(e,t){"string"==typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,o){for(var r="radial"===t.type?n:i,a=r(e,t,o),s=t.colorStops,l=0;l=2){if(a&&"spline"!==a){var s=o(r,a,i,t.smoothConstraint);e.moveTo(r[0][0],r[0][1]);for(var l=r.length,c=0;c<(i?l:l-1);c++){var u=s[2*c],h=s[2*c+1],d=r[(c+1)%l];e.bezierCurveTo(u[0],u[1],h[0],h[1],d[0],d[1])}}else{"spline"===a&&(r=n(r,i)),e.moveTo(r[0][0],r[0][1]);for(var c=1,p=r.length;c=0?parseFloat(e)/100*t:parseFloat(e):e}var o=i(25),r=i(10),a=new r,s=function(){};s.prototype={constructor:s,drawRectText:function(e,t,i){var r=this.style,s=r.text;if(null!=s&&(s+=""),s){e.save();var l,c,u=r.textPosition,h=r.textOffset,d=r.textDistance,p=r.textAlign,f=r.textFont||r.font,g=r.textBaseline,m=r.textVerticalAlign;i=i||o.getBoundingRect(s,f,p,g);var v=this.transform;if(r.textTransform?this.setTransform(e):v&&(a.copy(t),a.applyTransform(v),t=a),u instanceof Array){if(l=t.x+n(u[0],t.width),c=t.y+n(u[1],t.height),p=p||"left",g=g||"top",m){switch(m){case"middle":c-=i.height/2-i.lineHeight/2;break;case"bottom":c-=i.height-i.lineHeight/2;break;default:c+=i.lineHeight/2}g="middle"}}else{var y=o.adjustTextPositionOnRect(u,t,i,d);l=y.x,c=y.y,p=p||y.textAlign,g=g||y.textBaseline}h&&(l+=h[0],c+=h[1]),e.textAlign=p||"left",e.textBaseline=g||"alphabetic";var x=r.textFill,b=r.textStroke;x&&(e.fillStyle=x),b&&(e.strokeStyle=b),e.font=f||"12px sans-serif",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor||"transparent",e.shadowOffsetX=r.textShadowOffsetX,e.shadowOffsetY=r.textShadowOffsetY;var _=s.split("\n");r.textRotation&&(v&&e.translate(v[4],v[5]),e.rotate(r.textRotation),v&&e.translate(-v[4],-v[5]));for(var w=0;w<_.length;w++)b&&e.strokeText(_[w],l,c),x&&e.fillText(_[w],l,c),c+=i.lineHeight;e.restore()}}},e.exports=s},function(e,t,i){"use strict";function n(e){return e>s||e<-s}var o=i(21),r=i(6),a=o.identity,s=5e-5,l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return n(this.rotation)||n(this.position[0])||n(this.position[1])||n(this.scale[0]-1)||n(this.scale[1]-1)},c.updateTransform=function(){var e=this.parent,t=e&&e.transform,i=this.needLocalTransform(),n=this.transform;if(!i&&!t)return void(n&&a(n));n=n||o.create(),i?this.getLocalTransform(n):a(n),t&&(i?o.mul(n,e.transform,n):o.copy(n,e.transform)),this.transform=n,this.invTransform=this.invTransform||o.create(),o.invert(this.invTransform,n)},c.getLocalTransform=function(e){e=e||[],a(e);var t=this.origin,i=this.scale,n=this.rotation,r=this.position;return t&&(e[4]-=t[0],e[5]-=t[1]),o.scale(e,e,i),n&&o.rotate(e,e,n),t&&(e[4]+=t[0],e[5]+=t[1]),e[4]+=r[0],e[5]+=r[1],e},c.setTransform=function(e){var t=this.transform,i=e.dpr||1;t?e.setTransform(i*t[0],i*t[1],i*t[2],i*t[3],i*t[4],i*t[5]):e.setTransform(i,0,0,i,0,0)},c.restoreTransform=function(e){var t=(this.transform,e.dpr||1);e.setTransform(t,0,0,t,0,0)};var u=[];c.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(o.mul(u,e.invTransform,t),t=u);var i=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],a=this.position,s=this.scale;n(i-1)&&(i=Math.sqrt(i)),n(r-1)&&(r=Math.sqrt(r)),t[0]<0&&(i=-i),t[3]<0&&(r=-r),a[0]=t[4],a[1]=t[5],s[0]=i,s[1]=r,this.rotation=Math.atan2(-t[1]/r,t[0]/i)}},c.getGlobalScale=function(){var e=this.transform;if(!e)return[1,1];var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]),i=Math.sqrt(e[2]*e[2]+e[3]*e[3]);return e[0]<0&&(t=-t),e[3]<0&&(i=-i),[t,i]},c.transformCoordToLocal=function(e,t){var i=[e,t],n=this.invTransform;return n&&r.applyTransform(i,i,n),i},c.transformCoordToGlobal=function(e,t){var i=[e,t],n=this.transform;return n&&r.applyTransform(i,i,n),i},e.exports=l},function(e,t,i){if(!i(13).canvasSupported){var n,o="urn:schemas-microsoft-com:vml",r=window,a=r.document,s=!1;try{!a.namespaces.zrvml&&a.namespaces.add("zrvml",o),n=function(e){return a.createElement("')}}catch(e){n=function(e){return a.createElement("<"+e+' xmlns="'+o+'" class="zrvml">')}}var l=function(){if(!s){s=!0;var e=a.styleSheets;e.length<31?a.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}};e.exports={doc:a,initVML:l,createNode:n}}},function(e,t,i){function n(e){delete p[e]}/*! * ZRender, a high performance 2d drawing library. * * Copyright (c) 2013, Baidu Inc. * All rights reserved. * * LICENSE * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt */ var o=i(171),r=i(13),a=i(0),s=i(505),l=i(508),c=i(509),u=i(516),h=!r.canvasSupported,d={canvas:i(507)},p={},f={};f.version="3.4.0",f.init=function(e,t){var i=new g(o(),e,t);return p[i.id]=i,i},f.dispose=function(e){if(e)e.dispose();else{for(var t in p)p.hasOwnProperty(t)&&p[t].dispose();p={}}return f},f.getInstance=function(e){return p[e]},f.registerPainter=function(e,t){d[e]=t};var g=function(e,t,i){i=i||{},this.dom=t,this.id=e;var n=this,o=new l,p=i.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](t,o,i);this.storage=o,this.painter=f;var g=r.node?null:new u(f.getViewportRoot());this.handler=new s(o,f,g,f.root),this.animation=new c({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=o.delFromMap,v=o.addToMap;o.delFromMap=function(e){var t=o.get(e);m.call(o,e),t&&t.removeSelfFromZr(n)},o.addToMap=function(e){v.call(o,e),e.addSelfToZr(n)}};g.prototype={constructor:g,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer(e,t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(e,t){this.painter.addHover&&(this.painter.addHover(e,t),this.refreshHover())},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),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(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},on:function(e,t,i){this.handler.on(e,t,i)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},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,n(this.id)}},e.exports=f},function(e,t,i){"use strict";var n=i(17),o=i(496),r=i(484),a=i.n(r),s=i(487),l=i.n(s),c=i(488),u=i.n(c),h=i(485),d=i.n(h),p=i(486),f=i.n(p);n.default.use(o.a),t.a=new o.a({routes:[{path:"/",name:"Overview",component:a.a},{path:"/proxies/tcp",name:"ProxiesTcp",component:l.a},{path:"/proxies/udp",name:"ProxiesUdp",component:u.a},{path:"/proxies/http",name:"ProxiesHttp",component:d.a},{path:"/proxies/https",name:"ProxiesHttps",component:f.a}]})},function(e,t,i){var n=i(219);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){var n=i(220);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){i(498);var n=i(37)(i(208),i(490),null,null);e.exports=n.exports},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function i(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function r(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function s(e){var t=new FileReader,i=a(t);return t.readAsArrayBuffer(e),i}function l(e){var t=new FileReader,i=a(t);return t.readAsText(e),i}function c(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n-1?t:e}function p(e,t){t=t||{};var i=t.body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function f(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),o=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function g(e){var t=new o;return e.split(/\r?\n/).forEach(function(e){var i=e.split(":"),n=i.shift().trim();if(n){var o=i.join(":").trim();t.append(n,o)}}),t}function m(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],x=function(e){return e&&DataView.prototype.isPrototypeOf(e)},b=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,n){e=t(e),n=i(n);var o=this.map[e];this.map[e]=o?o+","+n:n},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,n){this.map[t(e)]=i(n)},o.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,i){e.push(i)}),n(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,i){e.push([i,t])}),n(e)},v.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},h.call(p.prototype),h.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},m.error=function(){var e=new m(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];m.redirect=function(e,t){if(w.indexOf(t)===-1)throw new RangeError("Invalid status code");return new m(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=p,e.Response=m,e.fetch=function(e,t){return new Promise(function(i,n){var o=new p(e,t),r=new XMLHttpRequest;r.onload=function(){var e={status:r.status,statusText:r.statusText,headers:g(r.getAllResponseHeaders()||"")};e.url="responseURL"in r?r.responseURL:e.headers.get("X-Request-URL");var t="response"in r?r.response:r.responseText;i(new m(t,e))},r.onerror=function(){n(new TypeError("Network request failed"))},r.ontimeout=function(){n(new TypeError("Network request failed"))},r.open(o.method,o.url,!0),"include"===o.credentials&&(r.withCredentials=!0),"responseType"in r&&v.blob&&(r.responseType="blob"),o.headers.forEach(function(e,t){r.setRequestHeader(t,e)}),r.send(void 0===o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{handleSelect:function(e,t){""==e&&window.open("http://github.com/fatedier/frp")}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(103);t.default={data:function(){return{vhost_http_port:"",vhost_https_port:"",auth_timeout:"",subdomain_host:"",max_pool_count:"",heart_beat_timeout:"",client_counts:"",cur_conns:"",proxy_counts:""}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var e=this;fetch("/api/serverinfo",{credentials:"include"}).then(function(e){return e.json()}).then(function(t){e.vhost_http_port=t.vhost_http_port,0==e.vhost_http_port&&(e.vhost_http_port="disable"),e.vhost_https_port=t.vhost_https_port,0==e.vhost_https_port&&(e.vhost_https_port="disable"),e.auth_timeout=t.auth_timeout,e.subdomain_host=t.subdomain_host,e.max_pool_count=t.max_pool_count,e.heart_beat_timeout=t.heart_beat_timeout,e.client_counts=t.client_counts,e.cur_conns=t.cur_conns,e.proxy_counts=0,null!=t.proxy_type_count&&(null!=t.proxy_type_count.tcp&&(e.proxy_counts+=t.proxy_type_count.tcp),null!=t.proxy_type_count.udp&&(e.proxy_counts+=t.proxy_type_count.udp),null!=t.proxy_type_count.http&&(e.proxy_counts+=t.proxy_type_count.http),null!=t.proxy_type_count.https&&(e.proxy_counts+=t.proxy_type_count.https)),i.i(n.b)("traffic",t.total_traffic_in,t.total_traffic_out),i.i(n.c)("proxies",t)}).catch(function(t){e.$message({showClose:!0,message:"Get server info from frps failed!",type:"warning"})})}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null,vhost_http_port:"",subdomain_host:""}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/serverinfo",{credentials:"include"}).then(function(e){return e.json()}).then(function(t){e.vhost_http_port=t.vhost_http_port,e.subdomain_host=t.subdomain_host,null!=e.vhost_http_port&&0!=e.vhost_http_port&&fetch("/api/proxy/http",{credentials:"include"}).then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.b(l,e.vhost_http_port,e.subdomain_host))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null,vhost_https_port:"",subdomain_host:""}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/serverinfo",{credentials:"include"}).then(function(e){return e.json()}).then(function(t){e.vhost_https_port=t.vhost_https_port,e.subdomain_host=t.subdomain_host,null!=e.vhost_https_port&&0!=e.vhost_https_port&&fetch("/api/proxy/https",{credentials:"include"}).then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.a(l,e.vhost_https_port,e.subdomain_host))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/proxy/tcp",{credentials:"include"}).then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.d(l))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/proxy/udp",{credentials:"include"}).then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.c(l))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(103);t.default={props:["proxy_name"],created:function(){this.fetchData()},methods:{fetchData:function(){var e=this,t="/api/proxy/traffic/"+this.proxy_name;fetch(t,{credentials:"include"}).then(function(e){return e.json()}).then(function(t){i.i(n.a)(e.proxy_name,t.traffic_in,t.traffic_out)}).catch(function(t){e.$message({showClose:!0,message:"Get server info from frps failed!"+t,type:"warning"})})}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(17),o=i(73),r=i.n(o),a=i(182),s=(i.n(a),i(183)),l=(i.n(s),i(184)),c=i.n(l),u=i(181),h=i(185);i.n(h);n.default.use(r.a),n.default.config.productionTip=!1,new n.default({el:"#app",router:u.a,template:"",components:{App:c.a}})},,function(e,t,i){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function o(e){return 3*e.length/4-n(e)}function r(e){var t,i,o,r,a,s,l=e.length;a=n(e),s=new h(3*l/4-a),o=a>0?l-4:l;var c=0;for(t=0,i=0;t>16&255,s[c++]=r>>8&255,s[c++]=255&r;return 2===a?(r=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[c++]=255&r):1===a&&(r=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[c++]=r>>8&255,s[c++]=255&r),s}function a(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function s(e,t,i){for(var n,o=[],r=t;rl?l:a+16383));return 1===n?(t=e[i-1],o+=c[t>>2],o+=c[t<<4&63],o+="=="):2===n&&(t=(e[i-2]<<8)+e[i-1],o+=c[t>>10],o+=c[t>>4&63],o+=c[t<<2&63],o+="="),r.push(o),r.join("")}t.byteLength=o,t.toByteArray=r,t.fromByteArray=l;for(var c=[],u=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,f=d.length;p=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),r.alloc(+e)}function m(e,t){if(r.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return Y(e).length;default:if(n)return j(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,t>>>=0,i<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,i);case"utf8":case"utf-8":return I(this,t,i);case"ascii":return L(this,t,i);case"latin1":case"binary":return D(this,t,i);case"base64":return T(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function x(e,t,i,n,o){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=o?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(o)return-1;i=e.length-1}else if(i<0){if(!o)return-1;i=0}if("string"==typeof t&&(t=r.from(t,n)),r.isBuffer(t))return 0===t.length?-1:b(e,t,i,n,o);if("number"==typeof t)return t&=255,r.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):b(e,[t],i,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,i,n,o){function r(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,i/=2}var c;if(o){var u=-1;for(c=i;cs&&(i=s-l),c=i;c>=0;c--){for(var h=!0,d=0;do&&(n=o):n=o;var r=t.length;if(r%2!=0)throw new TypeError("Invalid hex string");n>r/2&&(n=r/2);for(var a=0;a239?4:r>223?3:r>191?2:1;if(o+s<=i){var l,c,u,h;switch(s){case 1:r<128&&(a=r);break;case 2:l=e[o+1],128==(192&l)&&(h=(31&r)<<6|63&l)>127&&(a=h);break;case 3:l=e[o+1],c=e[o+2],128==(192&l)&&128==(192&c)&&(h=(15&r)<<12|(63&l)<<6|63&c)>2047&&(h<55296||h>57343)&&(a=h);break;case 4:l=e[o+1],c=e[o+2],u=e[o+3],128==(192&l)&&128==(192&c)&&128==(192&u)&&(h=(15&r)<<18|(63&l)<<12|(63&c)<<6|63&u)>65535&&h<1114112&&(a=h)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=s}return C(n)}function C(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var i="",n=0;nn)&&(i=n);for(var o="",r=t;ri)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,i,n,o,a){if(!r.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function R(e,t,i,n){t<0&&(t=65535+t+1);for(var o=0,r=Math.min(e.length-i,2);o>>8*(n?o:1-o)}function N(e,t,i,n){t<0&&(t=4294967295+t+1);for(var o=0,r=Math.min(e.length-i,4);o>>8*(n?o:3-o)&255}function V(e,t,i,n,o,r){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function B(e,t,i,n,o){return o||V(e,t,i,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,i,n,23,4),i+4}function G(e,t,i,n,o){return o||V(e,t,i,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,i,n,52,8),i+8}function F(e){if(e=H(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function H(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var i,n=e.length,o=null,r=[],a=0;a55295&&i<57344){if(!o){if(i>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&r.push(239,191,189);continue}o=i;continue}if(i<56320){(t-=3)>-1&&r.push(239,191,189),o=i;continue}i=65536+(o-55296<<10|i-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,i<128){if((t-=1)<0)break;r.push(i)}else if(i<2048){if((t-=2)<0)break;r.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;r.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return r}function W(e){for(var t=[],i=0;i>8,o=i%256,r.push(o),r.push(n);return r}function Y(e){return J.toByteArray(F(e))}function q(e,t,i,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+i]=e[o];return o}function X(e){return e!==e}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var J=i(217),Q=i(480),K=i(481);t.Buffer=r,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),r.poolSize=8192,r._augment=function(e){return e.__proto__=r.prototype,e},r.from=function(e,t,i){return a(null,e,t,i)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,t,i){return l(null,e,t,i)},r.allocUnsafe=function(e){return c(null,e)},r.allocUnsafeSlow=function(e){return c(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,a=Math.min(i,n);o0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),""},r.prototype.compare=function(e,t,i,n,o){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,s=i-t,l=Math.min(a,s),c=this.slice(n,o),u=e.slice(t,i),h=0;ho)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return _(this,e,t,i);case"utf8":case"utf-8":return w(this,e,t,i);case"ascii":return A(this,e,t,i);case"latin1":case"binary":return S(this,e,t,i);case"base64":return M(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;r.prototype.slice=function(e,t){var i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(o*=256);)n+=this[e+--t]*o;return n},r.prototype.readUInt8=function(e,t){return t||E(e,1,this.length),this[e]},r.prototype.readUInt16LE=function(e,t){return t||E(e,2,this.length),this[e]|this[e+1]<<8},r.prototype.readUInt16BE=function(e,t){return t||E(e,2,this.length),this[e]<<8|this[e+1]},r.prototype.readUInt32LE=function(e,t){return t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},r.prototype.readUInt32BE=function(e,t){return t||E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},r.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=this[e],o=1,r=0;++r=o&&(n-=Math.pow(2,8*t)),n},r.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=t,o=1,r=this[e+--n];n>0&&(o*=256);)r+=this[e+--n]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},r.prototype.readInt8=function(e,t){return t||E(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},r.prototype.readInt16LE=function(e,t){t||E(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},r.prototype.readInt16BE=function(e,t){t||E(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},r.prototype.readInt32LE=function(e,t){return t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},r.prototype.readInt32BE=function(e,t){return t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},r.prototype.readFloatLE=function(e,t){return t||E(e,4,this.length),Q.read(this,e,!0,23,4)},r.prototype.readFloatBE=function(e,t){return t||E(e,4,this.length),Q.read(this,e,!1,23,4)},r.prototype.readDoubleLE=function(e,t){return t||E(e,8,this.length),Q.read(this,e,!0,52,8)},r.prototype.readDoubleBE=function(e,t){return t||E(e,8,this.length),Q.read(this,e,!1,52,8)},r.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t|=0,i|=0,!n){O(this,e,t,i,Math.pow(2,8*i)-1,0)}var o=1,r=0;for(this[t]=255&e;++r=0&&(r*=256);)this[t+o]=e/r&255;return t+i},r.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,255,0),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},r.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},r.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},r.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},r.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},r.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*i-1);O(this,e,t,i,o-1,-o)}var r=0,a=1,s=0;for(this[t]=255&e;++r>0)-s&255;return t+i},r.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*i-1);O(this,e,t,i,o-1,-o)}var r=i-1,a=1,s=0;for(this[t+r]=255&e;--r>=0&&(a*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/a>>0)-s&255;return t+i},r.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,127,-128),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},r.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},r.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},r.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},r.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},r.prototype.writeFloatLE=function(e,t,i){return B(this,e,t,!0,i)},r.prototype.writeFloatBE=function(e,t,i){return B(this,e,t,!1,i)},r.prototype.writeDoubleLE=function(e,t,i){return G(this,e,t,!0,i)},r.prototype.writeDoubleBE=function(e,t,i){return G(this,e,t,!1,i)},r.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+i];else if(a<1e3||!r.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,i=void 0===i?this.length:i>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a*,.el-table th.is-hidden>*{visibility:hidden}.el-breadcrumb:after,.el-button-group:after,.el-form-item:after,.el-form-item__content:after{clear:both}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}@font-face{font-family:element-icons;src:url('+i(483)+') format("woff"),url('+i(482)+') format("truetype");font-weight:400;font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-arrow-down:before{content:"\\E600"}.el-icon-arrow-left:before{content:"\\E601"}.el-icon-arrow-right:before{content:"\\E602"}.el-icon-arrow-up:before{content:"\\E603"}.el-icon-caret-bottom:before{content:"\\E604"}.el-icon-caret-left:before{content:"\\E605"}.el-icon-caret-right:before{content:"\\E606"}.el-icon-caret-top:before{content:"\\E607"}.el-icon-check:before{content:"\\E608"}.el-icon-circle-check:before{content:"\\E609"}.el-icon-circle-close:before{content:"\\E60A"}.el-icon-circle-cross:before{content:"\\E60B"}.el-icon-close:before{content:"\\E60C"}.el-icon-upload:before{content:"\\E60D"}.el-icon-d-arrow-left:before{content:"\\E60E"}.el-icon-d-arrow-right:before{content:"\\E60F"}.el-icon-d-caret:before{content:"\\E610"}.el-icon-date:before{content:"\\E611"}.el-icon-delete:before{content:"\\E612"}.el-icon-document:before{content:"\\E613"}.el-icon-edit:before{content:"\\E614"}.el-icon-information:before{content:"\\E615"}.el-icon-loading:before{content:"\\E616"}.el-icon-menu:before{content:"\\E617"}.el-icon-message:before{content:"\\E618"}.el-icon-minus:before{content:"\\E619"}.el-icon-more:before{content:"\\E61A"}.el-icon-picture:before{content:"\\E61B"}.el-icon-plus:before{content:"\\E61C"}.el-icon-search:before{content:"\\E61D"}.el-icon-setting:before{content:"\\E61E"}.el-icon-share:before{content:"\\E61F"}.el-icon-star-off:before{content:"\\E620"}.el-icon-star-on:before{content:"\\E621"}.el-icon-time:before{content:"\\E622"}.el-icon-warning:before{content:"\\E623"}.el-icon-delete2:before{content:"\\E624"}.el-icon-upload2:before{content:"\\E627"}.el-icon-view:before{content:"\\E626"}.el-icon-loading{-webkit-animation:rotating 1s linear infinite;animation:rotating 1s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.el-pagination{white-space:nowrap;padding:2px 5px;color:#48576a}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span{display:inline-block;font-size:13px;min-width:28px;height:28px;line-height:28px;vertical-align:top;box-sizing:border-box}.el-pagination .el-select .el-input{width:110px}.el-pagination .el-select .el-input input{padding-right:25px;border-radius:2px;height:28px}.el-pagination button{border:none;padding:0 6px;background:0 0}.el-pagination button:focus{outline:0}.el-pagination button:hover{color:#20a0ff}.el-pagination button.disabled{color:#e4e4e4;background-color:#fff;cursor:not-allowed}.el-pager li,.el-pager li.btn-quicknext:hover,.el-pager li.btn-quickprev:hover{cursor:pointer}.el-pagination .btn-next,.el-pagination .btn-prev{background:50% no-repeat #fff;background-size:16px;border:1px solid #d1dbe5;cursor:pointer;margin:0;color:#97a8be}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px}.el-pagination .btn-prev{border-radius:2px 0 0 2px;border-right:0}.el-pagination .btn-next{border-radius:0 2px 2px 0;border-left:0}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:12px;line-height:22px;height:22px;min-width:22px}.el-pagination--small .el-pager li{border-radius:2px}.el-pagination__sizes{margin:0 10px 0 0}.el-pagination__sizes .el-input .el-input__inner{font-size:13px;border-color:#d1dbe5}.el-pagination__sizes .el-input .el-input__inner:hover{border-color:#20a0ff}.el-pagination__jump{margin-left:10px}.el-pagination__total{margin:0 10px}.el-pagination__editor{border:1px solid #d1dbe5;border-radius:2px;line-height:18px;padding:4px 2px;width:30px;text-align:center;margin:0 6px;box-sizing:border-box;-webkit-transition:border .3s;transition:border .3s}.el-pager,.el-pager li{vertical-align:top;display:inline-block;margin:0}.el-pagination__editor::-webkit-inner-spin-button,.el-pagination__editor::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__editor:focus{outline:0;border-color:#20a0ff}.el-autocomplete-suggestion__wrap,.el-pager li{border:1px solid #d1dbe5;box-sizing:border-box}.el-pager{user-select:none;list-style:none;font-size:0;padding:0}.el-pager,.el-radio,.el-radio-button__inner,.el-switch__label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-pager li{padding:0 4px;border-right:0;background:#fff;font-size:13px;min-width:28px;height:28px;line-height:28px;text-align:center}.el-pager li:last-child{border-right:1px solid #d1dbe5}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:28px;color:#97a8be}.el-pager li.active+li{border-left:0;padding-left:5px}.el-pager li:hover{color:#20a0ff}.el-pager li.active{border-color:#20a0ff;background-color:#20a0ff;color:#fff;cursor:default}.el-dialog{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);background:#fff;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.3);box-sizing:border-box;margin-bottom:50px}.el-dialog--tiny{width:30%}.el-dialog--small{width:50%}.el-dialog--large{width:90%}.el-dialog--full{width:100%;top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{top:0;right:0;bottom:0;left:0;position:fixed;overflow:auto;margin:0}.el-autocomplete,.el-dropdown{display:inline-block;position:relative}.el-dialog__header{padding:20px 20px 0}.el-dialog__close{cursor:pointer;color:#bfcbd9}.el-dialog__close:hover{color:#20a0ff}.el-dialog__title{line-height:1;font-size:16px;font-weight:700;color:#1f2d3d}.el-dialog__body{padding:30px 20px;color:#48576a;font-size:14px}.el-dialog__footer{padding:10px 20px 15px;text-align:right;box-sizing:border-box}.dialog-fade-enter-active{-webkit-animation:dialog-fade-in .3s;animation:dialog-fade-in .3s}.dialog-fade-leave-active{-webkit-animation:dialog-fade-out .3s;animation:dialog-fade-out .3s}@-webkit-keyframes dialog-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes dialog-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes dialog-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}@keyframes dialog-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}.el-autocomplete-suggestion{margin:5px 0;box-shadow:0 0 6px 0 rgba(0,0,0,.04),0 2px 4px 0 rgba(0,0,0,.12)}.el-autocomplete-suggestion li{list-style:none;line-height:36px;padding:0 10px;margin:0;cursor:pointer;color:#48576a;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover{background-color:#e4e8f1}.el-autocomplete-suggestion li.highlighted{background-color:#20a0ff;color:#fff}.el-autocomplete-suggestion li:active{background-color:#0082e6}.el-autocomplete-suggestion.is-loading li:hover,.el-dropdown-menu{background-color:#fff}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid #d1dbe5}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:#999}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-autocomplete-suggestion__wrap{max-height:280px;overflow:auto;background-color:#fff;padding:6px 0;border-radius:2px}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-dropdown{color:#48576a;font-size:14px}.el-dropdown .el-button-group{display:block}.el-dropdown .el-dropdown__caret-button{padding-right:5px;padding-left:5px}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{padding-left:0}.el-dropdown__icon{font-size:12px;margin:0 3px}.el-dropdown-menu{margin:5px 0;border:1px solid #d1dbe5;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.12);padding:6px 0;z-index:10;position:absolute;top:0;left:0;min-width:100px}.el-dropdown-menu__item{list-style:none;line-height:36px;padding:0 10px;margin:0;cursor:pointer}.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#e4e8f1;color:#48576a}.el-dropdown-menu__item.is-disabled{cursor:default;color:#bfcbd9;pointer-events:none}.el-dropdown-menu__item--divided{position:relative;margin-top:6px;border-top:1px solid #d1dbe5}.el-dropdown-menu__item--divided:before{content:"";height:6px;display:block;margin:0 -10px;background-color:#fff}.el-menu-item,.el-submenu__title{height:56px;line-height:56px;font-size:14px;color:#48576a;padding:0 20px;cursor:pointer;position:relative;-webkit-transition:border-color .3s,background-color .3s,color .3s;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box;white-space:nowrap}.el-menu{border-radius:2px;list-style:none;position:relative;margin:0;padding-left:0;background-color:#eef1f6}.el-menu:after,.el-menu:before{display:table;content:""}.el-menu:after{clear:both}.el-menu li{list-style:none}.el-menu--dark{background-color:#324157}.el-menu--dark .el-menu-item,.el-menu--dark .el-submenu__title{color:#bfcbd9}.el-menu--dark .el-menu-item:hover,.el-menu--dark .el-submenu__title:hover{background-color:#48576a}.el-menu--dark .el-submenu .el-menu{background-color:#1f2d3d}.el-menu--dark .el-submenu .el-menu .el-menu-item:hover{background-color:#48576a}.el-menu--horizontal .el-menu-item{float:left;height:60px;line-height:60px;margin:0;cursor:pointer;position:relative;box-sizing:border-box;border-bottom:5px solid transparent}.el-menu--horizontal .el-menu-item a,.el-menu--horizontal .el-menu-item a:hover{color:inherit}.el-menu--horizontal .el-submenu{float:left;position:relative}.el-menu--horizontal .el-submenu>.el-menu{position:absolute;top:65px;left:0;border:1px solid #d1dbe5;padding:5px 0;background-color:#fff;z-index:100;min-width:100%;box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-menu--horizontal .el-submenu .el-submenu__title{height:60px;line-height:60px;border-bottom:5px solid transparent}.el-menu--horizontal .el-submenu .el-menu-item{background-color:#fff;float:none;height:36px;line-height:36px;padding:0 10px}.el-menu--horizontal .el-submenu .el-submenu__icon-arrow{position:static;vertical-align:middle;margin-left:5px;color:#97a8be;margin-top:-3px}.el-menu--horizontal .el-menu-item:hover,.el-menu--horizontal .el-submenu__title:hover{background-color:#eef1f6}.el-menu--horizontal>.el-menu-item:hover,.el-menu--horizontal>.el-submenu.is-active .el-submenu__title,.el-menu--horizontal>.el-submenu:hover .el-submenu__title{border-bottom:5px solid #20a0ff}.el-menu--horizontal.el-menu--dark .el-menu-item:hover,.el-menu--horizontal.el-menu--dark .el-submenu__title:hover{background-color:#324157}.el-menu--horizontal.el-menu--dark .el-submenu .el-menu-item:hover,.el-menu--horizontal.el-menu--dark .el-submenu .el-submenu-title:hover,.el-menu-item:hover{background-color:#d1dbe5}.el-menu--horizontal.el-menu--dark .el-submenu .el-menu-item,.el-menu--horizontal.el-menu--dark .el-submenu .el-submenu-title{color:#48576a}.el-menu--horizontal.el-menu--dark .el-submenu .el-menu-item.is-active,.el-menu-item.is-active{color:#20a0ff}.el-menu-item [class^=el-icon-]{vertical-align:baseline;margin-right:10px}.el-menu-item:first-child{margin-left:0}.el-menu-item:last-child{margin-right:0}.el-submenu [class^=el-icon-]{vertical-align:baseline;margin-right:10px}.el-submenu .el-menu{background-color:#e4e8f1}.el-submenu .el-menu-item:hover,.el-submenu__title:hover{background-color:#d1dbe5}.el-submenu .el-menu-item{height:50px;line-height:50px;padding:0 45px}.el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-submenu.is-active .el-submenu__title{border-bottom-color:#20a0ff}.el-submenu__title{position:relative}.el-submenu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-size:12px}.el-radio,.el-radio__inner,.el-radio__input{position:relative;display:inline-block}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding-top:15px;line-height:normal;font-size:14px;padding-left:20px;color:#97a8be}.el-radio{color:#1f2d3d;cursor:pointer;white-space:nowrap}.el-radio+.el-radio{margin-left:15px}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;line-height:1;vertical-align:middle}.el-radio__input.is-focus .el-radio__inner{border-color:#20a0ff}.el-radio__input.is-checked .el-radio__inner{border-color:#20a0ff;background:#20a0ff}.el-radio__input.is-checked .el-radio__inner:after{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-disabled .el-radio__inner{background-color:#eef1f6;border-color:#d1dbe5;cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:#eef1f6}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#d1dbe5;border-color:#d1dbe5}.el-radio__inner,.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#fff}.el-radio__input.is-disabled+.el-radio__label{color:#bbb;cursor:not-allowed}.el-radio__inner{border:1px solid #bfcbd9;width:18px;height:18px;border-radius:50%;cursor:pointer;box-sizing:border-box}.el-radio__inner:hover{border-color:#20a0ff}.el-radio__inner:after{width:6px;height:6px;border-radius:50%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0);-webkit-transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6);transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6);transition:transform .15s cubic-bezier(.71,-.46,.88,.6);transition:transform .15s cubic-bezier(.71,-.46,.88,.6),-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6)}.el-switch__core,.el-switch__label{width:46px;height:22px;cursor:pointer}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio-button,.el-radio-button__inner{position:relative;display:inline-block}.el-radio__label{font-size:14px;padding-left:5px}.el-radio-group{display:inline-block;font-size:0;line-height:1}.el-radio-group .el-radio{font-size:14px}.el-radio-button:first-child .el-radio-button__inner{border-left:1px solid #bfcbd9;border-radius:4px 0 0 4px;box-shadow:none!important}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 4px 4px 0}.el-radio-button__inner{line-height:1;white-space:nowrap;vertical-align:middle;background:#fff;border:1px solid #bfcbd9;border-left:0;color:#1f2d3d;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;cursor:pointer;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);padding:10px 15px;font-size:14px;border-radius:0}.el-radio-button__inner:hover{color:#20a0ff}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button__orig-radio{opacity:0;outline:0;position:absolute;z-index:-1;left:-999px}.el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#20a0ff;border-color:#20a0ff;box-shadow:-1px 0 0 0 #20a0ff}.el-radio-button__orig-radio:disabled+.el-radio-button__inner{color:#bfcbd9;cursor:not-allowed;background-image:none;background-color:#eef1f6;border-color:#d1dbe5;box-shadow:none}.el-radio-button--large .el-radio-button__inner{padding:11px 19px;font-size:16px;border-radius:0}.el-radio-button--small .el-radio-button__inner{padding:7px 9px;font-size:12px;border-radius:0}.el-radio-button--mini .el-radio-button__inner{padding:4px;font-size:12px;border-radius:0}.el-switch{display:inline-block;position:relative;font-size:14px;line-height:22px;height:22px;vertical-align:middle}.el-switch__label,.el-switch__label *{position:absolute;font-size:14px;display:inline-block}.el-switch .label-fade-enter,.el-switch .label-fade-leave-active{opacity:0}.el-switch.is-disabled .el-switch__core{border-color:#e4e8f1!important;background:#e4e8f1!important}.el-switch.is-disabled .el-switch__core span{background-color:#fbfdff!important}.el-switch.is-disabled .el-switch__core~.el-switch__label *{color:#fbfdff!important}.el-switch.is-disabled .el-switch__input:checked+.el-switch__core{border-color:#e4e8f1;background-color:#e4e8f1}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{-webkit-transition:.2s;transition:.2s;z-index:10;left:0;top:0;-moz-user-select:none;user-select:none}.el-checkbox,.el-date-table,.el-switch__label,.el-time-panel{-webkit-user-select:none;-ms-user-select:none}.el-switch__label *{line-height:1;top:4px;color:#fff}.el-switch__label--left i{left:6px}.el-switch__label--right i{right:6px}.el-switch__input{display:none}.el-switch__input:checked+.el-switch__core{border-color:#20a0ff;background-color:#20a0ff}.el-switch__core{margin:0;display:inline-block;position:relative;border:1px solid #bfcbd9;outline:0;border-radius:12px;box-sizing:border-box;background:#bfcbd9;-webkit-transition:border-color .3s,background-color .3s;transition:border-color .3s,background-color .3s}.el-switch__core .el-switch__button{top:0;left:0;position:absolute;border-radius:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;width:16px;height:16px;z-index:20;background-color:#fff}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-select-dropdown{position:absolute;z-index:1001;border:1px solid #d1dbe5;border-radius:2px;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);box-sizing:border-box;margin:5px 0}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:#20a0ff;background-color:#fff}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover,.el-select-dropdown__item.hover{background-color:#e4e8f1}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{position:absolute;right:10px;font-family:element-icons;content:"\\E608";font-size:11px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:#999;font-size:14px}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select-dropdown__item{font-size:14px;padding:8px 10px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#48576a;height:36px;line-height:1.5;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.selected{color:#fff;background-color:#20a0ff}.el-select-dropdown__item.selected.hover{background-color:#1c8de0}.el-select-dropdown__item span{line-height:1.5!important}.el-select-dropdown__item.is-disabled{color:#bfcbd9;cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:#fff}.el-select-group{margin:0;padding:0}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-group__wrap{list-style:none;margin:0;padding:0}.el-select-group__title{padding-left:10px;font-size:12px;color:#999;height:30px;line-height:30px}.el-select{display:inline-block;position:relative}.el-select:hover .el-input__inner{border-color:#8391a5}.el-select .el-input__inner{cursor:pointer}.el-select .el-input__inner:focus{border-color:#20a0ff}.el-select .el-input .el-input__icon{font-size:12px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;line-height:16px;top:50%;cursor:pointer}.el-select .el-input .el-input__icon,.el-select .el-input .el-input__icon.is-show-close{color:#bfcbd9;-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.el-select .el-input .el-input__icon.is-show-close{-webkit-transition:0s;transition:0s;width:16px;height:16px;font-size:14px;right:8px;text-align:center;border-radius:100%}.el-select .el-input .el-input__icon.is-show-close:hover{color:#97a8be}.el-select .el-input .el-input__icon.is-reverse{-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{border-color:#d1dbe5}.el-select>.el-input{display:block}.el-select .el-tag__close{margin-top:-2px}.el-select .el-tag{height:24px;line-height:24px;box-sizing:border-box;margin:3px 0 3px 6px}.el-select__input{border:none;outline:0;padding:0;margin-left:10px;color:#666;font-size:14px;vertical-align:baseline;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-mini{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:1000;right:25px;color:#bfcbd9;line-height:18px;font-size:12px}.el-select__close:hover{color:#97a8be}.el-select__tags{position:absolute;line-height:normal;white-space:normal;z-index:1000;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-table,.el-table td,.el-table th{box-sizing:border-box;position:relative}.el-table .el-tooltip.cell,.el-table th,.el-table th>div{white-space:nowrap}.el-select__tag{display:inline-block;height:24px;line-height:24px;font-size:14px;border-radius:4px;color:#fff;background-color:#20a0ff}.el-select__tag .el-icon-close{font-size:12px}.el-table{overflow:hidden;width:100%;max-width:100%;background-color:#fff;border:1px solid #dfe6ec;font-size:14px;color:#1f2d3d}.el-table td,.el-table th{height:40px;min-width:0;text-overflow:ellipsis;vertical-align:middle}.el-table:after,.el-table:before{content:"";position:absolute;background-color:#dfe6ec;z-index:1}.el-table td.is-right,.el-table th.is-right{text-align:right}.el-table td.is-left,.el-table th.is-left{text-align:left}.el-table td.is-center,.el-table th.is-center{text-align:center}.el-table td,.el-table th.is-leaf{border-bottom:1px solid #dfe6ec}.el-table td.gutter,.el-table th.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .cell,.el-table th>div{padding-left:18px;padding-right:18px;box-sizing:border-box;text-overflow:ellipsis}.el-table:before{left:0;bottom:0;width:100%;height:1px}.el-table:after{top:0;right:0;width:1px;height:100%}.el-table .caret-wrapper,.el-table th>.cell{position:relative;display:inline-block;vertical-align:middle}.el-table th{overflow:hidden;background-color:#eef1f6;text-align:left}.el-table th>div{display:inline-block;line-height:40px;overflow:hidden}.el-table td>div{box-sizing:border-box}.el-table th.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table th>.cell{word-wrap:normal;text-overflow:ellipsis;line-height:20px;width:100%;box-sizing:border-box}.el-table th>.cell.highlight{color:#20a0ff}.el-table .caret-wrapper{cursor:pointer;margin-left:5px;margin-top:-2px;width:16px;height:34px;overflow:visible;overflow:initial}.el-table .cell,.el-table__header-wrapper{overflow:hidden}.el-table .sort-caret{display:inline-block;width:0;height:0;border:0;content:"";position:absolute;left:3px;z-index:2}.el-table .sort-caret.ascending,.el-table .sort-caret.descending{border-right:5px solid transparent;border-left:5px solid transparent}.el-table .sort-caret.ascending{top:11px;border-top:none;border-bottom:5px solid #97a8be}.el-table .sort-caret.descending{bottom:11px;border-top:5px solid #97a8be;border-bottom:none}.el-table .ascending .sort-caret.ascending{border-bottom-color:#48576a}.el-table .descending .sort-caret.descending{border-top-color:#48576a}.el-table td.gutter{width:0}.el-table .cell{white-space:normal;word-break:break-all;line-height:24px}.el-table tr input[type=checkbox]{margin:0}.el-table tr{background-color:#fff}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-table__empty-text{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#5e7382}.el-table__expand-column .cell{padding:0;text-align:center}.el-table__expand-icon{position:relative;cursor:pointer;color:#666;font-size:12px;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;height:40px}.el-table__fixed-header-wrapper thead div,.el-table__header-wrapper thead div{color:#1f2d3d;background-color:#eef1f6}.el-table__expand-icon>.el-icon{position:absolute;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.el-table__expand-icon--expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-table__expanded-cell{padding:20px 50px;background-color:#fbfdff;box-shadow:inset 0 2px 0 #f4f4f4}.el-table__expanded-cell:hover{background-color:#fbfdff!important}.el-table--fit{border-right:0;border-bottom:0}.el-table--border th,.el-table__fixed-right-patch{border-bottom:1px solid #dfe6ec}.el-table--fit td.gutter,.el-table--fit th.gutter{border-right-width:1px}.el-table--border td,.el-table--border th{border-right:1px solid #dfe6ec}.el-table__fixed,.el-table__fixed-right{position:absolute;top:0;left:0;box-shadow:1px 0 8px #d3d4d6;overflow-x:hidden}.el-table__fixed-right:before,.el-table__fixed:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:#dfe6ec;z-index:4}.el-table__fixed-right-patch{position:absolute;top:-1px;right:0;background-color:#eef1f6}.el-table__fixed-right{top:0;left:auto;right:0;box-shadow:-1px 0 8px #d3d4d6}.el-table__fixed-right .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-header-wrapper{left:auto;right:0}.el-table__fixed-header-wrapper{position:absolute;left:0;top:0;z-index:3}.el-table__fixed-body-wrapper{position:absolute;left:0;top:37px;overflow:hidden;z-index:3}.el-table__body-wrapper,.el-table__header-wrapper{width:100%}.el-table__body,.el-table__header{table-layout:fixed}.el-table__body-wrapper{overflow:auto;position:relative}.el-table--striped .el-table__body tr:nth-child(2n) td{background:#fafafa}.el-table--striped .el-table__body tr:nth-child(2n).current-row td{background:#edf7ff}.el-table__body tr.hover-row>td{background-color:#eef1f6}.el-table__body tr.current-row>td{background:#edf7ff}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:1px solid #dfe6ec;z-index:10}.el-checkbox,.el-checkbox__input{cursor:pointer;display:inline-block;position:relative;white-space:nowrap}.el-table__column-filter-trigger{display:inline-block;line-height:34px;margin-left:5px;cursor:pointer}.el-table__column-filter-trigger i{color:#97a8be}.el-table--enable-row-transition .el-table__body td{-webkit-transition:background-color .25s ease;transition:background-color .25s ease}.el-table--enable-row-hover tr:hover>td{background-color:#eef1f6}.el-table--fluid-height .el-table__fixed,.el-table--fluid-height .el-table__fixed-right{bottom:0;overflow:hidden}.el-checkbox{color:#1f2d3d;-moz-user-select:none}.el-checkbox+.el-checkbox{margin-left:15px}.el-checkbox__input{outline:0;line-height:1;vertical-align:middle}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#20a0ff;border-color:#0190fe}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;border:1px solid #fff;margin-top:-1px;left:3px;right:3px;top:50%}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:#20a0ff}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:#20a0ff;border-color:#0190fe}.el-checkbox__input.is-checked .el-checkbox__inner:after{-webkit-transform:rotate(45deg) scaleY(1);transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:#eef1f6;border-color:#d1dbe5;cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:#eef1f6}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#d1dbe5;border-color:#d1dbe5}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#fff}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:#d1dbe5;border-color:#d1dbe5}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{border-color:#fff}.el-checkbox__input.is-disabled+.el-checkbox__label{color:#bbb;cursor:not-allowed}.el-checkbox__inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:4px;box-sizing:border-box;width:18px;height:18px;background-color:#fff;z-index:1;-webkit-transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:#20a0ff}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:5px;position:absolute;top:1px;-webkit-transform:rotate(45deg) scaleY(0);transform:rotate(45deg) scaleY(0);width:4px;-webkit-transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s,-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;-webkit-transform-origin:center;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;left:-999px}.el-checkbox__label{font-size:14px;padding-left:5px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:1px solid #d1dbe5;border-radius:2px;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.12);box-sizing:border-box;margin:2px 0}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:14px}.el-table-filter__list-item:hover{background-color:#e4e8f1;color:#48576a}.el-table-filter__list-item.is-active{background-color:#20a0ff;color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid #d1dbe5;padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:#8391a5;cursor:pointer;font-size:14px;padding:0 3px}.el-table-filter__bottom button:hover{color:#20a0ff}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:#bfcbd9;cursor:not-allowed}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group .el-checkbox{display:block;margin-bottom:8px;margin-left:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-date-table{font-size:12px;min-width:224px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.el-date-table td{width:32px;height:32px;box-sizing:border-box;text-align:center;cursor:pointer}.el-date-table td.next-month,.el-date-table td.prev-month{color:#ddd}.el-date-table td.today{color:#20a0ff;position:relative}.el-date-table td.today:before{content:" ";position:absolute;top:0;right:0;width:0;height:0;border-top:.5em solid #20a0ff;border-left:.5em solid transparent}.el-month-table td .cell,.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px}.el-date-table td.available:hover{background-color:#e4e8f1}.el-date-table td.in-range{background-color:#d2ecff}.el-date-table td.in-range:hover{background-color:#afddff}.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date{background-color:#20a0ff!important;color:#fff}.el-date-table td.disabled{background-color:#f4f4f4;opacity:1;cursor:not-allowed;color:#ccc}.el-fade-in-enter,.el-fade-in-leave-active,.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.el-date-table td.week{font-size:80%;color:#8391a5}.el-month-table,.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-date-table th{padding:5px;color:#8391a5;font-weight:400}.el-date-table.is-week-mode .el-date-table__row:hover{background-color:#e4e8f1}.el-date-table.is-week-mode .el-date-table__row.current{background-color:#d2ecff}.el-month-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-month-table td .cell{color:#48576a}.el-month-table td .cell:hover{background-color:#e4e8f1}.el-month-table td.disabled .cell{background-color:#f4f4f4;cursor:not-allowed;color:#ccc}.el-month-table td.current:not(.disabled) .cell{background-color:#20a0ff!important;color:#fff}.el-year-table .el-icon{color:#97a8be}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td .cell{color:#48576a}.el-year-table td .cell:hover{background-color:#e4e8f1}.el-year-table td.disabled .cell{background-color:#f4f4f4;cursor:not-allowed;color:#ccc}.el-year-table td.current:not(.disabled) .cell{background-color:#20a0ff!important;color:#fff}.el-date-range-picker{min-width:520px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker.has-sidebar.has-time{min-width:766px}.el-date-range-picker.has-sidebar{min-width:620px}.el-date-range-picker.has-time{min-width:660px}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header button{float:left}.el-date-range-picker__header div{font-size:14px;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-right .el-date-range-picker__header button{float:right}.el-date-range-picker__content.is-right .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__content.is-left{border-right:1px solid #e4e4e4}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:#97a8be}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-time-range-picker{min-width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-picker-panel,.el-time-range-picker__body{border-radius:2px;border:1px solid #d1dbe5}.el-picker-panel{color:#48576a;box-shadow:0 2px 6px #ccc;background:#fff;line-height:20px;margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:#48576a;padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{background-color:#e4e8f1}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:#20a0ff}.el-picker-panel__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:#ccc;cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:#97a8be;border:0;background:0 0;cursor:pointer;outline:0;margin-top:3px}.el-date-picker__header-label.active,.el-date-picker__header-label:hover,.el-picker-panel__icon-btn:hover{color:#20a0ff}.el-picker-panel__link-btn{cursor:pointer;color:#20a0ff;text-decoration:none;padding:15px;font-size:12px}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid #e4e4e4;box-sizing:border-box;padding-top:6px;background-color:#fbfdff}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{min-width:254px}.el-date-picker .el-picker-panel__content{min-width:224px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker.has-sidebar.has-time{min-width:434px}.el-date-picker.has-sidebar{min-width:370px}.el-date-picker.has-time{min-width:324px}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header-label{font-size:14px;padding:0 5px;line-height:22px;text-align:center;cursor:pointer}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px}.time-select-item.selected:not(.disabled){background-color:#20a0ff;color:#fff}.time-select-item.selected:not(.disabled):hover{background-color:#20a0ff}.time-select-item.disabled{color:#d1dbe5;cursor:not-allowed}.time-select-item:hover{background-color:#e4e8f1;cursor:pointer}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.el-fade-in-enter-active,.el-fade-in-leave-active,.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter,.el-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;-webkit-transform-origin:center top;transform-origin:center top}.el-zoom-in-top-enter,.el-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;-webkit-transform-origin:center bottom;transform-origin:center bottom}.el-zoom-in-bottom-enter,.el-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.collapse-transition{-webkit-transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out;transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.list-enter-active,.list-leave-active{-webkit-transition:all 1s;transition:all 1s}.list-enter,.list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.el-date-editor{position:relative;display:inline-block}.el-date-editor .el-picker-panel{position:absolute;min-width:180px;box-sizing:border-box;box-shadow:0 2px 6px #ccc;background:#fff;z-index:10;top:41px}.el-date-editor.el-input{width:193px}.el-date-editor--daterange.el-input{width:220px}.el-date-editor--datetimerange.el-input{width:350px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33%}.el-time-spinner.has-seconds .el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner.has-seconds .el-time-spinner__wrapper:nth-child(2){margin-left:1%}.el-time-spinner__wrapper{max-height:190px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#e4e8f1;cursor:pointer}.el-time-spinner__item.active:not(.disabled){color:#fff}.el-time-spinner__item.disabled{color:#d1dbe5;cursor:not-allowed}.el-time-panel{margin:5px 0;border:1px solid #d1dbe5;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);border-radius:2px;position:absolute;width:180px;left:0;z-index:1000;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.el-popover,.el-tabs--border-card{box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-button,.el-slider__button-wrapper{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:":";top:50%;color:#fff;position:absolute;font-size:14px;margin-top:-15px;line-height:16px;background-color:#20a0ff;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:-2px}.el-time-panel__content:before{padding-left:50%;margin-right:-2px}.el-time-panel__content.has-seconds:after{left:66.66667%}.el-time-panel__content.has-seconds:before{padding-left:33.33333%}.el-time-panel__footer{border-top:1px solid #e4e4e4;padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:#8391a5}.el-time-panel__btn.confirm{font-weight:800;color:#20a0ff}.el-popover{position:absolute;background:#fff;min-width:150px;border-radius:2px;border:1px solid #d1dbe5;padding:10px;z-index:2000;font-size:12px}.el-popover .popper__arrow,.el-popover .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-popover .popper__arrow{border-width:6px}.el-popover .popper__arrow:after{content:" ";border-width:6px}.el-popover[x-placement^=top]{margin-bottom:12px}.el-popover[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#d1dbe5;border-bottom-width:0}.el-popover[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popover[x-placement^=bottom]{margin-top:12px}.el-popover[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#d1dbe5}.el-popover[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popover[x-placement^=right]{margin-left:12px}.el-popover[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#d1dbe5;border-left-width:0}.el-popover[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popover[x-placement^=left]{margin-right:12px}.el-popover[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#d1dbe5}.el-popover[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-popover__title{color:#1f2d3d;font-size:13px;line-height:1;margin-bottom:9px}.v-modal-enter{-webkit-animation:v-modal-in .2s ease;animation:v-modal-in .2s ease}.v-modal-leave{-webkit-animation:v-modal-out .2s ease forwards;animation:v-modal-out .2s ease forwards}@-webkit-keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-in{0%{opacity:0}}@-webkit-keyframes v-modal-out{to{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:.5;background:#000}.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #bfcbd9;color:#1f2d3d;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;padding:10px 15px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button:focus,.el-button:hover{color:#20a0ff;border-color:#20a0ff}.el-button:active{color:#1d90e6;border-color:#1d90e6;outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:hsla(0,0%,100%,.35)}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#bfcbd9;cursor:not-allowed;background-image:none;background-color:#eef1f6;border-color:#d1dbe5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#d1dbe5;color:#bfcbd9}.el-button.is-active{color:#1d90e6;border-color:#1d90e6}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#20a0ff;color:#20a0ff}.el-button.is-plain:active{background:#fff;border-color:#1d90e6;color:#1d90e6;outline:0}.el-button--primary{color:#fff;background-color:#20a0ff;border-color:#20a0ff}.el-button--primary:focus,.el-button--primary:hover{background:#4db3ff;border-color:#4db3ff;color:#fff}.el-button--primary.is-active,.el-button--primary:active{background:#1d90e6;border-color:#1d90e6;color:#fff}.el-button--primary:active{outline:0}.el-button--primary.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#fff;border-color:#20a0ff;color:#20a0ff}.el-button--primary.is-plain:active{background:#fff;border-color:#1d90e6;color:#1d90e6;outline:0}.el-button--success{color:#fff;background-color:#13ce66;border-color:#13ce66}.el-button--success:focus,.el-button--success:hover{background:#42d885;border-color:#42d885;color:#fff}.el-button--success.is-active,.el-button--success:active{background:#11b95c;border-color:#11b95c;color:#fff}.el-button--success:active{outline:0}.el-button--success.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#fff;border-color:#13ce66;color:#13ce66}.el-button--success.is-plain:active{background:#fff;border-color:#11b95c;color:#11b95c;outline:0}.el-button--warning{color:#fff;background-color:#f7ba2a;border-color:#f7ba2a}.el-button--warning:focus,.el-button--warning:hover{background:#f9c855;border-color:#f9c855;color:#fff}.el-button--warning.is-active,.el-button--warning:active{background:#dea726;border-color:#dea726;color:#fff}.el-button--warning:active{outline:0}.el-button--warning.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#fff;border-color:#f7ba2a;color:#f7ba2a}.el-button--warning.is-plain:active{background:#fff;border-color:#dea726;color:#dea726;outline:0}.el-button--danger{color:#fff;background-color:#ff4949;border-color:#ff4949}.el-button--danger:focus,.el-button--danger:hover{background:#ff6d6d;border-color:#ff6d6d;color:#fff}.el-button--danger.is-active,.el-button--danger:active{background:#e64242;border-color:#e64242;color:#fff}.el-button--danger:active{outline:0}.el-button--danger.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#fff;border-color:#ff4949;color:#ff4949}.el-button--danger.is-plain:active{background:#fff;border-color:#e64242;color:#e64242;outline:0}.el-button--info{color:#fff;background-color:#50bfff;border-color:#50bfff}.el-button--info:focus,.el-button--info:hover{background:#73ccff;border-color:#73ccff;color:#fff}.el-button--info.is-active,.el-button--info:active{background:#48ace6;border-color:#48ace6;color:#fff}.el-button--info:active{outline:0}.el-button--info.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#fff;border-color:#50bfff;color:#50bfff}.el-button--info.is-plain:active{background:#fff;border-color:#48ace6;color:#48ace6;outline:0}.el-button--large{padding:11px 19px;font-size:16px;border-radius:4px}.el-button--small{padding:7px 9px;font-size:12px;border-radius:4px}.el-button--mini{padding:4px;font-size:12px;border-radius:4px}.el-button--text{border:none;color:#20a0ff;background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#4db3ff}.el-button--text:active{color:#1d90e6}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group .el-button--primary:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button{float:left;position:relative}.el-button-group .el-button+.el-button{margin-left:0}.el-button-group .el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group .el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group .el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group .el-button:not(:last-child){margin-right:-1px}.el-button-group .el-button.is-active,.el-button-group .el-button:active,.el-button-group .el-button:focus,.el-button-group .el-button:hover{z-index:1}.el-message-box{text-align:left;display:inline-block;vertical-align:middle;background-color:#fff;width:420px;border-radius:3px;font-size:16px;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.el-message-box__wrapper{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center}.el-message-box__wrapper:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box__header{position:relative;padding:20px 20px 0}.el-message-box__content{padding:30px 20px;color:#48576a;font-size:14px;position:relative}.el-message-box__close{display:inline-block;position:absolute;top:19px;right:20px;color:#999;cursor:pointer;line-height:20px;text-align:center}.el-message-box__close:hover{color:#20a0ff}.el-message-box__input{padding-top:15px}.el-message-box__input input.invalid,.el-message-box__input input.invalid:focus{border-color:#ff4949}.el-message-box__errormsg{color:#ff4949;font-size:12px;min-height:18px;margin-top:2px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:16px;font-weight:700;height:18px;color:#333}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:1.4}.el-message-box__btns{padding:10px 20px 15px;text-align:right}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{-ms-flex-direction:row-reverse;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.el-message-box__status{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:36px!important}.el-message-box__status.el-icon-circle-check{color:#13ce66}.el-message-box__status.el-icon-information{color:#50bfff}.el-message-box__status.el-icon-warning{color:#f7ba2a}.el-message-box__status.el-icon-circle-cross{color:#ff4949}.msgbox-fade-enter-active{-webkit-animation:msgbox-fade-in .3s;animation:msgbox-fade-in .3s}.msgbox-fade-leave-active{-webkit-animation:msgbox-fade-out .3s;animation:msgbox-fade-out .3s}@-webkit-keyframes msgbox-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes msgbox-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}@keyframes msgbox-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}.el-breadcrumb{font-size:13px;line-height:1}.el-breadcrumb__separator{margin:0 8px;color:#bfcbd9}.el-breadcrumb__item{float:left}.el-breadcrumb__item:last-child .el-breadcrumb__item__inner,.el-breadcrumb__item:last-child .el-breadcrumb__item__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__item__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__item__inner a:hover{color:#97a8be;cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb__item__inner,.el-breadcrumb__item__inner a{-webkit-transition:color .15s linear;transition:color .15s linear;color:#48576a}.el-breadcrumb__item__inner:hover,.el-breadcrumb__item__inner a:hover{color:#20a0ff;cursor:pointer}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item__label{float:none;display:inline-block;text-align:left;padding:0 0 10px}.el-form--inline .el-form-item{display:inline-block;margin-right:10px;vertical-align:top}.el-form--inline .el-form-item__label{float:none;display:inline-block}.el-form--inline .el-form-item__content{display:inline-block;vertical-align:top}.el-form--inline.el-form--label-top .el-form-item__content{display:block}.el-form-item{margin-bottom:22px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-form-item .el-form-item__content{margin-left:0!important}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner,.el-form-item.is-error .el-input__inner{border-color:transparent}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-textarea__inner{border-color:#ff4949}.el-form-item.is-required .el-form-item__label:before{content:"*";color:#ff4949;margin-right:4px}.el-form-item__label{text-align:right;vertical-align:middle;float:left;font-size:14px;color:#48576a;line-height:1;padding:11px 12px 11px 0;box-sizing:border-box}.el-form-item__content{line-height:36px;position:relative;font-size:14px}.el-form-item__error{color:#ff4949;font-size:12px;line-height:1;padding-top:4px;position:absolute;top:100%;left:0}.el-tabs__header{border-bottom:1px solid #d1dbe5;padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:3px;background-color:#20a0ff;z-index:1;-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);list-style:none}.el-tabs__new-tab{float:right;border:1px solid #d3dce6;height:18px;width:18px;line-height:18px;margin:12px 0 9px 10px;border-radius:3px;text-align:center;font-size:12px;color:#d3dce6;cursor:pointer;-webkit-transition:all .15s;transition:all .15s}.el-tabs__new-tab .el-icon-plus{-webkit-transform:scale(.8);transform:scale(.8)}.el-tabs__new-tab:hover{color:#20a0ff}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap.is-scrollable{padding:0 15px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:#8391a5}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;float:left}.el-tabs__item{padding:0 16px;height:42px;box-sizing:border-box;line-height:42px;display:inline-block;list-style:none;font-size:14px;color:#8391a5;position:relative}.el-tabs__item .el-icon-close{border-radius:50%;text-align:center;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);margin-left:5px}.el-tabs__item .el-icon-close:before{-webkit-transform:scale(.7);transform:scale(.7);display:inline-block}.el-tabs__item .el-icon-close:hover{background-color:#97a8be;color:#fff}.el-tabs__item:hover{color:#1f2d3d;cursor:pointer}.el-tabs__item.is-disabled{color:#bbb;cursor:default}.el-tabs__item.is-active{color:#20a0ff}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tag,.slideInLeft-transition,.slideInRight-transition{display:inline-block}.el-tabs--card>.el-tabs__header .el-tabs__item .el-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .el-icon-close,.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .el-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item{border:1px solid transparent;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-right:9px;padding-left:9px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border:1px solid #d1dbe5;border-bottom-color:#fff;border-radius:4px 4px 0 0}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-right:16px;padding-left:16px}.el-tabs--border-card{background:#fff;border:1px solid #d1dbe5}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:#eef1f6;margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__item{-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);border:1px solid transparent;border-top:0;margin-right:-1px;margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:#fff;border-right-color:#d1dbe5;border-left-color:#d1dbe5}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active:first-child{border-left-color:#d1dbe5}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active:last-child{border-right-color:#d1dbe5}.slideInRight-enter{-webkit-animation:slideInRight-enter .3s;animation:slideInRight-enter .3s}.slideInRight-leave{position:absolute;left:0;right:0;-webkit-animation:slideInRight-leave .3s;animation:slideInRight-leave .3s}.slideInLeft-enter{-webkit-animation:slideInLeft-enter .3s;animation:slideInLeft-enter .3s}.slideInLeft-leave{position:absolute;left:0;right:0;-webkit-animation:slideInLeft-leave .3s;animation:slideInLeft-leave .3s}@-webkit-keyframes slideInRight-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInRight-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slideInRight-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideInRight-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slideInLeft-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideInLeft-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.el-tag{background-color:#8391a5;padding:0 5px;height:24px;line-height:22px;font-size:12px;color:#fff;border-radius:4px;box-sizing:border-box;border:1px solid transparent;white-space:nowrap}.el-tag .el-icon-close{border-radius:50%;text-align:center;position:relative;cursor:pointer;font-size:12px;-webkit-transform:scale(.75);transform:scale(.75);height:18px;width:18px;line-height:18px;vertical-align:middle;top:-1px;right:-2px}.el-tag .el-icon-close:hover{background-color:#fff;color:#8391a5}.el-tag--gray{background-color:#e4e8f1;border-color:#e4e8f1;color:#48576a}.el-tag--gray .el-tag__close:hover{background-color:#48576a;color:#fff}.el-tag--gray.is-hit{border-color:#48576a}.el-tag--primary{background-color:rgba(32,160,255,.1);border-color:rgba(32,160,255,.2);color:#20a0ff}.el-tag--primary .el-tag__close:hover{background-color:#20a0ff;color:#fff}.el-tag--primary.is-hit{border-color:#20a0ff}.el-tag--success{background-color:rgba(18,206,102,.1);border-color:rgba(18,206,102,.2);color:#13ce66}.el-tag--success .el-tag__close:hover{background-color:#13ce66;color:#fff}.el-tag--success.is-hit{border-color:#13ce66}.el-tag--warning{background-color:rgba(247,186,41,.1);border-color:rgba(247,186,41,.2);color:#f7ba2a}.el-tag--warning .el-tag__close:hover{background-color:#f7ba2a;color:#fff}.el-tag--warning.is-hit{border-color:#f7ba2a}.el-tag--danger{background-color:rgba(255,73,73,.1);border-color:rgba(255,73,73,.2);color:#ff4949}.el-tag--danger .el-tag__close:hover{background-color:#ff4949;color:#fff}.el-tag--danger.is-hit{border-color:#ff4949}.el-tree{cursor:default;background:#fff;border:1px solid #d1dbe5}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#5e7382}.el-tree-node{white-space:nowrap}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree-node__expand-icon,.el-tree-node__label,.el-tree-node__loading-icon{display:inline-block;vertical-align:middle}.el-tree-node__content{line-height:36px;height:36px;cursor:pointer}.el-tree-node__content>.el-checkbox,.el-tree-node__content>.el-tree-node__expand-icon{margin-right:8px}.el-tree-node__content>.el-checkbox{vertical-align:middle}.el-tree-node__content:hover{background:#e4e8f1}.el-tree-node__expand-icon{cursor:pointer;width:0;height:0;margin-left:10px;border:6px solid transparent;border-right-width:0;border-left-color:#97a8be;border-left-width:7px;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.el-tree-node__expand-icon:hover{border-left-color:#999}.el-tree-node__expand-icon.expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{border-color:transparent;cursor:default}.el-tree-node__label{font-size:14px}.el-tree-node__loading-icon{margin-right:4px;font-size:14px;color:#97a8be}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#edf7ff}.el-alert{width:100%;padding:8px 16px;margin:0;box-sizing:border-box;border-radius:4px;position:relative;background-color:#fff;overflow:hidden;color:#fff;opacity:1;display:table;-webkit-transition:opacity .2s;transition:opacity .2s}.el-alert .el-alert__description{color:#fff;font-size:12px;margin:5px 0 0}.el-alert--success{background-color:#13ce66}.el-alert--info{background-color:#50bfff}.el-alert--warning{background-color:#f7ba2a}.el-alert--error{background-color:#ff4949}.el-alert__content{display:table-cell;padding:0 8px}.el-alert__icon{font-size:16px;width:16px;display:table-cell;color:#fff;vertical-align:middle}.el-alert__icon.is-big{font-size:28px;width:28px}.el-alert__title{font-size:13px;line-height:18px}.el-alert__title.is-bold{font-weight:700}.el-alert__closebtn{font-size:12px;color:#fff;opacity:1;top:12px;right:15px;position:absolute;cursor:pointer}.el-alert-fade-enter,.el-alert-fade-leave-active,.el-loading-fade-enter,.el-loading-fade-leave-active,.el-notification-fade-leave-active{opacity:0}.el-alert__closebtn.is-customed{font-style:normal;font-size:13px;top:9px}.el-notification{width:330px;padding:20px;box-sizing:border-box;border-radius:2px;position:fixed;right:16px;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);-webkit-transition:opacity .3s,right .3s,top .4s,-webkit-transform .3s;transition:opacity .3s,right .3s,top .4s,-webkit-transform .3s;transition:opacity .3s,transform .3s,right .3s,top .4s;transition:opacity .3s,transform .3s,right .3s,top .4s,-webkit-transform .3s;overflow:hidden}.el-notification .el-icon-circle-check{color:#13ce66}.el-notification .el-icon-circle-cross{color:#ff4949}.el-notification .el-icon-information{color:#50bfff}.el-notification .el-icon-warning{color:#f7ba2a}.el-notification__group{margin-left:0}.el-notification__group.is-with-icon{margin-left:55px}.el-notification__title{font-weight:400;font-size:16px;color:#1f2d3d;margin:0}.el-notification__content{font-size:14px;line-height:21px;margin:10px 0 0;color:#8391a5;text-align:justify}.el-notification__icon{width:40px;height:40px;font-size:40px;float:left;position:relative;top:3px}.el-notification__closeBtn{top:20px;right:20px;position:absolute;cursor:pointer;color:#bfcbd9;font-size:14px}.el-notification__closeBtn:hover{color:#97a8be}.el-notification-fade-enter{-webkit-transform:translateX(100%);transform:translateX(100%);right:0}.el-input-number{display:inline-block;overflow:hidden;width:180px;position:relative}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:82px}.el-input-number.is-without-controls .el-input__inner{padding-right:10px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:#d1dbe5;color:#d1dbe5}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:#d1dbe5;cursor:not-allowed}.el-input-number__decrease,.el-input-number__increase{height:auto;border-left:1px solid #bfcbd9;width:36px;line-height:34px;top:1px;text-align:center;color:#97a8be;cursor:pointer;position:absolute;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:#20a0ff}.el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#20a0ff}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:#d1dbe5;cursor:not-allowed}.el-input-number__increase{right:0}.el-input-number__decrease{right:37px}.el-input-number--large{width:200px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{line-height:42px;width:42px;font-size:16px}.el-input-number--large .el-input-number__decrease{right:43px}.el-input-number--large .el-input__inner{padding-right:94px}.el-input-number--small{width:130px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{line-height:30px;width:30px;font-size:13px}.el-input-number--small .el-input-number__decrease{right:31px}.el-input-number--small .el-input__inner{padding-right:70px}.el-tooltip__popper{position:absolute;border-radius:4px;padding:10px;z-index:2000;font-size:12px;line-height:1.2}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{content:" ";border-width:5px}.el-progress-bar__inner:after,.el-row:after,.el-row:before,.el-slider:after,.el-slider:before,.el-slider__button-wrapper:after,.el-upload-cover:after{content:""}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{bottom:-6px;border-top-color:#1f2d3d;border-bottom-width:0}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-5px;border-top-color:#1f2d3d;border-bottom-width:0}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{top:-6px;border-top-width:0;border-bottom-color:#1f2d3d}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-5px;border-top-width:0;border-bottom-color:#1f2d3d}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{left:-6px;border-right-color:#1f2d3d;border-left-width:0}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{bottom:-5px;left:1px;border-right-color:#1f2d3d;border-left-width:0}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{right:-6px;border-right-width:0;border-left-color:#1f2d3d}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-5px;margin-left:-5px;border-right-width:0;border-left-color:#1f2d3d}.el-tooltip__popper.is-light{background:#fff;border:1px solid #1f2d3d}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow:after{border-top-color:#fff}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow:after{border-left-color:#fff}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow:after{border-right-color:#fff}.el-tooltip__popper.is-dark{background:#1f2d3d;color:#fff}.el-slider:after,.el-slider:before{display:table}.el-slider__button-wrapper .el-tooltip,.el-slider__button-wrapper:after{display:inline-block;vertical-align:middle}.el-slider:after{clear:both}.el-slider__runway{width:100%;height:4px;margin:16px 0;background-color:#e4e8f1;border-radius:3px;position:relative;cursor:pointer;vertical-align:middle}.el-slider__runway.show-input{margin-right:160px;width:auto}.el-slider__runway.disabled{cursor:default}.el-slider__runway.disabled .el-slider__bar,.el-slider__runway.disabled .el-slider__button{background-color:#bfcbd9}.el-slider__runway.disabled .el-slider__button-wrapper.dragging,.el-slider__runway.disabled .el-slider__button-wrapper.hover,.el-slider__runway.disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{-webkit-transform:scale(1);transform:scale(1);cursor:not-allowed}.el-slider__input{float:right;margin-top:3px}.el-slider__bar{height:4px;background-color:#20a0ff;border-top-left-radius:3px;border-bottom-left-radius:3px;position:absolute}.el-slider__button-wrapper{width:36px;height:36px;position:absolute;z-index:1001;top:-16px;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-slider__button-wrapper:after{height:100%}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button-wrapper.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__button{width:12px;height:12px;background-color:#20a0ff;border-radius:50%;-webkit-transition:.2s;transition:.2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{-webkit-transform:scale(1.5);transform:scale(1.5);background-color:#1c8de0}.el-slider__button.hover,.el-slider__button:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__stop{position:absolute;width:4px;height:4px;border-radius:100%;background-color:#bfcbd9;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.el-loading-mask{position:absolute;z-index:10000;background-color:hsla(0,0%,100%,.9);margin:0;top:0;right:0;bottom:0;left:0;-webkit-transition:opacity .3s;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{width:50px;height:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-col-pull-1,.el-col-pull-2,.el-col-pull-3,.el-col-pull-4,.el-col-pull-5,.el-col-pull-6,.el-col-pull-7,.el-col-pull-8,.el-col-pull-9,.el-col-pull-10,.el-col-pull-11,.el-col-pull-12,.el-col-pull-13,.el-col-pull-14,.el-col-pull-15,.el-col-pull-16,.el-col-pull-17,.el-col-pull-18,.el-col-pull-19,.el-col-pull-20,.el-col-pull-21,.el-col-pull-22,.el-col-pull-23,.el-col-pull-24,.el-col-push-1,.el-col-push-2,.el-col-push-3,.el-col-push-4,.el-col-push-5,.el-col-push-6,.el-col-push-7,.el-col-push-8,.el-col-push-9,.el-col-push-10,.el-col-push-11,.el-col-push-13,.el-col-push-14,.el-col-push-15,.el-col-push-16,.el-col-push-17,.el-col-push-18,.el-col-push-19,.el-col-push-20,.el-col-push-21,.el-col-push-22,.el-col-push-23,.el-col-push-24,.el-row{position:relative}.el-loading-spinner .el-loading-text{color:#20a0ff;margin:3px 0;font-size:14px}.el-loading-spinner .circular{width:42px;height:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#20a0ff;stroke-linecap:round}@-webkit-keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-row{box-sizing:border-box}.el-row:after,.el-row:before{display:table}.el-row:after{clear:both}.el-row--flex{display:-ms-flexbox;display:-webkit-box;display:flex}.el-col-0,.el-row--flex:after,.el-row--flex:before{display:none}.el-row--flex.is-align-bottom{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.el-row--flex.is-align-middle{-ms-flex-align:center;-webkit-box-align:center;align-items:center}.el-row--flex.is-justify-space-around{-ms-flex-pack:distribute;justify-content:space-around}.el-row--flex.is-justify-space-between{-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between}.el-row--flex.is-justify-end{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.el-row--flex.is-justify-center{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.el-col-1,.el-col-2,.el-col-3,.el-col-4,.el-col-5,.el-col-6,.el-col-7,.el-col-8,.el-col-9,.el-col-10,.el-col-11,.el-col-12,.el-col-13,.el-col-14,.el-col-15,.el-col-16,.el-col-17,.el-col-18,.el-col-19,.el-col-20,.el-col-21,.el-col-22,.el-col-23,.el-col-24{float:left;box-sizing:border-box}.el-col-1{width:4.16667%}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{right:4.16667%}.el-col-push-1{left:4.16667%}.el-col-2{width:8.33333%}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{right:8.33333%}.el-col-push-2{left:8.33333%}.el-col-3{width:12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{right:12.5%}.el-col-push-3{left:12.5%}.el-col-4{width:16.66667%}.el-col-offset-4{margin-left:16.66667%}.el-col-pull-4{right:16.66667%}.el-col-push-4{left:16.66667%}.el-col-5{width:20.83333%}.el-col-offset-5{margin-left:20.83333%}.el-col-pull-5{right:20.83333%}.el-col-push-5{left:20.83333%}.el-col-6{width:25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{right:25%}.el-col-push-6{left:25%}.el-col-7{width:29.16667%}.el-col-offset-7{margin-left:29.16667%}.el-col-pull-7{right:29.16667%}.el-col-push-7{left:29.16667%}.el-col-8{width:33.33333%}.el-col-offset-8{margin-left:33.33333%}.el-col-pull-8{right:33.33333%}.el-col-push-8{left:33.33333%}.el-col-9{width:37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{right:37.5%}.el-col-push-9{left:37.5%}.el-col-10{width:41.66667%}.el-col-offset-10{margin-left:41.66667%}.el-col-pull-10{right:41.66667%}.el-col-push-10{left:41.66667%}.el-col-11{width:45.83333%}.el-col-offset-11{margin-left:45.83333%}.el-col-pull-11{right:45.83333%}.el-col-push-11{left:45.83333%}.el-col-12{width:50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{width:54.16667%}.el-col-offset-13{margin-left:54.16667%}.el-col-pull-13{right:54.16667%}.el-col-push-13{left:54.16667%}.el-col-14{width:58.33333%}.el-col-offset-14{margin-left:58.33333%}.el-col-pull-14{right:58.33333%}.el-col-push-14{left:58.33333%}.el-col-15{width:62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{right:62.5%}.el-col-push-15{left:62.5%}.el-col-16{width:66.66667%}.el-col-offset-16{margin-left:66.66667%}.el-col-pull-16{right:66.66667%}.el-col-push-16{left:66.66667%}.el-col-17{width:70.83333%}.el-col-offset-17{margin-left:70.83333%}.el-col-pull-17{right:70.83333%}.el-col-push-17{left:70.83333%}.el-col-18{width:75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{right:75%}.el-col-push-18{left:75%}.el-col-19{width:79.16667%}.el-col-offset-19{margin-left:79.16667%}.el-col-pull-19{right:79.16667%}.el-col-push-19{left:79.16667%}.el-col-20{width:83.33333%}.el-col-offset-20{margin-left:83.33333%}.el-col-pull-20{right:83.33333%}.el-col-push-20{left:83.33333%}.el-col-21{width:87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{right:87.5%}.el-col-push-21{left:87.5%}.el-col-22{width:91.66667%}.el-col-offset-22{margin-left:91.66667%}.el-col-pull-22{right:91.66667%}.el-col-push-22{left:91.66667%}.el-col-23{width:95.83333%}.el-col-offset-23{margin-left:95.83333%}.el-col-pull-23{right:95.83333%}.el-col-push-23{left:95.83333%}.el-col-24{width:100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{right:100%}.el-col-push-24{left:100%}@media (max-width:768px){.el-col-xs-0{display:none}.el-col-xs-1{width:4.16667%}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{width:8.33333%}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{width:12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{width:16.66667%}.el-col-xs-offset-4{margin-left:16.66667%}.el-col-xs-pull-4{position:relative;right:16.66667%}.el-col-xs-push-4{position:relative;left:16.66667%}.el-col-xs-5{width:20.83333%}.el-col-xs-offset-5{margin-left:20.83333%}.el-col-xs-pull-5{position:relative;right:20.83333%}.el-col-xs-push-5{position:relative;left:20.83333%}.el-col-xs-6{width:25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{width:29.16667%}.el-col-xs-offset-7{margin-left:29.16667%}.el-col-xs-pull-7{position:relative;right:29.16667%}.el-col-xs-push-7{position:relative;left:29.16667%}.el-col-xs-8{width:33.33333%}.el-col-xs-offset-8{margin-left:33.33333%}.el-col-xs-pull-8{position:relative;right:33.33333%}.el-col-xs-push-8{position:relative;left:33.33333%}.el-col-xs-9{width:37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{width:41.66667%}.el-col-xs-offset-10{margin-left:41.66667%}.el-col-xs-pull-10{position:relative;right:41.66667%}.el-col-xs-push-10{position:relative;left:41.66667%}.el-col-xs-11{width:45.83333%}.el-col-xs-offset-11{margin-left:45.83333%}.el-col-xs-pull-11{position:relative;right:45.83333%}.el-col-xs-push-11{position:relative;left:45.83333%}.el-col-xs-12{width:50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{width:54.16667%}.el-col-xs-offset-13{margin-left:54.16667%}.el-col-xs-pull-13{position:relative;right:54.16667%}.el-col-xs-push-13{position:relative;left:54.16667%}.el-col-xs-14{width:58.33333%}.el-col-xs-offset-14{margin-left:58.33333%}.el-col-xs-pull-14{position:relative;right:58.33333%}.el-col-xs-push-14{position:relative;left:58.33333%}.el-col-xs-15{width:62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{width:66.66667%}.el-col-xs-offset-16{margin-left:66.66667%}.el-col-xs-pull-16{position:relative;right:66.66667%}.el-col-xs-push-16{position:relative;left:66.66667%}.el-col-xs-17{width:70.83333%}.el-col-xs-offset-17{margin-left:70.83333%}.el-col-xs-pull-17{position:relative;right:70.83333%}.el-col-xs-push-17{position:relative;left:70.83333%}.el-col-xs-18{width:75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{width:79.16667%}.el-col-xs-offset-19{margin-left:79.16667%}.el-col-xs-pull-19{position:relative;right:79.16667%}.el-col-xs-push-19{position:relative;left:79.16667%}.el-col-xs-20{width:83.33333%}.el-col-xs-offset-20{margin-left:83.33333%}.el-col-xs-pull-20{position:relative;right:83.33333%}.el-col-xs-push-20{position:relative;left:83.33333%}.el-col-xs-21{width:87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{width:91.66667%}.el-col-xs-offset-22{margin-left:91.66667%}.el-col-xs-pull-22{position:relative;right:91.66667%}.el-col-xs-push-22{position:relative;left:91.66667%}.el-col-xs-23{width:95.83333%}.el-col-xs-offset-23{margin-left:95.83333%}.el-col-xs-pull-23{position:relative;right:95.83333%}.el-col-xs-push-23{position:relative;left:95.83333%}.el-col-xs-24{width:100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media (min-width:768px){.el-col-sm-0{display:none}.el-col-sm-1{width:4.16667%}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{width:8.33333%}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{width:12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{width:16.66667%}.el-col-sm-offset-4{margin-left:16.66667%}.el-col-sm-pull-4{position:relative;right:16.66667%}.el-col-sm-push-4{position:relative;left:16.66667%}.el-col-sm-5{width:20.83333%}.el-col-sm-offset-5{margin-left:20.83333%}.el-col-sm-pull-5{position:relative;right:20.83333%}.el-col-sm-push-5{position:relative;left:20.83333%}.el-col-sm-6{width:25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{width:29.16667%}.el-col-sm-offset-7{margin-left:29.16667%}.el-col-sm-pull-7{position:relative;right:29.16667%}.el-col-sm-push-7{position:relative;left:29.16667%}.el-col-sm-8{width:33.33333%}.el-col-sm-offset-8{margin-left:33.33333%}.el-col-sm-pull-8{position:relative;right:33.33333%}.el-col-sm-push-8{position:relative;left:33.33333%}.el-col-sm-9{width:37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{width:41.66667%}.el-col-sm-offset-10{margin-left:41.66667%}.el-col-sm-pull-10{position:relative;right:41.66667%}.el-col-sm-push-10{position:relative;left:41.66667%}.el-col-sm-11{width:45.83333%}.el-col-sm-offset-11{margin-left:45.83333%}.el-col-sm-pull-11{position:relative;right:45.83333%}.el-col-sm-push-11{position:relative;left:45.83333%}.el-col-sm-12{width:50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{width:54.16667%}.el-col-sm-offset-13{margin-left:54.16667%}.el-col-sm-pull-13{position:relative;right:54.16667%}.el-col-sm-push-13{position:relative;left:54.16667%}.el-col-sm-14{width:58.33333%}.el-col-sm-offset-14{margin-left:58.33333%}.el-col-sm-pull-14{position:relative;right:58.33333%}.el-col-sm-push-14{position:relative;left:58.33333%}.el-col-sm-15{width:62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{width:66.66667%}.el-col-sm-offset-16{margin-left:66.66667%}.el-col-sm-pull-16{position:relative;right:66.66667%}.el-col-sm-push-16{position:relative;left:66.66667%}.el-col-sm-17{width:70.83333%}.el-col-sm-offset-17{margin-left:70.83333%}.el-col-sm-pull-17{position:relative;right:70.83333%}.el-col-sm-push-17{position:relative;left:70.83333%}.el-col-sm-18{width:75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{width:79.16667%}.el-col-sm-offset-19{margin-left:79.16667%}.el-col-sm-pull-19{position:relative;right:79.16667%}.el-col-sm-push-19{position:relative;left:79.16667%}.el-col-sm-20{width:83.33333%}.el-col-sm-offset-20{margin-left:83.33333%}.el-col-sm-pull-20{position:relative;right:83.33333%}.el-col-sm-push-20{position:relative;left:83.33333%}.el-col-sm-21{width:87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{width:91.66667%}.el-col-sm-offset-22{margin-left:91.66667%}.el-col-sm-pull-22{position:relative;right:91.66667%}.el-col-sm-push-22{position:relative;left:91.66667%}.el-col-sm-23{width:95.83333%}.el-col-sm-offset-23{margin-left:95.83333%}.el-col-sm-pull-23{position:relative;right:95.83333%}.el-col-sm-push-23{position:relative;left:95.83333%}.el-col-sm-24{width:100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media (min-width:992px){.el-col-md-0{display:none}.el-col-md-1{width:4.16667%}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{width:8.33333%}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{width:12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{width:16.66667%}.el-col-md-offset-4{margin-left:16.66667%}.el-col-md-pull-4{position:relative;right:16.66667%}.el-col-md-push-4{position:relative;left:16.66667%}.el-col-md-5{width:20.83333%}.el-col-md-offset-5{margin-left:20.83333%}.el-col-md-pull-5{position:relative;right:20.83333%}.el-col-md-push-5{position:relative;left:20.83333%}.el-col-md-6{width:25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{width:29.16667%}.el-col-md-offset-7{margin-left:29.16667%}.el-col-md-pull-7{position:relative;right:29.16667%}.el-col-md-push-7{position:relative;left:29.16667%}.el-col-md-8{width:33.33333%}.el-col-md-offset-8{margin-left:33.33333%}.el-col-md-pull-8{position:relative;right:33.33333%}.el-col-md-push-8{position:relative;left:33.33333%}.el-col-md-9{width:37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{width:41.66667%}.el-col-md-offset-10{margin-left:41.66667%}.el-col-md-pull-10{position:relative;right:41.66667%}.el-col-md-push-10{position:relative;left:41.66667%}.el-col-md-11{width:45.83333%}.el-col-md-offset-11{margin-left:45.83333%}.el-col-md-pull-11{position:relative;right:45.83333%}.el-col-md-push-11{position:relative;left:45.83333%}.el-col-md-12{width:50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{width:54.16667%}.el-col-md-offset-13{margin-left:54.16667%}.el-col-md-pull-13{position:relative;right:54.16667%}.el-col-md-push-13{position:relative;left:54.16667%}.el-col-md-14{width:58.33333%}.el-col-md-offset-14{margin-left:58.33333%}.el-col-md-pull-14{position:relative;right:58.33333%}.el-col-md-push-14{position:relative;left:58.33333%}.el-col-md-15{width:62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{width:66.66667%}.el-col-md-offset-16{margin-left:66.66667%}.el-col-md-pull-16{position:relative;right:66.66667%}.el-col-md-push-16{position:relative;left:66.66667%}.el-col-md-17{width:70.83333%}.el-col-md-offset-17{margin-left:70.83333%}.el-col-md-pull-17{position:relative;right:70.83333%}.el-col-md-push-17{position:relative;left:70.83333%}.el-col-md-18{width:75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{width:79.16667%}.el-col-md-offset-19{margin-left:79.16667%}.el-col-md-pull-19{position:relative;right:79.16667%}.el-col-md-push-19{position:relative;left:79.16667%}.el-col-md-20{width:83.33333%}.el-col-md-offset-20{margin-left:83.33333%}.el-col-md-pull-20{position:relative;right:83.33333%}.el-col-md-push-20{position:relative;left:83.33333%}.el-col-md-21{width:87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{width:91.66667%}.el-col-md-offset-22{margin-left:91.66667%}.el-col-md-pull-22{position:relative;right:91.66667%}.el-col-md-push-22{position:relative;left:91.66667%}.el-col-md-23{width:95.83333%}.el-col-md-offset-23{margin-left:95.83333%}.el-col-md-pull-23{position:relative;right:95.83333%}.el-col-md-push-23{position:relative;left:95.83333%}.el-col-md-24{width:100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media (min-width:1200px){.el-col-lg-0{display:none}.el-col-lg-1{width:4.16667%}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{width:8.33333%}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{width:12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{width:16.66667%}.el-col-lg-offset-4{margin-left:16.66667%}.el-col-lg-pull-4{position:relative;right:16.66667%}.el-col-lg-push-4{position:relative;left:16.66667%}.el-col-lg-5{width:20.83333%}.el-col-lg-offset-5{margin-left:20.83333%}.el-col-lg-pull-5{position:relative;right:20.83333%}.el-col-lg-push-5{position:relative;left:20.83333%}.el-col-lg-6{width:25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{width:29.16667%}.el-col-lg-offset-7{margin-left:29.16667%}.el-col-lg-pull-7{position:relative;right:29.16667%}.el-col-lg-push-7{position:relative;left:29.16667%}.el-col-lg-8{width:33.33333%}.el-col-lg-offset-8{margin-left:33.33333%}.el-col-lg-pull-8{position:relative;right:33.33333%}.el-col-lg-push-8{position:relative;left:33.33333%}.el-col-lg-9{width:37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{width:41.66667%}.el-col-lg-offset-10{margin-left:41.66667%}.el-col-lg-pull-10{position:relative;right:41.66667%}.el-col-lg-push-10{position:relative;left:41.66667%}.el-col-lg-11{width:45.83333%}.el-col-lg-offset-11{margin-left:45.83333%}.el-col-lg-pull-11{position:relative;right:45.83333%}.el-col-lg-push-11{position:relative;left:45.83333%}.el-col-lg-12{width:50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{width:54.16667%}.el-col-lg-offset-13{margin-left:54.16667%}.el-col-lg-pull-13{position:relative;right:54.16667%}.el-col-lg-push-13{position:relative;left:54.16667%}.el-col-lg-14{width:58.33333%}.el-col-lg-offset-14{margin-left:58.33333%}.el-col-lg-pull-14{position:relative;right:58.33333%}.el-col-lg-push-14{position:relative;left:58.33333%}.el-col-lg-15{width:62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{width:66.66667%}.el-col-lg-offset-16{margin-left:66.66667%}.el-col-lg-pull-16{position:relative;right:66.66667%}.el-col-lg-push-16{position:relative;left:66.66667%}.el-col-lg-17{width:70.83333%}.el-col-lg-offset-17{margin-left:70.83333%}.el-col-lg-pull-17{position:relative;right:70.83333%}.el-col-lg-push-17{position:relative;left:70.83333%}.el-col-lg-18{width:75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{width:79.16667%}.el-col-lg-offset-19{margin-left:79.16667%}.el-col-lg-pull-19{position:relative;right:79.16667%}.el-col-lg-push-19{position:relative;left:79.16667%}.el-col-lg-20{width:83.33333%}.el-col-lg-offset-20{margin-left:83.33333%}.el-col-lg-pull-20{position:relative;right:83.33333%}.el-col-lg-push-20{position:relative;left:83.33333%}.el-col-lg-21{width:87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{width:91.66667%}.el-col-lg-offset-22{margin-left:91.66667%}.el-col-lg-pull-22{position:relative;right:91.66667%}.el-col-lg-push-22{position:relative;left:91.66667%}.el-col-lg-23{width:95.83333%}.el-col-lg-offset-23{margin-left:95.83333%}.el-col-lg-pull-23{position:relative;right:95.83333%}.el-col-lg-push-23{position:relative;left:95.83333%}.el-col-lg-24{width:100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}.el-progress-bar__inner:after{display:inline-block;height:100%;vertical-align:middle}.el-upload{display:inline-block;text-align:center;cursor:pointer}.el-upload-list__item.is-success .el-icon-close,.el-upload__input{display:none}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload__tip{font-size:12px;color:#8391a5;margin-top:7px}.el-upload--picture-card{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;cursor:pointer;line-height:146px;vertical-align:top}.el-upload--picture-card i{font-size:28px;color:#8c939d}.el-upload--picture-card:hover{border-color:#20a0ff;color:#20a0ff}.el-upload-dragger{background-color:#fff;border:1px dashed #d9d9d9;border-radius:6px;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-upload__text{color:#97a8be;font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:#20a0ff;font-style:normal}.el-upload-dragger .el-icon-upload{font-size:67px;color:#97a8be;margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:1px solid rgba(191,203,217,.2);margin-top:7px;padding-top:5px}.el-upload-dragger:hover{border-color:#20a0ff}.el-upload-dragger.is-dragover{background-color:rgba(32,159,255,.06);border:2px dashed #20a0ff}.el-upload-list{margin:0;padding:0;list-style:none}.el-upload-list__item{-webkit-transition:all .5s cubic-bezier(.55,0,.1,1);transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#48576a;line-height:1.8;margin-top:5px;box-sizing:border-box;border-radius:4px;width:100%;position:relative}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-progress{position:absolute;bottom:-3px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;top:-10px;right:0}.el-upload-list__item:first-child{margin-top:10px}.el-upload-list__item:hover{background-color:#eef1f6}.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:#20a0ff;cursor:pointer}.el-upload-list__item.is-success:hover .el-icon-close{display:inline-block;cursor:pointer;opacity:.75;-webkit-transform:scale(.7);transform:scale(.7);color:#48576a}.el-upload-list__item.is-success:hover .el-icon-close:hover{opacity:1}.el-upload-list__item.is-success:hover .el-icon-check,.el-upload-list__item.is-success:hover .el-icon-circle-check{display:none}.el-upload-list__item-name{color:#48576a;display:block;margin-right:40px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;-webkit-transition:color .3s;transition:color .3s;white-space:nowrap}.el-upload-list__item-name [class^=el-icon]{color:#97a8be;margin-right:7px;height:100%;line-height:inherit}.el-upload-list__item-status-label{position:absolute;right:10px;top:0;line-height:inherit;color:#13ce66}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:#48576a;display:none}.el-upload-list__item-delete:hover{color:#20a0ff}.el-upload-list--picture-card{margin:0;display:inline;vertical-align:top}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;margin:0 8px 8px 0;display:inline-block}.el-upload-list--picture-card .el-upload-list__item-name,.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);color:#fff}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);-webkit-transition:opacity .3s;transition:opacity .3s}.el-upload-list--picture-card .el-upload-list__item-actions:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:15px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-block}.el-upload-list--picture-card .el-progress{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px 10px 10px 90px;height:92px}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{background:0 0;box-shadow:none;top:-2px;right:-12px}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label .el-icon-close{-webkit-transform:rotate(45deg) scale(.7);transform:rotate(45deg) scale(.7)}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{line-height:70px;margin-top:0}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item-thumbnail{vertical-align:middle;display:inline-block;width:70px;height:70px;float:left;margin-left:-80px}.el-upload-list--picture .el-upload-list__item-name{display:block;margin-top:20px}.el-upload-list--picture .el-upload-list__item-name i{font-size:70px;line-height:1;position:absolute;left:9px;top:10px}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);box-shadow:0 1px 1px #ccc}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);color:#fff}.el-upload-list--picture .el-progress{position:static}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-upload-cover__label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-cover__label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.72);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;margin-top:60px}.el-upload-cover__interact .btn span{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{-webkit-transform:translateY(-13px);transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:#48576a}.el-progress{position:relative;line-height:1}.el-progress.is-exception .el-progress-bar__inner{background-color:#ff4949}.el-progress.is-exception .el-progress__text{color:#ff4949}.el-progress.is-success .el-progress-bar__inner{background-color:#13ce66}.el-progress.is-success .el-progress__text{color:#13ce66}.el-progress__text{font-size:14px;color:#48576a;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle{display:inline-block}.el-progress--circle .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-progress--circle .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-badge,.el-badge__content,.el-progress-bar,.el-spinner{display:inline-block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress-bar{padding-right:50px;vertical-align:middle;width:100%;margin-right:-55px;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#e4e8f1;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#20a0ff;text-align:right;border-radius:100px;line-height:1}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{vertical-align:middle}.el-spinner-inner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:#ececec;stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}@-webkit-keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-message{box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);min-width:300px;padding:10px 12px;box-sizing:border-box;border-radius:2px;position:fixed;left:50%;top:20px;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:#fff;-webkit-transition:opacity .3s,-webkit-transform .4s;transition:opacity .3s,-webkit-transform .4s;transition:opacity .3s,transform .4s;transition:opacity .3s,transform .4s,-webkit-transform .4s;overflow:hidden}.el-message .el-icon-circle-check{color:#13ce66}.el-message .el-icon-circle-cross{color:#ff4949}.el-message .el-icon-information{color:#50bfff}.el-message .el-icon-warning{color:#f7ba2a}.el-message__group{margin-left:38px;position:relative;height:20px;line-height:20px}.el-message__group p{font-size:14px;margin:0 34px 0 0;white-space:nowrap;color:#8391a5;text-align:justify}.el-step__head,.el-steps.is-horizontal.is-center{text-align:center}.el-message__group.is-with-icon{margin-left:0}.el-message__img{width:40px;height:40px;position:absolute;left:0;top:0}.el-message__icon{vertical-align:middle;margin-right:8px}.el-message__closeBtn{top:3px;right:0;position:absolute;cursor:pointer;color:#bfcbd9;font-size:14px}.el-message__closeBtn:hover{color:#97a8be}.el-message-fade-enter,.el-message-fade-leave-active{opacity:0;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.el-badge{position:relative;vertical-align:middle}.el-badge__content{background-color:#ff4949;border-radius:10px;color:#fff;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff}.el-badge__content.is-dot{width:8px;height:8px;padding:0;right:0;border-radius:50%}.el-badge__content.is-fixed{top:0;right:10px;position:absolute;-webkit-transform:translateY(-50%) translateX(100%);transform:translateY(-50%) translateX(100%)}.el-rate__icon,.el-rate__item{position:relative;display:inline-block}.el-badge__content.is-fixed.is-dot{right:5px}.el-card{border:1px solid #d1dbe5;border-radius:4px;background-color:#fff;overflow:hidden;box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-card__header{padding:18px 20px;border-bottom:1px solid #d1dbe5;box-sizing:border-box}.el-card__body{padding:20px}.el-rate{height:20px;line-height:1}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon{font-size:18px;margin-right:6px;color:#bfcbd9;-webkit-transition:.3s;transition:.3s}.el-rate__decimal,.el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate__icon.hover{-webkit-transform:scale(1.15);transform:scale(1.15)}.el-rate__decimal{display:inline-block;overflow:hidden}.el-rate__text{font-size:14px;vertical-align:middle}.el-steps{font-size:0}.el-steps>:last-child .el-step__line{display:none}.el-step.is-horizontal,.el-step.is-vertical .el-step__head,.el-step.is-vertical .el-step__main,.el-step__line{display:inline-block}.el-steps.is-horizontal{white-space:nowrap}.el-step{position:relative;vertical-align:top}.el-step.is-vertical .el-step__main{padding-left:10px}.el-step__line{position:absolute;border-color:inherit;background-color:#bfcbd9}.el-step__line.is-vertical{width:2px;box-sizing:border-box;top:32px;bottom:0;left:15px}.el-step__line.is-horizontal{top:15px;height:2px;left:32px;right:0}.el-step__line.is-icon.is-horizontal{right:4px}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;-webkit-transition:all .15s;transition:all .15s;width:0;height:0}.el-step__icon{display:block;line-height:28px}.el-step__icon>*{line-height:inherit;vertical-align:middle}.el-step__head{width:28px;height:28px;border-radius:50%;background-color:transparent;line-height:28px;font-size:28px;vertical-align:top;-webkit-transition:all .15s;transition:all .15s}.el-carousel__arrow,.el-carousel__button{margin:0;-webkit-transition:.3s;transition:.3s;cursor:pointer;outline:0}.el-step__head.is-finish{color:#20a0ff;border-color:#20a0ff}.el-step__head.is-error{color:#ff4949;border-color:#ff4949}.el-step__head.is-success{color:#13ce66;border-color:#13ce66}.el-step__head.is-process,.el-step__head.is-wait{color:#bfcbd9;border-color:#bfcbd9}.el-step__head.is-text{font-size:14px;border-width:2px;border-style:solid}.el-step__head.is-text.is-finish{color:#fff;background-color:#20a0ff;border-color:#20a0ff}.el-step__head.is-text.is-error{color:#fff;background-color:#ff4949;border-color:#ff4949}.el-step__head.is-text.is-success{color:#fff;background-color:#13ce66;border-color:#13ce66}.el-step__head.is-text.is-wait{color:#bfcbd9;background-color:#fff;border-color:#bfcbd9}.el-step__head.is-text.is-process{color:#fff;background-color:#bfcbd9;border-color:#bfcbd9}.el-step__main{white-space:normal;padding-right:10px;text-align:left}.el-step__title{font-size:14px;line-height:32px;display:inline-block}.el-step__title.is-finish{font-weight:700;color:#20a0ff}.el-step__title.is-error{font-weight:700;color:#ff4949}.el-step__title.is-success{font-weight:700;color:#13ce66}.el-step__title.is-wait{font-weight:400;color:#97a8be}.el-step__title.is-process{font-weight:700;color:#48576a}.el-step__description{font-size:12px;font-weight:400;line-height:14px}.el-step__description.is-finish{color:#20a0ff}.el-step__description.is-error{color:#ff4949}.el-step__description.is-success{color:#13ce66}.el-step__description.is-wait{color:#bfcbd9}.el-step__description.is-process{color:#8391a5}.el-carousel{overflow-x:hidden;position:relative}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;padding:0;width:36px;height:36px;border-radius:50%;background-color:rgba(31,45,61,.11);color:#fff;position:absolute;top:50%;z-index:10;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-align:center;font-size:12px}.el-carousel__arrow:hover{background-color:rgba(31,45,61,.23)}.el-carousel__arrow i{cursor:pointer}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__indicators{position:absolute;list-style:none;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin:0;padding:0;z-index:2}.el-carousel__indicators--outside{bottom:26px;text-align:center;position:static;-webkit-transform:none;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:#8391a5;opacity:.24}.el-carousel__indicator{display:inline-block;background-color:transparent;padding:12px 4px;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:30px;height:2px;background-color:#fff;border:none;padding:0}.carousel-arrow-left-enter,.carousel-arrow-left-leave-active{-webkit-transform:translateY(-50%) translateX(-10px);transform:translateY(-50%) translateX(-10px);opacity:0}.carousel-arrow-right-enter,.carousel-arrow-right-leave-active{-webkit-transform:translateY(-50%) translateX(10px);transform:translateY(-50%) translateX(10px);opacity:0}.el-scrollbar{overflow:hidden;position:relative}.el-scrollbar:active .el-scrollbar__bar,.el-scrollbar:focus .el-scrollbar__bar,.el-scrollbar:hover .el-scrollbar__bar{opacity:1;-webkit-transition:opacity .34s ease-out;transition:opacity .34s ease-out}.el-scrollbar__wrap{overflow:scroll}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{width:0;height:0}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(151,168,190,.3);-webkit-transition:background-color .3s;transition:background-color .3s}.el-scrollbar__thumb:hover{background-color:rgba(151,168,190,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px;opacity:0;-webkit-transition:opacity .12s ease-out;transition:opacity .12s ease-out}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;-webkit-transition:.4s ease-in-out;transition:.4s ease-in-out;overflow:hidden;z-index:0}.el-carousel__item.is-active{z-index:2}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:1}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:2}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.24;-webkit-transition:.2s;transition:.2s}.el-collapse{border:1px solid #dfe6ec;border-radius:0}.el-collapse-item:last-child{margin-bottom:-1px}.el-collapse-item.is-active>.el-collapse-item__header .el-collapse-item__header__arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-collapse-item__header{height:43px;line-height:43px;padding-left:15px;background-color:#fff;color:#48576a;cursor:pointer;border-bottom:1px solid #dfe6ec;font-size:13px}.el-collapse-item__header__arrow{margin-right:8px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.el-collapse-item__wrap{will-change:height;background-color:#fbfdff;overflow:hidden;box-sizing:border-box;border-bottom:1px solid #dfe6ec}.el-collapse-item__content{padding:10px 15px;font-size:13px;color:#1f2d3d;line-height:1.769230769230769}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input.is-disabled .el-input__inner{background-color:#eef1f6;border-color:#d1dbe5;color:#bbb;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:#bfcbd9}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#bfcbd9}.el-input.is-disabled .el-input__inner::placeholder{color:#bfcbd9}.el-input.is-active .el-input__inner{outline:0;border-color:#20a0ff}.el-input__inner{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #bfcbd9;box-sizing:border-box;color:#1f2d3d;display:block;font-size:inherit;height:36px;line-height:1;outline:0;padding:3px 10px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__inner::-webkit-input-placeholder{color:#97a8be}.el-input__inner:-ms-input-placeholder{color:#97a8be}.el-input__inner::placeholder{color:#97a8be}.el-input__inner:hover{border-color:#8391a5}.el-input__inner:focus{outline:0;border-color:#20a0ff}.el-input__icon{position:absolute;width:35px;height:100%;right:0;top:0;text-align:center;color:#bfcbd9;-webkit-transition:all .3s;transition:all .3s}.el-input__icon:after{content:"";height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__icon+.el-input__inner{padding-right:35px}.el-input__icon.is-clickable:hover{cursor:pointer;color:#8391a5}.el-input__icon.is-clickable:hover+.el-input__inner{border-color:#8391a5}.el-input--large{font-size:16px}.el-input--large .el-input__inner{height:42px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:30px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:22px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#fbfdff;color:#97a8be;vertical-align:middle;display:table-cell;position:relative;border:1px solid #bfcbd9;border-radius:4px;padding:0 10px;width:1%;white-space:nowrap}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--append .el-input__inner,.el-input-group__prepend{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:block;margin:-10px}.el-input-group__append .el-button,.el-input-group__append .el-select .el-input__inner,.el-input-group__append .el-select:hover .el-input__inner,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select .el-input__inner,.el-input-group__prepend .el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-cascader__label,.el-textarea__inner{width:100%;font-size:14px;box-sizing:border-box}.el-input-group__prepend{border-right:0}.el-input-group__append{border-left:0}.el-textarea{display:inline-block;width:100%;vertical-align:bottom}.el-textarea.is-disabled .el-textarea__inner{background-color:#eef1f6;border-color:#d1dbe5;color:#bbb;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:#bfcbd9}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#bfcbd9}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#bfcbd9}.el-textarea__inner{display:block;resize:vertical;padding:5px 7px;line-height:1.5;color:#1f2d3d;background-color:#fff;background-image:none;border:1px solid #bfcbd9;border-radius:4px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-webkit-input-placeholder{color:#97a8be}.el-textarea__inner:-ms-input-placeholder{color:#97a8be}.el-textarea__inner::placeholder{color:#97a8be}.el-textarea__inner:hover{border-color:#8391a5}.el-textarea__inner:focus{outline:0;border-color:#20a0ff}.el-cascader{display:inline-block;position:relative;background-color:#fff}.el-cascader .el-input,.el-cascader .el-input__inner{cursor:pointer;background-color:transparent;z-index:1}.el-cascader .el-input__icon{-webkit-transition:none;transition:none}.el-cascader .el-icon-caret-bottom{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.el-cascader .el-icon-caret-bottom.is-reverse{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-cascader.is-disabled .el-cascader__label{z-index:2;color:#bbb}.el-cascader__label{position:absolute;left:0;top:0;height:100%;line-height:34px;padding:0 25px 0 10px;color:#1f2d3d;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;text-align:left}.el-cascader__label span{color:#97a8be}.el-cascader--large{font-size:16px}.el-cascader--large .el-cascader__label{line-height:40px}.el-cascader--small{font-size:13px}.el-cascader--small .el-cascader__label{line-height:28px}.el-cascader-menus{white-space:nowrap;background:#fff;position:absolute;margin:5px 0;z-index:2;border:1px solid #d1dbe5;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.el-cascader-menu{display:inline-block;vertical-align:top;height:204px;overflow:auto;border-right:1px solid #d1dbe5;background-color:#fff;box-sizing:border-box;margin:0;padding:6px 0;min-width:160px}.el-cascader-menu:last-child{border-right:0}.el-cascader-menu__item{font-size:14px;padding:8px 30px 8px 10px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#48576a;height:36px;line-height:1.5;box-sizing:border-box;cursor:pointer}.el-cascader-menu__item:hover{background-color:#e4e8f1}.el-cascader-menu__item.selected{color:#fff;background-color:#20a0ff}.el-cascader-menu__item.selected.hover{background-color:#1c8de0}.el-cascader-menu__item.is-active{color:#fff;background-color:#20a0ff}.el-cascader-menu__item.is-active:hover{background-color:#1c8de0}.el-cascader-menu__item.is-disabled{color:#bfcbd9;background-color:#fff;cursor:not-allowed}.el-cascader-menu__item.is-disabled:hover{background-color:#fff}.el-cascader-menu__item__keyword{font-weight:700}.el-cascader-menu__item--extensible:after{font-family:element-icons;content:"\\E606";font-size:12px;-webkit-transform:scale(.8);transform:scale(.8);color:#bfcbd9;position:absolute;right:10px;margin-top:1px}.el-cascader-menu--flexible{height:auto;max-height:180px;overflow:auto}.el-cascader-menu--flexible .el-cascader-menu__item{overflow:visible}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:-webkit-linear-gradient(top,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-hue-slider__bar{position:relative;background:-webkit-linear-gradient(left,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:-webkit-linear-gradient(left,#fff,hsla(0,0%,100%,0));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.el-color-svpanel__black{background:-webkit-linear-gradient(bottom,#000,transparent);background:linear-gradient(0deg,#000,transparent)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:-webkit-linear-gradient(top,hsla(0,0%,100%,0),#fff);background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-alpha-slider__bar{position:relative;background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff);background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:6px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#1f2d3d}.el-color-dropdown__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-color-dropdown__btn[disabled]{color:#ccc;cursor:not-allowed}.el-color-dropdown__btn:hover{color:#20a0ff;border-color:#20a0ff}.el-color-dropdown__link-btn{cursor:pointer;color:#20a0ff;text-decoration:none;padding:15px;font-size:12px}.el-color-dropdown__link-btn:hover{color:#4db3ff}.el-color-picker{display:inline-block;position:relative}.el-color-picker__trigger{display:inline-block;box-sizing:border-box;height:36px;padding:6px;border:1px solid #bfcbd9;border-radius:4px;font-size:0}.el-color-picker__color{position:relative;display:inline-block;box-sizing:border-box;vertical-align:middle;border:1px solid #666;width:22px;height:22px;text-align:center}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{position:absolute;left:0;top:0;right:0;bottom:0}.el-color-picker__empty{font-size:12px;vertical-align:middle;margin-top:4px;color:#666}.el-color-picker__icon{display:inline-block;position:relative;vertical-align:middle;margin-left:8px;width:12px;color:#888;font-size:12px}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;background-color:#fff;border:1px solid #d1dbe5;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.12)}',""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,".el-form-item span{margin-left:15px}.demo-table-expand{font-size:0}.demo-table-expand label{width:90px;color:#99a9bf}.demo-table-expand .el-form-item{margin-right:0;margin-bottom:0;width:50%}",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"body{background-color:#fafafa;margin:0}header{width:100%;height:60px}.header-color{background:#58b7ff}#content{margin-top:20px;padding-right:40px}.brand{color:#fff;background-color:transparent;margin-left:20px;float:left;line-height:25px;font-size:25px;padding:15px;height:30px;text-decoration:none}",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,".source{border:1px solid #eaeefb;border-radius:4px;-webkit-transition:.2s;transition:.2s;padding:24px}.server_info{margin-left:40px;font-size:0}.server_info label{width:150px;color:#99a9bf}.server_info .el-form-item{margin-right:0;margin-bottom:0;width:100%}",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},,function(e,t,i){e.exports=i(1),i(281),i(107),i(117),i(316),i(306),i(290),i(324),i(258),i(254),i(250),i(297),i(311),i(236),i(241),i(247),i(285),i(271),i(301),i(319),i(365),i(366),i(367),i(134),i(45),i(382),i(363),i(131),i(132),i(344),i(351),i(133),i(353),i(407),i(374),i(373),i(372),i(386),i(395),i(537)},function(e,t,i){"use strict";function n(e,t){o.each(r,function(t){this[t]=o.bind(e[t],e)},this),this.getCoordinateSystems=o.bind(t.getCoordinateSystems,t)}var o=i(0),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];e.exports=n},function(e,t,i){e.exports=i(108).extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect"})},function(e,t,i){"use strict";function n(e,t,i,n,o,r,a){var s=new c.Rect({shape:l.extend({},n)});if(r){var u=s.shape,h=o?"height":"width",d={};u[h]=0,d[h]=n[h],c[a?"updateProps":"initProps"](s,{shape:d},r,t)}return s}function o(e,t,i){i.style.text="",c.updateProps(i,{shape:{width:0}},t,e,function(){i.parent&&i.parent.remove(i)})}function r(e,t,i){var n=e.getItemLayout(t),o=s(i,n),r=n.width>0?1:-1,a=n.height>0?1:-1;return{x:n.x+r*o/2,y:n.y+a*o/2,width:n.width-r*o,height:n.height-a*o}}function a(e,t,i,n,o,r,a){var s=t.getItemVisual(i,"color"),h=t.getItemVisual(i,"opacity"),d=n.getModel("itemStyle.normal"),p=n.getModel("itemStyle.emphasis").getBarItemStyle();e.setShape("r",d.get("barBorderRadius")||0),e.useStyle(l.defaults({fill:s,opacity:h},d.getBarItemStyle()));var f=a?o.height>0?"bottom":"top":o.width>0?"left":"right";u.setLabel(e.style,p,n,s,r,i,f),c.setHoverStyle(e,p)}function s(e,t){var i=e.get(h)||0;return Math.min(i,Math.abs(t.width),Math.abs(t.height))}var l=i(0),c=i(2),u=i(109),h=["itemStyle","normal","barBorderWidth"];l.extend(i(9).prototype,i(235));var d=i(1).extendChartView({type:"bar",render:function(e,t,i){return"cartesian2d"===e.get("coordinateSystem")&&this._renderOnCartesian(e,t,i),this.group},dispose:l.noop,_renderOnCartesian:function(e,t,i){var s=this.group,l=e.getData(),u=this._data,h=e.coordinateSystem,d=h.getBaseAxis(),p=d.isHorizontal(),f=e.isAnimationEnabled()?e:null;l.diff(u).add(function(t){if(l.hasValue(t)){var i=l.getItemModel(t),o=r(l,t,i),c=n(l,t,i,o,p,f);l.setItemGraphicEl(t,c),s.add(c),a(c,l,t,i,o,e,p)}}).update(function(t,i){var o=u.getItemGraphicEl(i);if(!l.hasValue(t))return void s.remove(o);var h=l.getItemModel(t),d=r(l,t,h);o?c.updateProps(o,{shape:d},f,t):o=n(l,t,h,d,p,f,!0),l.setItemGraphicEl(t,o),s.add(o),a(o,l,t,h,d,e,p)}).remove(function(e){var t=u.getItemGraphicEl(e);t&&o(e,f,t)}).execute(),this._data=l},remove:function(e,t){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl(function(t){o(t.dataIndex,e,t)}):i.removeAll()}});e.exports=d},function(e,t,i){var n=i(108).extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,n.superApply(this,"getInitialData",arguments)}});e.exports=n},function(e,t,i){function n(e,t,i,n){var l=e.getItemLayout(t),c=i.get("symbolRepeat"),u=i.get("symbolClip"),h=i.get("symbolPosition")||"start",d=i.get("symbolRotate"),p=(d||0)*Math.PI/180||0,f=i.get("symbolPatternSize")||2,g=i.isAnimationEnabled(),m={dataIndex:t,layout:l,itemModel:i,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:u,symbolRepeat:c,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:p,animationModel:g?i:null,hoverAnimation:g&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};o(i,c,l,n,m),r(e,t,l,c,u,m.boundingLength,m.pxSign,f,n,m),a(i,m.symbolScale,p,n,m);var v=m.symbolSize,y=i.get("symbolOffset");return M.isArray(y)&&(y=[L(y[0],v[0]),L(y[1],v[1])]),s(i,v,l,c,u,y,h,m.valueLineWidth,m.boundingLength,m.repeatCutLength,n,m),m}function o(e,t,i,n,o){var r=n.valueDim,a=e.get("symbolBoundingData"),s=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),c=o.boundingLength=null!=a?s.toGlobalCoord(s.dataToCoord(s.scale.parse(a)))-l:t?n.coordSysExtent[r.index][1-+(i[r.wh]<=0)]-l:i[r.wh];t&&(o.repeatCutLength=i[r.wh]),o.pxSign=c>0?1:c<0?-1:0}function r(e,t,i,n,o,r,a,s,l,c){var u=l.valueDim,h=l.categoryDim,d=Math.abs(i[h.wh]),p=e.getItemVisual(t,"symbolSize");M.isArray(p)?p=p.slice():(null==p&&(p="100%"),p=[p,p]),p[h.index]=L(p[h.index],d),p[u.index]=L(p[u.index],n?d:Math.abs(r)),c.symbolSize=p,(c.symbolScale=[p[0]/s,p[1]/s])[u.index]*=(l.isHorizontal?-1:1)*a}function a(e,t,i,n,o){var r=e.get(D)||0;r&&(z.attr({scale:t.slice(),rotation:i}),z.updateTransform(),r/=z.getLineScale(),r*=t[n.valueDim.index]),o.valueLineWidth=r}function s(e,t,i,n,o,r,a,s,l,c,u,h){var d=u.categoryDim,p=u.valueDim,f=h.pxSign,g=Math.max(t[p.index]+s,0),m=g;if(n){var v=Math.abs(l),y=M.retrieve(e.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1)),y=L(y,t[p.index]);var b=Math.max(g+2*y,0),_=x?0:2*y,w=I.isNumeric(n),A=w?n:S((v+_)/b);y=(v-A*g)/2/(x?A:A-1),b=g+2*y,_=x?0:2*y,w||"fixed"===n||(A=c?S((Math.abs(c)+_)/b):0),m=A*b-_,h.repeatTimes=A,h.symbolMargin=y}var k=f*(m/2),T=h.pathPosition=[];T[d.index]=i[d.wh]/2,T[p.index]="start"===a?k:"end"===a?l-k:l/2,r&&(T[0]+=r[0],T[1]+=r[1]);var C=h.bundlePosition=[];C[d.index]=i[d.xy],C[p.index]=i[p.xy];var D=h.barRectShape=M.extend({},i);D[p.wh]=f*Math.max(Math.abs(i[p.wh]),Math.abs(T[p.index]+k)),D[d.wh]=i[d.wh];var P=h.clipShape={};P[d.xy]=-i[d.xy],P[d.wh]=u.ecSize[d.wh],P[p.xy]=0,P[p.wh]=i[p.wh]}function l(e){var t=e.symbolPatternSize,i=T.createSymbol(e.symbolType,-t/2,-t/2,t,t,e.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function c(e,t,i,n){function o(e){var t=h.slice(),n=i.pxSign,o=e;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(o=p-1-e),t[d.index]=g*(o-p/2+.5)+h[d.index],{position:t,scale:i.symbolScale.slice(),rotation:i.rotation}}function r(){_(e,function(e){e.trigger("emphasis")})}function a(){_(e,function(e){e.trigger("normal")})}var s=e.__pictorialBundle,c=i.symbolSize,u=i.valueLineWidth,h=i.pathPosition,d=t.valueDim,p=i.repeatTimes||0,f=0,g=c[t.valueDim.index]+u+2*i.symbolMargin;for(_(e,function(e){e.__pictorialAnimationIndex=f,e.__pictorialRepeatTimes=p,f0)],u=e.__pictorialBarRect;C.setLabel(u.style,l,r,n,t.seriesModel,o,c),k.setHoverStyle(u,l)}function S(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var M=i(0),k=i(2),T=i(20),I=i(3),C=i(109),L=I.parsePercent,D=["itemStyle","normal","borderWidth"],P=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],z=new k.Circle,E=i(1).extendChartView({type:"pictorialBar",render:function(e,t,i){var o=this.group,r=e.getData(),a=this._data,s=e.coordinateSystem,l=s.getBaseAxis(),c=!!l.isHorizontal(),u=s.grid.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:c,valueDim:P[+c],categoryDim:P[1-c]};return r.diff(a).add(function(e){if(r.hasValue(e)){var t=p(r,e),i=n(r,e,t,h),a=v(r,h,i);r.setItemGraphicEl(e,a),o.add(a),A(a,h,i)}}).update(function(e,t){var i=a.getItemGraphicEl(t);if(!r.hasValue(e))return void o.remove(i);var s=p(r,e),l=n(r,e,s,h),c=b(r,l);i&&c!==i.__pictorialShapeStr&&(o.remove(i),r.setItemGraphicEl(e,null),i=null),i?y(i,h,l):i=v(r,h,l,!0),r.setItemGraphicEl(e,i),i.__pictorialSymbolMeta=l,o.add(i),A(i,h,l)}).remove(function(e){var t=a.getItemGraphicEl(e);t&&x(a,e,t.__pictorialSymbolMeta.animationModel,t)}).execute(),this._data=r,this.group},dispose:M.noop,remove:function(e,t){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl(function(t){x(n,t.dataIndex,e,t)}):i.removeAll()}});e.exports=E},function(e,t,i){var n=i(50)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);e.exports={getBarItemStyle:function(e){var t=n.call(this,e);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(t.lineDash=i)}return t}}},function(e,t,i){var n=i(1);i(237),i(238),n.registerVisual(i(240)),n.registerLayout(i(239))},function(e,t,i){"use strict";var n=i(0),o=i(14),r=i(55),a=o.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],valueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(a,r.seriesModelMixin,!0),e.exports=a},function(e,t,i){"use strict";function n(e,t,i){var n=t.getItemModel(i),o=n.getModel(c),r=t.getItemVisual(i,"color"),s=o.getItemStyle(["borderColor"]),l=e.childAt(e.whiskerIndex);l.style.set(s),l.style.stroke=r,l.dirty();var h=e.childAt(e.bodyIndex);h.style.set(s),h.style.stroke=r,h.dirty();var d=n.getModel(u).getItemStyle();a.setHoverStyle(e,d)}var o=i(0),r=i(30),a=i(2),s=i(55),l=r.extend({type:"boxplot",getStyleUpdater:function(){return n},dispose:o.noop});o.mixin(l,s.viewMixin,!0);var c=["itemStyle","normal"],u=["itemStyle","emphasis"];e.exports=l},function(e,t,i){function n(e){var t=[],i=[];return e.eachSeriesByType("boxplot",function(e){var n=e.getBaseAxis(),o=a.indexOf(i,n);o<0&&(o=i.length,i[o]=n,t[o]={axis:n,seriesModels:[]}),t[o].seriesModels.push(e)}),t}function o(e){var t,i,n=e.axis,o=e.seriesModels,r=o.length,s=e.boxWidthList=[],u=e.boxOffsetList=[],h=[];if("category"===n.type)i=n.getBandWidth();else{var d=0;c(o,function(e){d=Math.max(d,e.getData().count())}),t=n.getExtent(),Math.abs(t[1]-t[0])}c(o,function(e){var t=e.get("boxWidth");a.isArray(t)||(t=[t,t]),h.push([l(t[0],i)||0,l(t[1],i)||0])});var p=.8*i-2,f=p/r*.3,g=(p-f*(r-1))/r,m=g/2-p/2;c(o,function(e,t){u.push(m),m+=f+g,s.push(Math.min(Math.max(g,h[t][0]),h[t][1]))})}function r(e,t,i){var n=e.coordinateSystem,o=e.getData(),r=e.dimensions,a=e.get("layout"),s=i/2;o.each(r,function(){function e(e){var i=[];i[p]=h,i[f]=e;var o;return isNaN(h)||isNaN(e)?o=[NaN,NaN]:(o=n.dataToPoint(i),o[p]+=t),o}function i(e,t){var i=e.slice(),n=e.slice();i[p]+=s,n[p]-=s,t?x.push(i,n):x.push(n,i)}function l(e){var t=[e.slice(),e.slice()];t[0][p]-=s,t[1][p]+=s,y.push(t)}var c=arguments,u=r.length,h=c[0],d=c[u],p="horizontal"===a?0:1,f=1-p,g=e(c[3]),m=e(c[1]),v=e(c[5]),y=[[m,e(c[2])],[v,e(c[4])]];l(m),l(v),l(g);var x=[];i(y[0][1],0),i(y[1][1],1),o.setItemLayout(d,{chartLayout:a,initBaseline:g[f],median:g,bodyEnds:x,whiskerEnds:y})})}var a=i(0),s=i(3),l=s.parsePercent,c=a.each;e.exports=function(e){var t=n(e);c(t,function(e){var t=e.seriesModels;t.length&&(o(e),c(t,function(t,i){r(t,e.boxOffsetList[i],e.boxWidthList[i])}))})}},function(e,t){var i=["itemStyle","normal","borderColor"];e.exports=function(e,t){var n=e.get("color");e.eachRawSeriesByType("boxplot",function(t){var o=n[t.seriesIndex%n.length],r=t.getData();r.setVisual({legendSymbol:"roundRect",color:t.get(i)||o}),e.isSeriesFiltered(t)||r.each(function(e){var t=r.getItemModel(e);r.setItemVisual(e,{color:t.get(i,!0)})})})}},function(e,t,i){var n=i(1);i(242),i(243),n.registerPreprocessor(i(246)),n.registerVisual(i(245)),n.registerLayout(i(244))},function(e,t,i){"use strict";var n=i(0),o=i(14),r=i(55),a=i(4),s=a.encodeHTML,l=a.addCommas,c=o.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],valueDimensions:["open","close","lowest","highest"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},formatTooltip:function(e,t){var i=n.map(this.valueDimensions,function(t){return s(t+": "+l(this.getData().get(t,e)))},this).join("
"),o=[];return null!=this.name&&o.push(s(this.name)),null!=i&&o.push(i),o.join("
")},brushSelector:function(e,t){return t.rect(e.brushRect)}});n.mixin(c,r.seriesModelMixin,!0),e.exports=c},function(e,t,i){"use strict";function n(e,t,i){var n=t.getItemModel(i),o=n.getModel(c),r=t.getItemVisual(i,"color"),s=t.getItemVisual(i,"borderColor")||r,l=o.getItemStyle(["color","color0","borderColor","borderColor0"]),h=e.childAt(e.whiskerIndex);h.useStyle(l),h.style.stroke=s;var d=e.childAt(e.bodyIndex);d.useStyle(l),d.style.fill=r,d.style.stroke=s;var p=n.getModel(u).getItemStyle();a.setHoverStyle(e,p)}var o=i(0),r=i(30),a=i(2),s=i(55),l=r.extend({type:"candlestick",getStyleUpdater:function(){return n},dispose:o.noop});o.mixin(l,s.viewMixin,!0);var c=["itemStyle","normal"],u=["itemStyle","emphasis"];e.exports=l},function(e,t,i){function n(e,t){var i,n=e.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/t.count()),s=r(o(e.get("barMaxWidth"),a),a),l=r(o(e.get("barMinWidth"),1),a),c=e.get("barWidth");return null!=c?r(c,a):Math.max(Math.min(a/2,s),l)}var o=i(0).retrieve,r=i(3).parsePercent;e.exports=function(e){e.eachSeriesByType("candlestick",function(e){var t=e.coordinateSystem,i=e.getData(),o=e.dimensions,r=e.get("layout"),a=n(e,i);i.each(o,function(){function e(e){var i=[];return i[h]=c,i[d]=e,isNaN(c)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function n(e,t){var i=e.slice(),n=e.slice();i[h]+=a/2,n[h]-=a/2,t?S.push(i,n):S.push(n,i)}var s=arguments,l=o.length,c=s[0],u=s[l],h="horizontal"===r?0:1,d=1-h,p=s[1],f=s[2],g=s[3],m=s[4],v=Math.min(p,f),y=Math.max(p,f),x=e(v),b=e(y),_=e(g),w=e(m),A=[[w,b],[_,x]],S=[];n(b,0),n(x,1),i.setItemLayout(u,{chartLayout:r,sign:p>f?-1:pf?b[d]:x[d],bodyEnds:S,whiskerEnds:A,brushRect:function(){var t=e(Math.min(p,f,g,m)),i=e(Math.max(p,f,g,m));return t[h]-=a/2,i[h]-=a/2,{x:t[0],y:t[1],width:d?a:i[0]-t[0],height:d?i[1]-t[1]:a}}()})},!0)})}},function(e,t){var i=["itemStyle","normal","borderColor"],n=["itemStyle","normal","borderColor0"],o=["itemStyle","normal","color"],r=["itemStyle","normal","color0"];e.exports=function(e,t){e.eachRawSeriesByType("candlestick",function(t){var a=t.getData();a.setVisual({legendSymbol:"roundRect"}),e.isSeriesFiltered(t)||a.each(function(e){var t=a.getItemModel(e),s=a.getItemLayout(e).sign;a.setItemVisual(e,{color:t.get(s>0?o:r),borderColor:t.get(s>0?i:n)})})})}},function(e,t,i){var n=i(0);e.exports=function(e){e&&n.isArray(e.series)&&n.each(e.series,function(e){n.isObject(e)&&"k"===e.type&&(e.type="candlestick")})}},function(e,t,i){var n=i(0),o=i(1);i(248),i(249),o.registerVisual(n.curry(i(42),"effectScatter","circle",null)),o.registerLayout(n.curry(i(88),"effectScatter"))},function(e,t,i){"use strict";var n=i(32),o=i(14);e.exports=o.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return n(e.data,this,t)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}})},function(e,t,i){var n=i(44),o=i(276);i(1).extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new n(o)},render:function(e,t,i){var n=e.getData(),o=this._symbolDraw;o.updateData(n),this.group.add(o.group)},updateLayout:function(){this._symbolDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}})},function(e,t,i){var n=i(0),o=i(1);i(251),i(252),o.registerVisual(n.curry(i(91),"funnel")),o.registerLayout(i(253)),o.registerProcessor(n.curry(i(61),"funnel"))},function(e,t,i){"use strict";var n=i(11),o=i(5),r=i(19),a=i(1).extendSeriesModel({type:"series.funnel",init:function(e){a.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(e)},getInitialData:function(e,t){var i=r(["value"],e.data),o=new n(i,this);return o.initData(e.data),o},_defaultLabelLine:function(e){o.defaultEmphasis(e.labelLine,["show"]);var t=e.labelLine.normal,i=e.labelLine.emphasis;t.show=t.show&&e.label.normal.show,i.show=i.show&&e.label.emphasis.show},getDataParams:function(e){var t=this.getData(),i=a.superCall(this,"getDataParams",e),n=t.getSum("value");return i.percent=n?+(t.get("value",e)/n*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}});e.exports=a},function(e,t,i){function n(e,t){function i(){a.ignore=a.hoverIgnore,s.ignore=s.hoverIgnore}function n(){a.ignore=a.normalIgnore,s.ignore=s.normalIgnore}r.Group.call(this);var o=new r.Polygon,a=new r.Polyline,s=new r.Text;this.add(o),this.add(a),this.add(s),this.updateData(e,t,!0),this.on("emphasis",i).on("normal",n).on("mouseover",i).on("mouseout",n)}function o(e,t,i,n){var o=n.getModel("textStyle"),r=n.get("position"),s="inside"===r||"inner"===r||"center"===r;return{fill:o.getTextColor()||(s?"#fff":e.getItemVisual(t,"color")),textFont:o.getFont(),text:a.retrieve(e.hostModel.getFormattedLabel(t,i),e.getName(t))}}var r=i(2),a=i(0),s=n.prototype,l=["itemStyle","normal","opacity"];s.updateData=function(e,t,i){var n=this.childAt(0),o=e.hostModel,s=e.getItemModel(t),c=e.getItemLayout(t),u=e.getItemModel(t).get(l);u=null==u?1:u,n.useStyle({}),i?(n.setShape({points:c.points}),n.setStyle({opacity:0}),r.initProps(n,{style:{opacity:u}},o,t)):r.updateProps(n,{style:{opacity:u},shape:{points:c.points}},o,t);var h=s.getModel("itemStyle"),d=e.getItemVisual(t,"color");n.setStyle(a.defaults({lineJoin:"round",fill:d},h.getModel("normal").getItemStyle(["opacity"]))),n.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),r.setHoverStyle(this)},s._updateLabel=function(e,t){var i=this.childAt(1),n=this.childAt(2),a=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),c=l.label,u=e.getItemVisual(t,"color");r.updateProps(i,{shape:{points:c.linePoints||c.linePoints}},a,t),r.updateProps(n,{style:{x:c.x,y:c.y}},a,t),n.attr({style:{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,textFont:c.font},rotation:c.rotation,origin:[c.x,c.y],z2:10});var h=s.getModel("label.normal"),d=s.getModel("label.emphasis"),p=s.getModel("labelLine.normal"),f=s.getModel("labelLine.emphasis");n.setStyle(o(e,t,"normal",h)),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),i.ignore=i.normalIgnore=!p.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:u}),i.setStyle(p.getModel("lineStyle").getLineStyle()),n.hoverStyle=o(e,t,"emphasis",d),i.hoverStyle=f.getModel("lineStyle").getLineStyle()},a.inherits(n,r.Group);var c=i(30).extend({type:"funnel",render:function(e,t,i){var o=e.getData(),r=this._data,a=this.group;o.diff(r).add(function(e){var t=new n(o,e);o.setItemGraphicEl(e,t),a.add(t)}).update(function(e,t){var i=r.getItemGraphicEl(t);i.updateData(o,e),a.add(i),o.setItemGraphicEl(e,i)}).remove(function(e){var t=r.getItemGraphicEl(e);a.remove(t)}).execute(),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=c},function(e,t,i){function n(e,t){return a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function o(e,t){for(var i=e.mapArray("value",function(e){return e}),n=[],o="ascending"===t,r=0,a=e.count();r=e&&(0===t?0:n[t-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},silent:!0});"auto"===N.style.fill&&N.setStyle({fill:n(D/_)}),d.add(N)}if(x.get("show")&&D!==_){for(var V=0;V<=w;V++){var P=Math.cos(M),z=Math.sin(M),B=new a.Line({shape:{x1:P*g+p,y1:z*g+f,x2:P*(g-S)+p,y2:z*(g-S)+f},silent:!0,style:C});"auto"===C.stroke&&B.setStyle({stroke:n((D+V/w)/_)}),d.add(B),M+=T}M-=T}else M+=k}},_renderPointer:function(e,t,i,n,o,c,u,h){var d=this.group,p=this._data;if(!e.get("pointer.show"))return void(p&&p.eachItemGraphicEl(function(e){d.remove(e)}));var f=[+e.get("min"),+e.get("max")],g=[c,u],m=e.getData();m.diff(p).add(function(t){var i=new r({shape:{angle:c}});a.updateProps(i,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(i),m.setItemGraphicEl(t,i)}).update(function(t,i){var n=p.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(n),m.setItemGraphicEl(t,n)}).remove(function(e){var t=p.getItemGraphicEl(e);d.remove(t)}).execute(),m.eachItemGraphicEl(function(e,t){var i=m.getItemModel(t),r=i.getModel("pointer");e.setShape({x:o.cx,y:o.cy,width:l(r.get("width"),o.r),r:l(r.get("length"),o.r)}),e.useStyle(i.getModel("itemStyle.normal").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",n(s.linearMap(m.get("value",t),f,[0,1],!0))),a.setHoverStyle(e,i.getModel("itemStyle.emphasis").getItemStyle())}),this._data=m},_renderTitle:function(e,t,i,n,o){var r=e.getModel("title");if(r.get("show")){var c=r.getModel("textStyle"),u=r.get("offsetCenter"),h=o.cx+l(u[0],o.r),d=o.cy+l(u[1],o.r),p=new a.Text({style:{x:h,y:d,text:e.getData().getName(0),fill:c.getTextColor(),textFont:c.getFont(),textAlign:"center",textVerticalAlign:"middle"}});if("auto"===p.style.fill){var f=+e.get("min"),g=+e.get("max"),m=e.getData().get("value",0);p.setStyle("fill",n(s.linearMap(m,[f,g],[0,1],!0)))}this.group.add(p)}},_renderDetail:function(e,t,i,n,r){var c=e.getModel("detail"),u=+e.get("min"),h=+e.get("max");if(c.get("show")){var d=c.getModel("textStyle"),p=c.get("offsetCenter"),f=r.cx+l(p[0],r.r),g=r.cy+l(p[1],r.r),m=l(c.get("width"),r.r),v=l(c.get("height"),r.r),y=e.getData().get("value",0),x=new a.Rect({shape:{x:f-m/2,y:g-v/2,width:m,height:v},style:{text:o(y,c.get("formatter")),fill:c.get("backgroundColor"),textFill:d.getTextColor(),textFont:d.getFont()}});"auto"===x.style.textFill&&x.setStyle("textFill",n(s.linearMap(y,[u,h],[0,1],!0))),x.setStyle(c.getItemStyle(["color"])),this.group.add(x)}}});e.exports=u},function(e,t,i){e.exports=i(15).extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var i=Math.cos,n=Math.sin,o=t.r,r=t.width,a=t.angle,s=t.x-i(a)*r*(r>=o/3?1:2),l=t.y-n(a)*r*(r>=o/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+i(a)*r,t.y+n(a)*r),e.lineTo(t.x+i(t.angle)*o,t.y+n(t.angle)*o),e.lineTo(t.x-i(a)*r,t.y-n(a)*r),e.lineTo(s,l)}})},function(e,t,i){var n=i(1),o=i(0);i(259),i(260),i(269),n.registerProcessor(i(262)),n.registerVisual(o.curry(i(42),"graph","circle",null)),n.registerVisual(i(263)),n.registerVisual(i(266)),n.registerLayout(i(270)),n.registerLayout(i(264)),n.registerLayout(i(268)),n.registerCoordinateSystem("graphView",{create:i(265)})},function(e,t,i){"use strict";var n=i(11),o=i(0),r=i(5),a=i(9),s=i(4),l=i(115),c=i(1).extendSeriesModel({type:"series.graph",init:function(e){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){c.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){c.superApply(this,"mergeDefaultAndTheme",arguments),r.defaultEmphasis(e.edgeLabel,r.LABEL_OPTIONS)},getInitialData:function(e,t){function i(e,i){function n(e){return e=this.parsePath(e),e&&"label"===e[0]?s:this.parentModel}e.wrapMethod("getItemModel",function(e){var t=r._categoriesModels,i=e.getShallow("category"),n=t[i];return n&&(n.parentModel=e.parentModel,e.parentModel=n),e});var o=r.getModel("edgeLabel"),s=new a({label:o.option},o.parentModel,t);i.wrapMethod("getItemModel",function(e){return e.customizeGetParent(n),e})}var n=e.edges||e.links||[],o=e.data||e.nodes||[],r=this;if(o&&n)return l(o,n,this,!0,i).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,i){if("edge"===i){var n=this.getData(),o=this.getDataParams(e,i),r=n.graph.getEdgeByIndex(e),a=n.getName(r.node1.dataIndex),l=n.getName(r.node2.dataIndex),u=[];return null!=a&&u.push(a),null!=l&&u.push(l),u=s.encodeHTML(u.join(" > ")),o.value&&(u+=" : "+s.encodeHTML(o.value)),u}return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],function(e){return null!=e.value?e:o.extend({value:0},e)}),t=new n(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e,!0)})},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},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:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}});e.exports=c},function(e,t,i){function n(e,t){return e.getVisual("opacity")||e.getModel().get(t)}var o=i(44),r=i(76),a=i(58),s=i(2),l=i(261),c=i(0),u=["itemStyle","normal","opacity"],h=["lineStyle","normal","opacity"];i(1).extendChartView({type:"graph",init:function(e,t){var i=new o,n=new r,s=this.group,l=new a(t.getZr(),s);s.add(i.group),s.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._controller=l,this._firstRender=!0},render:function(e,t,i){var n=e.coordinateSystem;this._model=e,this._nodeScaleRatio=e.get("nodeScaleRatio");var o=this._symbolDraw,r=this._lineDraw,a=this.group;if("view"===n.type){var c={position:n.position,scale:n.scale};this._firstRender?a.attr(c):s.updateProps(a,c,e)}l(e.getGraph(),this._getNodeGlobalScale(e));var u=e.getData();o.updateData(u);var h=e.getEdgeData();r.updateData(h),this._updateNodeAndLinkScale(),this._updateController(e,i),clearTimeout(this._layoutTimeout);var d=e.forceLayout,p=e.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,p),u.eachItemGraphicEl(function(t,n){var o=u.getItemModel(n);t.off("drag").off("dragend");var r=u.getItemModel(n).get("draggable");r&&t.on("drag",function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,p),d.setFixed(n),u.setItemLayout(n,t.position))},this).on("dragend",function(){d&&d.setUnfixed(n)},this),t.setDraggable(r&&d),t.off("mouseover",t.__focusNodeAdjacency),t.off("mouseout",t.__unfocusNodeAdjacency),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.__focusNodeAdjacency=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))},this);var f="circular"===e.get("layout")&&e.get("circular.rotateLabel"),g=u.getLayout("cx"),m=u.getLayout("cy");u.eachItemGraphicEl(function(e,t){var i=e.getSymbolPath();if(f){var n=u.getItemLayout(t),o=Math.atan2(n[1]-m,n[0]-g);o<0&&(o=2*Math.PI+o);var r=n[0]=0?n+=g:n-=g:b>=0?n-=g:n+=g}return n}var o=i(31),r=i(6),a=[],s=[],l=[],c=o.quadraticAt,u=r.distSquare,h=Math.abs;e.exports=function(e,t){function i(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),t}var a=[],s=o.quadraticSubdivide,l=[[],[],[]],c=[[],[]],u=[];t/=2,e.eachEdge(function(e,o){var h=e.getLayout(),d=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");h.__original||(h.__original=[r.clone(h[0]),r.clone(h[1])],h[2]&&h.__original.push(r.clone(h[2])));var f=h.__original;if(null!=h[2]){if(r.copy(l[0],f[0]),r.copy(l[1],f[2]),r.copy(l[2],f[1]),d&&"none"!=d){var g=i(e.node1),m=n(l,f[0],g*t);s(l[0][0],l[1][0],l[2][0],m,a),l[0][0]=a[3],l[1][0]=a[4],s(l[0][1],l[1][1],l[2][1],m,a),l[0][1]=a[3],l[1][1]=a[4]}if(p&&"none"!=p){var g=i(e.node2),m=n(l,f[1],g*t);s(l[0][0],l[1][0],l[2][0],m,a),l[1][0]=a[1],l[2][0]=a[2],s(l[0][1],l[1][1],l[2][1],m,a),l[1][1]=a[1],l[2][1]=a[2]}r.copy(h[0],l[0]),r.copy(h[1],l[2]),r.copy(h[2],l[1])}else{if(r.copy(c[0],f[0]),r.copy(c[1],f[1]),r.sub(u,c[1],c[0]),r.normalize(u,u),d&&"none"!=d){var g=i(e.node1);r.scaleAndAdd(c[0],c[0],u,g*t)}if(p&&"none"!=p){var g=i(e.node2);r.scaleAndAdd(c[1],c[1],u,-g*t)}r.copy(h[0],c[0]),r.copy(h[1],c[1])}})}},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",function(e){var i=e.getCategoriesData(),n=e.getGraph(),o=n.data,r=i.mapArray(i.getName);o.filterSelf(function(e){var i=o.getItemModel(e),n=i.getShallow("category");if(null!=n){"number"==typeof n&&(n=r[n]);for(var a=0;a0){var T=r(y)?s:l;y>0&&(y=y*M+A),b[_++]=T[k],b[_++]=T[k+1],b[_++]=T[k+2],b[_++]=T[k+3]*y*256}else _+=4}return h.putImageData(x,0,0),u},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=o.createCanvas()),t=this.pointSize+this.blurSize,i=2*t;e.width=i,e.height=i;var n=e.getContext("2d");return n.clearRect(0,0,i,i),n.shadowOffsetX=i,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-t,t,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),e},_getGradient:function(e,t,i){for(var n=this._gradientPixels,o=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[],a=0,s=0;s<256;s++)t[i](s/255,!0,r),o[a++]=r[0],o[a++]=r[1],o[a++]=r[2],o[a++]=r[3];return o}},e.exports=n},function(e,t,i){var n=i(14),o=i(32);e.exports=n.extend({type:"series.heatmap",getInitialData:function(e,t){return o(e.data,this,t)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}})},function(e,t,i){function n(e,t,i){var n=e[1]-e[0];t=l.map(t,function(t){return{interval:[(t.interval[0]-e[0])/n,(t.interval[1]-e[0])/n]}});var o=t.length,r=0;return function(e){for(var n=r;n=0;n--){var a=t[n].interval;if(a[0]<=e&&e<=a[1]){r=n;break}}return n>=0&&n=t[0]&&e<=t[1]}}function r(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var a=i(2),s=i(272),l=i(0);e.exports=i(1).extendChartView({type:"heatmap",render:function(e,t,i){var n;if(t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(i){i===e&&(n=t)})}),__DEV__&&!n)throw new Error("Heatmap must use with visualMap");this.group.removeAll();var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(o,e,i):r(o)&&this._renderOnGeo(o,e,n,i)},dispose:function(){},_renderOnCartesianAndCalendar:function(e,t,i){if("cartesian2d"===e.type){var n=e.getAxis("x"),o=e.getAxis("y");if(__DEV__){if("category"!==n.type||"category"!==o.type)throw new Error("Heatmap on cartesian must have two category axes");if(!n.onBand||!o.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true")}var r=n.getBandWidth(),s=o.getBandWidth()}var c=this.group,u=t.getData(),h=t.getModel("itemStyle.normal").getItemStyle(["color"]),d=t.getModel("itemStyle.emphasis").getItemStyle(),p=t.getModel("label.normal"),f=t.getModel("label.emphasis");u.each("cartesian2d"===e.type?["x","y","z"]:["time","value"],function(i,n,o,g){var m;if("cartesian2d"===e.type){if(isNaN(o))return;var v=e.dataToPoint([i,n]);m=new a.Rect({shape:{x:v[0]-r/2,y:v[1]-s/2,width:r,height:s},style:{fill:u.getItemVisual(g,"color"),opacity:u.getItemVisual(g,"opacity")}})}else{if(isNaN(n))return;g=o,m=new a.Rect({z2:1,shape:e.dataToRect([i,n]).contentShape,style:{fill:u.getItemVisual(g,"color"),opacity:u.getItemVisual(g,"opacity")}})}var y=u.getItemModel(g);u.hasItemOption&&(h=y.getModel("itemStyle.normal").getItemStyle(["color"]),d=y.getModel("itemStyle.emphasis").getItemStyle(),p=y.getModel("label.normal"),f=y.getModel("label.emphasis"));var x=t.getRawValue(g),b="-";x&&null!=x[2]&&(b=x[2]),p.getShallow("show")&&(a.setText(h,p),h.text=t.getFormattedLabel(g,"normal")||b),f.getShallow("show")&&(a.setText(d,f),d.text=t.getFormattedLabel(g,"emphasis")||b),m.setStyle(h),a.setHoverStyle(m,u.hasItemOption?d:l.extend({},d)),c.add(m),u.setItemGraphicEl(g,m)})},_renderOnGeo:function(e,t,i,r){var l=i.targetVisuals.inRange,c=i.targetVisuals.outOfRange,u=t.getData(),h=this._hmLayer||this._hmLayer||new s;h.blurSize=t.get("blurSize"),h.pointSize=t.get("pointSize"),h.minOpacity=t.get("minOpacity"),h.maxOpacity=t.get("maxOpacity");var d=e.getViewRect().clone(),p=e.getRoamTransform().transform;d.applyTransform(p);var f=Math.max(d.x,0),g=Math.max(d.y,0),m=Math.min(d.width+d.x,r.getWidth()),v=Math.min(d.height+d.y,r.getHeight()),y=m-f,x=v-g,b=u.mapArray(["lng","lat","value"],function(t,i,n){var o=e.dataToPoint([t,i]);return o[0]-=f,o[1]-=g,o.push(n),o}),_=i.getExtent(),w="visualMap.continuous"===i.type?o(_,i.option.range):n(_,i.getPieceList(),i.option.selected);h.update(b,y,x,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:c.color.getColorMapper()},w);var A=new a.Image({style:{width:y,height:x,x:f,y:g,image:h.canvas},silent:!0});this.group.add(A)}})},function(e,t,i){function n(e,t,i){a.call(this,e,t,i),this._lastFrame=0,this._lastFramePercent=0}var o=i(114),r=i(0),a=i(113),s=i(6),l=n.prototype;l.createLine=function(e,t,i){return new o(e,t,i)},l.updateAnimationPoints=function(e,t){this._points=t;for(var i=[0],n=0,o=1;o=0&&!(n[r]<=t);r--);r=Math.min(r,o-2)}else{for(var r=a;rt);r++);r=Math.min(r-1,o-2)}s.lerp(e.position,i[r],i[r+1],(t-n[r])/(n[r+1]-n[r]));var c=i[r+1][0]-i[r][0],u=i[r+1][1]-i[r][1];e.rotation=-Math.atan2(u,c)-Math.PI/2,this._lastFrame=r,this._lastFramePercent=t,e.ignore=!1}},r.inherits(n,a),e.exports=n},function(e,t,i){function n(e){return a.isArray(e)||(e=[+e,+e]),e}function o(e,t){e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?t.color:null,fill:"fill"===t.brushType?t.color:null}})})}function r(e,t){h.call(this);var i=new u(e,t),n=new h;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(e,t)}var a=i(0),s=i(20),l=i(2),c=i(3),u=i(77),h=l.Group,d=r.prototype;d.stopEffectAnimation=function(){this.childAt(1).removeAll()},d.startEffectAnimation=function(e){for(var t=e.symbolType,i=e.color,n=this.childAt(1),r=0;r<3;r++){var a=s.createSymbol(t,-1,-1,2,2,i);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var l=-r/3*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(l).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(l).start(),n.add(a)}o(n,e)},d.updateEffectAnimation=function(e){for(var t=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale"],r=0;r2?e.quadraticCurveTo(r[2][0],r[2][1],r[1][0],r[1][1]):e.lineTo(r[1][0],r[1][1])}},findDataIndex:function(e,t){for(var i=this.shape,n=i.segs,o=i.polyline,s=Math.max(this.style.lineWidth,1),l=0;l2){if(r.containStroke(c[0][0],c[0][1],c[2][0],c[2][1],c[1][0],c[1][1],s,e,t))return l}else if(a.containStroke(c[0][0],c[0][1],c[1][0],c[1][1],s,e,t))return l}return-1}}),l=n.prototype;l.updateData=function(e){this.group.removeAll();var t=this._lineEl,i=e.hostModel;t.setShape({segs:e.mapArray(e.getItemLayout),polyline:i.get("polyline")}),t.useStyle(i.getModel("lineStyle.normal").getLineStyle());var n=e.getVisual("color");n&&t.setStyle("stroke",n),t.setStyle("fill"),t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i)}),this.group.add(t)},l.updateLayout=function(e){var t=e.getData();this._lineEl.setShape({segs:t.mapArray(t.getItemLayout)})},l.remove=function(){this.group.removeAll()},e.exports=n},function(e,t,i){function n(){this.group=new o.Group,this._symbolEl=new a({})}var o=i(2),r=i(20),a=o.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(e,t){for(var i=t.points,n=t.sizes,o=this.symbolProxy,r=o.shape,a=0;a=0;r--){var a=n[r],s=o[r],l=a[0]-s[0]/2,c=a[1]-s[1]/2;if(e>=l&&t>=c&&e<=l+s[0]&&t<=c+s[1])return r}return-1}}),s=n.prototype;s.updateData=function(e){this.group.removeAll();var t=this._symbolEl,i=e.hostModel;t.setShape({points:e.mapArray(e.getItemLayout),sizes:e.mapArray(function(t){var i=e.getItemVisual(t,"symbolSize");return i instanceof Array||(i=[i,i]),i})}),t.symbolProxy=r.createSymbol(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor,t.useStyle(i.getModel("itemStyle.normal").getItemStyle(["color"]));var n=e.getVisual("color");n&&t.setColor(n),t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i)}),this.group.add(t)},s.updateLayout=function(e){var t=e.getData();this._symbolEl.setShape({points:t.mapArray(t.getItemLayout)})},s.remove=function(){this.group.removeAll()},e.exports=n},function(e,t,i){function n(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var o=i(2),r=i(6),a=o.Line.prototype,s=o.BezierCurve.prototype;e.exports=o.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(e,t){(n(t)?a:s).buildPath(e,t)},pointAt:function(e){return n(this.shape)?a.pointAt.call(this,e):s.pointAt.call(this,e)},tangentAt:function(e){var t=this.shape,i=n(t)?[t.x2-t.x1,t.y2-t.y1]:s.tangentAt.call(this,e);return r.normalize(i,i)}})},function(e,t,i){function n(e,t,i,n){l.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=i,this._createContent(e,t,n),this.updateData(e,t,n),this._seriesModel}function o(e,t,i){return s.map(e,function(e){return e=e.slice(),e[t]=i.initBaseline,e})}function r(e){var t={};return s.each(e,function(e,i){t["ends"+i]=e}),t}function a(e){this.group=new l.Group,this.styleUpdater=e}var s=i(0),l=i(2),c=i(15),u=c.extend({type:"whiskerInBox",shape:{},buildPath:function(e,t){for(var i in t)if(t.hasOwnProperty(i)&&0===i.indexOf("ends")){var n=t[i];e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1])}}}),h=n.prototype;h._createContent=function(e,t,i){var n=e.getItemLayout(t),a="horizontal"===n.chartLayout?1:0,c=0;this.add(new l.Polygon({shape:{points:i?o(n.bodyEnds,a,n):n.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=c++;var h=s.map(n.whiskerEnds,function(e){return i?o(e,a,n):e});this.add(new u({shape:r(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=c++},h.updateData=function(e,t,i){var n=this._seriesModel=e.hostModel,o=e.getItemLayout(t),a=l[i?"initProps":"updateProps"];a(this.childAt(this.bodyIndex),{shape:{points:o.bodyEnds}},n,t),a(this.childAt(this.whiskerIndex),{shape:r(o.whiskerEnds)},n,t),this.styleUpdater.call(null,this,e,t)},s.inherits(n,l.Group);var d=a.prototype;d.updateData=function(e){var t=this.group,i=this._data,o=this.styleUpdater;e.diff(i).add(function(i){if(e.hasValue(i)){var r=new n(e,i,o,!0);e.setItemGraphicEl(i,r),t.add(r)}}).update(function(r,a){var s=i.getItemGraphicEl(a);if(!e.hasValue(r))return void t.remove(s);s?s.updateData(e,r):s=new n(e,r,o),t.add(s),e.setItemGraphicEl(r,s)}).remove(function(e){var n=i.getItemGraphicEl(e);n&&t.remove(n)}).execute(),this._data=e},d.remove=function(){var e=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.exports=a},function(e,t,i){var n=i(0),o=i(1),r=o.PRIORITY;i(282),i(283),o.registerVisual(n.curry(i(42),"line","circle","line")),o.registerLayout(n.curry(i(88),"line")),o.registerProcessor(r.PROCESSOR.STATISTIC,n.curry(i(457),"line")),i(48)},function(e,t,i){"use strict";var n=i(32),o=i(14);e.exports=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){if(__DEV__){var i=e.coordinateSystem;if("polar"!==i&&"cartesian2d"!==i)throw new Error("Line not support coordinateSystem besides cartesian and polar")}return n(e.data,this,t)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}})},function(e,t,i){"use strict";function n(e,t){if(e.length===t.length){for(var i=0;it[0]?1:-1;t[0]+=n*i,t[1]-=n*i}return t}function a(e){return e>=0?1:-1}function s(e,t){var i=e.getBaseAxis(),n=e.getOtherAxis(i),o=i.onZero?0:n.scale.getExtent()[0],r=n.dim,s="x"===r||"radius"===r?1:0;return t.mapArray([r],function(n,l){for(var c,u=t.stackedOn;u&&a(u.get(r,l))===a(n);){c=u;break}var h=[];return h[s]=t.get(i.dim,l),h[1-s]=c?c.get(r,l,!0):o,e.dataToPoint(h)},!0)}function l(e,t,i){var n=r(e.getAxis("x")),o=r(e.getAxis("y")),a=e.getBaseAxis().isHorizontal(),s=Math.min(n[0],n[1]),l=Math.min(o[0],o[1]),c=Math.max(n[0],n[1])-s,u=Math.max(o[0],o[1])-l,h=i.get("lineStyle.normal.width")||2,d=i.get("clipOverflow")?h/2:Math.max(c,u);a?(l-=d,u+=2*d):(s-=d,c+=2*d);var p=new v.Rect({shape:{x:s,y:l,width:c,height:u}});return t&&(p.shape[a?"width":"height"]=0,v.initProps(p,{shape:{width:c,height:u}},i)),p}function c(e,t,i){var n=e.getAngleAxis(),o=e.getRadiusAxis(),r=o.getExtent(),a=n.getExtent(),s=Math.PI/180,l=new v.Sector({shape:{cx:e.cx,cy:e.cy,r0:r[0],r:r[1],startAngle:-a[0]*s,endAngle:-a[1]*s,clockwise:n.inverse}});return t&&(l.shape.endAngle=-a[0]*s,v.initProps(l,{shape:{endAngle:-a[1]*s}},i)),l}function u(e,t,i){return"polar"===e.type?c(e,t,i):l(e,t,i)}function h(e,t,i){for(var n=t.getBaseAxis(),o="x"===n.dim||"radius"===n.dim?0:1,r=[],a=0;a=0;o--)if(i[o].dimension<2){n=i[o];break}if(!n||"cartesian2d"!==t.type)return void(__DEV__&&console.warn("Visual map on line style only support x or y dimension."));var r=n.dimension,a=e.dimensions[r],s=t.getAxis(a),l=p.map(n.stops,function(e){return{coord:s.toGlobalCoord(s.dataToCoord(e.value)),color:e.color}}),c=l.length,u=n.outerColors.slice();c&&l[0].coord>l[c-1].coord&&(l.reverse(),u.reverse());var h=l[0].coord-10,d=l[c-1].coord+10,f=d-h;if(f<.001)return"transparent";p.each(l,function(e){e.offset=(e.coord-h)/f}),l.push({offset:c?l[c-1].offset:.5,color:u[1]||"transparent"}),l.unshift({offset:c?l[0].offset:.5,color:u[0]||"transparent"});var g=new v.LinearGradient(0,0,0,0,l,!0);return g[a]=h,g[a+"2"]=d,g}}var p=i(0),f=i(44),g=i(77),m=i(284),v=i(2),y=i(5),x=i(116),b=i(30);e.exports=b.extend({type:"line",init:function(){var e=new v.Group,t=new f;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,i){var r=e.coordinateSystem,a=this.group,l=e.getData(),c=e.getModel("lineStyle.normal"),f=e.getModel("areaStyle.normal"),g=l.mapArray(l.getItemLayout,!0),m="polar"===r.type,v=this._coordSys,y=this._symbolDraw,x=this._polyline,b=this._polygon,_=this._lineGroup,w=e.get("animation"),A=!f.isEmpty(),S=s(r,l),M=e.get("showSymbol"),k=M&&!m&&!e.get("showAllSymbol")&&this._getSymbolIgnoreFunc(l,r),T=this._data;T&&T.eachItemGraphicEl(function(e,t){e.__temp&&(a.remove(e),T.setItemGraphicEl(t,null))}),M||y.remove(),a.add(_);var I=!m&&e.get("step");x&&v.type===r.type&&I===this._step?(A&&!b?b=this._newPolygon(g,S,r,w):b&&!A&&(_.remove(b),b=this._polygon=null),_.setClipPath(u(r,!1,e)),M&&y.updateData(l,k),l.eachItemGraphicEl(function(e){e.stopAnimation(!0)}),n(this._stackedOnPoints,S)&&n(this._points,g)||(w?this._updateAnimation(l,S,r,i,I):(I&&(g=h(g,r,I),S=h(S,r,I)),x.setShape({points:g}),b&&b.setShape({points:g,stackedOnPoints:S})))):(M&&y.updateData(l,k),I&&(g=h(g,r,I),S=h(S,r,I)),x=this._newPolyline(g,r,w),A&&(b=this._newPolygon(g,S,r,w)),_.setClipPath(u(r,!0,e)));var C=d(l,r)||l.getVisual("color");x.useStyle(p.defaults(c.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"}));var L=e.get("smooth");if(L=o(e.get("smooth")),x.setShape({smooth:L,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),b){var D=l.stackedOn,P=0;if(b.useStyle(p.defaults(f.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel"})),D){P=o(D.hostModel.get("smooth"))}b.setShape({smooth:L,stackedOnSmooth:P,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=l,this._coordSys=r,this._stackedOnPoints=S,this._points=g,this._step=I},dispose:function(){},highlight:function(e,t,i,n){var o=e.getData(),r=y.queryDataIndex(o,n);if(!(r instanceof Array)&&null!=r&&r>=0){var a=o.getItemGraphicEl(r);if(!a){var s=o.getItemLayout(r);if(!s)return;a=new g(o,r),a.position=s,a.setZ(e.get("zlevel"),e.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,o.setItemGraphicEl(r,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else b.prototype.highlight.call(this,e,t,i,n)},downplay:function(e,t,i,n){var o=e.getData(),r=y.queryDataIndex(o,n);if(null!=r&&r>=0){var a=o.getItemGraphicEl(r);a&&(a.__temp?(o.setItemGraphicEl(r,null),this.group.remove(a)):a.downplay())}else b.prototype.downplay.call(this,e,t,i,n)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new x.Polyline({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new x.Polygon({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_getSymbolIgnoreFunc:function(e,t){var i=t.getAxesByScale("ordinal")[0];if(i&&i.isLabelIgnored)return p.bind(i.isLabelIgnored,i)},_updateAnimation:function(e,t,i,n,o){var r=this._polyline,a=this._polygon,s=e.hostModel,l=m(this._data,e,this._stackedOnPoints,t,this._coordSys,i),c=l.current,u=l.stackedOnCurrent,d=l.next,p=l.stackedOnNext;o&&(c=h(l.current,i,o),u=h(l.stackedOnCurrent,i,o),d=h(l.next,i,o),p=h(l.stackedOnNext,i,o)),r.shape.__points=l.current,r.shape.points=c,v.updateProps(r,{shape:{points:d}},s),a&&(a.setShape({points:c,stackedOnPoints:u}),v.updateProps(a,{shape:{points:d,stackedOnPoints:p}},s));for(var f=[],g=l.status,y=0;y=0?1:-1}function n(e,t,n){for(var o,r=e.getBaseAxis(),a=e.getOtherAxis(r),s=r.onZero?0:a.scale.getExtent()[0],l=a.dim,c="x"===l||"radius"===l?1:0,u=t.stackedOn,h=t.get(l,n);u&&i(u.get(l,n))===i(h);){o=u;break}var d=[];return d[c]=t.get(r.dim,n),d[1-c]=o?o.get(l,n,!0):s,e.dataToPoint(d)}function o(e,t){var i=[];return t.diff(e).add(function(e){i.push({cmd:"+",idx:e})}).update(function(e,t){i.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){i.push({cmd:"-",idx:e})}).execute(),i}e.exports=function(e,t,i,r,a,s){for(var l=o(e,t),c=[],u=[],h=[],d=[],p=[],f=[],g=[],m=s.dimensions,v=0;v "))},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}})},function(e,t,i){var n=i(76),o=i(113),r=i(75),a=i(114),s=i(275),l=i(277);i(1).extendChartView({type:"lines",init:function(){},render:function(e,t,i){var c=e.getData(),u=this._lineDraw,h=e.get("effect.show"),d=e.get("polyline"),p=e.get("large")&&c.count()>=e.get("largeThreshold");__DEV__&&h&&p&&console.warn("Large lines not support effect"),h===this._hasEffet&&d===this._isPolyline&&p===this._isLarge||(u&&u.remove(),u=this._lineDraw=p?new l:new n(d?h?s:a:h?o:r),this._hasEffet=h,this._isPolyline=d,this._isLarge=p);var f=e.get("zlevel"),g=e.get("effect.trailLength"),m=i.getZr();if(m.painter.getLayer(f).clear(!0),null!=this._lastZlevel&&m.configLayer(this._lastZlevel,{motionBlur:!1}),h&&g){if(__DEV__){var v=!1;t.eachSeries(function(t){t!==e&&t.get("zlevel")===f&&(v=!0)}),v&&console.warn("Lines with trail effect should have an individual zlevel")}m.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})}this.group.add(u.group),u.updateData(c),this._lastZlevel=f},updateLayout:function(e,t,i){this._lineDraw.updateLayout(e),i.getZr().painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(t,!0)},dispose:function(){}})},function(e,t){e.exports=function(e){e.eachSeriesByType("lines",function(e){var t=e.coordinateSystem,i=e.getData();i.each(function(n){var o=i.getItemModel(n),r=o.option instanceof Array?o.option:o.get("coords");if(__DEV__&&!(r instanceof Array&&r.length>0&&r[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(r)+". Lines must have 2d coords array in data item.");var a=[];if(e.get("polyline"))for(var s=0;s"+l(n+" : "+i)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),i=this.coordinateSystem,n=i.getRegion(t);return n&&i.dataToPoint(n.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});r.mixin(d,u),e.exports=d},function(e,t,i){var n=i(2),o=i(128);i(1).extendChartView({type:"map",render:function(e,t,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var r=this.group;if(r.removeAll(),!e.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===e.id){var a=this._mapDraw;a&&r.add(a.group)}else if(e.needsDrawMap){var a=this._mapDraw||new o(i,!0);r.add(a.group),a.draw(e,t,i,this,n),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,i){var o=e.originalData,r=this.group;o.each("value",function(t,i){if(!isNaN(t)){var a=o.getItemLayout(i);if(a&&a.point){var s=a.point,l=a.offset,c=new n.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:s[0]+9*l,cy:s[1],r:3},silent:!0,z2:10});if(!l){var u=e.mainSeries.getData(),h=o.getName(i),d=h,p=u.indexOfName(h),f=o.getItemModel(i),g=f.getModel("label.normal"),m=f.getModel("label.emphasis"),v=g.getModel("textStyle"),y=m.getModel("textStyle"),x=u.getItemGraphicEl(p);c.setStyle({textPosition:"bottom"});var b=function(){c.setStyle({text:m.get("show")?d:"",textFill:y.getTextColor(),textFont:y.getFont()})},_=function(){c.setStyle({text:g.get("show")?d:"",textFill:v.getTextColor(),textFont:v.getFont()})};x.on("mouseover",b).on("mouseout",_).on("emphasis",b).on("normal",_),_()}r.add(c)}}})}})},function(e,t,i){var n=i(0);e.exports=function(e){var t=[];n.each(e.series,function(e){"map"===e.type&&t.push(e)}),n.each(t,function(e){e.map=e.map||e.mapType,n.defaults(e,e.mapLocation)})}},function(e,t,i){function n(e,t){var i={},n=["value"];return o.each(e,function(e){e.each(n,function(t,n){var o=e.getName(n);i[o]=i[o]||[],isNaN(t)||i[o].push(t)})}),e[0].map(n,function(n,o){for(var r=e[0].getName(o),a=0,s=1/0,l=-(1/0),c=i[r].length,u=0;u=0?t:NaN}})}function o(e){return+e.replace("dim","")}function r(e,t){var i=0;s.each(e,function(e){var t=o(e);t>i&&(i=t)});var n=t[0];n&&n.length-1>i&&(i=n.length-1);for(var r=[],a=0;a<=i;a++)r.push("dim"+a);return r}var a=i(11),s=i(0),l=i(14),c=i(19);e.exports=l.extend({type:"series.parallel",dependencies:["parallel"],getInitialData:function(e,t){var i=t.getComponent("parallel",this.get("parallelIndex")),o=i.parallelAxisIndex,l=e.data,u=i.dimensions,h=r(u,l),d=s.map(h,function(e,i){var r=s.indexOf(u,e),a=r>=0&&t.getComponent("parallelAxis",o[r]);return a&&"category"===a.get("type")?(n(a,e,l),{name:e,type:"ordinal"}):r<0&&c.guessOrdinal(l,i)?{name:e,type:"ordinal"}:e}),p=new a(d,this);return p.initData(l),this.option.progressive&&(this.option.animation=!1),p},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,i=this.getData(),n=[];return t.eachActiveState(i,function(t,o){e===t&&n.push(i.getRawIndex(o))}),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}})},function(e,t,i){function n(e,t,i){var n=e.model,o=e.getRect(),r=new l.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),a="horizontal"===n.get("layout")?"width":"height";return r.setShape(a,0),l.initProps(r,{shape:{width:o.width,height:o.height}},t,i),r}function o(e,t,i,n){for(var o=[],r=0;r0&&"scale"!==d){var g=a.getItemLayout(0),m=Math.max(i.getWidth(),i.getHeight())/2,v=l.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,e))}this._data=a}},dispose:function(){},_createClipPath:function(e,t,i,n,o,r,a){var l=new s.Sector({shape:{cx:e,cy:t,r0:0,r:i,startAngle:n,endAngle:n,clockwise:o}});return s.initProps(l,{shape:{endAngle:n+(o?1:-1)*Math.PI*2}},a,r),l},containPoint:function(e,t){var i=t.getData(),n=i.getItemLayout(0);if(n){var o=e[0]-n.cx,r=e[1]-n.cy,a=Math.sqrt(o*o+r*r);return a<=n.r&&a>=n.r0}}});e.exports=u},function(e,t,i){"use strict";function n(e,t,i,n,o,r,a){function s(t,i){for(var n=t;n>=0&&(e[n].y-=i,!(n>0&&e[n].y>e[n-1].y+e[n-1].height));n--);}function l(e,t,i,n,o,r){for(var a=t?Number.MAX_VALUE:0,s=0,l=e.length;s=a&&(d=a-10),!t&&d<=a&&(d=a+10),e[s].x=i+d*r,a=d}}e.sort(function(e,t){return e.y-t.y});for(var c,u=0,h=e.length,d=[],p=[],f=0;ft&&r+1e[r].y+e[r].height)return void s(r,n/2);s(i-1,n/2)}(f,h,-c),u=e[f].y+e[f].height;a-u<0&&s(h-1,u-a);for(var f=0;f=i?p.push(e[f]):d.push(e[f]);l(d,!1,t,i,n,o),l(p,!0,t,i,n,o)}function o(e,t,i,o,r,a){for(var s=[],l=[],c=0;c0?"left":"right"}var L=g.getModel("textStyle").getFont(),D=g.get("rotate")?_<0?-b+Math.PI:-b:0,P=e.getFormattedLabel(i,"normal")||l.getName(i),z=r.getBoundingRect(P,L,d,"top");u=!!D,p.label={x:n,y:o,position:m,height:z.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",font:L,rotation:D},A||c.push(p.label)}),!u&&e.get("avoidLabelOverlap")&&o(c,a,s,t,i,n)}},function(e,t,i){var n=i(3),o=n.parsePercent,r=i(304),a=i(0),s=2*Math.PI,l=Math.PI/180;e.exports=function(e,t,i,c){t.eachSeriesByType(e,function(e){var t=e.get("center"),c=e.get("radius");a.isArray(c)||(c=[0,c]),a.isArray(t)||(t=[t,t]);var u=i.getWidth(),h=i.getHeight(),d=Math.min(u,h),p=o(t[0],u),f=o(t[1],h),g=o(c[0],d/2),m=o(c[1],d/2),v=e.getData(),y=-e.get("startAngle")*l,x=e.get("minAngle")*l,b=v.getSum("value"),_=Math.PI/(b||v.count())*2,w=e.get("clockwise"),A=e.get("roseType"),S=e.get("stillShowZeroSum"),M=v.getDataExtent("value");M[0]=0;var k=s,T=0,I=y,C=w?1:-1;if(v.each("value",function(e,t){var i;if(isNaN(e))return void v.setItemLayout(t,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:w,cx:p,cy:f,r0:g,r:A?NaN:m});i="area"!==A?0===b&&S?_:e*_:s/(v.count()||1),i"+a.map(n,function(e,i){return s(e.name+" : "+t[i])}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}});e.exports=l},function(e,t,i){function n(e){return r.isArray(e)||(e=[+e,+e]),e}var o=i(2),r=i(0),a=i(20);e.exports=i(1).extendChartView({type:"radar",render:function(e,t,i){function s(e,t){var i=e.getItemVisual(t,"symbol")||"circle",o=e.getItemVisual(t,"color");if("none"!==i){var r=a.createSymbol(i,-.5,-.5,1,1,o);return r.attr({style:{strokeNoScale:!0},z2:100,scale:n(e.getItemVisual(t,"symbolSize"))}),r}}function l(t,i,n,r,a,l){n.removeAll();for(var c=0;c0;o--)a*=.99,d(r,a),h(r,n,i),f(r,a),h(r,n,i)}function u(e,t,i,n,o){var r=[];k.each(t,function(e){var t=e.length,i=0;k.each(e,function(e){i+=e.getLayout().value});var a=(n-(t-1)*o)/i;r.push(a)}),r.sort(function(e,t){return e-t});var a=r[0];k.each(t,function(e){k.each(e,function(e,t){e.setLayout({y:t},!0);var i=e.getLayout().value*a;e.setLayout({dy:i},!0)})}),k.each(i,function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)})}function h(e,t,i){k.each(e,function(e){var n,o,r,a=0,s=e.length;for(e.sort(_),r=0;r0){var l=n.getLayout().y+o;n.setLayout({y:l},!0)}a=n.getLayout().y+n.getLayout().dy+t}if((o=a-t-i)>0){var l=n.getLayout().y-o;for(n.setLayout({y:l},!0),a=n.getLayout().y,r=s-2;r>=0;--r)n=e[r],o=n.getLayout().y+n.getLayout().dy+t-a,o>0&&(l=n.getLayout().y-o,n.setLayout({y:l},!0)),a=n.getLayout().y}})}function d(e,t){k.each(e.slice().reverse(),function(e){k.each(e,function(e){if(e.outEdges.length){var i=x(e.outEdges,p)/x(e.outEdges,A),n=e.getLayout().y+(i-b(e))*t;e.setLayout({y:n},!0)}})})}function p(e){return b(e.node2)*e.getValue()}function f(e,t){k.each(e,function(e){k.each(e,function(e){if(e.inEdges.length){var i=x(e.inEdges,g)/x(e.inEdges,A),n=e.getLayout().y+(i-b(e))*t;e.setLayout({y:n},!0)}})})}function g(e){return b(e.node1)*e.getValue()}function m(e){k.each(e,function(e){e.outEdges.sort(v),e.inEdges.sort(y)}),k.each(e,function(e){var t=0,i=0;k.each(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),k.each(e.inEdges,function(e){e.setLayout({ty:i},!0),i+=e.getLayout().dy})})}function v(e,t){return e.node2.getLayout().y-t.node2.getLayout().y}function y(e,t){return e.node1.getLayout().y-t.node1.getLayout().y}function x(e,t){for(var i=0,n=e.length,o=-1;++ot?1:e===t?0:NaN}function A(e){return e.getValue()}var S=i(7),M=i(151),k=i(0);e.exports=function(e,t,i){e.eachSeriesByType("sankey",function(e){var i=e.get("nodeWidth"),a=e.get("nodeGap"),s=n(e,t);e.layoutInfo=s;var l=s.width,c=s.height,u=e.getGraph(),h=u.nodes,d=u.edges;r(h),o(h,d,i,a,l,c,0!==h.filter(function(e){return 0===e.getLayout().value}).length?0:e.get("layoutIterations"))})}},function(e,t,i){var n=i(35),o=i(0);e.exports=function(e,t){e.eachSeriesByType("sankey",function(e){var t=e.getGraph(),i=t.nodes;i.sort(function(e,t){return e.getLayout().value-t.getLayout().value});var r=i[0].getLayout().value,a=i[i.length-1].getLayout().value;o.each(i,function(t){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[r,a],visual:e.get("color")}),o=i.mapValueToVisual(t.getLayout().value);t.setVisual("color",o);var s=t.getModel(),l=s.get("itemStyle.normal.color");null!=l&&t.setVisual("color",l)})})}},function(e,t,i){var n=i(0),o=i(1);i(317),i(318),o.registerVisual(n.curry(i(42),"scatter","circle",null)),o.registerLayout(n.curry(i(88),"scatter")),i(48)},function(e,t,i){"use strict";var n=i(32),o=i(14);e.exports=o.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis"],getInitialData:function(e,t){return n(e.data,this,t)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{normal:{opacity:.8}}}})},function(e,t,i){var n=i(44),o=i(278);i(1).extendChartView({type:"scatter",init:function(){this._normalSymbolDraw=new n,this._largeSymbolDraw=new o},render:function(e,t,i){var n=e.getData(),o=this._largeSymbolDraw,r=this._normalSymbolDraw,a=this.group,s=e.get("large")&&n.count()>e.get("largeThreshold")?o:r;this._symbolDraw=s,s.updateData(n),a.add(s.group),a.remove(s===o?r.group:o.group)},updateLayout:function(e){this._symbolDraw.updateLayout(e)},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t,!0)},dispose:function(){}})},function(e,t,i){var n=i(1),o=i(0);i(132),i(320),i(321),n.registerLayout(i(322)),n.registerVisual(i(323)),n.registerProcessor(o.curry(i(61),"themeRiver"))},function(e,t,i){"use strict";var n=i(19),o=i(14),r=i(11),a=i(0),s=i(4),l=s.encodeHTML,c=i(151),u=o.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){u.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){for(var t=e.length,i=c().key(function(e){return e[2]}).entries(e),n=a.map(i,function(e){return{name:e.key,dataList:e.values}}),o=n.length,r=-1,s=-1,l=0;lr&&(r=u,s=l)}for(var h=0;ha&&(a=t),o.push(t)}for(var u=0;ua&&(a=d)}return s.y0=r,s.max=a,s}var r=i(0),a=i(3);e.exports=function(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),i=e.coordinateSystem,o={},r=i.getRect();o.rect=r;var s=e.get("boundaryGap"),l=i.getAxis();if(o.boundaryGap=s,"horizontal"===l.orient){s[0]=a.parsePercent(s[0],r.height),s[1]=a.parsePercent(s[1],r.height);n(t,e,r.height-s[0]-s[1])}else{s[0]=a.parsePercent(s[0],r.width),s[1]=a.parsePercent(s[1],r.width);n(t,e,r.width-s[0]-s[1])}t.setLayout("layoutInfo",o)})}},function(e,t){e.exports=function(e){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),i=e.getRawData(),n=e.get("color");t.each(function(o){var r=t.getName(o),a=n[(e.nameMap[r]-1)%n.length];i.setItemVisual(o,"color",a)})})}},function(e,t,i){var n=i(1);i(326),i(327),i(328),n.registerVisual(i(330)),n.registerLayout(i(329))},function(e,t,i){function n(e){this.group=new a.Group,e.add(this.group)}function o(e,t,i,n,o,r){var a=[[o?e:e-u,t],[e+i,t],[e+i,t+n],[o?e:e-u,t+n]];return!r&&a.splice(2,0,[e+i+u,t+n/2]),!o&&a.push([e,t+n/2]),a}function r(e,t,i){e.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&c.wrapTreePathInfo(i,t)}}var a=i(2),s=i(7),l=i(0),c=i(40),u=5;n.prototype={constructor:n,render:function(e,t,i,n){var o=e.getModel("breadcrumb"),r=this.group;if(r.removeAll(),o.get("show")&&i){var a=o.getModel("itemStyle.normal"),l=a.getModel("textStyle"),c={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,c,l),this._renderContent(e,c,a,l,n),s.positionElement(r,c.pos,c.box)}},_prepare:function(e,t,i){for(var n=e;n;n=n.parentNode){var o=n.getModel().get("name"),r=i.getTextRect(o),a=Math.max(r.width+16,t.emptyItemWidth);t.totalWidth+=a+8,t.renderList.push({node:n,text:o,width:a})}},_renderContent:function(e,t,i,n,c){for(var u=0,h=t.emptyItemWidth,d=e.get("breadcrumb.height"),p=s.getAvailableSize(t.pos,t.box),f=t.totalWidth,g=t.renderList,m=g.length-1;m>=0;m--){var v=g[m],y=v.node,x=v.width,b=v.text;f>p.width&&(f-=x-h,x=h,b="");var _=new a.Polygon({shape:{points:o(u,0,x,d,m===g.length-1,0===m)},style:l.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:n.getTextColor(),textFont:n.getFont()}),z:10,onclick:l.curry(c,y)});this.group.add(_),r(_,e,y),u+=x+8}},remove:function(){this.group.removeAll()}},e.exports=n},function(e,t,i){function n(e){var t=0;s.each(e.children,function(e){n(e);var i=e.value;s.isArray(i)&&(i=i[0]),t+=i});var i=e.value;s.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=t),i<0&&(i=0),s.isArray(e.value)?e.value[0]=i:e.value=i}function o(e,t){var i=t.get("color");if(i){e=e||[];var n;if(s.each(e,function(e){var t=new l(e),i=t.get("color");(t.get("itemStyle.normal.color")||i&&"none"!==i)&&(n=!0)}),!n){(e[0]||(e[0]={})).color=i.slice()}return e}}var r=i(14),a=i(444),s=i(0),l=i(9),c=i(4),u=i(40),h=c.encodeHTML,d=c.addCommas;e.exports=r.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{normal:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}}},label:{normal:{show:!0,position:"inside",textStyle:{color:"#fff",ellipsis:!0}}},itemStyle:{normal:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var i=e.name;null==i&&(i=e.name);var r={name:i,children:e.data};n(r);var s=e.levels||[];return s=e.levels=o(s,t),a.createTree(r,this,s).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),i=this.getRawValue(e),n=d(s.isArray(i)?i[0]:i),o=t.getName(e);return h(o+": "+n)},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=u.wrapTreePathInfo(i,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},s.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap={},this._idIndexMapCount=0);var i=t[e];return null==i&&(t[e]=i=this._idIndexMapCount++),i},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}})},function(e,t,i){function n(){return{nodeGroup:[],background:[],content:[]}}function o(e,t,i,n,o,l,c,u,h,d){function p(e,t){I?!e.invisible&&l.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function f(t,i,n,o,r){var a=c.getModel(),s=a.get("name");if(M.isLeafRoot){var l=e.get("drillDownIcon",!0);s=l?l+" "+s:s}g(s,t,a,x,n,o,r),g(s,i,a,b,n,o,r)}function g(e,t,i,n,o,r,a){var l=i.getModel(n),c=l.getModel("textStyle");s.setText(t,l,o),t.textAlign=c.get("align"),t.textVerticalAlign=c.get("baseline");var u=c.getTextRect(e);!l.getShallow("show")||u.height>a?t.text="":u.width>r?t.text=c.get("ellipsis")?c.truncateText(e,r,null,{minChar:2}):"":t.text=e}function y(e,n,a,s){var l=null!=L&&i[e][L],c=o[e];return l?(i[e][L]=null,_(c,l,e)):I||(l=new n({z:r(a,s)}),l.__tmDepth=a,l.__tmStorageName=e,S(c,l,e)),t[e][C]=l}function _(e,t,i){(e[C]={}).old="nodeGroup"===i?t.position.slice():a.extend({},t.shape)}function S(e,t,i){var r=e[C]={},a=c.parentNode;if(a&&(!n||"drillDown"===n.direction)){var s=0,l=0,u=o.background[a.getRawIndex()];!n&&u&&u.old&&(s=u.old.width,l=u.old.height),r.old="nodeGroup"===i?[0,l]:{x:s,y:l,width:0,height:0}}r.fadein="nodeGroup"!==i}if(c){var M=c.getLayout();if(M&&M.isInView){var k=M.width,T=M.height,I=M.invisible,C=c.getRawIndex(),L=u&&u.getRawIndex(),D=y("nodeGroup",m);if(D){if(h.add(D),D.attr("position",[M.x||0,M.y||0]),D.__tmNodeWidth=k,D.__tmNodeHeight=T,M.isAboveViewRoot)return D;var P=y("background",v,d,w);P&&(P.setShape({x:0,y:0,width:k,height:T}),p(P,function(){P.setStyle("fill",c.getVisual("borderColor",!0))}),D.add(P));var z=c.viewChildren;if(!z||!z.length){var E=y("content",v,d,A);E&&function(t){E.dataIndex=c.dataIndex,E.seriesIndex=e.seriesIndex;var i=M.borderWidth,n=Math.max(k-2*i,0),o=Math.max(T-2*i,0);E.culling=!0,E.setShape({x:i,y:i,width:n,height:o});var r=c.getVisual("color",!0);p(E,function(){var e={fill:r},t=c.getModel("itemStyle.emphasis").getItemStyle();f(e,t,r,n,o),E.setStyle(e),s.setHoverStyle(E,t)}),t.add(E)}(D)}return D}}}}function r(e,t){var i=e*_+t;return(i-1)/i}var a=i(0),s=i(2),l=i(49),c=i(40),u=i(325),h=i(58),d=i(10),p=i(21),f=i(461),g=a.bind,m=s.Group,v=s.Rect,y=a.each,x=["label","normal"],b=["label","emphasis"],_=10,w=1,A=2;e.exports=i(1).extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=n(),this._oldTree,this._breadcrumb,this._controller,this._state="ready",this._mayClick},render:function(e,t,i,n){var o=t.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(o,e)<0)){this.seriesModel=e,this.api=i,this.ecModel=t;var r=c.retrieveTargetInfo(n,e),s=n&&n.type,l=e.layoutInfo,u=!this._oldTree,h=this._storage,d="treemapRootToNode"===s&&r&&h?{rootNodeGroup:h.nodeGroup[r.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(l),f=this._doRender(p,e,d);u||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?f.renderFinally():this._doAnimation(p,f,e,d),this._resetController(i),this._renderBreadcrumb(e,i,r)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new m,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,i){function r(e,t,i,n,o){function s(e){return e.getId()}function c(a,s){var l=null!=a?e[a]:null,c=null!=s?t[s]:null,u=g(l,c,i,o);u&&r(l&&l.viewChildren||[],c&&c.viewChildren||[],u,n,o+1)}n?(t=e,y(e,function(e,t){!e.isRemoved()&&c(t,t)})):new l(t,e,s,s).add(c).update(c).remove(a.curry(c,null)).execute()}function s(){y(m,function(e){y(e,function(e){e.parent&&e.parent.remove(e)})}),y(f,function(e){e.invisible=!0,e.dirty()})}var c=t.getData().tree,u=this._oldTree,h=n(),d=n(),p=this._storage,f=[],g=a.curry(o,t,d,p,i,h,f);r(c.root?[c.root]:[],u&&u.root?[u.root]:[],e,c===u||!u,0);var m=function(e){var t=n();return e&&y(e,function(e,i){var n=t[i];y(e,function(e){e&&(n.push(e),e.__tmWillDelete=1)})}),t}(p);return this._oldTree=c,this._storage=d,{lastsForAnimation:h,willDeleteEls:m,renderFinally:s}},_doAnimation:function(e,t,i,n){if(i.get("animation")){var o=i.get("animationDurationUpdate"),r=i.get("animationEasing"),s=f.createWrap();y(t.willDeleteEls,function(e,t){y(e,function(e,i){if(!e.invisible){var a,l=e.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,u=0;l.__tmWillDelete||(c=l.__tmNodeWidth/2,u=l.__tmNodeHeight/2),a="nodeGroup"===t?{position:[c,u],style:{opacity:0}}:{shape:{x:c,y:u,width:0,height:0},style:{opacity:0}}}a&&s.add(e,a,o,r)}})}),y(this._storage,function(e,i){y(e,function(e,n){var l=t.lastsForAnimation[i][n],c={};l&&("nodeGroup"===i?l.old&&(c.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(c.shape=a.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),c.style={opacity:1}):1!==e.style.opacity&&(c.style={opacity:1})),s.add(e,c,o,r))})},this),this._state="animating",s.done(g(function(){this._state="ready",t.renderFinally()},this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new h(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",g(this._onPan,this)),t.on("zoom",g(this._onZoom,this)));var i=new d(0,0,e.getWidth(),e.getHeight());t.setContainsPoint(function(e,t){return i.contain(e,t)})},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e,t){if(this._mayClick=!1,"animating"!==this._state&&(Math.abs(e)>3||Math.abs(t)>3)){var i=this.seriesModel.getData().tree.root;if(!i)return;var n=i.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e,y:n.y+t,width:n.width,height:n.height}})}},_onZoom:function(e,t,i){if(this._mayClick=!1,"animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var o=n.getLayout();if(!o)return;var r=new d(o.x,o.y,o.width,o.height),a=this.seriesModel.layoutInfo;t-=a.x,i-=a.y;var s=p.create();p.translate(s,s,[-t,-i]),p.scale(s,s,[e,e]),p.translate(s,s,[t,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(e){function t(e){var t=this.seriesModel.get("nodeClick",!0);if(t){var i=this.findTarget(e.offsetX,e.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===t)this._zoomToNode(i);else if("link"===t){var o=n.hostTree.data.getItemModel(n.dataIndex),r=o.get("link",!0),a=o.get("target",!0)||"blank";r&&window.open(r,a)}}}}e.on("mousedown",function(e){"ready"===this._state&&(this._mayClick=!0)},this),e.on("mouseup",function(e){this._mayClick&&(this._mayClick=!1,"ready"===this._state&&t.call(this,e))},this)},_renderBreadcrumb:function(e,t,i){function n(t){"animating"!==this._state&&(c.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}i||(i=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(i={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new u(this.group))).render(e,t,i.node,g(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=n(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var o=this._storage.background[n.getRawIndex()];if(o){var r=o.transformCoordToLocal(e,t),a=o.shape;if(!(a.x<=r[0]&&r[0]<=a.x+a.width&&a.y<=r[1]&&r[1]<=a.y+a.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}},this),i}})},function(e,t,i){for(var n=i(1),o=i(40),r=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s=0;l--){var c=o["asc"===n?a-l-1:l].getValue();c/i*ta[1]&&(a[1]=t)})}else a=[NaN,NaN];return{sum:n,dataExtent:a}}function c(e,t,i){for(var n,o=0,r=1/0,a=0,s=e.length;ao&&(o=n));var l=e.area*e.area,c=t*t*i;return l?x(c*o/l,l/(c*r)):1/0}function u(e,t,i,n,o){var r=t===i.width?0:1,a=1-r,s=["x","y"],l=["width","height"],c=i[s[r]],u=t?e.area/t:0;(o||u>i[l[a]])&&(u=i[l[a]]);for(var h=0,d=e.length;hg.MAX_SAFE_INTEGER&&(c=g.MAX_SAFE_INTEGER),r=s}c=c.length||e===c[e.depth]){n(e,u(d,x,e,t,A,h),i,s,c,h)}})}else m=r(x),e.setVisual("color",m)}}function o(e,t,i,n){var o=p.extend({},t);return p.each(["color","colorAlpha","colorSaturation"],function(r){var a=e.get(r,!0);null==a&&i&&(a=i[r]),null==a&&(a=t[r]),null==a&&(a=n.get(r)),null!=a&&(o[r]=a)}),o}function r(e){var t=s(e,"color");if(t){var i=s(e,"colorAlpha"),n=s(e,"colorSaturation");return n&&(t=d.modifyHSL(t,null,null,n)),i&&(t=d.modifyAlpha(t,i)),t}}function a(e,t){return null!=t?d.modifyHSL(t,null,null,e):null}function s(e,t){var i=e[t];if(null!=i&&"none"!==i)return i}function l(e,t,i,n,o,r){if(r&&r.length){var a=c(t,"color")||null!=o.color&&"none"!==o.color&&(c(t,"colorAlpha")||c(t,"colorSaturation"));if(a){var s=t.get("visualMin"),l=t.get("visualMax"),u=i.dataExtent.slice();null!=s&&su[1]&&(u[1]=l);var d=t.get("colorMappingBy"),p={type:a.name,dataExtent:u,visual:a.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new h(p);return f.__drColorMappingBy=d,f}}}function c(e,t){var i=e.get(t);return f(i)&&i.length?{name:t,range:i}:null}function u(e,t,i,n,o,r){var a=p.extend({},t);if(o){var s=o.type,l="color"===s&&o.__drColorMappingBy,c="index"===l?n:"id"===l?r.mapIdToIndex(i.getId()):i.getValue(e.get("visualDimension"));a[s]=o.mapValueToVisual(c)}return a}var h=i(35),d=i(27),p=i(0),f=p.isArray,g="itemStyle.normal";e.exports=function(e,t,i){var o={mainType:"series",subType:"treemap",query:i};e.eachComponent(o,function(e){var t=e.getData().tree,i=t.root,o=e.getModel(g);if(!i.isRemoved()){n(i,{},p.map(t.levelModels,function(e){return e?e.get(g):null}),o,e.getViewRoot().getAncestors(),e)}})}},function(e,t,i){"use strict";i(87),i(333)},function(e,t,i){"use strict";i(144),i(334)},function(e,t,i){"use strict";function n(e,t,i,n){var o=e.coordToPoint([t,n]),r=e.coordToPoint([i,n]);return{x1:o[0],y1:o[1],x2:r[0],y2:r[1]}}var o=i(0),r=i(2),a=i(9),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];i(34).extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var i=e.axis,n=i.polar,r=n.getRadiusAxis().getExtent(),a=i.getTicksCoords();"category"!==i.type&&a.pop(),o.each(s,function(t){!e.get(t+".show")||i.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,n,a,r)},this)}},_axisLine:function(e,t,i,n){var o=e.getModel("axisLine.lineStyle"),a=new r.Circle({shape:{cx:t.cx,cy:t.cy,r:n[1]},style:o.getLineStyle(),z2:1,silent:!0});a.style.fill=null,this.group.add(a)},_axisTick:function(e,t,i,a){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),c=o.map(i,function(e){return new r.Line({shape:n(t,a[1],a[1]+l,e)})});this.group.add(r.mergePath(c,{style:o.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_axisLabel:function(e,t,i,n){for(var o=e.axis,s=e.get("data"),l=e.getModel("axisLabel"),c=l.getModel("textStyle"),u=e.getFormattedLabels(),h=l.get("margin"),d=o.getLabelsCoords(),p=0;pm?"left":"right",x=Math.abs(g[1]-v)/f<.3?"middle":g[1]>v?"top":"bottom",b=c;s&&s[p]&&s[p].textStyle&&(b=new a(s[p].textStyle,c)),this.group.add(new r.Text({style:{x:g[0],y:g[1],fill:b.getTextColor()||e.get("axisLine.lineStyle.color"),text:u[p],textAlign:y,textVerticalAlign:x,textFont:b.getFont()},silent:!0}))}},_splitLine:function(e,t,i,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d=v[1])&&(u=!1);var y=o.extend({axisLabelShow:u,strokeContainThreshold:p},g),x=new r(e,y);o.each(l,x.add,x),this._axisGroup.add(x.getGroup()),this._refreshBrushController(y,d,e,p),s.groupTransition(c,this._axisGroup,e)}}},_refreshBrushController:function(e,t,i,n){var r=i.axis,a=o.map(i.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[r.dataToCoord(e[0],!0),r.dataToCoord(e[1],!0)]}}),l=r.getExtent(),c=l[1]-l[0],u=Math.min(30,.1*Math.abs(c)),h=s.BoundingRect.create({x:l[0],y:-n/2,width:c,height:n});h.x-=u,h.width+=2*u,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",rect:h}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(a)},_onBrush:function(e,t){var i=this.axisModel,n=i.axis,r=o.map(e,function(e){return[n.coordToData(e.range[0],!0),n.coordToData(e.range[1],!0)]});(!i.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},dispose:function(){this._brushController.dispose()}});e.exports=c},function(e,t,i){"use strict";function n(e,t,i){return{position:[e.cx,e.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}var o=i(0),r=i(2),a=i(33),s=["axisLine","axisLabel","axisTick","axisName"],l=["splitLine","splitArea"];i(34).extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var i=e.axis,r=i.polar,c=r.getAngleAxis(),u=i.getTicksCoords(),h=c.getExtent()[0],d=i.getExtent(),p=n(r,e,h),f=new a(e,p);o.each(s,f.add,f),this.group.add(f.getGroup()),o.each(l,function(t){e.get(t+".show")&&!i.scale.isBlank()&&this["_"+t](e,r,h,d,u)},this)}},_splitLine:function(e,t,i,n,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d=0)&&i({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},remove:function(e,t){n.disopse(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){n.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}})},function(e,t,i){"use strict";function n(e,t,i,n,o){var r=t.axis,s=r.dataToCoord(e),u=n.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var h,d,p,f=n.getRadiusAxis().getExtent();if("radius"===r.dim){var g=l.create();l.rotate(g,g,u),l.translate(g,g,[n.cx,n.cy]),h=a.applyTransform([s,-o],g);var m=t.getModel("axisLabel").get("rotate")||0,v=c.innerTextLayout(u,m*Math.PI/180,-1);d=v.textAlign,p=v.textVerticalAlign}else{var y=f[1];h=n.coordToPoint([y+o,s]);var x=n.cx,b=n.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"left":"right",p=Math.abs(h[1]-b)/y<.3?"middle":h[1]>b?"top":"bottom"}return{position:h,align:d,verticalAlign:p}}var o=i(4),r=i(78),a=i(2),s=i(57),l=i(21),c=i(33),u=i(34),h=r.extend({makeElOption:function(e,t,i,r,a){var l=i.axis;"angle"===l.dim&&(this.animationThreshold=Math.PI/18);var c,u=l.polar,h=u.getOtherAxis(l),p=h.getExtent();c=l["dataTo"+o.capitalFirst(l.dim)](t);var f=s.buildElStyle(r),g=d[r.get("type")](l,u,c,p,f);g.style=f,e.graphicKey=g.type,e.pointer=g;var m=r.get("label.margin"),v=n(t,i,r,u,m);s.buildLabelElOption(e,i,r,a,v)}}),d={line:function(e,t,i,n,o){return"angle"===e.dim?{type:"Line",shape:s.makeLineShape(t.coordToPoint([n[0],i]),t.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:i}}},shadow:function(e,t,i,n,o){var r=e.getBandWidth(),a=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,n[0],n[1],(-i-r/2)*a,(r/2-i)*a)}:{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,i-r/2,i+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",h),e.exports=h},function(e,t,i){"use strict";function n(e){return e.isHorizontal()?0:1}function o(e,t){var i=e.getRect();return[i[u[t]],i[u[t]]+i[h[t]]]}var r=i(2),a=i(78),s=i(57),l=i(119),c=i(34),u=["x","y"],h=["width","height"],d=a.extend({makeElOption:function(e,t,i,r,a){var c=i.axis,u=c.coordinateSystem,h=o(u,1-n(c)),d=u.dataToPoint(t)[0],f=s.buildElStyle(r),g=p[r.get("type")](c,d,h,f);g.style=f,e.graphicKey=g.type,e.pointer=g;var m=l.layout(i);s.buildCartesianSingleLabelElOption(t,e,m,i,r,a)},getHandleTransform:function(e,t,i){var n=l.layout(t,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:s.getTransformedPosition(t.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,i,r){var a=i.axis,s=a.coordinateSystem,l=n(a),c=o(s,l),u=e.position;u[l]+=t[l],u[l]=Math.min(c[1],u[l]),u[l]=Math.max(c[0],u[l]);var h=o(s,1-l),d=(h[1]+h[0])/2,p=[d,d];return p[l]=u[l],{position:u,rotation:e.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}}}),p={line:function(e,t,i,o){var a=s.makeLineShape([t,i[0]],[t,i[1]],n(e));return r.subPixelOptimizeLine({shape:a,style:o}),{type:"Line",shape:a}},shadow:function(e,t,i,o){var r=e.getBandWidth(),a=i[1]-i[0];return{type:"Rect",shape:s.makeRectShape([t-r/2,i[0]],[r,a],n(e))}}};c.registerAxisPointerClass("SingleAxisPointer",d),e.exports=d},function(e,t,i){function n(e,t,i,n,r,g,m,v){var _=[];_=null!=i.x&&null!=i.y?[i.x,i.y]:y({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},r).point;var w=e.axesInfo,A="leave"===t||f(_),S={},M={},k={list:[],map:{}},T=[],I={showPointer:b(a,M),showTooltip:b(s,k),highlight:b(l,T)};return x(e.coordSysMap,function(t,n){var r=t.containPoint(_);x(e.coordSysAxesInfo[n],function(e,t){var n=e.axis;A||!r||d(i,n)||o(e,n.pointToData(_),I,!1,S)})}),x(w,function(e,t){var i=e.linkGroup;i&&!M[t]&&x(i.axesInfo,function(t,n){var r=M[n];if(t!==e&&r){var a=r.value;i.mapper&&(a=e.axis.scale.parse(i.mapper(a,p(t),p(e)))),o(e,a,I,!0,S)}})}),c(M,w),u(k,_,m,n),h(T,n,g,v),S}function o(e,t,i,n,o){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t)){if(!e.involveSeries)return void i.showPointer(e,t);var s=r(t,e),l=s.payloadBatch,c=s.snapToValue;l[0]&&null==o.seriesIndex&&g.extend(o,l[0]),!n&&e.snap&&a.containData(c)&&null!=c&&(t=c),i.highlight("highlight",l),i.showPointer(e,t,l),i.showTooltip(e,s,c)}}function r(e,t){var i=t.axis,n=i.dim,o=e,r=[],a=Number.MAX_VALUE,s=-1;return x(t.seriesModels,function(t,l){var c,u,h=t.coordDimToDataDim(n);if(t.getAxisTooltipData){var d=t.getAxisTooltipData(h,e,i);u=d.dataIndices,c=d.nestestValue}else{if(u=t.getData().indexOfNearest(h[0],e,!1,"category"===i.type?.5:null),!u.length)return;c=t.getData().get(h[0],u[0])}if(null!=c&&isFinite(c)){var p=e-c,f=Math.abs(p);f<=a&&((f=0&&s<0)&&(a=f,s=p,o=c,r.length=0),x(u,function(e){r.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:r,snapToValue:o}}function a(e,t,i,n){e[t.key]={value:i,payloadBatch:n}}function s(e,t,i,n){var o=i.payloadBatch,r=t.axis,a=r.model,s=t.axisPointerModel;if(t.triggerTooltip&&o.length){var l=t.coordSys.model,c=v.makeKey(l),u=e.map[c];u||(u=e.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(u)),u.dataByAxis.push({axisDim:r.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:o.slice()})}}function l(e,t,i){e.push.apply(e,i)}function c(e,t){x(t,function(t,i){var n=t.axisPointerModel.option,o=e[i];o?(!t.useHandle&&(n.status="show"),n.value=o.value,n.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(n.status="hide")})}function u(e,t,i,n){if(f(t)||!e.list.length)return void n({type:"hideTip"});var o=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:i,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:e.list})}function h(e,t,i,n){var o=i.getZr();n="lastHighlights"+(n||"");var r=_(o)[n]||{},a=_(o)[n]={};g.each(e,function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e});var s=[],l=[];g.each(r,function(e,t){!a[t]&&l.push(e)}),g.each(a,function(e,t){!r[t]&&s.push(e)}),l.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:l}),s.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:s})}function d(e,t){var i=1;return x(e,function(e,t){i&=!/^.+(AxisId|AxisName|AxisIndex)$/.test(t)}),!i&&x([["AxisId","id"],["AxisIndex","componentIndex"],["AxisName","name"]],function(n){var o=m.normalizeToArray(e[t.dim+n[0]]);i|=g.indexOf(o,t.model[n[1]])>=0}),!i}function p(e){var t=e.axis.model,i={},n=i.axisDim=e.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=t.componentIndex,i.axisName=i[n+"AxisName"]=t.name,i.axisId=i[n+"AxisId"]=t.id,i}function f(e){return null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}var g=i(0),m=i(5),v=i(56),y=i(121),x=g.each,b=g.curry,_=m.makeGetter();e.exports=n},function(e,t,i){i(1).registerPreprocessor(i(348)),i(350),i(345),i(346),i(347),i(398)},function(e,t,i){function n(e,t){return r.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick},t,!0)}var o=i(1),r=i(0),a=i(64),s=i(9),l=["#ddd"],c=o.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)",width:null},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var i=this.option;!t&&a.replaceVisualOption(i,e,["inBrush","outOfBrush"]),i.inBrush=i.inBrush||{},i.outOfBrush=i.outOfBrush||{color:l}},setAreas:function(e){__DEV__&&(r.assert(r.isArray(e)),r.each(e,function(e){r.assert(e.brushType,"Illegal areas")})),e&&(this.areas=r.map(e,function(e){return n(this.option,e)},this))},setBrushOption:function(e){this.brushOption=n(this.option,e),this.brushType=this.brushOption.brushType}});e.exports=c},function(e,t,i){function n(e,t,i,n){(!n||n.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts()).enableBrush(e.brushOption).updateCovers(e.areas.slice())}var o=i(0),r=i(80),a=i(1);e.exports=a.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new r(t.getZr())).on("brush",o.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,n.apply(this,arguments)},updateView:n,updateLayout:n,updateVisual:n,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:o.clone(e),$from:i})}})},function(e,t,i){var n=i(1);n.registerAction({type:"brush",event:"brush",update:"updateView"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(t){t.setAreas(e.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},function(e,t,i){function n(e){var t={};o.each(e,function(e){t[e]=1}),e.length=0,o.each(t,function(t,i){e.push(i)})}var o=i(0),r=["rect","polygon","keep","clear"];e.exports=function(e,t){var i=e&&e.brush;if(o.isArray(i)||(i=i?[i]:[]),i.length){var a=[];o.each(i,function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(a=a.concat(t))});var s=e&&e.toolbox;o.isArray(s)&&(s=s[0]),s||(s={feature:{}},e.toolbox=[s]);var l=s.feature||(s.feature={}),c=l.brush||(l.brush={}),u=c.type||(c.type=[]);u.push.apply(u,a),n(u),t&&!u.length&&u.push.apply(u,r)}}},function(e,t,i){function n(e){var t=["x","y"],i=["width","height"];return{point:function(t,i,n){var r=n.range;return o(t[e],r)},rect:function(n,r,a){var s=a.range,l=[n[t[e]],n[t[e]]+n[i[e]]];return l[1]1)return!1;var d=l(i-e,o-e,n-t,r-t)/u;return!(d<0||d>1)}function s(e){return e<=1e-6&&e>=-1e-6}function l(e,t,i,n){return e*n-t*i}var c=i(166).contain,u=i(10),h={lineX:n(0),lineY:n(1),rect:{point:function(e,t,i){return i.boundingRect.contain(e[0],e[1])},rect:function(e,t,i){return i.boundingRect.intersect(e)}},polygon:{point:function(e,t,i){return i.boundingRect.contain(e[0],e[1])&&c(i.range,e[0],e[1])},rect:function(e,t,i){var n=i.range;if(n.length<=1)return!1;var o=e.x,a=e.y,s=e.width,l=e.height,h=n[0];return!!(c(n,o,a)||c(n,o+s,a)||c(n,o,a+l)||c(n,o+s,a+l)||u.create(e).contain(h[0],h[1])||r(o,a,o+s,a,n)||r(o,a,o,a+l,n)||r(o+s,a,o+s,a+l,n)||r(o,a+l,o+s,a+l,n))||void 0}}};e.exports=h},function(e,t,i){function n(e,t,i,n,r){if(r){var a=e.getZr();if(!a[x]){a[y]||(a[y]=o);g.createOrUpdate(a,y,i,t)(e,n)}}}function o(e,t){if(!e.isDisposed()){var i=e.getZr();i[x]=!0,e.dispatchAction({type:"brushSelect",batch:t}),i[x]=!1}}function r(e,t,i,n){for(var o=i.getItemLayout(n),r=0,a=t.length;rt[0][1]&&(t[0][1]=r[0]),r[1]t[1][1]&&(t[1][1]=r[1])}return t&&c(t)}}},function(e,t,i){"use strict";i(414),i(415),i(352)},function(e,t,i){"use strict";var n=i(0),o=i(2),r=i(4),a=i(3),s={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},l={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};e.exports=i(1).extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,i){var n=this.group;n.removeAll();var o=e.coordinateSystem,r=o.getHandledRangeInfo(),a=o.getOrient();this._renderDayRect(e,r,n),this._renderLines(e,r,a,n),this._renderYearText(e,r,a,n),this._renderMonthText(e,a,n),this._renderWeekText(e,r,a,n)},_renderDayRect:function(e,t,i){for(var n=e.coordinateSystem,r=e.getModel("itemStyle.normal").getItemStyle(),a=n.getCellWidth(),s=n.getCellHeight(),l=t.start.time;l<=t.end.time;l=n.getNextNDay(l,1).time){var c=n.dataToRect([l],!0).tl,u=new o.Rect({shape:{x:c[0],y:c[1],width:a,height:s},style:r});i.add(u)}},_renderLines:function(e,t,i,n){function o(t){r._firstDayOfMonth.push(a.getDateInfo(t)),r._firstDayPoints.push(a.dataToRect([t],!0).tl);var o=r._getLinePointsOfOneWeek(e,t,i);r._tlpoints.push(o[0]),r._blpoints.push(o[o.length-1]),l&&r._drawSplitline(o,s,n)}var r=this,a=e.coordinateSystem,s=e.getModel("splitLine.lineStyle").getLineStyle(),l=e.get("splitLine.show"),c=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,h=0;u.time<=t.end.time;h++){o(u.formatedDate),0===h&&(u=a.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=a.getDateInfo(d)}o(a.getNextNDay(t.end.time,1).formatedDate),l&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,c,i),s,n),l&&this._drawSplitline(r._getEdgesPoints(r._blpoints,c,i),s,n)},_getEdgesPoints:function(e,t,i){var n=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===i?0:1;return n[0][o]=n[0][o]-t/2,n[1][o]=n[1][o]+t/2,n},_drawSplitline:function(e,t,i){var n=new o.Polyline({z2:20,shape:{points:e},style:t});i.add(n)},_getLinePointsOfOneWeek:function(e,t,i){var n=e.coordinateSystem;t=n.getDateInfo(t);for(var o=[],r=0;r<7;r++){var a=n.getNextNDay(t.time,r),s=n.dataToRect([a.time],!0);o[2*a.day]=s.tl,o[2*a.day+1]=s["horizontal"===i?"bl":"tr"]}return o},_formatterLabel:function(e,t){return"string"==typeof e&&e?r.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,i,n){e=e.slice();var o=["center","bottom"];"top"===i&&(e[1]-=n),"bottom"===i&&(e[1]+=n,o=["center","top"]),"left"===i&&(e[0]-=n),"right"===i&&(e[0]+=n,o=["center","top"]);var r=0;return"left"!==i&&"right"!==i||(r=Math.PI/2),{rotation:r,origin:e,style:{x:e[0],y:e[1],textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,i,r){var a=e.getModel("yearLabel");if(a.get("show")){var s=e.getModel("yearLabel.textStyle"),l=a.get("margin"),c=a.get("position");c||(c="horizontal"!==i?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],h=(u[0][0]+u[1][0])/2,d=(u[0][1]+u[1][1])/2,p="horizontal"===i?0:1,f={top:[h,u[p][1]],bottom:[h,u[1-p][1]],left:[u[1-p][0],d],right:[u[p][0],d]},g=t.start.y;+t.end.y>+t.start.y&&(g=g+"-"+t.end.y);var m=a.get("formatter"),v={start:t.start.y,end:t.end.y,nameMap:g},y=this._formatterLabel(m,v),x=new o.Text(n.merge({z2:30,style:{text:y,font:s.getFont(),fill:s.getTextColor()}},this._yearTextPositionControl(f[c],i,c,l)));r.add(x)}},_monthTextPositionControl:function(e,t,i,n,o){var r="left",a="top",s=e[0],l=e[1];return"horizontal"===i?(l+=o,t&&(r="center"),"start"===n&&(a="bottom")):(s+=o,t&&(a="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:a}},_renderMonthText:function(e,t,i){var r=e.getModel("monthLabel");if(r.get("show")){var a=e.getModel("monthLabel.textStyle"),l=r.get("nameMap"),c=r.get("margin"),u=r.get("position"),h=r.get("align"),d=[this._tlpoints,this._blpoints];n.isString(l)&&(l=s[l.toUpperCase()]||[]);var p="start"===u?0:1,f="horizontal"===t?0:1;c="start"===u?-c:c;for(var g="center"===h,m=0;mn[1]&&(n[1]=t[1])})}),n[1]0?0:NaN);var a=i.getMax(!0);return null!=a&&"dataMax"!==a?t[1]=a:o&&(t[1]=r>0?r-1:NaN),i.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function r(e,t){var i=e.getAxisModel(),n=e._percentWindow,o=e._valueWindow;if(n){var r=s.getPixelPrecision(o,[0,500]),a=t||0===n[0]&&100===n[1];i.setRange(a?null:+o[0].toFixed(r),a?null:+o[1].toFixed(r))}}var a=i(0),s=i(3),l=i(79),c=a.each,u=s.asc,h=function(e,t,i,n){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this.ecModel=n,this._dataZoomModel=i};h.prototype={constructor:h,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries(function(i){if(l.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,o=t.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&e.push(i)}},this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,i=this._dimName,n=this.ecModel,o=this.getAxisModel(),r="x"===i||"y"===i;r?(t="gridIndex",e="x"===i?"y":"x"):(t="polarIndex",e="angle"===i?"radius":"angle");var a;return n.eachComponent(e+"Axis",function(e){(e.get(t)||0)===(o.get(t)||0)&&(a=e)}),a},calculateDataWindow:function(e){var t=this._dataExtent,i=this.getAxisModel(),n=i.axis.scale,o=this._dataZoomModel.getRangePropMode(),r=[0,100],a=[e.start,e.end],l=[];return c(["startValue","endValue"],function(t){l.push(null!=e[t]?n.parse(e[t]):null)}),c([0,1],function(e){var i=l[e],c=a[e];"percent"===o[e]?(null==c&&(c=r[e]),i=n.parse(s.linearMap(c,r,t,!0))):c=s.linearMap(i,t,r,!0),l[e]=i,a[e]=c}),{valueWindow:u(l),percentWindow:u(a)}},reset:function(e){if(e===this._dataZoomModel){this._dataExtent=n(this,this._dimName,this.getTargetSeriesModels());var t=this.calculateDataWindow(e.option);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,r(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,r(this,!0))},filterData:function(e){function t(e){return e>=r[0]&&e<=r[1]}if(e===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),o=e.get("filterMode"),r=this._valueWindow,a=this.getOtherAxisModel();e.get("$fromToolbox")&&a&&"category"===a.get("type")&&(o="empty"),c(n,function(e){var n=e.getData();n&&c(e.coordDimToDataDim(i),function(i){"empty"===o?e.setData(n.map(i,function(e){return t(e)?e:NaN})):n.filterSelf(i,t)})})}}},e.exports=h},function(e,t,i){e.exports=i(46).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1}})},function(e,t,i){function n(e){var t=[0,100];return!(e[0]<=t[1])&&(e[0]=t[1]),!(e[1]<=t[1])&&(e[1]=t[1]),!(e[0]>=t[0])&&(e[0]=t[0]),!(e[1]>=t[0])&&(e[1]=t[0]),e}var o=i(47),r=i(0),a=i(82),s=i(361),l=r.bind,c=o.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,i,n){c.superApply(this,"render",arguments),s.shouldRecordRange(n,e.id)&&(this._range=e.getPercentRange()),r.each(this.getTargetCoordInfo(),function(t,n){var o=r.map(t,function(e){return s.generateCoordId(e.model)});r.each(t,function(t){var r=t.model;s.register(i,{coordId:s.generateCoordId(r),allCoordIds:o,containsPoint:function(e,t){return r.coordinateSystem.containPoint([e,t])},dataZoomId:e.id,throttleRate:e.get("throttle",!0),panGetRange:l(this._onPan,this,t,n),zoomGetRange:l(this._onZoom,this,t,n)})},this)},this)},dispose:function(){s.unregister(this.api,this.dataZoomModel.id),c.superApply(this,"dispose",arguments),this._range=null},_onPan:function(e,t,i,n,o,r,s,l,c){if(this.dataZoomModel.option.disabled)return this._range;var h=this._range.slice(),d=e.axisModels[0];if(d){var p=u[t]([r,s],[l,c],d,i,e),f=p.signal*(h[1]-h[0])*p.pixel/p.pixelLength;return a(f,h,[0,100],"rigid"),this._range=h}},_onZoom:function(e,t,i,o,r,a){var s=this.dataZoomModel.option;if(s.disabled||s.zoomLock)return this._range;var l=this._range.slice(),c=e.axisModels[0];if(c){var h=u[t](null,[r,a],c,i,e),d=(h.pixel-h.pixelStart)/h.pixelLength*(l[1]-l[0])+l[0];return o=Math.max(1/o,0),l[0]=(l[0]-d)*o+d,l[1]=(l[1]-d)*o+d,this._range=n(l)}}}),u={grid:function(e,t,i,n,o){var r=i.axis,a={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===r.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=r.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=r.inverse?-1:1),a},polar:function(e,t,i,n,o){var r=i.axis,a={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===i.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=r.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=r.inverse?-1:1),a},singleAxis:function(e,t,i,n,o){var r=i.axis,a=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===r.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=r.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=r.inverse?-1:1),s}};e.exports=c},function(e,t,i){var n=i(46);e.exports=n.extend({type:"dataZoom.select"})},function(e,t,i){e.exports=i(47).extend({type:"dataZoom.select"})},function(e,t,i){var n=i(46),o=n.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"}}});e.exports=o},function(e,t,i){function n(e){return{x:"y",y:"x",radius:"angle",angle:"radius"}[e]}var o=i(0),r=i(2),a=i(51),s=i(47),l=r.Rect,c=i(3),u=c.linearMap,h=i(7),d=i(82),p=i(26),f=c.asc,g=o.bind,m=o.each,v="horizontal",y=5,x=["line","bar","candlestick","scatter"],b=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,i,n){if(b.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),this.dataZoomModel.get("show")===!1)return void this.group.removeAll();n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()},remove:function(){b.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){b.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,i=this._findCoordRect(),n={width:t.getWidth(),height:t.getHeight()},r=this._orient===v?{right:n.width-i.x-i.width,top:n.height-30-7,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=h.getLayoutParams(e.option);o.each(["right","top","width","height"],function(e){"ph"===a[e]&&(a[e]=r[e])});var s=h.getLayoutRect(a,n,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),r=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==v||o?i===v&&o?{scale:a?[-1,1]:[-1,-1]}:"vertical"!==i||o?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=e.getBoundingRect([r]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size;this._displayables.barGroup.add(new l({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,i=e.series,n=i.getRawData(),a=i.getShadowDim?i.getShadowDim():e.otherDim;if(null!=a){var s=n.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var c,h=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],f=[],g=d[1]/(n.count()-1),m=0,v=Math.round(n.count()/t[0]);n.each([a],function(e,t){if(v>0&&t%v)return void(m+=g);var i=null==e||isNaN(e)||""===e,n=i?0:u(e,s,h,!0);i&&!c&&t?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!i&&c&&(p.push([m,0]),f.push([m,0])),p.push([m,n]),f.push([m,n]),m+=g,c=i});var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:p},style:o.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(t!==!1){var i,r=this.ecModel;return e.eachTargetAxis(function(a,s){var l=e.getAxisProxy(a.name,s).getTargetSeriesModels();o.each(l,function(e){if(!(i||t!==!0&&o.indexOf(x,e.get("type"))<0)){var l,c=r.getComponent(a.axis,s).axis,u=n(a.name),h=e.coordinateSystem;null!=u&&h.getOtherAxis&&(l=h.getOtherAxis(c).inverse),i={thisAxis:c,series:e,thisDim:a.name,otherDim:u,otherAxisInverse:l}}},this)},this),i}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],i=e.handleLabels=[],n=this._displayables.barGroup,o=this._size,a=this.dataZoomModel;n.add(e.filler=new l({draggable:!0,cursor:"move",drift:g(this._onDragMove,this,"all"),onmousemove:function(e){p.stop(e.event)},ondragstart:g(this._showDataInfo,this,!0),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),n.add(new l(r.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})));var s=a.get("handleIcon");m([0,1],function(e){var o=r.makePath(s,{style:{strokeNoScale:!0},rectHover:!0,cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:g(this._onDragMove,this,e),onmousemove:function(e){p.stop(e.event)},ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1)},{x:-.5,y:0,width:1,height:1},"center"),l=o.getBoundingRect();this._handleHeight=c.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,o.setStyle(a.getModel("handleStyle").getItemStyle());var u=a.get("handleColor");null!=u&&(o.style.fill=u),n.add(t[e]=o);var h=a.textStyleModel;this.group.add(i[e]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",fill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[u(e[0],[0,100],t,!0),u(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var i=this._handleEnds,n=this._getViewExtent();d(t,i,n,"all"===e||this.dataZoomModel.get("zoomLock")?"rigid":"cross",e),this._range=f([u(i[0],n,[0,100],!0),u(i[1],n,[0,100],!0)])},_updateView:function(e){var t=this._displayables,i=this._handleEnds,n=f(i.slice()),o=this._size;m([0,1],function(e){var n=t.handles[e],r=this._handleHeight;n.attr({scale:[r,r],position:[i[e],o[1]/2-r/2]})},this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){function t(e){var t=r.getTransform(n.handles[e].parent,this.group),i=r.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+y,c=r.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);o[e].setStyle({x:c[0],y:c[1],textVerticalAlign:a===v?"middle":i,textAlign:a===v?i:"center",text:s[e]})}var i=this.dataZoomModel,n=this._displayables,o=n.handleLabels,a=this._orient,s=["",""];if(i.get("showDetail")){var l=i.findRepresentativeAxisProxy();if(l){var c=l.getAxisModel().axis,u=this._range,h=e?l.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(h[0],c),this._formatLabel(h[1],c)]}}var d=f(this._handleEnds.slice());t.call(this,0),t.call(this,1)},_formatLabel:function(e,t){var i=this.dataZoomModel,n=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=t.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(r,20));return o.isFunction(n)?n(e,a):o.isString(n)?n.replace("{value}",a):a},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,i){this._dragging=!0;var n=this._applyBarTransform([t,i],!0);this._updateInterval(e,n[0]);var o=this.dataZoomModel.get("realtime");this._updateView(!o),o&&o&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_applyBarTransform:function(e,t){var i=this._displayables.barGroup.getLocalTransform();return r.applyTransform(e,i,t)},_findCoordRect:function(){var e;if(m(this.getTargetCoordInfo(),function(t){if(!e&&t.length){var i=t[0].model.coordinateSystem;e=i.getRect&&i.getRect()}}),!e){var t=this.api.getWidth(),i=this.api.getHeight();e={x:.2*t,y:.2*i,width:.6*t,height:.6*i}}return e}});e.exports=b},function(e,t,i){function n(e){var t=e.getZr();return t[f]||(t[f]={})}function o(e,t,i){var n=new h(e.getZr());return n.enable(),n.on("pan",p(a,i)),n.on("zoom",p(s,i)),n}function r(e){u.each(e,function(t,i){t.count||(t.controller.dispose(),delete e[i])})}function a(e,t,i,n,o,r,a){l(e,function(s){return s.panGetRange(e.controller,t,i,n,o,r,a)})}function s(e,t,i,n){l(e,function(o){return o.zoomGetRange(e.controller,t,i,n)})}function l(e,t){var i=[];u.each(e.dataZoomInfos,function(e){var n=t(e);n&&i.push({dataZoomId:e.dataZoomId,start:n[0],end:n[1]})}),e.dispatchAction(i)}function c(e,t){e.dispatchAction({type:"dataZoom",batch:t})}var u=i(0),h=i(58),d=i(51),p=u.curry,f="\0_ec_dataZoom_roams",g={register:function(e,t){var i=n(e),a=t.dataZoomId,s=t.coordId;u.each(i,function(e,i){var n=e.dataZoomInfos;n[a]&&u.indexOf(t.allCoordIds,s)<0&&(delete n[a],e.count--)}),r(i);var l=i[s];l||(l=i[s]={coordId:s,dataZoomInfos:{},count:0},l.controller=o(e,t,l),l.dispatchAction=u.curry(c,e)),l.controller.setContainsPoint(t.containsPoint),d.createOrUpdate(l,"dispatchAction",t.throttleRate,"fixRate"),!l.dataZoomInfos[a]&&l.count++,l.dataZoomInfos[a]=t},unregister:function(e,t){var i=n(e);u.each(i,function(e){e.controller.dispose();var i=e.dataZoomInfos;i[t]&&(delete i[t],e.count--)}),r(i)},shouldRecordRange:function(e,t){if(e&&"dataZoom"===e.type&&e.batch)for(var i=0,n=e.batch.length;i=0;p--)null==o[p]?o.splice(p,1):delete o[p].$action},_flatten:function(e,t,i){h.each(e,function(e){if(e){i&&(e.parentOption=i),t.push(e);var n=e.children;"group"===e.type&&n&&this._flatten(n,t,e),delete e.children}},this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});u.extendComponentView({type:"graphic",init:function(e,t){this._elMap={},this._lastGraphicModel},render:function(e,t,i){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e,i),this._relocate(e,i)},_updateElements:function(e,t){var i=e.useElOptionsToUpdate();if(i){var a=this._elMap,s=this.group;h.each(i,function(e){var t=e.$action,i=e.id,l=a[i],c=e.parentId,u=null!=c?a[c]:s;e.hv&&e.hv[1]&&"text"===e.type&&(e.style=h.defaults({textBaseline:"middle"},e.style),e.style.textVerticalAlign=null);var d=r(e);__DEV__&&l&&h.assert(u===l.parent,"Changing parent is not supported."),t&&"merge"!==t?"replace"===t?(o(l,a),n(i,u,d,a)):"remove"===t&&o(l,a):l?l.attr(d):n(i,u,d,a),a[i]&&(a[i].__ecGraphicWidth=e.width,a[i].__ecGraphicHeight=e.height)})}},_relocate:function(e,t){for(var i=e.option.elements,n=this.group,o=this._elMap,r=i.length-1;r>=0;r--){var a=i[r],s=o[a.id];if(s){var l=s.parent,c=l===n?{width:t.getWidth(),height:t.getHeight()}:{width:l.__ecGraphicWidth||0,height:l.__ecGraphicHeight||0};f.positionElement(s,a,c,null,{hv:a.hv,boundingMode:a.bounding})}}},_clear:function(){var e=this._elMap;h.each(e,function(t){o(t,e)}),this._elMap={}},dispose:function(){this._clear()}})},function(e,t,i){i(48),i(120),i(45)},function(e,t,i){i(368),i(370),i(369),i(1).registerProcessor(i(371))},function(e,t,i){"use strict";var n=i(0),o=i(9),r=i(1).extendComponentModel({type:"legend",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{}},mergeOption:function(e){r.superCall(this,"mergeOption",e)},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,i=0;i=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:"top",align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});e.exports=r},function(e,t,i){function n(e,t){t.dispatchAction({type:"legendToggleSelect",name:e})}function o(e,t,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||e.get("legendHoverLink")&&i.dispatchAction({type:"highlight",seriesName:e.name,name:t})}function r(e,t,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||e.get("legendHoverLink")&&i.dispatchAction({type:"downplay",seriesName:e.name,name:t})}var a=i(0),s=i(20),l=i(2),c=i(130),u=a.curry;e.exports=i(1).extendComponentView({type:"legend",init:function(){this._symbolTypeStore={}},render:function(e,t,i){var s=this.group;if(s.removeAll(),e.get("show")){var h=e.get("selectedMode"),d=e.get("align");"auto"===d&&(d="right"===e.get("left")&&"vertical"===e.get("orient")?"right":"left");var p={};a.each(e.getData(),function(a){var c=a.get("name");if(""===c||"\n"===c)return void s.add(new l.Group({newline:!0}));var f=t.getSeriesByName(c)[0];if(!p[c]){if(f){var g=f.getData(),m=g.getVisual("color");"function"==typeof m&&(m=m(f.getDataParams(0)));var v=g.getVisual("legendSymbol")||"roundRect",y=g.getVisual("symbol");this._createItem(c,a,e,v,y,d,m,h).on("click",u(n,c,i)).on("mouseover",u(o,f,null,i)).on("mouseout",u(r,f,null,i)),p[c]=!0}else t.eachRawSeries(function(t){if(!p[c]&&t.legendDataProvider){var s=t.legendDataProvider(),l=s.indexOfName(c);if(l<0)return;var f=s.getItemVisual(l,"color");this._createItem(c,a,e,"roundRect",null,d,f,h).on("click",u(n,c,i)).on("mouseover",u(o,t,c,i)).on("mouseout",u(r,t,c,i)),p[c]=!0}},this);__DEV__&&(p[c]||console.warn(c+" series not exists. Legend data should be same with series name or data name."))}},this),c.layout(s,e,i),c.addBackground(s,e)}},_createItem:function(e,t,i,n,o,r,c,u){var h=i.get("itemWidth"),d=i.get("itemHeight"),p=i.get("inactiveColor"),f=i.isSelected(e),g=new l.Group,m=t.getModel("textStyle"),v=t.get("icon"),y=t.getModel("tooltip"),x=y.parentModel;if(n=v||n,g.add(s.createSymbol(n,0,0,h,d,f?c:p)),!v&&o&&(o!==n||"none"==o)){var b=.8*d;"none"===o&&(o="circle"),g.add(s.createSymbol(o,(h-b)/2,(d-b)/2,b,b,f?c:p))}var _="left"===r?h+5:-5,w=r,A=i.get("formatter"),S=e;"string"==typeof A&&A?S=A.replace("{name}",null!=e?e:""):"function"==typeof A&&(S=A(e));var M=new l.Text({style:{text:S,x:_,y:d/2,fill:f?m.getTextColor():p,textFont:m.getFont(),textAlign:w,textVerticalAlign:"middle"}});g.add(M);var k=new l.Rect({shape:g.getBoundingRect(),invisible:!0,tooltip:y.get("show")?a.extend({content:e,formatter:x.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:e,$vars:["name"]}},y.option):null});return g.add(k),g.eachChild(function(e){e.silent=!0}),k.silent=!u,this.group.add(g),l.setHoverStyle(g),g}})},function(e,t,i){function n(e,t,i){var n,o={},a="toggleSelected"===e;return i.eachComponent("legend",function(i){a&&null!=n?i[n?"select":"unSelect"](t.name):(i[e](t.name),n=i.isSelected(t.name));var s=i.getData();r.each(s,function(e){var t=e.get("name");if("\n"!==t&&""!==t){var n=i.isSelected(t);o[t]=t in o?o[t]&&n:n}})}),{name:t.name,selected:o}}var o=i(1),r=i(0);o.registerAction("legendToggleSelect","legendselectchanged",r.curry(n,"toggleSelected")),o.registerAction("legendSelect","legendselected",r.curry(n,"select")),o.registerAction("legendUnSelect","legendunselected",r.curry(n,"unSelect"))},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var i=0;i=0&&"number"==typeof s&&(s=+s.toFixed(g)),p.coord[u]=f.coord[u]=s,n=[p,f,{type:r,valueIndex:n.valueIndex,value:s}]}return n=[h.dataTransform(e,n[0]),h.dataTransform(e,n[1]),l.extend({},n[2])],n[2].type=n[2].type||"",l.merge(n[2],n[0]),l.merge(n[2],n[1]),n};i(84).extend({type:"markLine",updateLayout:function(e,t,i){t.eachSeries(function(e){var t=e.markLineModel;if(t){var n=t.getData(),o=t.__from,r=t.__to;o.each(function(t){a(o,t,!0,e,i),a(r,t,!1,e,i)}),n.each(function(e){n.setItemLayout(e,[o.getItemLayout(e),r.getItemLayout(e)])}),this.markerGroupMap[e.name].updateLayout()}},this)},renderSeries:function(e,t,i,n){function o(t,i,o){var r=t.getItemModel(i);a(t,i,o,e,n),t.setItemVisual(i,{symbolSize:r.get("symbolSize")||x[o?0:1],symbol:r.get("symbol",!0)||y[o?0:1],color:r.get("itemStyle.normal.color")||u.getVisual("color")})}var r=e.coordinateSystem,c=e.name,u=e.getData(),h=this.markerGroupMap,p=h[c];p||(p=h[c]=new d),this.group.add(p.group);var f=s(r,e,t),g=f.from,m=f.to,v=f.line;t.__from=g,t.__to=m,t.setData(v);var y=t.get("symbol"),x=t.get("symbolSize");l.isArray(y)||(y=[y,y]),"number"==typeof x&&(x=[x,x]),f.from.each(function(e){o(g,e,!0),o(m,e,!1)}),v.each(function(e){var t=v.getItemModel(e).get("lineStyle.normal.color");v.setItemVisual(e,{color:t||g.getItemVisual(e,"color")}),v.setItemLayout(e,[g.getItemLayout(e),m.getItemLayout(e)]),v.setItemVisual(e,{fromSymbolSize:g.getItemVisual(e,"symbolSize"),fromSymbol:g.getItemVisual(e,"symbol"),toSymbolSize:m.getItemVisual(e,"symbolSize"),toSymbol:m.getItemVisual(e,"symbol")})}),p.updateData(v),f.line.eachItemGraphicEl(function(e,i){e.traverse(function(e){e.dataModel=t})}),p.__keep=!0,p.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,i){e.exports=i(83).extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"inside"},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:2}}}})},function(e,t,i){function n(e,t,i){var n=t.coordinateSystem;e.each(function(o){var r,a=e.getItemModel(o),l=s.parsePercent(a.get("x"),i.getWidth()),c=s.parsePercent(a.get("y"),i.getHeight());if(isNaN(l)||isNaN(c)){if(t.getMarkerPosition)r=t.getMarkerPosition(e.getValues(e.dimensions,o));else if(n){var u=e.get(n.dimensions[0],o),h=e.get(n.dimensions[1],o);r=n.dataToPoint([u,h])}}else r=[l,c];isNaN(l)||(r[0]=l),isNaN(c)||(r[1]=c),e.setItemLayout(o,r)})}function o(e,t,i){var n;n=e?a.map(e&&e.dimensions,function(e){var i=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return i.name=e,i}):[{name:"value",type:"float"}];var o=new l(n,i),r=a.map(i.get("data"),a.curry(c.dataTransform,t));return e&&(r=a.filter(r,a.curry(c.dataFilter,e))),o.initData(r,null,e?c.dimValueGetter:function(e){return e.value}),o}var r=i(44),a=i(0),s=i(3),l=i(11),c=i(85);i(84).extend({type:"markPoint",updateLayout:function(e,t,i){t.eachSeries(function(e){var t=e.markPointModel;t&&(n(t.getData(),e,i),this.markerGroupMap[e.name].updateLayout(t))},this)},renderSeries:function(e,t,i,a){var s=e.coordinateSystem,l=e.name,c=e.getData(),u=this.markerGroupMap,h=u[l];h||(h=u[l]=new r);var d=o(s,e,t);t.setData(d),n(t.getData(),e,a),d.each(function(e){var i=d.getItemModel(e),n=i.getShallow("symbolSize");"function"==typeof n&&(n=n(t.getRawValue(e),t.getDataParams(e))),d.setItemVisual(e,{symbolSize:n,color:i.get("itemStyle.normal.color")||c.getVisual("color"),symbol:i.getShallow("symbol")})}),h.updateData(d),this.group.add(h.group),d.eachItemGraphicEl(function(e){e.traverse(function(e){e.dataModel=t})}),h.__keep=!0,h.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,i){i(147),i(338),i(335)},function(e,t,i){"use strict";i(87),i(331),i(385),i(45),i(341),i(1).extendComponentView({type:"polar"})},function(e,t,i){i(437),i(438),i(384)},function(e,t,i){var n=i(33),o=i(0),r=i(2),a=["axisLine","axisLabel","axisTick","axisName"];e.exports=i(1).extendComponentView({type:"radar",render:function(e,t,i){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes(),r=o.map(i,function(e){return new n(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});o.each(r,function(e){o.each(a,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(e){function t(e,t,i){var n=i%t.length;return e[n]=e[n]||[],n}var i=e.coordinateSystem,n=i.getIndicatorAxes();if(n.length){var a=e.get("shape"),s=e.getModel("splitLine"),l=e.getModel("splitArea"),c=s.getModel("lineStyle"),u=l.getModel("areaStyle"),h=s.get("show"),d=l.get("show"),p=c.get("color"),f=u.get("color");p=o.isArray(p)?p:[p],f=o.isArray(f)?f:[f];var g=[],m=[];if("circle"===a)for(var v=n[0].getTicksCoords(),y=i.cx,x=i.cy,b=0;b=0||"+"===i?"left":"right"},s={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},l={horizontal:0,vertical:_/2},c="vertical"===o?r.height:r.width,u=e.getModel("controlStyle"),h=u.get("show"),d=h?u.get("itemSize"):0,p=h?u.get("itemGap"):0,f=d+p,g=e.get("label.normal.rotate")||0;g=g*_/180;var m,v,y,x,b=u.get("position",!0),h=u.get("show",!0),w=h&&u.get("showPlayBtn",!0),A=h&&u.get("showPrevBtn",!0),S=h&&u.get("showNextBtn",!0),M=0,k=c;return"left"===b||"bottom"===b?(w&&(m=[0,0],M+=f),A&&(v=[M,0],M+=f),S&&(y=[k-d,0],k-=f)):(w&&(m=[k-d,0],k-=f),A&&(v=[0,0],M+=f),S&&(y=[k-d,0],k-=f)),x=[M,k],e.get("inverse")&&x.reverse(),{viewRect:r,mainLength:c,orient:o,rotation:l[o],labelRotation:g,labelPosOpt:i,labelAlign:a[o],labelBaseline:s[o],playPosition:m,prevBtnPosition:v,nextBtnPosition:y,axisExtent:x,controlSize:d,controlGap:p}},_position:function(e,t){function i(e){var t=e.position;e.origin=[h[0][0]-t[0],h[1][0]-t[1]]}function n(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function o(e,t,i,n,o){e[n]+=i[n][o]-t[n][o]}var r=this._mainGroup,a=this._labelGroup,s=e.viewRect;if("vertical"===e.orient){var l=g.create(),c=s.x,u=s.y+s.height;g.translate(l,l,[-c,-u]),g.rotate(l,l,-_/2),g.translate(l,l,[c,u]),s=s.clone(),s.applyTransform(l)}var h=n(s),d=n(r.getBoundingRect()),p=n(a.getBoundingRect()),f=r.position,m=a.position;m[0]=f[0]=h[0][0];var v=e.labelPosOpt;if(isNaN(v)){var y="+"===v?0:1;o(f,d,h,1,y),o(m,p,h,1,1-y)}else{var y=v>=0?0:1;o(f,d,h,1,y),m[1]=f[1]+v}r.attr("position",f),a.attr("position",m),r.rotation=a.rotation=e.rotation,i(r),i(a)},_createAxis:function(e,t){var i=t.getData(),n=t.get("axisType"),o=p.createScaleByModel(t,n),r=i.getDataExtent("value");o.setExtent(r[0],r[1]),this._customizeScale(o,i),o.niceTicks();var a=new h("value",o,e.axisExtent,n);return a.model=t,a},_customizeScale:function(e,t){e.getTicks=function(){return t.mapArray(["value"],function(e){return e})},e.getTicksLabels=function(){return s.map(this.getTicks(),e.getLabel,e)}},_createGroup:function(e){var t=this["_"+e]=new l.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,i,n){var o=i.getExtent();n.get("lineStyle.show")&&t.add(new l.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:s.extend({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,i,n){var o=n.getData(),a=i.scale.getTicks();b(a,function(e,a){var s=i.dataToCoord(e),c=o.getItemModel(a),u=c.getModel("itemStyle.normal"),h=c.getModel("itemStyle.emphasis"),d={position:[s,0],onclick:x(this._changeTimeline,this,a)},p=r(c,u,t,d);l.setHoverStyle(p,h.getItemStyle()),c.get("tooltip")?(p.dataIndex=a,p.dataModel=n):p.dataIndex=p.dataModel=null},this)},_renderAxisLabel:function(e,t,i,n){var o=n.getModel("label.normal");if(o.get("show")){var r=n.getData(),a=i.scale.getTicks(),s=p.getFormattedLabels(i,o.get("formatter")),c=i.getLabelInterval();b(a,function(n,o){if(!i.isLabelIgnored(o,c)){var a=r.getItemModel(o),u=a.getModel("label.normal.textStyle"),h=a.getModel("label.emphasis.textStyle"),d=i.dataToCoord(n),p=new l.Text({style:{text:s[o],textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline,textFont:u.getFont(),fill:u.getTextColor()},position:[d,0],rotation:e.labelRotation-e.rotation,onclick:x(this._changeTimeline,this,o),silent:!1});t.add(p),l.setHoverStyle(p,h.getItemStyle())}},this)}},_renderControl:function(e,t,i,n){function r(e,i,r,d){if(e){var p={position:e,origin:[a/2,0],rotation:d?-s:0,rectHover:!0,style:c,onclick:r},f=o(n,i,h,p);t.add(f),l.setHoverStyle(f,u)}}var a=e.controlSize,s=e.rotation,c=n.getModel("controlStyle.normal").getItemStyle(),u=n.getModel("controlStyle.emphasis").getItemStyle(),h=[0,-a/2,a,a],d=n.getPlayState(),p=n.get("inverse",!0);r(e.nextBtnPosition,"controlStyle.nextIcon",x(this._changeTimeline,this,p?"-":"+")),r(e.prevBtnPosition,"controlStyle.prevIcon",x(this._changeTimeline,this,p?"+":"-")),r(e.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),x(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(e,t,i,n){var o=n.getData(),s=n.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),c=this,u={onCreate:function(e){e.draggable=!0,e.drift=x(c._handlePointerDrag,c),e.ondragend=x(c._handlePointerDragend,c),a(e,s,i,n,!0)},onUpdate:function(e){a(e,s,i,n)}};this._currentPointer=r(l,l,this._mainGroup,{},this._currentPointer,u)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var i=this._toAxisCoord(e)[0],n=this._axis,o=m.asc(n.getExtent().slice());i>o[1]&&(i=o[1]),i=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],i=e.axisType,n=this._names=[];if("category"===i){var s=[];r.each(t,function(e,t){var i,o=a.getDataItemValue(e);r.isObject(e)?(i=r.clone(e),i.value=t):i=t,s.push(i),r.isString(o)||null!=o&&!isNaN(o)||(o=""),n.push(o+"")}),t=s}var l={category:"ordinal",time:"time"}[i]||"number";(this._data=new o([{name:"value",type:l}],this)).initData(t,n)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});e.exports=s},function(e,t,i){var n=i(90);e.exports=n.extend({type:"timeline"})},function(e,t,i){function n(e){var t=e.type,i={number:"value",time:"time"};if(i[t]&&(e.axisType=i[t],delete e.type),o(e),r(e,"controlPosition")){var n=e.controlStyle||(e.controlStyle={});r(n,"position")||(n.position=e.controlPosition),"none"!==n.position||r(n,"show")||(n.show=!1,delete n.position),delete e.controlPosition}a.each(e.data||[],function(e){a.isObject(e)&&!a.isArray(e)&&(!r(e,"value")&&r(e,"name")&&(e.value=e.name),o(e))})}function o(e){var t=e.itemStyle||(e.itemStyle={}),i=t.emphasis||(t.emphasis={}),n=e.label||e.label||{},o=n.normal||(n.normal={}),s={normal:1,emphasis:1};a.each(n,function(e,t){s[t]||r(o,t)||(o[t]=e)}),i.label&&!r(n,"emphasis")&&(n.emphasis=i.label,delete i.label)}function r(e,t){return e.hasOwnProperty(t)}var a=i(0);e.exports=function(e){var t=e&&e.timeline;a.isArray(t)||(t=t?[t]:[]),a.each(t,function(e){e&&n(e)})}},function(e,t,i){var n=i(1),o=i(0);n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,t){var i=t.getComponent("timeline");return i&&null!=e.currentIndex&&(i.setCurrentIndex(e.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),t.resetOption("timeline"),o.defaults({currentIndex:i.option.currentIndex},e)}),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,t){var i=t.getComponent("timeline");i&&null!=e.playState&&i.setPlayState(e.playState)})},function(e,t,i){i(12).registerSubTypeDefaulter("timeline",function(){return"slider"})},function(e,t,i){i(396),i(397),i(403),i(401),i(399),i(400),i(402)},function(e,t,i){var n=i(28),o=i(0),r=i(1).extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},mergeDefaultAndTheme:function(e){r.superApply(this,"mergeDefaultAndTheme",arguments),o.each(this.option.feature,function(e,t){var i=n.get(t);i&&o.merge(e,i.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{normal:{borderColor:"#666",color:"none"},emphasis:{borderColor:"#3E98C5"}}}});e.exports=r},function(e,t,i){(function(t){function n(e){return 0===e.indexOf("my")}var o=i(28),r=i(0),a=i(2),s=i(9),l=i(49),c=i(130),u=i(25);e.exports=i(1).extendComponentView({type:"toolbox",render:function(e,t,i,h){function d(r,a){var l,c=y[r],u=y[a],d=m[c],f=new s(d,e,e.ecModel);if(c&&!u){if(n(c))l={model:f,onclick:f.option.onclick,featureName:c};else{var g=o.get(c);if(!g)return;l=new g(f,t,i)}v[c]=l}else{if(!(l=v[u]))return;l.model=f,l.ecModel=t,l.api=i}return!c&&u?void(l.dispose&&l.dispose(t,i)):!f.get("show")||l.unusable?void(l.remove&&l.remove(t,i)):(p(f,l,c),f.setIconStatus=function(e,t){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[e]=t,n[e]&&n[e].trigger(t)},void(l.render&&l.render(f,t,i,h)))}function p(n,o,s){var l=n.getModel("iconStyle"),c=o.getIcons?o.getIcons():n.get("icon"),u=n.get("title")||{};if("string"==typeof c){var h=c,d=u;c={},u={},c[s]=h,u[s]=d}var p=n.iconPaths={};r.each(c,function(s,c){var h=l.getModel("normal").getItemStyle(),d=l.getModel("emphasis").getItemStyle(),m={x:-g/2,y:-g/2,width:g,height:g},v=0===s.indexOf("image://")?(m.image=s.slice(8),new a.Image({style:m})):a.makePath(s.replace("path://",""),{style:h,hoverStyle:d,rectHover:!0},m,"center");a.setHoverStyle(v),e.get("showTitle")&&(v.__title=u[c],v.on("mouseover",function(){var e=l.getModel("emphasis").getItemStyle();v.setStyle({text:u[c],textPosition:e.textPosition||"bottom",textFill:e.fill||e.stroke||"#000",textAlign:e.textAlign||"center"})}).on("mouseout",function(){v.setStyle({textFill:null})})),v.trigger(n.get("iconStatus."+c)||"normal"),f.add(v),v.on("click",r.bind(o.onclick,o,t,i,c)),p[c]=v})}var f=this.group;if(f.removeAll(),e.get("show")){var g=+e.get("itemSize"),m=e.get("feature")||{},v=this._features||(this._features={}),y=[];r.each(m,function(e,t){y.push(t)}),new l(this._featureNames||[],y).add(d).update(d).remove(r.curry(d,null)).execute(),this._featureNames=y,c.layout(f,e,i),c.addBackground(f,e),f.eachChild(function(e){var t=e.__title,n=e.hoverStyle;if(n&&t){var o=u.getBoundingRect(t,n.font),r=e.position[0]+f.position[0],a=e.position[1]+f.position[1]+g,s=!1;a+o.height>i.getHeight()&&(n.textPosition="top",s=!0);var l=s?-5-o.height:g+8;r+o.width/2>i.getWidth()?(n.textPosition=["100%",l],n.textAlign="right"):r-o.width/2<0&&(n.textPosition=[0,l],n.textAlign="left")}})}},updateView:function(e,t,i,n){r.each(this._features,function(e){e.updateView&&e.updateView(e.model,t,i,n)})},updateLayout:function(e,t,i,n){r.each(this._features,function(e){e.updateLayout&&e.updateLayout(e.model,t,i,n)})},remove:function(e,t){r.each(this._features,function(i){i.remove&&i.remove(e,t)}),this.group.removeAll()},dispose:function(e,t){r.each(this._features,function(i){i.dispose&&i.dispose(e,t)})}})}).call(t,i(159))},function(e,t,i){"use strict";function n(e,t,i){this.model=e,this.ecModel=t,this.api=i,this._brushType,this._brushMode}var o=i(28),r=i(0);n.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}};var a=n.prototype;a.render=a.updateView=a.updateLayout=function(e,t,i){var n,o,a;t.eachComponent({mainType:"brush"},function(e){n=e.brushType,o=e.brushOption.brushMode||"single",a|=e.areas.length}),this._brushType=n,this._brushMode=o,r.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===n)?"emphasis":"normal")})},a.getIcons=function(){var e=this.model,t=e.get("icon",!0),i={};return r.each(e.get("type",!0),function(e){t[e]&&(i[e]=t[e])}),i},a.onclick=function(e,t,i){var t=this.api,n=this._brushType,o=this._brushMode;"clear"===i?t.dispatchAction({type:"brush",areas:[]}):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===o?"single":"multiple":o}})},o.register("brush",n),e.exports=n},function(e,t,i){function n(e){var t={},i=[],n=[];return e.eachRawSeries(function(e){var o=e.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)i.push(e);else{var r=o.getBaseAxis();if("category"===r.type){var a=r.dim+"_"+r.index;t[a]||(t[a]={categoryAxis:r,valueAxis:o.getOtherAxis(r),series:[]},n.push({axisDim:r.dim,axisIndex:r.index})),t[a].series.push(e)}else i.push(e)}}),{seriesGroupByCategoryAxis:t,other:i,meta:n}}function o(e){var t=[];return f.each(e,function(e,i){var n=e.categoryAxis,o=e.valueAxis,r=o.dim,a=[" "].concat(f.map(e.series,function(e){return e.name})),s=[n.model.getCategories()];f.each(e.series,function(e){s.push(e.getRawData().mapArray(r,function(e){return e}))});for(var l=[a.join(v)],c=0;c=0)return!0}function c(e){for(var t=e.split(/\n+/g),i=s(t.shift()).split(y),n=[],o=f.map(i,function(e){return{name:e,data:[]}}),r=0;r1?"emphasis":"normal")}function a(e,t,i,n){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=r,e.setIconStatus("zoom",r?"emphasis":"normal");var a=new c(o(e.option),t,{include:["grid"]});i._brushController.setPanels(a.makePanelOpts(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}var s=i(0),l=i(80),c=i(127),u=i(125),h=s.each;i(362);var d="\0_ec_\0toolbox-dataZoom_";n.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:{zoom:"区域缩放",back:"区域缩放还原"}};var p=n.prototype;p.render=function(e,t,i,n){this.model=e,this.ecModel=t,this.api=i,a(e,t,this,n),r(e,t)},p.onclick=function(e,t,i){f[i].call(this)},p.remove=function(e,t){this._brushController.unmount()},p.dispose=function(e,t){this._brushController.dispose()};var f={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(u.pop(this.ecModel))}};p._onBrush=function(e,t){function i(e,t,i){var o=n(e,t.getAxis(e).model,a);o&&(r[o.id]={dataZoomId:o.id,startValue:i[0],endValue:i[1]})}function n(e,t,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(e,t.componentIndex)&&(n=i)}),n}if(t.isEnd&&e.length){var r={},a=this.ecModel;this._brushController.updateCovers([]);new c(o(this.model.option),a,{include:["grid"]}).matchOutputRanges(e,a,function(e,t,n){if("cartesian2d"===n.type){var o=e.brushType;"rect"===o?(i("x",n,t[0]),i("y",n,t[1])):i({lineX:"x",lineY:"y"}[o],n,t)}}),u.push(a,r),this._dispatchZoomAction(r)}},p._dispatchZoomAction=function(e){var t=[];h(e,function(e,i){t.push(s.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},i(28).register("dataZoom",n),i(1).registerPreprocessor(function(e){function t(e,t){if(t){var o=e+"Index",r=t[o];null==r||"all"==r||s.isArray(r)||(r=r===!1||"none"===r?[]:[r]),i(e,function(t,i){if(null==r||"all"==r||s.indexOf(r,i)!==-1){var a={type:"select",$fromToolbox:!0,id:d+e+i};a[o]=i,n.push(a)}})}}function i(t,i){var n=e[t];s.isArray(n)||(n=n?[n]:[]),h(n,i)}if(e){var n=e.dataZoom||(e.dataZoom=[]);s.isArray(n)||(e.dataZoom=n=[n]);var o=e.toolbox;if(o&&(s.isArray(o)&&(o=o[0]),o&&o.feature)){var r=o.feature.dataZoom;t("xAxis",r),t("yAxis",r)}}}),e.exports=n},function(e,t,i){"use strict";function n(e){this.model=e}var o=i(0);n.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:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"},option:{},seriesIndex:{}};var r=n.prototype;r.getIcons=function(){var e=this.model,t=e.get("icon"),i={};return o.each(e.get("type"),function(e){t[e]&&(i[e]=t[e])}),i};var a={line:function(e,t,i,n){if("bar"===e)return o.merge({id:t,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(e,t,i,n){if("line"===e)return o.merge({id:t,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(e,t,i,n){if("line"===e||"bar"===e)return o.merge({id:t,stack:"__ec_magicType_stack__"},n.get("option.stack")||{},!0)},tiled:function(e,t,i,n){if("line"===e||"bar"===e)return o.merge({id:t,stack:""},n.get("option.tiled")||{},!0)}},s=[["line","bar"],["stack","tiled"]];r.onclick=function(e,t,i){var n=this.model,r=n.get("seriesIndex."+i);if(a[i]){var l={series:[]},c=function(t){var r=t.subType,s=t.id,c=a[i](r,s,t,n);c&&(o.defaults(c,t.option),l.series.push(c));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim,p=d+"Axis",f=e.queryComponents({mainType:p,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=f.componentIndex;l[p]=l[p]||[];for(var m=0;m<=g;m++)l[p][g]=l[p][g]||{};l[p][g].boundaryGap="bar"===i}}};o.each(s,function(e){o.indexOf(e,i)>=0&&o.each(e,function(e){n.setIconStatus(e,"normal")})}),n.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},c),t.dispatchAction({type:"changeMagicType",currentType:i,newOption:l})}},i(1).registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)}),i(28).register("magicType",n),e.exports=n},function(e,t,i){"use strict";function n(e){this.model=e}var o=i(125);n.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:"还原"},n.prototype.onclick=function(e,t,i){o.clear(e),t.dispatchAction({type:"restore",from:this.uid})},i(28).register("restore",n),i(1).registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")}),e.exports=n},function(e,t,i){function n(e){this.model=e}var o=i(13);n.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:"保存为图片",type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:["右键另存为图片"]},n.prototype.unusable=!o.canvasSupported,n.prototype.onclick=function(e,t){var i=this.model,n=i.get("name")||e.get("title.0.text")||"echarts",r=document.createElement("a"),a=i.get("type",!0)||"png";r.download=n+"."+a,r.target="_blank";var s=t.getConnectedDataURL({type:a,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(r.href=s,"function"!=typeof MouseEvent||o.browser.ie||o.browser.edge){var l=i.get("lang"),c='';window.open().document.write(c)}else{var u=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(u)}},i(28).register("saveAsImage",n),e.exports=n},function(e,t,i){function n(e){var t="left "+e+"s cubic-bezier(0.23, 1, 0.32, 1),top "+e+"s cubic-bezier(0.23, 1, 0.32, 1)";return s.map(f,function(e){return e+"transition:"+t}).join(";")}function o(e){var t=[],i=e.get("fontSize"),n=e.getTextColor();return n&&t.push("color:"+n),t.push("font:"+e.getFont()),i&&t.push("line-height:"+Math.round(3*i/2)+"px"),h(["decoration","align"],function(i){var n=e.get(i);n&&t.push("text-"+i+":"+n)}),t.join(";")}function r(e){var t=[],i=e.get("transitionDuration"),r=e.get("backgroundColor"),a=e.getModel("textStyle"),s=e.get("padding");return i&&t.push(n(i)),r&&(p.canvasSupported?t.push("background-Color:"+r):(t.push("background-Color:#"+l.toHex(r)),t.push("filter:alpha(opacity=70)"))),h(["width","color","radius"],function(i){var n="border-"+i,o=d(n),r=e.get(o);null!=r&&t.push(n+":"+r+("color"===i?"":"px"))}),t.push(o(a)),null!=s&&t.push("padding:"+u.normalizeCssArray(s).join("px ")+"px"),t.join(";")+";"}function a(e,t){var i=document.createElement("div"),n=this._zr=t.getZr();this.el=i,this._x=t.getWidth()/2,this._y=t.getHeight()/2,e.appendChild(i),this._container=e,this._show=!1,this._hideTimeout;var o=this;i.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!o._enterable){var i=n.handler;c.normalizeEvent(e,t,!0),i.dispatch("mousemove",t)}},i.onmouseleave=function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}}var s=i(0),l=i(27),c=i(26),u=i(4),h=s.each,d=u.toCamelCase,p=i(13),f=["","-webkit-","-moz-","-o-"];a.prototype={constructor:a,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==t.position&&(i.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el;t.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+r(e)+";left:"+this._x+"px;top:"+this._y+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",this._show=!0},setContent:function(e){this.el.innerHTML=e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRoot())&&(e+=i.offsetLeft||0,t+=i.offsetTop||0);var o=this.el.style;o.left=e+"px",o.top=t+"px",this._x=e,this._y=t},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show}},e.exports=a},function(e,t,i){i(1).extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}})},function(e,t,i){function n(e){for(var t=e.pop();e.length;){var i=e.pop();i&&(i instanceof m&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),t=new m(i,t,t.ecModel))}return t}function o(e,t){return e.dispatchAction||u.bind(t.dispatchAction,t)}function r(e,t,i,n,o,r,a){var s=i.clientWidth,l=i.clientHeight;return e+s+r>n?e-=s+r:e+=r,t+l+a>o?t-=l+a:t+=a,[e,t]}function a(e,t,i,n,o){var r=i.clientWidth,a=i.clientHeight;return e=Math.min(e+r,n)-r,t=Math.min(t+a,o)-a,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function s(e,t,i){var n=i[0],o=i[1],r=0,a=0,s=t.width,l=t.height;switch(e){case"inside":r=t.x+s/2-n/2,a=t.y+l/2-o/2;break;case"top":r=t.x+s/2-n/2,a=t.y-o-5;break;case"bottom":r=t.x+s/2-n/2,a=t.y+l+5;break;case"left":r=t.x-n-5,a=t.y+l/2-o/2;break;case"right":r=t.x+s+5,a=t.y+l/2-o/2}return[r,a]}function l(e){return"center"===e||"middle"===e}var c=i(404),u=i(0),h=i(4),d=i(3),p=i(121),f=i(7),g=i(13),m=i(9),v=i(122),y=i(18),x=i(57),b=u.bind,_=u.each,w=d.parsePercent;i(1).extendComponentView({type:"tooltip",init:function(e,t){if(!g.node){var i=new c(t.getDom(),t);this._tooltipContent=i}},render:function(e,t,i){if(!g.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=i,this._lastDataByCoordSys,this._alwaysShowContent=e.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");v.register("itemTooltip",this._api,b(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(e,t,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(e,t,i,n){if(n.from!==this.uid&&!g.node){var r=o(n,i);this._ticket="";var a=n.seriesIndex;if(n.dataByCoordSys)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},r);else if(null!=a){var s=p(n,t),l=s.point[0],c=s.point[1];null!=l&&null!=c&&this._tryShow({offsetX:l,offsetY:c,position:n.position,target:s.el,event:{}},r)}else null!=n.x&&null!=n.y&&this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().handler.findHover(n.x,n.y),event:{}},r)}},manuallyHideTip:function(e,t,i,n){var r=this._tooltipContent;this._alwaysShowContent||r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(o(n,i))},_tryShow:function(e,t){var i=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var n=e.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,e):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,i,t)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,i,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var i=e.get("showDelay");t=u.bind(t,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(t,i):t()},_showAxisTooltip:function(e,t){var i=this._ecModel,o=this._tooltipModel,r=[t.offsetX,t.offsetY],a=[],s=[],l=n([t.tooltipOption,o]);_(e,function(e){_(e.dataByAxis,function(e){var t=i.getComponent(e.axisDim+"Axis",e.axisIndex),n=e.value,o=[];if(t&&null!=n){var r=x.getValueLabel(n,t.axis,i,e.seriesDataIndices,e.valueLabelOpt);u.each(e.seriesDataIndices,function(a){var l=i.getSeriesByIndex(a.seriesIndex),c=a.dataIndexInside,u=l&&l.getDataParams(c);u.axisDim=e.axisDim,u.axisIndex=e.axisIndex,u.axisType=e.axisType,u.axisId=e.axisId,u.axisValue=y.getAxisRawValue(t.axis,n),u.axisValueLabel=r,u&&(s.push(u),o.push(l.formatTooltip(c,!0)))});var l=r;a.push((l?h.encodeHTML(l)+"
":"")+o.join("
"))}})},this),a.reverse(),a=a.join("

");var c=t.position;this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(l,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(l,a,s,Math.random(),r[0],r[1],c)})},_showSeriesItemTooltip:function(e,t,i){var o=this._ecModel,r=t.seriesIndex,a=o.getSeriesByIndex(r),s=t.dataModel||a,l=t.dataIndex,c=t.dataType,u=s.getData(),h=n([u.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var p=s.getDataParams(l,c),f=s.formatTooltip(l,!1,c),g="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,f,p,g,e.offsetX,e.offsetY,e.position,e.target)}),i({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(e,t,i){var n=t.tooltip;if("string"==typeof n){var o=n;n={content:o,formatter:o}}var r=new m(n,this._tooltipModel,this._ecModel),a=r.get("content"),s=Math.random();this._showOrMove(r,function(){this._showTooltipContent(r,a,r.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,i,n,o,r,a,s){if(this._ticket="",e.get("showContent")&&e.get("show")){var l=this._tooltipContent,c=e.get("formatter");a=a||e.get("position");var u=t;if(c&&"string"==typeof c)u=h.formatTpl(c,i,!0);else if("function"==typeof c){var d=b(function(t,n){t===this._ticket&&(l.setContent(n),this._updatePosition(e,a,o,r,l,i,s))},this);this._ticket=n,u=c(i,n,d)}l.setContent(u),l.show(e),this._updatePosition(e,a,o,r,l,i,s)}},_updatePosition:function(e,t,i,n,o,c,h){var d=this._api.getWidth(),p=this._api.getHeight();t=t||e.get("position");var g=o.getSize(),m=e.get("align"),v=e.get("verticalAlign"),y=h&&h.getBoundingRect().clone();if(h&&y.applyTransform(h.transform),"function"==typeof t&&(t=t([i,n],c,o.el,y,{viewSize:[d,p],contentSize:g.slice()})),u.isArray(t))i=w(t[0],d),n=w(t[1],p);else if(u.isObject(t)){t.width=g[0],t.height=g[1];var x=f.getLayoutRect(t,{width:d,height:p});i=x.x,n=x.y,m=null,v=null}else if("string"==typeof t&&h){var b=s(t,y,g);i=b[0],n=b[1]}else{var b=r(i,n,o.el,d,p,m?0:20,v?0:20);i=b[0],n=b[1]}if(m&&(i-=l(m)?g[0]/2:"right"===m?g[0]:0),v&&(n-=l(v)?g[1]/2:"bottom"===v?g[1]:0),e.get("confine")){var b=a(i,n,o.el,d,p);i=b[0],n=b[1]}o.moveTo(i,n)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,i=!!t&&t.length===e.length;return _(t,function(t,n){var o=t.dataByAxis||{},r=e[n]||{},a=r.dataByAxis||[];i&=o.length===a.length,_(o,function(e,t){var n=a[t]||{},o=e.seriesDataIndices||[],r=n.seriesDataIndices||[];i&=e.value===n.value&&e.axisType===n.axisType&&e.axisId===n.axisId&&o.length===r.length,_(o,function(e,t){var n=r[t];i&=e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=e,!!i},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){g.node||(this._tooltipContent.hide(),v.unregister("itemTooltip",t))}})},function(e,t,i){i(412),i(413)},function(e,t,i){function n(e,t,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,o=i[0],r=[],a=0;a<=200&&ot[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)},this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=a.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=i[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimension(o),function(t,i){e[0]<=t&&t<=e[1]&&n.push(i)},!0,this),t.push({seriesId:i.id,dataIndex:n})},this),t},getVisualMeta:function(e){function t(t,i){r.push({value:t,color:e(t,i)})}for(var i=n(this,"outOfRange",this.getExtent()),o=n(this,"inRange",this.option.range.slice()),r=[],a=0,s=0,l=o.length,c=i.length;se[1])break;i.push({color:this.getControllerVisual(r,"color",t),offset:o/100})}return i.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),i},_createBarPoints:function(e,t){var i=this.visualMapModel.itemSize;return[[i[0]-t[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,i=this.visualMapModel.get("inverse");return new c.Group("horizontal"!==t||i?"horizontal"===t&&i?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||i?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,o=i.handleThumbs,r=i.handleLabels;y([0,1],function(a){var s=o[a];s.setStyle("fill",t.handlesColor[a]),s.position[1]=e[a];var l=c.applyTransform(i.handleLabelPoints[a],c.getTransform(s,this.group));r[a].setStyle({x:l[0],y:l[1],text:n.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(e,t,i,n){var o=this.visualMapModel,a=o.getExtent(),s=o.itemSize,l=[0,s[1]],u=v(e,a,l,!0),h=this._shapes,d=h.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",r(!!i,n,u,s[1]));var p={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",p);d.setStyle("fill",f);var g=c.applyTransform(h.indicatorLabelPoint,c.getTransform(d,this.group)),m=h.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",h.barGroup),x=this._orient;m.setStyle({text:(i?i:"")+o.formatValueText(t),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var i=e.visualMapModel.itemSize,n=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);n[1]=x(b(0,n[1]),i[1]),e._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var o=[0,n[1]],r=i.getExtent();e=x(b(o[0],e),o[1]);var l=a(i,r,o),c=[e-l,e+l],u=v(e,o,r,!0),h=[v(c[0],o,r,!0),v(c[1],o,r,!0)];c[0]o[1]&&(h[1]=1/0),t&&(h[0]===-(1/0)?this._showIndicator(u,h[1],"< ",l):h[1]===1/0?this._showIndicator(u,h[0],"> ",l):this._showIndicator(u,u,"≈ ",l));var d=this._hoverLinkDataIndices,p=[];(t||s(i))&&(p=this._hoverLinkDataIndices=i.findTargetDataIndices(h));var m=g.compressBatches(d,p);this._dispatchHighDown("downplay",f.convertDataIndex(m[0])),this._dispatchHighDown("highlight",f.convertDataIndex(m[1]))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,i=this.visualMapModel;if(t&&null!=t.dataIndex){var n=this.ecModel.getSeriesByIndex(t.seriesIndex);if(i.isTargetSeries(n)){var o=n.getData(t.dataType),r=o.getDimension(i.getDataDimension(o)),a=o.get(r,t.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",f.convertDataIndex(e)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,i,n){var o=c.getTransform(t,n?null:this.group);return c[u.isArray(e)?"applyTransform":"transformDirection"](e,o,i)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});e.exports=A},function(e,t,i){function n(e,t){var i=e.inverse;("vertical"===e.orient?!i:i)&&t.reverse()}var o=i(135),r=i(0),a=i(35),s=i(152),l=i(3).reformIntervals,c=o.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){c.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetTargetSeries(),this.resetExtent();var i=this._mode=this._determineMode();u[this._mode].call(this),this._resetSelected(e,t);var n=this.option.categories;this.resetVisual(function(e,t){"categories"===i?(e.mappingMethod="category",e.categories=r.clone(n)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=r.map(this._pieceList,function(e){var e=r.clone(e);return"inRange"!==t&&(e.visual=null),e}))})},completeVisualOption:function(){function e(e,t,i){return e&&e[t]&&(r.isObject(e[t])?e[t].hasOwnProperty(i):e[t]===i)}var t=this.option,i={},n=a.listVisualTypes(),l=this.isCategory();r.each(t.pieces,function(e){r.each(n,function(t){e.hasOwnProperty(t)&&(i[t]=1)})}),r.each(i,function(i,n){var o=0;r.each(this.stateList,function(i){o|=e(t,i,n)||e(t.target,i,n)},this),!o&&r.each(this.stateList,function(e){(t[e]||(t[e]={}))[n]=s.get(n,"inRange"===e?"active":"inactive",l)})},this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var i=this.option,n=this._pieceList,o=(t?i:e).selected||{};if(i.selected=o,r.each(n,function(e,t){var i=this.getSelectedMapKey(e);o.hasOwnProperty(i)||(o[i]=!0)},this),"single"===i.selectedMode){var a=!1;r.each(n,function(e,t){var i=this.getSelectedMapKey(e);o[i]&&(a?o[i]=!1:a=!0)},this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=r.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimension(o),function(t,i){a.findPieceIndex(t,this._pieceList)===e&&n.push(i)},!0,this),t.push({seriesId:i.id,dataIndex:n})},this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var i=e.interval||[];t=i[0]===-(1/0)&&i[1]===1/0?0:(i[0]+i[1])/2}return t},getVisualMeta:function(e){function t(t,r){var a=o.getRepresentValue({interval:t});r||(r=o.getValueState(a));var s=e(a,r);t[0]===-(1/0)?n[0]=s:t[1]===1/0?n[1]=s:i.push({value:t[0],color:s},{value:t[1],color:s})}if(!this.isCategory()){var i=[],n=[],o=this,a=this._pieceList.slice();if(a.length){var s=a[0].interval[0];s!==-(1/0)&&a.unshift({interval:[-(1/0),s]}),s=a[a.length-1].interval[1],s!==1/0&&a.push({interval:[s,1/0]})}else a.push({interval:[-(1/0),1/0]});var l=-(1/0);return r.each(a,function(e){var i=e.interval;i&&(i[0]>l&&t([l,i[0]],"outOfRange"),t(i.slice()),l=i[1])},this),{stops:i,outerColors:n}}}}),u={splitNumber:function(){var e=this.option,t=this._pieceList,i=e.precision,n=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;for(var a=(n[1]-n[0])/o;+a.toFixed(i)!==a&&i<5;)i++;e.precision=i,a=+a.toFixed(i);var s=0;e.minOpen&&t.push({index:s++,interval:[-(1/0),n[0]],close:[0,0]});for(var c=n[0],u=s+o;ss[1]&&console.warn("Piece "+i+"is illegal: "+s+" lower bound should not greater then uppper bound."),s[0]===s[1]&&l[0]&&l[1]&&(n.value=s[0])}n.visual=a.retrieveVisuals(e),t.push(n)},this),n(e,t),l(t),r.each(t,function(e){var t=e.close,i=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,i)},this)}};e.exports=c},function(e,t,i){var n=i(136),o=i(0),r=i(2),a=i(20),s=i(7),l=i(137),c=n.extend({type:"visualMap.piecewise",doRender:function(){function e(e){var a=e.piece,s=new r.Group;s.onclick=o.bind(this._onItemClick,this,a),this._enableHoverLink(s,e.indexInModelPieceList);var d=i.getRepresentValue(a);if(this._createItemSymbol(s,d,[0,0,h[0],h[1]]),f){var p=this.visualMapModel.getValueState(d);s.add(new r.Text({style:{x:"right"===u?-n:h[0]+n,y:h[1]/2,text:a.text,textVerticalAlign:"middle",textAlign:u,textFont:l,fill:c,opacity:"outOfRange"===p?.5:1}}))}t.add(s)}var t=this.group;t.removeAll();var i=this.visualMapModel,n=i.get("textGap"),a=i.textStyleModel,l=a.getFont(),c=a.getTextColor(),u=this._getItemAlign(),h=i.itemSize,d=this._getViewData(),p=d.endsText,f=o.retrieve(i.get("showLabel",!0),!p);p&&this._renderEndsText(t,p[0],h,f,u),o.each(d.viewPieceList,e,this),p&&this._renderEndsText(t,p[1],h,f,u),s.box(i.get("orient"),t,i.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(e,t){function i(e){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:e,batch:l.convertDataIndex(i.findTargetDataIndices(t))})}e.on("mouseover",o.bind(i,this,"highlight")).on("mouseout",o.bind(i,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return l.getItemAlign(e,this.api,e.itemSize);var i=t.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(e,t,i,n,o){if(t){var a=new r.Group,s=this.visualMapModel.textStyleModel;a.add(new r.Text({style:{x:n?"right"===o?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?o:"center",text:t,textFont:s.getFont(),fill:s.getTextColor()}})),e.add(a)}},_getViewData:function(){var e=this.visualMapModel,t=o.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),i=e.get("text"),n=e.get("orient"),r=e.get("inverse");return("horizontal"===n?r:!r)?t.reverse():i&&(i=i.slice().reverse()),{viewPieceList:t,endsText:i}},_createItemSymbol:function(e,t,i){e.add(a.createSymbol(this.getControllerVisual(t,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,i=t.option,n=o.clone(i.selected),r=t.getSelectedMapKey(e);"single"===i.selectedMode?(n[r]=!0,o.each(n,function(e,t){n[t]=t===r})):n[r]=!n[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}});e.exports=c},function(e,t,i){i(1).registerPreprocessor(i(138)),i(139),i(140),i(408),i(409),i(141)},function(e,t,i){i(1).registerPreprocessor(i(138)),i(139),i(140),i(410),i(411),i(141)},function(e,t,i){"use strict";function n(e,t,i){this._model=e}function o(e,t,i,n){var o=i.calendarModel,r=i.seriesModel,a=o?o.coordinateSystem:r?r.coordinateSystem:null;return a===this?a[e](n):null}var r=i(7),a=i(3),s=i(0);n.prototype={constructor:n,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"}]},getHandledRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=a.parseDate(e);var t=e.getFullYear(),i=e.getMonth()+1;i=i<10?"0"+i:i;var n=e.getDate();n=n<10?"0"+n:n;var o=e.getDay();return o=Math.abs((o+7-this.getFirstDayOfWeek())%7),{y:t,m:i,d:n,day:o,time:e.getTime(),formatedDate:t+"-"+i+"-"+n,date:e}},getNextNDay:function(e,t){if(0===(t=t||0))return this.getDateInfo(e);var i=this.getDateInfo(e).time;return this.getDateInfo(i+864e5*t)},update:function(e,t){function i(e,t){return null!=e[t]&&"auto"!==e[t]}this._firstDayOfWeek=this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle.normal").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),c="horizontal"===this._orient?[n,7]:[7,n];s.each([0,1],function(e){i(a,e)&&(l[o[e]]=a[e]*c[e])});var u={width:t.getWidth(),height:t.getHeight()},h=this._rect=r.getLayoutRect(l,u);s.each([0,1],function(e){i(a,e)||(a[e]=h[o[e]]/c[e])}),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,t){var i=this.getDateInfo(e[0]),n=this._rangeInfo,o=i.formatedDate;if(!(t||i.time>=n.start.time&&i.time<=n.end.time))return[NaN,NaN];var r=i.day,a=this._getRangeInfo([n.start.time,o]).weeks;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+(a-1)*this._sh+this._sh/2]:[this._rect.x+(a-1)*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var i=this.dataToPoint(e,t);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,i=Math.floor((e[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,t-1,n):this._getDateByWeeksAndDay(t,i-1,n)},convertToPixel:s.curry(o,"dataToPoint"),convertFromPixel:s.curry(o,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(s.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var i=this.getDateInfo(t),n=i.date;n.setMonth(n.getMonth()+1);var o=this.getNextNDay(n,-1);e=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var r=this._getRangeInfo(e);return r.start.time>r.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t=this.getDateInfo(e[0]),i=this.getDateInfo(e[1]),n=Math.floor(i.time/864e5)-Math.floor(t.time/864e5)+1,o=Math.floor((n+t.day+6)/7);return{range:[t.formatedDate,i.formatedDate],start:t,end:i,allDay:n,weeks:o,fweek:t.day,lweek:i.day}},_getDateByWeeksAndDay:function(e,t,i){var n=this._getRangeInfo(i);if(e>n.weeks||0===e&&tn.lweek)return!1;var o=7*(e-1)-n.fweek+t,r=n.start.time+864e5*o;return this.getDateInfo(r)}},n.dimensions=n.prototype.dimensions,n.getDimensionsInfo=n.prototype.getDimensionsInfo,n.create=function(e,t){var i=[];return e.eachComponent("calendar",function(o){var r=new n(o,e,t);i.push(r),o.coordinateSystem=r}),e.eachSeries(function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("calendarIndex")||0])}),i},i(22).register("calendar",n),e.exports=n},function(e,t,i){"use strict";function n(e,t){var i=e.cellSize;r.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var n=r.map([0,1],function(e){return a.sizeCalculable(t,e)&&(i[e]="auto"),null!=i[e]&&"auto"!==i[e]});a.mergeLayoutParam(e,t,{type:"box",ignoreSize:n})}var o=i(12),r=i(0),a=i(7),s=o.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{normal:{color:"#fff",borderWidth:1,borderColor:"#ccc"}},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",textStyle:{color:"#000"}},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,textStyle:{color:"#000"}},yearLabel:{show:!0,position:null,margin:30,formatter:null,textStyle:{color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}}},init:function(e,t,i,o){var r=a.getLayoutParams(e);s.superApply(this,"init",arguments),n(e,r)},mergeOption:function(e,t){s.superApply(this,"mergeOption",arguments),n(this.option,e)}});e.exports=s},function(e,t,i){var n=i(0),o=i(29),r=i(420),a=function(e,t,i,n,r){o.call(this,e,t,i),this.type=n||"value",this.position=r||"bottom"};a.prototype={constructor:a,index:0,onZero:!1,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},getLabelInterval:function(){var e=this._labelInterval;return e||(e=this._labelInterval=r(this)),e},isLabelIgnored:function(e){if("category"===this.type){var t=this.getLabelInterval();return"function"==typeof t&&!t(e,this.scale.getLabel(e))||e%(t+1)}},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},n.inherits(a,o),e.exports=a},function(e,t,i){"use strict";function n(e){return this._axes[e]}var o=i(0),r=function(e){this._axes={},this._dimList=[],this.name=e||""};r.prototype={constructor:r,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return o.map(this._dimList,n,this)},getAxesByScale:function(e){return e=e.toLowerCase(),o.filter(this.getAxes(),function(t){return t.scale.type===e})},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var i=this._dimList,n=e instanceof Array?[]:{},o=0;o=0;i--)l.asc(t[i])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e)return"inactive";for(var i=0,n=t.length;i=o.length&&(x=o.length-1,y=Math.max(0,Math.floor(x-v+1))),p=[y,x]}var b=f&&p&&g?function(e,t,i){var n,o=p[1]-p[0],r=(t-g*o)/(i-1-o);return n=ea[1])){var s=Math.abs(r[1]);sa;)l+=360*c;return[s,l]},coordToPoint:function(e){var t=e[0],i=e[1]/180*Math.PI;return[Math.cos(i)*t+this.cx,-Math.sin(i)*t+this.cy]}},e.exports=r},function(e,t,i){"use strict";i(432),i(1).extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t;return this.ecModel.eachComponent(e,function(e){e.getCoordSysModel()===this&&(t=e)},this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}})},function(e,t,i){"use strict";function n(e,t){r.call(this,"radius",e,t),this.type="category"}var o=i(0),r=i(29);n.prototype={constructor:n,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},o.inherits(n,r),e.exports=n},function(e,t,i){function n(e,t,i){r.call(this,e,t,i),this.type="value",this.angle=0,this.name="",this.model}var o=i(0),r=i(29);o.inherits(n,r),e.exports=n},function(e,t,i){function n(e,t,i){this._model=e,this.dimensions=[],this._indicatorAxes=o.map(e.getIndicatorModels(),function(e,t){var i="indicator_"+t,n=new r(i,new a);return n.name=e.get("name"),n.model=e,e.axis=n,this.dimensions.push(i),n},this),this.resize(e,i),this.cx,this.cy,this.r,this.startAngle}var o=i(0),r=i(436),a=i(62),s=i(3),l=i(18);n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(e,t){var i=this._indicatorAxes[t];return this.coordToPoint(i.dataToCoord(e),t)},n.prototype.coordToPoint=function(e,t){var i=this._indicatorAxes[t],n=i.angle;return[this.cx+e*Math.cos(n),this.cy-e*Math.sin(n)]},n.prototype.pointToData=function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=Math.sqrt(t*t+i*i);t/=n,i/=n;for(var o,r=Math.atan2(-i,t),a=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]))}else{var f=r.getTicks().length-1;f>a&&(h=i(h));var g=Math.round((n[0]+n[1])/2/h)*h,m=Math.round(a/2);r.setExtent(s.round(g-m*h),s.round(g+(a-m)*h)),r.setInterval(h)}})},n.dimensions=[],n.create=function(e,t){var i=[];return e.eachComponent("radar",function(o){var r=new n(o,e,t);i.push(r),o.coordinateSystem=r}),e.eachSeriesByType("radar",function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("radarIndex")||0])}),i},i(22).register("radar",n),e.exports=n},function(e,t,i){function n(e,t){return s.defaults({show:t},e)}var o=i(143),r=o.valueAxis,a=i(9),s=i(0),l=i(41),c=i(1).extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),o=this.get("axisTick"),r=this.get("axisLabel"),c=this.get("name.textStyle"),u=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),f=s.map(this.get("indicator")||[],function(f){if(null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0),f=s.merge(s.clone(f),{boundaryGap:e,splitNumber:t,scale:i,axisLine:n,axisTick:o,axisLabel:r,name:f.text,nameLocation:"end",nameGap:d,nameTextStyle:c,triggerEvent:p},!1),u||(f.name=""),"string"==typeof h){var g=f.name;f.name=h.replace("{value}",null!=g?g:"")}else"function"==typeof h&&(f.name=h(f.name,f));var m=s.extend(new a(f,null,this.ecModel),l);return m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this.getIndicatorModels=function(){return f}},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:s.merge({lineStyle:{color:"#bbb"}},r.axisLine),axisLabel:n(r.axisLabel,!1),axisTick:n(r.axisTick,!1),splitLine:n(r.splitLine,!0),splitArea:n(r.splitArea,!0),indicator:[]}});e.exports=c},function(e,t,i){function n(e,t){return t.type||(t.data?"category":"value")}var o=i(12),r=i(59),a=i(0),s=o.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};a.merge(s.prototype,i(41)),r("single",s,n,l),e.exports=s},function(e,t,i){function n(e,t,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,i),this.model=e}var o=i(441),r=i(18),a=i(7);n.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:n,_init:function(e,t,i){var n=this.dimension,a=new o(n,r.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===a.type;a.onBand=s&&e.get("boundaryGap"),a.inverse=e.get("inverse"),a.orient=e.get("orient"),e.axis=a,a.model=e,a.coordinateSystem=this,this._axis=a},update:function(e,t){e.eachSeries(function(e){if(e.coordinateSystem===this){var t=e.getData(),i=this.dimension;this._axis.scale.unionExtentFromData(t,e.coordDimToDataDim(i)),r.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(e,t){this._rect=a.getLayoutRect({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,i=t.isHorizontal(),n=i?[0,e.width]:[0,e.height],o=t.reverse?1:0;t.setExtent(n[o],n[1-o]),this._updateAxisTransform(t,i?e.x:e.y)},_updateAxisTransform:function(e,t){var i=e.getExtent(),n=i[0]+i[1],o=e.isHorizontal();e.toGlobalCoord=o?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord=o?function(e){return e-t}:function(e){return n-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),i=this.getAxis();return"horizontal"===i.orient?i.contain(i.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:i.contain(i.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),i=this.getRect(),n=[],o="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),n[o]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-o]=0===o?i.y+i.height/2:i.x+i.width/2,n}},e.exports=n},function(e,t,i){var n=i(0),o=i(29),r=i(18),a=function(e,t,i,n,r){o.call(this,e,t,i),this.type=n||"value",this.position=r||"bottom",this.orient=null,this._labelInterval=null};a.prototype={constructor:a,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getLabelInterval:function(){var e=this._labelInterval;if(!e){var t=this.model,i=t.getModel("axisLabel"),o=i.get("interval");if("category"!==this.type||"auto"!==o)return e=this._labelInterval="auto"===o?0:o;e=this._labelInterval=r.getAxisLabelInterval(n.map(this.scale.getTicks(),this.dataToCoord,this),t.getFormattedLabels(),i.getModel("textStyle").getFont(),this.isHorizontal())}return e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},n.inherits(a,o),e.exports=a},function(e,t,i){function n(e,t){var i=[];return e.eachComponent("singleAxis",function(n,r){var a=new o(n,e,t);a.name="single_"+r,a.resize(n,t),n.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=i&&i.coordinateSystem}}),i}var o=i(440);i(22).register("single",{create:n,dimensions:o.prototype.dimensions})},function(e,t,i){"use strict";function n(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function o(e,t,i){this.node1=e,this.node2=t,this.dataIndex=null==i?-1:i}var r=i(0),a=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=a.prototype;s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(e,t){e=e||""+t;var i=this._nodesMap;if(!i[e]){var o=new n(e,t);return o.hostGraph=this,this.nodes.push(o),i[e]=o,o}},s.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},s.getNodeById=function(e){return this._nodesMap[e]},s.addEdge=function(e,t,i){var r=this._nodesMap,a=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),e instanceof n||(e=r[e]),t instanceof n||(t=r[t]),e&&t){var s=e.id+"-"+t.id;if(!a[s]){var l=new o(e,t,i);return l.hostGraph=this,this._directed&&(e.outEdges.push(l),t.inEdges.push(l)),e.edges.push(l),e!==t&&t.edges.push(l),this.edges.push(l),a[s]=l,l}}},s.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},s.getEdge=function(e,t){e instanceof n&&(e=e.id),t instanceof n&&(t=t.id);var i=this._edgesMap;return this._directed?i[e+"-"+t]:i[e+"-"+t]||i[t+"-"+e]},s.eachNode=function(e,t){for(var i=this.nodes,n=i.length,o=0;o=0&&e.call(t,i[o],o)},s.eachEdge=function(e,t){for(var i=this.edges,n=i.length,o=0;o=0&&i[o].node1.dataIndex>=0&&i[o].node2.dataIndex>=0&&e.call(t,i[o],o)},s.breadthFirstTraverse=function(e,t,i,o){if(t instanceof n||(t=this._nodesMap[t]),t){for(var r="out"===i?"outEdges":"in"===i?"inEdges":"edges",a=0;a=0&&i.node2.dataIndex>=0});for(var o=0,r=n.length;o=0&&this[e][t].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[e][t].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};r.mixin(n,l("hostGraph","data")),r.mixin(o,l("hostGraph","edgeData")),a.Node=n,a.Edge=o,e.exports=a},function(e,t,i){function n(e,t){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=r.map(t||[],function(t){return new a(t,e,e.ecModel)})}function o(e,t){var i=t.children;e.parentNode!==t&&(i.push(e),e.parentNode=t)}var r=i(0),a=i(9),s=i(11),l=i(148),c=i(19),u=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};u.prototype={constructor:u,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,i){"function"==typeof e&&(i=t,t=e,e=null),e=e||{},r.isString(e)&&(e={order:e});var n,o=e.order||"preorder",a=this[e.attr||"children"];"preorder"===o&&(n=t.call(i,this));for(var s=0;!n&&st&&(t=n.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,i=this.children,n=i.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,i=t.data.getItemModel(this.dataIndex),n=this.getLevelModel();return i.getModel(e,(n||t.hostModel).getModel(e))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)}},n.prototype={constructor:n,type:"tree",eachNode:function(e,t,i){this.root.eachNode(e,t,i)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,i=0,n=t.length;i=0;n--)h.isIdInner(t[n])&&t.splice(n,1);e[i]=t}}),delete e[_],e},getTheme:function(){return this._theme},getComponent:function(e,t){var i=this._componentsMap[e];if(i)return i[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var i=e.index,n=e.id,o=e.name,r=this._componentsMap[t];if(!r||!r.length)return[];var a;if(null!=i)m(i)||(i=[i]),a=f(g(i,function(e){return r[e]}),function(e){return!!e});else if(null!=n){var s=m(n);a=f(r,function(e){return s&&v(n,e.id)>=0||!s&&e.id===n})}else if(null!=o){var c=m(o);a=f(r,function(e){return c&&v(o,e.name)>=0||!c&&e.name===o})}else a=r.slice();return l(a,e)},findComponents:function(e){var t=e.query,i=e.mainType,n=function(e){var t=i+"Index",n=i+"Id",o=i+"Name";return!e||null==e[t]&&null==e[n]&&null==e[o]?null:{mainType:i,index:e[t],id:e[n],name:e[o]}}(t),o=n?this.queryComponents(n):this._componentsMap[i];return function(t){return e.filter?f(t,e.filter):t}(l(o,e))},eachComponent:function(e,t,i){var n=this._componentsMap;if("function"==typeof e)i=t,t=e,p(n,function(e,n){p(e,function(e,o){t.call(i,n,e,o)})});else if(u.isString(e))p(n[e],t,i);else if(y(e)){var o=this.findComponents(e);p(o,t,i)}},getSeriesByName:function(e){var t=this._componentsMap.series;return f(t,function(t){return t.name===e})},getSeriesByIndex:function(e){return this._componentsMap.series[e]},getSeriesByType:function(e){var t=this._componentsMap.series;return f(t,function(t){return t.subType===e})},getSeries:function(){return this._componentsMap.series.slice()},eachSeries:function(e,t){c(this),p(this._seriesIndices,function(i){var n=this._componentsMap.series[i];e.call(t,n,i)},this)},eachRawSeries:function(e,t){p(this._componentsMap.series,e,t)},eachSeriesByType:function(e,t,i){c(this),p(this._seriesIndices,function(n){var o=this._componentsMap.series[n];o.subType===e&&t.call(i,o,n)},this)},eachRawSeriesByType:function(e,t,i){return p(this.getSeriesByType(e),t,i)},isSeriesFiltered:function(e){return c(this),u.indexOf(this._seriesIndices,e.componentIndex)<0},filterSeries:function(e,t){c(this);var i=f(this._componentsMap.series,e,t);this._seriesIndices=s(i)},restoreData:function(){var e=this._componentsMap;this._seriesIndices=s(e.series);var t=[];p(e,function(e,i){t.push(i)}),x.topologicalTravel(t,x.getAllClassMainTypes(),function(t,i){p(e[t],function(e){e.restoreData()})})}});u.mixin(w,i(150)),e.exports=w},function(e,t,i){function n(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function o(e,t,i){var n,o,r=[],a=[],s=e.timeline;if(e.baseOption&&(o=e.baseOption),(s||e.options)&&(o=o||{},r=(e.options||[]).slice()),e.media){o=o||{};var l=e.media;d(l,function(e){e&&e.option&&(e.query?a.push(e):n||(n=e))})}return o||(o=e),o.timeline||(o.timeline=s),d([o].concat(r).concat(c.map(a,function(e){return e.option})),function(e){d(t,function(t){t(e,i)})}),{baseOption:o,timelineOptions:r,mediaDefault:n,mediaList:a}}function r(e,t,i){var n={width:t,height:i,aspectratio:t/i},o=!0;return c.each(e,function(e,t){var i=t.match(m);if(i&&i[1]&&i[2]){var r=i[1],s=i[2].toLowerCase();a(n[s],e,r)||(o=!1)}}),o}function a(e,t,i){return"min"===i?e>=t:"max"===i?e<=t:e===t}function s(e,t){return e.join(",")===t.join(",")}function l(e,t){t=t||{},d(t,function(t,i){if(null!=t){var n=e[i];if(h.hasClass(i)){t=u.normalizeToArray(t),n=u.normalizeToArray(n);var o=u.mappingToExists(n,t);e[i]=f(o,function(e){return e.option&&e.exist?g(e.exist,e.option,!0):e.exist||e.option})}else e[i]=g(n,t,!0)}})}var c=i(0),u=i(5),h=i(12),d=c.each,p=c.clone,f=c.map,g=c.merge,m=/^(min|max)?(.+)$/;n.prototype={constructor:n,setOption:function(e,t){e=p(e,!0);var i=this._optionBackup,n=o.call(this,e,t,!i);this._newBaseOption=n.baseOption,i?(l(i.baseOption,n.baseOption),n.timelineOptions.length&&(i.timelineOptions=n.timelineOptions),n.mediaList.length&&(i.mediaList=n.mediaList),n.mediaDefault&&(i.mediaDefault=n.mediaDefault)):this._optionBackup=n},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=f(t.timelineOptions,p),this._mediaList=f(t.mediaList,p),this._mediaDefault=p(t.mediaDefault),this._currentMediaIndices=[],p(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,i=this._timelineOptions;if(i.length){var n=e.getComponent("timeline");n&&(t=p(i[n.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,o=this._mediaDefault,a=[],l=[];if(!n.length&&!o)return l;for(var c=0,u=n.length;ct&&(t=e[i]);return t},min:function(e){for(var t=1/0,i=0;i1){var h;"string"==typeof o?h=i[o]:"function"==typeof o&&(h=o),h&&(t=t.downSample(s.dim,1/u,h,n),e.setData(t))}}},this)}},function(e,t,i){function n(e,t){return h(e,u(t))}var o=i(0),r=i(63),a=i(3),s=i(62),l=r.prototype,c=s.prototype,u=a.getPrecisionSafe,h=a.round,d=Math.floor,p=Math.ceil,f=Math.pow,g=Math.log,m=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new s},getTicks:function(){var e=this._originalScale,t=this._extent,i=e.getExtent();return o.map(c.getTicks.call(this),function(o){var r=a.round(f(this.base,o));return r=o===t[0]&&e.__fixMin?n(r,i[0]):r,r=o===t[1]&&e.__fixMax?n(r,i[1]):r},this)},getLabel:c.getLabel,scale:function(e){return e=l.scale.call(this,e),f(this.base,e)},setExtent:function(e,t){var i=this.base;e=g(e)/g(i),t=g(t)/g(i),c.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=l.getExtent.call(this);t[0]=f(e,t[0]),t[1]=f(e,t[1]);var i=this._originalScale,o=i.getExtent();return i.__fixMin&&(t[0]=n(t[0],o[0])),i.__fixMax&&(t[1]=n(t[1],o[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=g(e[0])/g(t),e[1]=g(e[1])/g(t),l.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getDataExtent(t,!0,function(e){return e>0}))},niceTicks:function(e){e=e||10;var t=this._extent,i=t[1]-t[0];if(!(i===1/0||i<=0)){var n=a.quantity(i),o=e/i*n;for(o<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var r=[a.round(p(t[0]/n)*n),a.round(d(t[1]/n)*n)];this._interval=n,this._niceExtent=r}},niceExtent:function(e,t,i){c.niceExtent.call(this,e,t,i);var n=this._originalScale;n.__fixMin=t,n.__fixMax=i}});o.each(["contain","normalize"],function(e){m.prototype[e]=function(t){return t=g(t)/g(this.base),l[e].call(this,t)}}),m.create=function(){return new m},e.exports=m},function(e,t,i){var n=i(0),o=i(63),r=o.prototype,a=o.extend({type:"ordinal",init:function(e,t){this._data=e,this._extent=t||[0,e.length-1]},parse:function(e){return"string"==typeof e?n.indexOf(this._data,e):Math.round(e)},contain:function(e){return e=this.parse(e),r.contain.call(this,e)&&null!=this._data[e]},normalize:function(e){return r.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(r.scale.call(this,e))},getTicks:function(){for(var e=[],t=this._extent,i=t[0];i<=t[1];)e.push(i),i++;return e},getLabel:function(e){return this._data[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getDataExtent(t,!1))},niceTicks:n.noop,niceExtent:n.noop});a.create=function(){return new a},e.exports=a},function(e,t,i){var n=i(0),o=i(3),r=i(4),a=i(62),s=a.prototype,l=Math.ceil,c=Math.floor,u=function(e,t,i,n){for(;i>>1;e[o][2]>1,u=-7,h=i?o-1:0,d=i?-1:1,p=e[t+h];for(h+=d,r=p&(1<<-u)-1,p>>=-u,u+=s;u>0;r=256*r+e[t+h],h+=d,u-=8);for(a=r&(1<<-u)-1,r>>=-u,u+=n;u>0;a=256*a+e[t+h],h+=d,u-=8);if(0===r)r=1-c;else{if(r===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),r-=c}return(p?-1:1)*a*Math.pow(2,r-n)},t.write=function(e,t,i,n,o,r){var a,s,l,c=8*r-o-1,u=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:r-1,f=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+h>=1?d/l:d*Math.pow(2,1-h),t*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(t*l-1)*Math.pow(2,o),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,o),a=0));o>=8;e[i+p]=255&s,p+=f,s/=256,o-=8);for(a=a<0;e[i+p]=255&a,p+=f,a/=256,c-=8);e[i+p-f]|=128*g}},function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},function(e,t,i){e.exports=i.p+"b02bdc1b846fd65473922f5f62832108.ttf"},function(e,t){e.exports="data:application/font-woff;base64,d09GRgABAAAAAB9EABAAAAAANAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABoAAAAcdCWJ3kdERUYAAAGIAAAAHQAAACAAWAAET1MvMgAAAagAAABNAAAAYFdvXOBjbWFwAAAB+AAAAFAAAAFS5mHtc2N2dCAAAAJIAAAAGAAAACQNZf70ZnBnbQAAAmAAAAT8AAAJljD3npVnYXNwAAAHXAAAAAgAAAAIAAAAEGdseWYAAAdkAAAUPAAAIUw4RPqwaGVhZAAAG6AAAAAvAAAANgxJKwtoaGVhAAAb0AAAAB4AAAAkCQwFDGhtdHgAABvwAAAAVgAAAKyk5AaSbG9jYQAAHEgAAABYAAAAWJwQpAxtYXhwAAAcoAAAACAAAAAgAU4CJG5hbWUAABzAAAABNQAAAit/uX3PcG9zdAAAHfgAAACyAAABsMLAXoJwcmVwAAAerAAAAJUAAACVpbm+ZnicY2BgYGQAgjO2i86D6MufP7fDaABY8wj8AAB4nGNgZGBg4ANiCQYQYGJgBEItIGYB8xgABhgAXQAAAHicY2Bh4WX8wsDKwMA0k+kMAwNDP4RmfM1gzMgJFGVgY2aAAUYBBgQISHNNYTjAUPFMnbnhfwNDDHMDQwNIDUiOWQKsRIGBEQCQ/wz4AAAAeJxjYGBgZoBgGQZGBhDwAfIYwXwWBgMgzQGETEC64pnKM/X//8Eshmdq////75ZikWKG6gIDRjYGOJcRpIeJARUwMtAMMNPOaJIAAAr1C6J4nGNgQANGDEbMEv8fMjf8b4DRAEVmCF94nJ1VaXfTRhSVvGRP2pLEUETbMROnNBqZsAUDLgQpsgvp4kBoJegiJzFd+AN87Gf9mqfQntOP/LTeO14SWnpO2xxL776ZO2/TexNxjKjseSCuUUdKXveksv5UKvGzpK7rXp4o6fWSumynnpIWUStNlczF/SO5RHUuVrJJsEnG616inqs874PSSzKsKEsi2iLayrwsTVNPHD9NtTi9ZJCmgZSMgp1Ko48QqlEvkaoOZUqHXr2eipsFUjYa8aijonoQKu4czzmljTpgpHKVw1yxWW3ke0nW8/qP0kSn2Nt+nGDDY/QjV4FUjMzA9jQeh08k09FeIjORf+y4TpSFUhtcAK9qsMegSvGhuPFBthPI1HjN8XVRqTQyFee6z7LZLB2PlRDlwd/YoZQbur+Ds9OmqFZjcfvAMwY5KZQoekgWgA5Tmaf2CNo8tEBmjfqj4hzwdQgvshBlKs+ULOhQBzJndveTYtrdSddkcaBfBjJvdveS3cfDRa+O9WW7vmAKZzF6khSLixHchzLrp0y71AhHGRdzwMU8XuLWtELIyAKMSiPMUVv4ntmoa5wdY290Ho/VU2TSRfzdTH49OKlY4TjLekfcSJy7x67rwlUgiwinGu8njizqUGWw+vvSkussOGGYZ8VCxZcXvncR+S8xbj+Qd0zhUr5rihLle6YoU54xRYVyGYWlXDHFFOWqKaYpa6aYoTxrilnKc0am/X/p+334Pocz5+Gb0oNvygvwTfkBfFN+CN+UH8E3pYJvyjp8U16Eb0pt4G0pUxGqmLF0+O0lWrWhajkzuMA+D2TNiPZFbwTSMEp11Ukpdb+lVf4k+euix2Prk5K6NWlsiLu6abP4+HTGb25dMuqGnatPjCPloT109dg0oVP7zeHfzl3dKi65q4hqw6g2IpgEgDbotwLxTfNsOxDzll18/EMwAtTPqTVUU3Xt1JUaD/K8q7sYnuTA44hjoI3rrq7ASxNTVkPz4WcpMhX7g7yplWrnsHX5ZFs1hzakwtsi9pVknKbtveRVSZWV96q0Xj6fhiF6ehbXhLZs3cmkEqFRM87x8K4qRdmRlnLUP0Lnl6K+B5xxdkHrwzHuRN1BtTXsdPj5ZiNrCyaGprS9E6BkLF0VY1HlWZxjdA1rHW/cEp6upycW8Sk2mY/CSnV9lI9uI80rdllm0ahKdXSX9lnsqzb9MjtoWB1nP2mqNu7qYVuNKlI9Vb4GtAd2Vt34UA8rPuqgUVU12+jayGM0LmvGfwzIYlz560arJtPv4JZqp81izV1Bc9+YLPdOL2+9yX4r56aRpv9Woy0jl/0cjvltEeDfOSh2U9ZAvTVpiHEB2QsYLtVE5w7N3cYg4jr7H53T/W/NwiA5q22N2Tz14erpKJI7THmcZZtZ1vUozVG0k8Q+RWKrw4nBTY3hWG7KBgbk7j+s38M94K4siw+8bSSAuM/axKie6uDuHlcjNOwruQ8YmWPHuQ2wA+ASxObYtSsdALvSJecOwGfkEDwgh+AhOQS75NwE+Jwcgi/IIfiSHIKvyLkF0COHYI8cgkfkEDwmpw2wTw7BE3IIviaH4BtyWgAJOQQpOQRPySF4ZmRzUuZvqch1oO8sugH0ve0aKFtQfjByZcLOqFh23yKyDywi9dDI1Qn1iIqlDiwi9blFpP5o5NqE+hMVS/3ZIlJ/sYjUF8aXmYGU13oveUcHfwIrvqx+AAEAAf//AA94nKVaC3Bc1Xk+/zn3uXe1e3fva6V9aXe1u5JWXq32aUlIun7IGGTZlsAPGTABHEUOIQkUcAgMESUEKMnQItl0SId2mEwyzWNipqV5kpB0ChNDQzLBtBPaztQJM23iaWdo+gi1rvufu7ItOWCcZnX3nHPP8z/nf33/WRFKsoRAlX6RMCKTPrdACGGUsH2EAtApQinsErAEWwiRJVHAbiwihku1SCZSrEVyWdD/7ZVX6BdX9mbpPI4VycDZf2bfZjFikwoZIbPkIByZOm7s3u9eTYF0hDpIaJ6wEITYQQKKAtfroCoBST0YgaAkSMGDRBO0w2FQiBRUpP0kIItU0ALCXBRCoY4Z0tERCG2OTx13cMapS8yoqIH533LKGE654/KmFOYva05350XTwTzOFwLl0P9vwrm5Obf3mmtGR6tDjnPNwWsOXrd/dHZ0dmpLqzE0Uh1xKk5lJjIUi/RarmGXQCpBNkSTkGnUC416mZbAyoiWaZshmpMKJShmZOxRzJbpGDhZybRr1Wa94EhyiKVgVKo2i2UoForQqI/TUajaSYDOeNc10Xwiyv4QArFi6iHvavoMWOlcKJQOdW/wrhpIZs3Ozm5DORKMRoMd0einFUnUBCqEQ/ktM7vdHsdWRVUUJe9zYrjL+na6j6Yh2Fns2tGnJ4SO7nj0pkfqzshI3lEBFhfBiHeHvjAR6Yrgc1+XbfSE9A4l1tWRixgmHPm5FjOCycLPUIRR9h4QCF0kSdLvFgNAiQMCpS4AoWSBARXoggiCcCN2TJKk4ZiOFC3l7WYLmmWQZBXKIEuW6UClZjs2/zrwL9H+EDwfpYVG1Lvdu9WoG2YUvgf8QwMAn1KkDljSN3RT3TsGCxHQ9Zite7fzZhE4SQSLZxdRZzhdWTed7HSsAJGAgMvbyDTvMoPUw2SfRfUSFDg9KZ+eFNKTyxah0igUC/xbBOnSC8LCpen16SFnF+nZy6aniasWQmAjO0KAx1JtIT3NVpN/W/RtpMe7zacHPuj98So98PhvQQ9+F5Fvn2jzzUE+BZBj1EVeUYHzjdAF3nM936AgySCloNni54Tk1PGccnhG/FukMVzX2+Kvi8Qc9df1Js6vSz9+abp9uhg5yr5OnyQacVyT0wnT/IRmeNtkPYKH0xaeQi6TlRx4KrErAR9ppadXxOl069kExOH9jR07Gv6Za2c/wzrYZhIk0l8EREDVK9RxqG1FTKkIUIhj5+aOHU3vs5CP745fmAc+8i7jm7jhgoTj7RbQt+Jx7ym+GMy/43jcy7E1e7mI0f5eoFl1wJZwL4XWRXuh9+H0n21OTTX9ucbP/rtYZgdIlIw8p+J4cKeO96DljKDHoAt8RuQawaXQ/IXX190495xlWroQLYko14U6rqniwraJvMzRnt6Ed29yeCYBLj2U3D2cWNmX6Isk4CFe9l6ghxLDu5NYh/qMMixwnQqTAhl1N6aAMi7AAlkggigsSCAycQH9GFvw3dg0d2OzBL3YNl3XC3rBjHU6umyUCJpHM0Wr47ReBgZSdpAW6hNIUhr8BCmjH3ztW4/t3v3Yt9qZ7D2mGIr8Q1muyab8R1DFtKoobPF8D5553/Mek2Xlh4rf+AQMKUoVh+H5XaA9TUqk4VZjukIErn94QCKIBOaRYgGl/xD6UkGcJqIozPBdTVrRLrMrKpkllPeqY5th1EdJRprRTmSLnO4iWg9sinaPg16G7hDoNg2c0FKapp04oUEAS5inAxdeG2CffvTR094vMIWvnNC0QJq3pbRA4OWXA2sGrKiPnj7fd90+wqTG91Hrz8QEgfJ9UBBQjedxDwSfQ3ju63THTJgJR8d9COh40LNUU9QMAWvWB6GQDeMmMJHMNO4KE7s6gdvEhDdfxIsRWW7g8S8fxaQhSUePShJ/P7rM32X56Hqe0EnZUmqKsrSkYGbJy0uY1GV5eVnGzFKWuI6f503eza7lDNcYLsEwg9xBneGcQDFWkWIZ7aKKBCOVaIwwQdVUuX6iP6HEu8caNU2w4GEsWeYoFuBhrLIs7x4s+DU/Xy149/i9rd/ojOPJqq0kHIGRPvKkq+mAIutG0WZNTB3XUAPz6O+AyQzkeY7mJCbPKSARIk1jJpFZEYhEtiHQsbFz6kJnbPWb9hJZZjOEsYCMunt5syEg0XrMTE/ejJjdqlPK1MYRLhRylVwFs6xkVaxKDjPTdmqNXLbQVi4bkQltnpx/fHlBWfrxsrKw/Pj8mwfMoPZp2ZA/EwgaB9jy/OGjyuHl5cPK0cPzy+zLtv56IPC6bvuyB6t8SpJRMugOjLYatd5U25cFOcdom2PU5xjzOTa4oSfXZwl6ybiki81fsvU9/C8lv5t/pu/pLtfoXQLRdcXdMNyoDVWKyUSMb77jXTZfHshl/c2/iz+fgAq68/w7NJ739RX2tiKG3tlpUgnAI+/a/B57p8HL2Dkl7z/7EHsY940+jGsnAURVQHjM8QFCGfONPJdeyibrZj3CnQwq43n/vNa/fb1rexcM1OPbVj61LV6DDeteb4nFIFHZurVCvxqLeW8Obd06xGMiUkIcdxLXd0gc7cMzqyrnowW4XgOVKLKq7AuATFBp9hJUkRnUIEICEo8tqti5h3eGhffo65ba3fwKSSXS/rUDGJOnMJPZLB/K1c9JJGKxRDqRTiVj8Vg8Gsk3MhE9aJUQ9ucsrnsIEmqZarMRqSNwaOQAQzf+pT/wPvxkNVEsJFghUSjGa0+u/B19wXsZ4ULojjuKiTP/kygWE0xJFO8482E6tvLXMHbWt0ESWcSzwD/SidHjANlItpLd5Ab3ADdPQIS5sBhiWKAy0DkiBwNUUWVlrkOjqiSp0zxXpRkdJFWazOe6ugjZOb39ys2brhhtNiqDfb25gfxAV7Yrm07iAp1NoxaJlLhRwVhFSkLO5DC9vaN6YRDERr1Z82MTf48Z3C0gsvCxVbbQYO9Spr+fiT3S2fcKHcrF6B/EcqlQ2Lu3J5HM4R4XG1Mri1NwT9jWdTv8dNgOh89n9Pv3x/OFrvsB7P6uQqErlhEF6nbjxz3zwlQDLT5pTMHPtUhE874Y1PUg7H3nMpfpPXiOX8Jz7ECJGnabaNAFxDEMkS+j81wMBAbCHFd6X7y5A6VkEoFwPGYbOg4L1qUweqE1HM4Zpi/ljUiNV+DJWPAN709mR+j4yOzsSKY/6YVSfb9O9uPDFr0nVn49PDs7TH8xPHvmuWR/XwqW+1MA/cl1tkZA5Bl1w7KE9IhkDNtujEO41GJ5KLZkB11eIXvttVCDN089f8/P7ipf/+Bfeq/sgTffeP6eN+4qP3g9158LeCFGekjdHSIgcdyGIsIQ3zDcp0iID3j4PkUyGdGzmUTcMvVYJIZwTV8PGIAHrDxeNXw/E+EvjYsQgvdGur801l9KZqtZfC4CBCdLYyV8vNNOJuN4/xvr7o6twQB+PEIEypAZGLUTKrRJJWwaXSQnkZFJy8rlDdEoRcwUtFFXrh1HpwBJzJbBd4LnoNNjuuPod790550vnX7pTifjwOJjvJo34ptfe+dLd2Mn7uYvnFeaDJIJst2d1CSVoVIxtHdzAUFhvp33C2jpfasxWa1ku6M6JSOtykR1or/YPZgd7HL0dDQdkEmYhoOhEicxCaaNEX1zDO0ju+h9fXv9ovZ6AeZ/Nbhly+CvKpvplqELRfhvzDZXzlW0S3DdlsH/rGzFmqGtNH+hYeUNrOc931pf78vcSdx3iZikQj7qhnosXURbkrMpqgWGGnE0pLYPJrmDC2wigsBtIdMYN7P92Gr6ng+x59zaNrdzTTVjwvRqo8CN6F+VWrFYN/IRMnyvKaE6zlocxkAkJaBmjdMJiISEHMrfILDFFdK3Lzr69AP3D9z/wNOj0X19Zxap3JkoOYxYpaQjSeHaZ+77dF/fIw/fWyyw0khPNFxdvHn3rps/UQsbPSPe2ytvMdWOhkKGIctUD234vf3bJ2+6OZv1MR4MIZGvop9Lu4l1vtyP1hBjiESjGguVjAyGTr6y15u72M2Zcjlz5mlM4dXy5jI+xPdbBAI4338RZD/6roybEpk/3TTPoe14EJUb/MNReZTrFAqxcFE+efMkPvDquizQrl3ztNdc5WGYDJFR0N3gaJVSeah3lYdB5FKVyCIV5YOESiKVDhFJECWMeQQmCuyQbwOUNn8Z46EbaMD5y7lfa4+k87/dUC4aQ5ccykeJMhHn1g50m5c7Bq339OpIBtv4VZ0NZHhjo14u9eQSXZahSiQMIRUZt94p51iZoo6FgSHcLAzSMsUXGkG3luHuCri/8j3X0tjevWP0pzz9FEhxw0yJ4vGAo0UFdgMNJOMJWd7en6ZLqX7vKvc6Fx9W2ju28iN/WGVsr/dJqgQ1UfT+1QgI4m1Mi0ZVdR+8kiqVUt4+SG4Yn9g/Pj6wGmus2p+4j7ZEQsVp1EPGUS6qkCjSGayik0YuZ+S6eVSa8S1fpm2IIxkuNrlMxDfO8DVvKV0qpeG20hUluI0XvSVe/AEmv9HUxrnFs99nz7MRlNskKbo9NsqqgqEl5RdV/EIPyxjd0xsJScSxk2wI4VJPW1RtMQQFjL/Gqe3YURljZR4hU+HYsdeOHYMDU9/42tar6/WlF1+8+n2JK182jGjDfIk3vXZs4Iqe1uTVL/7Ncr1+9fu8//jICaOBarHqC7+M53Et+RC5m9zuqh+69YN1gV87tO+N7VWfgGKHfoJyZV2VO343Ygj81CjsOd+LW6Su1bv2OWzltxTnBlKYROEJ3n3XHbd/+LadO2KOiEa7DBgeF3n8xAMR/w0lhkf//N4Sg1AULcDISpZ4wYdIaYxgsMaxsR+/zvTfEOsjXEr7t2atcZiAcT5Vq8kLrTaiGoK2vKFtYWdYIqJPZDJhUdQ69AGjW5L0YjA4+FBFCxZ1c8BAEewIimI4k5nQIwnUb1SDRCTs+kOCHeEBsz1Eq2zeUtG0Xt0Y4GLboYmCnsm4up4QuB3yhGs/9rE/P3JkD7yoJwVmbNw4EdaLWkenFmZUUjuCAwPBDlWSY0FDEAKFSHhi43CUCUndrNo5SX7HMdqGDZo/RjMFphV0fWLjRuPCGO+tuz5/Fz4oTjXEYX+Lsn4L2exO1IbQ4+/fi6ETjYQpEZnLAQplPhADkcJvAJVbbtq+7YrR3kKiy0E4lufwhPqX6vUWvyzNc37wUJLzDdEqHnut6vPDyfO4kl/O88oqr7JMzsx236KIXUzkgyXJpixyBrWQeey2eJ/j9DXHm30OP7olzQ51hEJ6eti0YzHbHE6Hw1hha3CYB1Axy9o4fqEpyVu8J+Hc50OBWBBHh9J/qvU1J5r+zGlVZPicVHVRoqzTtFsZf3LGJFFXX2OiKIiqiFVWZ6eFk2Y2WmZMkAU98BNRFUQlEBDROgqvqyE0maytz/TsI8IonvEV5BDZ4rqpLgpCfxG9Kp6zWxMpwkoBhAVuPBfQQYnkMMF1fJMqziIXxG2Hbtm9a3Sk2UjGo3jMou1kJbmJwstFuoUSXhhc1RIeufpqgIIvj0PR1wQsO2iReOeqgy++KrVHczVoVtvqkjqnSBK/jmLD4QDTgAp1NZE+HkICmWL8sne7fgM6blnGQOwGfXvvLw0FgbsQejaVUGsCBKmqn8gdyD5wojkcqovR6LOD9vhpp6ze0Hll5w1q2Tk9bg8+G42K9dBw84Q1PKKCwtToqd49XU8FFRYCgdqs0XMyIqPTjJzsaTAbwWcYbfdTXXt6T0VVpoB6xLJqR7r7x045zfBTfZsli2atkyMjJ60staTNfU+Fm86psf7uI0FuLs+dfZHEXOviu2x0MRSl1r92e89DKdLd1rB1ORsLBIOXQd8qRln1NTpJkA1k0t1M0NNSUfJxt8hxt6Tg0UvCgTUAXOb32pOpJJC+Yk8uuSE1EHOiEVUhOujoZEUffa9GCzSaDQFi9Oo4B7DZwpgfIiZRD7mVowRx+Myj3/nRdx6dwUz86TdvvfWbPPF+aiYSvYk/w9RcRPy+0O7A+7En2l0w8Y4mjTeNZNJ4LlFMkvWxjkNypOT28l9GBY4SsBqty9yFa+m2vbcsw/HvRNfdSJNVO9zwI9aIjwEujnB+5Uc27eeiW+iVcnYolxv6p85crhOMzmy2k8fuebR1b5yPK0bJFvIBssO9ioSIqoTUfeEOlLMAlUCR5jhC5PAQTxrjeE2Tp4ksazNEk7XJ+UM3Hbxu7trZXTuuunKTa9SNBv/UdKeE0Sj/4dEnmP9q6LzHu8Fj9hRwmI0xPDo3tM2ixftEzoWyuTbHRgGtJB+S5oyD+4NqCaUsUFKDXwmqA2rQT77iV/hN+1aeCQQordJAwBuBcrcov472aCaobprYsPLDDRObeL8fDwYa8b+PNwKDP1aD8EtvkU8Ji7zpXcqeST+28kg4FgzG6D/slCiVbsEVVx5pzexs0XtxZTX40VguF/tocK0sxEmNuFy2y0kq8zBfAmmByIJ8GIVcgGmqoK8Bhn0PoG7yO38QJoEMVXpyGOxHwx0BBUUoDnGVh3B+XJlsR5uj6DRsHpv5P99CcdwHP1yQuENpthweJqP+luk4TaFeffyJZG/yCS7T7UIyCbec2lKc2Dnxuc9/7v5NmyZ2vfranlPh/pT3hU3Hjz9YLj/op/D2Eh+zlOhLnC+s/OPP9vzk1Z3upk2fwLE4Q++WU+FUP0QwAPnkV48/ODj44PGvXri33IXnYGFMsMvd0d1JBRlcSeUZnsc8IjpRBvEQYjmRymL71oP/AwKZVfhvuNscm5JSf082mbCHnCE9HNQUmVjUCqCuZ87rBwrTuVseQHDUvuyJ+N63sfrTjo3CJYTPDMXz+UaezeTrhbz37YSxG992G4l4Xv+uMWx8V88vFrrAxU5xfu3Fc++FrgL9kjXn3cdvfuCTc1Y+Hou+blmvR2Px/P8BEpxdcHicY2BkYGAA4iUXFTLj+W2+MsizMIDA5c+f2xH0/wZWPeYGIJeDgQkkCgBf1AyCAHicY2BkYGBu+N/AEMOawAAErHoMjAyoQBsAVCkDJAAAeJxjLGNQYgACxlAGBuaXDDosQDYLAyMjEDOA2YwMzEA2NxgD2awJDHYQNWiYkYERiEHsVCDWBuIGIA7FqhYTq0P1GrPYMTCBMUJOFUz7MzAAAGi0Bh0AAAAAACgAKAAoAWQBsAH4AkACjAKyAtIC8gMYA1oDuAQcBIYE1gVaBdgGVAaUBxoHvggOCDQIiAjMCUgJyAnwCioLDAtMC5QMgg00DfIOQg6qDvgPsBA0EKYAAQAAACsAdwAGAAAAAAACACYANABsAAAAigF3AAAAAHicdY9Na8JAEIbfaNQWivTY45BL9bBhE6L4cZX4D3oXSTSQGkjWj0v/QQs99dxjf2ZfN0uhBxNm55mZd2dnADzgCx6un4cBHh134CNw3CW9Ovap+XbcQ+pNHfcx8D6o9Px7Zob21pU7uMOT4y5WeHbsU/PpuId3/DjuY+i9IUMJhQJbVDgAWamKbUX4y7RhagNjfY0drwlihND0C9r/Nm1uysycFlMVMUJaHUxa1btM4lDLQtxjpKmaq1hH1Nya54WVGg0r7QORe3xJM/xzbHCkr7Cn5jqqYIQTNSGHSDBmrNhbMLNU85zYDgpru4x20cV2TyyfeQasBzbK7dlwmKxuCg4ecY2lGJNvjqbaFwcjo5MO58lYVCkzUbVMtKi1xJruIlEi6izBOhCVi2puLvsLTjBRRQAAAHicbc3LNsJxGEbh3/47JHKIQomcwlomfV8Uw5Cb6ApMzLoCF46lPfSu9a49fEpV/vb9VbL8t/vfU6oyp2KFVdZYp8YGdTbZosE2O+yyR5N9DmjR5pAjjunQ5YQep5zR55wLLrnimgE33HJXW3x+zMbDoQ2bdmQf7KMd24l9ss92al/sq32zM/u+bOiHfuiHfuiHfuiHfuiHfuiHfuiHfuiHfuqnfuqnfuqnbk5+APaSXBUAAEu4AMhSWLEBAY5ZuQgACABjILABI0QgsAMjcLAORSAgS7gADlFLsAZTWliwNBuwKFlgZiCKVViwAiVhsAFFYyNisAIjRLMKCQUEK7MKCwUEK7MODwUEK1myBCgJRVJEswoNBgQrsQYBRLEkAYhRWLBAiFixBgNEsSYBiFFYuAQAiFixBgFEWVlZWbgB/4WwBI2xBQBEAAAA"},function(e,t,i){i(500);var n=i(37)(i(209),i(492),null,null);e.exports=n.exports},function(e,t,i){i(501);var n=i(37)(i(210),i(493),null,null);e.exports=n.exports},function(e,t,i){i(502);var n=i(37)(i(211),i(494),null,null);e.exports=n.exports},function(e,t,i){i(503);var n=i(37)(i(212),i(495),null,null);e.exports=n.exports},function(e,t,i){i(497);var n=i(37)(i(213),i(489),null,null);e.exports=n.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view"}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Addr"}},[i("span",[e._v(e._s(t.row.addr))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"app"}},[i("header",{staticClass:"grid-content header-color"},[i("el-row",[i("a",{staticClass:"brand",attrs:{href:"#"}},[e._v("frp")])])],1),e._v(" "),i("section",[i("el-row",{attrs:{gutter:20}},[i("el-col",{attrs:{id:"side-nav",xs:24,md:4}},[i("el-menu",{attrs:{"default-active":"1",mode:"vertical",theme:"light",router:"false"},on:{select:e.handleSelect}},[i("el-menu-item",{attrs:{index:"/"}},[e._v("Overview")]),e._v(" "),i("el-submenu",{attrs:{index:"/proxies"}},[i("template",{slot:"title"},[e._v("Proxies")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/tcp"}},[e._v("TCP")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/udp"}},[e._v("UDP")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/http"}},[e._v("HTTP")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/https"}},[e._v("HTTPS")])],2),e._v(" "),i("el-menu-item",{attrs:{index:""}},[e._v("Help")])],1)],1),e._v(" "),i("el-col",{attrs:{xs:24,md:20}},[i("div",{attrs:{id:"content"}},[i("router-view")],1)])],1)],1),e._v(" "),i("footer")])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticStyle:{width:"600px",height:"400px"},attrs:{id:e.proxy_name}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-row",[i("el-col",{attrs:{md:12}},[i("div",{staticClass:"source"},[i("el-form",{staticClass:"server_info",attrs:{"label-position":"left"}},[i("el-form-item",{attrs:{label:"Http Port"}},[i("span",[e._v(e._s(e.vhost_http_port))])]),e._v(" "),i("el-form-item",{attrs:{label:"Https Port"}},[i("span",[e._v(e._s(e.vhost_https_port))])]),e._v(" "),i("el-form-item",{attrs:{label:"Auth Timeout"}},[i("span",[e._v(e._s(e.auth_timeout))])]),e._v(" "),i("el-form-item",{attrs:{label:"Subdomain Host"}},[i("span",[e._v(e._s(e.subdomain_host))])]),e._v(" "),i("el-form-item",{attrs:{label:"Max PoolCount"}},[i("span",[e._v(e._s(e.max_pool_count))])]),e._v(" "),i("el-form-item",{attrs:{label:"HeartBeat Timeout"}},[i("span",[e._v(e._s(e.heart_beat_timeout))])]),e._v(" "),i("el-form-item",{attrs:{label:"Client Counts"}},[i("span",[e._v(e._s(e.client_counts))])]),e._v(" "),i("el-form-item",{attrs:{label:"Current Conns"}},[i("span",[e._v(e._s(e.cur_conns))])]),e._v(" "),i("el-form-item",{attrs:{label:"Proxy Counts"}},[i("span",[e._v(e._s(e.proxy_counts))])])],1)],1)]),e._v(" "),i("el-col",{attrs:{md:12}},[i("div",{staticStyle:{width:"400px",height:"250px","margin-bottom":"30px"},attrs:{id:"traffic"}}),e._v(" "),i("div",{staticStyle:{width:"400px",height:"250px"},attrs:{id:"proxies"}})])],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view"}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Domains"}},[i("span",[e._v(e._s(t.row.custom_domains))])]),e._v(" "),i("el-form-item",{attrs:{label:"SubDomain"}},[i("span",[e._v(e._s(t.row.subdomain))])]),e._v(" "),i("el-form-item",{attrs:{label:"locations"}},[i("span",[e._v(e._s(t.row.locations))])]),e._v(" "),i("el-form-item",{attrs:{label:"HostRewrite"}},[i("span",[e._v(e._s(t.row.host_header_rewrite))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view"}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Domains"}},[i("span",[e._v(e._s(t.row.custom_domains))])]),e._v(" "),i("el-form-item",{attrs:{label:"SubDomain"}},[i("span",[e._v(e._s(t.row.subdomain))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view",name:t.row.name},on:{click:e.fetchData2}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Addr"}},[i("span",[e._v(e._s(t.row.addr))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t,i){"use strict";function n(e,t){e||"undefined"!=typeof console&&console.warn("[vue-router] "+t)}function o(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:n(!1,'props in "'+e.path+'" is a '+typeof t+", expecting an object, function or boolean.")}}function r(e,t){if(void 0===t&&(t={}),e){var i;try{i=a(e)}catch(e){i={}}for(var n in t)i[n]=t[n];return i}return t}function a(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var i=e.replace(/\+/g," ").split("="),n=Le(i.shift()),o=i.length>0?Le(i.join("=")):null;void 0===t[n]?t[n]=o:Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]}),t):t}function s(e){var t=e?Object.keys(e).map(function(t){var i=e[t];if(void 0===i)return"";if(null===i)return Ce(t);if(Array.isArray(i)){var n=[];return i.slice().forEach(function(e){void 0!==e&&(null===e?n.push(Ce(t)):n.push(Ce(t)+"="+Ce(e)))}),n.join("&")}return Ce(t)+"="+Ce(i)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function l(e,t,i){var n={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:t.query||{},params:t.params||{},fullPath:u(t),matched:e?c(e):[]};return i&&(n.redirectedFrom=u(i)),Object.freeze(n)}function c(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function u(e){var t=e.path,i=e.query;void 0===i&&(i={});var n=e.hash;return void 0===n&&(n=""),(t||"/")+s(i)+n}function h(e,t){return t===Pe?e===t:!!t&&(e.path&&t.path?e.path.replace(De,"")===t.path.replace(De,"")&&e.hash===t.hash&&d(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&d(e.query,t.query)&&d(e.params,t.params)))}function d(e,t){void 0===e&&(e={}),void 0===t&&(t={});var i=Object.keys(e),n=Object.keys(t);return i.length===n.length&&i.every(function(i){return String(e[i])===String(t[i])})}function p(e,t){return 0===e.path.replace(De,"/").indexOf(t.path.replace(De,"/"))&&(!t.hash||e.hash===t.hash)&&f(e.query,t.query)}function f(e,t){for(var i in t)if(!(i in e))return!1;return!0}function g(e){if(!(e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.target&&e.target.getAttribute){var t=e.target.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function m(e){if(e)for(var t,i=0;i=0&&(t=e.slice(n),e=e.slice(0,n));var o=e.indexOf("?");return o>=0&&(i=e.slice(o+1),e=e.slice(0,o)),{path:e,query:i,hash:t}}function b(e){return e.replace(/\/\//g,"/")}function _(e,t,i){var n=t||Object.create(null),o=i||Object.create(null);return e.forEach(function(e){w(n,o,e)}),{pathMap:n,nameMap:o}}function w(e,t,i,n,o){var r=i.path,a=i.name,s={path:A(r,n),components:i.components||{default:i.component},instances:{},name:a,parent:n,matchAs:o,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach(function(i){var n=o?b(o+"/"+i.path):void 0;w(e,t,i,s,n)}),void 0!==i.alias)if(Array.isArray(i.alias))i.alias.forEach(function(o){var r={path:o,children:i.children};w(e,t,r,n,s.path)});else{var l={path:i.alias,children:i.children};w(e,t,l,n,s.path)}e[s.path]||(e[s.path]=s),a&&(t[a]||(t[a]=s))}function A(e,t){return e=e.replace(/\/$/,""),"/"===e[0]?e:null==t?e:b(t.path+"/"+e)}function S(e,t){for(var i,n=[],o=0,r=0,a="",s=t&&t.delimiter||"/";null!=(i=je.exec(e));){var l=i[0],c=i[1],u=i.index;if(a+=e.slice(r,u),r=u+l.length,c)a+=c[1];else{var h=e[r],d=i[2],p=i[3],f=i[4],g=i[5],m=i[6],v=i[7];a&&(n.push(a),a="");var y=null!=d&&null!=h&&h!==d,x="+"===m||"*"===m,b="?"===m||"*"===m,_=i[2]||s,w=f||g;n.push({name:p||o++,prefix:d||"",delimiter:_,optional:b,repeat:x,partial:y,asterisk:!!v,pattern:w?L(w):v?".*":"[^"+C(_)+"]+?"})}}return r-1&&(n.params[l]=t.params[l]);if(r)return n.path=B(r.path,n.params,'named route "'+o+'"'),a(r,n,i)}else if(n.path){n.params={};for(var h in c)if(U(h,n.params,n.path))return a(c[h],n,i)}return a(null,n)}function o(e,t){var o=e.redirect,r="function"==typeof o?o(l(e,t)):o;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return a(null,t);var s=r,c=s.name,h=s.path,d=t.query,p=t.hash,f=t.params;if(d=s.hasOwnProperty("query")?s.query:d,p=s.hasOwnProperty("hash")?s.hash:p,f=s.hasOwnProperty("params")?s.params:f,c){u[c];return i({_normalized:!0,name:c,query:d,hash:p,params:f},void 0,t)}if(h){var g=j(h,e);return i({_normalized:!0,path:B(g,f,'redirect route with path "'+g+'"'),query:d,hash:p},void 0,t)}return n(!1,"invalid redirect option: "+JSON.stringify(r)),a(null,t)}function r(e,t,n){var o=B(n,t.params,'aliased route with path "'+n+'"'),r=i({_normalized:!0,path:o});if(r){var s=r.matched,l=s[s.length-1];return t.params=r.params,a(l,t)}return a(null,t)}function a(e,t,i){return e&&e.redirect?o(e,i||t):e&&e.matchAs?r(e,t,e.matchAs):l(e,t,i)}var s=_(e),c=s.pathMap,u=s.nameMap;return{match:i,addRoutes:t}}function U(e,t,i){var n=V(e),o=n.regexp,r=n.keys,a=i.match(o);if(!a)return!1;if(!t)return!0;for(var s=1,l=a.length;s=e.length?i():e[o]?t(e[o],function(){n(o+1)}):n(o+1)};n(0)}function re(e){if(!e)if(Re){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/"}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function ae(e,t){var i,n=Math.max(e.length,t.length);for(i=0;i=0?t:0)+"#"+e)}function Me(e,t,i){var n="hash"===i?"#"+t:t;return e?b(e+"/"+n):n}var ke,Te={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var i=t.props,n=t.children,r=t.parent,a=t.data;a.routerView=!0;for(var s=i.name,l=r.$route,c=r._routerViewCache||(r._routerViewCache={}),u=0,h=!1;r;)r.$vnode&&r.$vnode.data.routerView&&u++,r._inactive&&(h=!0),r=r.$parent;if(a.routerViewDepth=u,h)return e(c[s],a,n);var d=l.matched[u];if(!d)return c[s]=null,e();var p=c[s]=d.components[s],f=a.hook||(a.hook={});return f.init=function(e){d.instances[s]=e.child},f.prepatch=function(e,t){d.instances[s]=t.child},f.destroy=function(e){d.instances[s]===e.child&&(d.instances[s]=void 0)},a.props=o(l,d.props&&d.props[s]),e(p,a,n)}},Ie=function(e){return"%"+e.charCodeAt(0).toString(16)},Ce=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,Ie).replace(/%2C/g,",")},Le=decodeURIComponent,De=/\/?$/,Pe=l(null,{path:"/"}),ze=[String,Object],Ee=[String,Array],Oe={name:"router-link",props:{to:{type:ze,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Ee,default:"click"}},render:function(e){var t=this,i=this.$router,n=this.$route,o=i.resolve(this.to,n,this.append),r=o.location,a=o.route,s=o.href,c={},u=this.activeClass||i.options.linkActiveClass||"router-link-active",d=r.path?l(null,r):a;c[u]=this.exact?h(n,d):p(n,d);var f=function(e){g(e)&&(t.replace?i.replace(r):i.push(r))},v={click:g};Array.isArray(this.event)?this.event.forEach(function(e){v[e]=f}):v[this.event]=f;var y={class:c};if("a"===this.tag)y.on=v,y.attrs={href:s};else{var x=m(this.$slots.default);if(x){x.isStatic=!1;var b=ke.util.extend;(x.data=b({},x.data)).on=v;(x.data.attrs=b({},x.data.attrs)).href=s}else y.on=v}return e(this.tag,y,this.$slots.default)}},Re="undefined"!=typeof window,Ne=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Ve=Ne,Be=N,Ge=S,Fe=M,He=I,Ue=R,je=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Be.parse=Ge,Be.compile=Fe,Be.tokensToFunction=He,Be.tokensToRegExp=Ue;var We=Object.create(null),Ze=Object.create(null),Ye=Object.create(null),qe=Re&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Xe=Re&&window.performance&&window.performance.now?window.performance:Date,Je=$(),Qe=function(e,t){this.router=e,this.base=re(t),this.current=Pe,this.pending=null,this.ready=!1,this.readyCbs=[]};Qe.prototype.listen=function(e){this.cb=e},Qe.prototype.onReady=function(e){this.ready?e():this.readyCbs.push(e)},Qe.prototype.transitionTo=function(e,t,i){var n=this,o=this.router.match(e,this.current);this.confirmTransition(o,function(){n.updateRoute(o),t&&t(o),n.ensureURL(),n.ready||(n.ready=!0,n.readyCbs.forEach(function(e){e(o)}))},i)},Qe.prototype.confirmTransition=function(e,t,i){var n=this,o=this.current,r=function(){i&&i()};if(h(e,o)&&e.matched.length===o.matched.length)return this.ensureURL(),r();var a=ae(this.current.matched,e.matched),s=a.updated,l=a.deactivated,c=a.activated,u=[].concat(ce(l),this.router.beforeHooks,ue(s),c.map(function(e){return e.beforeEnter}),ge(c));this.pending=e;var d=function(t,i){if(n.pending!==e)return r();t(e,o,function(e){e===!1?(n.ensureURL(!0),r()):"string"==typeof e||"object"==typeof e?("object"==typeof e&&e.replace?n.replace(e):n.push(e),r()):i(e)})};oe(u,d,function(){var i=[];oe(de(c,i,function(){return n.current===e}),d,function(){if(n.pending!==e)return r();n.pending=null,t(e),n.router.app&&n.router.app.$nextTick(function(){i.forEach(function(e){return e()})})})})},Qe.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(i){i&&i(e,t)})};var Ke=function(e){function t(t,i){var n=this;e.call(this,t,i);var o=t.options.scrollBehavior;o&&W(),window.addEventListener("popstate",function(e){n.transitionTo(xe(n.base),function(e){o&&Z(t,e,n.current,!0)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,i){var n=this;this.transitionTo(e,function(e){ie(b(n.base+e.fullPath)),Z(n.router,e,n.current,!1),t&&t(e)},i)},t.prototype.replace=function(e,t,i){var n=this;this.transitionTo(e,function(e){ne(b(n.base+e.fullPath)),Z(n.router,e,n.current,!1),t&&t(e)},i)},t.prototype.ensureURL=function(e){if(xe(this.base)!==this.current.fullPath){var t=b(this.base+this.current.fullPath);e?ie(t):ne(t)}},t.prototype.getCurrentLocation=function(){return xe(this.base)},t}(Qe),$e=function(e){function t(t,i,n){e.call(this,t,i),n&&be(this.base)||_e()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;window.addEventListener("hashchange",function(){_e()&&e.transitionTo(we(),function(e){Se(e.fullPath)})})},t.prototype.push=function(e,t,i){this.transitionTo(e,function(e){Ae(e.fullPath),t&&t(e)},i)},t.prototype.replace=function(e,t,i){this.transitionTo(e,function(e){Se(e.fullPath),t&&t(e)},i)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;we()!==t&&(e?Ae(t):Se(t))},t.prototype.getCurrentLocation=function(){return we()},t}(Qe),et=function(e){function t(t,i){e.call(this,t,i),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,i){var n=this;this.transitionTo(e,function(e){n.stack=n.stack.slice(0,n.index+1).concat(e),n.index++,t&&t(e)},i)},t.prototype.replace=function(e,t,i){var n=this;this.transitionTo(e,function(e){n.stack=n.stack.slice(0,n.index).concat(e),t&&t(e)},i)},t.prototype.go=function(e){var t=this,i=this.index+e;if(!(i<0||i>=this.stack.length)){var n=this.stack[i];this.confirmTransition(n,function(){t.index=i,t.updateRoute(n)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Qe),tt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.afterHooks=[],this.matcher=H(e.routes||[]);var t=e.mode||"hash";switch(this.fallback="history"===t&&!qe,this.fallback&&(t="hash"),Re||(t="abstract"),this.mode=t,t){case"history":this.history=new Ke(this,e.base);break;case"hash":this.history=new $e(this,e.base,this.fallback);break;case"abstract":this.history=new et(this,e.base)}},it={currentRoute:{}};tt.prototype.match=function(e,t,i){return this.matcher.match(e,t,i)},it.currentRoute.get=function(){return this.history&&this.history.current},tt.prototype.init=function(e){var t=this;if(this.apps.push(e),!this.app){this.app=e;var i=this.history;if(i instanceof Ke)i.transitionTo(i.getCurrentLocation());else if(i instanceof $e){var n=function(){i.setupListeners()};i.transitionTo(i.getCurrentLocation(),n,n)}i.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},tt.prototype.beforeEach=function(e){this.beforeHooks.push(e)},tt.prototype.afterEach=function(e){this.afterHooks.push(e)},tt.prototype.onReady=function(e){this.history.onReady(e)},tt.prototype.push=function(e,t,i){this.history.push(e,t,i)},tt.prototype.replace=function(e,t,i){this.history.replace(e,t,i)},tt.prototype.go=function(e){this.history.go(e)},tt.prototype.back=function(){this.go(-1)},tt.prototype.forward=function(){this.go(1)},tt.prototype.getMatchedComponents=function(e){var t=e?this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},tt.prototype.resolve=function(e,t,i){var n=G(e,t||this.history.current,i),o=this.match(n,t),r=o.redirectedFrom||o.fullPath;return{location:n,route:o,href:Me(this.history.base,r,this.mode),normalizedTo:n,resolved:o}},tt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Pe&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(tt.prototype,it),tt.install=v,tt.version="2.2.1",Re&&window.Vue&&window.Vue.use(tt),t.a=tt},function(e,t,i){var n=i(221);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("7a01456a",n,!0)},function(e,t,i){var n=i(222);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("927c941a",n,!0)},function(e,t,i){var n=i(223);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("63e3f719",n,!0)},function(e,t,i){var n=i(224);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("00f6a0cc",n,!0)},function(e,t,i){var n=i(225);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("40322540",n,!0)},function(e,t,i){var n=i(226);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("0841007c",n,!0)},function(e,t,i){var n=i(227);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("eb5bcc74",n,!0)},function(e,t){e.exports=function(e,t){for(var i=[],n={},o=0;o=0;o--)if(!n[o].silent&&n[o]!==i&&!n[o].ignore&&r(n[o],e,t))return n[o]}},a.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){u.prototype[e]=function(t){var i=this.findHover(t.zrX,t.zrY,null);if("mousedown"===e)this._downel=i,this._upel=i;else if("mosueup"===e)this._upel=i;else if("click"===e&&this._downel!==this._upel)return;this.dispatchToElement(i,e,t)}}),a.mixin(u,l),a.mixin(u,s),e.exports=u},function(e,t,i){function n(){return!1}function o(e,t,i,n){var o=document.createElement(t),r=i.getWidth(),a=i.getHeight(),s=o.style;return s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=a+"px",o.width=r*n,o.height=a*n,o.setAttribute("data-zr-dom-id",e),o}var r=i(0),a=i(69),s=i(174),l=i(173),c=function(e,t,i){var s;i=i||a.devicePixelRatio,"string"==typeof e?s=o(e,"canvas",t,i):r.isObject(e)&&(s=e,e=s.id),this.id=e,this.dom=s;var l=s.style;l&&(s.onselectstart=n,l["-webkit-user-select"]="none",l["user-select"]="none",l["-webkit-touch-callout"]="none",l["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",l.padding=0,l.margin=0,l["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=t,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};c.prototype={constructor:c,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var e=this.dpr;this.domBack=o("back-"+this.id,"canvas",this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!=e&&this.ctxBack.scale(e,e)},resize:function(e,t){var i=this.dpr,n=this.dom,o=n.style,r=this.domBack;o.width=e+"px",o.height=t+"px",n.width=e*i,n.height=t*i,r&&(r.width=e*i,r.height=t*i,1!=i&&this.ctxBack.scale(i,i))},clear:function(e){var t=this.dom,i=this.ctx,n=t.width,o=t.height,r=this.clearColor,a=this.motionBlur&&!e,c=this.lastFrameAlpha,u=this.dpr;if(a&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(t,0,0,n/u,o/u)),i.clearRect(0,0,n,o),r){var h;r.colorStops?(h=r.__canvasGradient||s.getGradient(i,r,{x:0,y:0,width:n,height:o}),r.__canvasGradient=h):r.image&&(h=l.prototype.getCanvasPattern.call(r,i)),i.save(),i.fillStyle=h||r,i.fillRect(0,0,n,o),i.restore()}if(a){var d=this.domBack;i.save(),i.globalAlpha=c,i.drawImage(d,0,0,n,o),i.restore()}}},e.exports=c},function(e,t,i){"use strict";function n(e){return parseInt(e,10)}function o(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}function r(e){e.__unusedCount++}function a(e){1==e.__unusedCount&&e.clear()}function s(e,t,i){return y.copy(e.getBoundingRect()),e.transform&&y.applyTransform(e.transform),x.width=t,x.height=i,!y.intersect(x)}function l(e,t){if(e==t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var i=0;i=0&&i.splice(n,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,i=0;i=0){if(!s){if(s=this._progressiveLayers[Math.min(c++,4)],s.ctx.save(),s.renderScope={},s&&s.__progress>s.__maxProgress){g=s.__nextIdxNotProg-1;continue}l=s.__progress,s.__dirty||(f=l),s.__progress=f+1}x===f&&this._doPaintEl(v,s,!0,s.renderScope)}else this._doPaintEl(v,n,t,a);v.__dirty=!1}}s&&i(s),r&&r.restore(),this._furtherProgressive=!1,d.each(this._progressiveLayers,function(e){e.__maxProgress>=e.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(e,t,i,n){var o=t.ctx,r=e.transform;if((t.__dirty||i)&&!e.invisible&&0!==e.style.opacity&&(!r||r[0]||r[3])&&(!e.culling||!s(e,this._width,this._height))){var a=e.__clipPaths;(n.prevClipLayer!==t||l(a,n.prevElClipPaths))&&(n.prevElClipPaths&&(n.prevClipLayer.ctx.restore(),n.prevClipLayer=n.prevElClipPaths=null,n.prevEl=null),a&&(o.save(),c(a,o),n.prevClipLayer=t,n.prevElClipPaths=a)),e.beforeBrush&&e.beforeBrush(o),e.brush(o,n.prevEl||null),n.prevEl=e,e.afterBrush&&e.afterBrush(o)}},getLayer:function(e){if(this._singleCanvas)return this._layers[0];var t=this._layers[e];return t||(t=new m("zr_"+e,this,this.dpr),t.__builtin__=!0,this._layerConfig[e]&&d.merge(t,this._layerConfig[e],!0),this.insertLayer(e,t),t.initContext()),t},insertLayer:function(e,t){var i=this._layers,n=this._zlevelList,r=n.length,a=null,s=-1,l=this._domRoot;if(i[e])return void p("ZLevel "+e+" has been used already");if(!o(t))return void p("Layer of zlevel "+e+" is not valid");if(r>0&&e>n[0]){for(s=0;se);s++);a=i[n[s]]}if(n.splice(s+1,0,e),i[e]=t,!t.virtual)if(a){var c=a.dom;c.nextSibling?l.insertBefore(t.dom,c.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)},eachLayer:function(e,t){var i,n,o=this._zlevelList;for(n=0;n=0){a!==g&&(a=g,l++);var v=h.__frame=l-1;if(!r){var y=Math.min(s,4);r=i[y],r||(r=i[y]=new m("progressive",this,this.dpr),r.initContext()),r.__maxProgress=0}r.__dirty=r.__dirty||h.__dirty,r.elCount++,r.__maxProgress=Math.max(r.__maxProgress,v),r.__maxProgress>=r.__progress&&(f.__dirty=!0)}else h.__frame=-1,r&&(r.__nextIdxNotProg=c,s++,r=null)}r&&(s++,r.__nextIdxNotProg=c),this.eachBuiltinLayer(function(e,t){n[t]!==e.elCount&&(e.__dirty=!0)}),i.length=Math.min(s,5),d.each(i,function(e,t){o[t]!==e.elCount&&(h.__dirty=!0),e.__dirty&&(e.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},configLayer:function(e,t){if(t){var i=this._layerConfig;i[e]?d.merge(i[e],t,!0):i[e]=t;var n=this._layers[e];n&&d.merge(n,i[e],!0)}},delLayer:function(e){var t=this._layers,i=this._zlevelList,n=t[e];n&&(n.dom.parentNode.removeChild(n.dom),delete t[e],i.splice(d.indexOf(i,e),1))},resize:function(e,t){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=e&&(n.width=e),null!=t&&(n.height=t),e=this._getSize(0),t=this._getSize(1),i.style.display="",this._width!=e||t!=this._height){i.style.width=e+"px",i.style.height=t+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);d.each(this._progressiveLayers,function(i){i.resize(e,t)}),this.refresh(!0)}return this._width=e,this._height=t,this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){if(e=e||{},this._singleCanvas)return this._layers[0].dom;var t=new m("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clearColor=e.backgroundColor,t.clear();for(var i=this.storage.getDisplayList(!0),n={},o=0;o=0&&(this.delFromMap(r.id),this._roots.splice(s,1),r instanceof a&&r.delChildrenFromStorage(this))}},addToMap:function(e){return e instanceof a&&(e.__storage=this),e.dirty(!1),this._elements[e.id]=e,this},get:function(e){return this._elements[e]},delFromMap:function(e){var t=this._elements,i=t[e];return i&&(delete t[e],i instanceof a&&(i.__storage=null)),this},dispose:function(){this._elements=this._renderList=this._roots=null},displayableSortFunc:n},e.exports=l},function(e,t,i){"use strict";var n=i(0),o=i(26).Dispatcher,r=i(164),a=i(163),s=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};s.prototype={constructor:s,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),i=0;i=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),i=0;ii||d+ha&&(a+=o);var f=Math.atan2(u,c);return f<0&&(f+=o),f>=r&&f<=a||f+o>=r&&f+o<=a}}},function(e,t,i){var n=i(31);e.exports={containStroke:function(e,t,i,o,r,a,s,l,c,u,h){if(0===c)return!1;var d=c;return!(h>t+d&&h>o+d&&h>a+d&&h>l+d||he+d&&u>i+d&&u>r+d&&u>s+d||ut&&u>n&&u>a&&u>l||u1&&o(),d=g.cubicAt(t,n,a,l,_[0]),m>1&&(p=g.cubicAt(t,n,a,l,_[1]))),2==m?y<_[0]?f+=dt&&s>n&&s>r||s=0&&c<=1){for(var u=0,h=g.quadraticAt(t,n,r,c),d=0;di||s<-i)return 0;var l=Math.sqrt(i*i-s*s);b[0]=-l,b[1]=l;var c=Math.abs(n-o);if(c<1e-4)return 0;if(c%y<1e-4){n=0,o=y;var u=r?1:-1;return a>=b[0]+e&&a<=b[1]+e?u:0}if(r){var l=n;n=f(o),o=f(l)}else n=f(n),o=f(o);n>o&&(o+=y);for(var h=0,d=0;d<2;d++){var p=b[d];if(p+e>a){var g=Math.atan2(s,p),u=r?1:-1;g<0&&(g=y+g),(g>=n&&g<=o||g+y>=n&&g+y<=o)&&(g>Math.PI/2&&g<1.5*Math.PI&&(u=-u),h+=u)}}return h}function l(e,t,i,o,l){for(var u=0,f=0,g=0,y=0,x=0,b=0;b1&&(i||(u+=m(f,g,y,x,o,l))),1==b&&(f=e[b],g=e[b+1],y=f,x=g),_){case c.M:y=e[b++],x=e[b++],f=y,g=x;break;case c.L:if(i){if(v(f,g,e[b],e[b+1],t,o,l))return!0}else u+=m(f,g,e[b],e[b+1],o,l)||0;f=e[b++],g=e[b++];break;case c.C:if(i){if(h.containStroke(f,g,e[b++],e[b++],e[b++],e[b++],e[b],e[b+1],t,o,l))return!0}else u+=r(f,g,e[b++],e[b++],e[b++],e[b++],e[b],e[b+1],o,l)||0;f=e[b++],g=e[b++];break;case c.Q:if(i){if(d.containStroke(f,g,e[b++],e[b++],e[b],e[b+1],t,o,l))return!0}else u+=a(f,g,e[b++],e[b++],e[b],e[b+1],o,l)||0;f=e[b++],g=e[b++];break;case c.A:var w=e[b++],A=e[b++],S=e[b++],M=e[b++],k=e[b++],T=e[b++],I=(e[b++],1-e[b++]),C=Math.cos(k)*S+w,L=Math.sin(k)*M+A;b>1?u+=m(f,g,C,L,o,l):(y=C,x=L);var D=(o-w)*M/S+w;if(i){if(p.containStroke(w,A,M,k,k+T,I,t,D,l))return!0}else u+=s(w,A,M,k,k+T,I,D,l);f=Math.cos(k+T)*S+w,g=Math.sin(k+T)*M+A;break;case c.R:y=f=e[b++],x=g=e[b++];var P=e[b++],z=e[b++],C=y+P,L=x+z;if(i){if(v(y,x,C,x,t,o,l)||v(C,x,C,L,t,o,l)||v(C,L,y,L,t,o,l)||v(y,L,y,x,t,o,l))return!0}else u+=m(C,x,C,L,o,l),u+=m(y,L,y,x,o,l);break;case c.Z:if(i){if(v(f,g,y,x,t,o,l))return!0}else u+=m(f,g,y,x,o,l);f=y,g=x}}return i||n(g,x)||(u+=m(f,g,y,x,o,l)||0),0!==u}var c=i(53).CMD,u=i(165),h=i(513),d=i(167),p=i(512),f=i(168).normalizeRadian,g=i(31),m=i(169),v=u.containStroke,y=2*Math.PI,x=1e-4,b=[-1,-1,-1],_=[-1,-1];e.exports={contain:function(e,t,i){return l(e,0,!1,t,i)},containStroke:function(e,t,i,n){return l(e,t,!0,i,n)}}},function(e,t,i){"use strict";function n(e){var t=e[1][0]-e[0][0],i=e[1][1]-e[0][1];return Math.sqrt(t*t+i*i)}function o(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var r=i(26),a=function(){this._track=[]};a.prototype={constructor:a,recognize:function(e,t,i){return this._doTrack(e,t,i),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,i){var n=e.touches;if(n){for(var o={points:[],touches:[],target:t,event:e},a=0,s=n.length;a1&&r&&r.length>1){var s=n(r)/n(a);!isFinite(s)&&(s=1),t.pinchScale=s;var l=o(r);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}};e.exports=a},function(e,t,i){function n(e){return"mousewheel"===e&&d.browser.firefox?"DOMMouseScroll":e}function o(e,t,i){var n=e._gestureMgr;"start"===i&&n.clear();var o=n.recognize(t,e.handler.findHover(t.zrX,t.zrY,null),e.dom);if("end"===i&&n.clear(),o){var r=o.type;t.gestureEvent=r,e.handler.dispatchToElement(o.target,r,o.event)}}function r(e){e._touching=!0,clearTimeout(e._touchTimer),e._touchTimer=setTimeout(function(){e._touching=!1},700)}function a(e){var t=e.pointerType;return"pen"===t||"touch"===t}function s(e){function t(e,t){return function(){if(!t._touching)return e.apply(t,arguments)}}u.each(y,function(t){e._handlers[t]=u.bind(_[t],e)}),u.each(b,function(t){e._handlers[t]=u.bind(_[t],e)}),u.each(v,function(i){e._handlers[i]=t(_[i],e)})}function l(e){function t(t,i){u.each(t,function(t){f(e,n(t),i._handlers[t])},i)}h.call(this),this.dom=e,this._touching=!1,this._touchTimer,this._gestureMgr=new p,this._handlers={},s(this),d.pointerEventsSupported?t(b,this):(d.touchEventsSupported&&t(y,this),t(v,this))}var c=i(26),u=i(0),h=i(39),d=i(13),p=i(515),f=c.addEventListener,g=c.removeEventListener,m=c.normalizeEvent,v=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],y=["touchstart","touchend","touchmove"],x={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},b=u.map(v,function(e){var t=e.replace("mouse","pointer");return x[t]?t:e}),_={mousemove:function(e){e=m(this.dom,e),this.trigger("mousemove",e)},mouseout:function(e){e=m(this.dom,e);var t=e.toElement||e.relatedTarget;if(t!=this.dom)for(;t&&9!=t.nodeType;){if(t===this.dom)return;t=t.parentNode}this.trigger("mouseout",e)},touchstart:function(e){e=m(this.dom,e),e.zrByTouch=!0,this._lastTouchMoment=new Date,o(this,e,"start"),_.mousemove.call(this,e),_.mousedown.call(this,e),r(this)},touchmove:function(e){e=m(this.dom,e),e.zrByTouch=!0,o(this,e,"change"),_.mousemove.call(this,e),r(this)},touchend:function(e){e=m(this.dom,e),e.zrByTouch=!0,o(this,e,"end"),_.mouseup.call(this,e),+new Date-this._lastTouchMoment<300&&_.click.call(this,e),r(this)},pointerdown:function(e){_.mousedown.call(this,e)},pointermove:function(e){a(e)||_.mousemove.call(this,e)},pointerup:function(e){_.mouseup.call(this,e)},pointerout:function(e){a(e)||_.mouseout.call(this,e)}};u.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){_[e]=function(t){t=m(this.dom,t),this.trigger(e,t)}});var w=l.prototype;w.dispose=function(){for(var e=v.concat(y),t=0;tl&&(h=i+n,i*=l/h,n*=l/h),o+r>l&&(h=o+r,o*=l/h,r*=l/h),n+o>c&&(h=n+o,n*=c/h,o*=c/h),i+r>c&&(h=i+r,i*=c/h,r*=c/h),e.moveTo(a+i,s),e.lineTo(a+l-n,s),0!==n&&e.quadraticCurveTo(a+l,s,a+l,s+n),e.lineTo(a+l,s+c-o),0!==o&&e.quadraticCurveTo(a+l,s+c,a+l-o,s+c),e.lineTo(a+r,s+c),0!==r&&e.quadraticCurveTo(a,s+c,a,s+c-r),e.lineTo(a,s+i),0!==i&&e.quadraticCurveTo(a,s,a+i,s)}}},function(e,t,i){var n=i(6),o=n.min,r=n.max,a=n.scale,s=n.distance,l=n.add;e.exports=function(e,t,i,c){var u,h,d,p,f=[],g=[],m=[],v=[];if(c){d=[1/0,1/0],p=[-(1/0),-(1/0)];for(var y=0,x=e.length;yi-2?i-1:p+1],h=e[p>i-3?i-1:p+2]);var m=f*f,v=f*m;r.push([n(c[0],g[0],u[0],h[0],f,m,v),n(c[1],g[1],u[1],h[1],f,m,v)])}return r}},function(e,t,i){e.exports=i(15).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(e,t){var i=t.cx,n=t.cy,o=Math.max(t.r,0),r=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(r),c=Math.sin(r);e.moveTo(l*o+i,c*o+n),e.arc(i,n,o,r,a,!s)}})},function(e,t,i){"use strict";function n(e,t,i){var n=e.cpx2,o=e.cpy2;return null===n||null===o?[(i?h:c)(e.x1,e.cpx1,e.cpx2,e.x2,t),(i?h:c)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(i?u:l)(e.x1,e.cpx1,e.x2,t),(i?u:l)(e.y1,e.cpy1,e.y2,t)]}var o=i(31),r=i(6),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,c=o.cubicAt,u=o.quadraticDerivativeAt,h=o.cubicDerivativeAt,d=[];e.exports=i(15).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(e,t){var i=t.x1,n=t.y1,o=t.x2,r=t.y2,l=t.cpx1,c=t.cpy1,u=t.cpx2,h=t.cpy2,p=t.percent;0!==p&&(e.moveTo(i,n),null==u||null==h?(p<1&&(a(i,l,o,p,d),l=d[1],o=d[2],a(n,c,r,p,d),c=d[1],r=d[2]),e.quadraticCurveTo(l,c,o,r)):(p<1&&(s(i,l,u,o,p,d),l=d[1],u=d[2],o=d[3],s(n,c,h,r,p,d),c=d[1],h=d[2],r=d[3]),e.bezierCurveTo(l,c,u,h,o,r)))},pointAt:function(e){return n(this.shape,e,!1)},tangentAt:function(e){var t=n(this.shape,e,!0);return r.normalize(t,t)}})},function(e,t,i){"use strict";e.exports=i(15).extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,i){i&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}})},function(e,t,i){e.exports=i(15).extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.x1,n=t.y1,o=t.x2,r=t.y2,a=t.percent;0!==a&&(e.moveTo(i,n),a<1&&(o=i*(1-a)+o*a,r=n*(1-a)+r*a),e.lineTo(o,r))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}})},function(e,t,i){var n=i(176);e.exports=i(15).extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){n.buildPath(e,t,!0)}})},function(e,t,i){var n=i(176);e.exports=i(15).extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(e,t){n.buildPath(e,t,!1)}})},function(e,t,i){var n=i(519);e.exports=i(15).extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,t){var i=t.x,o=t.y,r=t.width,a=t.height;t.r?n.buildPath(e,t):e.rect(i,o,r,a),e.closePath()}})},function(e,t,i){e.exports=i(15).extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(e,t){var i=t.cx,n=t.cy,o=2*Math.PI;e.moveTo(i+t.r,n),e.arc(i,n,t.r,0,o,!1),e.moveTo(i+t.r0,n),e.arc(i,n,t.r0,0,o,!0)}})},function(e,t,i){var n=i(13),o=i(15),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];e.exports=o.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:n.browser.ie&&n.browser.version>=11?function(){var e,t=this.__clipPaths,i=this.style;if(t)for(var n=0;n0&&this.animate(e,!1).when(null==n?500:n,a).delay(r||0),this}},e.exports=c},function(e,t){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}i.prototype={constructor:i,_dragStart:function(e){var t=e.target;t&&t.draggable&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(t,"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var i=e.offsetX,n=e.offsetY,o=i-this._x,r=n-this._y;this._x=i,this._y=n,t.drift(o,r,e),this.dispatchToElement(t,"drag",e.event);var a=this.findHover(i,n,t),s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.dispatchToElement(s,"dragleave",e.event),a&&a!==s&&this.dispatchToElement(a,"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(t,"dragend",e.event),this._dropTarget&&this.dispatchToElement(this._dropTarget,"drop",e.event),this._draggingTarget=null,this._dropTarget=null}},e.exports=i},function(e,t,i){function n(e,t,i,n,o,r,a,s,l,c,u){var g=l*(f/180),y=p(g)*(e-i)/2+d(g)*(t-n)/2,x=-1*d(g)*(e-i)/2+p(g)*(t-n)/2,b=y*y/(a*a)+x*x/(s*s);b>1&&(a*=h(b),s*=h(b));var _=(o===r?-1:1)*h((a*a*(s*s)-a*a*(x*x)-s*s*(y*y))/(a*a*(x*x)+s*s*(y*y)))||0,w=_*a*x/s,A=_*-s*y/a,S=(e+i)/2+p(g)*w-d(g)*A,M=(t+n)/2+d(g)*w+p(g)*A,k=v([1,0],[(y-w)/a,(x-A)/s]),T=[(y-w)/a,(x-A)/s],I=[(-1*y-w)/a,(-1*x-A)/s],C=v(T,I);m(T,I)<=-1&&(C=f),m(T,I)>=1&&(C=0),0===r&&C>0&&(C-=2*f),1===r&&C<0&&(C+=2*f),u.addData(c,S,M,a,s,k,C,g,r)}function o(e){if(!e)return[];var t,i=e.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(t=0;t0&&""===m[0]&&m.shift();for(var v=0;v=0?parseFloat(e)/100*t:parseFloat(e):e},D=function(e,t,i){var n=a.parse(t);i=+i,isNaN(i)&&(i=1),n&&(e.color=k(n[0],n[1],n[2]),e.opacity=i*n[3])},P=function(e){var t=a.parse(e);return[k(t[0],t[1],t[2]),t[3]]},z=function(e,t,i){var n=t.fill;if(null!=n)if(n instanceof p){var o,r=0,a=[0,0],s=0,l=1,c=i.getBoundingRect(),u=c.width,h=c.height;if("linear"===n.type){o="gradient";var d=i.transform,f=[n.x*u,n.y*h],g=[n.x2*u,n.y2*h];d&&(_(f,f,d),_(g,g,d));var m=g[0]-f[0],v=g[1]-f[1];r=180*Math.atan2(m,v)/Math.PI,r<0&&(r+=360),r<1e-6&&(r=0)}else{o="gradientradial";var f=[n.x*u,n.y*h],d=i.transform,y=i.scale,x=u,A=h;a=[(f[0]-c.x)/x,(f[1]-c.y)/A],d&&_(f,f,d),x/=y[0]*w,A/=y[1]*w;var S=b(x,A);s=0/S,l=2*n.r/S-s}var M=n.colorStops.slice();M.sort(function(e,t){return e.offset-t.offset});for(var k=M.length,T=[],I=[],C=0;C=2){var E=T[0][0],O=T[1][0],R=T[0][1]*t.opacity,N=T[1][1]*t.opacity;e.type=o,e.method="none",e.focus="100%",e.angle=r,e.color=E,e.color2=O,e.colors=I.join(","),e.opacity=N,e.opacity2=R}"radial"===o&&(e.focusposition=a.join(","))}else D(e,n,t.opacity)},E=function(e,t){null!=t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof p||D(e,t.stroke,t.opacity)},O=function(e,t,i,n){var o="fill"==t,r=e.getElementsByTagName(t)[0];null!=i[t]&&"none"!==i[t]&&(o||!o&&i.lineWidth)?(e[o?"filled":"stroked"]="true",i[t]instanceof p&&I(e,r),r||(r=f.createNode(t)),o?z(r,i,n):E(r,i),T(e,r)):(e[o?"filled":"stroked"]="false",I(e,r))},R=[[],[],[]],N=function(e,t){var i,n,o,a,s,l,c=r.M,u=r.C,h=r.L,d=r.A,p=r.Q,f=[];for(a=0;a.01?G&&(F+=.0125):Math.abs(H-E)<1e-4?G&&Fz?M-=.0125:M+=.0125:G&&HE?S+=.0125:S-=.0125),f.push(U,g(((z-O)*L+I)*w-A),",",g(((E-N)*D+C)*w-A),",",g(((z+O)*L+I)*w-A),",",g(((E+N)*D+C)*w-A),",",g((F*L+I)*w-A),",",g((H*D+C)*w-A),",",g((S*L+I)*w-A),",",g((M*D+C)*w-A)),s=S,l=M;break;case r.R:var j=R[0],W=R[1];j[0]=e[a++],j[1]=e[a++],W[0]=j[0]+e[a++],W[1]=j[1]+e[a++],t&&(_(j,j,t),_(W,W,t)),j[0]=g(j[0]*w-A),W[0]=g(W[0]*w-A),j[1]=g(j[1]*w-A),W[1]=g(W[1]*w-A),f.push(" m ",j[0],",",j[1]," l ",W[0],",",j[1]," l ",W[0],",",W[1]," l ",j[0],",",W[1]);break;case r.Z:f.push(" x ")}if(i>0){f.push(n);for(var Z=0;Z100&&(F=0,G={});var i,n=H.style;try{n.font=e,i=n.fontFamily.split(",")[0]}catch(e){}t={style:n.fontStyle||"normal",variant:n.fontVariant||"normal",weight:n.fontWeight||"normal",size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},G[e]=t,F++}return t};s.measureText=function(e,t){var i=f.doc;B||(B=i.createElement("div"),B.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",f.doc.body.appendChild(B));try{B.style.font=t}catch(e){}return B.innerHTML="",B.appendChild(i.createTextNode(e)),{width:B.offsetWidth}};for(var j=new o,W=function(e,t,i,n){var o=this.style,r=o.text;if(null!=r&&(r+=""),r){var a,l,c=o.textAlign,u=U(o.textFont),h=u.style+" "+u.variant+" "+u.weight+" "+u.size+'px "'+u.family+'"',d=o.textBaseline,p=o.textVerticalAlign;i=i||s.getBoundingRect(r,h,c,d);var m=this.transform;if(m&&!n&&(j.copy(t),j.applyTransform(m),t=j),n)a=t.x,l=t.y;else{var v=o.textPosition,y=o.textDistance;if(v instanceof Array)a=t.x+L(v[0],t.width),l=t.y+L(v[1],t.height),c=c||"left",d=d||"top";else{var x=s.adjustTextPositionOnRect(v,t,i,y);a=x.x,l=x.y,c=c||x.textAlign,d=d||x.textBaseline}}if(p){switch(p){case"middle":l-=i.height/2;break;case"bottom":l-=i.height}d="top"}var b=u.size;switch(d){case"hanging":case"top":l+=b/1.75;break;case"middle":break;default:l-=b/2.25}switch(c){case"left":break;case"center":a-=i.width/2;break;case"right":a-=i.width}var w,A,k,I=f.createNode,D=this._textVmlEl;D?(k=D.firstChild,w=k.nextSibling,A=w.nextSibling):(D=I("line"),w=I("path"),A=I("textpath"),k=I("skew"),A.style["v-text-align"]="left",S(D),w.textpathok=!0,A.on=!0,D.from="0 0",D.to="1000 0.05",T(D,k),T(D,w),T(D,A),this._textVmlEl=D);var P=[a,l],z=D.style;m&&n?(_(P,P,m),k.on=!0,k.matrix=m[0].toFixed(3)+","+m[2].toFixed(3)+","+m[1].toFixed(3)+","+m[3].toFixed(3)+",0,0",k.offset=(g(P[0])||0)+","+(g(P[1])||0),k.origin="0 0",z.left="0px",z.top="0px"):(k.on=!1,z.left=g(a)+"px",z.top=g(l)+"px"),A.string=M(r);try{A.style.font=h}catch(e){}O(D,"fill",{fill:n?o.fill:o.textFill,opacity:o.opacity},this),O(D,"stroke",{stroke:n?o.stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash},this),D.style.zIndex=C(this.zlevel,this.z,this.z2),T(e,D)}},Z=function(e){I(e,this._textVmlEl),this._textVmlEl=null},Y=function(e){T(e,this._textVmlEl)},q=[l,c,u,d,h],X=0;X