(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"0046":function(t,e,n){var i=n("6d8b"),r=i.each,o=i.createHashMap,a=n("4f85"),s=n("3301"),l=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n=this.getSource();return u(n,this),s(n,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(t,e){if(!t.encodeDefine){var n=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(n){var i=t.encodeDefine=o();r(n.dimensions,(function(t){var e=c(t);i.set(t,e)}))}}}function c(t){return+t.replace("dim","")}t.exports=l},"004f":function(t,e,n){var i=n("6d8b"),r=n("72b6"),o=n("2306"),a=n("a15a"),s=a.createSymbol,l=n("f934"),u=n("cbb0"),c=r.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),r=e.textStyleModel,a=r.getFont(),s=r.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=this._getViewData(),f=h.endsText,d=i.retrieve(e.get("showLabel",!0),!f);function p(r){var l=r.piece,h=new o.Group;h.onclick=i.bind(this._onItemClick,this,l),this._enableHoverLink(h,r.indexInModelPieceList);var f=e.getRepresentValue(l);if(this._createItemSymbol(h,f,[0,0,c[0],c[1]]),d){var p=this.visualMapModel.getValueState(f);h.add(new o.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:a,textFill:s,opacity:"outOfRange"===p?.5:1}}))}t.add(h)}f&&this._renderEndsText(t,f[0],c,d,u),i.each(h.viewPieceList,p,this),f&&this._renderEndsText(t,f[1],c,d,u),l.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function n(t){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:t,batch:u.makeHighDownBatch(n.findTargetDataIndices(e),n)})}t.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return u.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,n,i,r){if(e){var a=new o.Group,s=this.visualMapModel.textStyleModel;a.add(new o.Text({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?r:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(a)}},_getViewData:function(){var t=this.visualMapModel,e=i.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),r=t.get("orient"),o=t.get("inverse");return("horizontal"===r?o:!o)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(s(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,r=i.clone(n.selected),o=e.getSelectedMapKey(t);"single"===n.selectedMode?(r[o]=!0,i.each(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),h=c;t.exports=h},"007d":function(t,e,n){var i=n("3eba");n("cb8f"),n("a96b"),n("42f6"),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"00b4":function(t,e,n){"use strict";n("ac1f");var i=n("23e7"),r=n("c65b"),o=n("1626"),a=n("825a"),s=n("577e"),l=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),u=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=a(this),n=s(t),i=e.exec;if(!o(i))return r(u,e,n);var l=r(i,e,n);return null!==l&&(a(l),!0)}})},"00ba":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("e46b"),a=n("e0d3"),s=a.defaultEmphasis,l=n("0f99"),u=l.makeSeriesEncodeForNameBased,c=n("c4a3"),h=i.extendSeriesModel({type:"series.funnel",init:function(t){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(r.bind(this.getData,this),r.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,e){return o(this,{coordDimensions:["value"],encodeDefaulter:r.curry(u,this)})},_defaultLabelLine:function(t){s(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=h.superCall(this,"getDataParams",t),i=e.mapDimension("value"),r=e.getSum(i);return n.percent=r?+(e.get(i,t)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),f=h;t.exports=f},"00d8":function(t,e,n){var i=n("6d8b");function r(t,e){return e=e||[0,0],i.map([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function o(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(r,t)}}}t.exports=o},"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"0141":function(t,e,n){var i=n("6d8b"),r=n("9850"),o=n("6cc5"),a=n("5b87");function s(t,e,n,i){o.call(this,t),this.map=e;var r=a.load(e,n);this._nameCoordMap=r.nameCoordMap,this._regionsMap=r.regionsMap,this._invertLongitute=null==i||i,this.regions=r.regions,this._rect=r.boundingRect}function l(t,e,n,i){var r=n.geoModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[t](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return!0;return!1},transformTo:function(t,e,n,i){var o=this.getBoundingRect(),a=this._invertLongitute;o=o.clone(),a&&(o.y=-o.y-o.height);var s=this._rawTransformable;if(s.transform=o.calculateTransform(new r(t,e,n,i)),s.decomposeTransform(),a){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return e[n]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,n){if("string"===typeof t&&(t=this.getGeoCoord(t)),t)return o.prototype.dataToPoint.call(this,t,e,n)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData")},i.mixin(s,o);var u=s;t.exports=u},"0156":function(t,e,n){var i=n("6d8b");function r(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,h=r.getRect(),f=[h.x,h.x+h.width,h.y,h.y+h.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===c?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===c?g[d[u]]:f[0],"x"===c?g[d[u]]:f[3]],a.rotation=Math.PI/2*("x"===c?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[l],a.labelOffset=s?g[d[l]]-g[d.onZero]:0,e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var y=e.get("axisLabel.rotate");return a.labelRotate="top"===u?-y:y,a.z2=1,a}e.layout=r},"01b4":function(t,e){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=n},"01ed":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2306");n("5aa9"),n("af24"),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new o.Rect({shape:t.coordinateSystem.getRect(),style:r.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))},"01ef":function(t,e){function n(t,e,n){var i=t.target,r=i.position;r[0]+=e,r[1]+=n,i.dirty()}function i(t,e,n,i){var r=t.target,o=t.zoomLimit,a=r.position,s=r.scale,l=t.zoom=t.zoom||1;if(l*=e,o){var u=o.min||0,c=o.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/t.zoom;t.zoom=l,a[0]-=(n-a[0])*(h-1),a[1]-=(i-a[1])*(h-1),s[0]*=h,s[1]*=h,r.dirty()}e.updateViewOnPan=n,e.updateViewOnZoom=i},"0278":function(t,e,n){var i;i=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=l(t);if(e){var r=l(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return c(this,n)}}function f(t){return function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function p(t){return Array.isArray?Array.isArray(t):"[object Array]"===x(t)}function g(t){return"string"==typeof t}function v(t){return"number"==typeof t}function m(t){return!0===t||!1===t||function(t){return y(t)&&null!==t}(t)&&"[object Boolean]"==x(t)}function y(e){return"object"===t(e)}function b(t){return null!=t}function _(t){return!t.trim().length}function x(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}var w=function(t){return"Invalid value for key ".concat(t)},S=function(t){return"Pattern length exceeds max of ".concat(t,".")},C=Object.prototype.hasOwnProperty,T=function(){function t(n){var i=this;e(this,t),this._keys=[],this._keyMap={};var r=0;n.forEach((function(t){var e=A(t);r+=e.weight,i._keys.push(e),i._keyMap[e.id]=e,r+=e.weight})),this._keys.forEach((function(t){t.weight/=r}))}return i(t,[{key:"get",value:function(t){return this._keyMap[t]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),t}();function A(t){var e=null,n=null,i=null,r=1;if(g(t)||p(t))i=t,e=O(t),n=M(t);else{if(!C.call(t,"name"))throw new Error(function(t){return"Missing ".concat(t," property in key")}("name"));var o=t.name;if(i=o,C.call(t,"weight")&&(r=t.weight)<=0)throw new Error(function(t){return"Property 'weight' in key '".concat(t,"' must be a positive integer")}(o));e=O(o),n=M(o)}return{path:e,id:n,weight:r,src:i}}function O(t){return p(t)?t:t.split(".")}function M(t){return p(t)?t.join("."):t}var k=a({},{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(t,e){return t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1}},{},{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},{},{location:0,threshold:.6,distance:100},{},{useExtendedSearch:!1,getFn:function(t,e){var n=[],i=!1;return function t(e,r,o){if(b(e))if(r[o]){var a=e[r[o]];if(!b(a))return;if(o===r.length-1&&(g(a)||v(a)||m(a)))n.push(function(t){return null==t?"":function(t){if("string"==typeof t)return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}(a));else if(p(a)){i=!0;for(var s=0,l=a.length;s<l;s+=1)t(a[s],r,o+1)}else r.length&&t(a,r,o+1)}else n.push(e)}(t,g(e)?e.split("."):e,0),i?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1}),I=/[^ ]+/g;function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,e=new Map;return{get:function(n){var i=n.match(I).length;if(e.has(i))return e.get(i);var r=parseFloat((1/Math.sqrt(i)).toFixed(t));return e.set(i,r),r},clear:function(){e.clear()}}}var P=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.getFn,r=void 0===i?k.getFn:i;e(this,t),this.norm=E(3),this.getFn=r,this.isCreated=!1,this.setIndexRecords()}return i(t,[{key:"setSources",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=t}},{key:"setIndexRecords",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=t}},{key:"setKeys",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e,this._keysMap={},e.forEach((function(e,n){t._keysMap[e.id]=n}))}},{key:"create",value:function(){var t=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,g(this.docs[0])?this.docs.forEach((function(e,n){t._addString(e,n)})):this.docs.forEach((function(e,n){t._addObject(e,n)})),this.norm.clear())}},{key:"add",value:function(t){var e=this.size();g(t)?this._addString(t,e):this._addObject(t,e)}},{key:"removeAt",value:function(t){this.records.splice(t,1);for(var e=t,n=this.size();e<n;e+=1)this.records[e].i-=1}},{key:"getValueForItemAtKeyId",value:function(t,e){return t[this._keysMap[e]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(t,e){if(b(t)&&!_(t)){var n={v:t,i:e,n:this.norm.get(t)};this.records.push(n)}}},{key:"_addObject",value:function(t,e){var n=this,i={i:e,$:{}};this.keys.forEach((function(e,r){var o=n.getFn(t,e.path);if(b(o))if(p(o))!function(){for(var t=[],e=[{nestedArrIndex:-1,value:o}];e.length;){var a=e.pop(),s=a.nestedArrIndex,l=a.value;if(b(l))if(g(l)&&!_(l)){var u={v:l,i:s,n:n.norm.get(l)};t.push(u)}else p(l)&&l.forEach((function(t,n){e.push({nestedArrIndex:n,value:t})}))}i.$[r]=t}();else if(!_(o)){var a={v:o,n:n.norm.get(o)};i.$[r]=a}})),this.records.push(i)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),t}();function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.getFn,r=void 0===i?k.getFn:i,o=new P({getFn:r});return o.setKeys(t.map(A)),o.setSources(e),o.create(),o}function L(t,e){var n=t.matches;e.matches=[],b(n)&&n.forEach((function(t){if(b(t.indices)&&t.indices.length){var n={indices:t.indices,value:t.value};t.key&&(n.key=t.key.src),t.idx>-1&&(n.refIndex=t.idx),e.matches.push(n)}}))}function R(t,e){e.score=t.score}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.errors,i=void 0===n?0:n,r=e.currentLocation,o=void 0===r?0:r,a=e.expectedLocation,s=void 0===a?0:a,l=e.distance,u=void 0===l?k.distance:l,c=e.ignoreLocation,h=void 0===c?k.ignoreLocation:c,f=i/t.length;if(h)return f;var d=Math.abs(s-o);return u?f+d/u:d?1:f}function j(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k.minMatchCharLength,n=[],i=-1,r=-1,o=0,a=t.length;o<a;o+=1){var s=t[o];s&&-1===i?i=o:s||-1===i||((r=o-1)-i+1>=e&&n.push([i,r]),i=-1)}return t[o-1]&&o-i>=e&&n.push([i,o-1]),n}function B(t){for(var e={},n=0,i=t.length;n<i;n+=1){var r=t.charAt(n);e[r]=(e[r]||0)|1<<i-n-1}return e}var F=function(){function t(n){var i=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.location,a=void 0===o?k.location:o,s=r.threshold,l=void 0===s?k.threshold:s,u=r.distance,c=void 0===u?k.distance:u,h=r.includeMatches,f=void 0===h?k.includeMatches:h,d=r.findAllMatches,p=void 0===d?k.findAllMatches:d,g=r.minMatchCharLength,v=void 0===g?k.minMatchCharLength:g,m=r.isCaseSensitive,y=void 0===m?k.isCaseSensitive:m,b=r.ignoreLocation,_=void 0===b?k.ignoreLocation:b;if(e(this,t),this.options={location:a,threshold:l,distance:c,includeMatches:f,findAllMatches:p,minMatchCharLength:v,isCaseSensitive:y,ignoreLocation:_},this.pattern=y?n:n.toLowerCase(),this.chunks=[],this.pattern.length){var x=function(t,e){i.chunks.push({pattern:t,alphabet:B(t),startIndex:e})},w=this.pattern.length;if(w>32){for(var S=0,C=w%32,T=w-C;S<T;)x(this.pattern.substr(S,32),S),S+=32;if(C){var A=w-32;x(this.pattern.substr(A),A)}}else x(this.pattern,0)}}return i(t,[{key:"searchIn",value:function(t){var e=this.options,n=e.isCaseSensitive,i=e.includeMatches;if(n||(t=t.toLowerCase()),this.pattern===t){var r={isMatch:!0,score:0};return i&&(r.indices=[[0,t.length-1]]),r}var o=this.options,a=o.location,s=o.distance,l=o.threshold,u=o.findAllMatches,c=o.minMatchCharLength,h=o.ignoreLocation,d=[],p=0,g=!1;this.chunks.forEach((function(e){var n=e.pattern,r=e.alphabet,o=e.startIndex,v=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.location,o=void 0===r?k.location:r,a=i.distance,s=void 0===a?k.distance:a,l=i.threshold,u=void 0===l?k.threshold:l,c=i.findAllMatches,h=void 0===c?k.findAllMatches:c,f=i.minMatchCharLength,d=void 0===f?k.minMatchCharLength:f,p=i.includeMatches,g=void 0===p?k.includeMatches:p,v=i.ignoreLocation,m=void 0===v?k.ignoreLocation:v;if(e.length>32)throw new Error(S(32));for(var y,b=e.length,_=t.length,x=Math.max(0,Math.min(o,_)),w=u,C=x,T=d>1||g,A=T?Array(_):[];(y=t.indexOf(e,C))>-1;){var O=N(e,{currentLocation:y,expectedLocation:x,distance:s,ignoreLocation:m});if(w=Math.min(O,w),C=y+b,T)for(var M=0;M<b;)A[y+M]=1,M+=1}C=-1;for(var I=[],E=1,P=b+_,D=1<<b-1,L=0;L<b;L+=1){for(var R=0,B=P;R<B;){var F=N(e,{errors:L,currentLocation:x+B,expectedLocation:x,distance:s,ignoreLocation:m});F<=w?R=B:P=B,B=Math.floor((P-R)/2+R)}P=B;var z=Math.max(1,x-B+1),V=h?_:Math.min(x+B,_)+b,H=Array(V+2);H[V+1]=(1<<L)-1;for(var G=V;G>=z;G-=1){var W=G-1,q=n[t.charAt(W)];if(T&&(A[W]=+!!q),H[G]=(H[G+1]<<1|1)&q,L&&(H[G]|=(I[G+1]|I[G])<<1|1|I[G+1]),H[G]&D&&(E=N(e,{errors:L,currentLocation:W,expectedLocation:x,distance:s,ignoreLocation:m}))<=w){if(w=E,(C=W)<=x)break;z=Math.max(1,2*x-C)}}var U=N(e,{errors:L+1,currentLocation:x,expectedLocation:x,distance:s,ignoreLocation:m});if(U>w)break;I=H}var Y={isMatch:C>=0,score:Math.max(.001,E)};if(T){var X=j(A,d);X.length?g&&(Y.indices=X):Y.isMatch=!1}return Y}(t,n,r,{location:a+o,distance:s,threshold:l,findAllMatches:u,minMatchCharLength:c,includeMatches:i,ignoreLocation:h}),m=v.isMatch,y=v.score,b=v.indices;m&&(g=!0),p+=y,m&&b&&(d=[].concat(f(d),f(b)))}));var v={isMatch:g,score:g?p/this.chunks.length:1};return g&&i&&(v.indices=d),v}}]),t}(),z=function(){function t(n){e(this,t),this.pattern=n}return i(t,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(t){return V(t,this.multiRegex)}},{key:"isSingleMatch",value:function(t){return V(t,this.singleRegex)}}]),t}();function V(t,e){var n=t.match(e);return n?n[1]:null}var H=function(t){s(r,t);var n=h(r);function r(t){return e(this,r),n.call(this,t)}return i(r,[{key:"search",value:function(t){var e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),r}(z),G=function(t){s(r,t);var n=h(r);function r(t){return e(this,r),n.call(this,t)}return i(r,[{key:"search",value:function(t){var e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),r}(z),W=function(t){s(r,t);var n=h(r);function r(t){return e(this,r),n.call(this,t)}return i(r,[{key:"search",value:function(t){var e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),r}(z),q=function(t){s(r,t);var n=h(r);function r(t){return e(this,r),n.call(this,t)}return i(r,[{key:"search",value:function(t){var e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),r}(z),U=function(t){s(r,t);var n=h(r);function r(t){return e(this,r),n.call(this,t)}return i(r,[{key:"search",value:function(t){var e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),r}(z),Y=function(t){s(r,t);var n=h(r);function r(t){return e(this,r),n.call(this,t)}return i(r,[{key:"search",value:function(t){var e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),r}(z),X=function(t){s(r,t);var n=h(r);function r(t){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.location,s=void 0===a?k.location:a,l=o.threshold,u=void 0===l?k.threshold:l,c=o.distance,h=void 0===c?k.distance:c,f=o.includeMatches,d=void 0===f?k.includeMatches:f,p=o.findAllMatches,g=void 0===p?k.findAllMatches:p,v=o.minMatchCharLength,m=void 0===v?k.minMatchCharLength:v,y=o.isCaseSensitive,b=void 0===y?k.isCaseSensitive:y,_=o.ignoreLocation,x=void 0===_?k.ignoreLocation:_;return e(this,r),(i=n.call(this,t))._bitapSearch=new F(t,{location:s,threshold:u,distance:h,includeMatches:d,findAllMatches:g,minMatchCharLength:m,isCaseSensitive:b,ignoreLocation:x}),i}return i(r,[{key:"search",value:function(t){return this._bitapSearch.searchIn(t)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),r}(z),$=function(t){s(r,t);var n=h(r);function r(t){return e(this,r),n.call(this,t)}return i(r,[{key:"search",value:function(t){for(var e,n=0,i=[],r=this.pattern.length;(e=t.indexOf(this.pattern,n))>-1;)n=e+r,i.push([e,n-1]);var o=!!i.length;return{isMatch:o,score:o?1:0,indices:i}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),r}(z),Z=[H,$,W,q,Y,U,G,X],K=Z.length,J=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function Q(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.split("|").map((function(t){for(var n=t.trim().split(J).filter((function(t){return t&&!!t.trim()})),i=[],r=0,o=n.length;r<o;r+=1){for(var a=n[r],s=!1,l=-1;!s&&++l<K;){var u=Z[l],c=u.isMultiMatch(a);c&&(i.push(new u(c,e)),s=!0)}if(!s)for(l=-1;++l<K;){var h=Z[l],f=h.isSingleMatch(a);if(f){i.push(new h(f,e));break}}}return i}))}var tt=new Set([X.type,$.type]),et=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.isCaseSensitive,o=void 0===r?k.isCaseSensitive:r,a=i.includeMatches,s=void 0===a?k.includeMatches:a,l=i.minMatchCharLength,u=void 0===l?k.minMatchCharLength:l,c=i.ignoreLocation,h=void 0===c?k.ignoreLocation:c,f=i.findAllMatches,d=void 0===f?k.findAllMatches:f,p=i.location,g=void 0===p?k.location:p,v=i.threshold,m=void 0===v?k.threshold:v,y=i.distance,b=void 0===y?k.distance:y;e(this,t),this.query=null,this.options={isCaseSensitive:o,includeMatches:s,minMatchCharLength:u,findAllMatches:d,ignoreLocation:h,location:g,threshold:m,distance:b},this.pattern=o?n:n.toLowerCase(),this.query=Q(this.pattern,this.options)}return i(t,[{key:"searchIn",value:function(t){var e=this.query;if(!e)return{isMatch:!1,score:1};var n=this.options,i=n.includeMatches;t=n.isCaseSensitive?t:t.toLowerCase();for(var r=0,o=[],a=0,s=0,l=e.length;s<l;s+=1){var u=e[s];o.length=0,r=0;for(var c=0,h=u.length;c<h;c+=1){var d=u[c],p=d.search(t),g=p.isMatch,v=p.indices,m=p.score;if(!g){a=0,r=0,o.length=0;break}if(r+=1,a+=m,i){var y=d.constructor.type;tt.has(y)?o=[].concat(f(o),f(v)):o.push(v)}}if(r){var b={isMatch:!0,score:a/r};return i&&(b.indices=o),b}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(t,e){return e.useExtendedSearch}}]),t}(),nt=[];function it(t,e){for(var n=0,i=nt.length;n<i;n+=1){var r=nt[n];if(r.condition(t,e))return new r(t,e)}return new F(t,e)}var rt="$and",ot="$or",at="$path",st="$val",lt=function(t){return!(!t[rt]&&!t[ot])},ut=function(t){return!!t[at]},ct=function(t){return!p(t)&&y(t)&&!lt(t)},ht=function(t){return r({},rt,Object.keys(t).map((function(e){return r({},e,t[e])})))},ft=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;e(this,t),this.options=a({},k,{},i),this.options.useExtendedSearch,this._keyStore=new T(this.options.keys),this.setCollection(n,r)}return i(t,[{key:"setCollection",value:function(t,e){if(this._docs=t,e&&!(e instanceof P))throw new Error("Incorrect 'index' type");this._myIndex=e||D(this.options.keys,this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(t){b(t)&&(this._docs.push(t),this._myIndex.add(t))}},{key:"remove",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},e=[],n=0,i=this._docs.length;n<i;n+=1){var r=this._docs[n];t(r,n)&&(this.removeAt(n),n-=1,i-=1,e.push(r))}return e}},{key:"removeAt",value:function(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.limit,i=void 0===n?-1:n,r=this.options,o=r.includeMatches,a=r.includeScore,s=r.shouldSort,l=r.sortFn,u=r.ignoreFieldNorm,c=g(t)?g(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return dt(c,{ignoreFieldNorm:u}),s&&c.sort(l),v(i)&&i>-1&&(c=c.slice(0,i)),pt(c,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(t){var e=it(t,this.options),n=this._myIndex.records,i=[];return n.forEach((function(t){var n=t.v,r=t.i,o=t.n;if(b(n)){var a=e.searchIn(n),s=a.isMatch,l=a.score,u=a.indices;s&&i.push({item:n,idx:r,matches:[{score:l,value:n,norm:o,indices:u}]})}})),i}},{key:"_searchLogical",value:function(t){var e=this,n=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.auto,r=void 0===i||i,o=function t(n){var i=Object.keys(n),o=ut(n);if(!o&&i.length>1&&!lt(n))return t(ht(n));if(ct(n)){var a=o?n[at]:i[0],s=o?n[st]:n[a];if(!g(s))throw new Error(w(a));var l={keyId:M(a),pattern:s};return r&&(l.searcher=it(s,e)),l}var u={children:[],operator:i[0]};return i.forEach((function(e){var i=n[e];p(i)&&i.forEach((function(e){u.children.push(t(e))}))})),u};return lt(t)||(t=ht(t)),o(t)}(t,this.options),i=this._myIndex.records,r={},o=[];return i.forEach((function(t){var i=t.$,a=t.i;if(b(i)){var s=function t(n,i,r){if(!n.children){var o=n.keyId,a=n.searcher,s=e._findMatches({key:e._keyStore.get(o),value:e._myIndex.getValueForItemAtKeyId(i,o),searcher:a});return s&&s.length?[{idx:r,item:i,matches:s}]:[]}switch(n.operator){case rt:for(var l=[],u=0,c=n.children.length;u<c;u+=1){var h=t(n.children[u],i,r);if(!h.length)return[];l.push.apply(l,f(h))}return l;case ot:for(var d=[],p=0,g=n.children.length;p<g;p+=1){var v=t(n.children[p],i,r);if(v.length){d.push.apply(d,f(v));break}}return d}}(n,i,a);s.length&&(r[a]||(r[a]={idx:a,item:i,matches:[]},o.push(r[a])),s.forEach((function(t){var e,n=t.matches;(e=r[a].matches).push.apply(e,f(n))})))}})),o}},{key:"_searchObjectList",value:function(t){var e=this,n=it(t,this.options),i=this._myIndex,r=i.keys,o=i.records,a=[];return o.forEach((function(t){var i=t.$,o=t.i;if(b(i)){var s=[];r.forEach((function(t,r){s.push.apply(s,f(e._findMatches({key:t,value:i[r],searcher:n})))})),s.length&&a.push({idx:o,item:i,matches:s})}})),a}},{key:"_findMatches",value:function(t){var e=t.key,n=t.value,i=t.searcher;if(!b(n))return[];var r=[];if(p(n))n.forEach((function(t){var n=t.v,o=t.i,a=t.n;if(b(n)){var s=i.searchIn(n),l=s.isMatch,u=s.score,c=s.indices;l&&r.push({score:u,key:e,value:n,idx:o,norm:a,indices:c})}}));else{var o=n.v,a=n.n,s=i.searchIn(o),l=s.isMatch,u=s.score,c=s.indices;l&&r.push({score:u,key:e,value:o,norm:a,indices:c})}return r}}]),t}();function dt(t,e){var n=e.ignoreFieldNorm,i=void 0===n?k.ignoreFieldNorm:n;t.forEach((function(t){var e=1;t.matches.forEach((function(t){var n=t.key,r=t.norm,o=t.score,a=n?n.weight:null;e*=Math.pow(0===o&&a?Number.EPSILON:o,(a||1)*(i?1:r))})),t.score=e}))}function pt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.includeMatches,r=void 0===i?k.includeMatches:i,o=n.includeScore,a=void 0===o?k.includeScore:o,s=[];return r&&s.push(L),a&&s.push(R),t.map((function(t){var n=t.idx,i={item:e[n],refIndex:n};return s.length&&s.forEach((function(e){e(t,i)})),i}))}return ft.version="6.4.3",ft.createIndex=D,ft.parseIndex=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.getFn,i=void 0===n?k.getFn:n,r=t.keys,o=t.records,a=new P({getFn:i});return a.setKeys(r),a.setIndexRecords(o),a},ft.config=k,function(){nt.push.apply(nt,arguments)}(et),ft},t.exports=i()},"0352":function(t,e,n){var i=n("6cb7"),r=n("b12f"),o=n("0f99"),a=o.detectSourceFormat,s=n("93d0"),l=s.SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),r.extend({type:"dataset"})},"0366":function(t,e,n){var i=n("e330"),r=n("59ed"),o=n("40d5"),a=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},"03d6":function(t,e,n){var i=n("9c0e"),r=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);while(e.length>l)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},"04f6":function(t,e){var n=32,i=7;function r(t){var e=0;while(t>=n)e|=1&t,t>>=1;return t+e}function o(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;a(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function a(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function s(t,e,n,i,r){for(i===e&&i++;i<n;i++){var o,a=t[i],s=e,l=i;while(s<l)o=s+l>>>1,r(a,t[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function l(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){s=i-r;while(l<s&&o(t,e[n+r+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(l<s&&o(t,e[n+r-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a<l){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function u(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){s=r+1;while(l<s&&o(t,e[n+r-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l<s&&o(t,e[n+r+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a<l){var c=a+(l-a>>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function c(t,e){var n,r,o=i,a=0,s=0;a=t.length;var c=[];function h(t,e){n[s]=t,r[s]=e,s+=1}function f(){while(s>1){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;p(t)}}function d(){while(s>1){var t=s-2;t>0&&r[t-1]<r[t+1]&&t--,p(t)}}function p(i){var o=n[i],a=r[i],c=n[i+1],h=r[i+1];r[i]=a+h,i===s-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),s--;var f=u(t[c],t,o,a,0,e);o+=f,a-=f,0!==a&&(h=l(t[o+a-1],t,c,h,h-1,e),0!==h&&(a<=h?g(o,a,c,h):v(o,a,c,h)))}function g(n,r,a,s){var h=0;for(h=0;h<r;h++)c[h]=t[n+h];var f=0,d=a,p=n;if(t[p++]=t[d++],0!==--s)if(1!==r){var g,v,m,y=o;while(1){g=0,v=0,m=!1;do{if(e(t[d],c[f])<0){if(t[p++]=t[d++],v++,g=0,0===--s){m=!0;break}}else if(t[p++]=c[f++],g++,v=0,1===--r){m=!0;break}}while((g|v)<y);if(m)break;do{if(g=u(t[d],c,f,r,0,e),0!==g){for(h=0;h<g;h++)t[p+h]=c[f+h];if(p+=g,f+=g,r-=g,r<=1){m=!0;break}}if(t[p++]=t[d++],0===--s){m=!0;break}if(v=l(c[f],t,d,s,0,e),0!==v){for(h=0;h<v;h++)t[p+h]=t[d+h];if(p+=v,d+=v,s-=v,0===s){m=!0;break}}if(t[p++]=c[f++],1===--r){m=!0;break}y--}while(g>=i||v>=i);if(m)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===r){for(h=0;h<s;h++)t[p+h]=t[d+h];t[p+s]=c[f]}else{if(0===r)throw new Error;for(h=0;h<r;h++)t[p+h]=c[f+h]}}else{for(h=0;h<s;h++)t[p+h]=t[d+h];t[p+s]=c[f]}else for(h=0;h<r;h++)t[p+h]=c[f+h]}function v(n,r,a,s){var h=0;for(h=0;h<s;h++)c[h]=t[a+h];var f=n+r-1,d=s-1,p=a+s-1,g=0,v=0;if(t[p--]=t[f--],0!==--r)if(1!==s){var m=o;while(1){var y=0,b=0,_=!1;do{if(e(c[d],t[f])<0){if(t[p--]=t[f--],y++,b=0,0===--r){_=!0;break}}else if(t[p--]=c[d--],b++,y=0,1===--s){_=!0;break}}while((y|b)<m);if(_)break;do{if(y=r-u(c[d],t,n,r,r-1,e),0!==y){for(p-=y,f-=y,r-=y,v=p+1,g=f+1,h=y-1;h>=0;h--)t[v+h]=t[g+h];if(0===r){_=!0;break}}if(t[p--]=c[d--],1===--s){_=!0;break}if(b=s-l(t[f],c,0,s,s-1,e),0!==b){for(p-=b,d-=b,s-=b,v=p+1,g=d+1,h=0;h<b;h++)t[v+h]=c[g+h];if(s<=1){_=!0;break}}if(t[p--]=t[f--],0===--r){_=!0;break}m--}while(y>=i||b>=i);if(_)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===s){for(p-=r,f-=r,v=p+1,g=f+1,h=r-1;h>=0;h--)t[v+h]=t[g+h];t[p]=c[d]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h<s;h++)t[g+h]=c[h]}}else{for(p-=r,f-=r,v=p+1,g=f+1,h=r-1;h>=0;h--)t[v+h]=t[g+h];t[p]=c[d]}else for(g=p-(s-1),h=0;h<s;h++)t[g+h]=c[h]}n=[],r=[],this.mergeRuns=f,this.forceMergeRuns=d,this.pushRun=h}function h(t,e,i,a){i||(i=0),a||(a=t.length);var l=a-i;if(!(l<2)){var u=0;if(l<n)return u=o(t,i,a,e),void s(t,i,a,i+u,e);var h=new c(t,e),f=r(l);do{if(u=o(t,i,a,e),u<f){var d=l;d>f&&(d=f),s(t,i,i+d,i+u,e),u=d}h.pushRun(i,u),h.mergeRuns(),l-=u,i+=u}while(0!==l);h.forceMergeRuns()}}t.exports=h},"04f8":function(t,e,n){var i=n("2d00"),r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"051b":function(t,e,n){var i=n("1a14"),r=n("10db");t.exports=n("0bad")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"057f":function(t,e,n){var i=n("c6b6"),r=n("fc6a"),o=n("241c").f,a=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(t){try{return o(t)}catch(e){return a(s)}};t.exports.f=function(t){return s&&"Window"==i(t)?l(t):o(r(t))}},"05f5":function(t,e,n){var i=n("7a41"),r=n("ef08").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"0655":function(t,e,n){var i=n("8728"),r=1e-8;function o(t,e){return Math.abs(t-e)<r}function a(t,e,n){var r=0,a=t[0];if(!a)return!1;for(var s=1;s<t.length;s++){var l=t[s];r+=i(a[0],a[1],l[0],l[1],e,n),a=l}var u=t[0];return o(a[0],u[0])&&o(a[1],u[1])||(r+=i(a[0],a[1],u[0],u[1],e,n)),0!==r}e.contain=a},"06ad":function(t,e,n){var i=n("4436"),r=n("41ef"),o=n("6d8b"),a=o.isArrayLike,s=Array.prototype.slice;function l(t,e){return t[e]}function u(t,e,n){t[e]=n}function c(t,e,n){return(e-t)*n+t}function h(t,e,n){return n>.5?e:t}function f(t,e,n,i,r){var o=t.length;if(1===r)for(var a=0;a<o;a++)i[a]=c(t[a],e[a],n);else{var s=o&&t[0].length;for(a=0;a<o;a++)for(var l=0;l<s;l++)i[a][l]=c(t[a][l],e[a][l],n)}}function d(t,e,n){var i=t.length,r=e.length;if(i!==r){var o=i>r;if(o)t.length=r;else for(var a=i;a<r;a++)t.push(1===n?e[a]:s.call(e[a]))}var l=t[0]&&t[0].length;for(a=0;a<t.length;a++)if(1===n)isNaN(t[a])&&(t[a]=e[a]);else for(var u=0;u<l;u++)isNaN(t[a][u])&&(t[a][u]=e[a][u])}function p(t,e,n){if(t===e)return!0;var i=t.length;if(i!==e.length)return!1;if(1===n){for(var r=0;r<i;r++)if(t[r]!==e[r])return!1}else{var o=t[0].length;for(r=0;r<i;r++)for(var a=0;a<o;a++)if(t[r][a]!==e[r][a])return!1}return!0}function g(t,e,n,i,r,o,a,s,l){var u=t.length;if(1===l)for(var c=0;c<u;c++)s[c]=v(t[c],e[c],n[c],i[c],r,o,a);else{var h=t[0].length;for(c=0;c<u;c++)for(var f=0;f<h;f++)s[c][f]=v(t[c][f],e[c][f],n[c][f],i[c][f],r,o,a)}}function v(t,e,n,i,r,o,a){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*a+(-3*(e-n)-2*s-l)*o+s*r+e}function m(t){if(a(t)){var e=t.length;if(a(t[0])){for(var n=[],i=0;i<e;i++)n.push(s.call(t[i]));return n}return s.call(t)}return t}function y(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function b(t){var e=t[t.length-1].value;return a(e&&e[0])?2:1}function _(t,e,n,o,s,l){var u=t._getter,m=t._setter,_="spline"===e,x=o.length;if(x){var w,S=o[0].value,C=a(S),T=!1,A=!1,O=C?b(o):0;o.sort((function(t,e){return t.time-e.time})),w=o[x-1].time;for(var M=[],k=[],I=o[0].value,E=!0,P=0;P<x;P++){M.push(o[P].time/w);var D=o[P].value;if(C&&p(D,I,O)||!C&&D===I||(E=!1),I=D,"string"===typeof D){var L=r.parse(D);L?(D=L,T=!0):A=!0}k.push(D)}if(l||!E){var R=k[x-1];for(P=0;P<x-1;P++)C?d(k[P],R,O):!isNaN(k[P])||isNaN(R)||A||T||(k[P]=R);C&&d(u(t._target,s),R,O);var N,j,B,F,z,V,H=0,G=0;if(T)var W=[0,0,0,0];var q=function(t,e){var n;if(e<0)n=0;else if(e<G){for(N=Math.min(H+1,x-1),n=N;n>=0;n--)if(M[n]<=e)break;n=Math.min(n,x-2)}else{for(n=H;n<x;n++)if(M[n]>e)break;n=Math.min(n-1,x-2)}H=n,G=e;var i=M[n+1]-M[n];if(0!==i)if(j=(e-M[n])/i,_)if(F=k[n],B=k[0===n?n:n-1],z=k[n>x-2?x-1:n+1],V=k[n>x-3?x-1:n+2],C)g(B,F,z,V,j,j*j,j*j*j,u(t,s),O);else{if(T)r=g(B,F,z,V,j,j*j,j*j*j,W,1),r=y(W);else{if(A)return h(F,z,j);r=v(B,F,z,V,j,j*j,j*j*j)}m(t,s,r)}else if(C)f(k[n],k[n+1],j,u(t,s),O);else{var r;if(T)f(k[n],k[n+1],j,W,1),r=y(W);else{if(A)return h(k[n],k[n+1],j);r=c(k[n],k[n+1],j)}m(t,s,r)}},U=new i({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:q,ondestroy:n});return e&&"spline"!==e&&(U.easing=e),U}}}var x=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||l,this._setter=i||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:m(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,n=0;n<e;n++)t[n].call(this)},start:function(t,e){var n,i=this,r=0,o=function(){r--,r||i._doneCallback()};for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var s=_(this,t,o,this._tracks[a],a,e);s&&(this._clipList.push(s),r++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(t,e){l(t,e);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](t,e)}}return r||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var r=e[i];t&&r.onframe(this._target,1),n&&n.removeClip(r)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var w=x;t.exports=w},"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("fb6a"),n("d3b7"),n("25f0"),n("b0c0"),n("a630"),n("3ca3"),n("ac1f"),n("00b4");var i=n("6b75");function r(t,e){if(t){if("string"===typeof t)return Object(i["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i["a"])(t,e):void 0}}},"06c7":function(t,e,n){var i=n("6d8b"),r=n("31d9"),o=n("6179"),a=n("b1d4"),s=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function l(t){this.root,this.data,this._nodes=[],this.hostModel=t}function u(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}s.prototype={constructor:s,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"===typeof t&&(n=e,e=t,t=null),t=t||{},i.isString(t)&&(t={order:t});var r,o=t.order||"preorder",a=this[t.attr||"children"];"preorder"===o&&(r=e.call(n,this));for(var s=0;!r&&s<a.length;s++)a[s].eachNode(t,e,n);"postorder"===o&&e.call(n,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},contains:function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},getAncestors:function(t){var e=[],n=t?this:this.parentNode;while(n)e.push(n),n=n.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},l.createTree=function(t,e,n){var c=new l(e),h=[],f=1;function d(t,e){var n=t.value;f=Math.max(f,i.isArray(n)?n.length:1),h.push(t);var r=new s(t.name,c);e?u(r,e):c.root=r,c._nodes.push(r);var o=t.children;if(o)for(var a=0;a<o.length;a++)d(o[a],r)}d(t),c.root.updateDepthAndHeight(0);var p=a(h,{coordDimensions:["value"],dimensionsCount:f}),g=new o(p,e);return g.initData(h),n&&n(g),r({mainData:g,struct:c,structAttr:"tree"}),c.update(),c};var c=l;t.exports=c},"06cf":function(t,e,n){var i=n("83ab"),r=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),l=n("a04b"),u=n("1a2d"),c=n("0cfb"),h=Object.getOwnPropertyDescriptor;e.f=i?h:function(t,e){if(t=s(t),e=l(e),c)try{return h(t,e)}catch(n){}if(u(t,e))return a(!r(o.f,t,e),t[e])}},"06ea":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("eaea"),a=n("5f14"),s=n("60e3"),l=n("3842"),u=l.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(t,e){c.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();h[this._mode].call(this),this._resetSelected(t,e);var i=this.option.categories;this.resetVisual((function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=r.clone(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=r.map(this._pieceList,(function(t){t=r.clone(t);return"inRange"!==e&&(t.visual=null),t})))}))},completeVisualOption:function(){var t=this.option,e={},n=a.listVisualTypes(),i=this.isCategory();function l(t,e,n){return t&&t[e]&&(r.isObject(t[e])?t[e].hasOwnProperty(n):t[e]===n)}r.each(t.pieces,(function(t){r.each(n,(function(n){t.hasOwnProperty(n)&&(e[n]=1)}))})),r.each(e,(function(e,n){var o=0;r.each(this.stateList,(function(e){o|=l(t,e,n)||l(t.target,e,n)}),this),!o&&r.each(this.stateList,(function(e){(t[e]||(t[e]={}))[n]=s.get(n,"inRange"===e?"active":"inactive",i)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var n=this.option,i=this._pieceList,o=(e?n:t).selected||{};if(n.selected=o,r.each(i,(function(t,e){var n=this.getSelectedMapKey(t);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===n.selectedMode){var a=!1;r.each(i,(function(t,e){var n=this.getSelectedMapKey(t);o[n]&&(a?o[n]=!1:a=!0)}),this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=r.clone(t)},getValueState:function(t){var e=a.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){var r=a.findPieceIndex(e,this._pieceList);r===t&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],n=[],i=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),a=o[o.length-1].interval[1],a!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:n}}function l(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}}}),h={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),i=this.getExtent(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;var a=(i[1]-i[0])/o;while(+a.toFixed(n)!==a&&n<5)n++;t.precision=n,a=+a.toFixed(n),t.minOpen&&e.push({interval:[-1/0,i[0]],close:[0,0]});for(var s=0,l=i[0];s<o;l+=a,s++){var c=s===o-1?i[1]:l+a;e.push({interval:[l,c],close:[1,1]})}t.maxOpen&&e.push({interval:[i[1],1/0],close:[0,0]}),u(e),r.each(e,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(){var t=this.option;r.each(t.categories,(function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})}),this),f(t,this._pieceList)},pieces:function(){var t=this.option,e=this._pieceList;r.each(t.pieces,(function(t,n){r.isObject(t)||(t={value:t});var i={text:"",index:n};if(null!=t.label&&(i.text=t.label),t.hasOwnProperty("value")){var o=i.value=t.value;i.interval=[o,o],i.close=[1,1]}else{for(var s=i.interval=[],l=i.close=[0,0],u=[1,0,1],c=[-1/0,1/0],h=[],f=0;f<2;f++){for(var d=[["gte","gt","min"],["lte","lt","max"]][f],p=0;p<3&&null==s[f];p++)s[f]=t[d[p]],l[f]=u[p],h[f]=2===p;null==s[f]&&(s[f]=c[f])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(i.value=s[0])}i.visual=a.retrieveVisuals(t),e.push(i)}),this),f(t,e),u(e),r.each(e,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function f(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var d=c;t.exports=d},"072d":function(t,e,n){"use strict";var i=n("0bad"),r=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),l=n("9fbb"),u=Object.assign;t.exports=!u||n("4b8b")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i}))?function(t,e){var n=s(t),u=arguments.length,c=1,h=o.f,f=a.f;while(u>c){var d,p=l(arguments[c++]),g=h?r(p).concat(h(p)):r(p),v=g.length,m=0;while(v>m)d=g[m++],i&&!f.call(p,d)||(n[d]=p[d])}return n}:u},"07d7":function(t,e,n){var i=n("6d8b"),r=n("41ef"),o=n("607d"),a=n("65ed"),s=n("22d1"),l=n("eda2"),u=i.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"],f="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function d(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+t+"s "+e+",top "+t+"s "+e;return i.map(h,(function(t){return t+"transition:"+n})).join(";")}function p(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=t.get("lineHeight");null==r&&(r=Math.round(3*n/2)),n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),u(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function g(t){var e=[],n=t.get("transitionDuration"),i=t.get("backgroundColor"),o=t.getModel("textStyle"),a=t.get("padding");return n&&e.push(d(n)),i&&(s.canvasSupported?e.push("background-Color:"+i):(e.push("background-Color:#"+r.toHex(i)),e.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(n){var i="border-"+n,r=c(i),o=t.get(r);null!=o&&e.push(i+":"+o+("color"===n?"":"px"))})),e.push(p(o)),null!=a&&e.push("padding:"+l.normalizeCssArray(a).join("px ")+"px"),e.join(";")+";"}function v(t,e,n,i,r){var o=e&&e.painter;if(n){var s=o&&o.getViewportRoot();s&&a.transformLocalCoord(t,s,document.body,i,r)}else{t[0]=i,t[1]=r;var l=o&&o.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function m(t,e,n){if(s.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),a=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0,0,0],v(this._styleCoord,r,a,e.getWidth()/2,e.getHeight()/2),a?document.body.appendChild(i):t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var l=this;i.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=r.handler,n=r.painter.getViewportRoot();o.normalizeEvent(n,t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}m.prototype={constructor:m,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==n.position&&(i.position="relative");var r=t.get("alwaysShowContent");r&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText=f+g(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;v(n,this._zr,this._appendToBody,t,e);var i=this.el.style;i.left=n[0]+"px",i.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}};var y=m;t.exports=y},"07e6":function(t,e,n){n("4d85"),n("a7531")},"07fa":function(t,e,n){var i=n("50c4");t.exports=function(t){return i(t.length)}},"0817":function(t,e,n){var i=n("3eba");n("f306"),n("0046"),n("60d7");var r=n("ab71");i.registerVisual(r)},"083a":function(t,e,n){"use strict";var i=n("0d51"),r=TypeError;t.exports=function(t,e){if(!delete t[e])throw r("Cannot delete property "+i(e)+" of "+i(t))}},"085d":function(t,e,n){var i=n("3eba");n("bd92"),n("19e2");var r=n("eabf"),o=n("4c99"),a=n("09b1");i.registerPreprocessor(r),i.registerVisual(o),i.registerLayout(a)},"08c3":function(t,e,n){var i=n("6d8b"),r=n("84ce"),o=function(t,e,n,i){r.call(this,t,e,n),this.type=i||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(o,r);var a=o;t.exports=a},"0983":function(t,e,n){var i=n("c901");t.exports=function(t){return Object(i(t))}},"09b1":function(t,e,n){var i=n("2306"),r=i.subPixelOptimize,o=n("cccd"),a=n("3842"),s=a.parsePercent,l=n("6d8b"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:o(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=d(t,n),o=0,a=1,s=["x","y"],l=n.mapDimension(s[o]),u=n.mapDimension(s[a],!0),h=u[0],p=u[1],g=u[2],v=u[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(null==l||u.length<4))return{progress:t.pipelineContext.large?y:m};function m(t,n){var s;while(null!=(s=t.next())){var u=n.get(l,s),c=n.get(h,s),d=n.get(p,s),m=n.get(g,s),y=n.get(v,s),b=Math.min(c,d),_=Math.max(c,d),x=A(b,u),w=A(_,u),S=A(m,u),C=A(y,u),T=[];O(T,w,0),O(T,x,1),T.push(k(C),k(w),k(S),k(x)),n.setItemLayout(s,{sign:f(n,s,c,d,p),initBaseline:c>d?w[a]:x[a],ends:T,brushRect:M(m,y,u)})}function A(t,n){var i=[];return i[o]=n,i[a]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function O(t,e,n){var a=e.slice(),s=e.slice();a[o]=r(a[o]+i/2,1,!1),s[o]=r(s[o]-i/2,1,!0),n?t.push(a,s):t.push(s,a)}function M(t,e,n){var r=A(t,n),s=A(e,n);return r[o]-=i/2,s[o]-=i/2,{x:r[0],y:r[1],width:a?i:s[0]-r[0],height:a?s[1]-r[1]:i}}function k(t){return t[o]=r(t[o],1),t}}function y(t,n){var i,r,s=new c(4*t.count),u=0,d=[],m=[];while(null!=(r=t.next())){var y=n.get(l,r),b=n.get(h,r),_=n.get(p,r),x=n.get(g,r),w=n.get(v,r);isNaN(y)||isNaN(x)||isNaN(w)?(s[u++]=NaN,u+=3):(s[u++]=f(n,r,b,_,p),d[o]=y,d[a]=x,i=e.dataToPoint(d,null,m),s[u++]=i?i[0]:NaN,s[u++]=i?i[1]:NaN,d[a]=w,i=e.dataToPoint(d,null,m),s[u++]=i?i[1]:NaN)}n.setLayout("largePoints",s)}}};function f(t,e,n,i,r){var o;return o=n>i?-1:n<i?1:e>0?t.get(r,e-1)<=i?1:-1:1,o}function d(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=s(u(t.get("barMaxWidth"),r),r),a=s(u(t.get("barMinWidth"),1),r),l=t.get("barWidth");return null!=l?s(l,r):Math.max(Math.min(r/2,o),a)}t.exports=h},"0a06":function(t,e,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b"),l=n("848b"),u=l.validators;function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&l.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!i){var c=[a,void 0];Array.prototype.unshift.apply(c,n),c=c.concat(o),r=Promise.resolve(t);while(c.length)r=r.then(c.shift(),c.shift());return r}var h=t;while(n.length){var f=n.shift(),d=n.shift();try{h=f(h)}catch(p){d(p);break}}try{r=a(h)}catch(p){return Promise.reject(p)}while(o.length)r=r.then(o.shift(),o.shift());return r},c.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,i){return this.request(s(i||{},{method:t,url:e,data:n}))}})),t.exports=c},"0a6d":function(t,e,n){n("e4d1"),n("7f72")},"0ae2":function(t,e,n){var i=n("9876"),r=n("fed5"),o=n("1917");t.exports=function(t){var e=i(t),n=r.f;if(n){var a,s=n(t),l=o.f,u=0;while(s.length>u)l.call(t,a=s[u++])&&e.push(a)}return e}},"0b42":function(t,e,n){var i=n("e8b5"),r=n("68ee"),o=n("861d"),a=n("b622"),s=a("species"),l=Array;t.exports=function(t){var e;return i(t)&&(e=t.constructor,r(e)&&(e===l||i(e.prototype))?e=void 0:o(e)&&(e=e[s],null===e&&(e=void 0))),void 0===e?l:e}},"0b43":function(t,e,n){var i=n("04f8");t.exports=i&&!!Symbol["for"]&&!!Symbol.keyFor},"0b44":function(t,e,n){var i=n("607d"),r=function(){this._track=[]};function o(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function a(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}r.prototype={constructor:r,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var r=t.touches;if(r){for(var o={points:[],touches:[],target:e,event:t},a=0,s=r.length;a<s;a++){var l=r[a],u=i.clientToLocal(n,l,{});o.points.push([u.zrX,u.zrY]),o.touches.push(l)}this._track.push(o)}},_recognize:function(t){for(var e in s)if(s.hasOwnProperty(e)){var n=s[e](this._track,t);if(n)return n}}};var s={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var s=o(i)/o(r);!isFinite(s)&&(s=1),e.pinchScale=s;var l=a(i);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=r;t.exports=l},"0b4b":function(t,e,n){n("d28f"),n("f14c"),n("0ee7"),n("ebf9")},"0b99":function(t,e,n){"use strict";var i=n("19fa")(!0);n("393a")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},"0bad":function(t,e,n){t.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0c12":function(t,e){function n(){}function i(t,e,n,i){for(var r=0,o=e.length,a=0,s=0;r<o;r++){var l=e[r];if(l.removed){for(u=[],c=s;c<s+l.count;c++)u.push(c);l.indices=u,s+=l.count}else{for(var u=[],c=a;c<a+l.count;c++)u.push(c);l.indices=u,a+=l.count,l.added||(s+=l.count)}}return e}function r(t){return{newPos:t.newPos,components:t.components.slice(0)}}n.prototype={diff:function(t,e,n){n||(n=function(t,e){return t===e}),this.equals=n;var o=this;t=t.slice(),e=e.slice();var a=e.length,s=t.length,l=1,u=a+s,c=[{newPos:-1,components:[]}],h=this.extractCommon(c[0],e,t,0);if(c[0].newPos+1>=a&&h+1>=s){for(var f=[],d=0;d<e.length;d++)f.push(d);return[{indices:f,count:e.length}]}function p(){for(var n=-1*l;n<=l;n+=2){var u,h=c[n-1],f=c[n+1],d=(f?f.newPos:0)-n;h&&(c[n-1]=void 0);var p=h&&h.newPos+1<a,g=f&&0<=d&&d<s;if(p||g){if(!p||g&&h.newPos<f.newPos?(u=r(f),o.pushComponent(u.components,void 0,!0)):(u=h,u.newPos++,o.pushComponent(u.components,!0,void 0)),d=o.extractCommon(u,e,t,n),u.newPos+1>=a&&d+1>=s)return i(o,u.components,e,t);c[n]=u}else c[n]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){var r=e.length,o=n.length,a=t.newPos,s=a-i,l=0;while(a+1<r&&s+1<o&&this.equals(e[a+1],n[s+1]))a++,s++,l++;return l&&t.components.push({count:l}),t.newPos=a,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var o=new n;function a(t,e,n){return o.diff(t,e,n)}t.exports=a},"0c37":function(t,e,n){var i=n("6d8b"),r="--\x3e",o=function(t){return t.get("autoCurveness")||null},a=function(t,e){var n=o(t),r=20,a=[];if("number"===typeof n)r=n;else if(i.isArray(n))return void(t.__curvenessList=n);e>r&&(r=e);var s=r%2?r+2:r+3;a=[];for(var l=0;l<s;l++)a.push((l%2?l+1:l)/10*(l%2?-1:1));t.__curvenessList=a},s=function(t,e,n){var i=[t.id,t.dataIndex].join("."),o=[e.id,e.dataIndex].join(".");return[n.uid,i,o].join(r)},l=function(t){var e=t.split(r);return[e[0],e[2],e[1]].join(r)},u=function(t,e){var n=s(t.node1,t.node2,e);return e.__edgeMap[n]},c=function(t,e){var n=h(s(t.node1,t.node2,e),e),i=h(s(t.node2,t.node1,e),e);return n+i},h=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function f(t){o(t)&&(t.__curvenessList=[],t.__edgeMap={},a(t))}function d(t,e,n,i){if(o(n)){var r=s(t,e,n),a=n.__edgeMap,u=a[l(r)];a[r]&&!u?a[r].isForward=!0:u&&a[r]&&(u.isForward=!0,a[r].isForward=!1),a[r]=a[r]||[],a[r].push(i)}}function p(t,e,n,r){var f=o(e),d=i.isArray(f);if(!f)return null;var p=u(t,e);if(!p)return null;for(var g=-1,v=0;v<p.length;v++)if(p[v]===n){g=v;break}var m=c(t,e);a(e,m),t.lineStyle=t.lineStyle||{};var y=s(t.node1,t.node2,e),b=e.__curvenessList,_=d||m%2?0:1;if(p.isForward)return b[_+g];var x=l(y),w=h(x,e),S=b[g+w+_];return r?d?f&&0===f[0]?(w+_)%2?S:-S:((w%2?0:1)+_)%2?S:-S:(w+_)%2?S:-S:b[g+w+_]}e.initCurvenessList=f,e.createEdgeMapForCurveness=d,e.getCurvenessForEdge=p},"0c41":function(t,e,n){var i=n("6d8b"),r=n("4a01"),o=n("01ef"),a=n("c526"),s=a.onIrrelevantElement,l=n("2306"),u=n("5b87"),c=n("8918"),h=c.getUID,f=n("0cde");function d(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function p(t,e,n,r,o){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",(function(){t._mouseDownFlag=!0})),n.on("click",(function(a){if(t._mouseDownFlag){t._mouseDownFlag=!1;var s=a.target;while(!s.__regions)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(t){return{name:t.name,from:o.uid}}))};l[e.mainType+"Id"]=e.id,r.dispatchAction(l),g(e,n)}}})))}function g(t,e){e.eachChild((function(e){i.each(e.__regions,(function(n){e.trigger(t.isSelected(n.name)?"emphasis":"normal")}))}))}function v(t,e){var n=new l.Group;this.uid=h("ec_map_draw"),this._controller=new r(t.getZr()),this._controllerHost={target:e?n:null},this.group=n,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new l.Group),n.add(this._backgroundGroup=new l.Group)}v.prototype={constructor:v,draw:function(t,e,n,r,o){var a="geo"===t.mainType,s=t.getData&&t.getData();a&&e.eachComponent({mainType:"series",subType:"map"},(function(e){s||e.getHostGeoModel()!==t||(s=e.getData())}));var u=t.coordinateSystem;this._updateBackground(u);var c,h=this._regionsGroup,v=this.group,m=u.getTransformInfo(),y=!h.childAt(0)||o;if(y)v.transform=m.roamTransform,v.decomposeTransform(),v.dirty();else{var b=new f;b.transform=m.roamTransform,b.decomposeTransform();var _={scale:b.scale,position:b.position};c=b.scale,l.updateProps(v,_,t)}var x=m.rawScale,w=m.rawPosition;h.removeAll();var S=["itemStyle"],C=["emphasis","itemStyle"],T=["label"],A=["emphasis","label"],O=i.createHashMap();i.each(u.regions,(function(e){var n=O.get(e.name)||O.set(e.name,new l.Group),r=new l.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});n.add(r);var o,u=t.getRegionModel(e.name)||t,f=u.getModel(S),p=u.getModel(C),g=d(f),m=d(p),b=u.getModel(T),_=u.getModel(A);if(s){o=s.indexOfName(e.name);var M=s.getItemVisual(o,"color",!0);M&&(g.fill=M)}var k=function(t){return[t[0]*x[0]+w[0],t[1]*x[1]+w[1]]};i.each(e.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n<t.exterior.length;++n)e.push(k(t.exterior[n]));r.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:e}}));for(n=0;n<(t.interiors?t.interiors.length:0);++n){for(var i=t.interiors[n],o=(e=[],0);o<i.length;++o)e.push(k(i[o]));r.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:e}}))}}})),r.setStyle(g),r.style.strokeNoScale=!0,r.culling=!0;var I=b.get("show"),E=_.get("show"),P=s&&isNaN(s.get(s.mapDimension("value"),o)),D=s&&s.getItemLayout(o);if(a||P&&(I||E)||D&&D.showLabel){var L,R=a?e.name:o;(!s||o>=0)&&(L=t);var N=new l.Text({position:k(e.center.slice()),scale:[1/v.scale[0],1/v.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(N.style,N.hoverStyle={},b,_,{labelFetcher:L,labelDataIndex:R,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!y){var j=[1/c[0],1/c[1]];l.updateProps(N,{scale:j},t)}n.add(N)}if(s)s.setItemGraphicEl(o,n);else{u=t.getRegionModel(e.name);r.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:u&&u.option||{}}}var B=n.__regions||(n.__regions=[]);B.push(e),n.highDownSilentOnTouch=!!t.get("selectedMode"),l.setHoverStyle(n,m),h.add(n)})),this._updateController(t,e,n),p(this,t,h,n,r),g(t,h)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&i.each(u.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,n){var r=t.coordinateSystem,a=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=r.getZoom(),a.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}a.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,o.updateViewOnPan(l,t.dx,t.dy),n.dispatchAction(i.extend(c(),{dx:t.dx,dy:t.dy}))}),this),a.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,t.scale,t.originX,t.originY),n.dispatchAction(i.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),a.setPointerChecker((function(e,i,o){return r.getViewRectAfterRoam().contain(i,o)&&!s(e,n,t)}))}};var m=v;t.exports=m},"0c47":function(t,e,n){var i=n("da84"),r=n("d44e");r(i.JSON,"JSON",!0)},"0cb2":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=Math.floor,a=i("".charAt),s=i("".replace),l=i("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,h,f){var d=n+t.length,p=i.length,g=c;return void 0!==h&&(h=r(h),g=u),s(f,g,(function(r,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,d);case"<":u=h[l(s,1,-1)];break;default:var c=+s;if(0===c)return r;if(c>p){var f=o(c/10);return 0===f?r:f<=p?void 0===i[f-1]?a(s,1):i[f-1]+a(s,1):r}u=i[c-1]}return void 0===u?"":u}))}},"0cde":function(t,e,n){var i=n("1687"),r=n("401b"),o=i.identity,a=5e-5;function s(t){return t>a||t<-a}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;if(n||e){r=r||i.create(),n?this.getLocalTransform(r):o(r),e&&(n?i.mul(r,t.transform,r):i.copy(r,t.transform)),this.transform=r;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*a+s)/c[0]||0,h=((c[1]-l)*a+l)/c[1]||0;r[0]*=u,r[1]*=u,r[2]*=h,r[3]*=h}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&o(r)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],f=i.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,r=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],r[0]=e,r[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(h,t.invTransform,e),e=h);var n=this.origin;n&&(n[0]||n[1])&&(f[4]=n[0],f[5]=n[1],i.mul(h,e,f),h[4]-=n[0],h[5]-=n[1],e=h),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},u.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.applyTransform(n,n,i),n},l.getLocalTransform=function(t,e){e=e||[],o(e);var n=t.origin,r=t.scale||[1,1],a=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,r),a&&i.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var d=l;t.exports=d},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(t,e,n){var i=n("e330"),r=Error,o=i("".replace),a=function(t){return String(r(t).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)while(e--)t=o(t,s,"");return t}},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"0da8":function(t,e,n){var i=n("19eb"),r=n("9850"),o=n("6d8b"),a=n("5e76");function s(t){i.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var r=this._image=a.createOrUpdateImage(i,this._image,this,this.onload);if(r&&a.isImageReady(r)){var o=n.x||0,s=n.y||0,l=n.width,u=n.height,c=r.width/r.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=r.width,u=r.height),this.setTransform(t),n.sWidth&&n.sHeight){var h=n.sx||0,f=n.sy||0;t.drawImage(r,h,f,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){h=n.sx,f=n.sy;var d=l-h,p=u-f;t.drawImage(r,h,f,d,p,o,s,l,u)}else t.drawImage(r,o,s,l,u);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new r(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},o.inherits(s,i);var l=s;t.exports=l},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e0f":function(t,e,n){var i=n("5f14"),r=n("6d8b");function o(t,e){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes;if(n.length){var o=1/0,a=-1/0;r.each(n,(function(t){var e=t.getLayout().value;e<o&&(o=e),e>a&&(a=e)})),r.each(n,(function(e){var n=new i({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:t.get("color")}),r=n.mapValueToVisual(e.getLayout().value),s=e.getModel().get("itemStyle.color");null!=s?e.setVisual("color",s):e.setVisual("color",r)}))}}))}t.exports=o},"0e15":function(t,e,n){var i=n("597f");t.exports=function(t,e,n){return void 0===n?i(t,e,!1):i(t,n,!1!==e)}},"0ee7":function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("f934"),a=n("5e97"),s=r.Group,l=["width","height"],u=["x","y"],c=a.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,n,o,a,s,l){var u=this;c.superCall(this,"renderInner",t,e,n,o,a,s,l);var h=this._controllerGroup,f=e.get("pageIconSize",!0);i.isArray(f)||(f=[f,f]),p("pagePrev",0);var d=e.getModel("pageTextStyle");function p(t,n){var a=t+"DataIndex",s=r.createIcon(e.get("pageIcons",!0)[e.getOrient().name][n],{onclick:i.bind(u._pageGo,u,a,e,o)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});s.name=t,h.add(s)}h.add(new r.Text({name:"pageText",style:{textFill:d.getTextColor(),font:d.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(t,e,n,r,a,s){var c=this.getSelectorGroup(),h=t.getOrient().index,f=l[h],d=u[h],p=l[1-h],g=u[1-h];a&&o.box("horizontal",c,t.get("selectorItemGap",!0));var v=t.get("selectorButtonGap",!0),m=c.getBoundingRect(),y=[-m.x,-m.y],b=i.clone(n);a&&(b[f]=n[f]-m[f]-v);var _=this._layoutContentAndController(t,r,b,h,f,p,g);if(a){if("end"===s)y[h]+=_[f]+v;else{var x=m[f]+v;y[h]-=x,_[d]-=x}_[f]+=m[f]+v,y[1-h]+=_[g]+_[p]/2-m[p]/2,_[p]=Math.max(_[p],m[p]),_[g]=Math.min(_[g],m[g]+y[1-h]),c.attr("position",y)}return _},_layoutContentAndController:function(t,e,n,a,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,f=this._controllerGroup;o.box(t.get("orient"),c,t.get("itemGap"),a?n.width:null,a?null:n.height),o.box("horizontal",f,t.get("pageButtonItemGap",!0));var d=c.getBoundingRect(),p=f.getBoundingRect(),g=this._showController=d[s]>n[s],v=[-d.x,-d.y];e||(v[a]=c.position[a]);var m=[0,0],y=[-p.x,-p.y],b=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(g){var _=t.get("pageButtonPosition",!0);"end"===_?y[a]+=n[s]-p[s]:m[a]+=p[s]+b}y[1-a]+=d[l]/2-p[l]/2,c.attr("position",v),h.attr("position",m),f.attr("position",y);var x={x:0,y:0};if(x[s]=g?n[s]:d[s],x[l]=Math.max(d[l],p[l]),x[u]=Math.min(0,p[u]+y[1-a]),h.__rectSize=n[s],g){var w={x:0,y:0};w[s]=Math.max(n[s]-p[s]-b,0),w[l]=x[l],h.setClipPath(new r.Rect({shape:w})),h.__rectSize=w[s]}else f.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(t);return null!=S.pageIndex&&r.updateProps(c,{position:S.contentPosition},!!g&&t),this._updatePageInfoView(t,S),x},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=n.childOfName("pageText"),o=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;r&&o&&r.setStyle("text",i.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=l[r],a=u[r],s=this._findTargetItemIndex(e),c=n.children(),h=c[s],f=c.length,d=f?1:0,p={contentPosition:n.position.slice(),pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[r]=-g.s;for(var v=s+1,m=g,y=g,b=null;v<=f;++v)b=_(c[v]),(!b&&y.e>m.s+i||b&&!x(b,m.s))&&(m=y.i>m.i?y:b,m&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=b;for(v=s-1,m=g,y=g,b=null;v>=-1;--v)b=_(c[v]),b&&x(y,b.s)||!(m.i<y.i)||(y=m,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=m.i),++p.pageCount,++p.pageIndex),m=b;return p;function _(t){if(t){var e=t.getBoundingRect(),n=e[a]+t.position[r];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function x(t,e){return t.e>=e&&t.s<=e+i}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n}}),h=c;t.exports=h},"0f55":function(t,e,n){var i=n("6d8b"),r=n("84ce"),o=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(o,r);var a=o;t.exports=a},"0f99":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("e0d3")),o=r.makeInner,a=r.getDataItemValue,s=n("6d8b"),l=s.createHashMap,u=s.each,c=s.map,h=s.isArray,f=s.isString,d=s.isObject,p=s.isTypedArray,g=s.isArrayLike,v=s.extend,m=(s.assert,n("ec6f")),y=n("93d0"),b=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,x=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,C=y.SOURCE_FORMAT_TYPED_ARRAY,T=y.SERIES_LAYOUT_BY_ROW,A={Must:1,Might:2,Not:3},O=o();function M(t){var e=t.option.source,n=S;if(p(e))n=C;else if(h(e)){0===e.length&&(n=_);for(var i=0,r=e.length;i<r;i++){var o=e[i];if(null!=o){if(h(o)){n=_;break}if(d(o)){n=x;break}}}}else if(d(e)){for(var a in e)if(e.hasOwnProperty(a)&&g(e[a])){n=w;break}}else if(null!=e)throw new Error("Invalid data");O(t).sourceFormat=n}function k(t){return O(t).source}function I(t){O(t).datasetMap=l()}function E(t){var e=t.option,n=e.data,i=p(n)?C:b,r=!1,o=e.seriesLayoutBy,a=e.sourceHeader,s=e.dimensions,l=B(t);if(l){var u=l.option;n=u.source,i=O(l).sourceFormat,r=!0,o=o||u.seriesLayoutBy,null==a&&(a=u.sourceHeader),s=s||u.dimensions}var c=P(n,i,o,a,s);O(t).source=new m({data:n,fromDataset:r,seriesLayoutBy:o,sourceFormat:i,dimensionsDefine:c.dimensionsDefine,startIndex:c.startIndex,dimensionsDetectCount:c.dimensionsDetectCount,encodeDefine:e.encode})}function P(t,e,n,i,r){if(!t)return{dimensionsDefine:D(r)};var o,s;if(e===_)"auto"===i||null==i?L((function(t){null!=t&&"-"!==t&&(f(t)?null==s&&(s=1):s=0)}),n,t,10):s=i?1:0,r||1!==s||(r=[],L((function(t,e){r[e]=null!=t?t:""}),n,t)),o=r?r.length:n===T?t.length:t[0]?t[0].length:null;else if(e===x)r||(r=R(t));else if(e===w)r||(r=[],u(t,(function(t,e){r.push(e)})));else if(e===b){var l=a(t[0]);o=h(l)&&l.length||1}return{startIndex:s,dimensionsDefine:D(r),dimensionsDetectCount:o}}function D(t){if(t){var e=l();return c(t,(function(t,n){if(t=v({},d(t)?t:{name:t}),null==t.name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var i=e.get(t.name);return i?t.name+="-"+i.count++:e.set(t.name,{count:1}),t}))}}function L(t,e,n,i){if(null==i&&(i=1/0),e===T)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function R(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e){var i=[];return u(e,(function(t,e){i.push(e)})),i}}function N(t,e,n){var i={},r=B(e);if(!r||!t)return i;var o,a,s=[],l=[],c=e.ecModel,h=O(c).datasetMap,f=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),u(t,(function(e,n){!d(e)&&(t[n]={name:e}),"ordinal"===e.type&&null==o&&(o=n,a=v(t[n])),i[e.name]=[]}));var p=h.get(f)||h.set(f,{categoryWayDim:a,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function v(t){var e=t.dimsDef;return e?e.length:1}return u(t,(function(t,e){var n=t.name,r=v(t);if(null==o){var a=p.valueWayDim;g(i[n],a,r),g(l,a,r),p.valueWayDim+=r}else if(o===e)g(i[n],0,r),g(s,0,r);else{a=p.categoryWayDim;g(i[n],a,r),g(l,a,r),p.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function j(t,e,n){var i={},r=B(t);if(!r)return i;var o,a=e.sourceFormat,s=e.dimensionsDefine;a!==x&&a!==w||u(s,(function(t,e){"name"===(d(t)?t.name:t)&&(o=e)}));var l=function(){for(var t={},i={},r=[],l=0,u=Math.min(5,n);l<u;l++){var c=z(e.data,a,e.seriesLayoutBy,s,e.startIndex,l);r.push(c);var h=c===A.Not;if(h&&null==t.v&&l!==o&&(t.v=l),(null==t.n||t.n===t.v||!h&&r[t.n]===A.Not)&&(t.n=l),f(t)&&r[t.n]!==A.Not)return t;h||(c===A.Might&&null==i.v&&l!==o&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(i)?i:null}();if(l){i.value=l.v;var c=null!=o?o:l.n;i.itemName=[c],i.seriesName=[c]}return i}function B(t){var e=t.option,n=e.data;if(!n)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function F(t,e){return z(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function z(t,e,n,i,r,o){var s,l,u,c=5;if(p(t))return A.Not;if(i){var g=i[o];d(g)?(l=g.name,u=g.type):f(g)&&(l=g)}if(null!=u)return"ordinal"===u?A.Must:A.Not;if(e===_)if(n===T){for(var v=t[o],m=0;m<(v||[]).length&&m<c;m++)if(null!=(s=O(v[r+m])))return s}else for(m=0;m<t.length&&m<c;m++){var y=t[r+m];if(y&&null!=(s=O(y[o])))return s}else if(e===x){if(!l)return A.Not;for(m=0;m<t.length&&m<c;m++){var S=t[m];if(S&&null!=(s=O(S[l])))return s}}else if(e===w){if(!l)return A.Not;v=t[l];if(!v||p(v))return A.Not;for(m=0;m<v.length&&m<c;m++)if(null!=(s=O(v[m])))return s}else if(e===b)for(m=0;m<t.length&&m<c;m++){S=t[m];var C=a(S);if(!h(C))return A.Not;if(null!=(s=O(C[o])))return s}function O(t){var e=f(t);return null!=t&&isFinite(t)&&""!==t?e?A.Might:A.Not:e&&"-"!==t?A.Must:void 0}return A.Not}e.BE_ORDINAL=A,e.detectSourceFormat=M,e.getSource=k,e.resetSourceDefaulter=I,e.prepareSource=E,e.makeSeriesEncodeForAxisCoordSys=N,e.makeSeriesEncodeForNameBased=j,e.guessOrdinal=F},"0fd3":function(t,e,n){var i=n("2306"),r=n("7e5b"),o=n("6d8b"),a=n("a15a"),s=a.createSymbol,l=n("401b"),u=n("4a3f");function c(t,e,n){i.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}var h=c.prototype;h.createLine=function(t,e,n){return new r(t,e,n)},h._updateEffectSymbol=function(t,e){var n=t.getItemModel(e),i=n.getModel("effect"),r=i.get("symbolSize"),a=i.get("symbol");o.isArray(r)||(r=[r,r]);var l=i.get("color")||t.getItemVisual(e,"color"),u=this.childAt(1);this._symbolType!==a&&(this.remove(u),u=s(a,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(i.getItemStyle(["color"])),u.attr("scale",r),u.setColor(l),u.attr("scale",r),this._symbolType=a,this._symbolScale=r,this._updateEffectAnimation(t,i,e))},h._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=this,a=t.getItemLayout(n),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),c=o.retrieve(e.get("delay"),(function(e){return e/t.count()*s/3})),h="function"===typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,a),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var f=c;h&&(f=c(n)),i.__t>0&&(f=-s*i.__t),i.__t=0;var d=i.animate("",l).when(s,{__t:1}).delay(f).during((function(){r.updateSymbolPosition(i)}));l||d.done((function(){r.remove(i)})),d.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return l.dist(t.__p1,t.__cp1)+l.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,o=t.position,a=[o[0],o[1]],s=u.quadraticAt,c=u.quadraticDerivativeAt;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var h=c(e[0],i[0],n[0],r),f=c(e[1],i[1],n[1],r);if(t.rotation=-Math.atan2(f,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT<t.__t){var d=1.05*l.dist(a,o);t.attr("scale",[t.scale[0],d]),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)}else if(1===t.__lastT){d=2*l.dist(e,o);t.attr("scale",[t.scale[0],d])}else t.attr("scale",this._symbolScale);t.__lastT=t.__t,t.ignore=!1},h.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},o.inherits(c,i.Group);var f=c;t.exports=f},"107c":function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},1098:function(t,e,n){"use strict";e.__esModule=!0;var i=n("17ed"),r=l(i),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof r.default?function(t){return typeof t}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function l(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof a.default&&"symbol"===s(r.default)?function(t){return"undefined"===typeof t?"undefined":s(t)}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"===typeof t?"undefined":s(t)}},"10cc":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("9850"),a=n("2b8c"),s=n("a890"),l=n("88b3"),u=n("bd9e"),c=["inBrush","outOfBrush"],h="__ecBrushSelect",f="__ecInBrushSelectEvent",d=i.PRIORITY.VISUAL.BRUSH;function p(t){t.eachComponent({mainType:"brush"},(function(e){var n=e.brushTargetManager=new u(e.option,t);n.setInputRanges(e.areas,t)}))}function g(t,e,n,i,r){if(r){var o=t.getZr();if(!o[f]){o[h]||(o[h]=v);var a=l.createOrUpdate(o,h,n,e);a(t,i)}}}function v(t,e){if(!t.isDisposed()){var n=t.getZr();n[f]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[f]=!1}}function m(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t[a.brushType](i,n,a.selectors,a))return!0}}function y(t){var e=t.brushSelector;if(r.isString(e)){var n=[];return r.each(s,(function(t,i){n[i]=function(n,i,r,o){var a=i.getItemLayout(n);return t[e](a,r,o)}})),n}if(r.isFunction(e)){var i={};return r.each(s,(function(t,n){i[n]=e})),i}return e}function b(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(r.isArray(n)?r.indexOf(n,e)<0:e!==n)}function _(t){var e=t.selectors={};return r.each(s[t.brushType],(function(n,i){e[i]=function(i){return n(i,e,t)}})),t}i.registerLayout(d,(function(t,e,n){t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),p(t)})),i.registerVisual(d,(function(t,e,n){var i,o,s=[];t.eachComponent({mainType:"brush"},(function(e,n){var l={brushId:e.id,brushIndex:n,brushName:e.name,areas:r.clone(e.areas),selected:[]};s.push(l);var u=e.option,h=u.brushLink,f=[],d=[],p=[],g=0;n||(i=u.throttleType,o=u.throttleDelay);var v=r.map(e.areas,(function(t){return _(r.defaults({boundingRect:x[t.brushType](t)},t))})),w=a.createVisualMappings(e.option,c,(function(t){t.mappingMethod="fixed"}));function S(t){return"all"===h||f[t]}function C(t){return!!t.length}function T(t,e){var n=t.coordinateSystem;g|=n.hasAxisBrushed(),S(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(d[e]=1)}))}function A(n,i,o){var a=y(n);if(a&&!b(e,i)&&(r.each(v,(function(i){a[i.brushType]&&e.brushTargetManager.controlSeries(i,n,t)&&o.push(i),g|=C(o)})),S(i)&&C(o))){var s=n.getData();s.each((function(t){m(a,o,s,t)&&(d[t]=1)}))}}r.isArray(h)&&r.each(h,(function(t){f[t]=1})),t.eachSeries((function(t,e){var n=p[e]=[];"parallel"===t.subType?T(t,e,n):A(t,e,n)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};l.selected.push(n);var i=y(t),r=p[e],o=t.getData(),s=S(e)?function(t){return d[t]?(n.dataIndex.push(o.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return m(i,r,o,t)?(n.dataIndex.push(o.getRawIndex(t)),"inBrush"):"outOfBrush"};(S(e)?g:C(r))&&a.applyVisual(c,w,o,s)}))})),g(e,i,o,s,n)}));var x={lineX:r.noop,lineY:r.noop,rect:function(t){return w(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&w(e)}};function w(t){return new o(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=p},"10db":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1111:function(t,e,n){var i=n("3eba");n("67a8"),n("4784");var r=n("7f96"),o=n("87c3");i.registerVisual(r("effectScatter","circle")),i.registerLayout(o("effectScatter"))},1148:function(t,e,n){"use strict";var i=n("5926"),r=n("577e"),o=n("1d80"),a=RangeError;t.exports=function(t){var e=r(o(this)),n="",s=i(t);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(n+=e);return n}},1276:function(t,e,n){"use strict";var i=n("2ba4"),r=n("c65b"),o=n("e330"),a=n("d784"),s=n("825a"),l=n("7234"),u=n("44e7"),c=n("1d80"),h=n("4840"),f=n("8aa5"),d=n("50c4"),p=n("577e"),g=n("dc4a"),v=n("4dae"),m=n("14c3"),y=n("9263"),b=n("9f7f"),_=n("d039"),x=b.UNSUPPORTED_Y,w=4294967295,S=Math.min,C=[].push,T=o(/./.exec),A=o(C),O=o("".slice),M=!_((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=p(c(this)),a=void 0===n?w:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!u(t))return r(e,o,t,a);var s,l,h,f=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,m=new RegExp(t.source,d+"g");while(s=r(y,m,o)){if(l=m.lastIndex,l>g&&(A(f,O(o,g,s.index)),s.length>1&&s.index<o.length&&i(C,f,v(s,1)),h=s[0].length,g=l,f.length>=a))break;m.lastIndex===s.index&&m.lastIndex++}return g===o.length?!h&&T(m,"")||A(f,""):A(f,O(o,g)),f.length>a?v(f,0,a):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:r(e,this,t,n)}:e,[function(e,n){var i=c(this),a=l(e)?void 0:g(e,t);return a?r(a,e,i,n):r(o,p(i),e,n)},function(t,i){var r=s(this),a=p(t),l=n(o,r,a,i,o!==e);if(l.done)return l.value;var u=h(r,RegExp),c=r.unicode,g=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(x?"g":"y"),v=new u(x?"^(?:"+r.source+")":r,g),y=void 0===i?w:i>>>0;if(0===y)return[];if(0===a.length)return null===m(v,a)?[a]:[];var b=0,_=0,C=[];while(_<a.length){v.lastIndex=x?0:_;var T,M=m(v,x?O(a,_):a);if(null===M||(T=S(d(v.lastIndex+(x?_:0)),a.length))===b)_=f(a,_,c);else{if(A(C,O(a,b,_)),C.length===y)return C;for(var k=1;k<=M.length-1;k++)if(A(C,M[k]),C.length===y)return C;_=b=T}}return A(C,O(a,b)),C}]}),!M,x)},"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"131a":function(t,e,n){var i=n("23e7"),r=n("d2bb");i({target:"Object",stat:!0},{setPrototypeOf:r})},"133d":function(t,e,n){var i=n("6d8b"),r=n("e0d3");function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.queryDataIndex(s,t);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)o=c.dataToPoint(s.getValues(i.map(c.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),o=[h.x+h.width/2,h.y+h.height/2]}return{point:o,el:u}}t.exports=o},"13d2":function(t,e,n){var i=n("d039"),r=n("1626"),o=n("1a2d"),a=n("83ab"),s=n("5e77").CONFIGURABLE,l=n("8925"),u=n("69f3"),c=u.enforce,h=u.get,f=Object.defineProperty,d=a&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),p=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?f(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var i=c(t);return o(i,"source")||(i.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return r(this)&&h(this).source||l(this)}),"toString")},1418:function(t,e,n){var i=n("6d8b"),r=n("a15a"),o=r.createSymbol,a=n("2306"),s=n("3842"),l=s.parsePercent,u=n("c775"),c=u.getDefaultLabel;function h(t,e,n){a.Group.call(this),this.updateData(t,e,n)}var f=h.prototype,d=h.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function p(t){return[t[0]/2,t[1]/2]}function g(t,e){this.parent.drift(t,e)}f._createSymbol=function(t,e,n,i,r){this.removeAll();var a=e.getItemVisual(n,"color"),s=o(t,-1,-1,2,2,a,r);s.attr({z2:100,culling:!0,scale:p(i)}),s.drift=g,this._symbolType=t,this.add(s)},f.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},f.getSymbolPath=function(){return this.childAt(0)},f.getScale=function(){return this.childAt(0).scale},f.highlight=function(){this.childAt(0).trigger("emphasis")},f.downplay=function(){this.childAt(0).trigger("normal")},f.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},f.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},f.updateData=function(t,e,n){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",r=t.hostModel,o=d(t,e),s=i!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,o,l)}else{var u=this.childAt(0);u.silent=!1,a.updateProps(u,{scale:p(o)},r,e)}if(this._updateCommon(t,e,o,n),s){u=this.childAt(0);var c=n&&n.fadeIn,h={scale:u.scale.slice()};c&&(h.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),a.initProps(u,h,r,e)}this._seriesModel=r};var v=["itemStyle"],m=["emphasis","itemStyle"],y=["label"],b=["emphasis","label"];function _(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var n=this.__symbolOriginalScale,i=n[1]/n[0],r={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*i)]};this.animateTo(r,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}f._updateCommon=function(t,e,n,r){var o=this.childAt(0),s=t.hostModel,u=t.getItemVisual(e,"color");"image"!==o.type?o.useStyle({strokeNoScale:!0}):o.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var h=r&&r.itemStyle,f=r&&r.hoverItemStyle,d=r&&r.symbolOffset,g=r&&r.labelModel,x=r&&r.hoverLabelModel,w=r&&r.hoverAnimation,S=r&&r.cursorStyle;if(!r||t.hasItemOption){var C=r&&r.itemModel?r.itemModel:t.getItemModel(e);h=C.getModel(v).getItemStyle(["color"]),f=C.getModel(m).getItemStyle(),d=C.getShallow("symbolOffset"),g=C.getModel(y),x=C.getModel(b),w=C.getShallow("hoverAnimation"),S=C.getShallow("cursor")}else f=i.extend({},f);var T=o.style,A=t.getItemVisual(e,"symbolRotate");o.attr("rotation",(A||0)*Math.PI/180||0),d&&o.attr("position",[l(d[0],n[0]),l(d[1],n[1])]),S&&o.attr("cursor",S),o.setColor(u,r&&r.symbolInnerColor),o.setStyle(h);var O=t.getItemVisual(e,"opacity");null!=O&&(T.opacity=O);var M=t.getItemVisual(e,"liftZ"),k=o.__z2Origin;null!=M?null==k&&(o.__z2Origin=o.z2,o.z2+=M):null!=k&&(o.z2=k,o.__z2Origin=null);var I=r&&r.useNameLabel;function E(e,n){return I?t.getName(e):c(t,e)}a.setLabelStyle(T,f,g,x,{labelFetcher:s,labelDataIndex:e,defaultText:E,isRectText:!0,autoColor:u}),o.__symbolOriginalScale=p(n),o.hoverStyle=f,o.highDownOnUpdate=w&&s.isAnimationEnabled()?_:null,a.setHoverStyle(o)},f.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},i.inherits(h,a.Group);var x=h;t.exports=x},1466:function(t,e,n){var i=n("3eba"),r=n("2306"),o=n("6d8b"),a=n("a15a");function s(t){return o.isArray(t)||(t=[+t,+t]),t}var l=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,l=this.group,u=t.getData(),c=this._data;function h(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n){var r=s(t.getItemVisual(e,"symbolSize")),o=a.createSymbol(n,-1,-1,2,2,i),l=t.getItemVisual(e,"symbolRotate")||0;return o.attr({style:{strokeNoScale:!0},z2:100,scale:[r[0]/2,r[1]/2],rotation:l*Math.PI/180||0}),o}}function f(e,n,i,o,a,s){i.removeAll();for(var l=0;l<n.length-1;l++){var u=h(o,a);u&&(u.__dimIdx=l,e[l]?(u.attr("position",e[l]),r[s?"initProps":"updateProps"](u,{position:n[l]},t,a)):u.attr("position",n[l]),i.add(u))}}function d(t){return o.map(t,(function(t){return[i.cx,i.cy]}))}u.diff(c).add((function(e){var n=u.getItemLayout(e);if(n){var i=new r.Polygon,o=new r.Polyline,a={shape:{points:n}};i.shape.points=d(n),o.shape.points=d(n),r.initProps(i,a,t,e),r.initProps(o,a,t,e);var s=new r.Group,l=new r.Group;s.add(o),s.add(i),s.add(l),f(o.shape.points,n,l,u,e,!0),u.setItemGraphicEl(e,s)}})).update((function(e,n){var i=c.getItemGraphicEl(n),o=i.childAt(0),a=i.childAt(1),s=i.childAt(2),l={shape:{points:u.getItemLayout(e)}};l.shape.points&&(f(o.shape.points,l.shape.points,s,u,e,!1),r.updateProps(o,l,t),r.updateProps(a,l,t),u.setItemGraphicEl(e,i))})).remove((function(t){l.remove(c.getItemGraphicEl(t))})).execute(),u.eachItemGraphicEl((function(t,e){var n=u.getItemModel(e),i=t.childAt(0),a=t.childAt(1),s=t.childAt(2),c=u.getItemVisual(e,"color");l.add(t),i.useStyle(o.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),i.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle();var h=n.getModel("areaStyle"),f=n.getModel("emphasis.areaStyle"),d=h.isEmpty()&&h.parentModel.isEmpty(),p=f.isEmpty()&&f.parentModel.isEmpty();p=p&&d,a.ignore=d,a.useStyle(o.defaults(h.getAreaStyle(),{fill:c,opacity:.7})),a.hoverStyle=f.getAreaStyle();var g=n.getModel("itemStyle").getItemStyle(["color"]),v=n.getModel("emphasis.itemStyle").getItemStyle(),m=n.getModel("label"),y=n.getModel("emphasis.label");s.eachChild((function(t){t.setStyle(g),t.hoverStyle=o.clone(v);var n=u.get(u.dimensions[t.__dimIdx],e);(null==n||isNaN(n))&&(n=""),r.setLabelStyle(t.style,t.hoverStyle,m,y,{labelFetcher:u.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:n,autoColor:c,isRectText:!0})})),t.highDownOnUpdate=function(t,e){a.attr("ignore","emphasis"===e?p:d)},r.setHoverStyle(t)})),this._data=u},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=l},"14c3":function(t,e,n){var i=n("c65b"),r=n("825a"),o=n("1626"),a=n("c6b6"),s=n("9263"),l=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var u=i(n,t,e);return null!==u&&r(u),u}if("RegExp"===a(t))return i(s,t,e);throw l("RegExp#exec called on incompatible receiver")}},"14d3":function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("fab2"),a=n("6679"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=a.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,a=r.getAngleAxis(),u=n.getTicksCoords(),h=n.getMinorTicksCoords(),f=a.getExtent()[0],d=n.getExtent(),p=c(r,t,f),g=new o(t,p);i.each(s,g.add,g),this.group.add(g.getGroup()),i.each(l,(function(e){t.get(e+".show")&&!n.scale.isBlank()&&this["_"+e](t,r,f,d,u,h)}),this)}},_splitLine:function(t,e,n,o,a){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],f=0;f<a.length;f++){var d=c++%u.length;h[d]=h[d]||[],h[d].push(new r.Circle({shape:{cx:e.cx,cy:e.cy,r:a[f].coord}}))}for(f=0;f<h.length;f++)this.group.add(r.mergePath(h[f],{style:i.defaults({stroke:u[f%u.length],fill:null},l.getLineStyle()),silent:!0}))},_minorSplitLine:function(t,e,n,o,a,s){if(s.length){for(var l=t.getModel("minorSplitLine"),u=l.getModel("lineStyle"),c=[],h=0;h<s.length;h++)for(var f=0;f<s[h].length;f++)c.push(new r.Circle({shape:{cx:e.cx,cy:e.cy,r:s[h][f].coord}}));this.group.add(r.mergePath(c,{style:i.defaults({fill:null},u.getLineStyle()),silent:!0}))}},_splitArea:function(t,e,n,o,a){if(a.length){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],f=a[0].coord,d=1;d<a.length;d++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new r.Sector({shape:{cx:e.cx,cy:e.cy,r0:f,r:a[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),f=a[d].coord}for(d=0;d<h.length;d++)this.group.add(r.mergePath(h[d],{style:i.defaults({fill:u[d%u.length]},l.getAreaStyle()),silent:!0}))}}});function c(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}t.exports=u},"14d9":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("3511"),l=n("d039"),u=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();i({target:"Array",proto:!0,arity:1,forced:u||c},{push:function(t){var e=r(this),n=o(e),i=arguments.length;s(n+i);for(var l=0;l<i;l++)e[n]=arguments[l],n++;return a(e,n),n}})},"14e1":function(t,e,n){},"14e5":function(t,e,n){"use strict";var i=n("23e7"),r=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),l=n("2266"),u=n("5eed");i({target:"Promise",stat:!0,forced:u},{all:function(t){var e=this,n=a.f(e),i=n.resolve,u=n.reject,c=s((function(){var n=o(e.resolve),a=[],s=0,c=1;l(t,(function(t){var o=s++,l=!1;c++,r(n,e,t).then((function(t){l||(l=!0,a[o]=t,--c||i(a))}),u)})),--c||i(a)}));return c.error&&u(c.value),n.promise}})},1548:function(t,e,n){var i=n("6d8b"),r=n("3301"),o=n("697e"),a=n("2023"),s=n("4319"),l=n("f934");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var u=n("ee1a"),c=u.enableDataStack,h=u.isDimensionStacked,f=u.getStackedDimension,d=n("862d");e.completeDimensions=d;var p=n("b1d4");e.createDimensions=p;var g=n("a15a");function v(t){return r(t.getSource(),t)}e.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:c,getStackedDimension:f};function y(t,e){var n=e;s.isInstance(e)||(n=new s(e),i.mixin(n,a));var r=o.createScaleByModel(n);return r.setExtent(t[0],t[1]),o.niceScaleExtent(r,n),r}function b(t){i.mixin(t,a)}e.createList=v,e.dataStack=m,e.createScale=y,e.mixinAxisModelCommonMethods=b},"159b":function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("785a"),a=n("17c2"),s=n("9112"),l=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in r)r[u]&&l(i[u]&&i[u].prototype);l(o)},"15af":function(t,e,n){var i=n("3eba");n("cb69"),n("abff");var r=n("7f96"),o=n("87c3");n("01ed"),i.registerVisual(r("scatter","circle")),i.registerLayout(o("scatter"))},1609:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},1626:function(t,e,n){var i=n("8ea1"),r=i.all;t.exports=i.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},1687:function(t,e){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+a*u,t[1]=-i*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t}function u(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function c(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function h(t){var e=i();return o(e,t),e}e.create=i,e.identity=r,e.copy=o,e.mul=a,e.translate=s,e.rotate=l,e.scale=u,e.invert=c,e.clone=h},1748:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("71ad"),a=n("4319"),s=n("2023"),l=o.valueAxis;function u(t,e){return r.defaults({show:e},t)}var c=i.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),f=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),g=r.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var v=c;if(null!=g.color&&(v=r.defaults({color:g.color},c)),g=r.merge(r.clone(g),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:o,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:d,nameTextStyle:v,triggerEvent:p},!1),h||(g.name=""),"string"===typeof f){var m=g.name;g.name=f.replace("{value}",null!=m?m:"")}else"function"===typeof f&&(g.name=f(g.name,g));var y=r.extend(new a(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},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:r.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;t.exports=h},1792:function(t,e){var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function i(t,e){if("china"===t){var i=n[e.name];if(i){var r=e.center;r[0]+=i[0]/10.5,r[1]+=-i[1]/14}}}t.exports=i},"17b8":function(t,e,n){var i=n("3014"),r=i.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});t.exports=r},"17c2":function(t,e,n){"use strict";var i=n("b727").forEach,r=n("a640"),o=r("forEach");t.exports=o?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},"17d6":function(t,e,n){var i=n("6d8b"),r=n("22d1"),o=n("e0d3"),a=o.makeInner,s=a(),l=i.each;function u(t,e,n){if(!r.node){var i=e.getZr();s(i).records||(s(i).records={}),c(i,e);var o=s(i).records[t]||(s(i).records[t]={});o.handler=n}}function c(t,e){function n(n,i){t.on(n,(function(n){var r=p(e);l(s(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),h(r.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,n("click",i.curry(d,"click")),n("mousemove",i.curry(d,"mousemove")),n("globalout",f))}function h(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function f(t,e,n){t.handler("leave",null,n)}function d(t,e,n,i){e.handler(t,n,i)}function p(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function g(t,e){if(!r.node){var n=e.getZr(),i=(s(n).records||{})[t];i&&(s(n).records[t]=null)}}e.register=u,e.unregister=g},"17ed":function(t,e,n){t.exports={default:n("511f"),__esModule:!0}},1836:function(t,e,n){var i=n("6ca1"),r=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},"18c0":function(t,e,n){var i=n("6d8b"),r=n("e0d8"),o=n("8e43"),a=r.prototype,s=r.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new o({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),a.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return a.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(a.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s};var l=s;t.exports=l},1917:function(t,e){e.f={}.propertyIsEnumerable},1953:function(t,e,n){var i=n("2449"),r=i.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=r},"19aa":function(t,e,n){var i=n("3a9b"),r=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw r("Incorrect invocation")}},"19e2":function(t,e,n){var i=n("6d8b"),r=n("e887"),o=n("2306"),a=n("cbe5"),s=n("b0af"),l=s.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],h=["color","color0","borderColor","borderColor0"],f=r.extend({type:"candlestick",render:function(t,e,n){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),a=t.get("clip",!0),s=t.coordinateSystem,l=s.getArea&&s.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var s,u=e.getItemLayout(n);if(a&&g(l,u))return;s=p(u,n,!0),o.initProps(s,{shape:{points:u.ends}},t,n),v(s,e,n,r),i.add(s),e.setItemGraphicEl(n,s)}})).update((function(s,u){var c=n.getItemGraphicEl(u);if(e.hasValue(s)){var h=e.getItemLayout(s);a&&g(l,h)?i.remove(c):(c?o.updateProps(c,{shape:{points:h.ends}},t,s):c=p(h,s),v(c,e,s,r),i.add(c),e.setItemGraphicEl(s,c))}else i.remove(c)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},_renderLarge:function(t){this._clear(),b(t,this.group);var e=t.get("clip",!0)?l(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},_incrementalRenderNormal:function(t,e){var n,i=e.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=t.next())){var o,a=i.getItemLayout(n);o=p(a,n),v(o,i,n,r),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(t,e){b(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:i.noop}),d=a.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))}});function p(t,e,n){var i=t.ends;return new d({shape:{points:n?m(i,t):i},z2:100})}function g(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function v(t,e,n,i){var r=e.getItemModel(n),a=r.getModel(u),s=e.getItemVisual(n,"color"),l=e.getItemVisual(n,"borderColor")||s,f=a.getItemStyle(h);t.useStyle(f),t.style.strokeNoScale=!0,t.style.fill=s,t.style.stroke=l,t.__simpleBox=i;var d=r.getModel(c).getItemStyle();o.setHoverStyle(t,d)}function m(t,e){return i.map(t,(function(t){return t=t.slice(),t[1]=e.initBaseline,t}))}var y=a.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3}});function b(t,e,n){var i=t.getData(),r=i.getLayout("largePoints"),o=new y({shape:{points:r},__sign:1});e.add(o);var a=new y({shape:{points:r},__sign:-1});e.add(a),_(1,o,t,i),_(-1,a,t,i),n&&(o.incremental=!0,a.incremental=!0)}function _(t,e,n,i){var r=t>0?"P":"N",o=i.getVisual("borderColor"+r)||i.getVisual("color"+r),a=n.getModel(u).getItemStyle(h);e.useStyle(a),e.style.fill=null,e.style.stroke=o}var x=f;t.exports=x},"19eb":function(t,e,n){var i=n("6d8b"),r=n("2b61"),o=n("d5b7"),a=n("9e2e");function s(t){for(var e in t=t||{},o.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return i.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new r(t,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(s,o),i.mixin(s,a);var l=s;t.exports=l},"19fa":function(t,e,n){var i=n("fc5e"),r=n("c901");t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),l=i(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(t,e,n){var i=n("77e9"),r=n("faf5"),o=n("3397"),a=Object.defineProperty;e.f=n("0bad")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"1a2d":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"1ab3":function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("e887");function a(t,e,n,i){var r=e.getData(),o=this.dataIndex,a=r.getName(o),l=e.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:a,seriesId:e.id}),r.each((function(t){s(r.getItemGraphicEl(t),r.getItemLayout(t),e.isSelected(r.getName(t)),l,n)}))}function s(t,e,n,i,r){var o=(e.startAngle+e.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=n?i:0,u=[a*l,s*l];r?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){r.Group.call(this);var n=new r.Sector({z2:2}),i=new r.Polyline,o=new r.Text;this.add(n),this.add(i),this.add(o),this.updateData(t,e,!0)}var u=l.prototype;u.updateData=function(t,e,n){var o=this.childAt(0),a=this.childAt(1),l=this.childAt(2),u=t.hostModel,c=t.getItemModel(e),h=t.getItemLayout(e),f=i.extend({},h);f.label=null;var d=u.getShallow("animationTypeUpdate");if(n){o.setShape(f);var p=u.getShallow("animationType");"scale"===p?(o.shape.r=h.r0,r.initProps(o,{shape:{r:h.r}},u,e)):(o.shape.endAngle=h.startAngle,r.updateProps(o,{shape:{endAngle:h.endAngle}},u,e))}else"expansion"===d?o.setShape(f):r.updateProps(o,{shape:f},u,e);var g=t.getItemVisual(e,"color");o.useStyle(i.defaults({lineJoin:"bevel",fill:g},c.getModel("itemStyle").getItemStyle())),o.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var v=c.getShallow("cursor");v&&o.attr("cursor",v),s(this,t.getItemLayout(e),u.isSelected(t.getName(e)),u.get("selectedOffset"),u.get("animation"));var m=!n&&"transition"===d;this._updateLabel(t,e,m),this.highDownOnUpdate=u.get("silent")?null:function(t,e){var n=u.isAnimationEnabled()&&c.get("hoverAnimation");"emphasis"===e?(a.ignore=a.hoverIgnore,l.ignore=l.hoverIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut"))):(a.ignore=a.normalIgnore,l.ignore=l.normalIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:h.r}},300,"elasticOut")))},r.setHoverStyle(this)},u._updateLabel=function(t,e,n){var i=this.childAt(1),o=this.childAt(2),a=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e),u=l.label,c=t.getItemVisual(e,"color");if(!u||isNaN(u.x)||isNaN(u.y))o.ignore=o.normalIgnore=o.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;else{var h={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},f={x:u.x,y:u.y};n?(r.updateProps(i,{shape:h},a,e),r.updateProps(o,{style:f},a,e)):(i.attr({shape:h}),o.attr({style:f})),o.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var d=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),v=s.getModel("emphasis.labelLine");c=t.getItemVisual(e,"color");r.setLabelStyle(o.style,o.hoverStyle={},d,p,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:u.text,autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),o.ignore=o.normalIgnore=!d.get("show"),o.hoverIgnore=!p.get("show"),i.ignore=i.normalIgnore=!g.get("show"),i.hoverIgnore=!v.get("show"),i.setStyle({stroke:c,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(g.getModel("lineStyle").getLineStyle()),i.hoverStyle=v.getModel("lineStyle").getLineStyle();var m=g.get("smooth");m&&!0===m&&(m=.4),i.setShape({smooth:m})}},i.inherits(l,r.Group);var c=o.extend({type:"pie",init:function(){var t=new r.Group;this._sectorGroup=t},render:function(t,e,n,r){if(!r||r.from!==this.uid){var o=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,f=t.get("animationType"),d=t.get("animationTypeUpdate"),p=i.curry(a,this.uid,t,c,n),g=t.get("selectedMode");if(o.diff(s).add((function(t){var e=new l(o,t);h&&"scale"!==f&&e.eachChild((function(t){t.stopAnimation(!0)})),g&&e.on("click",p),o.setItemGraphicEl(t,e),u.add(e)})).update((function(t,e){var n=s.getItemGraphicEl(e);h||"transition"===d||n.eachChild((function(t){t.stopAnimation(!0)})),n.updateData(o,t),n.off("click"),g&&n.on("click",p),u.add(n),o.setItemGraphicEl(t,n)})).remove((function(t){var e=s.getItemGraphicEl(t);u.remove(e)})).execute(),c&&o.count()>0&&(h?"scale"!==f:"transition"!==d)){for(var v=o.getItemLayout(0),m=1;isNaN(v.startAngle)&&m<o.count();++m)v=o.getItemLayout(m);var y=Math.max(n.getWidth(),n.getHeight())/2,b=i.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(v.cx,v.cy,y,v.startAngle,v.clockwise,b,t,h))}else u.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(t,e,n,i,o,a,s,l){var u=new r.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:o}}),c=l?r.initProps:r.updateProps;return c(u,{shape:{endAngle:i+(o?1:-1)*Math.PI*2}},s,a),u},containPoint:function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}}}),h=c;t.exports=h},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1c5f":function(t,e,n){var i=n("401b"),r=n("6d8b"),o=n("0c37"),a=o.getCurvenessForEdge;function s(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),l(n,t)}}function l(t,e){t.eachEdge((function(t,n){var o=r.retrieve3(t.getModel().get("lineStyle.curveness"),-a(t,e,n,!0),0),s=i.clone(t.node1.getLayout()),l=i.clone(t.node2.getLayout()),u=[s,l];+o&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*o,(s[1]+l[1])/2-(l[0]-s[0])*o]),t.setLayout(u)}))}e.simpleLayout=s,e.simpleLayoutEdge=l},"1c7e":function(t,e,n){var i=n("b622"),r=i("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(l){}return n}},"1ccf":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("fd27"),a=n("3842"),s=a.parsePercent,l=n("697e"),u=l.createScaleByModel,c=l.niceScaleExtent,h=n("2039"),f=n("ee1a"),d=f.getStackedDimension;function p(t,e,n){var i=e.get("center"),o=n.getWidth(),a=n.getHeight();t.cx=s(i[0],o),t.cy=s(i[1],a);var l=t.getRadiusAxis(),u=Math.min(o,a)/2,c=e.get("radius");null==c?c=[0,"100%"]:r.isArray(c)||(c=[0,c]),c=[s(c[0],u),s(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}function g(t,e){var n=this,i=n.getAngleAxis(),o=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();r.each(e.mapDimension("radius",!0),(function(t){o.scale.unionExtentFromData(e,d(e,t))})),r.each(e.mapDimension("angle",!0),(function(t){i.scale.unionExtentFromData(e,d(e,t))}))}})),c(i.scale,i.model),c(o.scale,o.model),"category"===i.type&&!i.onBand){var a=i.getExtent(),s=360/i.scale.count();i.inverse?a[1]+=s:a[1]-=s,i.setExtent(a[0],a[1])}}function v(t,e){if(t.type=e.get("type"),t.scale=u(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}n("78f0");var m={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new o(i);r.update=g;var a=r.getRadiusAxis(),s=r.getAngleAxis(),l=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");v(a,l),v(s,u),p(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=n.coordinateSystem}})),n}};h.register("polar",m)},"1cdc":function(t,e,n){var i=n("342f");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},"1d80":function(t,e,n){var i=n("7234"),r=TypeError;t.exports=function(t){if(i(t))throw r("Can't call method on "+t);return t}},"1da1":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("d3b7");function i(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(i,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,l,"next",t)}function l(t){i(a,r,o,s,l,"throw",t)}s(void 0)}))}}},"1dde":function(t,e,n){var i=n("d039"),r=n("b622"),o=n("2d00"),a=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1e32":function(t,e,n){var i=n("6d8b"),r=n("3842"),o=r.parsePercent,a=n("ee1a"),s=a.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t,e){return e.dim+t.model.componentIndex}function c(t,e,n){var r={},o=h(i.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=u(n,i),c=l(t),h=o[a][c],f=h.offset,d=h.width,p=n.getOtherAxis(i),g=t.coordinateSystem.cx,v=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,y=t.get("barMinAngle")||0;r[c]=r[c]||[];for(var b=e.mapDimension(p.dim),_=e.mapDimension(i.dim),x=s(e,b),w="radius"!==i.dim||!t.get("roundCap",!0),S="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),C=0,T=e.count();C<T;C++){var A,O,M,k,I=e.get(b,C),E=e.get(_,C),P=I>=0?"p":"n",D=S;if(x&&(r[c][E]||(r[c][E]={p:S,n:S}),D=r[c][E][P]),"radius"===p.dim){var L=p.dataToRadius(I)-S,R=i.dataToAngle(E);Math.abs(L)<m&&(L=(L<0?-1:1)*m),A=D,O=D+L,M=R-f,k=M-d,x&&(r[c][E][P]=O)}else{var N=p.dataToAngle(I,w)-S,j=i.dataToRadius(E);Math.abs(N)<y&&(N=(N<0?-1:1)*y),A=j+f,O=A+d,M=D,k=D+N,x&&(r[c][E][P]=k)}e.setItemLayout(C,{cx:g,cy:v,r0:A,r:O,startAngle:-M*Math.PI/180,endAngle:-k*Math.PI/180})}}}),this)}function h(t,e){var n={};i.each(t,(function(t,e){var i=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),s=u(r,a),c=a.getExtent(),h="category"===a.type?a.getBandWidth():Math.abs(c[1]-c[0])/i.count(),f=n[s]||{bandWidth:h,remainedWidth:h,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=f.stacks;n[s]=f;var p=l(t);d[p]||f.autoWidthCount++,d[p]=d[p]||{width:0,maxWidth:0};var g=o(t.get("barWidth"),h),v=o(t.get("barMaxWidth"),h),m=t.get("barGap"),y=t.get("barCategoryGap");g&&!d[p].width&&(g=Math.min(f.remainedWidth,g),d[p].width=g,f.remainedWidth-=g),v&&(d[p].maxWidth=v),null!=m&&(f.gap=m),null!=y&&(f.categoryGap=y)}));var r={};return i.each(n,(function(t,e){r[e]={};var n=t.stacks,a=t.bandWidth,s=o(t.categoryGap,a),l=o(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(n,(function(t,e){var n=t.maxWidth;n&&n<h&&(n=Math.min(n,u),t.width&&(n=Math.min(n,t.width)),u-=n,t.width=n,c--)})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var f,d=0;i.each(n,(function(t,e){t.width||(t.width=h),f=t,d+=t.width*(1+l)})),f&&(d-=f.width*l);var p=-d/2;i.each(n,(function(t,n){r[e][n]=r[e][n]||{offset:p,width:t.width},p+=t.width*(1+l)}))})),r}var f=c;t.exports=f},"1f0e":function(t,e,n){var i=n("cbe5"),r=i.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)}});t.exports=r},"1f1a":function(t,e,n){var i=n("6d8b"),r=n("e0d3"),o=n("6cb7"),a=n("4319"),s=n("7023"),l=n("eeea"),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){o.prototype.init.apply(this,arguments),r.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=i.reduce(t.regions||[],(function(t,n){return n.name&&t.set(n.name,new a(n,e)),t}),i.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new a(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var n=this.getRegionModel(t),i=n.get(("normal"===e?"":e+".")+"label.formatter"),r={name:t};return"function"===typeof i?(r.status=e,i(r)):"string"===typeof i?i.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});i.mixin(u,s);var c=u;t.exports=c},"1f68":function(t,e,n){"use strict";var i=n("83ab"),r=n("edd0"),o=n("861d"),a=n("7b0b"),s=n("1d80"),l=Object.getPrototypeOf,u=Object.setPrototypeOf,c=Object.prototype,h="__proto__";if(i&&l&&u&&!(h in c))try{r(c,h,{configurable:!0,get:function(){return l(a(this))},set:function(t){var e=s(this);(o(t)||null===t)&&o(e)&&u(e,t)}})}catch(f){}},"1fab":function(t,e){var n=Array.prototype.slice,i=function(t){this._$handlers={},this._$eventProcessor=t};function r(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}function o(t,e,n,i,o,a){var s=t._$handlers;if("function"===typeof n&&(o=i,i=n,n=null),!i||!e)return t;n=r(t,n),s[e]||(s[e]=[]);for(var l=0;l<s[e].length;l++)if(s[e][l].h===i)return t;var u={h:i,one:a,query:n,ctx:o||t,callAtLast:i.zrEventfulCallAtLast},c=s[e].length-1,h=s[e][c];return h&&h.callAtLast?s[e].splice(c,0,u):s[e].push(u),t}i.prototype={constructor:i,one:function(t,e,n,i){return o(this,t,e,n,i,!0)},on:function(t,e,n,i){return o(this,t,e,n,i,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var r=arguments,o=r.length;o>3&&(r=n.call(r,1));for(var a=e.length,s=0;s<a;){var l=e[s];if(i&&i.filter&&null!=l.query&&!i.filter(t,l.query))s++;else{switch(o){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,r[1]);break;case 3:l.h.call(l.ctx,r[1],r[2]);break;default:l.h.apply(l.ctx,r);break}l.one?(e.splice(s,1),a--):s++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var r=arguments,o=r.length;o>4&&(r=n.call(r,1,r.length-1));for(var a=r[r.length-1],s=e.length,l=0;l<s;){var u=e[l];if(i&&i.filter&&null!=u.query&&!i.filter(t,u.query))l++;else{switch(o){case 1:u.h.call(a);break;case 2:u.h.call(a,r[1]);break;case 3:u.h.call(a,r[1],r[2]);break;default:u.h.apply(a,r);break}u.one?(e.splice(l,1),s--):l++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this}};var a=i;t.exports=a},"1fb5":function(t,e,n){"use strict";e.byteLength=c,e.toByteArray=f,e.fromByteArray=g;for(var i=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)i[s]=a[s],r[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function c(t){var e=u(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function h(t,e,n){return 3*(e+n)/4-n}function f(t){var e,n,i=u(t),a=i[0],s=i[1],l=new o(h(t,a,s)),c=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[c++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l}function d(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function p(t,e,n){for(var i,r=[],o=e;o<n;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),r.push(d(i));return r.join("")}function g(t){for(var e,n=t.length,r=n%3,o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(p(t,s,s+a>l?l:s+a));return 1===r?(e=t[n-1],o.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},2023:function(t,e,n){var i=n("6d8b"),r={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:i.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=r},2039:function(t,e,n){var i=n("6d8b"),r={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(t,e){var n=[];i.each(r,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(t,e){i.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(t,e){r[t]=e},o.get=function(t){return r[t]};var a=o;t.exports=a},"20c8":function(t,e,n){var i=n("4a3f"),r=n("401b"),o=n("e263"),a=n("9850"),s=n("2cf4"),l=s.devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],h=[],f=[],d=[],p=Math.min,g=Math.max,v=Math.cos,m=Math.sin,y=Math.sqrt,b=Math.abs,_="undefined"!==typeof Float32Array,x=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};x.prototype={constructor:x,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=b(n/l/t)||0,this._uy=b(n/l/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(u.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=b(t-this._xi)>this._ux||b(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,o){return this.addData(u.C,t,e,n,i,r,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,o):this._ctx.bezierCurveTo(t,e,n,i,r,o)),this._xi=r,this._yi=o,this},quadraticCurveTo:function(t,e,n,i){return this.addData(u.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,o){return this.addData(u.A,t,e,n,n,i,r-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=v(r)*n+t,this._yi=m(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(u.R,t,e,n,i),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!_||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();_&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,i,r=this._dashSum,o=this._dashOffset,a=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=t-l,h=e-u,f=y(c*c+h*h),d=l,v=u,m=a.length;c/=f,h/=f,o<0&&(o=r+o),o%=r,d-=o*c,v-=o*h;while(c>0&&d<=t||c<0&&d>=t||0===c&&(h>0&&v<=e||h<0&&v>=e))i=this._dashIdx,n=a[i],d+=c*n,v+=h*n,this._dashIdx=(i+1)%m,c>0&&d<l||c<0&&d>l||h>0&&v<u||h<0&&v>u||s[i%2?"moveTo":"lineTo"](c>=0?p(d,t):g(d,t),h>=0?p(v,e):g(v,e));c=d-t,h=v-e,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(t,e,n,r,o,a){var s,l,u,c,h,f=this._dashSum,d=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,m=this._yi,b=i.cubicAt,_=0,x=this._dashIdx,w=p.length,S=0;for(d<0&&(d=f+d),d%=f,s=0;s<1;s+=.1)l=b(v,t,n,o,s+.1)-b(v,t,n,o,s),u=b(m,e,r,a,s+.1)-b(m,e,r,a,s),_+=y(l*l+u*u);for(;x<w;x++)if(S+=p[x],S>d)break;s=(S-d)/_;while(s<=1)c=b(v,t,n,o,s),h=b(m,e,r,a,s),x%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[x]/_,x=(x+1)%w;x%2!==0&&g.lineTo(o,a),l=o-c,u=a-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=f[0]=f[1]=Number.MAX_VALUE,h[0]=h[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,l=0;l<t.length;){var p=t[l++];switch(1===l&&(e=t[l],n=t[l+1],i=e,s=n),p){case u.M:i=t[l++],s=t[l++],e=i,n=s,f[0]=i,f[1]=s,d[0]=i,d[1]=s;break;case u.L:o.fromLine(e,n,t[l],t[l+1],f,d),e=t[l++],n=t[l++];break;case u.C:o.fromCubic(e,n,t[l++],t[l++],t[l++],t[l++],t[l],t[l+1],f,d),e=t[l++],n=t[l++];break;case u.Q:o.fromQuadratic(e,n,t[l++],t[l++],t[l],t[l+1],f,d),e=t[l++],n=t[l++];break;case u.A:var g=t[l++],y=t[l++],b=t[l++],_=t[l++],x=t[l++],w=t[l++]+x;l+=1;var S=1-t[l++];1===l&&(i=v(x)*b+g,s=m(x)*_+y),o.fromArc(g,y,b,_,x,w,S,f,d),e=v(w)*b+g,n=m(w)*_+y;break;case u.R:i=e=t[l++],s=n=t[l++];var C=t[l++],T=t[l++];o.fromLine(i,s,i+C,s+T,f,d);break;case u.Z:e=i,n=s;break}r.min(c,c,f),r.max(h,h,d)}return 0===l&&(c[0]=c[1]=h[0]=h[1]=0),new a(c[0],c[1],h[0]-c[0],h[1]-c[1])},rebuildPath:function(t){for(var e,n,i,r,o,a,s=this.data,l=this._ux,c=this._uy,h=this._len,f=0;f<h;){var d=s[f++];switch(1===f&&(i=s[f],r=s[f+1],e=i,n=r),d){case u.M:e=i=s[f++],n=r=s[f++],t.moveTo(i,r);break;case u.L:o=s[f++],a=s[f++],(b(o-i)>l||b(a-r)>c||f===h-1)&&(t.lineTo(o,a),i=o,r=a);break;case u.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),i=s[f-2],r=s[f-1];break;case u.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),i=s[f-2],r=s[f-1];break;case u.A:var p=s[f++],g=s[f++],y=s[f++],_=s[f++],x=s[f++],w=s[f++],S=s[f++],C=s[f++],T=y>_?y:_,A=y>_?1:y/_,O=y>_?_/y:1,M=Math.abs(y-_)>.001,k=x+w;M?(t.translate(p,g),t.rotate(S),t.scale(A,O),t.arc(0,0,T,x,k,1-C),t.scale(1/A,1/O),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,T,x,k,1-C),1===f&&(e=v(x)*y+p,n=m(x)*_+g),i=v(k)*y+p,r=m(k)*_+g;break;case u.R:e=i=s[f],n=r=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case u.Z:t.closePath(),i=e,r=n}}}},x.CMD=u;var w=x;t.exports=w},2145:function(t,e){var n={};function i(t,e){n[t]=e}function r(t){return n[t]}e.register=i,e.get=r},2163:function(t,e,n){var i=n("4f85"),r=n("06c7"),o=n("eda2"),a=o.encodeHTML,s=n("4319"),l=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new s(n,this,this.ecModel),o=r.createTree(e,this,a);function a(t){t.wrapMethod("getItemModel",(function(t,e){var n=o.getNodeByDataIndex(e);return n.children.length&&n.isExpand||(t.parentModel=i),t}))}var l=0;o.eachNode("preorder",(function(t){t.depth>l&&(l=t.depth)}));var u=t.expandAndCollapse,c=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return o.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=c})),o.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),r=i.getValue(),o=i.name;while(i&&i!==n)o=i.parentNode.name+"."+o,i=i.parentNode;return a(o+(isNaN(r)||null==r?"":" : "+r))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=l},"216a":function(t,e,n){var i=n("6d8b"),r=n("3842"),o=n("eda2"),a=n("944e"),s=n("89e3"),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,f=60*h,d=60*f,p=24*d,g=function(t,e,n,i){while(n<i){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},v=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return o.formatTime(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=p,e[1]+=p),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-p}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=r.round(c(e[0]/i)*i)),t.fixMax||(e[1]=r.round(u(e[1]/i)*i))},niceTicks:function(t,e,n){t=t||10;var i=this._extent,o=i[1]-i[0],s=o/t;null!=e&&s<e&&(s=e),null!=n&&s>n&&(s=n);var l=m.length,h=g(m,s,0,l),f=m[Math.min(h,l-1)],d=f[1];if("year"===f[0]){var p=o/d,v=r.nice(p/t,!0);d*=v}var y=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,b=[Math.round(u((i[0]-y)/d)*d+y),Math.round(c((i[1]-y)/d)*d+y)];a.fixExtent(b,i),this._stepLvl=f,this._interval=d,this._niceExtent=b},parse:function(t){return+r.parseDate(t)}});i.each(["contain","normalize"],(function(t){v.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var m=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",5*f],["hh:mm\nMM-dd",10*f],["hh:mm\nMM-dd",15*f],["hh:mm\nMM-dd",30*f],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",2*d],["hh:mm\nMM-dd",6*d],["hh:mm\nMM-dd",12*d],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(t){return new v({useUTC:t.ecModel.get("useUTC")})};var y=v;t.exports=y},"217b":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3301")),o=n("4f85"),a=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=a},"217c":function(t,e,n){var i=n("6d8b"),r=n("6cb7");n("df3a");var o=r.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&i.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},setAxisExpand:function(t){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))}});t.exports=o},"21a6":function(t,e,n){(function(n){var i,r,o;(function(n,a){r=[],i=a,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function i(t,e,n){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){l(i.response,e,n)},i.onerror=function(){console.error("could not download file")},i.send()}function r(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(i){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(t,e,n){var s=a.URL||a.webkitURL,l=document.createElement("a");e=e||t.name||"download",l.download=e,l.rel="noopener","string"==typeof t?(l.href=t,l.origin===location.origin?o(l):r(l.href)?i(t,e,n):o(l,l.target="_blank")):(l.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,a){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),n);else if(r(t))i(t,n,a);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){o(s)}))}}:function(t,e,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return i(t,e,n);var o="application/octet-stream"===t.type,l=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||o&&l||s)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var t=c.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},c.readAsDataURL(t)}else{var h=a.URL||a.webkitURL,f=h.createObjectURL(t);r?r.location=f:location.href=f,r=null,setTimeout((function(){h.revokeObjectURL(f)}),4e4)}});a.saveAs=l.saveAs=l,t.exports=l}))}).call(this,n("c8ba"))},2266:function(t,e,n){var i=n("0366"),r=n("c65b"),o=n("825a"),a=n("0d51"),s=n("e95a"),l=n("07fa"),u=n("3a9b"),c=n("9a1f"),h=n("35a1"),f=n("2a62"),d=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,n){var v,m,y,b,_,x,w,S=n&&n.that,C=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),M=i(e,S),k=function(t){return v&&f(v,"normal",t),new p(!0,t)},I=function(t){return C?(o(t),O?M(t[0],t[1],k):M(t[0],t[1])):O?M(t,k):M(t)};if(T)v=t.iterator;else if(A)v=t;else{if(m=h(t),!m)throw d(a(t)+" is not iterable");if(s(m)){for(y=0,b=l(t);b>y;y++)if(_=I(t[y]),_&&u(g,_))return _;return new p(!1)}v=c(t,m)}x=T?t.next:v.next;while(!(w=r(x,v)).done){try{_=I(w.value)}catch(E){f(v,"throw",E)}if("object"==typeof _&&_&&u(g,_))return _}return new p(!1)}},"22d1":function(t,e){var n={};n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:r(navigator.userAgent);var i=n;function r(t){var e={},n={},i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);return i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}t.exports=i},"22da":function(t,e,n){var i=n("f934");function r(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var e,n,i=[t];while(e=i.pop())if(n=e.children,e.isExpand&&n.length)for(var r=n.length,o=r-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}function o(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){c(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=h(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function a(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function s(t){return arguments.length?t:v}function l(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n}function u(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function c(t){var e=t.children,n=e.length,i=0,r=0;while(--n>=0){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}function h(t,e,n,i){if(e){var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;while(s=f(s),o=d(o),s&&o){r=f(r),a=d(a),r.hierNode.ancestor=t;var v=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);v>0&&(g(p(s,t,n),t,v),u+=v,l+=v),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!f(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!d(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}function f(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function d(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function p(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function g(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function v(t,e){return t.parentNode===e.parentNode?1:2}e.init=r,e.firstWalk=o,e.secondWalk=a,e.separation=s,e.radialCoordinate=l,e.getViewRect=u},2306:function(t,e,n){var i=n("6d8b"),r=n("342d"),o=n("41ef"),a=n("1687"),s=n("401b"),l=n("cbe5"),u=n("0cde"),c=n("0da8");e.Image=c;var h=n("e1fc");e.Group=h;var f=n("76a5");e.Text=f;var d=n("d9fc");e.Circle=d;var p=n("4aa2");e.Sector=p;var g=n("4573");e.Ring=g;var v=n("87b1");e.Polygon=v;var m=n("d498");e.Polyline=m;var y=n("c7a2");e.Rect=y;var b=n("cb11");e.Line=b;var _=n("ac0f");e.BezierCurve=_;var x=n("8d32");e.Arc=x;var w=n("d4c6");e.CompoundPath=w;var S=n("48a9");e.LinearGradient=S;var C=n("dded");e.RadialGradient=C;var T=n("9850");e.BoundingRect=T;var A=n("392f");e.IncrementalDisplayable=A;var O=n("9cf9"),M=Math.max,k=Math.min,I={},E=1,P={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},D="emphasis",L="normal",R=1,N={},j={};function B(t){return l.extend(t)}function F(t,e){return r.extendFromString(t,e)}function z(t,e){j[t]=e}function V(t){if(j.hasOwnProperty(t))return j[t]}function H(t,e,n,i){var o=r.createFromString(t,e);return n&&("center"===i&&(n=W(n,o.getBoundingRect())),U(o,n)),o}function G(t,e,n){var i=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(W(e,r))}}});return i}function W(t,e){var n,i=e.width/e.height,r=t.height*i;r<=t.width?n=t.height:(r=t.width,n=r/i);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-r/2,y:a-n/2,width:r,height:n}}var q=r.mergePath;function U(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function Y(t){return O.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function X(t){return O.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var $=O.subPixelOptimize;function Z(t){return null!=t&&"none"!==t}var K=i.createHashMap(),J=0;function Q(t){if("string"!==typeof t)return t;var e=K.get(t);return e||(e=o.lift(t,-.1),J<1e4&&(K.set(t,e),J++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var i=t.style;for(var r in e)null!=e[r]&&(n[r]=i[r]);n.fill=i.fill,n.stroke=i.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,i=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=i?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var r=t,o=t.style;i&&(r=n.addHover(t),o=r.style),Ct(o),i||tt(r),o.extendFrom(e),nt(o,e,"fill"),nt(o,e,"stroke"),St(o),i||(t.dirty(!1),t.z2+=E)}}}function nt(t,e,n){!Z(e[n])&&Z(t[n])&&(t[n]=Q(t[n]))}function it(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var n=t.style,i=t.__cachedNormalStl;i&&(Ct(n),t.setStyle(i),St(n));var r=t.__cachedNormalZ2;null!=r&&t.z2-r===E&&(t.z2=r)}}function rt(t,e,n){var i,r=L,o=L;t.__highlighted&&(r=D,i=!0),e(t,n),t.__highlighted&&(o=D,i=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,n)})),i&&t.__highDownOnUpdate&&t.__highDownOnUpdate(r,o)}function ot(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,it(t),et(t))}function at(t){!ct(this,t)&&!this.__highByOuter&&rt(this,et)}function st(t){!ct(this,t)&&!this.__highByOuter&&rt(this,it)}function lt(t){this.__highByOuter|=1<<(t||0),rt(this,et)}function ut(t){!(this.__highByOuter&=~(1<<(t||0)))&&rt(this,it)}function ct(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ht(t,e){ft(t,!0),rt(t,ot,e)}function ft(t,e){var n=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var i=n?"off":"on";t[i]("mouseover",at)[i]("mouseout",st),t[i]("emphasis",lt)[i]("normal",ut),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function dt(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=N[t];return null==e&&R<=32&&(e=N[t]=R++),e}function gt(t,e,n,r,o,a,s){o=o||I;var l,u=o.labelFetcher,c=o.labelDataIndex,h=o.labelDimIndex,f=o.labelProp,d=n.getShallow("show"),p=r.getShallow("show");(d||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h,f)),null==l&&(l=i.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var g=d?l:null,v=p?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,f):null,l):null;null==g&&null==v||(mt(t,n,a,o),mt(e,r,s,o,!0)),t.text=g,e.text=v}function vt(t,e,n){var r=t.style;e&&(Ct(r),t.setStyle(e),St(r)),r=t.__hoverStl,n&&r&&(Ct(r),i.extend(r,n),St(r))}function mt(t,e,n,r,o){return bt(t,e,r,o),n&&i.extend(t,n),t}function yt(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,bt(t,e,r,i)}function bt(t,e,n,r){if(n=n||I,n.isRectText){var o;n.getTextPosition?o=n.getTextPosition(e,r):(o=e.getShallow("position")||(r?null:"inside"),"outside"===o&&(o="top")),t.textPosition=o,t.textOffset=e.getShallow("offset");var a=e.getShallow("rotate");null!=a&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=i.retrieve2(e.getShallow("distance"),r?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=_t(e);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var f=e.getModel(["rich",h]);xt(s[h]={},f,u,n,r)}return t.rich=s,xt(t,e,u,n,r,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function _t(t){var e;while(t&&t!==t.ecModel){var n=(t.option||I).rich;if(n)for(var i in e=e||{},n)n.hasOwnProperty(i)&&(e[i]=1);t=t.parentModel}return e}function xt(t,e,n,r,o,a){n=!o&&n||I,t.textFill=wt(e.getShallow("color"),r)||n.color,t.textStroke=wt(e.getShallow("textBorderColor"),r)||n.textBorderColor,t.textStrokeWidth=i.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),o||(a&&(t.insideRollbackOpt=r,St(t)),null==t.textFill&&(t.textFill=r.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),a&&r.disableBox||(t.textBackgroundColor=wt(e.getShallow("backgroundColor"),r),t.textPadding=e.getShallow("padding"),t.textBorderColor=wt(e.getShallow("borderColor"),r),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function wt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function St(t){var e,n=t.textPosition,i=t.insideRollbackOpt;if(i&&null==t.textFill){var r=i.autoColor,o=i.isRectText,a=i.useInsideStyle,s=!1!==a&&(!0===a||o&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function Ct(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function Tt(t,e){var n=e&&e.getModel("textStyle");return i.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function At(t,e,n,i,r,o){"function"===typeof r&&(o=r,r=null);var a=i&&i.isAnimationEnabled();if(a){var s=t?"Update":"",l=i.getShallow("animationDuration"+s),u=i.getShallow("animationEasing"+s),c=i.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"===typeof l&&(l=l(r)),l>0?e.animateTo(n,l,c||0,u,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function Ot(t,e,n,i,r){At(!0,t,e,n,i,r)}function Mt(t,e,n,i,r){At(!1,t,e,n,i,r)}function kt(t,e){var n=a.identity([]);while(t&&t!==e)a.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function It(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=a.invert([],e)),s.applyTransform([],t,e)}function Et(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=It(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Pt(t,e,n,r){if(t&&e){var o=a(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var i=l(t);t.attr(l(e)),Ot(t,i,n,t.dataIndex)}}}))}function a(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}}function Dt(t,e){return i.map(t,(function(t){var n=t[0];n=M(n,e.x),n=k(n,e.x+e.width);var i=t[1];return i=M(i,e.y),i=k(i,e.y+e.height),[n,i]}))}function Lt(t,e){var n=M(t.x,e.x),i=k(t.x+t.width,e.x+e.width),r=M(t.y,e.y),o=k(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Rt(t,e,n){e=i.extend({rectHover:!0},e);var r=e.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),i.defaults(r,n),new c(e)):H(t.replace("path://",""),e,n,"center")}function Nt(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(jt(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function jt(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,f=Bt(c,h,l,u);if(Ft(f))return!1;var d=t-r,p=e-o,g=Bt(d,p,l,u)/f;if(g<0||g>1)return!1;var v=Bt(d,p,c,h)/f;return!(v<0||v>1)}function Bt(t,e,n,i){return t*i-n*e}function Ft(t){return t<=1e-6&&t>=-1e-6}z("circle",d),z("sector",p),z("ring",g),z("polygon",v),z("polyline",m),z("rect",y),z("line",b),z("bezierCurve",_),z("arc",x),e.Z2_EMPHASIS_LIFT=E,e.CACHED_LABEL_STYLE_PROPERTIES=P,e.extendShape=B,e.extendPath=F,e.registerShape=z,e.getShapeClass=V,e.makePath=H,e.makeImage=G,e.mergePath=q,e.resizePath=U,e.subPixelOptimizeLine=Y,e.subPixelOptimizeRect=X,e.subPixelOptimize=$,e.setElementHoverStyle=ot,e.setHoverStyle=ht,e.setAsHighDownDispatcher=ft,e.isHighDownDispatcher=dt,e.getHighlightDigit=pt,e.setLabelStyle=gt,e.modifyLabelStyle=vt,e.setTextStyle=mt,e.setText=yt,e.getFont=Tt,e.updateProps=Ot,e.initProps=Mt,e.getTransform=kt,e.applyTransform=It,e.transformDirection=Et,e.groupTransition=Pt,e.clipPointsByRect=Dt,e.clipRectByRect=Lt,e.createIcon=Rt,e.linePolygonIntersect=Nt,e.lineLineIntersect=jt},2325:function(t,e,n){var i=n("6d8b"),r=n("607d"),o=n("2306"),a=n("88b3"),s=n("7dcf"),l=n("3842"),u=n("f934"),c=n("ef6a"),h=o.Rect,f=l.linearMap,d=l.asc,p=i.bind,g=i.each,v=7,m=1,y=30,b="horizontal",_="vertical",x=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,i){S.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===b?{right:r.width-n.x-n.width,top:r.height-y-v,width:n.width,height:y}:{right:v,top:n.y,width:y,height:n.height},a=u.getLayoutParams(t.option);i.each(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=u.getLayoutRect(a,r,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==b||r?n===b&&r?{scale:a?[-1,1]:[-1,-1]}:n!==_||r?{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=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,n=t.series,r=n.getRawData(),a=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=a){var s=r.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],h=[0,e[0]],d=[[e[0],0],[0,0]],p=[],g=h[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:f(t,s,c,!0);n&&!u&&e?(d.push([d[d.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(d.push([v,0]),p.push([v,0])),d.push([v,i]),p.push([v,i]),v+=g,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:d},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,r=this.ecModel;return t.eachTargetAxis((function(o,a){var s=t.getAxisProxy(o.name,a).getTargetSeriesModels();i.each(s,(function(t){if(!n&&!(!0!==e&&i.indexOf(w,t.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,u=C(o.name),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),n={thisAxis:l,series:t,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,r=this._size,a=this.dataZoomModel;i.add(t.filler=new h({draggable:!0,cursor:T(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),i.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:m,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var r=o.createIcon(a.get("handleIcon"),{cursor:T(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=r.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,r.setStyle(a.getModel("handleStyle").getItemStyle());var u=a.get("handleColor");null!=u&&(r.style.fill=u),i.add(e[t]=r);var c=a.textStyleModel;this.group.add(n[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[f(t[0],[0,100],e,!0),f(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];c(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?f(o.minSpan,a,r,!0):null,null!=o.maxSpan?f(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=d([f(i[0],r,a,!0),f(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=d(n.slice()),r=this._size;g([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[t],r[1]/2-o/2]})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=d(this._handleEnds.slice());function f(t){var e=o.getTransform(n.handles[t].parent,this.group),s=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+x,u=o.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);i[t].setStyle({x:u[0],y:u[1],textVerticalAlign:r===b?"middle":s,textAlign:r===b?s:"center",text:a[t]})}f.call(this,0),f.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return i.isFunction(r)?r(t,a):i.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n,i){this._dragging=!0,r.stop(i.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([e,n],a,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function C(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function T(t){return"vertical"===t?"ns-resize":"ew-resize"}var A=S;t.exports=A},"237f":function(t,e,n){var i=n("6d8b"),r=n("6179"),o=n("7368"),a=n("31d9"),s=n("b1d4"),l=n("2039"),u=n("3301");function c(t,e,n,c,h){for(var f=new o(c),d=0;d<t.length;d++)f.addNode(i.retrieve(t[d].id,t[d].name,d),d);var p=[],g=[],v=0;for(d=0;d<e.length;d++){var m=e[d],y=m.source,b=m.target;f.addEdge(y,b,v)&&(g.push(m),p.push(i.retrieve(m.id,y+" > "+b)),v++)}var _,x=n.get("coordinateSystem");if("cartesian2d"===x||"polar"===x)_=u(t,n);else{var w=l.get(x),S=w&&"view"!==w.type&&w.dimensions||[];i.indexOf(S,"value")<0&&S.concat(["value"]);var C=s(t,{coordDimensions:S});_=new r(C,n),_.initData(t)}var T=new r(["value"],n);return T.initData(g,p),h&&h(_,T),a({mainData:_,struct:f,structAttr:"graph",datas:{node:_,edge:T},datasAttr:{node:"data",edge:"edgeData"}}),f.update(),f}t.exports=c},"23cb":function(t,e,n){var i=n("5926"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},"23dc":function(t,e,n){var i=n("d44e");i(Math,"Math",!0)},"23e0":function(t,e,n){var i=n("6d8b"),r=n("7887"),o=n("89e3"),a=n("3842"),s=n("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("2039"),h=n("8c2a");function f(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new r(n,"log"===t.get("axisType")?new h:new o);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}f.prototype.getIndicatorAxes=function(){return this._indicatorAxes},f.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},f.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle,r=this.cx+t*Math.cos(i),o=this.cy-t*Math.sin(i);return[r,o]},f.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(i))]},f.prototype.resize=function(t,e){var n=t.get("center"),r=e.getWidth(),o=e.getHeight(),s=Math.min(r,o)/2;this.cx=a.parsePercent(n[0],r),this.cy=a.parsePercent(n[1],o),this.startAngle=t.get("startAngle")*Math.PI/180;var l=t.get("radius");"string"!==typeof l&&"number"!==typeof l||(l=[0,l]),this.r0=a.parsePercent(l[0],s),this.r=a.parsePercent(l[1],s),i.each(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},f.prototype.update=function(t,e){var n=this._indicatorAxes,r=this._model;i.each(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,o){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===r){var a=e.getData();i.each(n,(function(t){t.scale.unionExtentFromData(a,a.mapDimension(t.dim))}))}}),this);var o=r.get("splitNumber");function s(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}i.each(n,(function(t,e){var n=l(t.scale,t.model).extent;u(t.scale,t.model);var i=t.model,r=t.scale,c=i.getMin(),h=i.getMax(),f=r.getInterval();if(null!=c&&null!=h)r.setExtent(+c,+h),r.setInterval((h-c)/o);else if(null!=c){do{p=c+f*o,r.setExtent(+c,p),r.setInterval(f),f=s(f)}while(p<n[1]&&isFinite(p)&&isFinite(n[1]))}else if(null!=h){do{g=h-f*o,r.setExtent(g,+h),r.setInterval(f),f=s(f)}while(g>n[0]&&isFinite(g)&&isFinite(n[0]))}else{var d=r.getTicks().length-1;d>o&&(f=s(f));var p=Math.ceil(n[1]/f)*f,g=a.round(p-f*o);r.setExtent(g,p),r.setInterval(f)}}))},f.dimensions=[],f.create=function(t,e){var n=[];return t.eachComponent("radar",(function(i){var r=new f(i,t,e);n.push(r),i.coordinateSystem=r})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},c.register("radar",f);var d=f;t.exports=d},"23e7":function(t,e,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,h,f,d,p,g=t.target,v=t.global,m=t.stat;if(c=v?i:m?i[g]||s(g,{}):(i[g]||{}).prototype,c)for(h in e){if(d=e[h],t.dontCallGetSet?(p=r(c,h),f=p&&p.value):f=c[h],n=u(v?h:g+(m?".":"#")+h,t.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(c,h,d,t)}}},"23ee":function(t,e,n){var i=n("3eba");n("879e"),n("9704"),n("d747");var r=n("675a"),o=n("7f96"),a=n("2943"),s=n("de6e"),l=n("d357"),u=n("adda"),c=n("5866"),h=n("7b0c");i.registerProcessor(r),i.registerVisual(o("graph","circle",null)),i.registerVisual(a),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:h})},"241c":function(t,e,n){var i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},2444:function(t,e,n){"use strict";(function(e){var i=n("c532"),r=n("c8af"),o=n("387f"),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function l(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}function u(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){c.headers[t]=i.merge(a)})),t.exports=c}).call(this,n("4362"))},2449:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("22d1"),s=n("e0d3"),l=n("eda2"),u=n("38a2"),c=l.addCommas,h=l.encodeHTML;function f(t){s.defaultEmphasis(t,"label",["show"])}var d=r.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,n,i){var r=this.constructor,a=this.mainType+"Model";n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),s=t[a];n&&n.data?(s?s._mergeOption(n,e,!0):(i&&f(n),o.each(n.data,(function(t){t instanceof Array?(f(t[0]),f(t[1])):f(t)})),s=new r(n,this,e),o.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[a]=s):t[a]=null}),this)},formatTooltip:function(t,e,n,i){var r=this.getData(),a=this.getRawValue(t),s=o.isArray(a)?o.map(a,c).join(", "):c(a),l=r.getName(t),u=h(this.name),f="html"===i?"<br/>":"\n";return(null!=a||l)&&(u+=f),l&&(u+=h(l),null!=a&&(u+=" : ")),null!=a&&(u+=h(s)),u},getData:function(){return this._data},setData:function(t){this._data=t}});o.mixin(d,u);var p=d;t.exports=p},"24b9":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("f934")),o=n("3842"),a=o.parsePercent,s=o.linearMap;function l(t,e){return r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return"function"===typeof e?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?i[t]-i[e]:i[e]-i[t]})),r}function c(t){t.each((function(e){var n,i,r,o,a=t.getItemModel(e),s=a.getModel("label"),l=s.get("position"),u=a.get("orient"),c=a.getModel("labelLine"),h=t.getItemLayout(e),f=h.points,d="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(d)"insideLeft"===l?(i=(f[0][0]+f[3][0])/2+5,r=(f[0][1]+f[3][1])/2,n="left"):"insideRight"===l?(i=(f[1][0]+f[2][0])/2-5,r=(f[1][1]+f[2][1])/2,n="right"):(i=(f[0][0]+f[1][0]+f[2][0]+f[3][0])/4,r=(f[0][1]+f[1][1]+f[2][1]+f[3][1])/4,n="center"),o=[[i,r],[i,r]];else{var p,g,v,m,y=c.get("length");"left"===l?(p=(f[3][0]+f[0][0])/2,g=(f[3][1]+f[0][1])/2,v=p-y,i=v-5,n="right"):"right"===l?(p=(f[1][0]+f[2][0])/2,g=(f[1][1]+f[2][1])/2,v=p+y,i=v+5,n="left"):"top"===l?(p=(f[3][0]+f[0][0])/2,g=(f[3][1]+f[0][1])/2,m=g-y,r=m-5,n="center"):"bottom"===l?(p=(f[1][0]+f[2][0])/2,g=(f[1][1]+f[2][1])/2,m=g+y,r=m+5,n="center"):"rightTop"===l?(p="horizontal"===u?f[3][0]:f[1][0],g="horizontal"===u?f[3][1]:f[1][1],"horizontal"===u?(m=g-y,r=m-5,n="center"):(v=p+y,i=v+5,n="top")):"rightBottom"===l?(p=f[2][0],g=f[2][1],"horizontal"===u?(m=g+y,r=m+5,n="center"):(v=p+y,i=v+5,n="bottom")):"leftTop"===l?(p=f[0][0],g="horizontal"===u?f[0][1]:f[1][1],"horizontal"===u?(m=g-y,r=m-5,n="center"):(v=p-y,i=v-5,n="right")):"leftBottom"===l?(p="horizontal"===u?f[1][0]:f[3][0],g="horizontal"===u?f[1][1]:f[2][1],"horizontal"===u?(m=g+y,r=m+5,n="center"):(v=p-y,i=v-5,n="right")):(p=(f[1][0]+f[2][0])/2,g=(f[1][1]+f[2][1])/2,"horizontal"===u?(m=g+y,r=m+5,n="center"):(v=p+y,i=v+5,n="left")),"horizontal"===u?(v=p,i=v):(m=g,r=m),o=[[p,g],[v,m]]}h.label={linePoints:o,x:i,y:r,verticalAlign:"middle",textAlign:n,inside:d}}))}function h(t,e,n){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=l(t,e),h=u(n,r),f=t.get("orient"),d=o.width,p=o.height,g=o.x,v=o.y,m="horizontal"===f?[a(t.get("minSize"),p),a(t.get("maxSize"),p)]:[a(t.get("minSize"),d),a(t.get("maxSize"),d)],y=n.getDataExtent(i),b=t.get("min"),_=t.get("max");null==b&&(b=Math.min(y[0],0)),null==_&&(_=y[1]);var x=t.get("funnelAlign"),w=t.get("gap"),S="horizontal"===f?d:p,C=(S-w*(n.count()-1))/n.count(),T=function(t,e){if("horizontal"===f){var r,o=n.get(i,t)||0,a=s(o,[b,_],m,!0);switch(x){case"top":r=v;break;case"center":r=v+(p-a)/2;break;case"bottom":r=v+(p-a);break}return[[e,r],[e,r+a]]}o=n.get(i,t)||0;var l,u=s(o,[b,_],m,!0);switch(x){case"left":l=g;break;case"center":l=g+(d-u)/2;break;case"right":l=g+d-u;break}return[[l,e],[l+u,e]]};"ascending"===r&&(C=-C,w=-w,"horizontal"===f?g+=d:v+=p,h=h.reverse());for(var A=0;A<h.length;A++){var O=h[A],M=h[A+1],k=n.getItemModel(O);if("horizontal"===f){var I=k.get("itemStyle.width");null==I?I=C:(I=a(I,d),"ascending"===r&&(I=-I));var E=T(O,g),P=T(M,g+I);g+=I+w,n.setItemLayout(O,{points:E.concat(P.slice().reverse())})}else{var D=k.get("itemStyle.height");null==D?D=C:(D=a(D,p),"ascending"===r&&(D=-D));E=T(O,"horizontal"===f?g:v),P=T(M,"horizontal"===f?g+I:v+D);v+=D+w,n.setItemLayout(O,{points:E.concat(P.slice().reverse())})}}c(n)}))}t.exports=h},2532:function(t,e,n){"use strict";var i=n("23e7"),r=n("e330"),o=n("5a34"),a=n("1d80"),s=n("577e"),l=n("ab13"),u=r("".indexOf);i({target:"String",proto:!0,forced:!l("includes")},{includes:function(t){return!!~u(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},2554:function(t,e,n){"use strict";var i=function(t){return r(t)&&!o(t)};function r(t){return!!t&&"object"===typeof t}function o(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||l(t)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(t){return t.$$typeof===s}function u(t){return Array.isArray(t)?[]:{}}function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?y(u(t),t,e):t}function h(t,e,n){return t.concat(e).map((function(t){return c(t,n)}))}function f(t,e){if(!e.customMerge)return y;var n=e.customMerge(t);return"function"===typeof n?n:y}function d(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return Object.propertyIsEnumerable.call(t,e)})):[]}function p(t){return Object.keys(t).concat(d(t))}function g(t,e){try{return e in t}catch(n){return!1}}function v(t,e){return g(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function m(t,e,n){var i={};return n.isMergeableObject(t)&&p(t).forEach((function(e){i[e]=c(t[e],n)})),p(e).forEach((function(r){v(t,r)||(g(t,r)&&n.isMergeableObject(e[r])?i[r]=f(r,n)(t[r],e[r],n):i[r]=c(e[r],n))})),i}function y(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||h,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=c;var r=Array.isArray(e),o=Array.isArray(t),a=r===o;return a?r?n.arrayMerge(t,e,n):m(t,e,n):c(e,n)}y.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return y(t,n,e)}),{})};var b=y;t.exports=b},"255c":function(t,e,n){var i=n("3eba"),r=n("d4d1"),o=r.Polygon,a=n("2306"),s=n("6d8b"),l=s.bind,u=s.extend,c=n("80f0"),h=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,n){var i=t.getData(),r=this.group,s=t.getLayerSeries(),h=i.getLayout("layoutInfo"),d=h.rect,p=h.boundaryGap;function g(t){return t.name}r.attr("position",[0,d.y+p[0]]);var v=new c(this._layersSeries||[],s,g,g),m={};function y(e,n,l){var c=this._layers;if("remove"!==e){for(var h,d,p,g=[],v=[],y=s[n].indices,b=0;b<y.length;b++){var _=i.getItemLayout(y[b]),x=_.x,w=_.y0,S=_.y;g.push([x,w]),v.push([x,w+S]),h=i.getItemVisual(y[b],"color")}var C=i.getItemLayout(y[0]),T=i.getItemModel(y[b-1]),A=T.getModel("label"),O=A.get("margin");if("add"===e){var M=m[n]=new a.Group;d=new o({shape:{points:g,stackedOnPoints:v,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),p=new a.Text({style:{x:C.x-O,y:C.y0+C.y/2}}),M.add(d),M.add(p),r.add(M),d.setClipPath(f(d.getBoundingRect(),t,(function(){d.removeClipPath()})))}else{M=c[l];d=M.childAt(0),p=M.childAt(1),r.add(M),m[n]=M,a.updateProps(d,{shape:{points:g,stackedOnPoints:v}},t),a.updateProps(p,{style:{x:C.x-O,y:C.y0+C.y/2}},t)}var k=T.getModel("emphasis.itemStyle"),I=T.getModel("itemStyle");a.setTextStyle(p.style,A,{text:A.get("show")?t.getFormattedLabel(y[b-1],"normal")||i.getName(y[b-1]):null,textVerticalAlign:"middle"}),d.setStyle(u({fill:h},I.getItemStyle(["color"]))),a.setHoverStyle(d,k.getItemStyle())}else r.remove(c[n])}v.add(l(y,this,"add")).update(l(y,this,"update")).remove(l(y,this,"remove")).execute(),this._layersSeries=s,this._layers=m},dispose:function(){}});function f(t,e,n){var i=new a.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return a.initProps(i,{shape:{width:t.width+20,height:t.height+20}},e,n),i}t.exports=h},"25f0":function(t,e,n){"use strict";var i=n("5e77").PROPER,r=n("cb2d"),o=n("825a"),a=n("577e"),s=n("d039"),l=n("90d8"),u="toString",c=RegExp.prototype,h=c[u],f=s((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),d=i&&h.name!=u;(f||d)&&r(RegExp.prototype,u,(function(){var t=o(this),e=a(t.source),n=a(l(t));return"/"+e+"/"+n}),{unsafe:!0})},2626:function(t,e,n){"use strict";var i=n("d066"),r=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},"26dd":function(t,e,n){"use strict";var i=n("6f4f"),r=n("10db"),o=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},"26e1":function(t,e,n){var i=n("6d8b"),r=n("e0d3"),o=i.each,a=i.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=s.length;n<r;n++){var o=s[n],a=e.normal,l=e.emphasis;a&&a[o]&&(t[o]=t[o]||{},t[o].normal?i.merge(t[o].normal,a[o]):t[o].normal=a[o],a[o]=null),l&&l[o]&&(t[o]=t[o]||{},t[o].emphasis?i.merge(t[o].emphasis,l[o]):t[o].emphasis=l[o],l[o]=null)}}function u(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,o=t[e].emphasis;r&&(n?(t[e].normal=t[e].emphasis=null,i.defaults(t[e],r)):t[e]=r),o&&(t.emphasis=t.emphasis||{},t.emphasis[e]=o)}}function c(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function h(t,e){var n=a(t)&&t[e],i=a(n)&&n.textStyle;if(i)for(var o=0,s=r.TEXT_STYLE_OPTIONS.length;o<s;o++){e=r.TEXT_STYLE_OPTIONS[o];i.hasOwnProperty(e)&&(n[e]=i[e])}}function f(t){t&&(c(t),h(t,"label"),t.emphasis&&h(t.emphasis,"label"))}function d(t){if(a(t)){l(t),c(t),h(t,"label"),h(t,"upperLabel"),h(t,"edgeLabel"),t.emphasis&&(h(t.emphasis,"label"),h(t.emphasis,"upperLabel"),h(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(l(e),f(e));var n=t.markLine;n&&(l(n),f(n));var r=t.markArea;r&&f(r);var o=t.data;if("graph"===t.type){o=o||t.nodes;var s=t.links||t.edges;if(s&&!i.isTypedArray(s))for(var d=0;d<s.length;d++)f(s[d]);i.each(t.categories,(function(t){c(t)}))}if(o&&!i.isTypedArray(o))for(d=0;d<o.length;d++)f(o[d]);e=t.markPoint;if(e&&e.data){var p=e.data;for(d=0;d<p.length;d++)f(p[d])}n=t.markLine;if(n&&n.data){var g=n.data;for(d=0;d<g.length;d++)i.isArray(g[d])?(f(g[d][0]),f(g[d][1])):f(g[d])}"gauge"===t.type?(h(t,"axisLabel"),h(t,"title"),h(t,"detail")):"treemap"===t.type?(u(t.breadcrumb,"itemStyle"),i.each(t.levels,(function(t){c(t)}))):"tree"===t.type&&c(t.leaves)}}function p(t){return i.isArray(t)?t:t?[t]:[]}function g(t){return(i.isArray(t)?t[0]:t)||{}}function v(t,e){o(p(t.series),(function(t){a(t)&&d(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),o(n,(function(e){o(p(t[e]),(function(t){t&&(h(t,"axisLabel"),h(t.axisPointer,"label"))}))})),o(p(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;h(e,"axisLabel"),h(e&&e.axisPointer,"label")})),o(p(t.calendar),(function(t){u(t,"itemStyle"),h(t,"dayLabel"),h(t,"monthLabel"),h(t,"yearLabel")})),o(p(t.radar),(function(t){h(t,"name")})),o(p(t.geo),(function(t){a(t)&&(f(t),o(p(t.regions),(function(t){f(t)})))})),o(p(t.timeline),(function(t){f(t),u(t,"label"),u(t,"itemStyle"),u(t,"controlStyle",!0);var e=t.data;i.isArray(e)&&i.each(e,(function(t){i.isObject(t)&&(u(t,"label"),u(t,"itemStyle"))}))})),o(p(t.toolbox),(function(t){u(t,"iconStyle"),o(t.feature,(function(t){u(t,"iconStyle")}))})),h(g(t.axisPointer),"label"),h(g(t.tooltip).axisPointer,"label")}t.exports=v},"282b":function(t,e,n){var i=n("6d8b");function r(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,n,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(n&&i.indexOf(n,s)>=0||r&&i.indexOf(r,s)<0)){var l=e.getShallow(s);null!=l&&(o[t[a][0]]=l)}}return o}}t.exports=r},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("6b75");function r(t){if(Array.isArray(t))return Object(i["a"])(t)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("a630");function o(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var a=n("06c5");n("d9e2");function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t){return r(t)||o(t)||Object(a["a"])(t)||s()}},"292e":function(t,e,n){var i=n("3842"),r=i.parsePercent,o=i.linearMap,a=n("f934"),s=n("bb70"),l=n("6d8b"),u=2*Math.PI,c=Math.PI/180;function h(t,e){return a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function f(t,e,n,i){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),a=h(t,n),f=t.get("center"),d=t.get("radius");l.isArray(d)||(d=[0,d]),l.isArray(f)||(f=[f,f]);var p=r(a.width,n.getWidth()),g=r(a.height,n.getHeight()),v=Math.min(p,g),m=r(f[0],p)+a.x,y=r(f[1],g)+a.y,b=r(d[0],v/2),_=r(d[1],v/2),x=-t.get("startAngle")*c,w=t.get("minAngle")*c,S=0;e.each(i,(function(t){!isNaN(t)&&S++}));var C=e.getSum(i),T=Math.PI/(C||S)*2,A=t.get("clockwise"),O=t.get("roseType"),M=t.get("stillShowZeroSum"),k=e.getDataExtent(i);k[0]=0;var I=u,E=0,P=x,D=A?1:-1;if(e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:m,cy:y,r0:b,r:O?NaN:_,viewRect:a});else{i="area"!==O?0===C&&M?T:t*T:u/S,i<w?(i=w,I-=w):E+=t;var r=P+D*i;e.setItemLayout(n,{angle:i,startAngle:P,endAngle:r,clockwise:A,cx:m,cy:y,r0:b,r:O?o(t,k,[b,_]):_,viewRect:a}),P=r}})),I<u&&S)if(I<=.001){var L=u/S;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=L,i.startAngle=x+D*n*L,i.endAngle=x+D*(n+1)*L}}))}else T=I/E,P=x,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===w?w:t*T;i.startAngle=P,i.endAngle=P+D*r,P+=D*r}}));s(t,_,a.width,a.height,a.x,a.y)}))}t.exports=f},2943:function(t,e){function n(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.get("itemStyle.color")||t.getColorFromPalette(o,e);n.setItemVisual(i,"color",s);for(var l=["opacity","symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t),o=e.getShallow("category");if(null!=o){"string"===typeof o&&(o=r["ec-"+o]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)null==i.getItemVisual(t,a[s],!0)&&i.setItemVisual(t,a[s],n.getItemVisual(o,a[s]))}}))}))}t.exports=n},"29a8":function(t,e){var n={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};t.exports=n},"29a9":function(t,e,n){var i=n("3eba"),r=n("b336");n("bc5f"),n("ab05"),n("06ea"),n("004f"),n("d6ef"),i.registerPreprocessor(r)},"2a62":function(t,e,n){var i=n("c65b"),r=n("825a"),o=n("dc4a");t.exports=function(t,e,n){var a,s;r(t);try{if(a=o(t,"return"),!a){if("throw"===e)throw n;return n}a=i(a,t)}catch(l){s=!0,a=l}if("throw"===e)throw n;if(s)throw a;return r(a),n}},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){
/*!
 * Vue.js v2.6.12
 * (c) 2014-2020 Evan You
 * Released under the MIT License.
 */
var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function h(t){return"[object RegExp]"===u.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return r(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var m=v("key,ref,slot,slot-scope,is");function y(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(t,e){return b.call(t,e)}function x(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var w=/-(\w)/g,S=x((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),C=x((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,A=x((function(t){return t.replace(T,"-$1").toLowerCase()}));function O(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function M(t,e){return t.bind(e)}var k=Function.prototype.bind?M:O;function I(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function E(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n<t.length;n++)t[n]&&E(e,t[n]);return e}function D(t,e,n){}var L=function(t,e,n){return!1},R=function(t){return t};function N(t,e){if(t===e)return!0;var n=l(t),i=l(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return N(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return N(t[n],e[n])}))}catch(u){return!1}}function j(t,e){for(var n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function B(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var F="data-server-rendered",z=["component","directive","filter"],V=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:D,parsePlatformTagName:R,mustUseProp:L,async:!0,_lifecycleHooks:V},G=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function W(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function q(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var U=new RegExp("[^"+G.source+".$_\\d]");function Y(t){if(!U.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var X,$="__proto__"in{},Z="undefined"!==typeof window,K="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=K&&WXEnvironment.platform.toLowerCase(),Q=Z&&window.navigator.userAgent.toLowerCase(),tt=Q&&/msie|trident/.test(Q),et=Q&&Q.indexOf("msie 9.0")>0,nt=Q&&Q.indexOf("edge/")>0,it=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),rt=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(Z)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(Sa){}var lt=function(){return void 0===X&&(X=!Z&&!K&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),X},ut=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ct(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,ft="undefined"!==typeof Symbol&&ct(Symbol)&&"undefined"!==typeof Reflect&&ct(Reflect.ownKeys);ht="undefined"!==typeof Set&&ct(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=D,pt=0,gt=function(){this.id=pt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){y(this.subs,t)},gt.prototype.depend=function(){gt.target&&gt.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},gt.target=null;var vt=[];function mt(t){vt.push(t),gt.target=t}function yt(){vt.pop(),gt.target=vt[vt.length-1]}var bt=function(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},_t={child:{configurable:!0}};_t.child.get=function(){return this.componentInstance},Object.defineProperties(bt.prototype,_t);var xt=function(t){void 0===t&&(t="");var e=new bt;return e.text=t,e.isComment=!0,e};function wt(t){return new bt(void 0,void 0,void 0,String(t))}function St(t){var e=new bt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Ct=Array.prototype,Tt=Object.create(Ct),At=["push","pop","shift","unshift","splice","sort","reverse"];At.forEach((function(t){var e=Ct[t];q(Tt,t,(function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&a.observeArray(r),a.dep.notify(),o}))}));var Ot=Object.getOwnPropertyNames(Tt),Mt=!0;function kt(t){Mt=t}var It=function(t){this.value=t,this.dep=new gt,this.vmCount=0,q(t,"__ob__",this),Array.isArray(t)?($?Et(t,Tt):Pt(t,Tt,Ot),this.observeArray(t)):this.walk(t)};function Et(t,e){t.__proto__=e}function Pt(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];q(t,o,e[o])}}function Dt(t,e){var n;if(l(t)&&!(t instanceof bt))return _(t,"__ob__")&&t.__ob__ instanceof It?n=t.__ob__:Mt&&!lt()&&(Array.isArray(t)||c(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new It(t)),e&&n&&n.vmCount++,n}function Lt(t,e,n,i,r){var o=new gt,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=t[e]);var u=!r&&Dt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return gt.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&jt(e))),e},set:function(e){var i=s?s.call(t):n;e===i||e!==e&&i!==i||s&&!l||(l?l.call(t,e):n=e,u=!r&&Dt(e),o.notify())}})}}function Rt(t,e,n){if(Array.isArray(t)&&f(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(Lt(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function Nt(t,e){if(Array.isArray(t)&&f(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||_(t,e)&&(delete t[e],n&&n.dep.notify())}}function jt(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&jt(e)}It.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Lt(t,e[n])},It.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Dt(t[e])};var Bt=H.optionMergeStrategies;function Ft(t,e){if(!e)return t;for(var n,i,r,o=ft?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)n=o[a],"__ob__"!==n&&(i=t[n],r=e[n],_(t,n)?i!==r&&c(i)&&c(r)&&Ft(i,r):Rt(t,n,r));return t}function zt(t,e,n){return n?function(){var i="function"===typeof e?e.call(n,n):e,r="function"===typeof t?t.call(n,n):t;return i?Ft(i,r):r}:e?t?function(){return Ft("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Vt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?Ht(n):n}function Ht(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Gt(t,e,n,i){var r=Object.create(t||null);return e?E(r,e):r}Bt.data=function(t,e,n){return n?zt(t,e,n):e&&"function"!==typeof e?t:zt(t,e)},V.forEach((function(t){Bt[t]=Vt})),z.forEach((function(t){Bt[t+"s"]=Gt})),Bt.watch=function(t,e,n,i){if(t===ot&&(t=void 0),e===ot&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var o in E(r,t),e){var a=r[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},Bt.props=Bt.methods=Bt.inject=Bt.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return E(r,t),e&&E(r,e),r},Bt.provide=zt;var Wt=function(t,e){return void 0===e?t:e};function qt(t,e){var n=t.props;if(n){var i,r,o,a={};if(Array.isArray(n)){i=n.length;while(i--)r=n[i],"string"===typeof r&&(o=S(r),a[o]={type:null})}else if(c(n))for(var s in n)r=n[s],o=S(s),a[o]=c(r)?r:{type:r};else 0;t.props=a}}function Ut(t,e){var n=t.inject;if(n){var i=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(c(n))for(var o in n){var a=n[o];i[o]=c(a)?E({from:o},a):{from:a}}else 0}}function Yt(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"===typeof i&&(e[n]={bind:i,update:i})}}function Xt(t,e,n){if("function"===typeof e&&(e=e.options),qt(e,n),Ut(e,n),Yt(e),!e._base&&(e.extends&&(t=Xt(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=Xt(t,e.mixins[i],n);var o,a={};for(o in t)s(o);for(o in e)_(t,o)||s(o);function s(i){var r=Bt[i]||Wt;a[i]=r(t[i],e[i],n,i)}return a}function $t(t,e,n,i){if("string"===typeof n){var r=t[e];if(_(r,n))return r[n];var o=S(n);if(_(r,o))return r[o];var a=C(o);if(_(r,a))return r[a];var s=r[n]||r[o]||r[a];return s}}function Zt(t,e,n,i){var r=e[t],o=!_(n,t),a=n[t],s=te(Boolean,r.type);if(s>-1)if(o&&!_(r,"default"))a=!1;else if(""===a||a===A(t)){var l=te(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Kt(i,r,t);var u=Mt;kt(!0),Dt(a),kt(u)}return a}function Kt(t,e,n){if(_(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof i&&"Function"!==Jt(e.type)?i.call(t):i}}function Jt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Qt(t,e){return Jt(t)===Jt(e)}function te(t,e){if(!Array.isArray(e))return Qt(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Qt(e[n],t))return n;return-1}function ee(t,e,n){mt();try{if(e){var i=e;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{var a=!1===r[o].call(i,t,e,n);if(a)return}catch(Sa){ie(Sa,i,"errorCaptured hook")}}}ie(t,e,n)}finally{yt()}}function ne(t,e,n,i,r){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(t){return ee(t,i,r+" (Promise/async)")})),o._handled=!0)}catch(Sa){ee(Sa,i,r)}return o}function ie(t,e,n){if(H.errorHandler)try{return H.errorHandler.call(null,t,e,n)}catch(Sa){Sa!==t&&re(Sa,null,"config.errorHandler")}re(t,e,n)}function re(t,e,n){if(!Z&&!K||"undefined"===typeof console)throw t;console.error(t)}var oe,ae=!1,se=[],le=!1;function ue(){le=!1;var t=se.slice(0);se.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&ct(Promise)){var ce=Promise.resolve();oe=function(){ce.then(ue),it&&setTimeout(D)},ae=!0}else if(tt||"undefined"===typeof MutationObserver||!ct(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())oe="undefined"!==typeof setImmediate&&ct(setImmediate)?function(){setImmediate(ue)}:function(){setTimeout(ue,0)};else{var he=1,fe=new MutationObserver(ue),de=document.createTextNode(String(he));fe.observe(de,{characterData:!0}),oe=function(){he=(he+1)%2,de.data=String(he)},ae=!0}function pe(t,e){var n;if(se.push((function(){if(t)try{t.call(e)}catch(Sa){ee(Sa,e,"nextTick")}else n&&n(e)})),le||(le=!0,oe()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var ge=new ht;function ve(t){me(t,ge),ge.clear()}function me(t,e){var n,i,r=Array.isArray(t);if(!(!r&&!l(t)||Object.isFrozen(t)||t instanceof bt)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(r){n=t.length;while(n--)me(t[n],e)}else{i=Object.keys(t),n=i.length;while(n--)me(t[i[n]],e)}}}var ye=x((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function be(t,e){function n(){var t=arguments,i=n.fns;if(!Array.isArray(i))return ne(i,null,arguments,e,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)ne(r[o],null,t,e,"v-on handler")}return n.fns=t,n}function _e(t,e,n,r,a,s){var l,u,c,h;for(l in t)u=t[l],c=e[l],h=ye(l),i(u)||(i(c)?(i(u.fns)&&(u=t[l]=be(u,s)),o(h.once)&&(u=t[l]=a(h.name,u,h.capture)),n(h.name,u,h.capture,h.passive,h.params)):u!==c&&(c.fns=u,t[l]=c));for(l in e)i(t[l])&&(h=ye(l),r(h.name,e[l],h.capture))}function xe(t,e,n){var a;t instanceof bt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function l(){n.apply(this,arguments),y(a.fns,l)}i(s)?a=be([l]):r(s.fns)&&o(s.merged)?(a=s,a.fns.push(l)):a=be([s,l]),a.merged=!0,t[e]=a}function we(t,e,n){var o=e.options.props;if(!i(o)){var a={},s=t.attrs,l=t.props;if(r(s)||r(l))for(var u in o){var c=A(u);Se(a,l,u,c,!0)||Se(a,s,u,c,!1)}return a}}function Se(t,e,n,i,o){if(r(e)){if(_(e,n))return t[n]=e[n],o||delete e[n],!0;if(_(e,i))return t[n]=e[i],o||delete e[i],!0}return!1}function Ce(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Te(t){return s(t)?[wt(t)]:Array.isArray(t)?Oe(t):void 0}function Ae(t){return r(t)&&r(t.text)&&a(t.isComment)}function Oe(t,e){var n,a,l,u,c=[];for(n=0;n<t.length;n++)a=t[n],i(a)||"boolean"===typeof a||(l=c.length-1,u=c[l],Array.isArray(a)?a.length>0&&(a=Oe(a,(e||"")+"_"+n),Ae(a[0])&&Ae(u)&&(c[l]=wt(u.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?Ae(u)?c[l]=wt(u.text+a):""!==a&&c.push(wt(a)):Ae(a)&&Ae(u)?c[l]=wt(u.text+a.text):(o(t._isVList)&&r(a.tag)&&i(a.key)&&r(e)&&(a.key="__vlist"+e+"_"+n+"__"),c.push(a)));return c}function Me(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function ke(t){var e=Ie(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),kt(!0))}function Ie(t,e){if(t){for(var n=Object.create(null),i=ft?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var a=t[o].from,s=e;while(s){if(s._provided&&_(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[o]){var l=t[o].default;n[o]="function"===typeof l?l.call(e):l}else 0}}return n}}function Ee(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in n)n[u].every(Pe)&&delete n[u];return n}function Pe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function De(t,e,i){var r,o=Object.keys(e).length>0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=Le(e,l,t[l]))}else r={};for(var u in e)u in r||(r[u]=Re(e,u));return t&&Object.isExtensible(t)&&(t._normalized=r),q(r,"$stable",a),q(r,"$key",s),q(r,"$hasNormal",o),r}function Le(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Te(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function Re(t,e){return function(){return t[e]}}function Ne(t,e){var n,i,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,o=t.length;i<o;i++)n[i]=e(t[i],i);else if("number"===typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(l(t))if(ft&&t[Symbol.iterator]){n=[];var u=t[Symbol.iterator](),c=u.next();while(!c.done)n.push(e(c.value,n.length)),c=u.next()}else for(a=Object.keys(t),n=new Array(a.length),i=0,o=a.length;i<o;i++)s=a[i],n[i]=e(t[s],s,i);return r(n)||(n=[]),n._isVList=!0,n}function je(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=E(E({},i),n)),r=o(n)||e):r=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Be(t){return $t(this.$options,"filters",t,!0)||R}function Fe(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function ze(t,e,n,i,r){var o=H.keyCodes[e]||n;return r&&i&&!H.keyCodes[e]?Fe(r,i):o?Fe(o,t):i?A(i)!==e:void 0}function Ve(t,e,n,i,r){if(n)if(l(n)){var o;Array.isArray(n)&&(n=P(n));var a=function(a){if("class"===a||"style"===a||m(a))o=t;else{var s=t.attrs&&t.attrs.type;o=i||H.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=S(a),u=A(a);if(!(l in o)&&!(u in o)&&(o[a]=n[a],r)){var c=t.on||(t.on={});c["update:"+a]=function(t){n[a]=t}}};for(var s in n)a(s)}else;return t}function He(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),We(i,"__static__"+t,!1)),i}function Ge(t,e,n){return We(t,"__once__"+e+(n?"_"+n:""),!0),t}function We(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&qe(t[i],e+"_"+i,n);else qe(t,e,n)}function qe(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ue(t,e){if(e)if(c(e)){var n=t.on=t.on?E({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}else;return t}function Ye(t,e,n,i){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Ye(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return i&&(e.$key=i),e}function Xe(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function $e(t,e){return"string"===typeof t?e+t:t}function Ze(t){t._o=Ge,t._n=g,t._s=p,t._l=Ne,t._t=je,t._q=N,t._i=j,t._m=He,t._f=Be,t._k=ze,t._b=Ve,t._v=wt,t._e=xt,t._u=Ye,t._g=Ue,t._d=Xe,t._p=$e}function Ke(t,e,i,r,a){var s,l=this,u=a.options;_(r,"_uid")?(s=Object.create(r),s._original=r):(s=r,r=r._original);var c=o(u._compiled),h=!c;this.data=t,this.props=e,this.children=i,this.parent=r,this.listeners=t.on||n,this.injections=Ie(u.inject,r),this.slots=function(){return l.$slots||De(t.scopedSlots,l.$slots=Ee(i,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return De(t.scopedSlots,this.slots())}}),c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=De(t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,i){var o=hn(s,t,e,n,i,h);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=r),o}:this._c=function(t,e,n,i){return hn(s,t,e,n,i,h)}}function Je(t,e,i,o,a){var s=t.options,l={},u=s.props;if(r(u))for(var c in u)l[c]=Zt(c,u,e||n);else r(i.attrs)&&tn(l,i.attrs),r(i.props)&&tn(l,i.props);var h=new Ke(i,l,a,o,t),f=s.render.call(null,h._c,h);if(f instanceof bt)return Qe(f,i,h.parent,s,h);if(Array.isArray(f)){for(var d=Te(f)||[],p=new Array(d.length),g=0;g<d.length;g++)p[g]=Qe(d[g],i,h.parent,s,h);return p}}function Qe(t,e,n,i,r){var o=St(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function tn(t,e){for(var n in e)t[S(n)]=e[n]}Ze(Ke.prototype);var en={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;en.prepatch(n,n)}else{var i=t.componentInstance=on(t,In);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;Rn(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Fn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Jn(n):jn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Bn(e,!0):e.$destroy())}},nn=Object.keys(en);function rn(t,e,n,a,s){if(!i(t)){var u=n.$options._base;if(l(t)&&(t=u.extend(t)),"function"===typeof t){var c;if(i(t.cid)&&(c=t,t=xn(c,u),void 0===t))return _n(c,e,n,a,s);e=e||{},xi(t),r(e.model)&&ln(t.options,e);var h=we(e,t,s);if(o(t.options.functional))return Je(t,h,e,n,a);var f=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}an(e);var p=t.options.name||s,g=new bt("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:h,listeners:f,tag:s,children:a},c);return g}}}function on(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function an(t){for(var e=t.hook||(t.hook={}),n=0;n<nn.length;n++){var i=nn[n],r=e[i],o=en[i];r===o||r&&r._merged||(e[i]=r?sn(o,r):o)}}function sn(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function ln(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[i],s=e.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}var un=1,cn=2;function hn(t,e,n,i,r,a){return(Array.isArray(n)||s(n))&&(r=i,i=n,n=void 0),o(a)&&(r=cn),fn(t,e,n,i,r)}function fn(t,e,n,i,o){if(r(n)&&r(n.__ob__))return xt();if(r(n)&&r(n.is)&&(e=n.is),!e)return xt();var a,s,l;(Array.isArray(i)&&"function"===typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===cn?i=Te(i):o===un&&(i=Ce(i)),"string"===typeof e)?(s=t.$vnode&&t.$vnode.ns||H.getTagNamespace(e),a=H.isReservedTag(e)?new bt(H.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!r(l=$t(t.$options,"components",e))?new bt(e,n,i,void 0,void 0,t):rn(l,n,t,i,e)):a=rn(e,n,t,i);return Array.isArray(a)?a:r(a)?(r(s)&&dn(a,s),r(n)&&pn(n),a):xt()}function dn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),r(t.children))for(var a=0,s=t.children.length;a<s;a++){var l=t.children[a];r(l.tag)&&(i(l.ns)||o(n)&&"svg"!==l.tag)&&dn(l,e,n)}}function pn(t){l(t.style)&&ve(t.style),l(t.class)&&ve(t.class)}function gn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=Ee(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,n,i,r){return hn(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return hn(t,e,n,i,r,!0)};var o=i&&i.data;Lt(t,"$attrs",o&&o.attrs||n,null,!0),Lt(t,"$listeners",e._parentListeners||n,null,!0)}var vn,mn=null;function yn(t){Ze(t.prototype),t.prototype.$nextTick=function(t){return pe(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,r=n._parentVnode;r&&(e.$scopedSlots=De(r.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=r;try{mn=e,t=i.call(e._renderProxy,e.$createElement)}catch(Sa){ee(Sa,e,"render"),t=e._vnode}finally{mn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof bt||(t=xt()),t.parent=r,t}}function bn(t,e){return(t.__esModule||ft&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function _n(t,e,n,i,r){var o=xt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}function xn(t,e){if(o(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;var n=mn;if(n&&r(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),o(t.loading)&&r(t.loadingComp))return t.loadingComp;if(n&&!r(t.owners)){var a=t.owners=[n],s=!0,u=null,c=null;n.$on("hook:destroyed",(function(){return y(a,n)}));var h=function(t){for(var e=0,n=a.length;e<n;e++)a[e].$forceUpdate();t&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==c&&(clearTimeout(c),c=null))},f=B((function(n){t.resolved=bn(n,e),s?a.length=0:h(!0)})),p=B((function(e){r(t.errorComp)&&(t.error=!0,h(!0))})),g=t(f,p);return l(g)&&(d(g)?i(t.resolved)&&g.then(f,p):d(g.component)&&(g.component.then(f,p),r(g.error)&&(t.errorComp=bn(g.error,e)),r(g.loading)&&(t.loadingComp=bn(g.loading,e),0===g.delay?t.loading=!0:u=setTimeout((function(){u=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,h(!1))}),g.delay||200)),r(g.timeout)&&(c=setTimeout((function(){c=null,i(t.resolved)&&p(null)}),g.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}function wn(t){return t.isComment&&t.asyncFactory}function Sn(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||wn(n)))return n}}function Cn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Mn(t,e)}function Tn(t,e){vn.$on(t,e)}function An(t,e){vn.$off(t,e)}function On(t,e){var n=vn;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function Mn(t,e,n){vn=t,_e(e,n||{},Tn,An,On,t),vn=void 0}function kn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,o=t.length;r<o;r++)i.$on(t[r],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,r=t.length;i<r;i++)n.$off(t[i],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;var s=a.length;while(s--)if(o=a[s],o===e||o.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?I(n):n;for(var i=I(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;o<a;o++)ne(n[o],e,i,e,r)}return e}}var In=null;function En(t){var e=In;return In=t,function(){In=e}}function Pn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Dn(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=En(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Fn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||y(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Fn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Ln(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=xt),Fn(t,"beforeMount"),i=function(){t._update(t._render(),n)},new ni(t,i,D,{before:function(){t._isMounted&&!t._isDestroyed&&Fn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Fn(t,"mounted")),t}function Rn(t,e,i,r,o){var a=r.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),u=!!(o||t.$options._renderChildren||l);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o,t.$attrs=r.data.attrs||n,t.$listeners=i||n,e&&t.$options.props){kt(!1);for(var c=t._props,h=t.$options._propKeys||[],f=0;f<h.length;f++){var d=h[f],p=t.$options.props;c[d]=Zt(d,p,e,t)}kt(!0),t.$options.propsData=e}i=i||n;var g=t.$options._parentListeners;t.$options._parentListeners=i,Mn(t,i,g),u&&(t.$slots=Ee(o,r.context),t.$forceUpdate())}function Nn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function jn(t,e){if(e){if(t._directInactive=!1,Nn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)jn(t.$children[n]);Fn(t,"activated")}}function Bn(t,e){if((!e||(t._directInactive=!0,!Nn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Bn(t.$children[n]);Fn(t,"deactivated")}}function Fn(t,e){mt();var n=t.$options[e],i=e+" hook";if(n)for(var r=0,o=n.length;r<o;r++)ne(n[r],t,null,t,i);t._hasHookEvent&&t.$emit("hook:"+e),yt()}var zn=[],Vn=[],Hn={},Gn=!1,Wn=!1,qn=0;function Un(){qn=zn.length=Vn.length=0,Hn={},Gn=Wn=!1}var Yn=0,Xn=Date.now;if(Z&&!tt){var $n=window.performance;$n&&"function"===typeof $n.now&&Xn()>document.createEvent("Event").timeStamp&&(Xn=function(){return $n.now()})}function Zn(){var t,e;for(Yn=Xn(),Wn=!0,zn.sort((function(t,e){return t.id-e.id})),qn=0;qn<zn.length;qn++)t=zn[qn],t.before&&t.before(),e=t.id,Hn[e]=null,t.run();var n=Vn.slice(),i=zn.slice();Un(),Qn(n),Kn(i),ut&&H.devtools&&ut.emit("flush")}function Kn(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&Fn(i,"updated")}}function Jn(t){t._inactive=!1,Vn.push(t)}function Qn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,jn(t[e],!0)}function ti(t){var e=t.id;if(null==Hn[e]){if(Hn[e]=!0,Wn){var n=zn.length-1;while(n>qn&&zn[n].id>t.id)n--;zn.splice(n+1,0,t)}else zn.push(t);Gn||(Gn=!0,pe(Zn))}}var ei=0,ni=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ei,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ht,this.newDepIds=new ht,this.expression="","function"===typeof e?this.getter=e:(this.getter=Y(e),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};ni.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Sa){if(!this.user)throw Sa;ee(Sa,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),yt(),this.cleanupDeps()}return t},ni.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ni.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ni.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ti(this)},ni.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Sa){ee(Sa,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ni.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ni.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},ni.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ii={enumerable:!0,configurable:!0,get:D,set:D};function ri(t,e,n){ii.get=function(){return this[e][n]},ii.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ii)}function oi(t){t._watchers=[];var e=t.$options;e.props&&ai(t,e.props),e.methods&&pi(t,e.methods),e.data?si(t):Dt(t._data={},!0),e.computed&&ci(t,e.computed),e.watch&&e.watch!==ot&&gi(t,e.watch)}function ai(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;o||kt(!1);var a=function(o){r.push(o);var a=Zt(o,e,n,t);Lt(i,o,a),o in t||ri(t,"_props",o)};for(var s in e)a(s);kt(!0)}function si(t){var e=t.$options.data;e=t._data="function"===typeof e?li(e,t):e||{},c(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var o=n[r];0,i&&_(i,o)||W(o)||ri(t,"_data",o)}Dt(e,!0)}function li(t,e){mt();try{return t.call(e,e)}catch(Sa){return ee(Sa,e,"data()"),{}}finally{yt()}}var ui={lazy:!0};function ci(t,e){var n=t._computedWatchers=Object.create(null),i=lt();for(var r in e){var o=e[r],a="function"===typeof o?o:o.get;0,i||(n[r]=new ni(t,a||D,D,ui)),r in t||hi(t,r,o)}}function hi(t,e,n){var i=!lt();"function"===typeof n?(ii.get=i?fi(e):di(n),ii.set=D):(ii.get=n.get?i&&!1!==n.cache?fi(e):di(n.get):D,ii.set=n.set||D),Object.defineProperty(t,e,ii)}function fi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function di(t){return function(){return t.call(this,this)}}function pi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?D:k(e[n],t)}function gi(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)vi(t,n,i[r]);else vi(t,n,i)}}function vi(t,e,n,i){return c(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function mi(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Rt,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){var i=this;if(c(e))return vi(i,t,e,n);n=n||{},n.user=!0;var r=new ni(i,t,e,n);if(n.immediate)try{e.call(i,r.value)}catch(o){ee(o,i,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}var yi=0;function bi(t){t.prototype._init=function(t){var e=this;e._uid=yi++,e._isVue=!0,t&&t._isComponent?_i(e,t):e.$options=Xt(xi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Pn(e),Cn(e),gn(e),Fn(e,"beforeCreate"),ke(e),oi(e),Me(e),Fn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function _i(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function xi(t){var e=t.options;if(t.super){var n=xi(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var r=wi(t);r&&E(t.extendOptions,r),e=t.options=Xt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function wi(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}function Si(t){this._init(t)}function Ci(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ti(t){t.mixin=function(t){return this.options=Xt(this.options,t),this}}function Ai(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Xt(n.options,t),a["super"]=n,a.options.props&&Oi(a),a.options.computed&&Mi(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),r[i]=a,a}}function Oi(t){var e=t.options.props;for(var n in e)ri(t.prototype,"_props",n)}function Mi(t){var e=t.options.computed;for(var n in e)hi(t.prototype,n,e[n])}function ki(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Ii(t){return t&&(t.Ctor.options.name||t.tag)}function Ei(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Pi(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=Ii(a.componentOptions);s&&!e(s)&&Di(n,o,i,r)}}}function Di(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,y(n,e)}bi(Si),mi(Si),kn(Si),Dn(Si),yn(Si);var Li=[String,RegExp,Array],Ri={name:"keep-alive",abstract:!0,props:{include:Li,exclude:Li,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Di(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Pi(t,(function(t){return Ei(e,t)}))})),this.$watch("exclude",(function(e){Pi(t,(function(t){return!Ei(e,t)}))}))},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var i=Ii(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!Ei(o,i))||a&&i&&Ei(a,i))return e;var s=this,l=s.cache,u=s.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;l[c]?(e.componentInstance=l[c].componentInstance,y(u,c),u.push(c)):(l[c]=e,u.push(c),this.max&&u.length>parseInt(this.max)&&Di(l,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Ni={KeepAlive:Ri};function ji(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:E,mergeOptions:Xt,defineReactive:Lt},t.set=Rt,t.delete=Nt,t.nextTick=pe,t.observable=function(t){return Dt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,E(t.options.components,Ni),Ci(t),Ti(t),Ai(t),ki(t)}ji(Si),Object.defineProperty(Si.prototype,"$isServer",{get:lt}),Object.defineProperty(Si.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Si,"FunctionalRenderContext",{value:Ke}),Si.version="2.6.12";var Bi=v("style,class"),Fi=v("input,textarea,option,select,progress"),zi=function(t,e,n){return"value"===n&&Fi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Vi=v("contenteditable,draggable,spellcheck"),Hi=v("events,caret,typing,plaintext-only"),Gi=function(t,e){return Xi(e)||"false"===e?"false":"contenteditable"===t&&Hi(e)?e:"true"},Wi=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),qi="http://www.w3.org/1999/xlink",Ui=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Yi=function(t){return Ui(t)?t.slice(6,t.length):""},Xi=function(t){return null==t||!1===t};function $i(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Zi(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Zi(e,n.data));return Ki(e.staticClass,e.class)}function Zi(t,e){return{staticClass:Ji(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Ki(t,e){return r(t)||r(e)?Ji(t,Qi(e)):""}function Ji(t,e){return t?e?t+" "+e:t:e||""}function Qi(t){return Array.isArray(t)?tr(t):l(t)?er(t):"string"===typeof t?t:""}function tr(t){for(var e,n="",i=0,o=t.length;i<o;i++)r(e=Qi(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function er(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var nr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ir=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),rr=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),or=function(t){return ir(t)||rr(t)};function ar(t){return rr(t)?"svg":"math"===t?"math":void 0}var sr=Object.create(null);function lr(t){if(!Z)return!0;if(or(t))return!1;if(t=t.toLowerCase(),null!=sr[t])return sr[t];var e=document.createElement(t);return t.indexOf("-")>-1?sr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:sr[t]=/HTMLUnknownElement/.test(e.toString())}var ur=v("text,number,password,search,email,tel,url");function cr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function hr(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fr(t,e){return document.createElementNS(nr[t],e)}function dr(t){return document.createTextNode(t)}function pr(t){return document.createComment(t)}function gr(t,e,n){t.insertBefore(e,n)}function vr(t,e){t.removeChild(e)}function mr(t,e){t.appendChild(e)}function yr(t){return t.parentNode}function br(t){return t.nextSibling}function _r(t){return t.tagName}function xr(t,e){t.textContent=e}function wr(t,e){t.setAttribute(e,"")}var Sr=Object.freeze({createElement:hr,createElementNS:fr,createTextNode:dr,createComment:pr,insertBefore:gr,removeChild:vr,appendChild:mr,parentNode:yr,nextSibling:br,tagName:_r,setTextContent:xr,setStyleScope:wr}),Cr={create:function(t,e){Tr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Tr(t,!0),Tr(e))},destroy:function(t){Tr(t,!0)}};function Tr(t,e){var n=t.data.ref;if(r(n)){var i=t.context,o=t.componentInstance||t.elm,a=i.$refs;e?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Ar=new bt("",{},[]),Or=["create","activate","update","remove","destroy"];function Mr(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&kr(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function kr(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||ur(i)&&ur(o)}function Ir(t,e,n){var i,o,a={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(a[o]=i);return a}function Er(t){var e,n,a={},l=t.modules,u=t.nodeOps;for(e=0;e<Or.length;++e)for(a[Or[e]]=[],n=0;n<l.length;++n)r(l[n][Or[e]])&&a[Or[e]].push(l[n][Or[e]]);function c(t){return new bt(u.tagName(t).toLowerCase(),{},[],void 0,t)}function h(t,e){function n(){0===--n.listeners&&f(t)}return n.listeners=e,n}function f(t){var e=u.parentNode(t);r(e)&&u.removeChild(e,t)}function d(t,e,n,i,a,s,l){if(r(t.elm)&&r(s)&&(t=s[l]=St(t)),t.isRootInsert=!a,!p(t,e,n,i)){var c=t.data,h=t.children,f=t.tag;r(f)?(t.elm=t.ns?u.createElementNS(t.ns,f):u.createElement(f,t),w(t),b(t,h,e),r(c)&&x(t,e),y(n,t.elm,i)):o(t.isComment)?(t.elm=u.createComment(t.text),y(n,t.elm,i)):(t.elm=u.createTextNode(t.text),y(n,t.elm,i))}}function p(t,e,n,i){var a=t.data;if(r(a)){var s=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1),r(t.componentInstance))return g(t,e),y(n,t.elm,i),o(s)&&m(t,e,n,i),!0}}function g(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,_(t)?(x(t,e),w(t)):(Tr(t),e.push(t))}function m(t,e,n,i){var o,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,r(o=s.data)&&r(o=o.transition)){for(o=0;o<a.activate.length;++o)a.activate[o](Ar,s);e.push(s);break}y(n,t.elm,i)}function y(t,e,n){r(t)&&(r(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function b(t,e,n){if(Array.isArray(e)){0;for(var i=0;i<e.length;++i)d(e[i],n,t.elm,null,!0,e,i)}else s(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function _(t){while(t.componentInstance)t=t.componentInstance._vnode;return r(t.tag)}function x(t,n){for(var i=0;i<a.create.length;++i)a.create[i](Ar,t);e=t.data.hook,r(e)&&(r(e.create)&&e.create(Ar,t),r(e.insert)&&n.push(t))}function w(t){var e;if(r(e=t.fnScopeId))u.setStyleScope(t.elm,e);else{var n=t;while(n)r(e=n.context)&&r(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent}r(e=In)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function S(t,e,n,i,r,o){for(;i<=r;++i)d(n[i],o,t,e,!1,n,i)}function C(t){var e,n,i=t.data;if(r(i))for(r(e=i.hook)&&r(e=e.destroy)&&e(t),e=0;e<a.destroy.length;++e)a.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)C(t.children[n])}function T(t,e,n){for(;e<=n;++e){var i=t[e];r(i)&&(r(i.tag)?(A(i),C(i)):f(i.elm))}}function A(t,e){if(r(e)||r(t.data)){var n,i=a.remove.length+1;for(r(e)?e.listeners+=i:e=h(t.elm,i),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&A(n,e),n=0;n<a.remove.length;++n)a.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else f(t.elm)}function O(t,e,n,o,a){var s,l,c,h,f=0,p=0,g=e.length-1,v=e[0],m=e[g],y=n.length-1,b=n[0],_=n[y],x=!a;while(f<=g&&p<=y)i(v)?v=e[++f]:i(m)?m=e[--g]:Mr(v,b)?(k(v,b,o,n,p),v=e[++f],b=n[++p]):Mr(m,_)?(k(m,_,o,n,y),m=e[--g],_=n[--y]):Mr(v,_)?(k(v,_,o,n,y),x&&u.insertBefore(t,v.elm,u.nextSibling(m.elm)),v=e[++f],_=n[--y]):Mr(m,b)?(k(m,b,o,n,p),x&&u.insertBefore(t,m.elm,v.elm),m=e[--g],b=n[++p]):(i(s)&&(s=Ir(e,f,g)),l=r(b.key)?s[b.key]:M(b,e,f,g),i(l)?d(b,o,t,v.elm,!1,n,p):(c=e[l],Mr(c,b)?(k(c,b,o,n,p),e[l]=void 0,x&&u.insertBefore(t,c.elm,v.elm)):d(b,o,t,v.elm,!1,n,p)),b=n[++p]);f>g?(h=i(n[y+1])?null:n[y+1].elm,S(t,h,n,p,y,o)):p>y&&T(e,f,g)}function M(t,e,n,i){for(var o=n;o<i;o++){var a=e[o];if(r(a)&&Mr(t,a))return o}}function k(t,e,n,s,l,c){if(t!==e){r(e.elm)&&r(s)&&(e=s[l]=St(e));var h=e.elm=t.elm;if(o(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?P(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,d=e.data;r(d)&&r(f=d.hook)&&r(f=f.prepatch)&&f(t,e);var p=t.children,g=e.children;if(r(d)&&_(e)){for(f=0;f<a.update.length;++f)a.update[f](t,e);r(f=d.hook)&&r(f=f.update)&&f(t,e)}i(e.text)?r(p)&&r(g)?p!==g&&O(h,p,g,n,c):r(g)?(r(t.text)&&u.setTextContent(h,""),S(h,null,g,0,g.length-1,n)):r(p)?T(p,0,p.length-1):r(t.text)&&u.setTextContent(h,""):t.text!==e.text&&u.setTextContent(h,e.text),r(d)&&r(f=d.hook)&&r(f=f.postpatch)&&f(t,e)}}}function I(t,e,n){if(o(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var E=v("attrs,class,staticClass,staticStyle,key");function P(t,e,n,i){var a,s=e.tag,l=e.data,u=e.children;if(i=i||l&&l.pre,e.elm=t,o(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(l)&&(r(a=l.hook)&&r(a=a.init)&&a(e,!0),r(a=e.componentInstance)))return g(e,n),!0;if(r(s)){if(r(u))if(t.hasChildNodes())if(r(a=l)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var c=!0,h=t.firstChild,f=0;f<u.length;f++){if(!h||!P(h,u[f],n,i)){c=!1;break}h=h.nextSibling}if(!c||h)return!1}else b(e,u,n);if(r(l)){var d=!1;for(var p in l)if(!E(p)){d=!0,x(e,n);break}!d&&l["class"]&&ve(l["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!i(e)){var l=!1,h=[];if(i(t))l=!0,d(e,h);else{var f=r(t.nodeType);if(!f&&Mr(t,e))k(t,e,h,null,null,s);else{if(f){if(1===t.nodeType&&t.hasAttribute(F)&&(t.removeAttribute(F),n=!0),o(n)&&P(t,e,h))return I(e,h,!0),t;t=c(t)}var p=t.elm,g=u.parentNode(p);if(d(e,h,p._leaveCb?null:g,u.nextSibling(p)),r(e.parent)){var v=e.parent,m=_(e);while(v){for(var y=0;y<a.destroy.length;++y)a.destroy[y](v);if(v.elm=e.elm,m){for(var b=0;b<a.create.length;++b)a.create[b](Ar,v);var x=v.data.hook.insert;if(x.merged)for(var w=1;w<x.fns.length;w++)x.fns[w]()}else Tr(v);v=v.parent}}r(g)?T([t],0,0):r(t.tag)&&C(t)}}return I(e,h,l),e.elm}r(t)&&C(t)}}var Pr={create:Dr,update:Dr,destroy:function(t){Dr(t,Ar)}};function Dr(t,e){(t.data.directives||e.data.directives)&&Lr(t,e)}function Lr(t,e){var n,i,r,o=t===Ar,a=e===Ar,s=Nr(t.data.directives,t.context),l=Nr(e.data.directives,e.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,Br(r,"update",e,t),r.def&&r.def.componentUpdated&&c.push(r)):(Br(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var h=function(){for(var n=0;n<u.length;n++)Br(u[n],"inserted",e,t)};o?xe(e,"insert",h):h()}if(c.length&&xe(e,"postpatch",(function(){for(var n=0;n<c.length;n++)Br(c[n],"componentUpdated",e,t)})),!o)for(n in s)l[n]||Br(s[n],"unbind",t,t,a)}var Rr=Object.create(null);function Nr(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)i=t[n],i.modifiers||(i.modifiers=Rr),r[jr(i)]=i,i.def=$t(e.$options,"directives",i.name,!0);return r}function jr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Br(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(Sa){ee(Sa,n.context,"directive "+t.name+" "+e+" hook")}}var Fr=[Cr,Pr];function zr(t,e){var n=e.componentOptions;if((!r(n)||!1!==n.Ctor.options.inheritAttrs)&&(!i(t.data.attrs)||!i(e.data.attrs))){var o,a,s,l=e.elm,u=t.data.attrs||{},c=e.data.attrs||{};for(o in r(c.__ob__)&&(c=e.data.attrs=E({},c)),c)a=c[o],s=u[o],s!==a&&Vr(l,o,a);for(o in(tt||nt)&&c.value!==u.value&&Vr(l,"value",c.value),u)i(c[o])&&(Ui(o)?l.removeAttributeNS(qi,Yi(o)):Vi(o)||l.removeAttribute(o))}}function Vr(t,e,n){t.tagName.indexOf("-")>-1?Hr(t,e,n):Wi(e)?Xi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Vi(e)?t.setAttribute(e,Gi(e,n)):Ui(e)?Xi(n)?t.removeAttributeNS(qi,Yi(e)):t.setAttributeNS(qi,e,n):Hr(t,e,n)}function Hr(t,e,n){if(Xi(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Gr={create:zr,update:zr};function Wr(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=$i(e),l=n._transitionClasses;r(l)&&(s=Ji(s,Qi(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var qr,Ur={create:Wr,update:Wr},Yr="__r",Xr="__c";function $r(t){if(r(t[Yr])){var e=tt?"change":"input";t[e]=[].concat(t[Yr],t[e]||[]),delete t[Yr]}r(t[Xr])&&(t.change=[].concat(t[Xr],t.change||[]),delete t[Xr])}function Zr(t,e,n){var i=qr;return function r(){var o=e.apply(null,arguments);null!==o&&Qr(t,r,n,i)}}var Kr=ae&&!(rt&&Number(rt[1])<=53);function Jr(t,e,n,i){if(Kr){var r=Yn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(t,e,at?{capture:n,passive:i}:n)}function Qr(t,e,n,i){(i||qr).removeEventListener(t,e._wrapper||e,n)}function to(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};qr=e.elm,$r(n),_e(n,r,Jr,Qr,Zr,e.context),qr=void 0}}var eo,no={create:to,update:to};function io(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in r(l.__ob__)&&(l=e.data.domProps=E({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=i(o)?"":String(o);ro(a,u)&&(a.value=u)}else if("innerHTML"===n&&rr(a.tagName)&&i(a.innerHTML)){eo=eo||document.createElement("div"),eo.innerHTML="<svg>"+o+"</svg>";var c=eo.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Sa){}}}}function ro(t,e){return!t.composing&&("OPTION"===t.tagName||oo(t,e)||ao(t,e))}function oo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Sa){}return n&&t.value!==e}function ao(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return g(n)!==g(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var so={create:io,update:io},lo=x((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function uo(t){var e=co(t.style);return t.staticStyle?E(t.staticStyle,e):e}function co(t){return Array.isArray(t)?P(t):"string"===typeof t?lo(t):t}function ho(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=uo(r.data))&&E(i,n)}(n=uo(t.data))&&E(i,n);var o=t;while(o=o.parent)o.data&&(n=uo(o.data))&&E(i,n);return i}var fo,po=/^--/,go=/\s*!important$/,vo=function(t,e,n){if(po.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(A(e),n.replace(go,""),"important");else{var i=yo(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},mo=["Webkit","Moz","ms"],yo=x((function(t){if(fo=fo||document.createElement("div").style,t=S(t),"filter"!==t&&t in fo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<mo.length;n++){var i=mo[n]+e;if(i in fo)return i}}));function bo(t,e){var n=e.data,o=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(o.staticStyle)&&i(o.style))){var a,s,l=e.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},h=u||c,f=co(e.data.style)||{};e.data.normalizedStyle=r(f.__ob__)?E({},f):f;var d=ho(e,!0);for(s in h)i(d[s])&&vo(l,s,"");for(s in d)a=d[s],a!==h[s]&&vo(l,s,null==a?"":a)}}var _o={create:bo,update:bo},xo=/\s+/;function wo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(xo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function So(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(xo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Co(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&E(e,To(t.name||"v")),E(e,t),e}return"string"===typeof t?To(t):void 0}}var To=x((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Ao=Z&&!et,Oo="transition",Mo="animation",ko="transition",Io="transitionend",Eo="animation",Po="animationend";Ao&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ko="WebkitTransition",Io="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Eo="WebkitAnimation",Po="webkitAnimationEnd"));var Do=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Lo(t){Do((function(){Do(t)}))}function Ro(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),wo(t,e))}function No(t,e){t._transitionClasses&&y(t._transitionClasses,e),So(t,e)}function jo(t,e,n){var i=Fo(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Oo?Io:Po,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),t.addEventListener(s,c)}var Bo=/\b(transform|all)(,|$)/;function Fo(t,e){var n,i=window.getComputedStyle(t),r=(i[ko+"Delay"]||"").split(", "),o=(i[ko+"Duration"]||"").split(", "),a=zo(r,o),s=(i[Eo+"Delay"]||"").split(", "),l=(i[Eo+"Duration"]||"").split(", "),u=zo(s,l),c=0,h=0;e===Oo?a>0&&(n=Oo,c=a,h=o.length):e===Mo?u>0&&(n=Mo,c=u,h=l.length):(c=Math.max(a,u),n=c>0?a>u?Oo:Mo:null,h=n?n===Oo?o.length:l.length:0);var f=n===Oo&&Bo.test(i[ko+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:f}}function zo(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Vo(e)+Vo(t[n])})))}function Vo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Ho(t,e){var n=t.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Co(t.data.transition);if(!i(o)&&!r(n._enterCb)&&1===n.nodeType){var a=o.css,s=o.type,u=o.enterClass,c=o.enterToClass,h=o.enterActiveClass,f=o.appearClass,d=o.appearToClass,p=o.appearActiveClass,v=o.beforeEnter,m=o.enter,y=o.afterEnter,b=o.enterCancelled,_=o.beforeAppear,x=o.appear,w=o.afterAppear,S=o.appearCancelled,C=o.duration,T=In,A=In.$vnode;while(A&&A.parent)T=A.context,A=A.parent;var O=!T._isMounted||!t.isRootInsert;if(!O||x||""===x){var M=O&&f?f:u,k=O&&p?p:h,I=O&&d?d:c,E=O&&_||v,P=O&&"function"===typeof x?x:m,D=O&&w||y,L=O&&S||b,R=g(l(C)?C.enter:C);0;var N=!1!==a&&!et,j=qo(P),F=n._enterCb=B((function(){N&&(No(n,I),No(n,k)),F.cancelled?(N&&No(n,M),L&&L(n)):D&&D(n),n._enterCb=null}));t.data.show||xe(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),P&&P(n,F)})),E&&E(n),N&&(Ro(n,M),Ro(n,k),Lo((function(){No(n,M),F.cancelled||(Ro(n,I),j||(Wo(R)?setTimeout(F,R):jo(n,s,F)))}))),t.data.show&&(e&&e(),P&&P(n,F)),N||j||F()}}}function Go(t,e){var n=t.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=Co(t.data.transition);if(i(o)||1!==n.nodeType)return e();if(!r(n._leaveCb)){var a=o.css,s=o.type,u=o.leaveClass,c=o.leaveToClass,h=o.leaveActiveClass,f=o.beforeLeave,d=o.leave,p=o.afterLeave,v=o.leaveCancelled,m=o.delayLeave,y=o.duration,b=!1!==a&&!et,_=qo(d),x=g(l(y)?y.leave:y);0;var w=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&(No(n,c),No(n,h)),w.cancelled?(b&&No(n,u),v&&v(n)):(e(),p&&p(n)),n._leaveCb=null}));m?m(S):S()}function S(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),f&&f(n),b&&(Ro(n,u),Ro(n,h),Lo((function(){No(n,u),w.cancelled||(Ro(n,c),_||(Wo(x)?setTimeout(w,x):jo(n,s,w)))}))),d&&d(n,w),b||_||w())}}function Wo(t){return"number"===typeof t&&!isNaN(t)}function qo(t){if(i(t))return!1;var e=t.fns;return r(e)?qo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Uo(t,e){!0!==e.data.show&&Ho(e)}var Yo=Z?{create:Uo,activate:Uo,remove:function(t,e){!0!==t.data.show?Go(t,e):e()}}:{},Xo=[Gr,Ur,no,so,_o,Yo],$o=Xo.concat(Fr),Zo=Er({nodeOps:Sr,modules:$o});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ra(t,"input")}));var Ko={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?xe(n,"postpatch",(function(){Ko.componentUpdated(t,e,n)})):Jo(t,e,n.context),t._vOptions=[].map.call(t.options,ea)):("textarea"===n.tag||ur(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",na),t.addEventListener("compositionend",ia),t.addEventListener("change",ia),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Jo(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,ea);if(r.some((function(t,e){return!N(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return ta(t,r)})):e.value!==e.oldValue&&ta(e.value,r);o&&ra(t,"change")}}}};function Jo(t,e,n){Qo(t,e,n),(tt||nt)&&setTimeout((function(){Qo(t,e,n)}),0)}function Qo(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=j(i,ea(a))>-1,a.selected!==o&&(a.selected=o);else if(N(ea(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function ta(t,e){return e.every((function(e){return!N(e,t)}))}function ea(t){return"_value"in t?t._value:t.value}function na(t){t.target.composing=!0}function ia(t){t.target.composing&&(t.target.composing=!1,ra(t.target,"input"))}function ra(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oa(t){return!t.componentInstance||t.data&&t.data.transition?t:oa(t.componentInstance._vnode)}var aa={bind:function(t,e,n){var i=e.value;n=oa(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Ho(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Ho(n,(function(){t.style.display=t.__vOriginalDisplay})):Go(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},sa={model:Ko,show:aa},la={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ua(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ua(Sn(e.children)):t}function ca(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[S(o)]=r[o];return e}function ha(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function fa(t){while(t=t.parent)if(t.data.transition)return!0}function da(t,e){return e.key===t.key&&e.tag===t.tag}var pa=function(t){return t.tag||wn(t)},ga=function(t){return"show"===t.name},va={name:"transition",props:la,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(pa),n.length)){0;var i=this.mode;0;var r=n[0];if(fa(this.$vnode))return r;var o=ua(r);if(!o)return r;if(this._leaving)return ha(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=ca(this),u=this._vnode,c=ua(u);if(o.data.directives&&o.data.directives.some(ga)&&(o.data.show=!0),c&&c.data&&!da(o,c)&&!wn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=E({},l);if("out-in"===i)return this._leaving=!0,xe(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ha(t,r);if("in-out"===i){if(wn(o))return u;var f,d=function(){f()};xe(l,"afterEnter",d),xe(l,"enterCancelled",d),xe(h,"delayLeave",(function(t){f=t}))}}return r}}},ma=E({tag:String,moveClass:String},la);delete ma.mode;var ya={props:ma,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=En(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(i){for(var u=[],c=[],h=0;h<i.length;h++){var f=i[h];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?u.push(f):c.push(f)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(ba),t.forEach(_a),t.forEach(xa),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;Ro(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Io,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Io,t),n._moveCb=null,No(n,e))})}})))},methods:{hasMove:function(t,e){if(!Ao)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){So(n,t)})),wo(n,e),n.style.display="none",this.$el.appendChild(n);var i=Fo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function ba(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function _a(t){t.data.newPos=t.elm.getBoundingClientRect()}function xa(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}var wa={Transition:va,TransitionGroup:ya};Si.config.mustUseProp=zi,Si.config.isReservedTag=or,Si.config.isReservedAttr=Bi,Si.config.getTagNamespace=ar,Si.config.isUnknownElement=lr,E(Si.options.directives,sa),E(Si.options.components,wa),Si.prototype.__patch__=Z?Zo:D,Si.prototype.$mount=function(t,e){return t=t&&Z?cr(t):void 0,Ln(this,t,e)},Z&&setTimeout((function(){H.devtools&&ut&&ut.emit("init",Si)}),0),e["default"]=Si}.call(this,n("c8ba"))},"2b17":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=(r.isTypedArray,r.extend),a=(r.assert,r.each),s=r.isObject,l=n("e0d3"),u=l.getDataItemValue,c=l.isDataItemOption,h=n("3842"),f=h.parseDate,d=n("ec6f"),p=n("93d0"),g=p.SOURCE_FORMAT_TYPED_ARRAY,v=p.SOURCE_FORMAT_ARRAY_ROWS,m=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function b(t,e){d.isInstance(t)||(t=d.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===g&&(this._offset=0,this._dimSize=e,this._data=n);var r=x[i===v?i+"_"+t.seriesLayoutBy:i];o(this,r)}var _=b.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:C},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i<n.length;i++){var r=n[i];e.push(r?r[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:S,appendData:C},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var r=this._data[n[i].name];e.push(r?r[t]:null)}return e},appendData:function(t){var e=this._data;a(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},original:{count:w,getItem:S,appendData:C},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var n=this._dimSize*t,i=0;i<this._dimSize;i++)e[i]=this._data[n+i];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function S(t){return this._data[t]}function C(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var T={arrayRows:A,objectRows:function(t,e,n,i){return null!=n?t[i]:t},keyedColumns:A,original:function(t,e,n,i){var r=u(t);return null!=n&&r instanceof Array?r[n]:r},typedArray:A};function A(t,e,n,i){return null!=n?t[n]:t}var O={arrayRows:M,objectRows:function(t,e,n,i){return k(t[e],this._dimensionInfos[e])},keyedColumns:M,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return!this._rawData.pure&&c(t)&&(this.hasItemOption=!0),k(r instanceof Array?r[i]:r,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}};function M(t,e,n,i){return k(t[i],this._dimensionInfos[e])}function k(t,e){var n=e&&e.type;if("ordinal"===n){var i=e&&e.ordinalMeta;return i?i.parseAndCollect(t):t}return"time"===n&&"number"!==typeof t&&null!=t&&"-"!==t&&(t=+f(t)),null==t||""===t?NaN:+t}function I(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r,o,a=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(n);return s&&(r=s.name,o=s.index),T[a](i,e,o,r)}}}function E(t,e,n){if(t){var i=t.getProvider().getSource().sourceFormat;if(i===m||i===y){var r=t.getRawDataItem(e);return i!==m||s(r)||(r=null),r?r[n]:void 0}}}e.DefaultDataProvider=b,e.defaultDimValueGetters=O,e.retrieveRawValue=I,e.retrieveRawAttr=E},"2b61":function(t,e,n){var i=n("7d6d"),r=n("82eb"),o=r.ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(t){this.extendFrom(t,!1)};function l(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=t.createLinearGradient(i,o,r,a);return s}function u(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(a=a*i+n.x,s=s*r+n.y,l*=o);var u=t.createRadialGradient(a,s,0,a,s,l);return u}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var r=this,s=n&&n.style,l=!s||t.__attrCachedBy!==o.STYLE_BIND;t.__attrCachedBy=o.STYLE_BIND;for(var u=0;u<a.length;u++){var c=a[u],h=c[0];(l||r[h]!==s[h])&&(t[h]=i(t,h,r[h]||c[1]))}if((l||r.fill!==s.fill)&&(t.fillStyle=r.fill),(l||r.stroke!==s.stroke)&&(t.strokeStyle=r.stroke),(l||r.opacity!==s.opacity)&&(t.globalAlpha=null==r.opacity?1:r.opacity),(l||r.blend!==s.blend)&&(t.globalCompositeOperation=r.blend||"source-over"),this.hasStroke()){var f=r.lineWidth;t.lineWidth=f/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i="radial"===e.type?u:l,r=i(t,e,n),o=e.colorStops,a=0;a<o.length;a++)r.addColorStop(o[a].offset,o[a].color);return r}};for(var c=s.prototype,h=0;h<a.length;h++){var f=a[h];f[0]in c||(c[f[0]]=f[1])}s.getGradient=c.getGradient;var d=s;t.exports=d},"2b8c":function(t,e,n){var i=n("6d8b"),r=n("5f14"),o=i.each;function a(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function s(t,e,n){var a={};return o(e,(function(e){var l=a[e]=s();o(t[e],(function(t,o){if(r.isValidType(o)){var a={type:o,visual:t};n&&n(a,e),l[o]=new r(a),"opacity"===o&&(a=i.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new r(a))}}))})),a;function s(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function l(t,e,n){var r;i.each(n,(function(t){e.hasOwnProperty(t)&&a(e[t])&&(r=!0)})),r&&i.each(n,(function(n){e.hasOwnProperty(n)&&a(e[n])?t[n]=i.clone(e[n]):delete t[n]}))}function u(t,e,n,o,a,s){var l,u={};function c(t){return n.getItemVisual(l,t)}function h(t,e){n.setItemVisual(l,t,e)}function f(t,i){l=null==s?t:i;var r=n.getRawDataItem(l);if(!r||!1!==r.visualMap)for(var f=o.call(a,t),d=e[f],p=u[f],g=0,v=p.length;g<v;g++){var m=p[g];d[m]&&d[m].applyVisual(t,c,h)}}i.each(t,(function(t){var n=r.prepareVisualTypes(e[t]);u[t]=n})),null==s?n.each(f):n.each([s],f)}function c(t,e,n,o){var a={};function s(t,i){function r(t){return i.getItemVisual(l,t)}function s(t,e){i.setItemVisual(l,t,e)}var l;null!=o&&(o=i.getDimension(o));while(null!=(l=t.next())){var u=i.getRawDataItem(l);if(!u||!1!==u.visualMap)for(var c=null!=o?i.get(o,l,!0):l,h=n(c),f=e[h],d=a[h],p=0,g=d.length;p<g;p++){var v=d[p];f[v]&&f[v].applyVisual(c,r,s)}}}return i.each(t,(function(t){var n=r.prepareVisualTypes(e[t]);a[t]=n})),{progress:s}}e.createVisualMappings=s,e.replaceVisualOption=l,e.applyVisual=u,e.incrementalApplyVisual=c},"2ba4":function(t,e,n){var i=n("40d5"),r=Function.prototype,o=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},"2c17":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=r.createHashMap,a=r.each;i.registerProcessor({getTargetSeries:function(t){var e=o();return t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,n,i){var r=i.getAxisProxy(t.name,n);a(r.getTargetSeriesModels(),(function(t){e.set(t.uid,t)}))}))})),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,n,i){i.getAxisProxy(t.name,n).reset(i,e)})),t.eachTargetAxis((function(t,n,i){i.getAxisProxy(t.name,n).filterData(i,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy(),n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}))}})},"2c3e":function(t,e,n){var i=n("83ab"),r=n("9f7f").MISSED_STICKY,o=n("c6b6"),a=n("edd0"),s=n("69f3").get,l=RegExp.prototype,u=TypeError;i&&r&&a(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!s(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},"2ca0":function(t,e,n){"use strict";var i=n("23e7"),r=n("e330"),o=n("06cf").f,a=n("50c4"),s=n("577e"),l=n("5a34"),u=n("1d80"),c=n("ab13"),h=n("c430"),f=r("".startsWith),d=r("".slice),p=Math.min,g=c("startsWith"),v=!h&&!g&&!!function(){var t=o(String.prototype,"startsWith");return t&&!t.writable}();i({target:"String",proto:!0,forced:!v&&!g},{startsWith:function(t){var e=s(u(this));l(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),i=s(t);return f?f(e,i,n):d(e,n,n+i.length)===i}})},"2cf4":function(t,e){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=0,r=n;e.debugMode=i,e.devicePixelRatio=r},"2cf49":function(t,e,n){var i,r,o,a,s=n("da84"),l=n("2ba4"),u=n("0366"),c=n("1626"),h=n("1a2d"),f=n("d039"),d=n("1be4"),p=n("f36a"),g=n("cc12"),v=n("d6d6"),m=n("1cdc"),y=n("605d"),b=s.setImmediate,_=s.clearImmediate,x=s.process,w=s.Dispatch,S=s.Function,C=s.MessageChannel,T=s.String,A=0,O={},M="onreadystatechange";try{i=s.location}catch(D){}var k=function(t){if(h(O,t)){var e=O[t];delete O[t],e()}},I=function(t){return function(){k(t)}},E=function(t){k(t.data)},P=function(t){s.postMessage(T(t),i.protocol+"//"+i.host)};b&&_||(b=function(t){v(arguments.length,1);var e=c(t)?t:S(t),n=p(arguments,1);return O[++A]=function(){l(e,void 0,n)},r(A),A},_=function(t){delete O[t]},y?r=function(t){x.nextTick(I(t))}:w&&w.now?r=function(t){w.now(I(t))}:C&&!m?(o=new C,a=o.port2,o.port1.onmessage=E,r=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!f(P)?(r=P,s.addEventListener("message",E,!1)):r=M in g("script")?function(t){d.appendChild(g("script"))[M]=function(){d.removeChild(this),k(t)}}:function(t){setTimeout(I(t),0)}),t.exports={set:b,clear:_}},"2cfc":function(t,e,n){var i=n("3eba");n("4338"),n("bcbe"),n("c62c"),n("cb8f"),n("f138"),i.extendComponentView({type:"single"})},"2d00":function(t,e,n){var i,r,o=n("da84"),a=n("342f"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=c.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),t.exports=r},"2d83":function(t,e,n){"use strict";var i=n("387f");t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2ef0":function(t,e,n){(function(t,i){var r;
/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */(function(){var o,a="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",p=1,g=2,v=4,m=1,y=2,b=1,_=2,x=4,w=8,S=16,C=32,T=64,A=128,O=256,M=512,k=30,I="...",E=800,P=16,D=1,L=2,R=3,N=1/0,j=9007199254740991,B=17976931348623157e292,F=NaN,z=4294967295,V=z-1,H=z>>>1,G=[["ary",A],["bind",b],["bindKey",_],["curry",w],["curryRight",S],["flip",M],["partial",C],["partialRight",T],["rearg",O]],W="[object Arguments]",q="[object Array]",U="[object AsyncFunction]",Y="[object Boolean]",X="[object Date]",$="[object DOMException]",Z="[object Error]",K="[object Function]",J="[object GeneratorFunction]",Q="[object Map]",tt="[object Number]",et="[object Null]",nt="[object Object]",it="[object Promise]",rt="[object Proxy]",ot="[object RegExp]",at="[object Set]",st="[object String]",lt="[object Symbol]",ut="[object Undefined]",ct="[object WeakMap]",ht="[object WeakSet]",ft="[object ArrayBuffer]",dt="[object DataView]",pt="[object Float32Array]",gt="[object Float64Array]",vt="[object Int8Array]",mt="[object Int16Array]",yt="[object Int32Array]",bt="[object Uint8Array]",_t="[object Uint8ClampedArray]",xt="[object Uint16Array]",wt="[object Uint32Array]",St=/\b__p \+= '';/g,Ct=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,At=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,Mt=RegExp(At.source),kt=RegExp(Ot.source),It=/<%-([\s\S]+?)%>/g,Et=/<%([\s\S]+?)%>/g,Pt=/<%=([\s\S]+?)%>/g,Dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,Rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nt=/[\\^$.*+?()[\]{}|]/g,jt=RegExp(Nt.source),Bt=/^\s+/,Ft=/\s/,zt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ht=/,? & /,Gt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wt=/[()=,{}\[\]\/\s]/,qt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yt=/\w*$/,Xt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,Zt=/^\[object .+?Constructor\]$/,Kt=/^0o[0-7]+$/i,Jt=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ee=/['\n\r\u2028\u2029\\]/g,ne="\\ud800-\\udfff",ie="\\u0300-\\u036f",re="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",ae=ie+re+oe,se="\\u2700-\\u27bf",le="a-z\\xdf-\\xf6\\xf8-\\xff",ue="\\xac\\xb1\\xd7\\xf7",ce="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",he="\\u2000-\\u206f",fe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",de="A-Z\\xc0-\\xd6\\xd8-\\xde",pe="\\ufe0e\\ufe0f",ge=ue+ce+he+fe,ve="['’]",me="["+ne+"]",ye="["+ge+"]",be="["+ae+"]",_e="\\d+",xe="["+se+"]",we="["+le+"]",Se="[^"+ne+ge+_e+se+le+de+"]",Ce="\\ud83c[\\udffb-\\udfff]",Te="(?:"+be+"|"+Ce+")",Ae="[^"+ne+"]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",ke="["+de+"]",Ie="\\u200d",Ee="(?:"+we+"|"+Se+")",Pe="(?:"+ke+"|"+Se+")",De="(?:"+ve+"(?:d|ll|m|re|s|t|ve))?",Le="(?:"+ve+"(?:D|LL|M|RE|S|T|VE))?",Re=Te+"?",Ne="["+pe+"]?",je="(?:"+Ie+"(?:"+[Ae,Oe,Me].join("|")+")"+Ne+Re+")*",Be="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ze=Ne+Re+je,Ve="(?:"+[xe,Oe,Me].join("|")+")"+ze,He="(?:"+[Ae+be+"?",be,Oe,Me,me].join("|")+")",Ge=RegExp(ve,"g"),We=RegExp(be,"g"),qe=RegExp(Ce+"(?="+Ce+")|"+He+ze,"g"),Ue=RegExp([ke+"?"+we+"+"+De+"(?="+[ye,ke,"$"].join("|")+")",Pe+"+"+Le+"(?="+[ye,ke+Ee,"$"].join("|")+")",ke+"?"+Ee+"+"+De,ke+"+"+Le,Fe,Be,_e,Ve].join("|"),"g"),Ye=RegExp("["+Ie+ne+ae+pe+"]"),Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$e=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ze=-1,Ke={};Ke[pt]=Ke[gt]=Ke[vt]=Ke[mt]=Ke[yt]=Ke[bt]=Ke[_t]=Ke[xt]=Ke[wt]=!0,Ke[W]=Ke[q]=Ke[ft]=Ke[Y]=Ke[dt]=Ke[X]=Ke[Z]=Ke[K]=Ke[Q]=Ke[tt]=Ke[nt]=Ke[ot]=Ke[at]=Ke[st]=Ke[ct]=!1;var Je={};Je[W]=Je[q]=Je[ft]=Je[dt]=Je[Y]=Je[X]=Je[pt]=Je[gt]=Je[vt]=Je[mt]=Je[yt]=Je[Q]=Je[tt]=Je[nt]=Je[ot]=Je[at]=Je[st]=Je[lt]=Je[bt]=Je[_t]=Je[xt]=Je[wt]=!0,Je[Z]=Je[K]=Je[ct]=!1;var Qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},tn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},en={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,on=parseInt,an="object"==typeof t&&t&&t.Object===Object&&t,sn="object"==typeof self&&self&&self.Object===Object&&self,ln=an||sn||Function("return this")(),un=e&&!e.nodeType&&e,cn=un&&"object"==typeof i&&i&&!i.nodeType&&i,hn=cn&&cn.exports===un,fn=hn&&an.process,dn=function(){try{var t=cn&&cn.require&&cn.require("util").types;return t||fn&&fn.binding&&fn.binding("util")}catch(e){}}(),pn=dn&&dn.isArrayBuffer,gn=dn&&dn.isDate,vn=dn&&dn.isMap,mn=dn&&dn.isRegExp,yn=dn&&dn.isSet,bn=dn&&dn.isTypedArray;function _n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function xn(t,e,n,i){var r=-1,o=null==t?0:t.length;while(++r<o){var a=t[r];e(i,a,n(a),t)}return i}function wn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(!1===e(t[n],n,t))break;return t}function Sn(t,e){var n=null==t?0:t.length;while(n--)if(!1===e(t[n],n,t))break;return t}function Cn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(!e(t[n],n,t))return!1;return!0}function Tn(t,e){var n=-1,i=null==t?0:t.length,r=0,o=[];while(++n<i){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function An(t,e){var n=null==t?0:t.length;return!!n&&Bn(t,e,0)>-1}function On(t,e,n){var i=-1,r=null==t?0:t.length;while(++i<r)if(n(e,t[i]))return!0;return!1}function Mn(t,e){var n=-1,i=null==t?0:t.length,r=Array(i);while(++n<i)r[n]=e(t[n],n,t);return r}function kn(t,e){var n=-1,i=e.length,r=t.length;while(++n<i)t[r+n]=e[n];return t}function In(t,e,n,i){var r=-1,o=null==t?0:t.length;i&&o&&(n=t[++r]);while(++r<o)n=e(n,t[r],r,t);return n}function En(t,e,n,i){var r=null==t?0:t.length;i&&r&&(n=t[--r]);while(r--)n=e(n,t[r],r,t);return n}function Pn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(e(t[n],n,t))return!0;return!1}var Dn=Hn("length");function Ln(t){return t.split("")}function Rn(t){return t.match(Gt)||[]}function Nn(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function jn(t,e,n,i){var r=t.length,o=n+(i?1:-1);while(i?o--:++o<r)if(e(t[o],o,t))return o;return-1}function Bn(t,e,n){return e===e?pi(t,e,n):jn(t,zn,n)}function Fn(t,e,n,i){var r=n-1,o=t.length;while(++r<o)if(i(t[r],e))return r;return-1}function zn(t){return t!==t}function Vn(t,e){var n=null==t?0:t.length;return n?Un(t,e)/n:F}function Hn(t){return function(e){return null==e?o:e[t]}}function Gn(t){return function(e){return null==t?o:t[e]}}function Wn(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function qn(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}function Un(t,e){var n,i=-1,r=t.length;while(++i<r){var a=e(t[i]);a!==o&&(n=n===o?a:n+a)}return n}function Yn(t,e){var n=-1,i=Array(t);while(++n<t)i[n]=e(n);return i}function Xn(t,e){return Mn(e,(function(e){return[e,t[e]]}))}function $n(t){return t?t.slice(0,yi(t)+1).replace(Bt,""):t}function Zn(t){return function(e){return t(e)}}function Kn(t,e){return Mn(e,(function(e){return t[e]}))}function Jn(t,e){return t.has(e)}function Qn(t,e){var n=-1,i=t.length;while(++n<i&&Bn(e,t[n],0)>-1);return n}function ti(t,e){var n=t.length;while(n--&&Bn(e,t[n],0)>-1);return n}function ei(t,e){var n=t.length,i=0;while(n--)t[n]===e&&++i;return i}var ni=Gn(Qe),ii=Gn(tn);function ri(t){return"\\"+nn[t]}function oi(t,e){return null==t?o:t[e]}function ai(t){return Ye.test(t)}function si(t){return Xe.test(t)}function li(t){var e,n=[];while(!(e=t.next()).done)n.push(e.value);return n}function ui(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function ci(t,e){return function(n){return t(e(n))}}function hi(t,e){var n=-1,i=t.length,r=0,o=[];while(++n<i){var a=t[n];a!==e&&a!==d||(t[n]=d,o[r++]=n)}return o}function fi(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function di(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function pi(t,e,n){var i=n-1,r=t.length;while(++i<r)if(t[i]===e)return i;return-1}function gi(t,e,n){var i=n+1;while(i--)if(t[i]===e)return i;return i}function vi(t){return ai(t)?_i(t):Dn(t)}function mi(t){return ai(t)?xi(t):Ln(t)}function yi(t){var e=t.length;while(e--&&Ft.test(t.charAt(e)));return e}var bi=Gn(en);function _i(t){var e=qe.lastIndex=0;while(qe.test(t))++e;return e}function xi(t){return t.match(qe)||[]}function wi(t){return t.match(Ue)||[]}var Si=function t(e){e=null==e?ln:Ci.defaults(ln.Object(),e,Ci.pick(ln,$e));var n=e.Array,i=e.Date,r=e.Error,Ft=e.Function,Gt=e.Math,ne=e.Object,ie=e.RegExp,re=e.String,oe=e.TypeError,ae=n.prototype,se=Ft.prototype,le=ne.prototype,ue=e["__core-js_shared__"],ce=se.toString,he=le.hasOwnProperty,fe=0,de=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),pe=le.toString,ge=ce.call(ne),ve=ln._,me=ie("^"+ce.call(he).replace(Nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ye=hn?e.Buffer:o,be=e.Symbol,_e=e.Uint8Array,xe=ye?ye.allocUnsafe:o,we=ci(ne.getPrototypeOf,ne),Se=ne.create,Ce=le.propertyIsEnumerable,Te=ae.splice,Ae=be?be.isConcatSpreadable:o,Oe=be?be.iterator:o,Me=be?be.toStringTag:o,ke=function(){try{var t=Ya(ne,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ie=e.clearTimeout!==ln.clearTimeout&&e.clearTimeout,Ee=i&&i.now!==ln.Date.now&&i.now,Pe=e.setTimeout!==ln.setTimeout&&e.setTimeout,De=Gt.ceil,Le=Gt.floor,Re=ne.getOwnPropertySymbols,Ne=ye?ye.isBuffer:o,je=e.isFinite,Be=ae.join,Fe=ci(ne.keys,ne),ze=Gt.max,Ve=Gt.min,He=i.now,qe=e.parseInt,Ue=Gt.random,Ye=ae.reverse,Xe=Ya(e,"DataView"),Qe=Ya(e,"Map"),tn=Ya(e,"Promise"),en=Ya(e,"Set"),nn=Ya(e,"WeakMap"),an=Ya(ne,"create"),sn=nn&&new nn,un={},cn=Ps(Xe),fn=Ps(Qe),dn=Ps(tn),Dn=Ps(en),Ln=Ps(nn),Gn=be?be.prototype:o,pi=Gn?Gn.valueOf:o,_i=Gn?Gn.toString:o;function xi(t){if(Tc(t)&&!lc(t)&&!(t instanceof Oi)){if(t instanceof Ai)return t;if(he.call(t,"__wrapped__"))return Ls(t)}return new Ai(t)}var Si=function(){function t(){}return function(e){if(!Cc(e))return{};if(Se)return Se(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function Ti(){}function Ai(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Oi(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=z,this.__views__=[]}function Mi(){var t=new Oi(this.__wrapped__);return t.__actions__=ra(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ra(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ra(this.__views__),t}function ki(){if(this.__filtered__){var t=new Oi(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Ii(){var t=this.__wrapped__.value(),e=this.__dir__,n=lc(t),i=e<0,r=n?t.length:0,o=Ja(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,h=c.length,f=0,d=Ve(l,this.__takeCount__);if(!n||!i&&r==l&&d==l)return Fo(t,this.__actions__);var p=[];t:while(l--&&f<d){u+=e;var g=-1,v=t[u];while(++g<h){var m=c[g],y=m.iteratee,b=m.type,_=y(v);if(b==L)v=_;else if(!_){if(b==D)continue t;break t}}p[f++]=v}return p}function Ei(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Pi(){this.__data__=an?an(null):{},this.size=0}function Di(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Li(t){var e=this.__data__;if(an){var n=e[t];return n===h?o:n}return he.call(e,t)?e[t]:o}function Ri(t){var e=this.__data__;return an?e[t]!==o:he.call(e,t)}function Ni(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=an&&e===o?h:e,this}function ji(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Bi(){this.__data__=[],this.size=0}function Fi(t){var e=this.__data__,n=cr(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():Te.call(e,n,1),--this.size,!0}function zi(t){var e=this.__data__,n=cr(e,t);return n<0?o:e[n][1]}function Vi(t){return cr(this.__data__,t)>-1}function Hi(t,e){var n=this.__data__,i=cr(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function Gi(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Wi(){this.size=0,this.__data__={hash:new Ei,map:new(Qe||ji),string:new Ei}}function qi(t){var e=qa(this,t)["delete"](t);return this.size-=e?1:0,e}function Ui(t){return qa(this,t).get(t)}function Yi(t){return qa(this,t).has(t)}function Xi(t,e){var n=qa(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}function $i(t){var e=-1,n=null==t?0:t.length;this.__data__=new Gi;while(++e<n)this.add(t[e])}function Zi(t){return this.__data__.set(t,h),this}function Ki(t){return this.__data__.has(t)}function Ji(t){var e=this.__data__=new ji(t);this.size=e.size}function Qi(){this.__data__=new ji,this.size=0}function tr(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function er(t){return this.__data__.get(t)}function nr(t){return this.__data__.has(t)}function ir(t,e){var n=this.__data__;if(n instanceof ji){var i=n.__data__;if(!Qe||i.length<s-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Gi(i)}return n.set(t,e),this.size=n.size,this}function rr(t,e){var n=lc(t),i=!n&&sc(t),r=!n&&!i&&dc(t),o=!n&&!i&&!r&&zc(t),a=n||i||r||o,s=a?Yn(t.length,re):[],l=s.length;for(var u in t)!e&&!he.call(t,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||as(u,l))||s.push(u);return s}function or(t){var e=t.length;return e?t[yo(0,e-1)]:o}function ar(t,e){return ks(ra(t),vr(e,0,t.length))}function sr(t){return ks(ra(t))}function lr(t,e,n){(n!==o&&!rc(t[e],n)||n===o&&!(e in t))&&pr(t,e,n)}function ur(t,e,n){var i=t[e];he.call(t,e)&&rc(i,n)&&(n!==o||e in t)||pr(t,e,n)}function cr(t,e){var n=t.length;while(n--)if(rc(t[n][0],e))return n;return-1}function hr(t,e,n,i){return wr(t,(function(t,r,o){e(i,t,n(t),o)})),i}function fr(t,e){return t&&oa(e,wh(e),t)}function dr(t,e){return t&&oa(e,Sh(e),t)}function pr(t,e,n){"__proto__"==e&&ke?ke(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function gr(t,e){var i=-1,r=e.length,a=n(r),s=null==t;while(++i<r)a[i]=s?o:vh(t,e[i]);return a}function vr(t,e,n){return t===t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function mr(t,e,n,i,r,a){var s,l=e&p,u=e&g,c=e&v;if(n&&(s=r?n(t,i,r,a):n(t)),s!==o)return s;if(!Cc(t))return t;var h=lc(t);if(h){if(s=es(t),!l)return ra(t,s)}else{var f=Ka(t),d=f==K||f==J;if(dc(t))return Xo(t,l);if(f==nt||f==W||d&&!r){if(s=u||d?{}:ns(t),!l)return u?sa(t,dr(s,t)):aa(t,fr(s,t))}else{if(!Je[f])return r?t:{};s=is(t,f,l)}}a||(a=new Ji);var m=a.get(t);if(m)return m;a.set(t,s),jc(t)?t.forEach((function(i){s.add(mr(i,e,n,i,t,a))})):Ac(t)&&t.forEach((function(i,r){s.set(r,mr(i,e,n,r,t,a))}));var y=c?u?za:Fa:u?Sh:wh,b=h?o:y(t);return wn(b||t,(function(i,r){b&&(r=i,i=t[r]),ur(s,r,mr(i,e,n,r,t,a))})),s}function yr(t){var e=wh(t);return function(n){return br(n,t,e)}}function br(t,e,n){var i=n.length;if(null==t)return!i;t=ne(t);while(i--){var r=n[i],a=e[r],s=t[r];if(s===o&&!(r in t)||!a(s))return!1}return!0}function _r(t,e,n){if("function"!=typeof t)throw new oe(u);return Ts((function(){t.apply(o,n)}),e)}function xr(t,e,n,i){var r=-1,o=An,a=!0,l=t.length,u=[],c=e.length;if(!l)return u;n&&(e=Mn(e,Zn(n))),i?(o=On,a=!1):e.length>=s&&(o=Jn,a=!1,e=new $i(e));t:while(++r<l){var h=t[r],f=null==n?h:n(h);if(h=i||0!==h?h:0,a&&f===f){var d=c;while(d--)if(e[d]===f)continue t;u.push(h)}else o(e,f,i)||u.push(h)}return u}xi.templateSettings={escape:It,evaluate:Et,interpolate:Pt,variable:"",imports:{_:xi}},xi.prototype=Ti.prototype,xi.prototype.constructor=xi,Ai.prototype=Si(Ti.prototype),Ai.prototype.constructor=Ai,Oi.prototype=Si(Ti.prototype),Oi.prototype.constructor=Oi,Ei.prototype.clear=Pi,Ei.prototype["delete"]=Di,Ei.prototype.get=Li,Ei.prototype.has=Ri,Ei.prototype.set=Ni,ji.prototype.clear=Bi,ji.prototype["delete"]=Fi,ji.prototype.get=zi,ji.prototype.has=Vi,ji.prototype.set=Hi,Gi.prototype.clear=Wi,Gi.prototype["delete"]=qi,Gi.prototype.get=Ui,Gi.prototype.has=Yi,Gi.prototype.set=Xi,$i.prototype.add=$i.prototype.push=Zi,$i.prototype.has=Ki,Ji.prototype.clear=Qi,Ji.prototype["delete"]=tr,Ji.prototype.get=er,Ji.prototype.has=nr,Ji.prototype.set=ir;var wr=ca(Er),Sr=ca(Pr,!0);function Cr(t,e){var n=!0;return wr(t,(function(t,i,r){return n=!!e(t,i,r),n})),n}function Tr(t,e,n){var i=-1,r=t.length;while(++i<r){var a=t[i],s=e(a);if(null!=s&&(l===o?s===s&&!Fc(s):n(s,l)))var l=s,u=a}return u}function Ar(t,e,n,i){var r=t.length;n=Xc(n),n<0&&(n=-n>r?0:r+n),i=i===o||i>r?r:Xc(i),i<0&&(i+=r),i=n>i?0:$c(i);while(n<i)t[n++]=e;return t}function Or(t,e){var n=[];return wr(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function Mr(t,e,n,i,r){var o=-1,a=t.length;n||(n=os),r||(r=[]);while(++o<a){var s=t[o];e>0&&n(s)?e>1?Mr(s,e-1,n,i,r):kn(r,s):i||(r[r.length]=s)}return r}var kr=ha(),Ir=ha(!0);function Er(t,e){return t&&kr(t,e,wh)}function Pr(t,e){return t&&Ir(t,e,wh)}function Dr(t,e){return Tn(e,(function(e){return xc(t[e])}))}function Lr(t,e){e=Wo(e,t);var n=0,i=e.length;while(null!=t&&n<i)t=t[Es(e[n++])];return n&&n==i?t:o}function Rr(t,e,n){var i=e(t);return lc(t)?i:kn(i,n(t))}function Nr(t){return null==t?t===o?ut:et:Me&&Me in ne(t)?Xa(t):bs(t)}function jr(t,e){return t>e}function Br(t,e){return null!=t&&he.call(t,e)}function Fr(t,e){return null!=t&&e in ne(t)}function zr(t,e,n){return t>=Ve(e,n)&&t<ze(e,n)}function Vr(t,e,i){var r=i?On:An,a=t[0].length,s=t.length,l=s,u=n(s),c=1/0,h=[];while(l--){var f=t[l];l&&e&&(f=Mn(f,Zn(e))),c=Ve(f.length,c),u[l]=!i&&(e||a>=120&&f.length>=120)?new $i(l&&f):o}f=t[0];var d=-1,p=u[0];t:while(++d<a&&h.length<c){var g=f[d],v=e?e(g):g;if(g=i||0!==g?g:0,!(p?Jn(p,v):r(h,v,i))){l=s;while(--l){var m=u[l];if(!(m?Jn(m,v):r(t[l],v,i)))continue t}p&&p.push(v),h.push(g)}}return h}function Hr(t,e,n,i){return Er(t,(function(t,r,o){e(i,n(t),r,o)})),i}function Gr(t,e,n){e=Wo(e,t),t=xs(t,e);var i=null==t?t:t[Es(ol(e))];return null==i?o:_n(i,t,n)}function Wr(t){return Tc(t)&&Nr(t)==W}function qr(t){return Tc(t)&&Nr(t)==ft}function Ur(t){return Tc(t)&&Nr(t)==X}function Yr(t,e,n,i,r){return t===e||(null==t||null==e||!Tc(t)&&!Tc(e)?t!==t&&e!==e:Xr(t,e,n,i,Yr,r))}function Xr(t,e,n,i,r,o){var a=lc(t),s=lc(e),l=a?q:Ka(t),u=s?q:Ka(e);l=l==W?nt:l,u=u==W?nt:u;var c=l==nt,h=u==nt,f=l==u;if(f&&dc(t)){if(!dc(e))return!1;a=!0,c=!1}if(f&&!c)return o||(o=new Ji),a||zc(t)?Ra(t,e,n,i,r,o):Na(t,e,l,n,i,r,o);if(!(n&m)){var d=c&&he.call(t,"__wrapped__"),p=h&&he.call(e,"__wrapped__");if(d||p){var g=d?t.value():t,v=p?e.value():e;return o||(o=new Ji),r(g,v,n,i,o)}}return!!f&&(o||(o=new Ji),ja(t,e,n,i,r,o))}function $r(t){return Tc(t)&&Ka(t)==Q}function Zr(t,e,n,i){var r=n.length,a=r,s=!i;if(null==t)return!a;t=ne(t);while(r--){var l=n[r];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}while(++r<a){l=n[r];var u=l[0],c=t[u],h=l[1];if(s&&l[2]){if(c===o&&!(u in t))return!1}else{var f=new Ji;if(i)var d=i(c,h,u,t,e,f);if(!(d===o?Yr(h,c,m|y,i,f):d))return!1}}return!0}function Kr(t){if(!Cc(t)||hs(t))return!1;var e=xc(t)?me:Zt;return e.test(Ps(t))}function Jr(t){return Tc(t)&&Nr(t)==ot}function Qr(t){return Tc(t)&&Ka(t)==at}function to(t){return Tc(t)&&Sc(t.length)&&!!Ke[Nr(t)]}function eo(t){return"function"==typeof t?t:null==t?Ef:"object"==typeof t?lc(t)?so(t[0],t[1]):ao(t):Wf(t)}function no(t){if(!ds(t))return Fe(t);var e=[];for(var n in ne(t))he.call(t,n)&&"constructor"!=n&&e.push(n);return e}function io(t){if(!Cc(t))return ys(t);var e=ds(t),n=[];for(var i in t)("constructor"!=i||!e&&he.call(t,i))&&n.push(i);return n}function ro(t,e){return t<e}function oo(t,e){var i=-1,r=cc(t)?n(t.length):[];return wr(t,(function(t,n,o){r[++i]=e(t,n,o)})),r}function ao(t){var e=Ua(t);return 1==e.length&&e[0][2]?gs(e[0][0],e[0][1]):function(n){return n===t||Zr(n,t,e)}}function so(t,e){return ls(t)&&ps(e)?gs(Es(t),e):function(n){var i=vh(n,t);return i===o&&i===e?yh(n,t):Yr(e,i,m|y)}}function lo(t,e,n,i,r){t!==e&&kr(e,(function(a,s){if(r||(r=new Ji),Cc(a))uo(t,e,s,n,lo,i,r);else{var l=i?i(Ss(t,s),a,s+"",t,e,r):o;l===o&&(l=a),lr(t,s,l)}}),Sh)}function uo(t,e,n,i,r,a,s){var l=Ss(t,n),u=Ss(e,n),c=s.get(u);if(c)lr(t,n,c);else{var h=a?a(l,u,n+"",t,e,s):o,f=h===o;if(f){var d=lc(u),p=!d&&dc(u),g=!d&&!p&&zc(u);h=u,d||p||g?lc(l)?h=l:hc(l)?h=ra(l):p?(f=!1,h=Xo(u,!0)):g?(f=!1,h=Qo(u,!0)):h=[]:Lc(u)||sc(u)?(h=l,sc(l)?h=Kc(l):Cc(l)&&!xc(l)||(h=ns(u))):f=!1}f&&(s.set(u,h),r(h,u,i,a,s),s["delete"](u)),lr(t,n,h)}}function co(t,e){var n=t.length;if(n)return e+=e<0?n:0,as(e,n)?t[e]:o}function ho(t,e,n){e=e.length?Mn(e,(function(t){return lc(t)?function(e){return Lr(e,1===t.length?t[0]:t)}:t})):[Ef];var i=-1;e=Mn(e,Zn(Wa()));var r=oo(t,(function(t,n,r){var o=Mn(e,(function(e){return e(t)}));return{criteria:o,index:++i,value:t}}));return qn(r,(function(t,e){return ea(t,e,n)}))}function fo(t,e){return po(t,e,(function(e,n){return yh(t,n)}))}function po(t,e,n){var i=-1,r=e.length,o={};while(++i<r){var a=e[i],s=Lr(t,a);n(s,a)&&Co(o,Wo(a,t),s)}return o}function go(t){return function(e){return Lr(e,t)}}function vo(t,e,n,i){var r=i?Fn:Bn,o=-1,a=e.length,s=t;t===e&&(e=ra(e)),n&&(s=Mn(t,Zn(n)));while(++o<a){var l=0,u=e[o],c=n?n(u):u;while((l=r(s,c,l,i))>-1)s!==t&&Te.call(s,l,1),Te.call(t,l,1)}return t}function mo(t,e){var n=t?e.length:0,i=n-1;while(n--){var r=e[n];if(n==i||r!==o){var o=r;as(r)?Te.call(t,r,1):No(t,r)}}return t}function yo(t,e){return t+Le(Ue()*(e-t+1))}function bo(t,e,i,r){var o=-1,a=ze(De((e-t)/(i||1)),0),s=n(a);while(a--)s[r?a:++o]=t,t+=i;return s}function _o(t,e){var n="";if(!t||e<1||e>j)return n;do{e%2&&(n+=t),e=Le(e/2),e&&(t+=t)}while(e);return n}function xo(t,e){return As(_s(t,e,Ef),t+"")}function wo(t){return or(Vh(t))}function So(t,e){var n=Vh(t);return ks(n,vr(e,0,n.length))}function Co(t,e,n,i){if(!Cc(t))return t;e=Wo(e,t);var r=-1,a=e.length,s=a-1,l=t;while(null!=l&&++r<a){var u=Es(e[r]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(r!=s){var h=l[u];c=i?i(h,u,l):o,c===o&&(c=Cc(h)?h:as(e[r+1])?[]:{})}ur(l,u,c),l=l[u]}return t}var To=sn?function(t,e){return sn.set(t,e),t}:Ef,Ao=ke?function(t,e){return ke(t,"toString",{configurable:!0,enumerable:!1,value:Of(e),writable:!0})}:Ef;function Oo(t){return ks(Vh(t))}function Mo(t,e,i){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),i=i>o?o:i,i<0&&(i+=o),o=e>i?0:i-e>>>0,e>>>=0;var a=n(o);while(++r<o)a[r]=t[r+e];return a}function ko(t,e){var n;return wr(t,(function(t,i,r){return n=e(t,i,r),!n})),!!n}function Io(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e===e&&r<=H){while(i<r){var o=i+r>>>1,a=t[o];null!==a&&!Fc(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return Eo(t,e,Ef,n)}function Eo(t,e,n,i){var r=0,a=null==t?0:t.length;if(0===a)return 0;e=n(e);var s=e!==e,l=null===e,u=Fc(e),c=e===o;while(r<a){var h=Le((r+a)/2),f=n(t[h]),d=f!==o,p=null===f,g=f===f,v=Fc(f);if(s)var m=i||g;else m=c?g&&(i||d):l?g&&d&&(i||!p):u?g&&d&&!p&&(i||!v):!p&&!v&&(i?f<=e:f<e);m?r=h+1:a=h}return Ve(a,V)}function Po(t,e){var n=-1,i=t.length,r=0,o=[];while(++n<i){var a=t[n],s=e?e(a):a;if(!n||!rc(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Do(t){return"number"==typeof t?t:Fc(t)?F:+t}function Lo(t){if("string"==typeof t)return t;if(lc(t))return Mn(t,Lo)+"";if(Fc(t))return _i?_i.call(t):"";var e=t+"";return"0"==e&&1/t==-N?"-0":e}function Ro(t,e,n){var i=-1,r=An,o=t.length,a=!0,l=[],u=l;if(n)a=!1,r=On;else if(o>=s){var c=e?null:ka(t);if(c)return fi(c);a=!1,r=Jn,u=new $i}else u=e?[]:l;t:while(++i<o){var h=t[i],f=e?e(h):h;if(h=n||0!==h?h:0,a&&f===f){var d=u.length;while(d--)if(u[d]===f)continue t;e&&u.push(f),l.push(h)}else r(u,f,n)||(u!==l&&u.push(f),l.push(h))}return l}function No(t,e){return e=Wo(e,t),t=xs(t,e),null==t||delete t[Es(ol(e))]}function jo(t,e,n,i){return Co(t,e,n(Lr(t,e)),i)}function Bo(t,e,n,i){var r=t.length,o=i?r:-1;while((i?o--:++o<r)&&e(t[o],o,t));return n?Mo(t,i?0:o,i?o+1:r):Mo(t,i?o+1:0,i?r:o)}function Fo(t,e){var n=t;return n instanceof Oi&&(n=n.value()),In(e,(function(t,e){return e.func.apply(e.thisArg,kn([t],e.args))}),n)}function zo(t,e,i){var r=t.length;if(r<2)return r?Ro(t[0]):[];var o=-1,a=n(r);while(++o<r){var s=t[o],l=-1;while(++l<r)l!=o&&(a[o]=xr(a[o]||s,t[l],e,i))}return Ro(Mr(a,1),e,i)}function Vo(t,e,n){var i=-1,r=t.length,a=e.length,s={};while(++i<r){var l=i<a?e[i]:o;n(s,t[i],l)}return s}function Ho(t){return hc(t)?t:[]}function Go(t){return"function"==typeof t?t:Ef}function Wo(t,e){return lc(t)?t:ls(t,e)?[t]:Is(Qc(t))}var qo=xo;function Uo(t,e,n){var i=t.length;return n=n===o?i:n,!e&&n>=i?t:Mo(t,e,n)}var Yo=Ie||function(t){return ln.clearTimeout(t)};function Xo(t,e){if(e)return t.slice();var n=t.length,i=xe?xe(n):new t.constructor(n);return t.copy(i),i}function $o(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function Zo(t,e){var n=e?$o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ko(t){var e=new t.constructor(t.source,Yt.exec(t));return e.lastIndex=t.lastIndex,e}function Jo(t){return pi?ne(pi.call(t)):{}}function Qo(t,e){var n=e?$o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ta(t,e){if(t!==e){var n=t!==o,i=null===t,r=t===t,a=Fc(t),s=e!==o,l=null===e,u=e===e,c=Fc(e);if(!l&&!c&&!a&&t>e||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!r)return 1;if(!i&&!a&&!c&&t<e||c&&n&&r&&!i&&!a||l&&n&&r||!s&&r||!u)return-1}return 0}function ea(t,e,n){var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;while(++i<a){var l=ta(r[i],o[i]);if(l){if(i>=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}function na(t,e,i,r){var o=-1,a=t.length,s=i.length,l=-1,u=e.length,c=ze(a-s,0),h=n(u+c),f=!r;while(++l<u)h[l]=e[l];while(++o<s)(f||o<a)&&(h[i[o]]=t[o]);while(c--)h[l++]=t[o++];return h}function ia(t,e,i,r){var o=-1,a=t.length,s=-1,l=i.length,u=-1,c=e.length,h=ze(a-l,0),f=n(h+c),d=!r;while(++o<h)f[o]=t[o];var p=o;while(++u<c)f[p+u]=e[u];while(++s<l)(d||o<a)&&(f[p+i[s]]=t[o++]);return f}function ra(t,e){var i=-1,r=t.length;e||(e=n(r));while(++i<r)e[i]=t[i];return e}function oa(t,e,n,i){var r=!n;n||(n={});var a=-1,s=e.length;while(++a<s){var l=e[a],u=i?i(n[l],t[l],l,n,t):o;u===o&&(u=t[l]),r?pr(n,l,u):ur(n,l,u)}return n}function aa(t,e){return oa(t,$a(t),e)}function sa(t,e){return oa(t,Za(t),e)}function la(t,e){return function(n,i){var r=lc(n)?xn:hr,o=e?e():{};return r(n,t,Wa(i,2),o)}}function ua(t){return xo((function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:o,s=r>2?n[2]:o;a=t.length>3&&"function"==typeof a?(r--,a):o,s&&ss(n[0],n[1],s)&&(a=r<3?o:a,r=1),e=ne(e);while(++i<r){var l=n[i];l&&t(e,l,i,a)}return e}))}function ca(t,e){return function(n,i){if(null==n)return n;if(!cc(n))return t(n,i);var r=n.length,o=e?r:-1,a=ne(n);while(e?o--:++o<r)if(!1===i(a[o],o,a))break;return n}}function ha(t){return function(e,n,i){var r=-1,o=ne(e),a=i(e),s=a.length;while(s--){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function fa(t,e,n){var i=e&b,r=ga(t);function o(){var e=this&&this!==ln&&this instanceof o?r:t;return e.apply(i?n:this,arguments)}return o}function da(t){return function(e){e=Qc(e);var n=ai(e)?mi(e):o,i=n?n[0]:e.charAt(0),r=n?Uo(n,1).join(""):e.slice(1);return i[t]()+r}}function pa(t){return function(e){return In(wf(Xh(e).replace(Ge,"")),t,"")}}function ga(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Si(t.prototype),i=t.apply(n,e);return Cc(i)?i:n}}function va(t,e,i){var r=ga(t);function a(){var s=arguments.length,l=n(s),u=s,c=Ga(a);while(u--)l[u]=arguments[u];var h=s<3&&l[0]!==c&&l[s-1]!==c?[]:hi(l,c);if(s-=h.length,s<i)return Oa(t,e,ba,a.placeholder,o,l,h,o,o,i-s);var f=this&&this!==ln&&this instanceof a?r:t;return _n(f,this,l)}return a}function ma(t){return function(e,n,i){var r=ne(e);if(!cc(e)){var a=Wa(n,3);e=wh(e),n=function(t){return a(r[t],t,r)}}var s=t(e,n,i);return s>-1?r[a?e[s]:s]:o}}function ya(t){return Ba((function(e){var n=e.length,i=n,r=Ai.prototype.thru;t&&e.reverse();while(i--){var a=e[i];if("function"!=typeof a)throw new oe(u);if(r&&!s&&"wrapper"==Ha(a))var s=new Ai([],!0)}i=s?i:n;while(++i<n){a=e[i];var l=Ha(a),c="wrapper"==l?Va(a):o;s=c&&cs(c[0])&&c[1]==(A|w|C|O)&&!c[4].length&&1==c[9]?s[Ha(c[0])].apply(s,c[3]):1==a.length&&cs(a)?s[l]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&lc(i))return s.plant(i).value();var r=0,o=n?e[r].apply(this,t):i;while(++r<n)o=e[r].call(this,o);return o}}))}function ba(t,e,i,r,a,s,l,u,c,h){var f=e&A,d=e&b,p=e&_,g=e&(w|S),v=e&M,m=p?o:ga(t);function y(){var o=arguments.length,b=n(o),_=o;while(_--)b[_]=arguments[_];if(g)var x=Ga(y),w=ei(b,x);if(r&&(b=na(b,r,a,g)),s&&(b=ia(b,s,l,g)),o-=w,g&&o<h){var S=hi(b,x);return Oa(t,e,ba,y.placeholder,i,b,S,u,c,h-o)}var C=d?i:this,T=p?C[t]:t;return o=b.length,u?b=ws(b,u):v&&o>1&&b.reverse(),f&&c<o&&(b.length=c),this&&this!==ln&&this instanceof y&&(T=m||ga(T)),T.apply(C,b)}return y}function _a(t,e){return function(n,i){return Hr(n,t,e(i),{})}}function xa(t,e){return function(n,i){var r;if(n===o&&i===o)return e;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=Lo(n),i=Lo(i)):(n=Do(n),i=Do(i)),r=t(n,i)}return r}}function wa(t){return Ba((function(e){return e=Mn(e,Zn(Wa())),xo((function(n){var i=this;return t(e,(function(t){return _n(t,i,n)}))}))}))}function Sa(t,e){e=e===o?" ":Lo(e);var n=e.length;if(n<2)return n?_o(e,t):e;var i=_o(e,De(t/vi(e)));return ai(e)?Uo(mi(i),0,t).join(""):i.slice(0,t)}function Ca(t,e,i,r){var o=e&b,a=ga(t);function s(){var e=-1,l=arguments.length,u=-1,c=r.length,h=n(c+l),f=this&&this!==ln&&this instanceof s?a:t;while(++u<c)h[u]=r[u];while(l--)h[u++]=arguments[++e];return _n(f,o?i:this,h)}return s}function Ta(t){return function(e,n,i){return i&&"number"!=typeof i&&ss(e,n,i)&&(n=i=o),e=Yc(e),n===o?(n=e,e=0):n=Yc(n),i=i===o?e<n?1:-1:Yc(i),bo(e,n,i,t)}}function Aa(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Zc(e),n=Zc(n)),t(e,n)}}function Oa(t,e,n,i,r,a,s,l,u,c){var h=e&w,f=h?s:o,d=h?o:s,p=h?a:o,g=h?o:a;e|=h?C:T,e&=~(h?T:C),e&x||(e&=~(b|_));var v=[t,e,r,p,f,g,d,l,u,c],m=n.apply(o,v);return cs(t)&&Cs(m,v),m.placeholder=i,Os(m,t,e)}function Ma(t){var e=Gt[t];return function(t,n){if(t=Zc(t),n=null==n?0:Ve(Xc(n),292),n&&je(t)){var i=(Qc(t)+"e").split("e"),r=e(i[0]+"e"+(+i[1]+n));return i=(Qc(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return e(t)}}var ka=en&&1/fi(new en([,-0]))[1]==N?function(t){return new en(t)}:Ff;function Ia(t){return function(e){var n=Ka(e);return n==Q?ui(e):n==at?di(e):Xn(e,t(e))}}function Ea(t,e,n,i,r,a,s,l){var c=e&_;if(!c&&"function"!=typeof t)throw new oe(u);var h=i?i.length:0;if(h||(e&=~(C|T),i=r=o),s=s===o?s:ze(Xc(s),0),l=l===o?l:Xc(l),h-=r?r.length:0,e&T){var f=i,d=r;i=r=o}var p=c?o:Va(t),g=[t,e,n,i,r,f,d,a,s,l];if(p&&ms(g,p),t=g[0],e=g[1],n=g[2],i=g[3],r=g[4],l=g[9]=g[9]===o?c?0:t.length:ze(g[9]-h,0),!l&&e&(w|S)&&(e&=~(w|S)),e&&e!=b)v=e==w||e==S?va(t,e,l):e!=C&&e!=(b|C)||r.length?ba.apply(o,g):Ca(t,e,n,i);else var v=fa(t,e,n);var m=p?To:Cs;return Os(m(v,g),t,e)}function Pa(t,e,n,i){return t===o||rc(t,le[n])&&!he.call(i,n)?e:t}function Da(t,e,n,i,r,a){return Cc(t)&&Cc(e)&&(a.set(e,t),lo(t,e,o,Da,a),a["delete"](e)),t}function La(t){return Lc(t)?o:t}function Ra(t,e,n,i,r,a){var s=n&m,l=t.length,u=e.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(t),h=a.get(e);if(c&&h)return c==e&&h==t;var f=-1,d=!0,p=n&y?new $i:o;a.set(t,e),a.set(e,t);while(++f<l){var g=t[f],v=e[f];if(i)var b=s?i(v,g,f,e,t,a):i(g,v,f,t,e,a);if(b!==o){if(b)continue;d=!1;break}if(p){if(!Pn(e,(function(t,e){if(!Jn(p,e)&&(g===t||r(g,t,n,i,a)))return p.push(e)}))){d=!1;break}}else if(g!==v&&!r(g,v,n,i,a)){d=!1;break}}return a["delete"](t),a["delete"](e),d}function Na(t,e,n,i,r,o,a){switch(n){case dt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ft:return!(t.byteLength!=e.byteLength||!o(new _e(t),new _e(e)));case Y:case X:case tt:return rc(+t,+e);case Z:return t.name==e.name&&t.message==e.message;case ot:case st:return t==e+"";case Q:var s=ui;case at:var l=i&m;if(s||(s=fi),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=y,a.set(t,e);var c=Ra(s(t),s(e),i,r,o,a);return a["delete"](t),c;case lt:if(pi)return pi.call(t)==pi.call(e)}return!1}function ja(t,e,n,i,r,a){var s=n&m,l=Fa(t),u=l.length,c=Fa(e),h=c.length;if(u!=h&&!s)return!1;var f=u;while(f--){var d=l[f];if(!(s?d in e:he.call(e,d)))return!1}var p=a.get(t),g=a.get(e);if(p&&g)return p==e&&g==t;var v=!0;a.set(t,e),a.set(e,t);var y=s;while(++f<u){d=l[f];var b=t[d],_=e[d];if(i)var x=s?i(_,b,d,e,t,a):i(b,_,d,t,e,a);if(!(x===o?b===_||r(b,_,n,i,a):x)){v=!1;break}y||(y="constructor"==d)}if(v&&!y){var w=t.constructor,S=e.constructor;w==S||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(v=!1)}return a["delete"](t),a["delete"](e),v}function Ba(t){return As(_s(t,o,Xs),t+"")}function Fa(t){return Rr(t,wh,$a)}function za(t){return Rr(t,Sh,Za)}var Va=sn?function(t){return sn.get(t)}:Ff;function Ha(t){var e=t.name+"",n=un[e],i=he.call(un,e)?n.length:0;while(i--){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Ga(t){var e=he.call(xi,"placeholder")?xi:t;return e.placeholder}function Wa(){var t=xi.iteratee||Pf;return t=t===Pf?eo:t,arguments.length?t(arguments[0],arguments[1]):t}function qa(t,e){var n=t.__data__;return us(e)?n["string"==typeof e?"string":"hash"]:n.map}function Ua(t){var e=wh(t),n=e.length;while(n--){var i=e[n],r=t[i];e[n]=[i,r,ps(r)]}return e}function Ya(t,e){var n=oi(t,e);return Kr(n)?n:o}function Xa(t){var e=he.call(t,Me),n=t[Me];try{t[Me]=o;var i=!0}catch(a){}var r=pe.call(t);return i&&(e?t[Me]=n:delete t[Me]),r}var $a=Re?function(t){return null==t?[]:(t=ne(t),Tn(Re(t),(function(e){return Ce.call(t,e)})))}:Xf,Za=Re?function(t){var e=[];while(t)kn(e,$a(t)),t=we(t);return e}:Xf,Ka=Nr;function Ja(t,e,n){var i=-1,r=n.length;while(++i<r){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Ve(e,t+a);break;case"takeRight":t=ze(t,e-a);break}}return{start:t,end:e}}function Qa(t){var e=t.match(Vt);return e?e[1].split(Ht):[]}function ts(t,e,n){e=Wo(e,t);var i=-1,r=e.length,o=!1;while(++i<r){var a=Es(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:(r=null==t?0:t.length,!!r&&Sc(r)&&as(a,r)&&(lc(t)||sc(t)))}function es(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&he.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function ns(t){return"function"!=typeof t.constructor||ds(t)?{}:Si(we(t))}function is(t,e,n){var i=t.constructor;switch(e){case ft:return $o(t);case Y:case X:return new i(+t);case dt:return Zo(t,n);case pt:case gt:case vt:case mt:case yt:case bt:case _t:case xt:case wt:return Qo(t,n);case Q:return new i;case tt:case st:return new i(t);case ot:return Ko(t);case at:return new i;case lt:return Jo(t)}}function rs(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(zt,"{\n/* [wrapped with "+e+"] */\n")}function os(t){return lc(t)||sc(t)||!!(Ae&&t&&t[Ae])}function as(t,e){var n=typeof t;return e=null==e?j:e,!!e&&("number"==n||"symbol"!=n&&Jt.test(t))&&t>-1&&t%1==0&&t<e}function ss(t,e,n){if(!Cc(n))return!1;var i=typeof e;return!!("number"==i?cc(n)&&as(e,n.length):"string"==i&&e in n)&&rc(n[e],t)}function ls(t,e){if(lc(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Fc(t))||(Lt.test(t)||!Dt.test(t)||null!=e&&t in ne(e))}function us(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function cs(t){var e=Ha(t),n=xi[e];if("function"!=typeof n||!(e in Oi.prototype))return!1;if(t===n)return!0;var i=Va(n);return!!i&&t===i[0]}function hs(t){return!!de&&de in t}(Xe&&Ka(new Xe(new ArrayBuffer(1)))!=dt||Qe&&Ka(new Qe)!=Q||tn&&Ka(tn.resolve())!=it||en&&Ka(new en)!=at||nn&&Ka(new nn)!=ct)&&(Ka=function(t){var e=Nr(t),n=e==nt?t.constructor:o,i=n?Ps(n):"";if(i)switch(i){case cn:return dt;case fn:return Q;case dn:return it;case Dn:return at;case Ln:return ct}return e});var fs=ue?xc:$f;function ds(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||le;return t===n}function ps(t){return t===t&&!Cc(t)}function gs(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in ne(n)))}}function vs(t){var e=zu(t,(function(t){return n.size===f&&n.clear(),t})),n=e.cache;return e}function ms(t,e){var n=t[1],i=e[1],r=n|i,o=r<(b|_|A),a=i==A&&n==w||i==A&&n==O&&t[7].length<=e[8]||i==(A|O)&&e[7].length<=e[8]&&n==w;if(!o&&!a)return t;i&b&&(t[2]=e[2],r|=n&b?0:x);var s=e[3];if(s){var l=t[3];t[3]=l?na(l,s,e[4]):s,t[4]=l?hi(t[3],d):e[4]}return s=e[5],s&&(l=t[5],t[5]=l?ia(l,s,e[6]):s,t[6]=l?hi(t[5],d):e[6]),s=e[7],s&&(t[7]=s),i&A&&(t[8]=null==t[8]?e[8]:Ve(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r,t}function ys(t){var e=[];if(null!=t)for(var n in ne(t))e.push(n);return e}function bs(t){return pe.call(t)}function _s(t,e,i){return e=ze(e===o?t.length-1:e,0),function(){var r=arguments,o=-1,a=ze(r.length-e,0),s=n(a);while(++o<a)s[o]=r[e+o];o=-1;var l=n(e+1);while(++o<e)l[o]=r[o];return l[e]=i(s),_n(t,this,l)}}function xs(t,e){return e.length<2?t:Lr(t,Mo(e,0,-1))}function ws(t,e){var n=t.length,i=Ve(e.length,n),r=ra(t);while(i--){var a=e[i];t[i]=as(a,n)?r[a]:o}return t}function Ss(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Cs=Ms(To),Ts=Pe||function(t,e){return ln.setTimeout(t,e)},As=Ms(Ao);function Os(t,e,n){var i=e+"";return As(t,rs(i,Ds(Qa(i),n)))}function Ms(t){var e=0,n=0;return function(){var i=He(),r=P-(i-n);if(n=i,r>0){if(++e>=E)return arguments[0]}else e=0;return t.apply(o,arguments)}}function ks(t,e){var n=-1,i=t.length,r=i-1;e=e===o?i:e;while(++n<e){var a=yo(n,r),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var Is=vs((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Rt,(function(t,n,i,r){e.push(i?r.replace(qt,"$1"):n||t)})),e}));function Es(t){if("string"==typeof t||Fc(t))return t;var e=t+"";return"0"==e&&1/t==-N?"-0":e}function Ps(t){if(null!=t){try{return ce.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ds(t,e){return wn(G,(function(n){var i="_."+n[0];e&n[1]&&!An(t,i)&&t.push(i)})),t.sort()}function Ls(t){if(t instanceof Oi)return t.clone();var e=new Ai(t.__wrapped__,t.__chain__);return e.__actions__=ra(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Rs(t,e,i){e=(i?ss(t,e,i):e===o)?1:ze(Xc(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];var a=0,s=0,l=n(De(r/e));while(a<r)l[s++]=Mo(t,a,a+=e);return l}function Ns(t){var e=-1,n=null==t?0:t.length,i=0,r=[];while(++e<n){var o=t[e];o&&(r[i++]=o)}return r}function js(){var t=arguments.length;if(!t)return[];var e=n(t-1),i=arguments[0],r=t;while(r--)e[r-1]=arguments[r];return kn(lc(i)?ra(i):[i],Mr(e,1))}var Bs=xo((function(t,e){return hc(t)?xr(t,Mr(e,1,hc,!0)):[]})),Fs=xo((function(t,e){var n=ol(e);return hc(n)&&(n=o),hc(t)?xr(t,Mr(e,1,hc,!0),Wa(n,2)):[]})),zs=xo((function(t,e){var n=ol(e);return hc(n)&&(n=o),hc(t)?xr(t,Mr(e,1,hc,!0),o,n):[]}));function Vs(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===o?1:Xc(e),Mo(t,e<0?0:e,i)):[]}function Hs(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===o?1:Xc(e),e=i-e,Mo(t,0,e<0?0:e)):[]}function Gs(t,e){return t&&t.length?Bo(t,Wa(e,3),!0,!0):[]}function Ws(t,e){return t&&t.length?Bo(t,Wa(e,3),!0):[]}function qs(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&ss(t,e,n)&&(n=0,i=r),Ar(t,e,n,i)):[]}function Us(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Xc(n);return r<0&&(r=ze(i+r,0)),jn(t,Wa(e,3),r)}function Ys(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return n!==o&&(r=Xc(n),r=n<0?ze(i+r,0):Ve(r,i-1)),jn(t,Wa(e,3),r,!0)}function Xs(t){var e=null==t?0:t.length;return e?Mr(t,1):[]}function $s(t){var e=null==t?0:t.length;return e?Mr(t,N):[]}function Zs(t,e){var n=null==t?0:t.length;return n?(e=e===o?1:Xc(e),Mr(t,e)):[]}function Ks(t){var e=-1,n=null==t?0:t.length,i={};while(++e<n){var r=t[e];i[r[0]]=r[1]}return i}function Js(t){return t&&t.length?t[0]:o}function Qs(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Xc(n);return r<0&&(r=ze(i+r,0)),Bn(t,e,r)}function tl(t){var e=null==t?0:t.length;return e?Mo(t,0,-1):[]}var el=xo((function(t){var e=Mn(t,Ho);return e.length&&e[0]===t[0]?Vr(e):[]})),nl=xo((function(t){var e=ol(t),n=Mn(t,Ho);return e===ol(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Vr(n,Wa(e,2)):[]})),il=xo((function(t){var e=ol(t),n=Mn(t,Ho);return e="function"==typeof e?e:o,e&&n.pop(),n.length&&n[0]===t[0]?Vr(n,o,e):[]}));function rl(t,e){return null==t?"":Be.call(t,e)}function ol(t){var e=null==t?0:t.length;return e?t[e-1]:o}function al(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return n!==o&&(r=Xc(n),r=r<0?ze(i+r,0):Ve(r,i-1)),e===e?gi(t,e,r):jn(t,zn,r,!0)}function sl(t,e){return t&&t.length?co(t,Xc(e)):o}var ll=xo(ul);function ul(t,e){return t&&t.length&&e&&e.length?vo(t,e):t}function cl(t,e,n){return t&&t.length&&e&&e.length?vo(t,e,Wa(n,2)):t}function hl(t,e,n){return t&&t.length&&e&&e.length?vo(t,e,o,n):t}var fl=Ba((function(t,e){var n=null==t?0:t.length,i=gr(t,e);return mo(t,Mn(e,(function(t){return as(t,n)?+t:t})).sort(ta)),i}));function dl(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;e=Wa(e,3);while(++i<o){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return mo(t,r),n}function pl(t){return null==t?t:Ye.call(t)}function gl(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&ss(t,e,n)?(e=0,n=i):(e=null==e?0:Xc(e),n=n===o?i:Xc(n)),Mo(t,e,n)):[]}function vl(t,e){return Io(t,e)}function ml(t,e,n){return Eo(t,e,Wa(n,2))}function yl(t,e){var n=null==t?0:t.length;if(n){var i=Io(t,e);if(i<n&&rc(t[i],e))return i}return-1}function bl(t,e){return Io(t,e,!0)}function _l(t,e,n){return Eo(t,e,Wa(n,2),!0)}function xl(t,e){var n=null==t?0:t.length;if(n){var i=Io(t,e,!0)-1;if(rc(t[i],e))return i}return-1}function wl(t){return t&&t.length?Po(t):[]}function Sl(t,e){return t&&t.length?Po(t,Wa(e,2)):[]}function Cl(t){var e=null==t?0:t.length;return e?Mo(t,1,e):[]}function Tl(t,e,n){return t&&t.length?(e=n||e===o?1:Xc(e),Mo(t,0,e<0?0:e)):[]}function Al(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===o?1:Xc(e),e=i-e,Mo(t,e<0?0:e,i)):[]}function Ol(t,e){return t&&t.length?Bo(t,Wa(e,3),!1,!0):[]}function Ml(t,e){return t&&t.length?Bo(t,Wa(e,3)):[]}var kl=xo((function(t){return Ro(Mr(t,1,hc,!0))})),Il=xo((function(t){var e=ol(t);return hc(e)&&(e=o),Ro(Mr(t,1,hc,!0),Wa(e,2))})),El=xo((function(t){var e=ol(t);return e="function"==typeof e?e:o,Ro(Mr(t,1,hc,!0),o,e)}));function Pl(t){return t&&t.length?Ro(t):[]}function Dl(t,e){return t&&t.length?Ro(t,Wa(e,2)):[]}function Ll(t,e){return e="function"==typeof e?e:o,t&&t.length?Ro(t,o,e):[]}function Rl(t){if(!t||!t.length)return[];var e=0;return t=Tn(t,(function(t){if(hc(t))return e=ze(t.length,e),!0})),Yn(e,(function(e){return Mn(t,Hn(e))}))}function Nl(t,e){if(!t||!t.length)return[];var n=Rl(t);return null==e?n:Mn(n,(function(t){return _n(e,o,t)}))}var jl=xo((function(t,e){return hc(t)?xr(t,e):[]})),Bl=xo((function(t){return zo(Tn(t,hc))})),Fl=xo((function(t){var e=ol(t);return hc(e)&&(e=o),zo(Tn(t,hc),Wa(e,2))})),zl=xo((function(t){var e=ol(t);return e="function"==typeof e?e:o,zo(Tn(t,hc),o,e)})),Vl=xo(Rl);function Hl(t,e){return Vo(t||[],e||[],ur)}function Gl(t,e){return Vo(t||[],e||[],Co)}var Wl=xo((function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,Nl(t,n)}));function ql(t){var e=xi(t);return e.__chain__=!0,e}function Ul(t,e){return e(t),t}function Yl(t,e){return e(t)}var Xl=Ba((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return gr(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Oi&&as(n)?(i=i.slice(n,+n+(e?1:0)),i.__actions__.push({func:Yl,args:[r],thisArg:o}),new Ai(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(r)}));function $l(){return ql(this)}function Zl(){return new Ai(this.value(),this.__chain__)}function Kl(){this.__values__===o&&(this.__values__=Uc(this.value()));var t=this.__index__>=this.__values__.length,e=t?o:this.__values__[this.__index__++];return{done:t,value:e}}function Jl(){return this}function Ql(t){var e,n=this;while(n instanceof Ti){var i=Ls(n);i.__index__=0,i.__values__=o,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e}function tu(){var t=this.__wrapped__;if(t instanceof Oi){var e=t;return this.__actions__.length&&(e=new Oi(this)),e=e.reverse(),e.__actions__.push({func:Yl,args:[pl],thisArg:o}),new Ai(e,this.__chain__)}return this.thru(pl)}function eu(){return Fo(this.__wrapped__,this.__actions__)}var nu=la((function(t,e,n){he.call(t,n)?++t[n]:pr(t,n,1)}));function iu(t,e,n){var i=lc(t)?Cn:Cr;return n&&ss(t,e,n)&&(e=o),i(t,Wa(e,3))}function ru(t,e){var n=lc(t)?Tn:Or;return n(t,Wa(e,3))}var ou=ma(Us),au=ma(Ys);function su(t,e){return Mr(vu(t,e),1)}function lu(t,e){return Mr(vu(t,e),N)}function uu(t,e,n){return n=n===o?1:Xc(n),Mr(vu(t,e),n)}function cu(t,e){var n=lc(t)?wn:wr;return n(t,Wa(e,3))}function hu(t,e){var n=lc(t)?Sn:Sr;return n(t,Wa(e,3))}var fu=la((function(t,e,n){he.call(t,n)?t[n].push(e):pr(t,n,[e])}));function du(t,e,n,i){t=cc(t)?t:Vh(t),n=n&&!i?Xc(n):0;var r=t.length;return n<0&&(n=ze(r+n,0)),Bc(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Bn(t,e,n)>-1}var pu=xo((function(t,e,i){var r=-1,o="function"==typeof e,a=cc(t)?n(t.length):[];return wr(t,(function(t){a[++r]=o?_n(e,t,i):Gr(t,e,i)})),a})),gu=la((function(t,e,n){pr(t,n,e)}));function vu(t,e){var n=lc(t)?Mn:oo;return n(t,Wa(e,3))}function mu(t,e,n,i){return null==t?[]:(lc(e)||(e=null==e?[]:[e]),n=i?o:n,lc(n)||(n=null==n?[]:[n]),ho(t,e,n))}var yu=la((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));function bu(t,e,n){var i=lc(t)?In:Wn,r=arguments.length<3;return i(t,Wa(e,4),n,r,wr)}function _u(t,e,n){var i=lc(t)?En:Wn,r=arguments.length<3;return i(t,Wa(e,4),n,r,Sr)}function xu(t,e){var n=lc(t)?Tn:Or;return n(t,Vu(Wa(e,3)))}function wu(t){var e=lc(t)?or:wo;return e(t)}function Su(t,e,n){e=(n?ss(t,e,n):e===o)?1:Xc(e);var i=lc(t)?ar:So;return i(t,e)}function Cu(t){var e=lc(t)?sr:Oo;return e(t)}function Tu(t){if(null==t)return 0;if(cc(t))return Bc(t)?vi(t):t.length;var e=Ka(t);return e==Q||e==at?t.size:no(t).length}function Au(t,e,n){var i=lc(t)?Pn:ko;return n&&ss(t,e,n)&&(e=o),i(t,Wa(e,3))}var Ou=xo((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ss(t,e[0],e[1])?e=[]:n>2&&ss(e[0],e[1],e[2])&&(e=[e[0]]),ho(t,Mr(e,1),[])})),Mu=Ee||function(){return ln.Date.now()};function ku(t,e){if("function"!=typeof e)throw new oe(u);return t=Xc(t),function(){if(--t<1)return e.apply(this,arguments)}}function Iu(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Ea(t,A,o,o,o,o,e)}function Eu(t,e){var n;if("function"!=typeof e)throw new oe(u);return t=Xc(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Pu=xo((function(t,e,n){var i=b;if(n.length){var r=hi(n,Ga(Pu));i|=C}return Ea(t,i,e,n,r)})),Du=xo((function(t,e,n){var i=b|_;if(n.length){var r=hi(n,Ga(Du));i|=C}return Ea(e,i,t,n,r)}));function Lu(t,e,n){e=n?o:e;var i=Ea(t,w,o,o,o,o,o,e);return i.placeholder=Lu.placeholder,i}function Ru(t,e,n){e=n?o:e;var i=Ea(t,S,o,o,o,o,o,e);return i.placeholder=Ru.placeholder,i}function Nu(t,e,n){var i,r,a,s,l,c,h=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new oe(u);function g(e){var n=i,a=r;return i=r=o,h=e,s=t.apply(a,n),s}function v(t){return h=t,l=Ts(b,e),f?g(t):s}function m(t){var n=t-c,i=t-h,r=e-n;return d?Ve(r,a-i):r}function y(t){var n=t-c,i=t-h;return c===o||n>=e||n<0||d&&i>=a}function b(){var t=Mu();if(y(t))return _(t);l=Ts(b,m(t))}function _(t){return l=o,p&&i?g(t):(i=r=o,s)}function x(){l!==o&&Yo(l),h=0,i=c=r=l=o}function w(){return l===o?s:_(Mu())}function S(){var t=Mu(),n=y(t);if(i=arguments,r=this,c=t,n){if(l===o)return v(c);if(d)return Yo(l),l=Ts(b,e),g(c)}return l===o&&(l=Ts(b,e)),s}return e=Zc(e)||0,Cc(n)&&(f=!!n.leading,d="maxWait"in n,a=d?ze(Zc(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),S.cancel=x,S.flush=w,S}var ju=xo((function(t,e){return _r(t,1,e)})),Bu=xo((function(t,e,n){return _r(t,Zc(e)||0,n)}));function Fu(t){return Ea(t,M)}function zu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(u);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(zu.Cache||Gi),n}function Vu(t){if("function"!=typeof t)throw new oe(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Hu(t){return Eu(2,t)}zu.Cache=Gi;var Gu=qo((function(t,e){e=1==e.length&&lc(e[0])?Mn(e[0],Zn(Wa())):Mn(Mr(e,1),Zn(Wa()));var n=e.length;return xo((function(i){var r=-1,o=Ve(i.length,n);while(++r<o)i[r]=e[r].call(this,i[r]);return _n(t,this,i)}))})),Wu=xo((function(t,e){var n=hi(e,Ga(Wu));return Ea(t,C,o,e,n)})),qu=xo((function(t,e){var n=hi(e,Ga(qu));return Ea(t,T,o,e,n)})),Uu=Ba((function(t,e){return Ea(t,O,o,o,o,e)}));function Yu(t,e){if("function"!=typeof t)throw new oe(u);return e=e===o?e:Xc(e),xo(t,e)}function Xu(t,e){if("function"!=typeof t)throw new oe(u);return e=null==e?0:ze(Xc(e),0),xo((function(n){var i=n[e],r=Uo(n,0,e);return i&&kn(r,i),_n(t,this,r)}))}function $u(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new oe(u);return Cc(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Nu(t,e,{leading:i,maxWait:e,trailing:r})}function Zu(t){return Iu(t,1)}function Ku(t,e){return Wu(Go(e),t)}function Ju(){if(!arguments.length)return[];var t=arguments[0];return lc(t)?t:[t]}function Qu(t){return mr(t,v)}function tc(t,e){return e="function"==typeof e?e:o,mr(t,v,e)}function ec(t){return mr(t,p|v)}function nc(t,e){return e="function"==typeof e?e:o,mr(t,p|v,e)}function ic(t,e){return null==e||br(t,e,wh(e))}function rc(t,e){return t===e||t!==t&&e!==e}var oc=Aa(jr),ac=Aa((function(t,e){return t>=e})),sc=Wr(function(){return arguments}())?Wr:function(t){return Tc(t)&&he.call(t,"callee")&&!Ce.call(t,"callee")},lc=n.isArray,uc=pn?Zn(pn):qr;function cc(t){return null!=t&&Sc(t.length)&&!xc(t)}function hc(t){return Tc(t)&&cc(t)}function fc(t){return!0===t||!1===t||Tc(t)&&Nr(t)==Y}var dc=Ne||$f,pc=gn?Zn(gn):Ur;function gc(t){return Tc(t)&&1===t.nodeType&&!Lc(t)}function vc(t){if(null==t)return!0;if(cc(t)&&(lc(t)||"string"==typeof t||"function"==typeof t.splice||dc(t)||zc(t)||sc(t)))return!t.length;var e=Ka(t);if(e==Q||e==at)return!t.size;if(ds(t))return!no(t).length;for(var n in t)if(he.call(t,n))return!1;return!0}function mc(t,e){return Yr(t,e)}function yc(t,e,n){n="function"==typeof n?n:o;var i=n?n(t,e):o;return i===o?Yr(t,e,o,n):!!i}function bc(t){if(!Tc(t))return!1;var e=Nr(t);return e==Z||e==$||"string"==typeof t.message&&"string"==typeof t.name&&!Lc(t)}function _c(t){return"number"==typeof t&&je(t)}function xc(t){if(!Cc(t))return!1;var e=Nr(t);return e==K||e==J||e==U||e==rt}function wc(t){return"number"==typeof t&&t==Xc(t)}function Sc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=j}function Cc(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Tc(t){return null!=t&&"object"==typeof t}var Ac=vn?Zn(vn):$r;function Oc(t,e){return t===e||Zr(t,e,Ua(e))}function Mc(t,e,n){return n="function"==typeof n?n:o,Zr(t,e,Ua(e),n)}function kc(t){return Dc(t)&&t!=+t}function Ic(t){if(fs(t))throw new r(l);return Kr(t)}function Ec(t){return null===t}function Pc(t){return null==t}function Dc(t){return"number"==typeof t||Tc(t)&&Nr(t)==tt}function Lc(t){if(!Tc(t)||Nr(t)!=nt)return!1;var e=we(t);if(null===e)return!0;var n=he.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ce.call(n)==ge}var Rc=mn?Zn(mn):Jr;function Nc(t){return wc(t)&&t>=-j&&t<=j}var jc=yn?Zn(yn):Qr;function Bc(t){return"string"==typeof t||!lc(t)&&Tc(t)&&Nr(t)==st}function Fc(t){return"symbol"==typeof t||Tc(t)&&Nr(t)==lt}var zc=bn?Zn(bn):to;function Vc(t){return t===o}function Hc(t){return Tc(t)&&Ka(t)==ct}function Gc(t){return Tc(t)&&Nr(t)==ht}var Wc=Aa(ro),qc=Aa((function(t,e){return t<=e}));function Uc(t){if(!t)return[];if(cc(t))return Bc(t)?mi(t):ra(t);if(Oe&&t[Oe])return li(t[Oe]());var e=Ka(t),n=e==Q?ui:e==at?fi:Vh;return n(t)}function Yc(t){if(!t)return 0===t?t:0;if(t=Zc(t),t===N||t===-N){var e=t<0?-1:1;return e*B}return t===t?t:0}function Xc(t){var e=Yc(t),n=e%1;return e===e?n?e-n:e:0}function $c(t){return t?vr(Xc(t),0,z):0}function Zc(t){if("number"==typeof t)return t;if(Fc(t))return F;if(Cc(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Cc(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=$n(t);var n=$t.test(t);return n||Kt.test(t)?on(t.slice(2),n?2:8):Xt.test(t)?F:+t}function Kc(t){return oa(t,Sh(t))}function Jc(t){return t?vr(Xc(t),-j,j):0===t?t:0}function Qc(t){return null==t?"":Lo(t)}var th=ua((function(t,e){if(ds(e)||cc(e))oa(e,wh(e),t);else for(var n in e)he.call(e,n)&&ur(t,n,e[n])})),eh=ua((function(t,e){oa(e,Sh(e),t)})),nh=ua((function(t,e,n,i){oa(e,Sh(e),t,i)})),ih=ua((function(t,e,n,i){oa(e,wh(e),t,i)})),rh=Ba(gr);function oh(t,e){var n=Si(t);return null==e?n:fr(n,e)}var ah=xo((function(t,e){t=ne(t);var n=-1,i=e.length,r=i>2?e[2]:o;r&&ss(e[0],e[1],r)&&(i=1);while(++n<i){var a=e[n],s=Sh(a),l=-1,u=s.length;while(++l<u){var c=s[l],h=t[c];(h===o||rc(h,le[c])&&!he.call(t,c))&&(t[c]=a[c])}}return t})),sh=xo((function(t){return t.push(o,Da),_n(Oh,o,t)}));function lh(t,e){return Nn(t,Wa(e,3),Er)}function uh(t,e){return Nn(t,Wa(e,3),Pr)}function ch(t,e){return null==t?t:kr(t,Wa(e,3),Sh)}function hh(t,e){return null==t?t:Ir(t,Wa(e,3),Sh)}function fh(t,e){return t&&Er(t,Wa(e,3))}function dh(t,e){return t&&Pr(t,Wa(e,3))}function ph(t){return null==t?[]:Dr(t,wh(t))}function gh(t){return null==t?[]:Dr(t,Sh(t))}function vh(t,e,n){var i=null==t?o:Lr(t,e);return i===o?n:i}function mh(t,e){return null!=t&&ts(t,e,Br)}function yh(t,e){return null!=t&&ts(t,e,Fr)}var bh=_a((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n}),Of(Ef)),_h=_a((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),he.call(t,e)?t[e].push(n):t[e]=[n]}),Wa),xh=xo(Gr);function wh(t){return cc(t)?rr(t):no(t)}function Sh(t){return cc(t)?rr(t,!0):io(t)}function Ch(t,e){var n={};return e=Wa(e,3),Er(t,(function(t,i,r){pr(n,e(t,i,r),t)})),n}function Th(t,e){var n={};return e=Wa(e,3),Er(t,(function(t,i,r){pr(n,i,e(t,i,r))})),n}var Ah=ua((function(t,e,n){lo(t,e,n)})),Oh=ua((function(t,e,n,i){lo(t,e,n,i)})),Mh=Ba((function(t,e){var n={};if(null==t)return n;var i=!1;e=Mn(e,(function(e){return e=Wo(e,t),i||(i=e.length>1),e})),oa(t,za(t),n),i&&(n=mr(n,p|g|v,La));var r=e.length;while(r--)No(n,e[r]);return n}));function kh(t,e){return Eh(t,Vu(Wa(e)))}var Ih=Ba((function(t,e){return null==t?{}:fo(t,e)}));function Eh(t,e){if(null==t)return{};var n=Mn(za(t),(function(t){return[t]}));return e=Wa(e),po(t,n,(function(t,n){return e(t,n[0])}))}function Ph(t,e,n){e=Wo(e,t);var i=-1,r=e.length;r||(r=1,t=o);while(++i<r){var a=null==t?o:t[Es(e[i])];a===o&&(i=r,a=n),t=xc(a)?a.call(t):a}return t}function Dh(t,e,n){return null==t?t:Co(t,e,n)}function Lh(t,e,n,i){return i="function"==typeof i?i:o,null==t?t:Co(t,e,n,i)}var Rh=Ia(wh),Nh=Ia(Sh);function jh(t,e,n){var i=lc(t),r=i||dc(t)||zc(t);if(e=Wa(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Cc(t)&&xc(o)?Si(we(t)):{}}return(r?wn:Er)(t,(function(t,i,r){return e(n,t,i,r)})),n}function Bh(t,e){return null==t||No(t,e)}function Fh(t,e,n){return null==t?t:jo(t,e,Go(n))}function zh(t,e,n,i){return i="function"==typeof i?i:o,null==t?t:jo(t,e,Go(n),i)}function Vh(t){return null==t?[]:Kn(t,wh(t))}function Hh(t){return null==t?[]:Kn(t,Sh(t))}function Gh(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=Zc(n),n=n===n?n:0),e!==o&&(e=Zc(e),e=e===e?e:0),vr(Zc(t),e,n)}function Wh(t,e,n){return e=Yc(e),n===o?(n=e,e=0):n=Yc(n),t=Zc(t),zr(t,e,n)}function qh(t,e,n){if(n&&"boolean"!=typeof n&&ss(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Yc(t),e===o?(e=t,t=0):e=Yc(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=Ue();return Ve(t+r*(e-t+rn("1e-"+((r+"").length-1))),e)}return yo(t,e)}var Uh=pa((function(t,e,n){return e=e.toLowerCase(),t+(n?Yh(e):e)}));function Yh(t){return xf(Qc(t).toLowerCase())}function Xh(t){return t=Qc(t),t&&t.replace(Qt,ni).replace(We,"")}function $h(t,e,n){t=Qc(t),e=Lo(e);var i=t.length;n=n===o?i:vr(Xc(n),0,i);var r=n;return n-=e.length,n>=0&&t.slice(n,r)==e}function Zh(t){return t=Qc(t),t&&kt.test(t)?t.replace(Ot,ii):t}function Kh(t){return t=Qc(t),t&&jt.test(t)?t.replace(Nt,"\\$&"):t}var Jh=pa((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Qh=pa((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),tf=da("toLowerCase");function ef(t,e,n){t=Qc(t),e=Xc(e);var i=e?vi(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Sa(Le(r),n)+t+Sa(De(r),n)}function nf(t,e,n){t=Qc(t),e=Xc(e);var i=e?vi(t):0;return e&&i<e?t+Sa(e-i,n):t}function rf(t,e,n){t=Qc(t),e=Xc(e);var i=e?vi(t):0;return e&&i<e?Sa(e-i,n)+t:t}function of(t,e,n){return n||null==e?e=0:e&&(e=+e),qe(Qc(t).replace(Bt,""),e||0)}function af(t,e,n){return e=(n?ss(t,e,n):e===o)?1:Xc(e),_o(Qc(t),e)}function sf(){var t=arguments,e=Qc(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var lf=pa((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));function uf(t,e,n){return n&&"number"!=typeof n&&ss(t,e,n)&&(e=n=o),n=n===o?z:n>>>0,n?(t=Qc(t),t&&("string"==typeof e||null!=e&&!Rc(e))&&(e=Lo(e),!e&&ai(t))?Uo(mi(t),0,n):t.split(e,n)):[]}var cf=pa((function(t,e,n){return t+(n?" ":"")+xf(e)}));function hf(t,e,n){return t=Qc(t),n=null==n?0:vr(Xc(n),0,t.length),e=Lo(e),t.slice(n,n+e.length)==e}function ff(t,e,n){var i=xi.templateSettings;n&&ss(t,e,n)&&(e=o),t=Qc(t),e=nh({},e,i,Pa);var a,s,l=nh({},e.imports,i.imports,Pa),u=wh(l),h=Kn(l,u),f=0,d=e.interpolate||te,p="__p += '",g=ie((e.escape||te).source+"|"+d.source+"|"+(d===Pt?Ut:te).source+"|"+(e.evaluate||te).source+"|$","g"),v="//# sourceURL="+(he.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ze+"]")+"\n";t.replace(g,(function(e,n,i,r,o,l){return i||(i=r),p+=t.slice(f,l).replace(ee,ri),n&&(a=!0,p+="' +\n__e("+n+") +\n'"),o&&(s=!0,p+="';\n"+o+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),f=l+e.length,e})),p+="';\n";var m=he.call(e,"variable")&&e.variable;if(m){if(Wt.test(m))throw new r(c)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(St,""):p).replace(Ct,"$1").replace(Tt,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Sf((function(){return Ft(u,v+"return "+p).apply(o,h)}));if(y.source=p,bc(y))throw y;return y}function df(t){return Qc(t).toLowerCase()}function pf(t){return Qc(t).toUpperCase()}function gf(t,e,n){if(t=Qc(t),t&&(n||e===o))return $n(t);if(!t||!(e=Lo(e)))return t;var i=mi(t),r=mi(e),a=Qn(i,r),s=ti(i,r)+1;return Uo(i,a,s).join("")}function vf(t,e,n){if(t=Qc(t),t&&(n||e===o))return t.slice(0,yi(t)+1);if(!t||!(e=Lo(e)))return t;var i=mi(t),r=ti(i,mi(e))+1;return Uo(i,0,r).join("")}function mf(t,e,n){if(t=Qc(t),t&&(n||e===o))return t.replace(Bt,"");if(!t||!(e=Lo(e)))return t;var i=mi(t),r=Qn(i,mi(e));return Uo(i,r).join("")}function yf(t,e){var n=k,i=I;if(Cc(e)){var r="separator"in e?e.separator:r;n="length"in e?Xc(e.length):n,i="omission"in e?Lo(e.omission):i}t=Qc(t);var a=t.length;if(ai(t)){var s=mi(t);a=s.length}if(n>=a)return t;var l=n-vi(i);if(l<1)return i;var u=s?Uo(s,0,l).join(""):t.slice(0,l);if(r===o)return u+i;if(s&&(l+=u.length-l),Rc(r)){if(t.slice(l).search(r)){var c,h=u;r.global||(r=ie(r.source,Qc(Yt.exec(r))+"g")),r.lastIndex=0;while(c=r.exec(h))var f=c.index;u=u.slice(0,f===o?l:f)}}else if(t.indexOf(Lo(r),l)!=l){var d=u.lastIndexOf(r);d>-1&&(u=u.slice(0,d))}return u+i}function bf(t){return t=Qc(t),t&&Mt.test(t)?t.replace(At,bi):t}var _f=pa((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),xf=da("toUpperCase");function wf(t,e,n){return t=Qc(t),e=n?o:e,e===o?si(t)?wi(t):Rn(t):t.match(e)||[]}var Sf=xo((function(t,e){try{return _n(t,o,e)}catch(n){return bc(n)?n:new r(n)}})),Cf=Ba((function(t,e){return wn(e,(function(e){e=Es(e),pr(t,e,Pu(t[e],t))})),t}));function Tf(t){var e=null==t?0:t.length,n=Wa();return t=e?Mn(t,(function(t){if("function"!=typeof t[1])throw new oe(u);return[n(t[0]),t[1]]})):[],xo((function(n){var i=-1;while(++i<e){var r=t[i];if(_n(r[0],this,n))return _n(r[1],this,n)}}))}function Af(t){return yr(mr(t,p))}function Of(t){return function(){return t}}function Mf(t,e){return null==t||t!==t?e:t}var kf=ya(),If=ya(!0);function Ef(t){return t}function Pf(t){return eo("function"==typeof t?t:mr(t,p))}function Df(t){return ao(mr(t,p))}function Lf(t,e){return so(t,mr(e,p))}var Rf=xo((function(t,e){return function(n){return Gr(n,t,e)}})),Nf=xo((function(t,e){return function(n){return Gr(t,n,e)}}));function jf(t,e,n){var i=wh(e),r=Dr(e,i);null!=n||Cc(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=Dr(e,wh(e)));var o=!(Cc(n)&&"chain"in n)||!!n.chain,a=xc(t);return wn(r,(function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=ra(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,kn([this.value()],arguments))})})),t}function Bf(){return ln._===this&&(ln._=ve),this}function Ff(){}function zf(t){return t=Xc(t),xo((function(e){return co(e,t)}))}var Vf=wa(Mn),Hf=wa(Cn),Gf=wa(Pn);function Wf(t){return ls(t)?Hn(Es(t)):go(t)}function qf(t){return function(e){return null==t?o:Lr(t,e)}}var Uf=Ta(),Yf=Ta(!0);function Xf(){return[]}function $f(){return!1}function Zf(){return{}}function Kf(){return""}function Jf(){return!0}function Qf(t,e){if(t=Xc(t),t<1||t>j)return[];var n=z,i=Ve(t,z);e=Wa(e),t-=z;var r=Yn(i,e);while(++n<t)e(n);return r}function td(t){return lc(t)?Mn(t,Es):Fc(t)?[t]:ra(Is(Qc(t)))}function ed(t){var e=++fe;return Qc(t)+e}var nd=xa((function(t,e){return t+e}),0),id=Ma("ceil"),rd=xa((function(t,e){return t/e}),1),od=Ma("floor");function ad(t){return t&&t.length?Tr(t,Ef,jr):o}function sd(t,e){return t&&t.length?Tr(t,Wa(e,2),jr):o}function ld(t){return Vn(t,Ef)}function ud(t,e){return Vn(t,Wa(e,2))}function cd(t){return t&&t.length?Tr(t,Ef,ro):o}function hd(t,e){return t&&t.length?Tr(t,Wa(e,2),ro):o}var fd=xa((function(t,e){return t*e}),1),dd=Ma("round"),pd=xa((function(t,e){return t-e}),0);function gd(t){return t&&t.length?Un(t,Ef):0}function vd(t,e){return t&&t.length?Un(t,Wa(e,2)):0}return xi.after=ku,xi.ary=Iu,xi.assign=th,xi.assignIn=eh,xi.assignInWith=nh,xi.assignWith=ih,xi.at=rh,xi.before=Eu,xi.bind=Pu,xi.bindAll=Cf,xi.bindKey=Du,xi.castArray=Ju,xi.chain=ql,xi.chunk=Rs,xi.compact=Ns,xi.concat=js,xi.cond=Tf,xi.conforms=Af,xi.constant=Of,xi.countBy=nu,xi.create=oh,xi.curry=Lu,xi.curryRight=Ru,xi.debounce=Nu,xi.defaults=ah,xi.defaultsDeep=sh,xi.defer=ju,xi.delay=Bu,xi.difference=Bs,xi.differenceBy=Fs,xi.differenceWith=zs,xi.drop=Vs,xi.dropRight=Hs,xi.dropRightWhile=Gs,xi.dropWhile=Ws,xi.fill=qs,xi.filter=ru,xi.flatMap=su,xi.flatMapDeep=lu,xi.flatMapDepth=uu,xi.flatten=Xs,xi.flattenDeep=$s,xi.flattenDepth=Zs,xi.flip=Fu,xi.flow=kf,xi.flowRight=If,xi.fromPairs=Ks,xi.functions=ph,xi.functionsIn=gh,xi.groupBy=fu,xi.initial=tl,xi.intersection=el,xi.intersectionBy=nl,xi.intersectionWith=il,xi.invert=bh,xi.invertBy=_h,xi.invokeMap=pu,xi.iteratee=Pf,xi.keyBy=gu,xi.keys=wh,xi.keysIn=Sh,xi.map=vu,xi.mapKeys=Ch,xi.mapValues=Th,xi.matches=Df,xi.matchesProperty=Lf,xi.memoize=zu,xi.merge=Ah,xi.mergeWith=Oh,xi.method=Rf,xi.methodOf=Nf,xi.mixin=jf,xi.negate=Vu,xi.nthArg=zf,xi.omit=Mh,xi.omitBy=kh,xi.once=Hu,xi.orderBy=mu,xi.over=Vf,xi.overArgs=Gu,xi.overEvery=Hf,xi.overSome=Gf,xi.partial=Wu,xi.partialRight=qu,xi.partition=yu,xi.pick=Ih,xi.pickBy=Eh,xi.property=Wf,xi.propertyOf=qf,xi.pull=ll,xi.pullAll=ul,xi.pullAllBy=cl,xi.pullAllWith=hl,xi.pullAt=fl,xi.range=Uf,xi.rangeRight=Yf,xi.rearg=Uu,xi.reject=xu,xi.remove=dl,xi.rest=Yu,xi.reverse=pl,xi.sampleSize=Su,xi.set=Dh,xi.setWith=Lh,xi.shuffle=Cu,xi.slice=gl,xi.sortBy=Ou,xi.sortedUniq=wl,xi.sortedUniqBy=Sl,xi.split=uf,xi.spread=Xu,xi.tail=Cl,xi.take=Tl,xi.takeRight=Al,xi.takeRightWhile=Ol,xi.takeWhile=Ml,xi.tap=Ul,xi.throttle=$u,xi.thru=Yl,xi.toArray=Uc,xi.toPairs=Rh,xi.toPairsIn=Nh,xi.toPath=td,xi.toPlainObject=Kc,xi.transform=jh,xi.unary=Zu,xi.union=kl,xi.unionBy=Il,xi.unionWith=El,xi.uniq=Pl,xi.uniqBy=Dl,xi.uniqWith=Ll,xi.unset=Bh,xi.unzip=Rl,xi.unzipWith=Nl,xi.update=Fh,xi.updateWith=zh,xi.values=Vh,xi.valuesIn=Hh,xi.without=jl,xi.words=wf,xi.wrap=Ku,xi.xor=Bl,xi.xorBy=Fl,xi.xorWith=zl,xi.zip=Vl,xi.zipObject=Hl,xi.zipObjectDeep=Gl,xi.zipWith=Wl,xi.entries=Rh,xi.entriesIn=Nh,xi.extend=eh,xi.extendWith=nh,jf(xi,xi),xi.add=nd,xi.attempt=Sf,xi.camelCase=Uh,xi.capitalize=Yh,xi.ceil=id,xi.clamp=Gh,xi.clone=Qu,xi.cloneDeep=ec,xi.cloneDeepWith=nc,xi.cloneWith=tc,xi.conformsTo=ic,xi.deburr=Xh,xi.defaultTo=Mf,xi.divide=rd,xi.endsWith=$h,xi.eq=rc,xi.escape=Zh,xi.escapeRegExp=Kh,xi.every=iu,xi.find=ou,xi.findIndex=Us,xi.findKey=lh,xi.findLast=au,xi.findLastIndex=Ys,xi.findLastKey=uh,xi.floor=od,xi.forEach=cu,xi.forEachRight=hu,xi.forIn=ch,xi.forInRight=hh,xi.forOwn=fh,xi.forOwnRight=dh,xi.get=vh,xi.gt=oc,xi.gte=ac,xi.has=mh,xi.hasIn=yh,xi.head=Js,xi.identity=Ef,xi.includes=du,xi.indexOf=Qs,xi.inRange=Wh,xi.invoke=xh,xi.isArguments=sc,xi.isArray=lc,xi.isArrayBuffer=uc,xi.isArrayLike=cc,xi.isArrayLikeObject=hc,xi.isBoolean=fc,xi.isBuffer=dc,xi.isDate=pc,xi.isElement=gc,xi.isEmpty=vc,xi.isEqual=mc,xi.isEqualWith=yc,xi.isError=bc,xi.isFinite=_c,xi.isFunction=xc,xi.isInteger=wc,xi.isLength=Sc,xi.isMap=Ac,xi.isMatch=Oc,xi.isMatchWith=Mc,xi.isNaN=kc,xi.isNative=Ic,xi.isNil=Pc,xi.isNull=Ec,xi.isNumber=Dc,xi.isObject=Cc,xi.isObjectLike=Tc,xi.isPlainObject=Lc,xi.isRegExp=Rc,xi.isSafeInteger=Nc,xi.isSet=jc,xi.isString=Bc,xi.isSymbol=Fc,xi.isTypedArray=zc,xi.isUndefined=Vc,xi.isWeakMap=Hc,xi.isWeakSet=Gc,xi.join=rl,xi.kebabCase=Jh,xi.last=ol,xi.lastIndexOf=al,xi.lowerCase=Qh,xi.lowerFirst=tf,xi.lt=Wc,xi.lte=qc,xi.max=ad,xi.maxBy=sd,xi.mean=ld,xi.meanBy=ud,xi.min=cd,xi.minBy=hd,xi.stubArray=Xf,xi.stubFalse=$f,xi.stubObject=Zf,xi.stubString=Kf,xi.stubTrue=Jf,xi.multiply=fd,xi.nth=sl,xi.noConflict=Bf,xi.noop=Ff,xi.now=Mu,xi.pad=ef,xi.padEnd=nf,xi.padStart=rf,xi.parseInt=of,xi.random=qh,xi.reduce=bu,xi.reduceRight=_u,xi.repeat=af,xi.replace=sf,xi.result=Ph,xi.round=dd,xi.runInContext=t,xi.sample=wu,xi.size=Tu,xi.snakeCase=lf,xi.some=Au,xi.sortedIndex=vl,xi.sortedIndexBy=ml,xi.sortedIndexOf=yl,xi.sortedLastIndex=bl,xi.sortedLastIndexBy=_l,xi.sortedLastIndexOf=xl,xi.startCase=cf,xi.startsWith=hf,xi.subtract=pd,xi.sum=gd,xi.sumBy=vd,xi.template=ff,xi.times=Qf,xi.toFinite=Yc,xi.toInteger=Xc,xi.toLength=$c,xi.toLower=df,xi.toNumber=Zc,xi.toSafeInteger=Jc,xi.toString=Qc,xi.toUpper=pf,xi.trim=gf,xi.trimEnd=vf,xi.trimStart=mf,xi.truncate=yf,xi.unescape=bf,xi.uniqueId=ed,xi.upperCase=_f,xi.upperFirst=xf,xi.each=cu,xi.eachRight=hu,xi.first=Js,jf(xi,function(){var t={};return Er(xi,(function(e,n){he.call(xi.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),xi.VERSION=a,wn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){xi[t].placeholder=xi})),wn(["drop","take"],(function(t,e){Oi.prototype[t]=function(n){n=n===o?1:ze(Xc(n),0);var i=this.__filtered__&&!e?new Oi(this):this.clone();return i.__filtered__?i.__takeCount__=Ve(n,i.__takeCount__):i.__views__.push({size:Ve(n,z),type:t+(i.__dir__<0?"Right":"")}),i},Oi.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),wn(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=n==D||n==R;Oi.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Wa(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),wn(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Oi.prototype[t]=function(){return this[n](1).value()[0]}})),wn(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Oi.prototype[t]=function(){return this.__filtered__?new Oi(this):this[n](1)}})),Oi.prototype.compact=function(){return this.filter(Ef)},Oi.prototype.find=function(t){return this.filter(t).head()},Oi.prototype.findLast=function(t){return this.reverse().find(t)},Oi.prototype.invokeMap=xo((function(t,e){return"function"==typeof t?new Oi(this):this.map((function(n){return Gr(n,t,e)}))})),Oi.prototype.reject=function(t){return this.filter(Vu(Wa(t)))},Oi.prototype.slice=function(t,e){t=Xc(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Oi(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(e=Xc(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},Oi.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Oi.prototype.toArray=function(){return this.take(z)},Er(Oi.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=xi[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);r&&(xi.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,l=e instanceof Oi,u=s[0],c=l||lc(e),h=function(t){var e=r.apply(xi,kn([t],s));return i&&f?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var f=this.__chain__,d=!!this.__actions__.length,p=a&&!f,g=l&&!d;if(!a&&c){e=g?e:new Oi(this);var v=t.apply(e,s);return v.__actions__.push({func:Yl,args:[h],thisArg:o}),new Ai(v,f)}return p&&g?t.apply(this,s):(v=this.thru(h),p?i?v.value()[0]:v.value():v)})})),wn(["pop","push","shift","sort","splice","unshift"],(function(t){var e=ae[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);xi.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(lc(r)?r:[],t)}return this[n]((function(n){return e.apply(lc(n)?n:[],t)}))}})),Er(Oi.prototype,(function(t,e){var n=xi[e];if(n){var i=n.name+"";he.call(un,i)||(un[i]=[]),un[i].push({name:e,func:n})}})),un[ba(o,_).name]=[{name:"wrapper",func:o}],Oi.prototype.clone=Mi,Oi.prototype.reverse=ki,Oi.prototype.value=Ii,xi.prototype.at=Xl,xi.prototype.chain=$l,xi.prototype.commit=Zl,xi.prototype.next=Kl,xi.prototype.plant=Ql,xi.prototype.reverse=tu,xi.prototype.toJSON=xi.prototype.valueOf=xi.prototype.value=eu,xi.prototype.first=xi.prototype.head,Oe&&(xi.prototype[Oe]=Jl),xi},Ci=Si();ln._=Ci,r=function(){return Ci}.call(e,n,e,i),r===o||(i.exports=r)}).call(this)}).call(this,n("c8ba"),n("62e4")(t))},"2f31":function(t,e,n){var i=n("3eba"),r=n("ae75");n("10cc"),n("f31f"),n("c2dd"),n("b8ec"),n("fecb"),i.registerPreprocessor(r)},"2f45":function(t,e,n){var i=n("6d8b"),r=i.each,o=i.createHashMap,a=(i.assert,n("4e08")),s=(a.__DEV__,o(["tooltip","label","itemName","itemId","seriesName"]));function l(t){var e={},n=e.encode={},i=o(),a=[],l=[],c=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};r(t.dimensions,(function(e){var r=t.getDimensionInfo(e),o=r.coordDim;if(o){var f=r.coordDimIndex;u(n,o)[f]=e,r.isExtraCoord||(i.set(o,1),h(r.type)&&(a[0]=e),u(c.encode,o)[f]=r.index),r.defaultTooltip&&l.push(e)}s.each((function(t,e){var i=u(n,e),o=r.otherDims[e];null!=o&&!1!==o&&(i[o]=r.name)}))}));var f=[],d={};i.each((function(t,e){var i=n[e];d[e]=i[0],f=f.concat(i)})),e.dataDimsOnCoord=f,e.encodeFirstDimNotExtra=d;var p=n.label;p&&p.length&&(a=p.slice());var g=n.tooltip;return g&&g.length?l=g.slice():l.length||(l=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=l,e}function u(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function c(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function h(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=l,e.getDimensionTypeByAxis=c},"2f62":function(t,e,n){"use strict";(function(t){
/*!
 * vuex v3.6.0
 * (c) 2020 Evan You
 * @license MIT
 */
function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return R})),n.d(e,"c",(function(){return D}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function l(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=l(t[n],e)})),i}function u(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function c(t){return null!==t&&"object"===typeof t}function h(t){return t&&"function"===typeof t.then}function f(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){u(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&u(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&u(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&u(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,p);var g=function(t){this.register([],t,!1)};function v(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;v(t.concat(i),e.getChild(i),n.modules[i])}}g.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},g.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},g.prototype.update=function(t){v([],this.root,t)},g.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new d(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&u(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},g.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},g.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var m;var y=function(t){var e=this;void 0===t&&(t={}),!m&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new g(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,n){return l.call(r,t,e,n)},this.strict=i;var u=this._modules.root.state;S(this,u,[],this._modules.root),w(this,u),n.forEach((function(t){return t(e)}));var c=void 0!==t.devtools?t.devtools:m.config.devtools;c&&a(this)},b={state:{configurable:!0}};function _(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function x(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;S(t,n,[],t._modules.root,!0),w(t,n,e)}function w(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};u(r,(function(e,n){o[n]=f(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,t._vm=new m({data:{$$state:e},computed:o}),m.config.silent=a,t.strict&&k(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),m.nextTick((function(){return i.$destroy()})))}function S(t,e,n,i,r){var o=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!o&&!r){var s=I(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){m.set(s,l,i.state)}))}var u=i.context=C(t,a,n);i.forEachMutation((function(e,n){var i=a+n;A(t,i,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,r=e.handler||e;O(t,i,r,u)})),i.forEachGetter((function(e,n){var i=a+n;M(t,i,e,u)})),i.forEachChild((function(i,o){S(t,e,n.concat(o),i,r)}))}function C(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=E(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:i?t.commit:function(n,i,r){var o=E(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return T(t,e)}},state:{get:function(){return I(t.state,n)}}}),r}function T(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function A(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function O(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return h(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function M(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function k(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function I(t,e){return e.reduce((function(t,e){return t[e]}),t)}function E(t,e,n){return c(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){m&&t===m||(m=t,i(m))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},y.prototype.commit=function(t,e,n){var i=this,r=E(t,e,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},y.prototype.dispatch=function(t,e){var n=this,i=E(t,e),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},y.prototype.subscribe=function(t,e){return _(t,this._subscribers,e)},y.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return _(n,this._actionSubscribers,e)},y.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},y.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},y.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),S(this,this.state,t,this._modules.get(t),n.preserveState),w(this,this.state)},y.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=I(e.state,t.slice(0,-1));m.delete(n,t[t.length-1])})),x(this)},y.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},y.prototype.hotUpdate=function(t){this._modules.update(t),x(this,!0)},y.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(y.prototype,b);var D=z((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=V(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),L=z((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=V(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),R=z((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||V(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),N=z((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=V(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),j=function(t){return{mapState:D.bind(null,t),mapGetters:R.bind(null,t),mapMutations:L.bind(null,t),mapActions:N.bind(null,t)}};function B(t){return F(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function F(t){return Array.isArray(t)||c(t)}function z(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function V(t,e,n){var i=t._modulesNamespaceMap[n];return i}function H(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var h=l(t.state);"undefined"!==typeof c&&(s&&t.subscribe((function(t,o){var a=l(o);if(n(t,h,a)){var s=q(),u=r(t),f="mutation "+t.type+s;G(c,f,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),W(c)}h=a})),u&&t.subscribeAction((function(t,n){if(o(t,n)){var i=q(),r=a(t),s="action "+t.type+i;G(c,s,e),c.log("%c action","color: #03A9F4; font-weight: bold",r),W(c)}})))}}function G(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function W(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function q(){var t=new Date;return" @ "+Y(t.getHours(),2)+":"+Y(t.getMinutes(),2)+":"+Y(t.getSeconds(),2)+"."+Y(t.getMilliseconds(),3)}function U(t,e){return new Array(e+1).join(t)}function Y(t,e){return U("0",e-t.toString().length)+t}var X={Store:y,install:P,version:"3.6.0",mapState:D,mapMutations:L,mapGetters:R,mapActions:N,createNamespacedHelpers:j,createLogger:H};e["a"]=X}).call(this,n("c8ba"))},"2f73":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("1e32");n("1ccf"),n("f5e6"),n("792e"),n("cb8f"),n("6acf"),i.registerLayout(r.curry(o,"bar")),i.extendComponentView({type:"polar"})},"2f91":function(t,e){var n=["itemStyle","borderColor"];function i(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",(function(e){var r=i[e.seriesIndex%i.length],o=e.getData();o.setVisual({legendSymbol:"roundRect",color:e.get(n)||r}),t.isSeriesFiltered(e)||o.each((function(t){var e=o.getItemModel(t);o.setItemVisual(t,{color:e.get(n,!0)})}))}))}t.exports=i},"2f9a":function(t,e){t.exports=function(){}},3014:function(t,e,n){var i=n("4f85"),r=n("3301"),o=i.extend({type:"series.__base_bar__",getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),i=this.getData(),r=i.getLayout("offset"),o=i.getLayout("size"),a=e.getBaseAxis().isHorizontal()?0:1;return n[a]+=r+o/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=o},"301c":function(t,e,n){n("e198")("asyncIterator")},3041:function(t,e,n){var i=n("e1fc"),r=n("0da8"),o=n("76a5"),a=n("d9fc"),s=n("c7a2"),l=n("ae69"),u=n("cb11"),c=n("cbe5"),h=n("87b1"),f=n("d498"),d=n("48a9"),p=n("2b61"),g=n("1687"),v=n("342d"),m=v.createFromString,y=n("6d8b"),b=y.isString,_=y.extend,x=y.defaults,w=y.trim,S=y.each,C=/[\s,]+/;function T(t){if(b(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}9===t.nodeType&&(t=t.firstChild);while("svg"!==t.nodeName.toLowerCase()||1!==t.nodeType)t=t.nextSibling;return t}function A(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}A.prototype.parse=function(t,e){e=e||{};var n=T(t);if(!n)throw new Error("Illegal svg");var r=new i;this._root=r;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),D(n,r,null,!0);var u,c,h=n.firstChild;while(h)this._parseNode(h,r),h=h.nextSibling;if(o){var f=w(o).split(C);f.length>=4&&(u={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(u&&null!=a&&null!=l&&(c=z(u,a,l),!e.ignoreViewBox)){var d=r;r=new i,r.add(d),d.scale=c.scale.slice(),d.position=c.position.slice()}return e.ignoreRootClip||null==a||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:r,width:a,height:l,viewBoxRect:u,viewBoxTransform:c}},A.prototype._parseNode=function(t,e){var n,i=t.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){var r=M[i];if(r){var o=r.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else{r=O[i];r&&(n=r.call(this,t,e),e.add(n))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new o({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(e,r),D(t,r,this._defs);var a=r.style.fontSize;a&&a<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=a/9,r.scale[1]*=a/9);var s=r.getBoundingRect();return this._textX+=s.width,e.add(r),r};var O={g:function(t,e){var n=new i;return I(e,n),D(t,n,this._defs),n},rect:function(t,e){var n=new s;return I(e,n),D(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new a;return I(e,n),D(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new u;return I(e,n),D(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return I(e,n),D(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=E(n));var i=new h({shape:{points:n||[]}});return I(e,i),D(t,i,this._defs),i},polyline:function(t,e){var n=new c;I(e,n),D(t,n,this._defs);var i=t.getAttribute("points");i&&(i=E(i));var r=new f({shape:{points:i||[]}});return r},image:function(t,e){var n=new r;return I(e,n),D(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,r=t.getAttribute("y")||0,o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(a);var s=new i;return I(e,s),D(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,s=new i;return I(e,s),D(t,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var n=t.getAttribute("d")||"",i=m(n);return I(e,i),D(t,i,this._defs),i}},M={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),o=new d(e,n,i,r);return k(t,o),o},radialgradient:function(t){}};function k(t,e){var n=t.firstChild;while(n){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}function I(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),x(e.__inheritedStyle,t.__inheritedStyle))}function E(t){for(var e=w(t).split(C),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}var P={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function D(t,e,n,i){var r=e.__inheritedStyle||{},o="text"===e.type;if(1===t.nodeType&&(j(t,e),_(r,F(t)),!i))for(var a in P)if(P.hasOwnProperty(a)){var s=t.getAttribute(a);null!=s&&(r[P[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";e.style=e.style||new p;var c=e.style;null!=r.fill&&c.set(l,R(r.fill,n)),null!=r.stroke&&c.set(u,R(r.stroke,n)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){var e="lineWidth"===t&&o?"textStrokeWidth":t;null!=r[t]&&c.set(e,parseFloat(r[t]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=r[t]&&c.set(t,r[t])})),r.lineDash&&(e.style.lineDash=w(r.lineDash).split(C)),c[u]&&"none"!==c[u]&&(e[u]=!0),e.__inheritedStyle=r}var L=/url\(\s*#(.*?)\)/;function R(t,e){var n=e&&t&&t.match(L);if(n){var i=w(n[1]),r=e[i];return r}return t}var N=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function j(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=null,r=[];n.replace(N,(function(t,e,n){r.push(e,n)}));for(var o=r.length-1;o>0;o-=2){var a=r[o],s=r[o-1];switch(i=i||g.create(),s){case"translate":a=w(a).split(C),g.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=w(a).split(C),g.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=w(a).split(C),g.rotate(i,i,parseFloat(a[0]));break;case"skew":a=w(a).split(C),console.warn("Skew transform is not supported yet");break;case"matrix":a=w(a).split(C);i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5]);break}}e.setLocalTransform(i)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};B.lastIndex=0;while(null!=(i=B.exec(e)))r[i[1]]=i[2];for(var o in P)P.hasOwnProperty(o)&&null!=r[o]&&(n[P[o]]=r[o]);return n}function z(t,e,n){var i=e/t.width,r=n/t.height,o=Math.min(i,r),a=[o,o],s=[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2];return{scale:a,position:s}}function V(t,e){var n=new A;return n.parse(t,e)}e.parseXML=T,e.makeViewBoxTransform=z,e.parseSVG=V},"307a":function(t,e,n){var i=n("6d8b"),r=n("eaea"),o=n("3842"),a=[20,140],s=r.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=a[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=a[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):i.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){r.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=o.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,u=e.length;a<u&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var c=1;o<s;o++,c=0)c&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(c=1;a<u;a++)(!n.length||n[n.length-1]<e[a])&&(c&&(i.length&&r(i[i.length-1].value,"outOfRange"),c=0),r(e[a],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}}});function l(t,e,n){if(n[0]===n[1])return n.slice();for(var i=200,r=(n[1]-n[0])/i,o=n[0],a=[],s=0;s<=i&&o<n[1];s++)a.push(o),o+=r;return a.push(n[1]),a}var u=s;t.exports=u},"307b":function(t,e,n){var i=n("6d8b");function r(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function o(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(r,t)}}}t.exports=o},"307d":function(t,e,n){var i=n("6d8b"),r=n("6179"),o=n("3842"),a=n("923d"),s=n("73ca"),l=n("88f0"),u=n("ee1a"),c=u.getStackedDimension,h=function(t,e,n,r){var o=t.getData(),s=r.type;if(!i.isArray(r)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=r.xAxis||null!=r.yAxis)){var l,u;if(null!=r.yAxis||null!=r.xAxis)l=e.getAxis(null!=r.yAxis?"y":"x"),u=i.retrieve(r.yAxis,r.xAxis);else{var h=a.getAxisInfo(r,o,e,t);l=h.valueAxis;var f=c(o,h.valueDataDim);u=a.numCalculate(o,f,s)}var d="x"===l.dim?0:1,p=1-d,g=i.clone(r),v={};g.type=null,g.coord=[],v.coord=[],g.coord[p]=-1/0,v.coord[p]=1/0;var m=n.get("precision");m>=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(m,20))),g.coord[d]=v.coord[d]=u,r=[g,v,{type:s,valueIndex:r.valueIndex,value:u}]}return r=[a.dataTransform(t,r[0]),a.dataTransform(t,r[1]),i.extend({},r[2])],r[2].type=r[2].type||"",i.merge(r[2],r[0]),i.merge(r[2],r[1]),r};function f(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,i){var r=1-t,o=i.dimensions[t];return f(e[r])&&f(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function p(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(d(1,n,i,t)||d(0,n,i,t)))return!0}return a.dataFilter(t,e[0])&&a.dataFilter(t,e[1])}function g(t,e,n,i,r){var a,s=i.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get("x"),r.getWidth()),c=o.parsePercent(l.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=s.dimensions,d=t.get(h[0],e),p=t.get(h[1],e);a=s.dataToPoint([d,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");h=s.dimensions;f(t.get(h[0],e))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):f(t.get(h[1],e))&&(a[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];t.setItemLayout(e,a)}var v=l.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var i=e.getData(),r=e.__from,o=e.__to;r.each((function(e){g(r,e,!0,t,n),g(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,n,r){var o=t.coordinateSystem,a=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(a)||u.set(a,new s);this.group.add(c.group);var h=m(o,t,e),f=h.from,d=h.to,p=h.line;e.__from=f,e.__to=d,e.setData(p);var v=e.get("symbol"),y=e.get("symbolSize");function b(e,n,i){var o=e.getItemModel(n);g(e,n,i,t,r),e.setItemVisual(n,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||y[i?0:1],symbol:o.get("symbol",!0)||v[i?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}i.isArray(v)||(v=[v,v]),"number"===typeof y&&(y=[y,y]),h.from.each((function(t){b(f,t,!0),b(d,t,!1)})),p.each((function(t){var e=p.getItemModel(t).get("lineStyle.color");p.setItemVisual(t,{color:e||f.getItemVisual(t,"color")}),p.setItemLayout(t,[f.getItemLayout(t),d.getItemLayout(t)]),p.setItemVisual(t,{fromSymbolRotate:f.getItemVisual(t,"symbolRotate"),fromSymbolSize:f.getItemVisual(t,"symbolSize"),fromSymbol:f.getItemVisual(t,"symbol"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol")})})),c.updateData(p),h.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){t.dataModel=e}))})),c.__keep=!0,c.group.silent=e.get("silent")||t.get("silent")}});function m(t,e,n){var o;o=t?i.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)})):[{name:"value",type:"float"}];var s=new r(o,n),l=new r(o,n),u=new r([],n),c=i.map(n.get("data"),i.curry(h,e,t,n));t&&(c=i.filter(c,i.curry(p,t)));var f=t?a.dimValueGetter:function(t){return t.value};return s.initData(i.map(c,(function(t){return t[0]})),null,f),l.initData(i.map(c,(function(t){return t[1]})),null,f),u.initData(i.map(c,(function(t){return t[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}t.exports=v},"30a3":function(t,e,n){var i=n("6d8b"),r=n("607d"),o=r.Dispatcher,a=n("98b7"),s=n("06ad"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(t){var e=i.indexOf(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,n=this._clips,i=n.length,r=[],o=[],a=0;a<i;a++){var s=n[a],l=s.step(t,e);l&&(r.push(l),o.push(s))}for(a=0;a<i;)n[a]._needsRemove?(n[a]=n[i-1],n.pop(),i--):a++;i=r.length;for(a=0;a<i;a++)o[a].fire(r[a]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;function e(){t._running&&(a(e),!t._paused&&t._update())}this._running=!0,a(e)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){e=e||{};var n=new s(t,e.loop,e.getter,e.setter);return this.addAnimator(n),n}},i.mixin(l,o);var u=l;t.exports=u},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"311a":function(t,e,n){var i=n("3eba");n("d01c"),n("5b69"),n("bdc0");var r=n("81ac"),o=n("0e0f");i.registerLayout(r),i.registerVisual(o)},"313e":function(t,e,n){var i=n("3eba");(function(){for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}})();var r=n("b719");(function(){for(var t in r){if(null==r||!r.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=r[t]}})(),n("0352"),n("ef97"),n("94b1"),n("c037"),n("15af"),n("8deb"),n("675c"),n("ef97a"),n("dae1"),n("23ee"),n("07e6"),n("a4b1"),n("0817"),n("311a"),n("fa52"),n("085d"),n("1111"),n("a7e2"),n("5ce2"),n("aadf"),n("6c12f"),n("d716"),n("e057"),n("cd12"),n("2f73"),n("d070"),n("2cfc"),n("f306"),n("9390"),n("7f59"),n("b11c"),n("007d"),n("cb8f"),n("2f31"),n("627c"),n("ee95"),n("db0e"),n("95a8"),n("7e32"),n("0b4b"),n("d28f"),n("0a6d"),n("7f72"),n("e4d1"),n("5450"),n("7419"),n("29a9"),n("f170"),n("8ee0")},"31d9":function(t,e,n){var i=n("6d8b"),r=i.each,o="\0__link_datas",a="\0__link_mainData";function s(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,d(e,n,t),r(n,(function(n){r(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,i.curry(l,t))}))})),e.wrapMethod("cloneShallow",i.curry(c,t)),r(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,i.curry(u,t))})),i.assert(n[e.dataType]===e)}function l(t,e){if(f(this)){var n=i.extend({},this[o]);n[this.dataType]=e,d(e,n,t)}else p(e,this.dataType,this[a],t);return e}function u(t,e){return t.struct&&t.struct.update(this),e}function c(t,e){return r(e[o],(function(n,i){n!==e&&p(n.cloneShallow(),i,e,t)})),e}function h(t){var e=this[a];return null==t||null==e?e:e[o][t]}function f(t){return t[a]===t}function d(t,e,n){t[o]={},r(e,(function(e,i){p(e,i,t,n)}))}function p(t,e,n,i){n[o][e]=t,t[a]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=h}var g=s;t.exports=g},"320a":function(t,e,n){for(var i=n("6d8b"),r=n("f279"),o=[126,25],a=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l][0]/=10.5,a[s][l][1]/=-14,a[s][l][0]+=o[0],a[s][l][1]+=o[1];function u(t,e){"china"===t&&e.push(new r("南海诸岛",i.map(a,(function(t){return{type:"polygon",exterior:t}})),o))}t.exports=u},"32a1":function(t,e,n){var i=n("6d8b"),r=n("7dcf"),o=n("ef6a"),a=n("5576"),s=i.bind,l=r.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,n,r){l.superApply(this,"render",arguments),this._range=t.getPercentRange(),i.each(this.getTargetCoordInfo(),(function(e,r){var o=i.map(e,(function(t){return a.generateCoordId(t.model)}));i.each(e,(function(e){var l=e.model,c={};i.each(["pan","zoom","scrollMove"],(function(t){c[t]=s(u[t],this,e,r)}),this),a.register(n,{coordId:a.generateCoordId(l),allCoordIds:o,containsPoint:function(t,e,n){return l.coordinateSystem.containPoint([e,n])},dataZoomId:t.id,dataZoomModel:t,getRange:c})}),this)}),this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(t,e,n,i){var r=this._range,a=r.slice(),s=t.axisModels[0];if(s){var l=h[e](null,[i.originX,i.originY],s,n,t),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/i.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,f.minSpan,f.maxSpan),this._range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:c((function(t,e,n,i,r,o){var a=h[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:c((function(t,e,n,i,r,o){var a=h[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function c(t){return function(e,n,i,r){var a=this._range,s=a.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,n,i,r);return o(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},f=l;t.exports=f},3301:function(t,e,n){var i=n("6d8b"),r=n("6179"),o=n("b1d4"),a=n("93d0"),s=a.SOURCE_FORMAT_ORIGINAL,l=n("2f45"),u=l.getDimensionTypeByAxis,c=n("e0d3"),h=c.getDataItemValue,f=n("2039"),d=n("8b7f"),p=d.getCoordSysInfoBySeries,g=n("ec6f"),v=n("ee1a"),m=v.enableDataStack,y=n("0f99"),b=y.makeSeriesEncodeForAxisCoordSys;function _(t,e,n){n=n||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var a,s=e.get("coordinateSystem"),l=f.get(s),c=p(e);c&&(a=i.map(c.coordSysDims,(function(t){var e={name:t},n=c.axisMap.get(t);if(n){var i=n.get("type");e.type=u(i)}return e}))),a||(a=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,d,v=o(t,{coordDimensions:a,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?i.curry(b,a,e):null});c&&i.each(v,(function(t,e){var n=t.coordDim,i=c.categoryAxisMap.get(n);i&&(null==h&&(h=e),t.ordinalMeta=i.getOrdinalMeta()),null!=t.otherDims.itemName&&(d=!0)})),d||null==h||(v[h].otherDims.itemName=0);var y=m(e,v),_=new r(v,e);_.setCalculationInfo(y);var w=null!=h&&x(t)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return _.hasItemOption=!1,_.initData(t,null,w),_}function x(t){if(t.sourceFormat===s){var e=w(t.data||[]);return null!=e&&!i.isArray(h(e))}}function w(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var S=_;t.exports=S},3329:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2306"),a=n("a15a"),s=a.createSymbol,l=n("3842"),u=l.parsePercent,c=l.isNumeric,h=n("e7aa"),f=h.setLabel,d=["itemStyle","borderWidth"],p=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new o.Circle,v=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis(),l=!!s.isHorizontal(),u=a.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:p[+l],categoryDim:p[1-l]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=M(r,t),n=m(r,t,e,c),o=P(r,c,n);r.setItemGraphicEl(t,o),i.add(o),B(o,c,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=M(r,t),s=m(r,t,a,c),l=R(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?D(n,c,s):n=P(r,c,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),B(n,c,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&L(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},dispose:r.noop,remove:function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){L(i,e.dataIndex,t,e)})):n.removeAll()}});function m(t,e,n,i){var o=t.getItemLayout(e),a=n.get("symbolRepeat"),s=n.get("symbolClip"),l=n.get("symbolPosition")||"start",c=n.get("symbolRotate"),h=(c||0)*Math.PI/180||0,f=n.get("symbolPatternSize")||2,d=n.isAnimationEnabled(),p={dataIndex:e,layout:o,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:s,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:h,animationModel:d?n:null,hoverAnimation:d&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};y(n,a,o,i,p),_(t,e,o,a,s,p.boundingLength,p.pxSign,f,i,p),x(n,p.symbolScale,h,i,p);var g=p.symbolSize,v=n.get("symbolOffset");return r.isArray(v)&&(v=[u(v[0],g[0]),u(v[1],g[1])]),w(n,g,o,a,s,v,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,i,p),p}function y(t,e,n,i,o){var a,s=i.valueDim,l=t.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(n[s.wh]<=0);if(r.isArray(l)){var f=[b(u,l[0])-c,b(u,l[1])-c];f[1]<f[0]&&f.reverse(),a=f[h]}else a=null!=l?b(u,l)-c:e?i.coordSysExtent[s.index][h]-c:n[s.wh];o.boundingLength=a,e&&(o.repeatCutLength=n[s.wh]),o.pxSign=a>0?1:a<0?-1:0}function b(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function _(t,e,n,i,o,a,s,l,c,h){var f=c.valueDim,d=c.categoryDim,p=Math.abs(n[d.wh]),g=t.getItemVisual(e,"symbolSize");r.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[d.index]=u(g[d.index],p),g[f.index]=u(g[f.index],i?p:Math.abs(a)),h.symbolSize=g;var v=h.symbolScale=[g[0]/l,g[1]/l];v[f.index]*=(c.isHorizontal?-1:1)*s}function x(t,e,n,i,r){var o=t.get(d)||0;o&&(g.attr({scale:e.slice(),rotation:n}),g.updateTransform(),o/=g.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o}function w(t,e,n,i,o,a,s,l,h,f,d,p){var g=d.categoryDim,v=d.valueDim,m=p.pxSign,y=Math.max(e[v.index]+l,0),b=y;if(i){var _=Math.abs(h),x=r.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;x.lastIndexOf("!")===x.length-1&&(w=!0,x=x.slice(0,x.length-1)),x=u(x,e[v.index]);var S=Math.max(y+2*x,0),C=w?0:2*x,T=c(i),A=T?i:F((_+C)/S),O=_-A*y;x=O/2/(w?A:A-1),S=y+2*x,C=w?0:2*x,T||"fixed"===i||(A=f?F((Math.abs(f)+C)/S):0),b=A*S-C,p.repeatTimes=A,p.symbolMargin=x}var M=m*(b/2),k=p.pathPosition=[];k[g.index]=n[g.wh]/2,k[v.index]="start"===s?M:"end"===s?h-M:h/2,a&&(k[0]+=a[0],k[1]+=a[1]);var I=p.bundlePosition=[];I[g.index]=n[g.xy],I[v.index]=n[v.xy];var E=p.barRectShape=r.extend({},n);E[v.wh]=m*Math.max(Math.abs(n[v.wh]),Math.abs(k[v.index]+M)),E[g.wh]=n[g.wh];var P=p.clipShape={};P[g.xy]=-n[g.xy],P[g.wh]=d.ecSize[g.wh],P[v.xy]=0,P[v.wh]=n[v.wh]}function S(t){var e=t.symbolPatternSize,n=s(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function C(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(N(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?j(t,null,p(c),n,i):j(t,null,{scale:[0,0]},n,i,(function(){r.remove(t)})),E(t,n),c++}));c<u;c++){var f=S(n);f.__pictorialAnimationIndex=c,f.__pictorialRepeatTimes=u,r.add(f);var d=p(c);j(f,{position:d.position,scale:[0,0]},{scale:d.scale,rotation:d.rotation},n,i),f.on("mouseover",g).on("mouseout",v),E(f,n)}function p(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){N(t,(function(t){t.trigger("emphasis")}))}function v(){N(t,(function(t){t.trigger("normal")}))}}function T(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?j(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=S(n),r.add(o),j(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",a).on("mouseout",s)),E(o,n)}function A(t,e,n){var i=r.extend({},e.barRectShape),a=t.__pictorialBarRect;a?j(a,null,{shape:i},e,n):(a=t.__pictorialBarRect=new o.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function O(t,e,n,i){if(n.symbolClip){var a=t.__pictorialClipPath,s=r.extend({},n.clipShape),l=e.valueDim,u=n.animationModel,c=n.dataIndex;if(a)o.updateProps(a,{shape:s},u,c);else{s[l.wh]=0,a=new o.Rect({shape:s}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var h={};h[l.wh]=n.clipShape[l.wh],o[i?"updateProps":"initProps"](a,{shape:h},u,c)}}}function M(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=k,n.isAnimationEnabled=I,n}function k(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function E(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function P(t,e,n,i){var r=new o.Group,a=new o.Group;return r.add(a),r.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?C(r,e,n):T(r,e,n),A(r,n,i),O(r,e,n,i),r.__pictorialShapeStr=R(t,n),r.__pictorialSymbolMeta=n,r}function D(t,e,n){var i=n.animationModel,r=n.dataIndex,a=t.__pictorialBundle;o.updateProps(a,{position:n.bundlePosition.slice()},i,r),n.symbolRepeat?C(t,e,n,!0):T(t,e,n,!0),A(t,n,!0),O(t,e,n,!0)}function L(t,e,n,i){var a=i.__pictorialBarRect;a&&(a.style.text=null);var s=[];N(i,(function(t){s.push(t)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),r.each(s,(function(t){o.updateProps(t,{scale:[0,0]},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function R(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function N(t,e,n){r.each(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function j(t,e,n,i,r,a){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&o[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,a)}function B(t,e,n){var i=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");N(t,(function(t){t.setColor(i),t.setStyle(r.defaults({fill:i,opacity:n.opacity},l)),o.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=n.z2}));var h={},d=e.valueDim.posDesc[+(n.boundingLength>0)],p=t.__pictorialBarRect;f(p.style,h,s,i,e.seriesModel,a,d),o.setHoverStyle(p,h)}function F(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var z=v;t.exports=z},3397:function(t,e,n){var i=n("7a41");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"340d":function(t,e,n){var i=n("6d8b"),r=n("e887"),o=n("4e47"),a=n("80f0"),s=n("eda2"),l=s.windowOpen,u="sunburstRootToNode",c=r.extend({type:"sunburst",init:function(){},render:function(t,e,n,r){var s=this;this.seriesModel=t,this.api=n,this.ecModel=e;var l=t.getData(),u=l.tree.root,c=t.getViewRoot(),h=this.group,f=t.get("renderLabelForZeroData"),d=[];c.eachNode((function(t){d.push(t)}));var p=this._oldChildren||[];if(m(d,p),_(u,c),r&&r.highlight&&r.highlight.piece){var g=t.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(g)}else if(r&&r.unhighlight){var v=this.virtualPiece;!v&&u.children.length&&(v=u.children[0].piece),v&&v.onNormal()}function m(t,e){function n(t){return t.getId()}function r(n,i){var r=null==n?null:t[n],o=null==i?null:e[i];y(r,o)}0===t.length&&0===e.length||new a(e,t,n,n).add(r).update(r).remove(i.curry(r,null)).execute()}function y(n,i){if(f||!n||n.getValue()||(n=null),n!==u&&i!==u)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",t,e),l.setItemGraphicEl(n.dataIndex,i.piece)):b(i);else if(n){var r=new o(n,t,e);h.add(r),l.setItemGraphicEl(n.dataIndex,r)}}function b(t){t&&t.piece&&(h.remove(t.piece),t.piece=null)}function _(n,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",t,e):(s.virtualPiece=new o(n,t,e),h.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var r=function(t){s._rootToNode(i.parentNode)};i.piece._onclickEvent=r,s.virtualPiece.on("click",r)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=d},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";l(a,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}}}),h=c;t.exports=h},3410:function(t,e,n){var i=n("23e7"),r=n("d039"),o=n("7b0b"),a=n("e163"),s=n("e177"),l=r((function(){a(1)}));i({target:"Object",stat:!0,forced:l,sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},"342d":function(t,e,n){var i=n("cbe5"),r=n("20c8"),o=n("ee84"),a=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},f=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(h(t,e))};function d(t,e,n,i,r,o,c,d,p,g,v){var m=p*(u/180),y=l(m)*(t-n)/2+s(m)*(e-i)/2,b=-1*s(m)*(t-n)/2+l(m)*(e-i)/2,_=y*y/(c*c)+b*b/(d*d);_>1&&(c*=a(_),d*=a(_));var x=(r===o?-1:1)*a((c*c*(d*d)-c*c*(b*b)-d*d*(y*y))/(c*c*(b*b)+d*d*(y*y)))||0,w=x*c*b/d,S=x*-d*y/c,C=(t+n)/2+l(m)*w-s(m)*S,T=(e+i)/2+s(m)*w+l(m)*S,A=f([1,0],[(y-w)/c,(b-S)/d]),O=[(y-w)/c,(b-S)/d],M=[(-1*y-w)/c,(-1*b-S)/d],k=f(O,M);h(O,M)<=-1&&(k=u),h(O,M)>=1&&(k=0),0===o&&k>0&&(k-=2*u),1===o&&k<0&&(k+=2*u),v.addData(g,C,T,c,d,A,k,m,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t){if(!t)return new r;for(var e,n=0,i=0,o=n,a=i,s=new r,l=r.CMD,u=t.match(p),c=0;c<u.length;c++){for(var h,f=u[c],v=f.charAt(0),m=f.match(g)||[],y=m.length,b=0;b<y;b++)m[b]=parseFloat(m[b]);var _=0;while(_<y){var x,w,S,C,T,A,O,M=n,k=i;switch(v){case"l":n+=m[_++],i+=m[_++],h=l.L,s.addData(h,n,i);break;case"L":n=m[_++],i=m[_++],h=l.L,s.addData(h,n,i);break;case"m":n+=m[_++],i+=m[_++],h=l.M,s.addData(h,n,i),o=n,a=i,v="l";break;case"M":n=m[_++],i=m[_++],h=l.M,s.addData(h,n,i),o=n,a=i,v="L";break;case"h":n+=m[_++],h=l.L,s.addData(h,n,i);break;case"H":n=m[_++],h=l.L,s.addData(h,n,i);break;case"v":i+=m[_++],h=l.L,s.addData(h,n,i);break;case"V":i=m[_++],h=l.L,s.addData(h,n,i);break;case"C":h=l.C,s.addData(h,m[_++],m[_++],m[_++],m[_++],m[_++],m[_++]),n=m[_-2],i=m[_-1];break;case"c":h=l.C,s.addData(h,m[_++]+n,m[_++]+i,m[_++]+n,m[_++]+i,m[_++]+n,m[_++]+i),n+=m[_-2],i+=m[_-1];break;case"S":x=n,w=i;var I=s.len(),E=s.data;e===l.C&&(x+=n-E[I-4],w+=i-E[I-3]),h=l.C,M=m[_++],k=m[_++],n=m[_++],i=m[_++],s.addData(h,x,w,M,k,n,i);break;case"s":x=n,w=i;I=s.len(),E=s.data;e===l.C&&(x+=n-E[I-4],w+=i-E[I-3]),h=l.C,M=n+m[_++],k=i+m[_++],n+=m[_++],i+=m[_++],s.addData(h,x,w,M,k,n,i);break;case"Q":M=m[_++],k=m[_++],n=m[_++],i=m[_++],h=l.Q,s.addData(h,M,k,n,i);break;case"q":M=m[_++]+n,k=m[_++]+i,n+=m[_++],i+=m[_++],h=l.Q,s.addData(h,M,k,n,i);break;case"T":x=n,w=i;I=s.len(),E=s.data;e===l.Q&&(x+=n-E[I-4],w+=i-E[I-3]),n=m[_++],i=m[_++],h=l.Q,s.addData(h,x,w,n,i);break;case"t":x=n,w=i;I=s.len(),E=s.data;e===l.Q&&(x+=n-E[I-4],w+=i-E[I-3]),n+=m[_++],i+=m[_++],h=l.Q,s.addData(h,x,w,n,i);break;case"A":S=m[_++],C=m[_++],T=m[_++],A=m[_++],O=m[_++],M=n,k=i,n=m[_++],i=m[_++],h=l.A,d(M,k,n,i,A,O,S,C,T,h,s);break;case"a":S=m[_++],C=m[_++],T=m[_++],A=m[_++],O=m[_++],M=n,k=i,n+=m[_++],i+=m[_++],h=l.A,d(M,k,n,i,A,O,S,C,T,h,s);break}}"z"!==v&&"Z"!==v||(h=l.Z,s.addData(h),n=o,i=a),e=h}return s.toStatic(),s}function m(t,e){var n=v(t);return e=e||{},e.buildPath=function(t){if(t.setData){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e)}else{e=t;n.rebuildPath(e)}},e.applyTransform=function(t){o(n,t),this.dirty(!0)},e}function y(t,e){return new i(m(t,e))}function b(t,e){return i.extend(m(t,e))}function _(t,e){for(var n=[],r=t.length,o=0;o<r;o++){var a=t[o];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var s=new i(e);return s.createPathProxy(),s.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},s}e.createFromString=y,e.extendFromString=b,e.mergePath=_},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"347f":function(t,e,n){var i=n("6d8b"),r=n("9850"),o=n("1687"),a=n("2306"),s=n("f934"),l=n("933b"),u=n("08c3"),c=n("a15a"),h=c.createSymbol,f=n("697e"),d=n("3842"),p=n("eda2"),g=p.encodeHTML,v=i.bind,m=i.each,y=Math.PI,b=l.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,n,i){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return g(s.scale.getLabel(t))},m(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,o,s,t)}),this),this._renderAxisLabel(r,a,s,t),this._position(r,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n=t.get("label.position"),i=t.get("orient"),r=_(t,e);null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2<e.getHeight()/2?"-":"+":r.x+r.width/2<e.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]);var o,a,s,l,u={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},f="vertical"===i?r.height:r.width,d=t.getModel("controlStyle"),p=d.get("show",!0),g=p?d.get("itemSize"):0,v=p?d.get("itemGap"):0,m=g+v,b=t.get("label.rotate")||0;b=b*y/180;var x=d.get("position",!0),w=p&&d.get("showPlayBtn",!0),S=p&&d.get("showPrevBtn",!0),C=p&&d.get("showNextBtn",!0),T=0,A=f;return"left"===x||"bottom"===x?(w&&(o=[0,0],T+=m),S&&(a=[T,0],T+=m),C&&(s=[A-g,0],A-=m)):(w&&(o=[A-g,0],A-=m),S&&(a=[0,0],T+=m),C&&(s=[A-g,0],A-=m)),l=[T,A],t.get("inverse")&&l.reverse(),{viewRect:r,mainLength:f,orient:i,rotation:h[i],labelRotation:b,labelPosOpt:n,labelAlign:t.get("label.align")||u[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||c[i],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:v}},_position:function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var a=o.create(),s=r.x,l=r.y+r.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-y/2),o.translate(a,a,[s,l]),r=r.clone(),r.applyTransform(a)}var u=m(r),c=m(n.getBoundingRect()),h=m(i.getBoundingRect()),f=n.position,d=i.position;d[0]=f[0]=u[0][0];var p=t.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;b(f,c,u,1,g),b(d,h,u,1,1-g)}else{g=p>=0?0:1;b(f,c,u,1,g),d[1]=f[1]+p}function v(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function b(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.attr("position",f),i.attr("position",d),n.rotation=i.rotation=t.rotation,v(n),v(i)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),r=f.createScaleByModel(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var a=new u("value",r,t.axisExtent,i);return a.model=e,a},_createGroup:function(t){var e=this["_"+t]=new a.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,r){var o=n.getExtent();r.get("lineStyle.show")&&e.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:i.extend({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,i){var r=i.getData(),o=n.scale.getTicks();m(o,(function(t){var o=n.dataToCoord(t),s=r.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[o,0],onclick:v(this._changeTimeline,this,t)},h=w(s,l,e,c);a.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=i):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,i){var r=n.getLabelModel();if(r.get("show")){var o=i.getData(),s=n.getViewLabels();m(s,(function(i){var r=i.tickValue,s=o.getItemModel(r),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),h=new a.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:v(this._changeTimeline,this,r),silent:!1});a.setTextStyle(h.style,l,{text:i.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),a.setHoverStyle(h,a.setTextStyle({},u))}),this)}},_renderControl:function(t,e,n,i){var r=t.controlSize,o=t.rotation,s=i.getModel("controlStyle").getItemStyle(),l=i.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-r/2,r,r],c=i.getPlayState(),h=i.get("inverse",!0);function f(t,n,c,h){if(t){var f={position:t,origin:[r/2,0],rotation:h?-o:0,rectHover:!0,style:s,onclick:c},d=x(i,n,u,f);e.add(d),a.setHoverStyle(d,l)}}f(t.nextBtnPosition,"controlStyle.nextIcon",v(this._changeTimeline,this,h?"-":"+")),f(t.prevBtnPosition,"controlStyle.prevIcon",v(this._changeTimeline,this,h?"+":"-")),f(t.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),v(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=v(s._handlePointerDrag,s),t.ondragend=v(s._handlePointerDragend,s),S(t,o,n,i,!0)},onUpdate:function(t){S(t,o,n,i)}};this._currentPointer=w(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=d.asc(i.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){function t(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(v(t,this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return a.applyTransform(t,e,!0)},_findNearestTick:function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)})),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function _(t,e){return s.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function x(t,e,n,i){var o=i.style,s=a.createIcon(t.get(e),i||{},new r(n[0],n[1],n[2],n[3]));return o&&s.setStyle(o),s}function w(t,e,n,r,o,a){var s=e.get("color");if(o)o.setColor(s),n.add(o),a&&a.onUpdate(o);else{var l=t.get("symbol");o=h(l,-1,-1,2,2,s),o.setStyle("strokeNoScale",!0),n.add(o),a&&a.onCreate(o)}var u=e.getItemStyle(["color","symbol","symbolSize"]);o.setStyle(u),r=i.merge({rectHover:!0,z2:100},r,!0);var c=t.get("symbolSize");c=c instanceof Array?c.slice():[+c,+c],c[0]/=2,c[1]/=2,r.scale=c;var f=t.get("symbolOffset");if(f){var p=r.position=r.position||[0,0];p[0]+=d.parsePercent(f[0],c[0]),p[1]+=d.parsePercent(f[1],c[1])}var g=t.get("symbolRotate");return r.rotation=(g||0)*Math.PI/180||0,o.attr(r),o.updateTransform(),o}function S(t,e,n,i,r){if(!t.dragging){var o=i.getModel("checkpointStyle"),a=n.dataToCoord(i.getData().get(["value"],e));r||!o.get("animation",!0)?t.attr({position:[a,0]}):(t.stopAnimation(!0),t.animateTo({position:[a,0]},o.get("animationDuration",!0),o.get("animationEasing",!0)))}}t.exports=b},3511:function(t,e){var n=TypeError,i=9007199254740991;t.exports=function(t){if(t>i)throw n("Maximum allowed index exceeded");return t}},3529:function(t,e,n){"use strict";var i=n("23e7"),r=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),l=n("2266"),u=n("5eed");i({target:"Promise",stat:!0,forced:u},{race:function(t){var e=this,n=a.f(e),i=n.reject,u=s((function(){var a=o(e.resolve);l(t,(function(t){r(a,e,t).then(n.resolve,i)}))}));return u.error&&i(u.value),n.promise}})},"35a1":function(t,e,n){var i=n("f5df"),r=n("dc4a"),o=n("7234"),a=n("3f8c"),s=n("b622"),l=s("iterator");t.exports=function(t){if(!o(t))return r(t,l)||r(t,"@@iterator")||a[i(t)]}},3790:function(t,e,n){var i=n("3a56"),r=i.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"}}}),o=r;t.exports=o},"37e8":function(t,e,n){var i=n("83ab"),r=n("aed9"),o=n("9bf2"),a=n("825a"),s=n("fc6a"),l=n("df75");e.f=i&&!r?Object.defineProperties:function(t,e){a(t);var n,i=s(e),r=l(e),u=r.length,c=0;while(u>c)o.f(t,n=r[c++],i[n]);return t}},3835:function(t,e,n){"use strict";function i(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return s}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("14d9");function r(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(c){u=!0,r=c}finally{try{if(!l&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw r}}return s}}var o=n("06c5");n("d9e2");function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){return i(t)||r(t,e)||Object(o["a"])(t,e)||a()}},3842:function(t,e,n){var i=n("6d8b"),r=1e-4;function o(t){return t.replace(/^\s+|\s+$/g,"")}function a(t,e,n,i){var r=e[1]-e[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*o+n[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?o(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function u(t){return t.sort((function(t,e){return t-e})),t}function c(t){if(t=+t,isNaN(t))return 0;var e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function h(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r}function f(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function d(t,e,n){if(!t[e])return 0;var r=i.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;var o=Math.pow(10,n),a=i.map(t,(function(t){return(isNaN(t)?0:t)/r*o*100})),s=100*o,l=i.map(a,(function(t){return Math.floor(t)})),u=i.reduce(l,(function(t,e){return t+e}),0),c=i.map(a,(function(t,e){return t-l[e]}));while(u<s){for(var h=Number.NEGATIVE_INFINITY,f=null,d=0,p=c.length;d<p;++d)c[d]>h&&(h=c[d],f=d);++l[f],c[f]=0,++u}return l[e]/o}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-r&&t<r}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(t){if(t instanceof Date)return t;if("string"===typeof t){var e=m.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function b(t){return Math.pow(10,_(t))}function _(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function x(t,e){var n,i=_(t),r=Math.pow(10,i),o=t/r;return n=e?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,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function w(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function S(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!==1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]===(n?-1:1)||!n&&s(t,e,1))}}function C(t){return t-parseFloat(t)>=0}e.linearMap=a,e.parsePercent=s,e.round=l,e.asc=u,e.getPrecision=c,e.getPrecisionSafe=h,e.getPixelPrecision=f,e.getPercentWithPrecision=d,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=v,e.parseDate=y,e.quantity=b,e.quantityExponent=_,e.nice=x,e.quantile=w,e.reformIntervals=S,e.isNumeric=C},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},"38a2":function(t,e,n){var i=n("2b17"),r=i.retrieveRawValue,o=n("eda2"),a=o.getTooltipMarker,s=o.formatTpl,l=n("e0d3"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"color"),c=n.getItemVisual(t,"borderColor"),h=this.ecModel.getComponent("tooltip"),f=h&&h.get("renderMode"),d=u(f),p=this.mainType,g="series"===p,v=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:o,dataIndex:r,data:s,dataType:e,value:i,color:l,borderColor:c,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:a({color:l,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,i,o){e=e||"normal";var a=this.getData(n),l=a.getItemModel(t),u=this.getDataParams(t,n);null!=i&&u.value instanceof Array&&(u.value=u.value[i]);var h=l.get("normal"===e?[o||"label","formatter"]:[e,o||"label","formatter"]);if("function"===typeof h)return u.status=e,u.dimensionIndex=i,h(u);if("string"===typeof h){var f=s(h,u);return f.replace(c,(function(e,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),r(a,t,n)}))}},getRawValue:function(t,e){return r(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},3901:function(t,e,n){var i=n("282b"),r=i([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(t){var e=r(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[i,i]:[n,n])}};t.exports=o},"392f":function(t,e,n){var i=n("6d8b"),r=i.inherits,o=n("19eb"),a=n("9850");function s(t){o.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},s.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},s.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},s.prototype.brush=function(t,e){for(var n=this._cursor;n<this._displayables.length;n++){var i=this._displayables[n];i.beforeBrush&&i.beforeBrush(t),i.brush(t,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(t)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){i=this._temporaryDisplayables[n];i.beforeBrush&&i.beforeBrush(t),i.brush(t,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new a(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(l)),t.union(i)}this._rect=t}return this._rect},s.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(t,e))return!0}return!1},r(s,o);var u=s;t.exports=u},3934:function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"393a":function(t,e,n){"use strict";var i=n("e444"),r=n("512c"),o=n("ba01"),a=n("051b"),s=n("8a0d"),l=n("26dd"),u=n("92f0"),c=n("ce7a"),h=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,m,y,b,_){l(n,e,m);var x,w,S,C=function(t){if(!f&&t in M)return M[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",A=y==g,O=!1,M=t.prototype,k=M[h]||M[d]||y&&M[y],I=k||C(y),E=y?A?C("entries"):I:void 0,P="Array"==e&&M.entries||k;if(P&&(S=c(P.call(new t)),S!==Object.prototype&&S.next&&(u(S,T,!0),i||"function"==typeof S[h]||a(S,h,v))),A&&k&&k.name!==g&&(O=!0,I=function(){return k.call(this)}),i&&!_||!f&&!O&&M[h]||a(M,h,I),s[e]=I,s[T]=v,y)if(x={values:A?I:C(g),keys:b?I:C(p),entries:E},_)for(w in x)w in M||o(M,w,x[w]);else r(r.P+r.F*(f||O),e,x);return x}},3942:function(t,e,n){var i=n("3eba"),r=n("6d8b");i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),e.resetOption("timeline"),r.defaults({currentIndex:n.option.currentIndex},t)})),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))},3970:function(t,e,n){var i=n("4f85"),r=n("3301"),o=n("2039"),a=i.extend({type:"series.heatmap",getInitialData:function(t,e){return r(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=o.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=a},"39ad":function(t,e,n){var i=n("6ca1"),r=n("d16a"),o=n("9d11");t.exports=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},"3a34":function(t,e,n){"use strict";var i=n("83ab"),r=n("e8b5"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(r(t)&&!a(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a56":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("22d1"),s=n("e0d3"),l=n("50e5"),u=n("cc39"),c=o.each,h=l.eachAxisDim,f=r.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=d(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var e=d(t);o.merge(this.option,t,!0),o.merge(this.settledOption,e,!0),this.doInit(e)},doInit:function(t){var e=this.option;a.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),p(this,t);var n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,n,i,r){var o=this.dependentModels[e.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new u(e.name,n,this,r));t[e.name+"_"+n]=a}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();h((function(e){var n=e.axisIndex;t[n]=s.normalizeToArray(t[n])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;h((function(n){null!=t[n.axisIndex]&&(e=!0)}),this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),n=this.option,i=this.dependentModels;if(t){var r="vertical"===e?"y":"x";i[r+"Axis"].length?(n[r+"AxisIndex"]=[0],t=!1):c(i.singleAxis,(function(i){t&&i.get("orient",!0)===e&&(n.singleAxisIndex=[i.componentIndex],t=!1)}))}t&&h((function(e){if(t){var i=[],r=this.dependentModels[e.axis];if(r.length&&!i.length)for(var o=0,a=r.length;o<a;o++)"category"===r[o].get("type")&&i.push(o);n[e.axisIndex]=i,i.length&&(t=!1)}}),this),t&&this.ecModel.eachSeries((function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&h((function(e){var i=n[e.axisIndex],r=t.get(e.axisIndex),a=t.get(e.axisId),s=t.ecModel.queryComponents({mainType:e.axis,index:r,id:a})[0];r=s.componentIndex,o.indexOf(i,r)<0&&i.push(r)}))}),this)},_autoSetOrient:function(){var t;this.eachTargetAxis((function(e){!t&&(t=e.name)}),this),this.option.orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var n=!0;return h((function(i){var r=t.get(i.axisIndex),o=this.dependentModels[i.axis][r];o&&o.get("type")===e||(n=!1)}),this),n},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return h((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;h((function(i){c(this.get(i.axisIndex),(function(r){t.call(e,i,r,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),p(this,t)},setCalculatedRange:function(t){var e=this.option;c(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(t){var e={};return c(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function p(t,e){var n=t._rangePropMode,i=t.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(t,r){var o=null!=e[t[0]],a=null!=e[t[1]];o&&!a?n[r]="percent":!o&&a?n[r]="value":i?n[r]=i[r]:o&&(n[r]="percent")}))}var g=f;t.exports=g},"3a9b":function(t,e,n){var i=n("e330");t.exports=i({}.isPrototypeOf)},"3bbe":function(t,e,n){var i=n("1626"),r=String,o=TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw o("Can't set "+r(t)+" as a prototype")}},"3c4e":function(t,e,n){"use strict";var i=function(t){return r(t)&&!o(t)};function r(t){return!!t&&"object"===typeof t}function o(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||l(t)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(t){return t.$$typeof===s}function u(t){return Array.isArray(t)?[]:{}}function c(t,e){var n=e&&!0===e.clone;return n&&i(t)?d(u(t),t,e):t}function h(t,e,n){var r=t.slice();return e.forEach((function(e,o){"undefined"===typeof r[o]?r[o]=c(e,n):i(e)?r[o]=d(t[o],e,n):-1===t.indexOf(e)&&r.push(c(e,n))})),r}function f(t,e,n){var r={};return i(t)&&Object.keys(t).forEach((function(e){r[e]=c(t[e],n)})),Object.keys(e).forEach((function(o){i(e[o])&&t[o]?r[o]=d(t[o],e[o],n):r[o]=c(e[o],n)})),r}function d(t,e,n){var i=Array.isArray(e),r=Array.isArray(t),o=n||{arrayMerge:h},a=i===r;if(a){if(i){var s=o.arrayMerge||h;return s(t,e,n)}return f(t,e,n)}return c(e,n)}d.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return d(t,n,e)}))};var p=d;t.exports=p},"3ca3":function(t,e,n){"use strict";var i=n("6547").charAt,r=n("577e"),o=n("69f3"),a=n("c6d2"),s=n("4754"),l="String Iterator",u=o.set,c=o.getterFor(l);a(String,"String",(function(t){u(this,{type:l,string:r(t),index:0})}),(function(){var t,e=c(this),n=e.string,r=e.index;return r>=n.length?s(void 0,!0):(t=i(n,r),e.index+=t.length,s(t,!1))}))},"3cd6":function(t,e,n){var i=n("6d8b"),r=n("48a9"),o=n("607d"),a=n("72b6"),s=n("2306"),l=n("3842"),u=n("ef6a"),c=n("cbb0"),h=n("e0d3"),f=l.linearMap,d=i.each,p=Math.min,g=Math.max,v=12,m=6,y=a.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,l=this._shapes.barGroup,u=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],l),c=this._applyTransform(0===n?"bottom":"top",l),h=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:i,textFont:f.getFont(),textFill:f.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,n=this._shapes,r=e.itemSize,o=this._orient,a=this._useHandle,s=c.getItemAlign(e,this.api,r),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=b()),l.add(n.inRange=b(null,a?C(this._orient):null,i.bind(this._dragHandle,this,"all",!1),i.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),h=g(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,r,h,o,s),this._createHandle(l,1,r,h,o,s)),this._createIndicator(l,r,h,o),t.add(l)},_createHandle:function(t,e,n,r,a){var l=i.bind(this._dragHandle,this,e,!1),u=i.bind(this._dragHandle,this,e,!0),c=b(_(e,r),C(this._orient),l,u);c.position[0]=n[0],t.add(c);var h=this.visualMapModel.textStyleModel,f=new s.Text({draggable:!0,drift:l,onmousemove:function(t){o.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(f);var d=["horizontal"===a?r/2:1.5*r,"horizontal"===a?0===e?-1.5*r:1.5*r:0===e?-r/2:r/2],p=this._shapes;p.handleThumbs[e]=c,p.handleLabelPoints[e]=d,p.handleLabels[e]=f},_createIndicator:function(t,e,n,i){var r=b([[0,0]],"move");r.position[0]=e[0],r.attr({invisible:!0,silent:!0}),t.add(r);var o=this.visualMapModel.textStyleModel,a=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(a);var l=["horizontal"===i?n/2:m+3,0],u=this._shapes;u.indicator=r,u.indicatorLabel=a,u.indicatorLabelPoint=l},_dragHandle:function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(t,r[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[f(e[0],n,i,!0),f(e[1],n,i,!0)]},_updateInterval:function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];u(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[f(i[0],r,o,!0),f(i[1],r,o,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(t,e,n,i){var o={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,o),s=[this.getControllerVisual(t[0],"symbolSize",o),this.getControllerVisual(t[1],"symbolSize",o)],l=this._createBarPoints(n,s);return{barColor:new r(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(t,e){var n=100,i=[],r=(t[1]-t[0])/n;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<n;o++){var a=t[0]+r*o;if(a>t[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels;d([0,1],(function(a){var l=r[a];l.setStyle("fill",e.handlesColor[a]),l.position[1]=t[a];var u=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,l=[0,a[1]],u=f(t,o,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",x(!!n,i,u,a[1]));var d={convertOpacityToAlpha:!0},p=this.getControllerVisual(t,"color",d);h.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),v=c.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",c.barGroup),y=this._orient;v.setStyle({text:(n||"")+r.formatValueText(e),textVerticalAlign:"horizontal"===y?m:"middle",textAlign:"horizontal"===y?"center":m,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=p(g(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=p(g(r[0],t),r[1]);var a=w(n,o,r),s=[t-a,t+a],l=f(t,r,o,!0),u=[f(s[0],r,o,!0),f(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var d=this._hoverLinkDataIndices,v=[];(e||S(n))&&(v=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var m=h.compressBatches(d,v);this._dispatchHighDown("downplay",c.makeHighDownBatch(m[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(m[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(e.dataType),o=r.get(n.getDataDimension(r),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,r){var o=s.getTransform(e,r?null:this.group);return s[i.isArray(t)?"applyTransform":"transformDirection"](t,o,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function b(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){o.stop(t.event)},ondragend:i})}function _(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function x(t,e,n,i){return t?[[0,-p(e,g(n,0))],[m,0],[0,p(e,g(i-n,0))]]:[[0,0],[5,-5],[5,5]]}function w(t,e,n){var i=v/2,r=t.get("hoverLinkDataSize");return r&&(i=f(r,e,n,!0)/2),i}function S(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function C(t){return"vertical"===t?"ns-resize":"ew-resize"}var T=y;t.exports=T},"3eba":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("697e7")),o=n("6d8b"),a=n("41ef"),s=n("22d1"),l=n("04f6"),u=n("1fab"),c=n("7e63"),h=n("843e"),f=n("2039"),d=n("ca98"),p=n("fb05"),g=n("d15d"),v=n("6cb7"),m=n("4f85"),y=n("b12f"),b=n("e887"),_=n("2306"),x=n("e0d3"),w=n("88b3"),S=w.throttle,C=n("fd63"),T=n("b809"),A=n("998c"),O=n("69ff"),M=n("c533"),k=n("f219");n("0352");var I=n("ec34"),E=o.assert,P=o.each,D=o.isFunction,L=o.isObject,R=v.parseClassType,N="4.9.0",j={zrender:"4.3.2"},B=1,F=1e3,z=800,V=900,H=5e3,G=1e3,W=1100,q=2e3,U=3e3,Y=3500,X=4e3,$=5e3,Z={PROCESSOR:{FILTER:F,SERIES_FILTER:z,STATISTIC:H},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:W,GLOBAL:q,CHART:U,POST_CHART_LAYOUT:Y,COMPONENT:X,BRUSH:$}},K="__flagInMainProcess",J="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(n,i,r){e||!this._disposed?(n=n&&n.toLowerCase(),u.prototype[t].call(this,n,i,r)):_t(this.id)}}function et(){u.call(this)}function nt(t,e,n){n=n||{},"string"===typeof e&&(e=Pt[e]),this.id,this.group,this._dom=t;var i="canvas",a=this._zr=r.init(t,{renderer:n.renderer||i,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=S(o.bind(a.flush,a),17);e=o.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new f;var s=this._api=Ct(this);function c(t,e){return t.__prio-e.__prio}l(Et,c),l(Mt,c),this._scheduler=new O(this,s,Mt,Et),u.call(this,this._ecEventProcessor=new Tt),this._messageCenter=new et,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),ft(a,this),o.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),o.mixin(et,u);var it=nt.prototype;function rt(t,e,n){if(this._disposed)_t(this.id);else{var i,r=this._model,o=this._coordSysMgr.getCoordinateSystems();e=x.parseFinder(r,e);for(var a=0;a<o.length;a++){var s=o[a];if(s[t]&&null!=(i=s[t](r,e,n)))return i}}}it._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[J]){var e=this[J].silent;this[K]=!0,at(this),ot.update.call(this),this[K]=!1,this[J]=!1,ct.call(this,e),ht.call(this,e)}else if(t.unfinished){var n=B,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),lt(this,i),t.performVisualTasks(i),mt(this,this._model,r,"remain"),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},it.getDom=function(){return this._dom},it.getZr=function(){return this._zr},it.setOption=function(t,e,n){if(this._disposed)_t(this.id);else{var i;if(L(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[K]=!0,!this._model||e){var r=new d(this._api),o=this._theme,a=this._model=new c;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(t,kt),n?(this[J]={silent:i},this[K]=!1):(at(this),ot.update.call(this),this._zr.flush(),this[J]=!1,this[K]=!1,ct.call(this,i),ht.call(this,i))}},it.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},it.getModel=function(){return this._model},it.getOption=function(){return this._model&&this._model.getOption()},it.getWidth=function(){return this._zr.getWidth()},it.getHeight=function(){return this._zr.getHeight()},it.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},it.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},it.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return o.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},it.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;P(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return P(i,(function(t){t.group.ignore=!1})),o}_t(this.id)},it.getConnectedDataURL=function(t){if(this._disposed)_t(this.id);else if(s.canvasSupported){var e="svg"===t.type,n=this.group,i=Math.min,a=Math.max,l=1/0;if(Rt[n]){var u=l,c=l,h=-l,f=-l,d=[],p=t&&t.pixelRatio||1;o.each(Lt,(function(r,s){if(r.group===n){var l=e?r.getZr().painter.getSvgDom().innerHTML:r.getRenderedCanvas(o.clone(t)),p=r.getDom().getBoundingClientRect();u=i(p.left,u),c=i(p.top,c),h=a(p.right,h),f=a(p.bottom,f),d.push({dom:l,left:p.left,top:p.top})}})),u*=p,c*=p,h*=p,f*=p;var g=h-u,v=f-c,m=o.createCanvas(),y=r.init(m,{renderer:e?"svg":"canvas"});if(y.resize({width:g,height:v}),e){var b="";return P(d,(function(t){var e=t.left-u,n=t.top-c;b+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),y.painter.getSvgRoot().innerHTML=b,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:g,height:v},style:{fill:t.connectedBackgroundColor}})),P(d,(function(t){var e=new _.Image({style:{x:t.left*p-u,y:t.top*p-c,image:t.dom}});y.add(e)})),y.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},it.convertToPixel=o.curry(rt,"convertToPixel"),it.convertFromPixel=o.curry(rt,"convertFromPixel"),it.containPixel=function(t,e){if(!this._disposed){var n,i=this._model;return t=x.parseFinder(i,t),o.each(t,(function(t,i){i.indexOf("Models")>=0&&o.each(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n|=o.containPoint(e,t))}}),this)}),this),!!n}_t(this.id)},it.getVisual=function(t,e){var n=this._model;t=x.parseFinder(n,t,{defaultMainType:"series"});var i=t.seriesModel,r=i.getData(),o=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?r.indexOfRawIndex(t.dataIndex):null;return null!=o?r.getItemVisual(o,e):r.getVisual(e)},it.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},it.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var ot={prepareAndUpdate:function(t){at(this),ot.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,o=this._scheduler;if(e){o.restoreData(e,t),o.performSeriesTasks(e),r.create(e,n),o.performDataProcessorTasks(e,t),lt(this,e),r.update(e,n),pt(e),o.performVisualTasks(e,t),gt(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)i.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}yt(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var r=[];e.eachComponent((function(o,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,i,t);l&&l.update&&r.push(s)}else r.push(s)}));var a=o.createHashMap();e.eachSeries((function(r){var o=n._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,e,i,t);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),mt(n,e,i,t,a),yt(e,this._api)}},updateView:function(t){var e=this._model;e&&(b.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),gt(this,this._model,this._api,t),yt(e,this._api))},updateVisual:function(t){ot.update.call(this,t)},updateLayout:function(t){ot.update.call(this,t)}};function at(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),dt(t,"component",e,n),dt(t,"chart",e,n),n.plan()}function st(t,e,n,i,r){var a=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;null!=u&&(u=o.createHashMap(x.normalizeToArray(u))),a&&a.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else P(t._componentsViews.concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}}function lt(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function ut(t,e){var n=t.type,i=t.escapeConnect,r=At[n],a=r.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&R(s[0]),this[K]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=o.map(t.batch,(function(e){return e=o.defaults(o.extend({},e),t),e.batch=null,e})));var h,f=[],d="highlight"===n||"downplay"===n;P(u,(function(t){h=r.action(t,this._model,this._api),h=h||o.extend({},t),h.type=a.event||h.type,f.push(h),d?st(this,l,t,"series"):s&&st(this,l,t,s.main,s.sub)}),this),"none"===l||d||s||(this[J]?(at(this),ot.update.call(this,t),this[J]=!1):ot[l].call(this,t)),h=c?{type:a.event||n,escapeConnect:i,batch:f}:f[0],this[K]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ct(t){var e=this._pendingActions;while(e.length){var n=e.shift();ut.call(this,n,t)}}function ht(t){!t&&this.trigger("updated")}function ft(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[J]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function dt(t,e,n,i){for(var r="component"===e,o=r?t._componentsViews:t._chartsViews,a=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;u<o.length;u++)o[u].__alive=!1;function c(t){var e="_ec_"+t.id+"_"+t.type,u=a[e];if(!u){var c=R(t.type),h=r?y.getClass(c.main,c.sub):b.getClass(c.sub);u=new h,u.init(n,l),a[e]=u,o.push(u),s.add(u.group)}t.__viewId=u.__id=e,u.__alive=!0,u.__model=t,u.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!r&&i.prepareView(u,t,n,l)}r?n.eachComponent((function(t,e){"series"!==t&&c(e)})):n.eachSeries(c);for(u=0;u<o.length;){var h=o[u];h.__alive?u++:(!r&&h.renderTask.dispose(),s.remove(h.group),h.dispose(n,l),o.splice(u,1),delete a[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function pt(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function gt(t,e,n,i){vt(t,e,n,i),P(t._chartsViews,(function(t){t.__alive=!1})),mt(t,e,n,i),P(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))}function vt(t,e,n,i,r){P(r||t._componentsViews,(function(t){var r=t.__model;t.render(r,e,n,i),St(r,t)}))}function mt(t,e,n,i,r){var o,a=t._scheduler;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var s=n.renderTask;a.updatePayload(s,i),r&&r.get(e.uid)&&s.dirty(),o|=s.perform(a.getPerformArgs(s)),n.group.silent=!!e.get("silent"),St(e,n),wt(e,n)})),a.unfinished|=o,xt(t,e),T(t._zr.dom,e)}function yt(t,e){P(It,(function(n){n(t,e)}))}it.resize=function(t){if(this._disposed)_t(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[K]=!0,n&&at(this),ot.update.call(this),this[K]=!1,ct.call(this,i),ht.call(this,i)}}},it.showLoading=function(t,e){if(this._disposed)_t(this.id);else if(L(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Dt[t]){var n=Dt[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},it.hideLoading=function(){this._disposed?_t(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},it.makeActionFromEvent=function(t){var e=o.extend({},t);return e.type=Ot[t.type],e},it.dispatchAction=function(t,e){this._disposed?_t(this.id):(L(e)||(e={silent:!!e}),At[t.type]&&this._model&&(this[K]?this._pendingActions.push(t):(ut.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&s.browser.weChat&&this._throttledZrFlush(),ct.call(this,e.silent),ht.call(this,e.silent))))},it.appendData=function(t){if(this._disposed)_t(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);i.appendData(t),this._scheduler.unfinished=!0}},it.on=tt("on",!1),it.off=tt("off",!1),it.one=tt("one",!1);var bt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function _t(t){}function xt(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){r++})),r>e.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function wt(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",n)}))}))}function St(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function Ct(t){var e=t._coordSysMgr;return o.extend(new h(t),{getCoordinateSystems:o.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}}})}function Tt(){this.eventInfo}it._initEvents=function(){P(bt,(function(t){var e=function(e){var n,i=this.getModel(),r=e.target,a="globalout"===t;if(a)n={};else if(r&&null!=r.dataIndex){var s=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=s&&s.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(n=o.extend({},r.eventData));if(n){var l=n.componentType,u=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=n.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:n,model:c,view:h},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),P(Ot,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},it.isDisposed=function(){return this._disposed},it.clear=function(){this._disposed?_t(this.id):this.setOption({series:[]},!0)},it.dispose=function(){if(this._disposed)_t(this.id);else{this._disposed=!0,x.setAttribute(this.getDom(),Bt,"");var t=this._api,e=this._model;P(this._componentsViews,(function(n){n.dispose(e,t)})),P(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete Lt[this.id]}},o.mixin(nt,u),Tt.prototype={constructor:Tt,normalizeQuery:function(t){var e={},n={},i={};if(o.isString(t)){var r=R(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.each(t,(function(t,r){for(var o=!1,l=0;l<a.length;l++){var u=a[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(r)&&(n[r]=t,o=!0),o||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,o));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var At={},Ot={},Mt=[],kt=[],It=[],Et=[],Pt={},Dt={},Lt={},Rt={},Nt=new Date-0,jt=new Date-0,Bt="_echarts_instance_";function Ft(t){var e=0,n=1,i=2,r="__connectUpdateStatus";function o(t,e){for(var n=0;n<t.length;n++){var i=t[n];i[r]=e}}P(Ot,(function(a,s){t._messageCenter.on(s,(function(a){if(Rt[t.group]&&t[r]!==e){if(a&&a.escapeConnect)return;var s=t.makeActionFromEvent(a),l=[];P(Lt,(function(e){e!==t&&e.group===t.group&&l.push(e)})),o(l,e),P(l,(function(t){t[r]!==n&&t.dispatchAction(s)})),o(l,i)}}))}))}function zt(t,e,n){var i=qt(t);if(i)return i;var r=new nt(t,e,n);return r.id="ec_"+Nt++,Lt[r.id]=r,x.setAttribute(t,Bt,r.id),Ft(r),r}function Vt(t){if(o.isArray(t)){var e=t;t=null,P(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+jt++,P(e,(function(e){e.group=t}))}return Rt[t]=!0,t}function Ht(t){Rt[t]=!1}var Gt=Ht;function Wt(t){"string"===typeof t?t=Lt[t]:t instanceof nt||(t=qt(t)),t instanceof nt&&!t.isDisposed()&&t.dispose()}function qt(t){return Lt[x.getAttribute(t,Bt)]}function Ut(t){return Lt[t]}function Yt(t,e){Pt[t]=e}function Xt(t){kt.push(t)}function $t(t,e){ne(Mt,t,e,F)}function Zt(t){It.push(t)}function Kt(t,e,n){"function"===typeof e&&(n=e,e="");var i=L(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,E(Q.test(i)&&Q.test(e)),At[i]||(At[i]={action:n,actionInfo:t}),Ot[e]=i}function Jt(t,e){f.register(t,e)}function Qt(t){var e=f.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function te(t,e){ne(Et,t,e,G,"layout")}function ee(t,e){ne(Et,t,e,U,"visual")}function ne(t,e,n,i,r){(D(e)||L(e))&&(n=e,e=i);var o=O.wrapStageHandler(n,r);return o.__prio=e,o.__raw=n,t.push(o),o}function ie(t,e){Dt[t]=e}function re(t){return v.extend(t)}function oe(t){return y.extend(t)}function ae(t){return m.extend(t)}function se(t){return b.extend(t)}function le(t){o.$override("createCanvas",t)}function ue(t,e,n){I.registerMap(t,e,n)}function ce(t){var e=I.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}}ee(q,C),Xt(p),$t(V,g),ie("default",A),Kt({type:"highlight",event:"highlight",update:"highlight"},o.noop),Kt({type:"downplay",event:"downplay",update:"downplay"},o.noop),Yt("light",M),Yt("dark",k);var he={};e.version=N,e.dependencies=j,e.PRIORITY=Z,e.init=zt,e.connect=Vt,e.disConnect=Ht,e.disconnect=Gt,e.dispose=Wt,e.getInstanceByDom=qt,e.getInstanceById=Ut,e.registerTheme=Yt,e.registerPreprocessor=Xt,e.registerProcessor=$t,e.registerPostUpdate=Zt,e.registerAction=Kt,e.registerCoordinateSystem=Jt,e.getCoordinateSystemDimensions=Qt,e.registerLayout=te,e.registerVisual=ee,e.registerLoading=ie,e.extendComponentModel=re,e.extendComponentView=oe,e.extendSeriesModel=ae,e.extendChartView=se,e.setCanvasCreator=le,e.registerMap=ue,e.getMap=ce,e.dataTool=he;var fe=n("b719");(function(){for(var t in fe)fe.hasOwnProperty(t)&&(e[t]=fe[t])})()},"3f6b":function(t,e,n){t.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(t,e){t.exports={}},"3f8e":function(t,e,n){var i=n("8727"),r=i.createElement,o=n("20c8"),a=n("9850"),s=n("1687"),l=n("e86a"),u=n("a73c"),c=n("76a5"),h=o.CMD,f=Array.prototype.join,d="none",p=Math.round,g=Math.sin,v=Math.cos,m=Math.PI,y=2*Math.PI,b=180/m,_=1e-4;function x(t){return p(1e4*t)/1e4}function w(t){return t<_&&t>-_}function S(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==d}function C(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==d}function T(t,e){e&&A(t,"transform","matrix("+f.call(e,",")+")")}function A(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function O(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}function M(t,e,n,i){if(S(e,n)){var r=n?e.textFill:e.fill;r="transparent"===r?d:r,A(t,"fill",r),A(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else A(t,"fill",d);if(C(e,n)){var o=n?e.textStroke:e.stroke;o="transparent"===o?d:o,A(t,"stroke",o);var a=n?e.textStrokeWidth:e.lineWidth,s=!n&&e.strokeNoScale?i.getLineScale():1;A(t,"stroke-width",a/s),A(t,"paint-order",n?"stroke":"fill"),A(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity);var l=e.lineDash;l?(A(t,"stroke-dasharray",e.lineDash.join(",")),A(t,"stroke-dashoffset",p(e.lineDashOffset||0))):A(t,"stroke-dasharray",""),e.lineCap&&A(t,"stroke-linecap",e.lineCap),e.lineJoin&&A(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&A(t,"stroke-miterlimit",e.miterLimit)}else A(t,"stroke",d)}function k(t){for(var e=[],n=t.data,i=t.len(),r=0;r<i;){var o=n[r++],a="",s=0;switch(o){case h.M:a="M",s=2;break;case h.L:a="L",s=2;break;case h.Q:a="Q",s=4;break;case h.C:a="C",s=6;break;case h.A:var l=n[r++],u=n[r++],c=n[r++],f=n[r++],d=n[r++],_=n[r++],S=n[r++],C=n[r++],T=Math.abs(_),A=w(T-y)||(C?_>=y:-_>=y),O=_>0?_%y:_%y+y,M=!1;M=!!A||!w(T)&&O>=m===!!C;var k=x(l+c*v(d)),I=x(u+f*g(d));A&&(_=C?y-1e-4:1e-4-y,M=!0,9===r&&e.push("M",k,I));var E=x(l+c*v(d+_)),P=x(u+f*g(d+_));e.push("A",x(c),x(f),p(S*b),+M,+C,E,P);break;case h.Z:a="Z";break;case h.R:E=x(n[r++]),P=x(n[r++]);var D=x(n[r++]),L=x(n[r++]);e.push("M",E,P,"L",E+D,P,"L",E+D,P+L,"L",E,P+L,"L",E,P);break}a&&e.push(a);for(var R=0;R<s;R++)e.push(x(n[r++]))}return e.join(" ")}var I={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=r("path"),t.__svgEl=n),t.path||t.createPathProxy();var i=t.path;if(t.__dirtyPath){i.beginPath(),i.subPixelOptimize=!1,t.buildPath(i,t.shape),t.__dirtyPath=!1;var o=k(i);o.indexOf("NaN")<0&&A(n,"d",o)}M(n,e,!1,t),T(n,t.transform),null!=e.text?j(t,t.getBoundingRect()):V(t)}},E={brush:function(t){var e=t.style,n=e.image;if(n instanceof HTMLImageElement){var i=n.src;n=i}if(n){var o=e.x||0,a=e.y||0,s=e.width,l=e.height,u=t.__svgEl;u||(u=r("image"),t.__svgEl=u),n!==t.__imageSrc&&(O(u,"href",n),t.__imageSrc=n),A(u,"width",s),A(u,"height",l),A(u,"x",o),A(u,"y",a),T(u,t.transform),null!=e.text?j(t,t.getBoundingRect()):V(t)}}},P={},D=new a,L={},R=[],N={left:"start",right:"end",center:"middle",middle:"middle"},j=function(t,e){var n=t.style,i=t.transform,o=t instanceof c||n.transformText;t.__dirty&&u.normalizeTextStyle(n,!0);var a=n.text;if(null!=a&&(a+=""),u.needDrawText(a,n)){null==a&&(a=""),!o&&i&&(D.copy(e),D.applyTransform(i),e=D);var s=t.__textSvgEl;s||(s=r("text"),t.__textSvgEl=s);var h=s.style,f=n.font||l.DEFAULT_FONT,d=s.__computedFont;f!==s.__styleFont&&(h.font=s.__styleFont=f,d=s.__computedFont=h.font);var p=n.textPadding,g=n.textLineHeight,v=t.__textCotentBlock;v&&!t.__dirtyText||(v=t.__textCotentBlock=l.parsePlainText(a,d,p,g,n.truncate));var m=v.outerHeight,y=v.lineHeight;u.getBoxPosition(L,t,n,e);var b=L.baseX,_=L.baseY,x=L.textAlign||"left",w=L.textVerticalAlign;B(s,o,i,n,e,b,_);var S=l.adjustTextY(_,m,w),C=b,T=S;p&&(C=F(b,x,p),T+=p[0]),T+=y/2,M(s,n,!0,t);var A=v.canCacheByTextString,O=t.__tspanList||(t.__tspanList=[]),k=O.length;if(A&&t.__canCacheByTextString&&t.__text===a){if(t.__dirtyText&&k)for(var I=0;I<k;++I)z(O[I],x,C,T+I*y)}else{t.__text=a,t.__canCacheByTextString=A;var E=v.lines,P=E.length;for(I=0;I<P;I++){var R=O[I],N=E[I];R?R.__zrText!==N&&(R.innerHTML="",R.appendChild(document.createTextNode(N))):(R=O[I]=r("tspan"),s.appendChild(R),R.appendChild(document.createTextNode(N))),z(R,x,C,T+I*y)}if(k>P){for(;I<k;I++)s.removeChild(O[I]);O.length=P}}}};function B(t,e,n,i,r,o,a){s.identity(R),e&&n&&s.copy(R,n);var l=i.textRotation;if(r&&l){var u=i.textOrigin;"center"===u?(o=r.width/2+r.x,a=r.height/2+r.y):u&&(o=u[0]+r.x,a=u[1]+r.y),R[4]-=o,R[5]-=a,s.rotate(R,R,l),R[4]+=o,R[5]+=a}T(t,R)}function F(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function z(t,e,n,i){A(t,"dominant-baseline","middle"),A(t,"text-anchor",N[e]),A(t,"x",n),A(t,"y",i)}function V(t){t&&t.__textSvgEl&&(t.__textSvgEl.parentNode&&t.__textSvgEl.parentNode.removeChild(t.__textSvgEl),t.__textSvgEl=null,t.__tspanList=[],t.__text=null)}P.drawRectText=j,P.brush=function(t){var e=t.style;null!=e.text?j(t,!1):V(t)},e.path=I,e.image=E,e.text=P},"401b":function(t,e){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(t,e){var i=new n(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){var e=new n(2);return e[0]=t[0],e[1]=t[1],e}function a(t,e,n){return t[0]=e,t[1]=n,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function l(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function c(t){return Math.sqrt(f(t))}var h=c;function f(t){return t[0]*t[0]+t[1]*t[1]}var d=f;function p(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function g(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function v(t,e){return t[0]*e[0]+t[1]*e[1]}function m(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function y(t,e){var n=c(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function b(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var _=b;function x(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=x;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function C(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function T(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function A(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function O(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}e.create=i,e.copy=r,e.clone=o,e.set=a,e.add=s,e.scaleAndAdd=l,e.sub=u,e.len=c,e.length=h,e.lenSquare=f,e.lengthSquare=d,e.mul=p,e.div=g,e.dot=v,e.scale=m,e.normalize=y,e.distance=b,e.dist=_,e.distanceSquare=x,e.distSquare=w,e.negate=S,e.lerp=C,e.applyTransform=T,e.min=A,e.max=O},"408a":function(t,e,n){var i=n("e330");t.exports=i(1..valueOf)},"40d5":function(t,e,n){var i=n("d039");t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"414c":function(t,e,n){var i=n("3a56"),r=i.extend({type:"dataZoom.select"});t.exports=r},"41b2":function(t,e,n){"use strict";e.__esModule=!0;var i=n("3f6b"),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},"41ef":function(t,e,n){var i=n("d51b"),r={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]};function o(t){return t=Math.round(t),t<0?0:t>255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function f(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i(20),g=null;function v(t,e){g&&d(g,e),g=p.put(t,g||e.slice())}function m(t,e){if(t){e=e||[];var n=p.get(t);if(n)return d(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in r)return d(e,r[i]),v(t,e),e;if("#"!==i.charAt(0)){var o=i.indexOf("("),a=i.indexOf(")");if(-1!==o&&a+1===i.length){var s=i.substr(0,o),c=i.substr(o+1,a-(o+1)).split(","),h=1;switch(s){case"rgba":if(4!==c.length)return void f(e,0,0,0,1);h=u(c.pop());case"rgb":return 3!==c.length?void f(e,0,0,0,1):(f(e,l(c[0]),l(c[1]),l(c[2]),h),v(t,e),e);case"hsla":return 4!==c.length?void f(e,0,0,0,1):(c[3]=u(c[3]),y(c,e),v(t,e),e);case"hsl":return 3!==c.length?void f(e,0,0,0,1):(y(c,e),v(t,e),e);default:return}}f(e,0,0,0,1)}else{if(4===i.length){var g=parseInt(i.substr(1),16);return g>=0&&g<=4095?(f(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),v(t,e),e):void f(e,0,0,0,1)}if(7===i.length){g=parseInt(i.substr(1),16);return g>=0&&g<=16777215?(f(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),v(t,e),e):void f(e,0,0,0,1)}}}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return e=e||[],f(e,o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,f=((s-o)/6+l/2)/l;i===s?e=f-h:r===s?e=1/3+c-f:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}function _(t,e){var n=m(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return M(n,4===n.length?"rgba":"rgb")}}function x(t){var e=m(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),l=e[r],u=e[a],c=i-r;return n[0]=o(h(l[0],u[0],c)),n[1]=o(h(l[1],u[1],c)),n[2]=o(h(l[2],u[2],c)),n[3]=s(h(l[3],u[3],c)),n}}var S=w;function C(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),l=m(e[r]),u=m(e[a]),c=i-r,f=M([o(h(l[0],u[0],c)),o(h(l[1],u[1],c)),o(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return n?{color:f,leftIndex:r,rightIndex:a,value:i}:f}}var T=C;function A(t,e,n,i){if(t=m(t),t)return t=b(t),null!=e&&(t[0]=a(e)),null!=n&&(t[1]=u(n)),null!=i&&(t[2]=u(i)),M(y(t),"rgba")}function O(t,e){if(t=m(t),t&&null!=e)return t[3]=s(e),M(t,"rgba")}function M(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=m,e.lift=_,e.toHex=x,e.fastLerp=w,e.fastMapToColor=S,e.lerp=C,e.mapToColor=T,e.modifyHSL=A,e.modifyAlpha=O,e.stringify=M},"428f":function(t,e,n){var i=n("da84");t.exports=i},"42e5":function(t,e){var n=function(t){this.colorStops=t||[]};n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var i=n;t.exports=i},"42f6":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("22d1"),a=n("07d7"),s=n("82f9"),l=n("eda2"),u=n("3842"),c=n("2306"),h=n("133d"),f=n("f934"),d=n("4319"),p=n("17d6"),g=n("697e"),v=n("ff2e"),m=n("e0d3"),y=m.getTooltipRenderMode,b=r.bind,_=r.each,x=u.parsePercent,w=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=i.extendComponentView({type:"tooltip",init:function(t,e){if(!o.node){var n,i=t.getComponent("tooltip"),r=i.get("renderMode");this._renderMode=y(r),"html"===this._renderMode?(n=new a(e.getDom(),e,{appendToBody:i.get("appendToBody",!0)}),this._newLine="<br/>"):(n=new s(e),this._newLine="\n"),this._tooltipContent=n}},render:function(t,e,n){if(!o.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,b((function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})}))}},manuallyShowTip:function(t,e,n,i){if(i.from!==this.uid&&!o.node){var r=T(i,n);this._ticket="";var a=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var s=w;s.position=[i.x,i.y],s.update(),s.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:s},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=h(i,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:i.position,target:l.el},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},manuallyHideTip:function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(T(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var l=s.getData();t=C([l.getItemModel(o),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},_tryShow:function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=r.bind(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,i=this._tooltipModel,o=[e.offsetX,e.offsetY],a=[],s=[],u=C([e.tooltipOption,i]),c=this._renderMode,h=this._newLine,f={};_(t,(function(t){_(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value,o=[];if(e&&null!=i){var u=v.getValueLabel(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);r.each(t.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),h=a.dataIndexInside,d=l&&l.getDataParams(h);if(d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=g.getAxisRawValue(e.axis,i),d.axisValueLabel=u,d){s.push(d);var p,v=l.formatTooltip(h,!0,null,c);if(r.isObject(v)){p=v.html;var m=v.markers;r.merge(f,m)}else p=v;o.push(p)}}));var d=u;"html"!==c?a.push(o.join(h)):a.push((d?l.encodeHTML(d)+h:"")+o.join(h))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var d=e.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,d,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(u,a,s,Math.random(),o[0],o[1],d,void 0,f)}))},_showSeriesItemTooltip:function(t,e,n){var i=this._ecModel,o=e.seriesIndex,a=i.getSeriesByIndex(o),s=e.dataModel||a,l=e.dataIndex,u=e.dataType,c=s.getData(u),h=C([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),f=h.get("trigger");if(null==f||"item"===f){var d,p,g=s.getDataParams(l,u),v=s.formatTooltip(l,!1,u,this._renderMode);r.isObject(v)?(d=v.html,p=v.markers):(d=v,p=null);var m="item_"+s.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,d,g,m,t.offsetX,t.offsetY,t.position,t.target,p)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;if("string"===typeof i){var r=i;i={content:r,formatter:r}}var o=new d(i,this._tooltipModel,this._ecModel),a=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,r,o,a,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,h=t.get("formatter");a=a||t.get("position");var f=e;if(h&&"string"===typeof h)f=l.formatTpl(h,n,!0);else if("function"===typeof h){var d=b((function(e,i){e===this._ticket&&(c.setContent(i,u,t),this._updatePosition(t,a,r,o,c,n,s))}),this);this._ticket=i,f=h(n,i,d)}c.setContent(f,u,t),c.show(t),this._updatePosition(t,a,r,o,c,n,s)}},_updatePosition:function(t,e,n,i,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=o.getSize(),h=t.get("align"),d=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([n,i],a,o.el,p,{viewSize:[l,u],contentSize:c.slice()})),r.isArray(e))n=x(e[0],l),i=x(e[1],u);else if(r.isObject(e)){e.width=c[0],e.height=c[1];var g=f.getLayoutRect(e,{width:l,height:u});n=g.x,i=g.y,h=null,d=null}else if("string"===typeof e&&s){var v=M(e,p,c);n=v[0],i=v[1]}else{v=A(n,i,o,l,u,h?null:20,d?null:20);n=v[0],i=v[1]}if(h&&(n-=k(h)?c[0]/2:"right"===h?c[0]:0),d&&(i-=k(d)?c[1]/2:"bottom"===d?c[1]:0),t.get("confine")){v=O(n,i,o,l,u);n=v[0],i=v[1]}o.moveTo(n,i)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&_(e,(function(e,i){var r=e.dataByAxis||{},o=t[i]||{},a=o.dataByAxis||[];n&=r.length===a.length,n&&_(r,(function(t,e){var i=a[e]||{},r=t.seriesDataIndices||[],o=i.seriesDataIndices||[];n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&r.length===o.length,n&&_(r,(function(t,e){var i=o[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function C(t){var e=t.pop();while(t.length){var n=t.pop();n&&(d.isInstance(n)&&(n=n.get("tooltip",!0)),"string"===typeof n&&(n={formatter:n}),e=new d(n,e,e.ecModel))}return e}function T(t,e){return t.dispatchAction||r.bind(e.dispatchAction,e)}function A(t,e,n,i,r,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=o&&(t+l+o>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function O(t,e,n,i,r){var o=n.getOuterSize(),a=o.width,s=o.height;return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function M(t,e,n){var i=n[0],r=n[1],o=5,a=0,s=0,l=e.width,u=e.height;switch(t){case"inside":a=e.x+l/2-i/2,s=e.y+u/2-r/2;break;case"top":a=e.x+l/2-i/2,s=e.y-r-o;break;case"bottom":a=e.x+l/2-i/2,s=e.y+u+o;break;case"left":a=e.x-i-o,s=e.y+u/2-r/2;break;case"right":a=e.x+l+o,s=e.y+u/2-r/2}return[a,s]}function k(t){return"center"===t||"middle"===t}t.exports=S},4319:function(t,e,n){var i=n("6d8b"),r=n("22d1"),o=n("e0d3"),a=o.makeInner,s=n("625e"),l=s.enableClassExtend,u=s.enableClassCheck,c=n("3901"),h=n("9bdb"),f=n("fe21"),d=n("551f"),p=i.mixin,g=a();function v(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var i=0;i<e.length;i++)if(e[i]&&(t=t&&"object"===typeof t?t[e[i]]:null,null==t))break;return null==t&&n&&(t=n.get(e)),t}function y(t,e){var n=g(t).getParent;return n?n.call(t,e):t.parentModel}v.prototype={constructor:v,init:null,mergeOption:function(t){i.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:m(this.option,this.parsePath(t),!e&&y(this,t))},getShallow:function(t,e){var n=this.option,i=null==n?n:n[t],r=!e&&y(this,t);return null==i&&r&&(i=r.getShallow(t)),i},getModel:function(t,e){var n,i=null==t?this.option:m(this.option,t=this.parsePath(t));return e=e||(n=y(this,t))&&n.getModel(t),new v(i,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var t=this.constructor;return new t(i.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"===typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){g(this).getParent=t},isAnimationEnabled:function(){if(!r.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(v),u(v),p(v,c),p(v,h),p(v,f),p(v,d);var b=v;t.exports=b},4338:function(t,e,n){var i=n("4bf6"),r=n("2039");function o(t,e){var n=[];return t.eachComponent("singleAxis",(function(r,o){var a=new i(r,t,e);a.name="single_"+o,a.resize(r,e),r.coordinateSystem=a,n.push(a)})),t.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=n&&n.coordinateSystem}})),n}r.register("single",{create:o,dimensions:i.prototype.dimensions})},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,i="/";e.cwd=function(){return i},e.chdir=function(e){t||(t=n("df7c")),i=t.resolve(e,i)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"43b8":function(t,e,n){var i=n("2449"),r=i.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});t.exports=r},4411:function(t,e,n){for(var i=n("3eba"),r=n("55ac"),o=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<a.length;s++)i.registerAction({type:a[s],update:"updateView"},o);i.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){function n(e,n){var i=["treemapZoomToNode","treemapRootToNode"],o=r.retrieveTargetInfo(t,i,e);if(o){var a=e.getViewRoot();a&&(t.direction=r.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),e.resetViewRoot(o.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},n)}))},4436:function(t,e,n){var i=n("74cb");function r(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}r.prototype={constructor:r,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var r=this.easing,o="string"===typeof r?i[r]:r,a="function"===typeof o?o(n):n;return this.fire("frame",a),1===n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var o=r;t.exports=o},"44ad":function(t,e,n){var i=n("e330"),r=n("d039"),o=n("c6b6"),a=Object,s=i("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},"44d2":function(t,e,n){var i=n("b622"),r=n("7c73"),o=n("9bf2").f,a=i("unscopables"),s=Array.prototype;void 0==s[a]&&o(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var i=n("da84");t.exports=function(t,e){var n=i.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var i=n("861d"),r=n("c6b6"),o=n("b622"),a=o("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},"44fb":function(t,e,n){var i=n("3eba"),r=n("55ac"),o="sunburstRootToNode";i.registerAction({type:o,update:"updateView"},(function(t,e){function n(e,n){var i=r.retrieveTargetInfo(t,[o],e);if(i){var a=e.getViewRoot();a&&(t.direction=r.aboveViewRoot(a,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)}));var a="sunburstHighlight";i.registerAction({type:a,update:"updateView"},(function(t,e){function n(e,n){var i=r.retrieveTargetInfo(t,[a],e);i&&(t.highlight=i.node)}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)}));var s="sunburstUnhighlight";i.registerAction({type:s,update:"updateView"},(function(t,e){function n(e,n){t.unhighlight=!0}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)}))},4527:function(t,e,n){var i=n("2306"),r=n("6d8b");function o(t,e,n){i.Group.call(this),this._createPolyline(t,e,n)}var a=o.prototype;a._createPolyline=function(t,e,n){var r=t.getItemLayout(e),o=new i.Polyline({shape:{points:r}});this.add(o),this._updateCommonStl(t,e,n)},a.updateData=function(t,e,n){var r=t.hostModel,o=this.childAt(0),a={shape:{points:t.getItemLayout(e)}};i.updateProps(o,a,r,e),this._updateCommonStl(t,e,n)},a._updateCommonStl=function(t,e,n){var o=this.childAt(0),a=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!t.hasItemOption||(l=a.getModel("lineStyle").getLineStyle(),u=a.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=u,i.setHoverStyle(this)},a.updateLayout=function(t,e){var n=this.childAt(0);n.setShape("points",t.getItemLayout(e))},r.inherits(o,i.Group);var s=o;t.exports=s},4573:function(t,e,n){var i=n("cbe5"),r=i.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)}});t.exports=r},4650:function(t,e,n){var i=n("3eba"),r=n("6d8b");function o(t,e,n){var i,o={},a="toggleSelected"===t;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();r.each(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&i:o[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:o}:{name:e.name,selected:o}}i.registerAction("legendToggleSelect","legendselectchanged",r.curry(o,"toggleSelected")),i.registerAction("legendAllSelect","legendselectall",r.curry(o,"allSelect")),i.registerAction("legendInverseSelect","legendinverseselect",r.curry(o,"inverseSelect")),i.registerAction("legendSelect","legendselected",r.curry(o,"select")),i.registerAction("legendUnSelect","legendunselected",r.curry(o,"unSelect"))},"467f":function(t,e,n){"use strict";var i=n("2d83");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"471e":function(t,e){function n(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}t.exports=n},4738:function(t,e,n){var i=n("da84"),r=n("d256"),o=n("1626"),a=n("94ca"),s=n("8925"),l=n("b622"),u=n("6069"),c=n("6c59"),h=n("c430"),f=n("2d00"),d=r&&r.prototype,p=l("species"),g=!1,v=o(i.PromiseRejectionEvent),m=a("Promise",(function(){var t=s(r),e=t!==String(r);if(!e&&66===f)return!0;if(h&&(!d["catch"]||!d["finally"]))return!0;if(!f||f<51||!/native code/.test(t)){var n=new r((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))},o=n.constructor={};if(o[p]=i,g=n.then((function(){}))instanceof i,!g)return!0}return!e&&(u||c)&&!v}));t.exports={CONSTRUCTOR:m,REJECTION_EVENT:v,SUBCLASSING:g}},4754:function(t,e){t.exports=function(t,e){return{value:t,done:e}}},4784:function(t,e,n){var i=n("3eba"),r=n("f706"),o=n("c8ef"),a=n("1687"),s=n("87c3"),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new r(o)},render:function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i),this.group.add(r.group)},updateTransform:function(t,e,n){var i=t.getData();this.group.dirty();var r=s().reset(t);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=a.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},"480e":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("2306"),a=n("cd84"),s=n("6d8b");function l(t,e,n){var i=t[1]-t[0];e=s.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}));var r=e.length,o=0;return function(t){for(var i=o;i<r;i++){var a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}if(i===r)for(i=o-1;i>=0;i--){a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}function u(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}function c(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var h=r.extendChartView({type:"heatmap",render:function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):c(r)&&this._renderOnGeo(r,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){var r=e.coordinateSystem;r&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,i,r){var a,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");a=c.getBandWidth(),l=h.getBandWidth()}for(var f=this.group,d=t.getData(),p="itemStyle",g="emphasis.itemStyle",v="label",m="emphasis.label",y=t.getModel(p).getItemStyle(["color"]),b=t.getModel(g).getItemStyle(),_=t.getModel(v),x=t.getModel(m),w=u.type,S="cartesian2d"===w?[d.mapDimension("x"),d.mapDimension("y"),d.mapDimension("value")]:[d.mapDimension("time"),d.mapDimension("value")],C=n;C<i;C++){var T;if("cartesian2d"===w){if(isNaN(d.get(S[2],C)))continue;var A=u.dataToPoint([d.get(S[0],C),d.get(S[1],C)]);T=new o.Rect({shape:{x:Math.floor(Math.round(A[0])-a/2),y:Math.floor(Math.round(A[1])-l/2),width:Math.ceil(a),height:Math.ceil(l)},style:{fill:d.getItemVisual(C,"color"),opacity:d.getItemVisual(C,"opacity")}})}else{if(isNaN(d.get(S[1],C)))continue;T=new o.Rect({z2:1,shape:u.dataToRect([d.get(S[0],C)]).contentShape,style:{fill:d.getItemVisual(C,"color"),opacity:d.getItemVisual(C,"opacity")}})}var O=d.getItemModel(C);d.hasItemOption&&(y=O.getModel(p).getItemStyle(["color"]),b=O.getModel(g).getItemStyle(),_=O.getModel(v),x=O.getModel(m));var M=t.getRawValue(C),k="-";M&&null!=M[2]&&(k=M[2]),o.setLabelStyle(y,b,_,x,{labelFetcher:t,labelDataIndex:C,defaultText:k,isRectText:!0}),T.setStyle(y),o.setHoverStyle(T,d.hasItemOption?b:s.extend({},b)),T.incremental=r,r&&(T.useHoverLayer=!0),f.add(T),d.setItemGraphicEl(C,T)}},_renderOnGeo:function(t,e,n,i){var r=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,c=e.getData(),h=this._hmLayer||this._hmLayer||new a;h.blurSize=e.get("blurSize"),h.pointSize=e.get("pointSize"),h.minOpacity=e.get("minOpacity"),h.maxOpacity=e.get("maxOpacity");var f=t.getViewRect().clone(),d=t.getRoamTransform();f.applyTransform(d);var p=Math.max(f.x,0),g=Math.max(f.y,0),v=Math.min(f.width+f.x,i.getWidth()),m=Math.min(f.height+f.y,i.getHeight()),y=v-p,b=m-g,_=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],x=c.mapArray(_,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=p,r[1]-=g,r.push(i),r})),w=n.getExtent(),S="visualMap.continuous"===n.type?u(w,n.option.range):l(w,n.getPieceList(),n.option.selected);h.update(x,y,b,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:s.color.getColorMapper()},S);var C=new o.Image({style:{width:y,height:b,x:p,y:g,image:h.canvas},silent:!0});this.group.add(C)},dispose:function(){}});t.exports=h},"480f":function(t,e,n){var i=n("4a3f"),r=n("401b"),o=n("53f3"),a=o.getSymbolSize,s=[],l=[],u=[],c=i.quadraticAt,h=r.distSquare,f=Math.abs;function d(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],d=1/0,p=n*n,g=.1,v=.1;v<=.9;v+=.1){s[0]=c(r[0],o[0],a[0],v),s[1]=c(r[1],o[1],a[1],v);var m=f(h(s,e)-p);m<d&&(d=m,i=v)}for(var y=0;y<32;y++){var b=i+g;l[0]=c(r[0],o[0],a[0],i),l[1]=c(r[1],o[1],a[1],i),u[0]=c(r[0],o[0],a[0],b),u[1]=c(r[1],o[1],a[1],b);m=h(l,e)-p;if(f(m)<.01)break;var _=h(u,e)-p;g/=2,m<0?_>=0?i+=g:i-=g:_>=0?i-=g:i+=g}return i}function p(t,e){var n=[],o=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge((function(t,i){var c=t.getLayout(),h=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");c.__original||(c.__original=[r.clone(c[0]),r.clone(c[1])],c[2]&&c.__original.push(r.clone(c[2])));var p=c.__original;if(null!=c[2]){if(r.copy(s[0],p[0]),r.copy(s[1],p[2]),r.copy(s[2],p[1]),h&&"none"!==h){var g=a(t.node1),v=d(s,p[0],g*e);o(s[0][0],s[1][0],s[2][0],v,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],v,n),s[0][1]=n[3],s[1][1]=n[4]}if(f&&"none"!==f){g=a(t.node2),v=d(s,p[1],g*e);o(s[0][0],s[1][0],s[2][0],v,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],v,n),s[1][1]=n[1],s[2][1]=n[2]}r.copy(c[0],s[0]),r.copy(c[1],s[2]),r.copy(c[2],s[1])}else{if(r.copy(l[0],p[0]),r.copy(l[1],p[1]),r.sub(u,l[1],l[0]),r.normalize(u,u),h&&"none"!==h){g=a(t.node1);r.scaleAndAdd(l[0],l[0],u,g*e)}if(f&&"none"!==f){g=a(t.node2);r.scaleAndAdd(l[1],l[1],u,-g*e)}r.copy(c[0],l[0]),r.copy(c[1],l[1])}}))}t.exports=p},4840:function(t,e,n){var i=n("825a"),r=n("5087"),o=n("7234"),a=n("b622"),s=a("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||o(n=i(a)[s])?e:r(n)}},"485a":function(t,e,n){var i=n("c65b"),r=n("1626"),o=n("861d"),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&r(n=t.toString)&&!o(s=i(n,t)))return s;if(r(n=t.valueOf)&&!o(s=i(n,t)))return s;if("string"!==e&&r(n=t.toString)&&!o(s=i(n,t)))return s;throw a("Can't convert object to primitive value")}},"48a9":function(t,e,n){var i=n("6d8b"),r=n("42e5"),o=function(t,e,n,i,o,a){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=a||!1,r.call(this,o)};o.prototype={constructor:o},i.inherits(o,r);var a=o;t.exports=a},"48ac":function(t,e,n){var i=n("3eba"),r=i.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),o=r;t.exports=o},"48c7":function(t,e,n){var i=n("6d8b"),r=n("6cb7"),o=n("9e47"),a=n("2023"),s=r.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}i.merge(s.prototype,a);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var c=s;t.exports=c},4942:function(t,e,n){var i=n("2cf4"),r=i.debugMode,o=function(){};1===r&&(o=console.error);var a=o;t.exports=a},"498a":function(t,e,n){"use strict";var i=n("23e7"),r=n("58a8").trim,o=n("c8d2");i({target:"String",proto:!0,forced:o("trim")},{trim:function(){return r(this)}})},"49e8":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("d81e"),a=o.updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var i=e.coordinateSystem;if("geo"===i.type){var o=a(i,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===n&&r.each(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))},"4a01":function(t,e,n){var i=n("6d8b"),r=n("1fab"),o=n("607d"),a=n("a4fe");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=i.bind,n=e(l,this),o=e(u,this),a=e(c,this),s=e(h,this),d=e(f,this);r.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,r){this.disable(),this._opt=i.defaults(i.clone(r)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",o),t.on("mouseup",a)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",d))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",o),t.off("mouseup",a),t.off("mousewheel",s),t.off("pinch",d)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(o.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function u(t){if(this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!a.isTaken(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,s=e-i,l=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&o.stop(t.event),p(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:i,oldY:r,newX:e,newY:n})}}function c(t){o.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function h(t){var e=g("zoomOnMouseWheel",t,this._opt),n=g("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;d(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a})}if(n){var u=Math.abs(i),c=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);d(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:a})}}}function f(t){if(!a.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;d(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY})}}function d(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(o.stop(i.event),p(t,e,n,i,r))}function p(t,e,n,r,o){o.isAvailableBehavior=i.bind(g,null,n,r),t.trigger(e,o)}function g(t,e,n){var r=n[t];return!t||r&&(!i.isString(r)||e.event[r+"Key"])}i.mixin(s,r);var v=s;t.exports=v},"4a3f":function(t,e,n){var i=n("401b"),r=i.create,o=i.distSquare,a=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),h=1/3,f=r(),d=r(),p=r();function g(t){return t>-l&&t<l}function v(t){return t>l||t<-l}function m(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function y(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function b(t,e,n,i,r,o){var l=i+3*(e-n)-t,u=3*(n-2*e+t),f=3*(e-t),d=t-r,p=u*u-3*l*f,v=u*f-9*l*d,m=f*f-3*u*d,y=0;if(g(p)&&g(v))if(g(u))o[0]=0;else{var b=-f/u;b>=0&&b<=1&&(o[y++]=b)}else{var _=v*v-4*p*m;if(g(_)){var x=v/p,w=(b=-u/l+x,-x/2);b>=0&&b<=1&&(o[y++]=b),w>=0&&w<=1&&(o[y++]=w)}else if(_>0){var S=s(_),C=p*u+1.5*l*(-v+S),T=p*u+1.5*l*(-v-S);C=C<0?-a(-C,h):a(C,h),T=T<0?-a(-T,h):a(T,h);b=(-u-(C+T))/(3*l);b>=0&&b<=1&&(o[y++]=b)}else{var A=(2*p*u-3*l*v)/(2*s(p*p*p)),O=Math.acos(A)/3,M=s(p),k=Math.cos(O),I=(b=(-u-2*M*k)/(3*l),w=(-u+M*(k+c*Math.sin(O)))/(3*l),(-u+M*(k-c*Math.sin(O)))/(3*l));b>=0&&b<=1&&(o[y++]=b),w>=0&&w<=1&&(o[y++]=w),I>=0&&I<=1&&(o[y++]=I)}}return y}function _(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(g(a)){if(v(o)){var c=-l/o;c>=0&&c<=1&&(r[u++]=c)}}else{var h=o*o-4*a*l;if(g(h))r[0]=-o/(2*a);else if(h>0){var f=s(h),d=(c=(-o+f)/(2*a),(-o-f)/(2*a));c>=0&&c<=1&&(r[u++]=c),d>=0&&d<=1&&(r[u++]=d)}}return u}function x(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function w(t,e,n,i,r,a,l,c,h,g,v){var y,b,_,x,w,S=.005,C=1/0;f[0]=h,f[1]=g;for(var T=0;T<1;T+=.05)d[0]=m(t,n,r,l,T),d[1]=m(e,i,a,c,T),x=o(f,d),x<C&&(y=T,C=x);C=1/0;for(var A=0;A<32;A++){if(S<u)break;b=y-S,_=y+S,d[0]=m(t,n,r,l,b),d[1]=m(e,i,a,c,b),x=o(d,f),b>=0&&x<C?(y=b,C=x):(p[0]=m(t,n,r,l,_),p[1]=m(e,i,a,c,_),w=o(p,f),_<=1&&w<C?(y=_,C=w):S*=.5)}return v&&(v[0]=m(t,n,r,l,y),v[1]=m(e,i,a,c,y)),s(C)}function S(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function C(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function T(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),l=t-i,u=0;if(g(o)){if(v(a)){var c=-l/a;c>=0&&c<=1&&(r[u++]=c)}}else{var h=a*a-4*o*l;if(g(h)){c=-a/(2*o);c>=0&&c<=1&&(r[u++]=c)}else if(h>0){var f=s(h),d=(c=(-a+f)/(2*o),(-a-f)/(2*o));c>=0&&c<=1&&(r[u++]=c),d>=0&&d<=1&&(r[u++]=d)}}return u}function A(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function O(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function M(t,e,n,i,r,a,l,c,h){var g,v=.005,m=1/0;f[0]=l,f[1]=c;for(var y=0;y<1;y+=.05){d[0]=S(t,n,r,y),d[1]=S(e,i,a,y);var b=o(f,d);b<m&&(g=y,m=b)}m=1/0;for(var _=0;_<32;_++){if(v<u)break;var x=g-v,w=g+v;d[0]=S(t,n,r,x),d[1]=S(e,i,a,x);b=o(d,f);if(x>=0&&b<m)g=x,m=b;else{p[0]=S(t,n,r,w),p[1]=S(e,i,a,w);var C=o(p,f);w<=1&&C<m?(g=w,m=C):v*=.5}}return h&&(h[0]=S(t,n,r,g),h[1]=S(e,i,a,g)),s(m)}e.cubicAt=m,e.cubicDerivativeAt=y,e.cubicRootAt=b,e.cubicExtrema=_,e.cubicSubdivide=x,e.cubicProjectPoint=w,e.quadraticAt=S,e.quadraticDerivativeAt=C,e.quadraticRootAt=T,e.quadraticExtremum=A,e.quadraticSubdivide=O,e.quadraticProjectPoint=M},"4a7b":function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){e=e||{};var n={};function r(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function o(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(t[n],e[n])}function a(t){if(!i.isUndefined(e[t]))return r(void 0,e[t])}function s(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(void 0,e[n])}function l(n){return n in e?r(t[n],e[n]):n in t?r(void 0,t[n]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return i.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||o,r=e(t);i.isUndefined(r)&&e!==l||(n[t]=r)})),n}},"4a9d":function(t,e,n){var i=n("dcb3"),r=n("ff2e"),o=n("0156"),a=n("6679"),s=i.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,c=s.grid,h=i.get("type"),f=l(c,s).getOtherAxis(s).getGlobalExtent(),d=s.toGlobalCoord(s.dataToCoord(e,!0));if(h&&"none"!==h){var p=r.buildElStyle(i),g=u[h](s,d,f);g.style=p,t.graphicKey=g.type,t.pointer=g}var v=o.layout(c.model,n);r.buildCartesianSingleLabelElOption(e,t,v,n,i,a)},getHandleTransform:function(t,e,n){var i=o.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=l(o,r).getOtherAxis(r).getGlobalExtent(),u="x"===r.dim?0:1,c=t.position;c[u]+=e[u],c[u]=Math.min(a[1],c[u]),c[u]=Math.max(a[0],c[u]);var h=(s[1]+s[0])/2,f=[h,h];f[u]=c[u];var d=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:t.rotation,cursorPoint:f,tooltipOption:d[u]}}});function l(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var u={line:function(t,e,n){var i=r.makeLineShape([e,n[0]],[e,n[1]],c(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([e-i/2,n[0]],[i,o],c(t))}}};function c(t){return"x"===t.dim?0:1}a.registerAxisPointerClass("CartesianAxisPointer",s);var h=s;t.exports=h},"4aa2":function(t,e,n){var i=n("cbe5"),r=n("897a"),o=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:r(i.prototype.brush),buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(a),c=Math.sin(a);t.moveTo(u*r+n,c*r+i),t.lineTo(u*o+n,c*o+i),t.arc(n,i,o,a,s,!l),t.lineTo(Math.cos(s)*r+n,Math.sin(s)*r+i),0!==r&&t.arc(n,i,r,s,a,l),t.closePath()}});t.exports=o},"4ab1":function(t,e,n){var i=n("8727"),r=i.createElement,o=n("6d8b"),a=n("cbe5"),s=n("0da8"),l=n("76a5"),u=n("3f8e"),c=u.path,h=u.image,f=u.text,d="0",p="1";function g(t,e,n,i,r){this._zrId=t,this._svgRoot=e,this._tagNames="string"===typeof n?[n]:n,this._markLabel=i,this._domName=r||"_dom",this.nextId=0}g.prototype.createElement=r,g.prototype.getDefs=function(t){var e=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?t?(n=e.insertBefore(this.createElement("defs"),e.firstChild),n.contains||(n.contains=function(t){var e=n.children;if(!e)return!1;for(var i=e.length-1;i>=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},g.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"===typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},g.prototype.addDom=function(t){var e=this.getDefs(!0);e.appendChild(t)},g.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},g.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return o.each(this._tagNames,(function(n){var i=t.getElementsByTagName(n);e=e.concat([].slice.call(i))})),e},g.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;o.each(t,(function(t){t[e._markLabel]=d}))},g.prototype.markUsed=function(t){t&&(t[this._markLabel]=p)},g.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),n=this;o.each(e,(function(e){e[n._markLabel]!==p&&t.removeChild(e)}))}},g.prototype.getSvgProxy=function(t){return t instanceof a?c:t instanceof s?h:t instanceof l?f:c},g.prototype.getTextSvgElement=function(t){return t.__textSvgEl},g.prototype.getSvgElement=function(t){return t.__svgEl};var v=g;t.exports=v},"4b08":function(t,e,n){var i=n("7dcf"),r=i.extend({type:"dataZoom.select"});t.exports=r},"4b8b":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"4bf6":function(t,e,n){var i=n("66fc"),r=n("697e"),o=n("f934"),a=o.getLayoutRect,s=n("6d8b"),l=s.each;function u(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(t,e,n){var o=this.dimension,a=new i(o,r.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===a.type;a.onBand=s&&t.get("boundaryGap"),a.inverse=t.get("inverse"),a.orient=t.get("orient"),t.axis=a,a.model=t,a.coordinateSystem=this,this._axis=a},update:function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();l(e.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),r.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(t,e){this._rect=a({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis(),i=n.orient;return"horizontal"===i?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i}};var c=u;t.exports=c},"4c86":function(t,e,n){var i=n("6d8b"),r=i.each,o=n("bda7"),a=n("e0d3"),s=a.makeInner,l=n("320a"),u=n("1792"),c=n("6bd4"),h=n("a7f2"),f=s(),d={load:function(t,e,n){var i=f(e).parsed;if(i)return i;var a,s=e.specialAreas||{},d=e.geoJSON;try{a=d?o(d,n):[]}catch(g){throw new Error("Invalid geoJson format\n"+g.message)}return l(t,a),r(a,(function(e){var n=e.name;u(t,e),c(t,e),h(t,e);var i=s[n];i&&e.transformTo(i.left,i.top,i.width,i.height)})),f(e).parsed={regions:a,boundingRect:p(a)}}};function p(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();e=e||i.clone(),e.union(i)}return e}t.exports=d},"4c99":function(t,e,n){var i=n("cccd"),r=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],a=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(t,e){var n=t.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:u(1,t),colorN:u(-1,t),borderColorP:c(1,t),borderColorN:c(-1,t)}),!e.isSeriesFiltered(t)){var i=t.pipelineContext.large;return!i&&{progress:l}}function l(t,e){var n;while(null!=(n=t.next())){var i=e.getItemModel(n),r=e.getItemLayout(n).sign;e.setItemVisual(n,{color:u(r,i),borderColor:c(r,i)})}}function u(t,e){return e.get(t>0?a:s)}function c(t,e){return e.get(t>0?r:o)}}};t.exports=l},"4d20":function(t,e,n){var i=n("1917"),r=n("10db"),o=n("6ca1"),a=n("3397"),s=n("9c0e"),l=n("faf5"),u=Object.getOwnPropertyDescriptor;e.f=n("0bad")?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(n){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},"4d62":function(t,e,n){var i=n("2306"),r=n("6d8b"),o=n("e887");function a(t,e){i.Group.call(this);var n=new i.Polygon,r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.highDownOnUpdate=function(t,e){"emphasis"===e?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(t,e,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,n){var o=this.childAt(0),a=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,o.useStyle({}),n?(o.setShape({points:u.points}),o.setStyle({opacity:0}),i.initProps(o,{style:{opacity:c}},a,e)):i.updateProps(o,{style:{opacity:c},shape:{points:u.points}},a,e);var h=s.getModel("itemStyle"),f=t.getItemVisual(e,"color");o.setStyle(r.defaults({lineJoin:"round",fill:f},h.getItemStyle(["opacity"]))),o.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),i.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),r=this.childAt(2),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"color");i.updateProps(n,{shape:{points:l.linePoints||l.linePoints}},o,e),i.updateProps(r,{style:{x:l.x,y:l.y}},o,e),r.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=a.getModel("label"),h=a.getModel("emphasis.label"),f=a.getModel("labelLine"),d=a.getModel("emphasis.labelLine");u=t.getItemVisual(e,"color");i.setLabelStyle(r.style,r.hoverStyle={},c,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),r.ignore=r.normalIgnore=!c.get("show"),r.hoverIgnore=!h.get("show"),n.ignore=n.normalIgnore=!f.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:u}),n.setStyle(f.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle()},r.inherits(a,i.Group);var u=o.extend({type:"funnel",render:function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new a(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(t){var e=r.getItemGraphicEl(t);o.remove(e)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;t.exports=c},"4d63":function(t,e,n){var i=n("83ab"),r=n("da84"),o=n("e330"),a=n("94ca"),s=n("7156"),l=n("9112"),u=n("241c").f,c=n("3a9b"),h=n("44e7"),f=n("577e"),d=n("90d8"),p=n("9f7f"),g=n("aeb0"),v=n("cb2d"),m=n("d039"),y=n("1a2d"),b=n("69f3").enforce,_=n("2626"),x=n("b622"),w=n("fce3"),S=n("107c"),C=x("match"),T=r.RegExp,A=T.prototype,O=r.SyntaxError,M=o(A.exec),k=o("".charAt),I=o("".replace),E=o("".indexOf),P=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,R=/a/g,N=new T(L)!==L,j=p.MISSED_STICKY,B=p.UNSUPPORTED_Y,F=i&&(!N||j||w||S||m((function(){return R[C]=!1,T(L)!=L||T(R)==R||"/a/i"!=T(L,"i")}))),z=function(t){for(var e,n=t.length,i=0,r="",o=!1;i<=n;i++)e=k(t,i),"\\"!==e?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),r+=e):r+="[\\s\\S]":r+=e+k(t,++i);return r},V=function(t){for(var e,n=t.length,i=0,r="",o=[],a={},s=!1,l=!1,u=0,c="";i<=n;i++){if(e=k(t,i),"\\"===e)e+=k(t,++i);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:M(D,P(t,i+1))&&(i+=2,l=!0),r+=e,u++;continue;case">"===e&&l:if(""===c||y(a,c))throw new O("Invalid capture group name");a[c]=!0,o[o.length]=[c,u],l=!1,c="";continue}l?c+=e:r+=e}return[r,o]};if(a("RegExp",F)){for(var H=function(t,e){var n,i,r,o,a,u,p=c(A,this),g=h(t),v=void 0===e,m=[],y=t;if(!p&&g&&v&&t.constructor===H)return t;if((g||c(A,t))&&(t=t.source,v&&(e=d(y))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),y=t,w&&"dotAll"in L&&(i=!!e&&E(e,"s")>-1,i&&(e=I(e,/s/g,""))),n=e,j&&"sticky"in L&&(r=!!e&&E(e,"y")>-1,r&&B&&(e=I(e,/y/g,""))),S&&(o=V(t),t=o[0],m=o[1]),a=s(T(t,e),p?this:A,H),(i||r||m.length)&&(u=b(a),i&&(u.dotAll=!0,u.raw=H(z(t),n)),r&&(u.sticky=!0),m.length&&(u.groups=m)),t!==y)try{l(a,"source",""===y?"(?:)":y)}catch(_){}return a},G=u(T),W=0;G.length>W;)g(H,T,G[W++]);A.constructor=H,H.prototype=A,v(r,"RegExp",H,{constructor:!0})}_("RegExp")},"4d64":function(t,e,n){var i=n("fc6a"),r=n("23cb"),o=n("07fa"),a=function(t){return function(e,n,a){var s,l=i(e),u=o(l),c=r(a,u);if(t&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4d85":function(t,e,n){var i=n("e46b"),r=n("4f85"),o=r.extend({type:"series.gauge",getInitialData:function(t,e){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),a=o;t.exports=a},"4d88":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"4dae":function(t,e,n){var i=n("23cb"),r=n("07fa"),o=n("8418"),a=Array,s=Math.max;t.exports=function(t,e,n){for(var l=r(t),u=i(e,l),c=i(void 0===n?l:n,l),h=a(s(c-u,0)),f=0;u<c;u++,f++)o(h,f,t[u]);return h.length=f,h}},"4de4":function(t,e,n){"use strict";var i=n("23e7"),r=n("b727").filter,o=n("1dde"),a=o("filter");i({target:"Array",proto:!0,forced:!a},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var i=n("0366"),r=n("c65b"),o=n("7b0b"),a=n("9bdd"),s=n("e95a"),l=n("68ee"),u=n("07fa"),c=n("8418"),h=n("9a1f"),f=n("35a1"),d=Array;t.exports=function(t){var e=o(t),n=l(this),p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g;v&&(g=i(g,p>2?arguments[2]:void 0));var m,y,b,_,x,w,S=f(e),C=0;if(!S||this===d&&s(S))for(m=u(e),y=n?new this(m):d(m);m>C;C++)w=v?g(e[C],C):e[C],c(y,C,w);else for(_=h(e,S),x=_.next,y=n?new this:[];!(b=r(x,_)).done;C++)w=v?a(_,g,[b.value,C],!0):b.value,c(y,C,w);return y.length=C,y}},"4e08":function(t,e,n){(function(t){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof t&&(n=t.__DEV__),"undefined"===typeof n&&(n=!0);var i=n;e.__DEV__=i}).call(this,n("c8ba"))},"4e10":function(t,e,n){var i=n("6d8b"),r=n("e46b"),o=n("4f85"),a=n("eda2"),s=a.encodeHTML,l=a.addCommas,u=n("7023"),c=n("2b17"),h=c.retrieveRawAttr,f=n("5b87"),d=n("0f99"),p=d.makeSeriesEncodeForNameBased,g=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=r(this,{coordDimensions:["value"],encodeDefaulter:i.curry(p,this)}),n=e.mapDimension("value"),o=i.createHashMap(),a=[],s=[],l=0,u=e.count();l<u;l++){var c=e.getName(l);o.set(c,!0),a.push({name:c,value:e.get(n,l),selected:h(e,l,"selected")})}var d=f.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return i.each(d.regions,(function(t){var e=t.name;o.get(e)||(a.push({name:e}),s.push(e))})),this.updateSelectedMap(a),e.appendValues([],s),e},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t,e,n,i){for(var r=this.getData(),o=l(this.getRawValue(t)),a=r.getName(t),u=this.seriesGroup,c=[],h=0;h<u.length;h++){var f=u[h].originalData.indexOfName(a),d=r.mapDimension("value");isNaN(u[h].originalData.get(d,f))||c.push(s(u[h].name))}var p="html"===i?"<br/>":"\n";return c.join(", ")+p+s(a+" : "+o)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(g,u);var v=g;t.exports=v},"4e47":function(t,e,n){var i=n("6d8b"),r=n("2306"),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},a=2,s=4;function l(t,e,n){r.Group.call(this);var i=new r.Sector({z2:a});i.seriesIndex=e.seriesIndex;var o=new r.Text({z2:s,silent:t.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function u(){o.ignore=o.normalIgnore}this.add(i),this.add(o),this.updateData(!0,t,"normal",e,n),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(t,e,n,o,a){this.node=e,e.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout(),c=i.extend({},u);c.label=null;var f=h(e,o,a);p(e,o,f);var d,g=l.getModel("itemStyle").getItemStyle();if("normal"===n)d=g;else{var v=l.getModel(n+".itemStyle").getItemStyle();d=i.merge(v,g)}d=i.defaults({lineJoin:"bevel",fill:d.fill||f},d),t?(s.setShape(c),s.shape.r=u.r0,r.updateProps(s,{shape:{r:u.r}},o,e.dataIndex),s.useStyle(d)):"object"===typeof d.fill&&d.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(r.updateProps(s,{shape:c},o),s.useStyle(d)):r.updateProps(s,{shape:c,style:d},o),this._updateLabel(o,f,n);var m=l.getShallow("cursor");if(m&&s.attr("cursor",m),t){var y=o.getShallow("highlightPolicy");this._initEvents(s,e,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,r.setHoverStyle(this)},u.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):d(n,e.node,t)?n.piece.childAt(0).trigger("highlight"):t!==o.NONE&&n.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(t,e,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),u=s.get("formatter"),c=u?n:"normal",h=i.retrieve(t.getFormattedLabel(this.node.dataIndex,c,null,null,"label"),this.node.name);!1===O("show")&&(h="");var f=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=a.get("minAngle")),d=d/180*Math.PI;var p=f.endAngle-f.startAngle;null!=d&&Math.abs(p)<d&&(h="");var g=this.childAt(1);r.setLabelStyle(g.style,g.hoverStyle||{},a,l,{defaultText:s.getShallow("show")?h:null,autoColor:e,useInsideStyle:!0});var v,m=(f.startAngle+f.endAngle)/2,y=Math.cos(m),b=Math.sin(m),_=O("position"),x=O("distance")||0,w=O("align");"outside"===_?(v=f.r+x,w=m>Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(v=f.r0+x,m>Math.PI/2&&(w="right")):"right"===w&&(v=f.r-x,m>Math.PI/2&&(w="left")):(v=(f.r+f.r0)/2,w="center"),g.attr("style",{text:h,textAlign:w,textVerticalAlign:O("verticalAlign")||"middle",opacity:O("opacity")});var S=v*y+f.cx,C=v*b+f.cy;g.attr("position",[S,C]);var T=O("rotate"),A=0;function O(t){var e=s.get(t);return null==e?a.get(t):e}"radial"===T?(A=-m,A<-Math.PI/2&&(A+=Math.PI)):"tangential"===T?(A=Math.PI/2-m,A>Math.PI/2?A-=Math.PI:A<-Math.PI/2&&(A+=Math.PI)):"number"===typeof T&&(A=T*Math.PI/180),g.attr("rotation",A)},u._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(i)},a=function(){r.onNormal()},s=function(){r.onDownplay()},l=function(){r.onHighlight()};n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},i.inherits(l,r.Group);var c=l;function h(t,e,n){var i=t.getVisual("color"),r=t.getVisual("visualMeta");r&&0!==r.length||(i=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(i)return i;if(0===t.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[f(t)%a],o}function f(t){var e=t;while(e.depth>1)e=e.parentNode;var n=t.getAncestors()[0];return i.indexOf(n.children,e)}function d(t,e,n){return n!==o.NONE&&(n===o.SELF?t===e:n===o.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function p(t,e,n){var i=e.getData();i.setItemVisual(t.dataIndex,"color",n)}t.exports=c},"4e71":function(t,e,n){n("e198")("observable")},"4e9f":function(t,e,n){var i=n("22d1"),r=n("29a8"),o=n("2145"),a=r.toolbox.saveAsImage;function s(t){this.model=t}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},s.prototype.unusable=!i.canvasSupported;var l=s.prototype;l.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);while(u--)c[u]=l.charCodeAt(u);var h=new Blob([c]);window.navigator.msSaveOrOpenBlob(h,r+"."+a)}else{var f=n.get("lang"),d='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(f&&f[0]||"")+'" /></body>',p=window.open();p.document.write(d)}else{var g=document.createElement("a");g.download=r+"."+a,g.target="_blank",g.href=s;var v=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(v)}},o.register("saveAsImage",s);var u=s;t.exports=u},"4eb5":function(t,e,n){var i=n("6981"),r={autoSetContainer:!1,appendToBody:!0},o={install:function(t){var e="3."===t.version.slice(0,2)?t.config.globalProperties:t.prototype;e.$clipboardConfig=r,e.$copyText=function(t,e){return new Promise((function(n,o){var a=document.createElement("button"),s=new i(a,{text:function(){return t},action:function(){return"copy"},container:"object"===typeof e?e:document.body});s.on("success",(function(t){s.destroy(),n(t)})),s.on("error",(function(t){s.destroy(),o(t)})),r.appendToBody&&document.body.appendChild(a),a.click(),r.appendToBody&&document.body.removeChild(a)}))},t.directive("clipboard",{bind:function(t,e,n){if("success"===e.arg)t._vClipboard_success=e.value;else if("error"===e.arg)t._vClipboard_error=e.value;else{var o=new i(t,{text:function(){return e.value},action:function(){return"cut"===e.arg?"cut":"copy"},container:r.autoSetContainer?t:void 0});o.on("success",(function(e){var n=t._vClipboard_success;n&&n(e)})),o.on("error",(function(e){var n=t._vClipboard_error;n&&n(e)})),t._vClipboard=o}},update:function(t,e){"success"===e.arg?t._vClipboard_success=e.value:"error"===e.arg?t._vClipboard_error=e.value:(t._vClipboard.text=function(){return e.value},t._vClipboard.action=function(){return"cut"===e.arg?"cut":"copy"})},unbind:function(t,e){t._vClipboard&&("success"===e.arg?delete t._vClipboard_success:"error"===e.arg?delete t._vClipboard_error:(t._vClipboard.destroy(),delete t._vClipboard))}})},config:r};t.exports=o},"4ebc":function(t,e,n){var i=n("4d88");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"4f85":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("22d1"),a=n("eda2"),s=a.formatTime,l=a.encodeHTML,u=a.addCommas,c=a.getTooltipMarker,h=n("e0d3"),f=n("6cb7"),d=n("e47b"),p=n("38a2"),g=n("f934"),v=g.getLayoutParams,m=g.mergeLayoutParam,y=n("f47d"),b=y.createTask,_=n("0f99"),x=_.prepareSource,w=_.getSource,S=n("2b17"),C=S.retrieveRawValue,T=h.makeInner(),A=f.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=b({count:k,reset:I}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),x(this);var r=this.getInitialData(t,n);P(r,this),this.dataTask.context.data=r,T(this).dataBeforeProcessed=r,O(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?v(t):{},o=this.subType;f.hasClass(o)&&(o+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&m(t,i,n)},mergeOption:function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&m(this.option,t,n),x(this);var i=this.getInitialData(t,e);P(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,T(this).dataBeforeProcessed=i,O(this)},fillDataTextStyle:function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&h.defaultEmphasis(t[n],"label",e)},getInitialData:function(){},appendData:function(t){var e=this.getRawData();e.appendData(t.data)},getData:function(t){var e=L(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return T(this).data},setData:function(t){var e=L(this);if(e){var n=e.context;n.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),n.outputData=t,e!==this.dataTask&&(n.data=t)}T(this).data=t},getSource:function(){return w(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,n,i){var o=this;i=i||"html";var a="html"===i?"<br/>":"\n",f="richText"===i,d={},p=0;function g(n){var a=r.reduce(n,(function(t,e,n){var i=m.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),h=[];function g(t,n){var r=m.getDimensionInfo(n);if(r&&!1!==r.otherDims.tooltip){var g=r.type,v="sub"+o.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:i,markerId:v}),b="string"===typeof y?y:y.content,_=(a?b+l(r.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):u(t));_&&h.push(_),f&&(d[v]=w,++p)}}y.length?r.each(y,(function(e){g(C(m,t,e),e)})):r.each(n,g);var v=a?f?"\n":"<br/>":"",b=v+h.join(v||", ");return{renderMode:i,content:b,style:d}}function v(t){return{renderMode:i,content:l(u(t)),style:d}}var m=this.getData(),y=m.mapDimension("defaultedTooltip",!0),b=y.length,_=this.getRawValue(t),x=r.isArray(_),w=m.getItemVisual(t,"color");r.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=b>1||x&&!b?g(_):v(b?C(m,t,y[0]):x?_[0]:_),T=S.content,A=o.seriesIndex+"at"+p,O=c({color:w,type:"item",renderMode:i,markerId:A});d[A]=w,++p;var M=m.getName(t),k=this.name;h.isNameSpecified(this)||(k=""),k=k?l(k)+(e?": ":a):"";var I="string"===typeof O?O:O.content,E=e?I+k+T:k+I+(M?l(M)+": "+T:T);return{html:E,markers:d}},isAnimationEnabled:function(){if(o.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=d.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function O(t){var e=t.name;h.isNameSpecified(t)||(t.name=M(t)||e)}function M(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),i=[];return r.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function k(t){return t.model.getRawData().count()}function I(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),E}function E(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function P(t,e){r.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,r.curry(D,e))}))}function D(t){var e=L(t);e&&e.setOutputEnd(this.count())}function L(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.mixin(A,p),r.mixin(A,d);var R=A;t.exports=R},"4fac":function(t,e,n){var i=n("620b"),r=n("9c2c");function o(t,e,n){var o=e.points,a=e.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=r(o,a,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],f=o[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],f[0],f[1])}}else{"spline"===a&&(o=i(o,n)),t.moveTo(o[0][0],o[0][1]);u=1;for(var d=o.length;u<d;u++)t.lineTo(o[u][0],o[u][1])}n&&t.closePath()}}e.buildPath=o},5087:function(t,e,n){var i=n("68ee"),r=n("0d51"),o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not a constructor")}},"50c4":function(t,e,n){var i=n("5926"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"50e5":function(t,e,n){var i=n("6d8b"),r=n("eda2"),o=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function s(t){return i.indexOf(a,t)>=0}function l(t,e){t=t.slice();var n=i.map(t,r.capitalFirst);e=(e||[]).slice();var o=i.map(e,r.capitalFirst);return function(r,a){i.each(t,(function(t,i){for(var s={name:t,capital:n[i]},l=0;l<e.length;l++)s[e[l]]=t+o[l];r.call(a,s)}))}}var u=l(o,["axisIndex","axis","index","id"]);function c(t,e,n){return function(n){var i,s={nodes:[],records:{}};if(e((function(t){s.records[t.name]={}})),!n)return s;a(n,s);do{i=!1,t(l)}while(i);function l(t){!r(t,s)&&o(t,s)&&(a(t,s),i=!0)}return s};function r(t,e){return i.indexOf(e.nodes,t)>=0}function o(t,r){var o=!1;return e((function(e){i.each(n(t,e)||[],(function(t){r.records[e.name][t]&&(o=!0)}))})),o}function a(t,r){r.nodes.push(t),e((function(e){i.each(n(t,e)||[],(function(t){r.records[e.name][t]=!0}))}))}}e.isCoordSupported=s,e.createNameEach=l,e.eachAxisDim=u,e.createLinkedNodesFinder=c},"511f":function(t,e,n){n("0b99"),n("658f"),t.exports=n("fcd4").f("iterator")},"512c":function(t,e,n){var i=n("ef08"),r=n("5524"),o=n("9c0c"),a=n("051b"),s=n("9c0e"),l="prototype",u=function(t,e,n){var c,h,f,d=t&u.F,p=t&u.G,g=t&u.S,v=t&u.P,m=t&u.B,y=t&u.W,b=p?r:r[e]||(r[e]={}),_=b[l],x=p?i:g?i[e]:(i[e]||{})[l];for(c in p&&(n=e),n)h=!d&&x&&void 0!==x[c],h&&s(b,c)||(f=h?x[c]:n[c],b[c]=p&&"function"!=typeof x[c]?n[c]:m&&h?o(f,i):y&&x[c]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[l]=t[l],e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[c]=f,t&u.R&&_&&!_[c]&&a(_,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"51eb":function(t,e,n){"use strict";var i=n("825a"),r=n("485a"),o=TypeError;t.exports=function(t){if(i(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw o("Incorrect hint");return r(this,t)}},5270:function(t,e,n){"use strict";var i=n("c532"),r=n("c401"),o=n("2e67"),a=n("2444"),s=n("7a77");function l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){l(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return l(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(l(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"527a":function(t,e,n){var i=n("6d8b"),r=n("3842");function o(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},o=n.getRect();i.rect=o;var s=t.get("boundaryGap"),l=n.getAxis();if(i.boundaryGap=s,"horizontal"===l.orient){s[0]=r.parsePercent(s[0],o.height),s[1]=r.parsePercent(s[1],o.height);var u=o.height-s[0]-s[1];a(e,t,u)}else{s[0]=r.parsePercent(s[0],o.width),s[1]=r.parsePercent(s[1],o.width);var c=o.width-s[0]-s[1];a(e,t,c)}e.setLayout("layoutInfo",i)}))}function a(t,e,n){if(t.count())for(var r,o=e.coordinateSystem,a=e.getLayerSeries(),l=t.mapDimension("single"),u=t.mapDimension("value"),c=i.map(a,(function(e){return i.map(e.indices,(function(e){var n=o.dataToPoint(t.get(l,e));return n[1]=t.get(u,e),n}))})),h=s(c),f=h.y0,d=n/h.max,p=a.length,g=a[0].indices.length,v=0;v<g;++v){r=f[v]*d,t.setItemLayout(a[0].indices[v],{layerIndex:0,x:c[0][v][0],y0:r,y:c[0][v][1]*d});for(var m=1;m<p;++m)r+=c[m-1][v][1]*d,t.setItemLayout(a[m].indices[v],{layerIndex:m,x:c[m][v][0],y0:r,y:c[m][v][1]*d})}}function s(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a={},s=0;s<n;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];u>o&&(o=u),i.push(u)}for(var c=0;c<n;++c)r[c]=(o-i[c])/2;o=0;for(var h=0;h<n;++h){var f=i[h]+r[h];f>o&&(o=f)}return a.y0=r,a.max=o,a}t.exports=o},5319:function(t,e,n){"use strict";var i=n("2ba4"),r=n("c65b"),o=n("e330"),a=n("d784"),s=n("d039"),l=n("825a"),u=n("1626"),c=n("7234"),h=n("5926"),f=n("50c4"),d=n("577e"),p=n("1d80"),g=n("8aa5"),v=n("dc4a"),m=n("0cb2"),y=n("14c3"),b=n("b622"),_=b("replace"),x=Math.max,w=Math.min,S=o([].concat),C=o([].push),T=o("".indexOf),A=o("".slice),O=function(t){return void 0===t?t:String(t)},M=function(){return"$0"==="a".replace(/./,"$0")}(),k=function(){return!!/./[_]&&""===/./[_]("a","$0")}(),I=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));a("replace",(function(t,e,n){var o=k?"$":"$0";return[function(t,n){var i=p(this),o=c(t)?void 0:v(t,_);return o?r(o,t,i,n):r(e,d(i),t,n)},function(t,r){var a=l(this),s=d(t);if("string"==typeof r&&-1===T(r,o)&&-1===T(r,"$<")){var c=n(e,a,s,r);if(c.done)return c.value}var p=u(r);p||(r=d(r));var v=a.global;if(v){var b=a.unicode;a.lastIndex=0}var _=[];while(1){var M=y(a,s);if(null===M)break;if(C(_,M),!v)break;var k=d(M[0]);""===k&&(a.lastIndex=g(s,f(a.lastIndex),b))}for(var I="",E=0,P=0;P<_.length;P++){M=_[P];for(var D=d(M[0]),L=x(w(h(M.index),s.length),0),R=[],N=1;N<M.length;N++)C(R,O(M[N]));var j=M.groups;if(p){var B=S([D],R,L,s);void 0!==j&&C(B,j);var F=d(i(r,void 0,B))}else F=m(D,s,L,R,j,r);L>=E&&(I+=A(s,E,L)+F,E=L+D.length)}return I+A(s,E)}]}),!I||!M||k)},"53ca":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}},"53f3":function(t,e){function n(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scale,r=i&&i[0]||1,o=e.getZoom(),a=(o-1)*n+1;return a/r}function i(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}e.getNodeGlobalScale=n,e.getSymbolSize=i},5450:function(t,e,n){n("7419"),n("29a9")},"54fb":function(t,e){function n(t){t.eachSeriesByType("map",(function(t){var e=t.get("color"),n=t.getModel("itemStyle"),i=n.get("areaColor"),r=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:i,color:r})}))}t.exports=n},"551f":function(t,e,n){var i=n("282b"),r=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(t,e){var n=r(this,t,e),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=o},5522:function(t,e,n){n("23e0"),n("1748"),n("6c12")},5524:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("14d9"),n("159b"),n("dbb4");var i=n("a38e");function r(t,e,n){return e=Object(i["a"])(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},5576:function(t,e,n){var i=n("6d8b"),r=n("4a01"),o=n("88b3"),a="\0_ec_dataZoom_roams";function s(t,e){var n=c(t),r=e.dataZoomId,a=e.coordId;i.each(n,(function(t,n){var o=t.dataZoomInfos;o[r]&&i.indexOf(e.allCoordIds,a)<0&&(delete o[r],t.count--)})),f(n);var s=n[a];s||(s=n[a]={coordId:a,dataZoomInfos:{},count:0},s.controller=h(t,s),s.dispatchAction=i.curry(d,t)),!s.dataZoomInfos[r]&&s.count++,s.dataZoomInfos[r]=e;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(e.containsPoint),o.createOrUpdate(s,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")}function l(t,e){var n=c(t);i.each(n,(function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)})),f(n)}function u(t){return t.type+"\0_"+t.id}function c(t){var e=t.getZr();return e[a]||(e[a]={})}function h(t,e){var n=new r(t.getZr());return i.each(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(n){var r=[];i.each(e.dataZoomInfos,(function(i){if(n.isAvailableBehavior(i.dataZoomModel.option)){var o=(i.getRange||{})[t],a=o&&o(e.controller,n);!i.dataZoomModel.get("disabled",!0)&&a&&r.push({dataZoomId:i.dataZoomId,start:a[0],end:a[1]})}})),r.length&&e.dispatchAction(r)}))})),n}function f(t){i.each(t,(function(e,n){e.count||(e.controller.dispose(),delete t[n])}))}function d(t,e){t.dispatchAction({type:"dataZoom",batch:e})}function p(t){var e,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return i.each(t,(function(t){var i=t.dataZoomModel,a=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");r[n+a]>r[n+e]&&(e=a),o&=i.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}e.register=s,e.unregister=l,e.generateCoordId=u},"55ac":function(t,e,n){var i=n("6d8b");function r(t,e,n){if(t&&i.indexOf(e,t.type)>=0){var r=n.getData().tree.root,o=t.targetNode;if("string"===typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=r.getNodeById(a)))return{node:o}}}function o(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function a(t,e){var n=o(t);return i.indexOf(n,e)>=0}function s(t,e){var n=[];while(t){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}e.retrieveTargetInfo=r,e.getPathToRoot=o,e.aboveViewRoot=a,e.wrapTreePathInfo=s},"562e":function(t,e,n){var i=n("6d8b");function r(t){null!=t&&i.extend(this,t),this.otherDims={}}var o=r;t.exports=o},5692:function(t,e,n){var i=n("c430"),r=n("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.3",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE",source:"https://github.com/zloirock/core-js"})},5693:function(t,e){function n(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(a=n+i,n*=u/a,i*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),i+r>c&&(a=i+r,i*=c/a,r*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}e.buildPath=n},"56ef":function(t,e,n){var i=n("d066"),r=n("e330"),o=n("241c"),a=n("7418"),s=n("825a"),l=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},"577e":function(t,e,n){var i=n("f5df"),r=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},"57b9":function(t,e,n){var i=n("c65b"),r=n("d066"),o=n("b622"),a=n("cb2d");t.exports=function(){var t=r("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return i(n,this)}),{arity:1})}},5866:function(t,e,n){var i=n("ef2b"),r=i.forceLayout,o=n("1c5f"),a=o.simpleLayout,s=n("94e4"),l=s.circularLayout,u=n("3842"),c=u.linearMap,h=n("401b"),f=n("6d8b"),d=n("0c37"),p=d.getCurvenessForEdge;function g(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),o=i.data,s=i.edgeData,u=t.getModel("force"),d=u.get("initLayout");t.preservedPoints?o.each((function(t){var e=o.getId(t);o.setItemLayout(t,n[e]||[NaN,NaN])})):d&&"none"!==d?"circular"===d&&l(t,"value"):a(t);var g=o.getDataExtent("value"),v=s.getDataExtent("value"),m=u.get("repulsion"),y=u.get("edgeLength");f.isArray(m)||(m=[m,m]),f.isArray(y)||(y=[y,y]),y=[y[1],y[0]];var b=o.mapArray("value",(function(t,e){var n=o.getItemLayout(e),i=c(t,g,m);return isNaN(i)&&(i=(m[0]+m[1])/2),{w:i,rep:i,fixed:o.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),_=s.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),o=c(e,v,y);isNaN(o)&&(o=(y[0]+y[1])/2);var a=r.getModel(),s=f.retrieve3(a.get("lineStyle.curveness"),-p(r,t,n,!0),0);return{n1:b[r.node1.dataIndex],n2:b[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),x=(e=t.coordinateSystem,e.getBoundingRect()),w=r(b,_,{rect:x,gravity:u.get("gravity"),friction:u.get("friction")}),S=w.step;w.step=function(t){for(var e=0,r=b.length;e<r;e++)b[e].fixed&&h.copy(b[e].p,i.getNodeByIndex(e).getLayout());S((function(e,r,a){for(var s=0,l=e.length;s<l;s++)e[s].fixed||i.getNodeByIndex(s).setLayout(e[s].p),n[o.getId(s)]=e[s].p;for(s=0,l=r.length;s<l;s++){var u=r[s],c=i.getEdgeByIndex(s),f=u.n1.p,d=u.n2.p,p=c.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],h.copy(p[0],f),h.copy(p[1],d),+u.curveness&&(p[2]=[(f[0]+d[0])/2-(f[1]-d[1])*u.curveness,(f[1]+d[1])/2-(d[0]-f[0])*u.curveness]),c.setLayout(p)}t&&t(a)}))},t.forceLayout=w,t.preservedPoints=n,w.step()}else t.forceLayout=null}))}t.exports=g},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var i=n("e330"),r=n("1d80"),o=n("577e"),a=n("5899"),s=i("".replace),l="["+a+"]",u=RegExp("^"+l+l+"*"),c=RegExp(l+l+"*$"),h=function(t){return function(e){var n=o(r(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,c,"")),n}};t.exports={start:h(1),end:h(2),trim:h(3)}},"58ca":function(t,e,n){"use strict";(function(t){var i=n("2554"),r=n.n(i),o="2.4.0";function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t){return h(t)||f(t)||d(t)||g()}function h(t){if(Array.isArray(t))return p(t)}function f(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function d(t,e){if(t){if("string"===typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,e):void 0}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=d(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function m(t){return Array.isArray(t)}function y(t){return"undefined"===typeof t}function b(t){return"object"===a(t)}function _(t){return"object"===a(t)&&null!==t}function x(t){return"function"===typeof t}function w(t){return"string"===typeof t}function S(){try{return!y(window)}catch(t){return!1}}var C=S(),T=C?window:t,A=T.console||{};function O(t){A&&A.warn&&A.warn(t)}var M=function(){return O("This vue app/component has no vue-meta configuration")},k={title:void 0,titleChunk:"",titleTemplate:"%s",htmlAttrs:{},bodyAttrs:{},headAttrs:{},base:[],link:[],meta:[],style:[],script:[],noscript:[],__dangerouslyDisableSanitizers:[],__dangerouslyDisableSanitizersByTagID:{}},I="_vueMeta",E="metaInfo",P="data-vue-meta",D="data-vue-meta-server-rendered",L="vmid",R="template",N="content",j="ssr",B=10,F=!0,z={keyName:E,attribute:P,ssrAttribute:D,tagIDKeyName:L,contentKeyName:N,metaTemplateKeyName:R,waitOnDestroyed:F,debounceWait:B,ssrAppId:j},V=Object.keys(k),H=[V[12],V[13]],G=[V[1],V[2],"changed"].concat(H),W=[V[3],V[4],V[5]],q=["link","style","script"],U=["base","meta","link"],Y=["noscript","script","style"],X=["innerHTML","cssText","json"],$=["once","skip","template"],Z=["body","pbody"],K=["allowfullscreen","amp","amp-boilerplate","async","autofocus","autoplay","checked","compact","controls","declare","default","defaultchecked","defaultmuted","defaultselected","defer","disabled","enabled","formnovalidate","hidden","indeterminate","inert","ismap","itemscope","loop","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","pauseonexit","readonly","required","reversed","scoped","seamless","selected","sortable","truespeed","typemustmatch","visible"],J=null;function Q(t,e,n){var i=t.debounceWait;e[I].initialized||!e[I].initializing&&"watcher"!==n||(e[I].initialized=null),e[I].initialized&&!e[I].pausing&&tt((function(){e.$meta().refresh()}),i)}function tt(t,e){if(e=void 0===e?10:e,e)return clearTimeout(J),J=setTimeout((function(){t()}),e),J;t()}function et(t,e,n){if(Array.prototype.find)return t.find(e,n);for(var i=0;i<t.length;i++)if(e.call(n,t[i],i,t))return t[i]}function nt(t,e,n){if(!Array.prototype.findIndex){for(var i=0;i<t.length;i++)if(e.call(n,t[i],i,t))return i;return-1}return t.findIndex(e,n)}function it(t){return Array.from?Array.from(t):Array.prototype.slice.call(t)}function rt(t,e){if(!Array.prototype.includes){for(var n in t)if(t[n]===e)return!0;return!1}return t.includes(e)}var ot=function(t,e){return(e||document).querySelectorAll(t)};function at(t,e){return t[e]||(t[e]=document.getElementsByTagName(e)[0]),t[e]}function st(t){var e=t.body,n=t.pbody;return e?"body":n?"pbody":"head"}function lt(t,e,n){var i=e.appId,r=e.attribute,o=e.type,a=e.tagIDKeyName;n=n||{};var s=["".concat(o,"[").concat(r,'="').concat(i,'"]'),"".concat(o,"[data-").concat(a,"]")].map((function(t){for(var e in n){var i=n[e],r=i&&!0!==i?'="'.concat(i,'"'):"";t+="[data-".concat(e).concat(r,"]")}return t}));return it(ot(s.join(", "),t))}function ut(t,e){var n=t.attribute;it(ot("[".concat(n,'="').concat(e,'"]'))).map((function(t){return t.remove()}))}function ct(t,e){t.removeAttribute(e)}function ht(t){return t=t||this,t&&(!0===t[I]||b(t[I]))}function ft(t){return t=t||this,t&&!y(t[I])}function dt(t,e){return t[I].pausing=!0,function(){return pt(t,e)}}function pt(t,e){if(t[I].pausing=!1,e||void 0===e)return t.$meta().refresh()}function gt(t){var e=t.$router;!t[I].navGuards&&e&&(t[I].navGuards=!0,e.beforeEach((function(e,n,i){dt(t),i()})),e.afterEach((function(){t.$nextTick((function(){var e=pt(t),n=e.metaInfo;n&&x(n.afterNavigation)&&n.afterNavigation(n)}))})))}var vt=1;function mt(t,e){var n=["activated","deactivated","beforeMount"],i=!1;return{beforeCreate:function(){var r=this,o="$root",a=this[o],s=this.$options,l=t.config.devtools;if(Object.defineProperty(this,"_hasMetaInfo",{configurable:!0,get:function(){return l&&!a[I].deprecationWarningShown&&(O("VueMeta DeprecationWarning: _hasMetaInfo has been deprecated and will be removed in a future version. Please use hasMetaInfo(vm) instead"),a[I].deprecationWarningShown=!0),ht(this)}}),this===a&&a.$once("hook:beforeMount",(function(){if(i=this.$el&&1===this.$el.nodeType&&this.$el.hasAttribute("data-server-rendered"),!i&&a[I]&&1===a[I].appId){var t=at({},"html");i=t&&t.hasAttribute(e.ssrAttribute)}})),!y(s[e.keyName])&&null!==s[e.keyName]){if(a[I]||(a[I]={appId:vt},vt++,l&&a.$options[e.keyName]&&this.$nextTick((function(){var t=et(a.$children,(function(t){return t.$vnode&&t.$vnode.fnOptions}));t&&t.$vnode.fnOptions[e.keyName]&&O("VueMeta has detected a possible global mixin which adds a ".concat(e.keyName," property to all Vue components on the page. This could cause severe performance issues. If possible, use $meta().addApp to add meta information instead"))}))),!this[I]){this[I]=!0;var u=this.$parent;while(u&&u!==a)y(u[I])&&(u[I]=!1),u=u.$parent}x(s[e.keyName])&&(s.computed=s.computed||{},s.computed.$metaInfo=s[e.keyName],this.$isServer||this.$on("hook:created",(function(){this.$watch("$metaInfo",(function(){Q(e,this[o],"watcher")}))}))),y(a[I].initialized)&&(a[I].initialized=this.$isServer,a[I].initialized||(a[I].initializedSsr||(a[I].initializedSsr=!0,this.$on("hook:beforeMount",(function(){var t=this[o];i&&(t[I].appId=e.ssrAppId)}))),this.$on("hook:mounted",(function(){var t=this[o];t[I].initialized||(t[I].initializing=!0,this.$nextTick((function(){var n=t.$meta().refresh(),i=n.tags,r=n.metaInfo;!1===i&&null===t[I].initialized&&this.$nextTick((function(){return Q(e,t,"init")})),t[I].initialized=!0,delete t[I].initializing,!e.refreshOnceOnNavigation&&r.afterNavigation&&gt(t)})))})),e.refreshOnceOnNavigation&&gt(a))),this.$on("hook:destroyed",(function(){var t=this;this.$parent&&ht(this)&&(delete this._hasMetaInfo,this.$nextTick((function(){if(e.waitOnDestroyed&&t.$el&&t.$el.offsetParent)var n=setInterval((function(){t.$el&&null!==t.$el.offsetParent||(clearInterval(n),Q(e,t.$root,"destroyed"))}),50);else Q(e,t.$root,"destroyed")})))})),this.$isServer||n.forEach((function(t){r.$on("hook:".concat(t),(function(){Q(e,this[o],t)}))}))}}}}function yt(t){return t=b(t)?t:{},{keyName:t["keyName"]||z.keyName,attribute:t["attribute"]||z.attribute,ssrAttribute:t["ssrAttribute"]||z.ssrAttribute,tagIDKeyName:t["tagIDKeyName"]||z.tagIDKeyName,contentKeyName:t["contentKeyName"]||z.contentKeyName,metaTemplateKeyName:t["metaTemplateKeyName"]||z.metaTemplateKeyName,debounceWait:y(t["debounceWait"])?z.debounceWait:t["debounceWait"],waitOnDestroyed:y(t["waitOnDestroyed"])?z.waitOnDestroyed:t["waitOnDestroyed"],ssrAppId:t["ssrAppId"]||z.ssrAppId,refreshOnceOnNavigation:!!t["refreshOnceOnNavigation"]}}function bt(t){var e={};for(var n in t)e[n]=t[n];return e}function _t(t,e){return e&&b(t)?(m(t[e])||(t[e]=[]),t):m(t)?t:[]}var xt=[[/&/g,"&amp;"],[/</g,"&lt;"],[/>/g,"&gt;"],[/"/g,"&quot;"],[/'/g,"&#x27;"]],wt=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/"/g,'"'],[/'/g,"'"]];function St(t,e,n,i){var r=e.tagIDKeyName,o=n.doEscape,a=void 0===o?function(t){return t}:o,s={};for(var l in t){var u=t[l];if(rt(G,l))s[l]=u;else{var c=H[0];if(n[c]&&rt(n[c],l))s[l]=u;else{var h=t[r];if(h&&(c=H[1],n[c]&&n[c][h]&&rt(n[c][h],l)))s[l]=u;else if(w(u)?s[l]=a(u):m(u)?s[l]=u.map((function(t){return _(t)?St(t,e,n,!0):a(t)})):_(u)?s[l]=St(u,e,n,!0):s[l]=u,i){var f=a(l);l!==f&&(s[f]=s[l],delete s[l])}}}}return s}function Ct(t,e,n){n=n||[];var i={doEscape:function(t){return n.reduce((function(t,e){return t.replace(e[0],e[1])}),t)}};return H.forEach((function(t,n){if(0===n)_t(e,t);else if(1===n)for(var r in e[t])_t(e[t],r);i[t]=e[t]})),St(e,t,i)}function Tt(t,e,n,i){var r=t.component,o=t.metaTemplateKeyName,a=t.contentKeyName;return!0!==n&&!0!==e[o]&&(y(n)&&e[o]&&(n=e[o],e[o]=!0),n?(y(i)&&(i=e[a]),e[a]=x(n)?n.call(r,i):n.replace(/%s/g,i),!0):(delete e[o],!1))}function At(t,e,n){var i=t.component,r=t.tagIDKeyName,o=t.metaTemplateKeyName,a=t.contentKeyName,s=[];return e.length||n.length?(e.forEach((function(t,e){if(t[r]){var l=nt(n,(function(e){return e[r]===t[r]})),u=n[l];if(-1!==l){if(a in u&&void 0===u[a]||"innerHTML"in u&&void 0===u.innerHTML)return s.push(t),void n.splice(l,1);if(null!==u[a]&&null!==u.innerHTML){var c=t[o];if(c){var h=u[o];if(!h)return Tt({component:i,metaTemplateKeyName:o,contentKeyName:a},u,c),void(u.template=!0);u[a]||Tt({component:i,metaTemplateKeyName:o,contentKeyName:a},u,void 0,t[a])}}else n.splice(l,1)}else s.push(t)}else s.push(t)})),s.concat(n)):s}var Ot=!1;function Mt(t,e,n){return n=n||{},void 0===e.title&&delete e.title,W.forEach((function(t){if(e[t])for(var n in e[t])n in e[t]&&void 0===e[t][n]&&(rt(K,n)&&!Ot&&(O("VueMeta: Please note that since v2 the value undefined is not used to indicate boolean attributes anymore, see migration guide for details"),Ot=!0),delete e[t][n])})),r()(t,e,{arrayMerge:function(t,e){return At(n,t,e)}})}function kt(t,e){return It(t||{},e,k)}function It(t,e,n){if(n=n||{},e._inactive)return n;t=t||{};var i=t,r=i.keyName,o=e.$metaInfo,a=e.$options,s=e.$children;if(a[r]){var l=o||a[r];b(l)&&(n=Mt(n,l,t))}return s.length&&s.forEach((function(e){ft(e)&&(n=It(t,e,n))})),n}var Et=[];function Pt(t){return"complete"===(t||document).readyState}function Dt(t,e){1===arguments.length&&(e=t,t=""),Et.push([t,e])}function Lt(t,e,n,i){var r=t.tagIDKeyName,o=!1;return n.forEach((function(t){t[r]&&t.callback&&(o=!0,Dt("".concat(e,"[data-").concat(r,'="').concat(t[r],'"]'),t.callback))})),i&&o?Rt():o}function Rt(){Pt()?Nt():document.onreadystatechange=function(){Nt()}}function Nt(t){Et.forEach((function(e){var n=e[0],i=e[1],r="".concat(n,'[onload="this.__vm_l=1"]'),o=[];t||(o=it(ot(r))),t&&t.matches(r)&&(o=[t]),o.forEach((function(t){if(!t.__vm_cb){var e=function(){t.__vm_cb=!0,ct(t,"onload"),i(t)};t.__vm_l?e():t.__vm_ev||(t.__vm_ev=!0,t.addEventListener("load",e))}}))}))}var jt,Bt={};function Ft(t,e,n,i,r){var o=e||{},a=o.attribute,s=r.getAttribute(a);s&&(Bt[n]=JSON.parse(decodeURI(s)),ct(r,a));var l=Bt[n]||{},u=[];for(var c in l)void 0!==l[c]&&t in l[c]&&(u.push(c),i[c]||delete l[c][t]);for(var h in i){var f=l[h];f&&f[t]===i[h]||(u.push(h),void 0!==i[h]&&(l[h]=l[h]||{},l[h][t]=i[h]))}for(var d=0,p=u;d<p.length;d++){var g=p[d],v=l[g],m=[];for(var y in v)Array.prototype.push.apply(m,[].concat(v[y]));if(m.length){var b=rt(K,g)&&m.some(Boolean)?"":m.filter((function(t){return void 0!==t})).join(" ");r.setAttribute(g,b)}else ct(r,g)}Bt[n]=l}function zt(t){(t||""===t)&&(document.title=t)}function Vt(t,e,n,i,r,o){var a=e||{},s=a.attribute,l=a.tagIDKeyName,u=Z.slice();u.push(l);var c=[],h={appId:t,attribute:s,type:n,tagIDKeyName:l},f={head:lt(r,h),pbody:lt(o,h,{pbody:!0}),body:lt(o,h,{body:!0})};if(i.length>1){var d=[];i=i.filter((function(t){var e=JSON.stringify(t),n=!rt(d,e);return d.push(e),n}))}i.forEach((function(e){if(!e.skip){var i=document.createElement(n);e.once||i.setAttribute(s,t),Object.keys(e).forEach((function(t){if(!rt($,t))if("innerHTML"!==t)if("json"!==t)if("cssText"!==t)if("callback"!==t){var n=rt(u,t)?"data-".concat(t):t,r=rt(K,t);if(!r||e[t]){var o=r?"":e[t];i.setAttribute(n,o)}}else i.onload=function(){return e[t](i)};else i.styleSheet?i.styleSheet.cssText=e.cssText:i.appendChild(document.createTextNode(e.cssText));else i.innerHTML=JSON.stringify(e.json);else i.innerHTML=e.innerHTML}));var r,o=f[st(e)],a=o.some((function(t,e){return r=e,i.isEqualNode(t)}));a&&(r||0===r)?o.splice(r,1):c.push(i)}}));var p=[];for(var g in f)Array.prototype.push.apply(p,f[g]);return p.forEach((function(t){t.parentNode.removeChild(t)})),c.forEach((function(t){t.hasAttribute("data-body")?o.appendChild(t):t.hasAttribute("data-pbody")?o.insertBefore(t,o.firstChild):r.appendChild(t)})),{oldTags:p,newTags:c}}function Ht(t,e,n){e=e||{};var i=e,r=i.ssrAttribute,o=i.ssrAppId,a={},s=at(a,"html");if(t===o&&s.hasAttribute(r)){ct(s,r);var l=!1;return q.forEach((function(t){n[t]&&Lt(e,t,n[t])&&(l=!0)})),l&&Rt(),!1}var u={},c={};for(var h in n)if(!rt(G,h))if("title"!==h){if(rt(W,h)){var f=h.substr(0,4);Ft(t,e,h,n[h],at(a,f))}else if(m(n[h])){var d=Vt(t,e,h,n[h],at(a,"head"),at(a,"body")),p=d.oldTags,g=d.newTags;g.length&&(u[h]=g,c[h]=p)}}else zt(n.title);return{tagsAdded:u,tagsRemoved:c}}function Gt(t,e,n){return{set:function(i){return Wt(t,e,n,i)},remove:function(){return qt(t,e,n)}}}function Wt(t,e,n,i){if(t&&t.$el)return Ht(e,n,i);jt=jt||{},jt[e]=i}function qt(t,e,n){if(t&&t.$el){var i,r={},o=v(W);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a.substr(0,4);Ft(e,n,a,{},at(r,s))}}catch(l){o.e(l)}finally{o.f()}return ut(n,e)}jt[e]&&(delete jt[e],Yt())}function Ut(){return jt}function Yt(t){!t&&Object.keys(jt).length||(jt=void 0)}function Xt(t,e,n,i){t=t||{},n=n||[];var r=t,o=r.tagIDKeyName;return e.title&&(e.titleChunk=e.title),e.titleTemplate&&"%s"!==e.titleTemplate&&Tt({component:i,contentKeyName:"title"},e,e.titleTemplate,e.titleChunk||""),e.base&&(e.base=Object.keys(e.base).length?[e.base]:[]),e.meta&&(e.meta=e.meta.filter((function(t,e,n){var i=!!t[o];if(!i)return!0;var r=e===nt(n,(function(e){return e[o]===t[o]}));return r})),e.meta.forEach((function(e){return Tt(t,e)}))),Ct(t,e,n)}function $t(t,e){if(e=e||{},!t[I])return M(),{};var n=kt(e,t),i=Xt(e,n,wt,t),r=t[I].appId,o=Ht(r,e,i);o&&x(i.changed)&&(i.changed(i,o.tagsAdded,o.tagsRemoved),o={addedTags:o.tagsAdded,removedTags:o.tagsRemoved});var a=Ut();if(a){for(var s in a)Ht(s,e,a[s]),delete a[s];Yt(!0)}return{vm:t,metaInfo:i,tags:o}}function Zt(t,e,n,i){var r=i.addSsrAttribute,o=t||{},a=o.attribute,s=o.ssrAttribute,l="";for(var u in n){var h=n[u],f=[];for(var d in h)f.push.apply(f,c([].concat(h[d])));f.length&&(l+=K.includes(u)&&f.some(Boolean)?"".concat(u):"".concat(u,'="').concat(f.join(" "),'"'),l+=" ")}return l&&(l+="".concat(a,'="').concat(encodeURI(JSON.stringify(n)),'"')),"htmlAttrs"===e&&r?"".concat(s).concat(l?" ":"").concat(l):l}function Kt(t,e,n,i){var r=i||{},o=r.ln;return n?"<".concat(e,">").concat(n,"</").concat(e,">").concat(o?"\n":""):""}function Jt(t,e,n,i){var r=t||{},o=r.ssrAppId,a=r.attribute,s=r.tagIDKeyName,l=i||{},u=l.appId,h=l.isSSR,f=void 0===h||h,d=l.body,p=void 0!==d&&d,g=l.pbody,v=void 0!==g&&g,m=l.ln,y=void 0!==m&&m,b=[s].concat(c(Z));return n&&n.length?n.reduce((function(t,n){if(n.skip)return t;var i=Object.keys(n);if(0===i.length)return t;if(Boolean(n.body)!==p||Boolean(n.pbody)!==v)return t;var r=n.once?"":" ".concat(a,'="').concat(u||(!1===f?"1":o),'"');for(var s in n)if(!X.includes(s)&&!$.includes(s))if("callback"!==s){var l="";b.includes(s)&&(l="data-");var c=!l&&K.includes(s);c&&!n[s]||(r+=" ".concat(l).concat(s)+(c?"":'="'.concat(n[s],'"')))}else r+=' onload="this.__vm_l=1"';var h="";n.json&&(h=JSON.stringify(n.json));var d=n.innerHTML||n.cssText||h,g=!U.includes(e),m=g&&Y.includes(e);return"".concat(t,"<").concat(e).concat(r).concat(!m&&g?"/":"",">")+(m?"".concat(d,"</").concat(e,">"):"")+(y?"\n":"")}),""):""}function Qt(t,e,n){var i={data:e,extraData:void 0,addInfo:function(t,e){this.extraData=this.extraData||{},this.extraData[t]=e},callInjectors:function(t){var e=this.injectors;return(t.body||t.pbody?"":e.title.text(t))+e.meta.text(t)+e.base.text(t)+e.link.text(t)+e.style.text(t)+e.script.text(t)+e.noscript.text(t)},injectors:{head:function(t){return i.callInjectors(u(u({},n),{},{ln:t}))},bodyPrepend:function(t){return i.callInjectors(u(u({},n),{},{ln:t,pbody:!0}))},bodyAppend:function(t){return i.callInjectors(u(u({},n),{},{ln:t,body:!0}))}}},r=function(e){if(G.includes(e))return"continue";i.injectors[e]={text:function(r){var o=!0===r;if(r=u(u({addSsrAttribute:o},n),r),"title"===e)return Kt(t,e,i.data[e],r);if(W.includes(e)){var a={},l=i.data[e];if(l){var c=!1===r.isSSR?"1":t.ssrAppId;for(var h in l)a[h]=s({},c,l[h])}if(i.extraData)for(var f in i.extraData){var d=i.extraData[f][e];if(d)for(var p in d)a[p]=u(u({},a[p]),{},s({},f,d[p]))}return Zt(t,e,a,r)}var g=Jt(t,e,i.data[e],r);if(i.extraData)for(var v in i.extraData){var m=i.extraData[v][e],y=Jt(t,e,m,u({appId:v},r));g="".concat(g).concat(y)}return g}}};for(var o in k)r(o);return i}function te(t,e,n){if(!t[I])return M(),{};var i=kt(e,t),r=Xt(e,i,xt,t),o=Qt(e,r,n),a=Ut();if(a){for(var s in a)o.addInfo(s,a[s]),delete a[s];Yt(!0)}return o.injectors}function ee(t){t=t||{};var e=this.$root;return{getOptions:function(){return bt(t)},setOptions:function(n){var i="refreshOnceOnNavigation";n&&n[i]&&(t.refreshOnceOnNavigation=!!n[i],gt(e));var r="debounceWait";if(n&&r in n){var o=parseInt(n[r]);isNaN(o)||(t.debounceWait=o)}var a="waitOnDestroyed";n&&a in n&&(t.waitOnDestroyed=!!n[a])},refresh:function(){return $t(e,t)},inject:function(n){return te(e,t,n)},pause:function(){return dt(e)},resume:function(){return pt(e)},addApp:function(n){return Gt(e,n,t)}}}function ne(t,e){e=yt(e);var n=Xt(e,t,xt),i=Qt(e,n);return i.injectors}function ie(t,e){t.__vuemeta_installed||(t.__vuemeta_installed=!0,e=yt(e),t.prototype.$meta=function(){return ee.call(this,e)},t.mixin(mt(t,e)))}var re={version:o,install:ie,generate:function(t,e){return ne(t,e)},hasMetaInfo:ht};e["a"]=re}).call(this,n("c8ba"))},"58df":function(t,e,n){var i=n("6d8b"),r=n("2306");function o(t,e,n,o){var a=n.axis;if(!a.scale.isBlank()){var s=n.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=o.coordinateSystem.getRect(),h=a.getTicksCoords({tickModel:s,clamp:!0});if(h.length){var f=u.length,d=t.__splitAreaColors,p=i.createHashMap(),g=0;if(d)for(var v=0;v<h.length;v++){var m=d.get(h[v].tickValue);if(null!=m){g=(m+(f-1)*v)%f;break}}var y=a.toGlobalCoord(h[0].coord),b=l.getAreaStyle();u=i.isArray(u)?u:[u];for(v=1;v<h.length;v++){var _,x,w,S,C=a.toGlobalCoord(h[v].coord);a.isHorizontal()?(_=y,x=c.y,w=C-_,S=c.height,y=_+w):(_=c.x,x=y,w=c.width,S=C-x,y=x+S);var T=h[v-1].tickValue;null!=T&&p.set(T,g),e.add(new r.Rect({anid:null!=T?"area_"+T:null,shape:{x:_,y:x,width:w,height:S},style:i.defaults({fill:u[g]},b),silent:!0})),g=(g+1)%f}t.__splitAreaColors=p}}}function a(t){t.__splitAreaColors=null}e.rectCoordAxisBuildSplitArea=o,e.rectCoordAxisHandleRemove=a},5926:function(t,e,n){var i=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:i(e)}},"597f":function(t,e){t.exports=function(t,e,n,i){var r,o=0;function a(){var a=this,s=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),n.apply(a,l)}function c(){r=void 0}i&&!r&&u(),r&&clearTimeout(r),void 0===i&&s>t?u():!0!==e&&(r=setTimeout(i?c:u,void 0===i?t-s:t))}return"boolean"!==typeof e&&(i=n,n=e,e=void 0),a}},"59ed":function(t,e,n){var i=n("1626"),r=n("0d51"),o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not a function")}},"5a34":function(t,e,n){var i=n("44e7"),r=TypeError;t.exports=function(t){if(i(t))throw r("The method doesn't accept regular expressions");return t}},"5a47":function(t,e,n){var i=n("23e7"),r=n("04f8"),o=n("d039"),a=n("7418"),s=n("7b0b"),l=!r||o((function(){a.f(1)}));i({target:"Object",stat:!0,forced:l},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},"5a94":function(t,e,n){var i=n("b367")("keys"),r=n("8b1a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"5aa9":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=r.isObject,a=r.each,s=r.map,l=r.indexOf,u=(r.retrieve,n("f934")),c=u.getLayoutRect,h=n("697e"),f=h.createScaleByModel,d=h.ifAxisCrossZero,p=h.niceScaleExtent,g=h.estimateLabelUnionRect,v=n("cbe9"),m=n("ec02"),y=n("2039"),b=n("ee1a"),_=b.getStackedDimension;function x(t,e,n){return t.getCoordSysModel()===e}function w(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}n("8ed2");var S=w.prototype;function C(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get("axisLine.onZero"),l=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)T(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&T(o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function T(t){return t&&"category"!==t.type&&"time"!==t.type&&d(t)}function A(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),a(n.x,(function(t){p(t.scale,t.model)})),a(n.y,(function(t){p(t.scale,t.model)}));var i={};a(n.x,(function(t){C(n,"y",t,i)})),a(n.y,(function(t){C(n,"x",t,i)})),this.resize(this.model,e)},S.resize=function(t,e,n){var i=c(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=i;var r=this._axesList;function o(){a(r,(function(t){var e=t.isHorizontal(),n=e?[0,i.width]:[0,i.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),A(t,e?i.x:i.y)}))}o(),!n&&t.get("containLabel")&&(a(r,(function(t){if(!t.model.get("axisLabel.inside")){var e=g(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get("axisLabel.margin");i[n]-=e[n]+r,"top"===t.position?i.y+=e.height+r:"left"===t.position&&(i.x+=e.width+r)}}})),o())},S.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}o(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},S.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},S._findConvertTarget=function(t,e){var n,i,r=e.seriesModel,o=e.xAxisModel||r&&r.getReferringComponents("xAxis")[0],a=e.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=e.gridModel,u=this._coordsList;if(r)n=r.coordinateSystem,l(u,n)<0&&(n=null);else if(o&&a)n=this.getCartesian(o.componentIndex,a.componentIndex);else if(o)i=this.getAxis("x",o.componentIndex);else if(a)i=this.getAxis("y",a.componentIndex);else if(s){var c=s.coordinateSystem;c===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},S.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},S._initCartesian=function(t,e,n){var i={left:!1,right:!1,top:!1,bottom:!1},r={x:{},y:{}},o={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!o.x||!o.y)return this._axesMap={},void(this._axesList=[]);function s(n){return function(a,s){if(x(a,t,e)){var l=a.get("position");"x"===n?"top"!==l&&"bottom"!==l&&(l=i.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=i.left?"right":"left"),i[l]=!0;var u=new m(n,f(a),[0,0],a.get("type"),l),c="category"===u.type;u.onBand=c&&a.get("boundaryGap"),u.inverse=a.get("inverse"),a.axis=u,u.model=a,u.grid=this,u.index=s,this._axesList.push(u),r[n][s]=u,o[n]++}}}this._axesMap=r,a(r.x,(function(e,n){a(r.y,(function(i,r){var o="x"+n+"y"+r,a=new v(o);a.grid=this,a.model=t,this._coordsMap[o]=a,this._coordsList.push(a),a.addAxis(e),a.addAxis(i)}),this)}),this)},S._updateScale=function(t,e){function n(t,e,n){a(t.mapDimension(e.dim,!0),(function(n){e.scale.unionExtentFromData(t,_(t,n))}))}a(this._axesList,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeries((function(i){if(k(i)){var r=M(i,t),o=r[0],a=r[1];if(!x(o,e,t)||!x(a,e,t))return;var s=this.getCartesian(o.componentIndex,a.componentIndex),l=i.getData(),u=s.getAxis("x"),c=s.getAxis("y");"list"===l.type&&(n(l,u,i),n(l,c,i))}}),this)},S.getTooltipAxes=function(t){var e=[],n=[];return a(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);l(e,r)<0&&e.push(r),l(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}};var O=["xAxis","yAxis"];function M(t,e){return s(O,(function(e){var n=t.getReferringComponents(e)[0];return n}))}function k(t){return"cartesian2d"===t.get("coordinateSystem")}w.create=function(t,e){var n=[];return t.eachComponent("grid",(function(i,r){var o=new w(i,t,e);o.name="grid_"+r,o.resize(i,e,!0),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(e){if(k(e)){var n=M(e,t),i=n[0],r=n[1],o=i.getCoordSysModel(),a=o.coordinateSystem;e.coordinateSystem=a.getCartesian(i.componentIndex,r.componentIndex)}})),n},w.dimensions=w.prototype.dimensions=v.prototype.dimensions,y.register("cartesian2d",w);var I=w;t.exports=I},"5b69":function(t,e,n){var i=n("2306"),r=n("3eba"),o=n("6d8b"),a=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function h(t,e,n){var i=t.getGraphicEl(),r=c(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",r)}))}function f(t,e){var n=c(t,e),i=t.getGraphicEl();i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var d=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),p=r.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(t,e,n){var r=this,o=t.getGraph(),a=this.group,s=t.layoutInfo,l=s.width,u=s.height,c=t.getData(),h=t.getData("edge"),f=t.get("orient");this._model=t,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(e){var n=new d;n.dataIndex=e.dataIndex,n.seriesIndex=t.seriesIndex,n.dataType="edge";var r,o,s,c,p,g,v,m,y=e.getModel("lineStyle"),b=y.get("curveness"),_=e.node1.getLayout(),x=e.node1.getModel(),w=x.get("localX"),S=x.get("localY"),C=e.node2.getLayout(),T=e.node2.getModel(),A=T.get("localX"),O=T.get("localY"),M=e.getLayout();switch(n.shape.extent=Math.max(1,M.dy),n.shape.orient=f,"vertical"===f?(r=(null!=w?w*l:_.x)+M.sy,o=(null!=S?S*u:_.y)+_.dy,s=(null!=A?A*l:C.x)+M.ty,c=null!=O?O*u:C.y,p=r,g=o*(1-b)+c*b,v=s,m=o*b+c*(1-b)):(r=(null!=w?w*l:_.x)+_.dx,o=(null!=S?S*u:_.y)+M.sy,s=null!=A?A*l:C.x,c=(null!=O?O*u:C.y)+M.ty,p=r*(1-b)+s*b,g=o,v=r*b+s*(1-b),m=c),n.setShape({x1:r,y1:o,x2:s,y2:c,cpx1:p,cpy1:g,cpx2:v,cpy2:m}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color");break;case"target":n.style.fill=e.node2.getVisual("color");break}i.setHoverStyle(n,e.getModel("emphasis.lineStyle").getItemStyle()),a.add(n),h.setItemGraphicEl(e.dataIndex,n)})),o.eachNode((function(e){var n=e.getLayout(),r=e.getModel(),o=r.get("localX"),s=r.get("localY"),h=r.getModel("label"),f=r.getModel("emphasis.label"),d=new i.Rect({shape:{x:null!=o?o*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle()}),p=e.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(d.style,p,h,f,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),d.setStyle("fill",e.getVisual("color")),i.setHoverStyle(d,p),a.add(d),c.setItemGraphicEl(e.dataIndex,d),d.dataType="node"})),c.eachItemGraphicEl((function(e,i){var o=c.getItemModel(i);o.get("draggable")&&(e.drift=function(e,o){r._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},e.ondragend=function(){r._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move"),e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.focusNodeAdjHandler&&e.off("mouseover",e.focusNodeAdjHandler),e.unfocusNodeAdjHandler&&e.off("mouseout",e.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(e.on("mouseover",e.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex}))}),e.on("mouseout",e.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),h.eachItemGraphicEl((function(e,i){var o=h.getItemModel(i);e.focusNodeAdjHandler&&e.off("mouseover",e.focusNodeAdjHandler),e.unfocusNodeAdjHandler&&e.off("mouseout",e.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(e.on("mouseover",e.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex}))}),e.on("mouseout",e.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),!this._data&&t.get("animation")&&a.setClipPath(g(a.getBoundingRect(),t,(function(){a.removeClipPath()}))),this._data=t.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(t){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){e._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,n,i){var r=t.getData(),c=r.graph,d=i.dataIndex,p=r.getItemModel(d),g=i.edgeDataIndex;if(null!=d||null!=g){var v=c.getNodeByIndex(d),m=c.getEdgeByIndex(g);if(c.eachNode((function(t){h(t,a,.1)})),c.eachEdge((function(t){h(t,l,.1)})),v){f(v,s);var y=p.get("focusNodeAdjacency");"outEdges"===y?o.each(v.outEdges,(function(t){t.dataIndex<0||(f(t,u),f(t.node2,s))})):"inEdges"===y?o.each(v.inEdges,(function(t){t.dataIndex<0||(f(t,u),f(t.node1,s))})):"allEdges"===y&&o.each(v.edges,(function(t){t.dataIndex<0||(f(t,u),t.node1!==v&&f(t.node1,s),t.node2!==v&&f(t.node2,s))}))}m&&(f(m,u),f(m.node1,s),f(m.node2,s))}},unfocusNodeAdjacency:function(t,e,n,i){var r=t.getGraph();r.eachNode((function(t){h(t,a)})),r.eachEdge((function(t){h(t,l)}))}});function g(t,e,n){var r=new i.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return i.initProps(r,{shape:{width:t.width+20}},e,n),r}t.exports=p},"5b87":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=r.each,a=r.createHashMap,s=n("ec34"),l=n("4c86"),u=n("c92f"),c=n("9850"),h={geoJSON:l,svg:u},f={load:function(t,e,n){var i,r=[],s=a(),l=a(),u=p(t);return o(u,(function(a){var u=h[a.type].load(t,a,n);o(u.regions,(function(t){var n=t.name;e&&e.hasOwnProperty(n)&&(t=t.cloneShallow(n=e[n])),r.push(t),s.set(n,t),l.set(n,t.center)}));var c=u.boundingRect;c&&(i?i.union(c):i=c.clone())})),{regions:r,regionsMap:s,nameCoordMap:l,boundingRect:i||new c(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(t){return function(e,n){var i=p(e),r=[];return o(i,(function(i){var o=h[i.type][t];o&&r.push(o(e,i,n))})),r}}function p(t){var e=s.retrieveMap(t)||[];return e}t.exports=f},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cce":function(t,e){t.exports={version:"0.24.0"}},"5ce2":function(t,e,n){n("3970"),n("480e")},"5e68":function(t,e,n){var i=n("6d8b"),r=n("2cf4"),o=r.devicePixelRatio,a=n("2b61"),s=n("dc2f");function l(){return!1}function u(t,e,n){var r=i.createCanvas(),o=e.getWidth(),a=e.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=o+"px",s.height=a+"px",r.setAttribute("data-zr-dom-id",t)),r.width=o*n,r.height=a*n,r}var c=function(t,e,n){var r;n=n||o,"string"===typeof t?r=u(t,e,n):i.isObject(t)&&(r=t,t=r.id),this.id=t,this.dom=r;var a=r.style;a&&(r.onselectstart=l,a["-webkit-user-select"]="none",a["user-select"]="none",a["-webkit-touch-callout"]="none",a["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",a["padding"]=0,a["margin"]=0,a["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};c.prototype={constructor:c,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=u("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,r=this.ctx,o=i.width,l=i.height,u=(e=e||this.clearColor,this.motionBlur&&!t),c=this.lastFrameAlpha,h=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/h,l/h)),r.clearRect(0,0,o,l),e&&"transparent"!==e)&&(e.colorStops?(n=e.__canvasGradient||a.getGradient(r,e,{x:0,y:0,width:o,height:l}),e.__canvasGradient=n):e.image&&(n=s.prototype.getCanvasPattern.call(e,r)),r.save(),r.fillStyle=n||e,r.fillRect(0,0,o,l),r.restore());if(u){var f=this.domBack;r.save(),r.globalAlpha=c,r.drawImage(f,0,0,o,l),r.restore()}}};var h=c;t.exports=h},"5e76":function(t,e,n){var i=n("d51b"),r=new i(50);function o(t){if("string"===typeof t){var e=r.get(t);return e&&e.image}return t}function a(t,e,n,i,o){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var a=r.get(t),u={hostEl:n,cb:i,cbPayload:o};return a?(e=a.image,!l(e)&&a.pending.push(u)):(e=new Image,e.onload=e.onerror=s,r.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}e.findExistImage=o,e.createOrUpdateImage=a,e.isImageReady=l},"5e77":function(t,e,n){var i=n("83ab"),r=n("1a2d"),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},"5e7e":function(t,e,n){"use strict";var i,r,o,a,s=n("23e7"),l=n("c430"),u=n("605d"),c=n("da84"),h=n("c65b"),f=n("cb2d"),d=n("d2bb"),p=n("d44e"),g=n("2626"),v=n("59ed"),m=n("1626"),y=n("861d"),b=n("19aa"),_=n("4840"),x=n("2cf49").set,w=n("b575"),S=n("44de"),C=n("e667"),T=n("01b4"),A=n("69f3"),O=n("d256"),M=n("4738"),k=n("f069"),I="Promise",E=M.CONSTRUCTOR,P=M.REJECTION_EVENT,D=M.SUBCLASSING,L=A.getterFor(I),R=A.set,N=O&&O.prototype,j=O,B=N,F=c.TypeError,z=c.document,V=c.process,H=k.f,G=H,W=!!(z&&z.createEvent&&c.dispatchEvent),q="unhandledrejection",U="rejectionhandled",Y=0,X=1,$=2,Z=1,K=2,J=function(t){var e;return!(!y(t)||!m(e=t.then))&&e},Q=function(t,e){var n,i,r,o=e.value,a=e.state==X,s=a?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(a||(e.rejection===K&&rt(e),e.rejection=Z),!0===s?n=o:(c&&c.enter(),n=s(o),c&&(c.exit(),r=!0)),n===t.promise?u(F("Promise-chain cycle")):(i=J(n))?h(i,n,l,u):l(n)):u(o)}catch(f){c&&!r&&c.exit(),u(f)}},tt=function(t,e){t.notified||(t.notified=!0,w((function(){var n,i=t.reactions;while(n=i.get())Q(n,t);t.notified=!1,e&&!t.rejection&&nt(t)})))},et=function(t,e,n){var i,r;W?(i=z.createEvent("Event"),i.promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},!P&&(r=c["on"+t])?r(i):t===q&&S("Unhandled promise rejection",n)},nt=function(t){h(x,c,(function(){var e,n=t.facade,i=t.value,r=it(t);if(r&&(e=C((function(){u?V.emit("unhandledRejection",i,n):et(q,n,i)})),t.rejection=u||it(t)?K:Z,e.error))throw e.value}))},it=function(t){return t.rejection!==Z&&!t.parent},rt=function(t){h(x,c,(function(){var e=t.facade;u?V.emit("rejectionHandled",e):et(U,e,t.value)}))},ot=function(t,e,n){return function(i){t(e,i,n)}},at=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=$,tt(t,!0))},st=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw F("Promise can't be resolved itself");var i=J(e);i?w((function(){var n={done:!1};try{h(i,e,ot(st,n,t),ot(at,n,t))}catch(r){at(n,r,t)}})):(t.value=e,t.state=X,tt(t,!1))}catch(r){at({done:!1},r,t)}}};if(E&&(j=function(t){b(this,B),v(t),h(i,this);var e=L(this);try{t(ot(st,e),ot(at,e))}catch(n){at(e,n)}},B=j.prototype,i=function(t){R(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:Y,value:void 0})},i.prototype=f(B,"then",(function(t,e){var n=L(this),i=H(_(this,j));return n.parent=!0,i.ok=!m(t)||t,i.fail=m(e)&&e,i.domain=u?V.domain:void 0,n.state==Y?n.reactions.add(i):w((function(){Q(i,n)})),i.promise})),r=function(){var t=new i,e=L(t);this.promise=t,this.resolve=ot(st,e),this.reject=ot(at,e)},k.f=H=function(t){return t===j||t===o?new r(t):G(t)},!l&&m(O)&&N!==Object.prototype)){a=N.then,D||f(N,"then",(function(t,e){var n=this;return new j((function(t,e){h(a,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete N.constructor}catch(lt){}d&&d(N,B)}s({global:!0,constructor:!0,wrap:!0,forced:E},{Promise:j}),p(j,I,!1,!0),g(I)},"5e97":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("a15a"),s=a.createSymbol,l=n("2306"),u=n("7919"),c=u.makeBackground,h=n("f934"),f=o.curry,d=o.each,p=l.Group,g=r.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,s,a,l);var u=t.getBoxLayoutParams(),f={width:n.getWidth(),height:n.getHeight()},d=t.get("padding"),p=h.getLayoutRect(u,f,d),g=this.layoutInner(t,r,p,i,s,l),v=h.getLayoutRect(o.defaults({width:g.width,height:g.height},u),f,d);this.group.attr("position",[v.x-g.x,v.y-g.y]),this.group.add(this._backgroundEl=c(g,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,n,i,r,a,s){var l=this.getContentGroup(),u=o.createHashMap(),c=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),d(e.getData(),(function(r,o){var a=r.get("name");if(this.newlineDisabled||""!==a&&"\n"!==a){var s=n.getSeriesByName(a)[0];if(!u.get(a))if(s){var d=s.getData(),g=d.getVisual("color"),v=d.getVisual("borderColor");"function"===typeof g&&(g=g(s.getDataParams(0))),"function"===typeof v&&(v=v(s.getDataParams(0)));var _=d.getVisual("legendSymbol")||"roundRect",x=d.getVisual("symbol"),w=this._createItem(a,o,r,e,_,x,t,g,v,c);w.on("click",f(m,a,null,i,h)).on("mouseover",f(y,s.name,null,i,h)).on("mouseout",f(b,s.name,null,i,h)),u.set(a,!0)}else n.eachRawSeries((function(n){if(!u.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var l=s.indexOfName(a),d=s.getItemVisual(l,"color"),p=s.getItemVisual(l,"borderColor"),g="roundRect",v=this._createItem(a,o,r,e,g,null,t,d,p,c);v.on("click",f(m,null,a,i,h)).on("mouseover",f(y,null,a,i,h)).on("mouseout",f(b,null,a,i,h)),u.set(a,!0)}}),this)}else l.add(new p({newline:!0}))}),this),r&&this._createSelector(r,e,i,a,s)},_createSelector:function(t,e,n,i,r){var o=this.getSelectorGroup();function a(t){var i=t.type,r=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel("emphasis.selectorLabel");l.setLabelStyle(r.style,r.hoverStyle={},a,s,{defaultText:t.title,isRectText:!1}),l.setHoverStyle(r)}d(t,(function(t){a(t)}))},_createItem:function(t,e,n,i,r,a,u,c,h,f){var d=i.get("itemWidth"),g=i.get("itemHeight"),m=i.get("inactiveColor"),y=i.get("inactiveBorderColor"),b=i.get("symbolKeepAspect"),_=i.getModel("itemStyle"),x=i.isSelected(t),w=new p,S=n.getModel("textStyle"),C=n.get("icon"),T=n.getModel("tooltip"),A=T.parentModel;r=C||r;var O=s(r,0,0,d,g,x?c:m,null==b||b);if(w.add(v(O,r,_,h,y,x)),!C&&a&&(a!==r||"none"===a)){var M=.8*g;"none"===a&&(a="circle");var k=s(a,(d-M)/2,(g-M)/2,M,M,x?c:m,null==b||b);w.add(v(k,a,_,h,y,x))}var I="left"===u?d+5:-5,E=u,P=i.get("formatter"),D=t;"string"===typeof P&&P?D=P.replace("{name}",null!=t?t:""):"function"===typeof P&&(D=P(t)),w.add(new l.Text({style:l.setTextStyle({},S,{text:D,x:I,y:g/2,textFill:x?S.getTextColor():m,textAlign:E,textVerticalAlign:"middle"})}));var L=new l.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:T.get("show")?o.extend({content:t,formatter:A.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]}},T.option):null});return w.add(L),w.eachChild((function(t){t.silent=!0})),L.silent=!f,this.getContentGroup().add(w),l.setHoverStyle(w),w.__legendDataIndex=e,w},layoutInner:function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();h.box(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(r){h.box("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),f=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,g=0===p?"width":"height",v=0===p?"height":"width",m=0===p?"y":"x";"end"===o?f[p]+=l[g]+d:u[p]+=c[g]+d,f[1-p]+=l[v]/2-c[v]/2,s.attr("position",f),a.attr("position",u);var y={x:0,y:0};return y[g]=l[g]+d+c[g],y[v]=Math.max(l[v],c[v]),y[m]=Math.min(0,c[m]+f[1-p]),y}return a.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function v(t,e,n,i,r,o){var a;return"line"!==e&&e.indexOf("empty")<0?(a=n.getItemStyle(),t.style.stroke=i,o||(a.stroke=r)):a=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(a)}function m(t,e,n,i){b(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),y(t,e,n,i)}function y(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function b(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}t.exports=g},"5eed":function(t,e,n){var i=n("d256"),r=n("1c7e"),o=n("4738").CONSTRUCTOR;t.exports=o||!r((function(t){i.all(t).then(void 0,(function(){}))}))},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"5f14":function(t,e,n){var i=n("6d8b"),r=n("41ef"),o=n("3842"),a=o.linearMap,s=i.each,l=i.isObject,u=-1,c=function(t){var e=t.mappingMethod,n=t.type,r=this.option=i.clone(t);this.type=n,this.mappingMethod=e,this._normalizeData=S[e];var o=h[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[e],"piecewise"===e?(p(r),f(r)):"category"===e?r.categories?d(r):p(r,!0):(i.assert("linear"!==e||r.dataExtent),p(r))};c.prototype={constructor:c,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var h=c.visualHandlers={color:{applyVisual:m("color"),getColorMapper:function(){var t=this.option;return i.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),y.call(this,t)}:function(e,n,i){var o=!!i;return!n&&(e=this._normalizeData(e)),i=r.fastLerp(e,t.parsedVisual,i),o?i:r.stringify(i,"rgba")},this)},_doMap:{linear:function(t){return r.stringify(r.fastLerp(t,this.option.parsedVisual),"rgba")},category:y,piecewise:function(t,e){var n=x.call(this,e);return null==n&&(n=r.stringify(r.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:b}},colorHue:g((function(t,e){return r.modifyHSL(t,e)})),colorSaturation:g((function(t,e){return r.modifyHSL(t,null,e)})),colorLightness:g((function(t,e){return r.modifyHSL(t,null,null,e)})),colorAlpha:g((function(t,e){return r.modifyAlpha(t,e)})),opacity:{applyVisual:m("opacity"),_doMap:_([0,1])},liftZ:{applyVisual:m("liftZ"),_doMap:{linear:b,category:b,piecewise:b,fixed:b}},symbol:{applyVisual:function(t,e,n){var r=this.mapValueToVisual(t);if(i.isString(r))n("symbol",r);else if(l(r))for(var o in r)r.hasOwnProperty(o)&&n(o,r[o])},_doMap:{linear:v,category:y,piecewise:function(t,e){var n=x.call(this,e);return null==n&&(n=v.call(this,t)),n},fixed:b}},symbolSize:{applyVisual:m("symbolSize"),_doMap:_([0,1])}};function f(t){var e=t.pieceList;t.hasSpecialVisual=!1,i.each(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}function d(t){var e=t.categories,n=t.visual,r=t.categoryMap={};if(s(e,(function(t,e){r[t]=e})),!i.isArray(n)){var o=[];i.isObject(n)?s(n,(function(t,e){var n=r[e];o[null!=n?n:u]=t})):o[u]=n,n=w(t,o)}for(var a=e.length-1;a>=0;a--)null==n[a]&&(delete r[e[a]],e.pop())}function p(t,e){var n=t.visual,r=[];i.isObject(n)?s(n,(function(t){r.push(t)})):null!=n&&r.push(n);var o={color:1,symbol:1};e||1!==r.length||o.hasOwnProperty(t.type)||(r[1]=r[0]),w(t,r)}function g(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:_([0,1])}}function v(t){var e=this.option.visual;return e[Math.round(a(t,[0,1],[0,e.length-1],!0))]||{}}function m(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function y(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function b(){return this.option.visual[0]}function _(t){return{linear:function(e){return a(e,t,this.option.visual,!0)},category:y,piecewise:function(e,n){var i=x.call(this,n);return null==i&&(i=a(e,t,this.option.visual,!0)),i},fixed:b}}function x(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=c.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function w(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=i.map(e,(function(t){return r.parse(t)}))),e}var S={linear:function(t){return a(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=c.findPieceIndex(t,e,!0);if(null!=n)return a(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?u:e},fixed:i.noop};function C(t,e,n){return t?e<=n:e<n}c.listVisualTypes=function(){var t=[];return i.each(h,(function(e,n){t.push(n)})),t},c.addVisualHandler=function(t,e){h[t]=e},c.isValidType=function(t){return h.hasOwnProperty(t)},c.eachVisual=function(t,e,n){i.isObject(t)?i.each(t,e,n):e.call(n,t)},c.mapVisual=function(t,e,n){var r,o=i.isArray(t)?[]:i.isObject(t)?{}:(r=!0,null);return c.eachVisual(t,(function(t,i){var a=e.call(n,t,i);r?o=a:o[i]=a})),o},c.retrieveVisuals=function(t){var e,n={};return t&&s(h,(function(i,r){t.hasOwnProperty(r)&&(n[r]=t[r],e=!0)})),e?n:null},c.prepareVisualTypes=function(t){if(l(t)){var e=[];s(t,(function(t,n){e.push(n)})),t=e}else{if(!i.isArray(t))return[];t=t.slice()}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},c.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},c.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||"string"===typeof s&&s===t+"")return o;n&&h(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(C(c[1],t,u[1]))return o}else if(u[1]===1/0){if(C(c[0],u[0],t))return o}else if(C(c[0],u[0],t)&&C(c[1],t,u[1]))return o;n&&h(u[0],o),n&&h(u[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function h(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}};var T=c;t.exports=T},"605d":function(t,e,n){var i=n("c6b6"),r=n("da84");t.exports="process"==i(r.process)},6069:function(t,e,n){var i=n("6c59"),r=n("605d");t.exports=!i&&!r&&"object"==typeof window&&"object"==typeof document},"607d":function(t,e,n){var i=n("1fab");e.Dispatcher=i;var r=n("22d1"),o=n("65ed"),a=o.isCanvasEl,s=o.transformCoordWithViewport,l="undefined"!==typeof window&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function h(t,e,n,i){return n=n||{},i||!r.canvasSupported?f(t,e,n):r.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):f(t,e,n),n}function f(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(a(t)){var l=t.getBoundingClientRect();return n.zrX=i-l.left,void(n.zrY=o-l.top)}if(s(c,t,i,o))return n.zrX=c[0],void(n.zrY=c[1])}n.zrX=n.zrY=0}function d(t){return t||window.event}function p(t,e,n){if(e=d(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var o="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];o&&h(t,o,e,n)}else h(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&u.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function g(t,e,n,i){l?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)}function v(t,e,n,i){l?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)}var m=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}function b(t){return t.which>1}e.clientToLocal=h,e.getNativeEvent=d,e.normalizeEvent=p,e.addEventListener=g,e.removeEventListener=v,e.stop=m,e.isMiddleOrRightButtonOnMouseUpDown=y,e.notLeftMouse=b},"60d7":function(t,e,n){var i=n("2306"),r=n("e887"),o=.3,a=r.extend({type:"parallel",init:function(){this._dataGroup=new i.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,n,r){var o=this._dataGroup,a=t.getData(),f=this._data,d=t.coordinateSystem,p=d.dimensions,g=c(t);function v(t){var e=u(a,o,t,p,d);h(e,a,t,g)}function m(e,n){var o=f.getItemGraphicEl(n),s=l(a,e,p,d);a.setItemGraphicEl(e,o);var u=r&&!1===r.animation?null:t;i.updateProps(o,{shape:{points:s}},u,e),h(o,a,e,g)}function y(t){var e=f.getItemGraphicEl(t);o.remove(e)}if(a.diff(f).add(v).update(m).remove(y).execute(),!this._initialized){this._initialized=!0;var b=s(d,t,(function(){setTimeout((function(){o.removeClipPath()}))}));o.setClipPath(b)}this._data=a},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=c(e),s=t.start;s<t.end;s++){var l=u(i,this._dataGroup,s,o,r);l.incremental=!0,h(l,i,s,a)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(t,e,n){var r=t.model,o=t.getRect(),a=new i.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),s="horizontal"===r.get("layout")?"width":"height";return a.setShape(s,0),i.initProps(a,{shape:{width:o.width,height:o.height}},e,n),a}function l(t,e,n,i){for(var r=[],o=0;o<n.length;o++){var a=n[o],s=t.get(t.mapDimension(a),e);f(s,i.getAxis(a).type)||r.push(i.dataToPoint(s,a))}return r}function u(t,e,n,r,o){var a=l(t,n,r,o),s=new i.Polyline({shape:{points:a},silent:!0,z2:10});return e.add(s),t.setItemGraphicEl(n,s),s}function c(t){var e=t.get("smooth",!0);return!0===e&&(e=o),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:o}}function h(t,e,n,i){var r=i.lineStyle;if(e.hasItemOption){var o=e.getItemModel(n).getModel("lineStyle");r=o.getLineStyle()}t.useStyle(r);var a=t.style;a.fill=null,a.stroke=e.getItemVisual(n,"color"),a.opacity=e.getItemVisual(n,"opacity"),i.smooth&&(t.shape.smooth=i.smooth)}function f(t,e){return"category"===e?null==t:null==t||isNaN(t)}var d=a;t.exports=d},"60da":function(t,e,n){"use strict";var i=n("83ab"),r=n("e330"),o=n("c65b"),a=n("d039"),s=n("df75"),l=n("7418"),u=n("d1e7"),c=n("7b0b"),h=n("44ad"),f=Object.assign,d=Object.defineProperty,p=r([].concat);t.exports=!f||a((function(){if(i&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||s(f({},e)).join("")!=r}))?function(t,e){var n=c(t),r=arguments.length,a=1,f=l.f,d=u.f;while(r>a){var g,v=h(arguments[a++]),m=f?p(s(v),f(v)):s(v),y=m.length,b=0;while(y>b)g=m[b++],i&&!o(d,v,g)||(n[g]=v[g])}return n}:f},"60e3":function(t,e,n){var i=n("6d8b"),r={get:function(t,e,n){var r=i.clone((o[t]||{})[e]);return n&&i.isArray(r)?r[r.length-1]:r}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},a=r;t.exports=a},6179:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("4319"),a=n("80f0"),s=n("ec6f"),l=n("2b17"),u=l.defaultDimValueGetters,c=l.DefaultDataProvider,h=n("2f45"),f=h.summarizeDimensions,d=n("562e"),p=r.isObject,g="undefined",v=-1,m="e\0\0",y={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},b=typeof Uint32Array===g?Array:Uint32Array,_=typeof Int32Array===g?Array:Int32Array,x=typeof Uint16Array===g?Array:Uint16Array;function w(t){return t._rawCount>65535?b:x}function S(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function A(t,e){r.each(C.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,r.each(T,(function(n){t[n]=r.clone(e[n])})),t._calculationInfo=r.extend(e._calculationInfo)}var O=function(t,e){t=t||["x","y"];for(var n={},i=[],o={},a=0;a<t.length;a++){var s=t[a];r.isString(s)?s=new d({name:s}):s instanceof d||(s=new d(s));var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},i.push(l),n[l]=s,s.index=a,s.createInvertedIndices&&(o[l]=[])}this.dimensions=i,this._dimensionInfos=n,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=f(this),this._invertedIndicesMap=o,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},M=O.prototype;function k(t,e,n,i,r){var o=y[e.type],a=i-1,s=e.name,l=t[s][a];if(l&&l.length<n){for(var u=new o(Math.min(r-a*n,n)),c=0;c<l.length;c++)u[c]=l[c];t[s][a]=u}for(var h=i*n;h<r;h+=n)t[s].push(new o(Math.min(r-h,n)))}function I(t){var e=t._invertedIndicesMap;r.each(e,(function(n,i){var r=t._dimensionInfos[i],o=r.ordinalMeta;if(o){n=e[i]=new _(o.categories.length);for(var a=0;a<n.length;a++)n[a]=v;for(a=0;a<t._count;a++)n[t.get(i,a)]=a}}))}function E(t,e,n){var i;if(null!=e){var r=t._chunkSize,o=Math.floor(n/r),a=n%r,s=t.dimensions[e],l=t._storage[s][o];if(l){i=l[a];var u=t._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(i=u.categories[i])}}return i}function P(t){return t}function D(t){return t<this._count&&t>=0?this._indices[t]:-1}function L(t,e){var n=t._idList[e];return null==n&&(n=E(t,t._idDimIdx,e)),null==n&&(n=m+e),n}function R(t){return r.isArray(t)||(t=[t]),t}function N(t,e){var n=t.dimensions,i=new O(r.map(n,t.getDimensionInfo,t),t.hostModel);A(i,t);for(var o=i._storage={},a=t._storage,s=0;s<n.length;s++){var l=n[s];a[l]&&(r.indexOf(e,l)>=0?(o[l]=j(a[l]),i._rawExtent[l]=B(),i._extent[l]=null):o[l]=a[l])}return i}function j(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=S(t[n]);return e}function B(){return[1/0,-1/0]}M.type="list",M.hasItemOption=!0,M.getDimension=function(t){return"number"!==typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},M.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},M.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},M.mapDimension=function(t,e){var n=this._dimensionsSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return!0===e?(i||[]).slice():i&&i[e]},M.initData=function(t,e,n){var i=s.isInstance(t)||r.isArrayLike(t);i&&(t=new c(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},M.getProvider=function(){return this._rawData},M.appendData=function(t){var e=this._rawData,n=this.count();e.appendData(t);var i=e.count();e.persistent||(i+=n),this._initDataFromProvider(n,i)},M.appendValues=function(t,e){for(var n=this._chunkSize,i=this._storage,r=this.dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),u=this._chunkCount,c=0;c<o;c++){var h=r[c];a[h]||(a[h]=B()),i[h]||(i[h]=[]),k(i,this._dimensionInfos[h],n,u,l),this._chunkCount=i[h].length}for(var f=new Array(o),d=s;d<l;d++){for(var p=d-s,g=Math.floor(d/n),v=d%n,m=0;m<o;m++){h=r[m];var y=this._dimValueGetterArrayRows(t[p]||f,h,p,m);i[h][g][v]=y;var b=a[h];y<b[0]&&(b[0]=y),y>b[1]&&(b[1]=y)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},I(this)},M._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,f=this._nameRepeatCount={},d=this._chunkCount,p=0;p<s;p++){var g=a[p];h[g]||(h[g]=B());var v=l[g];0===v.otherDims.itemName&&(n=this._nameDimIdx=p),0===v.otherDims.itemId&&(this._idDimIdx=p),o[g]||(o[g]=[]),k(o,v,i,d,e),this._chunkCount=o[g].length}for(var m=new Array(s),y=t;y<e;y++){m=r.getItem(y,m);for(var b=Math.floor(y/i),_=y%i,x=0;x<s;x++){g=a[x];var w=o[g][b],S=this._dimValueGetter(m,g,y,x);w[_]=S;var C=h[g];S<C[0]&&(C[0]=S),S>C[1]&&(C[1]=S)}if(!r.pure){var T=u[y];if(m&&null==T)if(null!=m.name)u[y]=T=m.name;else if(null!=n){var A=a[n],O=o[A][b];if(O){T=O[_];var M=l[A].ordinalMeta;M&&M.categories.length&&(T=M.categories[T])}}var E=null==m?null:m.id;null==E&&null!=T&&(f[T]=f[T]||0,E=T,f[T]>0&&(E+="__ec__"+f[T]),f[T]++),null!=E&&(c[y]=E)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},I(this)}},M.count=function(){return this._count},M.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i<n;i++)r[i]=t[i]}else r=new e(t.buffer,0,n)}else{e=w(this);var r=new e(this.count());for(i=0;i<r.length;i++)r[i]=i}return r},M.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._storage;if(!n[t])return NaN;e=this.getRawIndex(e);var i=Math.floor(e/this._chunkSize),r=e%this._chunkSize,o=n[t][i],a=o[r];return a},M.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._storage[t];if(!n)return NaN;var i=Math.floor(e/this._chunkSize),r=e%this._chunkSize,o=n[i];return o[r]},M._getFast=function(t,e){var n=Math.floor(e/this._chunkSize),i=e%this._chunkSize,r=this._storage[t][n];return r[i]},M.getValues=function(t,e){var n=[];r.isArray(t)||(e=t,t=this.dimensions);for(var i=0,o=t.length;i<o;i++)n.push(this.get(t[i],e));return n},M.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this.get(e[n],t)))return!1;return!0},M.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=B();if(!e)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var a=i[0],s=i[1],l=0;l<r;l++){var u=this._getFast(t,this.getRawIndex(l));u<a&&(a=u),u>s&&(s=u)}return i=[a,s],this._extent[t]=i,i},M.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},M.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},M.getCalculationInfo=function(t){return this._calculationInfo[t]},M.setCalculationInfo=function(t,e){p(t)?r.extend(this._calculationInfo,t):this._calculationInfo[t]=e},M.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},M.getMedian=function(t){var e=[];this.each(t,(function(t,n){isNaN(t)||e.push(t)}));var n=[].concat(e).sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},M.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n[e];return null==i||isNaN(i)?v:i},M.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},M.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;var i=0,r=this._count-1;while(i<=r){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},M.indicesOfNearest=function(t,e,n){var i=this._storage,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var h=e-this.get(t,u),f=Math.abs(h);f<=n&&((f<a||f===a&&h>=0&&s<0)&&(a=f,s=h,l=0),h===s&&(o[l++]=u))}return o.length=l,o},M.getRawIndex=P,M.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];e.push(this.get(i,t))}return e},M.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||E(this,this._nameDimIdx,e)||""},M.getId=function(t){return L(this,this.getRawIndex(t))},M.each=function(t,e,n,i){"use strict";if(this._count){"function"===typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=r.map(R(t),this.getDimension,this);for(var o=t.length,a=0;a<this.count();a++)switch(o){case 0:e.call(n,a);break;case 1:e.call(n,this.get(t[0],a),a);break;case 2:e.call(n,this.get(t[0],a),this.get(t[1],a),a);break;default:for(var s=0,l=[];s<o;s++)l[s]=this.get(t[s],a);l[s]=a,e.apply(n,l)}}},M.filterSelf=function(t,e,n,i){"use strict";if(this._count){"function"===typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=r.map(R(t),this.getDimension,this);for(var o=this.count(),a=w(this),s=new a(o),l=[],u=t.length,c=0,h=t[0],f=0;f<o;f++){var d,p=this.getRawIndex(f);if(0===u)d=e.call(n,f);else if(1===u){var g=this._getFast(h,p);d=e.call(n,g,f)}else{for(var v=0;v<u;v++)l[v]=this._getFast(h,p);l[v]=f,d=e.apply(n,l)}d&&(s[c++]=p)}return c<o&&(this._indices=s),this._count=c,this._extent={},this.getRawIndex=this._indices?D:P,this}},M.selectRange=function(t){"use strict";if(this._count){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);var i=e.length;if(i){var r=this.count(),o=w(this),a=new o(r),s=0,l=e[0],u=t[l][0],c=t[l][1],h=!1;if(!this._indices){var f=0;if(1===i){for(var d=this._storage[e[0]],p=0;p<this._chunkCount;p++)for(var g=d[p],v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){var y=g[m];(y>=u&&y<=c||isNaN(y))&&(a[s++]=f),f++}h=!0}else if(2===i){d=this._storage[l];var b=this._storage[e[1]],_=t[e[1]][0],x=t[e[1]][1];for(p=0;p<this._chunkCount;p++){g=d[p];var S=b[p];for(v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){y=g[m];var C=S[m];(y>=u&&y<=c||isNaN(y))&&(C>=_&&C<=x||isNaN(C))&&(a[s++]=f),f++}}h=!0}}if(!h)if(1===i)for(m=0;m<r;m++){var T=this.getRawIndex(m);y=this._getFast(l,T);(y>=u&&y<=c||isNaN(y))&&(a[s++]=T)}else for(m=0;m<r;m++){var A=!0;for(T=this.getRawIndex(m),p=0;p<i;p++){var O=e[p];y=this._getFast(n,T);(y<t[O][0]||y>t[O][1])&&(A=!1)}A&&(a[s++]=this.getRawIndex(m))}return s<r&&(this._indices=a),this._count=s,this._extent={},this.getRawIndex=this._indices?D:P,this}}},M.mapArray=function(t,e,n,i){"use strict";"function"===typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;var r=[];return this.each(t,(function(){r.push(e&&e.apply(this,arguments))}),n),r},M.map=function(t,e,n,i){"use strict";n=n||i||this,t=r.map(R(t),this.getDimension,this);var o=N(this,t);o._indices=this._indices,o.getRawIndex=o._indices?D:P;for(var a=o._storage,s=[],l=this._chunkSize,u=t.length,c=this.count(),h=[],f=o._rawExtent,d=0;d<c;d++){for(var p=0;p<u;p++)h[p]=this.get(t[p],d);h[u]=d;var g=e&&e.apply(n,h);if(null!=g){"object"!==typeof g&&(s[0]=g,g=s);for(var v=this.getRawIndex(d),m=Math.floor(v/l),y=v%l,b=0;b<g.length;b++){var _=t[b],x=g[b],w=f[_],S=a[_];S&&(S[m][y]=x),x<w[0]&&(w[0]=x),x>w[1]&&(w[1]=x)}}}return o},M.downSample=function(t,e,n,i){for(var r=N(this,[t]),o=r._storage,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=this._chunkSize,h=r._rawExtent[t],f=new(w(this))(u),d=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var g=0;g<s;g++){var v=this.getRawIndex(p+g),m=Math.floor(v/c),y=v%c;a[g]=l[m][y]}var b=n(a),_=this.getRawIndex(Math.min(p+i(a,b)||0,u-1)),x=Math.floor(_/c),S=_%c;l[x][S]=b,b<h[0]&&(h[0]=b),b>h[1]&&(h[1]=b),f[d++]=_}return r._count=d,r._indices=f,r.getRawIndex=D,r},M.getItemModel=function(t){var e=this.hostModel;return new o(this.getRawDataItem(t),e,e&&e.ecModel)},M.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),(function(e){return L(t,e)}),(function(t){return L(e,t)}))},M.getVisual=function(t){var e=this._visual;return e&&e[t]},M.setVisual=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},M.setLayout=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},M.getLayout=function(t){return this._layout[t]},M.getItemLayout=function(t){return this._itemLayouts[t]},M.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?r.extend(this._itemLayouts[t]||{},e):e},M.clearItemLayouts=function(){this._itemLayouts.length=0},M.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},M.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,p(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],r[o]=!0);else i[e]=n,r[e]=!0},M.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var F=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};M.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(F,e)),this._graphicEls[t]=e},M.getItemGraphicEl=function(t){return this._graphicEls[t]},M.eachItemGraphicEl=function(t,e){r.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},M.cloneShallow=function(t){if(!t){var e=r.map(this.dimensions,this.getDimensionInfo,this);t=new O(e,this.hostModel)}if(t._storage=this._storage,A(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?D:P,t},M.wrapMethod=function(t,e){var n=this[t];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(r.slice(arguments)))})},M.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],M.CHANGABLE_METHODS=["filterSelf","selectRange"];var z=O;t.exports=z},"620b":function(t,e,n){var i=n("401b"),r=i.distance;function o(t,e,n,i,r,o,a){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*a+(-3*(e-n)-2*s-l)*o+s*r+e}function a(t,e){for(var n=t.length,i=[],a=0,s=1;s<n;s++)a+=r(t[s-1],t[s]);var l=a/2;l=l<n?n:l;for(s=0;s<l;s++){var u,c,h,f=s/(l-1)*(e?n:n-1),d=Math.floor(f),p=f-d,g=t[d%n];e?(u=t[(d-1+n)%n],c=t[(d+1)%n],h=t[(d+2)%n]):(u=t[0===d?d:d-1],c=t[d>n-2?n-1:d+1],h=t[d>n-3?n-1:d+2]);var v=p*p,m=p*v;i.push([o(u[0],g[0],c[0],h[0],p,v,m),o(u[1],g[1],c[1],h[1],p,v,m)])}return i}t.exports=a},"625e":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=".",a="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(o),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return r.extend(n.prototype,t),n.extend=this.extend,n.superCall=f,n.superApply=d,r.inherits(n,this),n.superClass=e,n}}var c=0;function h(t){var e=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function f(t,e){var n=r.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function d(t,e,n){return this.superClass.prototype[e].apply(t,n)}function p(t,e){e=e||{};var n={};function i(t){var e=n[t.main];return e&&e[a]||(e=n[t.main]={},e[a]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==a){var r=i(e);r[e.sub]=t}}else n[e.main]=t;return t},t.getClass=function(t,e,i){var r=n[t];if(r&&r[a]&&(r=e?r[e]:null),i&&!r)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){t=s(t);var e=[],i=n[t.main];return i&&i[a]?r.each(i,(function(t,n){n!==a&&e.push(t)})):e.push(i),e},t.hasClass=function(t){return t=s(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return r.each(n,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){t=s(t);var e=n[t.main];return e&&e[a]},t.parseClassType=s,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var n=o.call(this,e);return t.registerClass(n,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=u,e.enableClassCheck=h,e.enableClassManagement=p,e.setReadOnly=g},"627c":function(t,e,n){var i=n("6d8b"),r=n("3eba"),o=n("2306"),a=n("f934"),s=a.getLayoutRect,l=n("eda2"),u=l.windowOpen;r.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"}}}),r.extendComponentView({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,a=t.getModel("textStyle"),l=t.getModel("subtextStyle"),c=t.get("textAlign"),h=i.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),f=new o.Text({style:o.setTextStyle({},a,{text:t.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),d=f.getBoundingRect(),p=t.get("subtext"),g=new o.Text({style:o.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:d.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=t.get("link"),m=t.get("sublink"),y=t.get("triggerEvent",!0);f.silent=!v&&!y,g.silent=!m&&!y,v&&f.on("click",(function(){u(v,"_"+t.get("target"))})),m&&g.on("click",(function(){u(m,"_"+t.get("subtarget"))})),f.eventData=g.eventData=y?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(f),p&&r.add(g);var b=r.getBoundingRect(),_=t.getBoxLayoutParams();_.width=b.width,_.height=b.height;var x=s(_,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));c||(c=t.get("left")||t.get("right"),"middle"===c&&(c="center"),"right"===c?x.x+=x.width:"center"===c&&(x.x+=x.width/2)),h||(h=t.get("top")||t.get("bottom"),"center"===h&&(h="middle"),"bottom"===h?x.y+=x.height:"middle"===h&&(x.y+=x.height/2),h=h||"top"),r.attr("position",[x.x,x.y]);var w={textAlign:c,textVerticalAlign:h};f.setStyle(w),g.setStyle(w),b=r.getBoundingRect();var S=x.margin,C=t.getItemStyle(["color","opacity"]);C.fill=t.get("backgroundColor");var T=new o.Rect({shape:{x:b.x-S[3],y:b.y-S[0],width:b.width+S[1]+S[3],height:b.height+S[0]+S[2],r:t.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});r.add(T)}}})},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},6374:function(t,e,n){var i=n("da84"),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},6438:function(t,e,n){var i=n("03d6"),r=n("9742").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},6547:function(t,e,n){var i=n("e330"),r=n("5926"),o=n("577e"),a=n("1d80"),s=i("".charAt),l=i("".charCodeAt),u=i("".slice),c=function(t){return function(e,n){var i,c,h=o(a(e)),f=r(n),d=h.length;return f<0||f>=d?t?"":void 0:(i=l(h,f),i<55296||i>56319||f+1===d||(c=l(h,f+1))<56320||c>57343?t?s(h,f):i:t?u(h,f,f+2):c-56320+(i-55296<<10)+65536)}};t.exports={codeAt:c(!1),charAt:c(!0)}},6569:function(t,e,n){var i=n("6d8b"),r=n("e0d3");function o(t){a(t),s(t)}function a(t){if(!t.parallel){var e=!1;i.each(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function s(t){var e=r.normalizeToArray(t.parallelAxis);i.each(e,(function(e){if(i.isObject(e)){var n=e.parallelIndex||0,o=r.normalizeToArray(t.parallel)[n];o&&o.parallelAxisDefault&&i.merge(e,o.parallelAxisDefault,!1)}}))}t.exports=o},6582:function(t,e,n){var i=n("cccd"),r={seriesType:"lines",plan:i(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),i=t.pipelineContext.large;function r(r,o){var a=[];if(i){var s,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,f=[];for(c=r.start;c<r.end;c++){var d=t.getLineCoords(c,a);n&&(s[h++]=d);for(var p=0;p<d;p++)f=e.dataToPoint(a[p],!1,f),s[h++]=f[0],s[h++]=f[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),v=(d=t.getLineCoords(c,a),[]);if(n)for(var m=0;m<d;m++)v.push(e.dataToPoint(a[m]));else{v[0]=e.dataToPoint(a[0]),v[1]=e.dataToPoint(a[1]);var y=g.get("lineStyle.curveness");+y&&(v[2]=[(v[0][0]+v[1][0])/2-(v[0][1]-v[1][1])*y,(v[0][1]+v[1][1])/2-(v[1][0]-v[0][0])*y])}o.setItemLayout(c,v)}}return{progress:r}}};t.exports=r},"658f":function(t,e,n){n("6858");for(var i=n("ef08"),r=n("051b"),o=n("8a0d"),a=n("cc15")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=i[u],h=c&&c.prototype;h&&!h[a]&&r(h,a,u),o[u]=o.Array}},"65ed":function(t,e,n){var i=n("22d1"),r=n("84ec"),o=r.buildTransformer,a="___zrEVENTSAVED",s=[];function l(t,e,n,i,r){return u(s,e,i,r,!0)&&u(t,n,s[0],s[1])}function u(t,e,n,r,o){if(e.getBoundingClientRect&&i.domSupported&&!f(e)){var s=e[a]||(e[a]={}),l=c(e,s),u=h(l,s,o);if(u)return u(t,n,r),!0}return!1}function c(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function h(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],a=e.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var h=t[c].getBoundingClientRect(),f=2*c,d=h.left,p=h.top;l.push(d,p),s=s&&a&&d===a[f]&&p===a[f+1],u.push(t[c].offsetLeft,t[c].offsetTop)}return s&&r?r:(e.srcCoords=l,e[i]=n?o(u,l):o(l,u))}function f(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=l,e.transformCoordWithViewport=u,e.isCanvasEl=f},"65f0":function(t,e,n){var i=n("0b42");t.exports=function(t,e){return new(i(t))(0===e?0:e)}},6679:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("cd33"),a=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&o.fixValue(t),a.superApply(this,"render",arguments),s(this,t,e,n,i,!0)},updateAxisPointer:function(t,e,n,i,r){s(this,t,e,n,i,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),a.superApply(this,"dispose",arguments)}});function s(t,e,n,i,r,s){var u=a.getAxisPointerClass(t.axisPointerClass);if(u){var c=o.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u)).render(e,c,i,s):l(t,i)}}function l(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var u=[];a.registerAxisPointerClass=function(t,e){u[t]=e},a.getAxisPointerClass=function(t){return t&&u[t]};var c=a;t.exports=c},"66a4":function(t,e,n){var i=n("6d8b");function r(t){var e=t&&t.timeline;i.isArray(e)||(e=e?[e]:[]),i.each(e,(function(t){t&&o(t)}))}function o(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),a(t),s(t,"controlPosition")){var r=t.controlStyle||(t.controlStyle={});s(r,"position")||(r.position=t.controlPosition),"none"!==r.position||s(r,"show")||(r.show=!1,delete r.position),delete t.controlPosition}i.each(t.data||[],(function(t){i.isObject(t)&&!i.isArray(t)&&(!s(t,"value")&&s(t,"name")&&(t.value=t.name),a(t))}))}function a(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),r=t.label||t.label||{},o=r.normal||(r.normal={}),a={normal:1,emphasis:1};i.each(r,(function(t,e){a[e]||s(o,e)||(o[e]=t)})),n.label&&!s(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function s(t,e){return t.hasOwnProperty(e)}t.exports=r},"66fc":function(t,e,n){var i=n("6d8b"),r=n("84ce"),o=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},i.inherits(o,r);var a=o;t.exports=a},"675a":function(t,e){function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph(),r=i.data,o=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t),i=n.getShallow("category");if(null!=i){"number"===typeof i&&(i=o[i]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(i))return!1}return!0}))}),this)}t.exports=n},"675c":function(t,e,n){var i=n("3eba");n("4e10"),n("a666"),n("49e8"),n("eeea");var r=n("cee1"),o=n("54fb"),a=n("f6ed"),s=n("9442"),l=n("7782");i.registerLayout(r),i.registerVisual(o),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a),i.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},"67a8":function(t,e,n){var i=n("3301"),r=n("4f85"),o=r.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=o},"67cc":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("2306"),s=n("e7aa"),l=s.setLabel,u=n("4319"),c=n("b5c7"),h=n("cbe5"),f=n("e1fc"),d=n("88b3"),p=d.throttle,g=n("b0af"),v=g.createClipPath,m=n("c2be"),y=["itemStyle","barBorderWidth"],b=[0,0];function _(t,e){var n=t.getArea&&t.getArea();if("cartesian2d"===t.type){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}o.extend(u.prototype,c);var x=r.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,n){var i,r=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=t.get("clip",!0),d=_(l,o);r.removeClipPath();var p=t.get("roundCap",!0),g=t.get("showBackground",!0),v=t.getModel("backgroundStyle"),m=v.get("barBorderRadius")||0,y=[],b=this._backgroundEls||[],x=function(t){var e=M[l.type](o,t),n=F(l,i,e);return n.useStyle(v.getBarItemStyle()),"cartesian2d"===l.type&&n.setShape("r",m),y[t]=n,n};o.diff(s).add((function(e){var n=o.getItemModel(e),a=M[l.type](o,e,n);if(g&&x(e),o.hasValue(e)){if(h){var s=C[l.type](d,a);if(s)return void r.remove(u)}var u=T[l.type](e,a,i,c,!1,p);o.setItemGraphicEl(e,u),r.add(u),I(u,o,e,n,a,t,i,"polar"===l.type)}})).update((function(e,n){var u=o.getItemModel(e),f=M[l.type](o,e,u);if(g){var _;0===b.length?_=x(n):(_=b[n],_.useStyle(v.getBarItemStyle()),"cartesian2d"===l.type&&_.setShape("r",m),y[e]=_);var w=M[l.type](o,e),S=B(i,w,l);a.updateProps(_,{shape:S},c,e)}var A=s.getItemGraphicEl(n);if(o.hasValue(e)){if(h){var O=C[l.type](d,f);if(O)return void r.remove(A)}A?a.updateProps(A,{shape:f},c,e):A=T[l.type](e,f,i,c,!0,p),o.setItemGraphicEl(e,A),r.add(A),I(A,o,e,u,f,t,i,"polar"===l.type)}else r.remove(A)})).remove((function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&A(t,c,e):e&&O(t,c,e)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new f);w.removeAll();for(var S=0;S<y.length;++S)w.add(y[S]);r.add(w),this._backgroundEls=y,this._data=o},_renderLarge:function(t,e,n){this._clear(),D(t,this.group);var i=t.get("clip",!0)?v(t.coordinateSystem,!1,t):null;i?this.group.setClipPath(i):this.group.removeClipPath()},_incrementalRenderLarge:function(t,e){this._removeBackground(),D(e,this.group,!0)},dispose:o.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,n=this._data;t&&t.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){"sector"===e.type?O(e.dataIndex,t,e):A(e.dataIndex,t,e)}))):e.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,S=Math.min,C={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=w(e.x,t.x),o=S(e.x+e.width,t.x+t.width),a=w(e.y,t.y),s=S(e.y+e.height,t.y+t.height);e.x=r,e.y=a,e.width=o-r,e.height=s-a;var l=e.width<0||e.height<0;return n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),l},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}i=S(e.r,t.r);var r=w(e.r0,t.r0);e.r=i,e.r0=r;var o=i-r<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return o}},T={cartesian2d:function(t,e,n,i,r){var s=new a.Rect({shape:o.extend({},e),z2:1});if(s.name="item",i){var l=s.shape,u=n?"height":"width",c={};l[u]=0,c[u]=e[u],a[r?"updateProps":"initProps"](s,{shape:c},i,t)}return s},polar:function(t,e,n,i,r,s){var l=e.startAngle<e.endAngle,u=!n&&s?m:a.Sector,c=new u({shape:o.defaults({clockwise:l},e),z2:1});if(c.name="item",i){var h=c.shape,f=n?"r":"endAngle",d={};h[f]=n?0:e.startAngle,d[f]=e[f],a[r?"updateProps":"initProps"](c,{shape:d},i,t)}return c}};function A(t,e,n){n.style.text=null,a.updateProps(n,{shape:{width:0}},e,t,(function(){n.parent&&n.parent.remove(n)}))}function O(t,e,n){n.style.text=null,a.updateProps(n,{shape:{r:n.shape.r0}},e,t,(function(){n.parent&&n.parent.remove(n)}))}var M={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?E(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function k(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function I(t,e,n,i,r,s,u,c){var h=e.getItemVisual(n,"color"),f=e.getItemVisual(n,"opacity"),d=e.getVisual("borderColor"),p=i.getModel("itemStyle"),g=i.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(o.defaults({stroke:k(r)?"none":d,fill:k(r)?"none":h,opacity:f},p.getBarItemStyle()));var v=i.getShallow("cursor");v&&t.attr("cursor",v);var m=u?r.height>0?"bottom":"top":r.width>0?"left":"right";c||l(t.style,g,i,h,s,n,m),k(r)&&(g.fill=g.stroke="none"),a.setHoverStyle(t,g)}function E(t,e){var n=t.get(y)||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),r=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,i,r)}var P=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o<n.length;o+=2)i[r]=n[o+r],t.moveTo(i[0],i[1]),t.lineTo(n[o],n[o+1])}});function D(t,e,n){var i=t.getData(),r=[],o=i.getLayout("valueAxisHorizontal")?1:0;r[1-o]=i.getLayout("valueAxisStart");var a=i.getLayout("largeDataIndices"),s=i.getLayout("barWidth"),l=t.getModel("backgroundStyle"),u=t.get("showBackground",!0);if(u){var c=i.getLayout("largeBackgroundPoints"),h=[];h[1-o]=i.getLayout("backgroundStart");var f=new P({shape:{points:c},incremental:!!n,__startPoint:h,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s,silent:!0,z2:0});j(f,l,i),e.add(f)}var d=new P({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:r,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s});e.add(d),N(d,t,i),d.seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",L),d.on("mousemove",L))}var L=p((function(t){var e=this,n=R(e,t.offsetX,t.offsetY);e.dataIndex=n>=0?n:null}),30,!1);function R(t,e,n){var i=t.__baseDimIdx,r=1-i,o=t.shape.points,a=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[r];b[0]=e,b[1]=n;for(var u=b[i],c=b[1-i],h=u-s,f=u+s,d=0,p=o.length/2;d<p;d++){var g=2*d,v=o[g+i],m=o[g+r];if(v>=h&&v<=f&&(l<=m?c>=l&&c<=m:c>=m&&c<=l))return a[d]}return-1}function N(t,e,n){var i=n.getVisual("borderColor")||n.getVisual("color"),r=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function j(t,e,n){var i=e.get("borderColor")||e.get("color"),r=e.getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function B(t,e,n){var i,r="polar"===n.type;return i=r?n.getArea():n.grid.getRect(),r?{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}function F(t,e,n){var i="polar"===t.type?a.Sector:a.Rect;return new i({shape:B(e,n,t),silent:!0,z2:0})}t.exports=x},6858:function(t,e,n){"use strict";var i=n("2f9a"),r=n("ea34"),o=n("8a0d"),a=n("6ca1");t.exports=n("393a")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},"68ab":function(t,e,n){var i=n("4a3f"),r=i.quadraticProjectPoint;function o(t,e,n,i,o,a,s,l,u){if(0===s)return!1;var c=s;if(u>e+c&&u>i+c&&u>a+c||u<e-c&&u<i-c&&u<a-c||l>t+c&&l>n+c&&l>o+c||l<t-c&&l<n-c&&l<o-c)return!1;var h=r(t,e,n,i,o,a,l,u,null);return h<=c/2}e.containStroke=o},"68ee":function(t,e,n){var i=n("e330"),r=n("d039"),o=n("1626"),a=n("f5df"),s=n("d066"),l=n("8925"),u=function(){},c=[],h=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=i(f.exec),p=!f.exec(u),g=function(t){if(!o(t))return!1;try{return h(u,c,t),!0}catch(e){return!1}},v=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(f,l(t))}catch(e){return!0}};v.sham=!0,t.exports=!h||r((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?v:g},6932:function(t,e,n){var i=n("6cb7");i.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},"693d":function(t,e,n){"use strict";var i=n("ef08"),r=n("9c0e"),o=n("0bad"),a=n("512c"),s=n("ba01"),l=n("e34a").KEY,u=n("4b8b"),c=n("b367"),h=n("92f0"),f=n("8b1a"),d=n("cc15"),p=n("fcd4"),g=n("e198"),v=n("0ae2"),m=n("4ebc"),y=n("77e9"),b=n("7a41"),_=n("0983"),x=n("6ca1"),w=n("3397"),S=n("10db"),C=n("6f4f"),T=n("1836"),A=n("4d20"),O=n("fed5"),M=n("1a14"),k=n("9876"),I=A.f,E=M.f,P=T.f,D=i.Symbol,L=i.JSON,R=L&&L.stringify,N="prototype",j=d("_hidden"),B=d("toPrimitive"),F={}.propertyIsEnumerable,z=c("symbol-registry"),V=c("symbols"),H=c("op-symbols"),G=Object[N],W="function"==typeof D&&!!O.f,q=i.QObject,U=!q||!q[N]||!q[N].findChild,Y=o&&u((function(){return 7!=C(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=I(G,e);i&&delete G[e],E(t,e,n),i&&t!==G&&E(G,e,i)}:E,X=function(t){var e=V[t]=C(D[N]);return e._k=t,e},$=W&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},Z=function(t,e,n){return t===G&&Z(H,e,n),y(t),e=w(e,!0),y(n),r(V,e)?(n.enumerable?(r(t,j)&&t[j][e]&&(t[j][e]=!1),n=C(n,{enumerable:S(0,!1)})):(r(t,j)||E(t,j,S(1,{})),t[j][e]=!0),Y(t,e,n)):E(t,e,n)},K=function(t,e){y(t);var n,i=v(e=x(e)),r=0,o=i.length;while(o>r)Z(t,n=i[r++],e[n]);return t},J=function(t,e){return void 0===e?C(t):K(C(t),e)},Q=function(t){var e=F.call(this,t=w(t,!0));return!(this===G&&r(V,t)&&!r(H,t))&&(!(e||!r(this,t)||!r(V,t)||r(this,j)&&this[j][t])||e)},tt=function(t,e){if(t=x(t),e=w(e,!0),t!==G||!r(V,e)||r(H,e)){var n=I(t,e);return!n||!r(V,e)||r(t,j)&&t[j][e]||(n.enumerable=!0),n}},et=function(t){var e,n=P(x(t)),i=[],o=0;while(n.length>o)r(V,e=n[o++])||e==j||e==l||i.push(e);return i},nt=function(t){var e,n=t===G,i=P(n?H:x(t)),o=[],a=0;while(i.length>a)!r(V,e=i[a++])||n&&!r(G,e)||o.push(V[e]);return o};W||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===G&&e.call(H,n),r(this,j)&&r(this[j],t)&&(this[j][t]=!1),Y(this,t,S(1,n))};return o&&U&&Y(G,t,{configurable:!0,set:e}),X(t)},s(D[N],"toString",(function(){return this._k})),A.f=tt,M.f=Z,n("6438").f=T.f=et,n("1917").f=Q,O.f=nt,o&&!n("e444")&&s(G,"propertyIsEnumerable",Q,!0),p.f=function(t){return X(d(t))}),a(a.G+a.W+a.F*!W,{Symbol:D});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;it.length>rt;)d(it[rt++]);for(var ot=k(d.store),at=0;ot.length>at;)g(ot[at++]);a(a.S+a.F*!W,"Symbol",{for:function(t){return r(z,t+="")?z[t]:z[t]=D(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!W,"Object",{create:J,defineProperty:Z,defineProperties:K,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=u((function(){O.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return O.f(_(t))}}),L&&a(a.S+a.F*(!W||u((function(){var t=D();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){var e,n,i=[t],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=e=i[1],(b(e)||void 0!==t)&&!$(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!$(e))return e}),i[1]=e,R.apply(L,i)}}),D[N][B]||n("051b")(D[N],B,D[N].valueOf),h(D,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},"697e":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("18c0"),a=n("89e3"),s=n("e0d8"),l=n("3842"),u=n("9d57"),c=u.prepareLayoutBarSeries,h=u.makeColumnLayout,f=u.retrieveColumnLayout,d=n("9850");function p(t,e){var n,i,o,a=t.type,s=e.getMin(),u=e.getMax(),f=t.getExtent();"ordinal"===a?n=e.getCategories().length:(i=e.get("boundaryGap"),r.isArray(i)||(i=[i||0,i||0]),"boolean"===typeof i[0]&&(i=[0,0]),i[0]=l.parsePercent(i[0],1),i[1]=l.parsePercent(i[1],1),o=f[1]-f[0]||Math.abs(f[0])),"dataMin"===s?s=f[0]:"function"===typeof s&&(s=s({min:f[0],max:f[1]})),"dataMax"===u?u=f[1]:"function"===typeof u&&(u=u({min:f[0],max:f[1]}));var d=null!=s,p=null!=u;null==s&&(s="ordinal"===a?n?0:NaN:f[0]-i[0]*o),null==u&&(u="ordinal"===a?n?n-1:NaN:f[1]+i[1]*o),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(r.eqNaN(s)||r.eqNaN(u)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&u>0&&!d&&(s=0),s<0&&u<0&&!p&&(u=0));var v=e.ecModel;if(v&&"time"===a){var m,y=c("bar",v);if(r.each(y,(function(t){m|=t.getBaseAxis()===e.axis})),m){var b=h(y),_=g(s,u,e,b);s=_.min,u=_.max}}return{extent:[s,u],fixMin:d,fixMax:p}}function g(t,e,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],s=f(i,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;r.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;r.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=e-t,d=1-(l+u)/a,p=h/d-h;return e+=p*(u/c),t-=p*(l/c),{min:t,max:e}}function v(t,e){var n=p(t,e),i=n.extent,r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var a=e.get("interval");null!=a&&t.setInterval&&t.setInterval(a)}function m(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new o(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(s.getClass(e)||a).create(t)}}function y(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function b(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}}(e),e):"function"===typeof e?function(i,r){return null!=n&&(r=i-n),e(_(t,i),r)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function x(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===t.type,a=n.getExtent();o?r=n.count():(i=n.getTicks(),r=i.length);var s,l=t.getLabelModel(),u=b(t),c=1;r>40&&(c=Math.ceil(r/40));for(var h=0;h<r;h+=c){var f=i?i[h]:a[0]+h,d=u(f),p=l.getTextRect(d),g=w(p,l.get("rotate")||0);s?s.union(g):s=g}return s}}function w(t,e){var n=e*Math.PI/180,i=t.plain(),r=i.width,o=i.height,a=r*Math.abs(Math.cos(n))+Math.abs(o*Math.sin(n)),s=r*Math.abs(Math.sin(n))+Math.abs(o*Math.cos(n)),l=new d(i.x,i.y,a,s);return l}function S(t){var e=t.get("interval");return null==e?"auto":e}function C(t){return"category"===t.type&&0===S(t.getLabelModel())}n("216a"),n("8c2a"),e.getScaleExtent=p,e.niceScaleExtent=v,e.createScaleByModel=m,e.ifAxisCrossZero=y,e.makeLabelFormatter=b,e.getAxisRawValue=_,e.estimateLabelUnionRect=x,e.getOptionCategoryInterval=S,e.shouldShowAllLabels=C},"697e7":function(t,e,n){var i=n("de00"),r=n("22d1"),o=n("6d8b"),a=n("d2cf"),s=n("afa0"),l=n("ed21"),u=n("30a3"),c=n("cdaa"),h=!r.canvasSupported,f={canvas:l},d={},p="4.3.2";function g(t,e){var n=new _(i(),t,e);return d[n.id]=n,n}function v(t){if(t)t.dispose();else{for(var e in d)d.hasOwnProperty(e)&&d[e].dispose();d={}}return this}function m(t){return d[t]}function y(t,e){f[t]=e}function b(t){delete d[t]}var _=function(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,l=new s,d=n.renderer;if(h){if(!f.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");d="vml"}else d&&f[d]||(d="canvas");var p=new f[d](e,l,n,t);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new c(p.getViewportRoot(),p.root);this.handler=new a(l,p,g,p.root),this.animation=new u({stage:{update:o.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=l.delFromStorage,m=l.addToStorage;l.delFromStorage=function(t){v.call(l,t),t&&t.removeSelfFromZr(i)},l.addToStorage=function(t){m.call(l,t),t.addSelfToZr(i)}};_.prototype={constructor:_,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var n=this.painter.addHover(t,e);return this.refreshHover(),n}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,b(this.id)}},e.version=p,e.init=g,e.dispose=v,e.getInstance=m,e.registerPainter=y},6981:function(t,e,n){
/*!
 * clipboard.js v2.0.8
 * https://clipboardjs.com/
 *
 * Licensed MIT © Zeno Rocha
 */
!function(e,n){t.exports=n()}(0,(function(){return e={134:function(t,e,n){"use strict";n.d(e,{default:function(){return g}});e=n(279);var i=n.n(e),r=(e=n(370),n.n(e)),o=(e=n(817),n.n(e));function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var l=function(){function t(e){!function(e){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this),this.resolveOptions(e),this.initSelection()}var e,n,i;return e=t,(n=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");return this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px",t=window.pageYOffset||document.documentElement.scrollTop,this.fakeElem.style.top="".concat(t,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=o()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=o()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==a(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}])&&s(e.prototype,n),i&&s(e,i),t}();function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var t,i=d(e);return t=n?(t=d(this).constructor,Reflect.construct(i,arguments,t)):i.apply(this,arguments),i=this,!(t=t)||"object"!==u(t)&&"function"!=typeof t?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(i):t}}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){if(t="data-clipboard-".concat(t),e.hasAttribute(t))return e.getAttribute(t)}var g=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(a,i());var t,e,n,o=f(a);function a(t,e){var n;return function(t){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}(this),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return t=a,n=[{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e=(t="string"==typeof t?[t]:t,!!document.queryCommandSupported);return t.forEach((function(t){e=e&&!!document.queryCommandSupported(t)})),e}}],(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===u(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=r()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){t=t.delegateTarget||t.currentTarget,this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(t){return p("action",t)}},{key:"defaultTarget",value:function(t){if(t=p("target",t),t)return document.querySelector(t)}},{key:"defaultText",value:function(t){return p("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}])&&c(t.prototype,e),n&&c(t,n),a}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var i=n(828);function r(t,e,n,r,o){var a=function(t,e,n,r){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&r.call(t,n)}}.apply(this,arguments);return t.addEventListener(n,a,o),{destroy:function(){t.removeEventListener(n,a,o)}}}t.exports=function(t,e,n,i,o){return"function"==typeof t.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return r(t,e,n,i,o)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var i=n(879),r=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(t))return u=e,c=n,(l=t).addEventListener(u,c),{destroy:function(){l.removeEventListener(u,c)}};if(i.nodeList(t))return o=t,a=e,s=n,Array.prototype.forEach.call(o,(function(t){t.addEventListener(a,s)})),{destroy:function(){Array.prototype.forEach.call(o,(function(t){t.removeEventListener(a,s)}))}};if(i.string(t))return t=t,e=e,n=n,r(document.body,t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,a,s,l,u,c}},817:function(t){t.exports=function(t){var e,n="SELECT"===t.nodeName?(t.focus(),t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((e=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute("readonly"),t.value):(t.hasAttribute("contenteditable")&&t.focus(),n=window.getSelection(),(e=document.createRange()).selectNodeContents(t),n.removeAllRanges(),n.addRange(e),n.toString());return n}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,a=i.length;o<a;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},n={},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},t.d=function(e,n){for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},t.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t(134).default;function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{}};return e[i](r,r.exports,t),r.exports}var e,n}))},"69f3":function(t,e,n){var i,r,o,a=n("cdce"),s=n("da84"),l=n("e330"),u=n("861d"),c=n("9112"),h=n("1a2d"),f=n("c6cd"),d=n("f772"),p=n("d012"),g="Object already initialized",v=s.TypeError,m=s.WeakMap,y=function(t){return o(t)?r(t):i(t,{})},b=function(t){return function(e){var n;if(!u(e)||(n=r(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(a||f.state){var _=f.state||(f.state=new m),x=l(_.get),w=l(_.has),S=l(_.set);i=function(t,e){if(w(_,t))throw v(g);return e.facade=t,S(_,t,e),e},r=function(t){return x(_,t)||{}},o=function(t){return w(_,t)}}else{var C=d("state");p[C]=!0,i=function(t,e){if(h(t,C))throw v(g);return e.facade=t,c(t,C,e),e},r=function(t){return h(t,C)?t[C]:{}},o=function(t){return h(t,C)}}t.exports={set:i,get:r,has:o,enforce:y,getterFor:b}},"69ff":function(t,e,n){var i=n("6d8b"),r=i.each,o=i.map,a=i.isFunction,s=i.createHashMap,l=i.noop,u=n("f47d"),c=u.createTask,h=n("8918"),f=h.getUID,d=n("7e63"),p=n("843e"),g=n("e0d3"),v=g.normalizeToArray;function m(t,e,n,i){this.ecInstance=t,this.api=e,this.unfinished;n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=s()}var y=m.prototype;function b(t,e,n,i,o){var a;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}o=o||{},r(e,(function(e,r){if(!o.visualType||o.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,f=c.agentStubMap;f.each((function(t){s(o,t)&&(t.dirty(),h=!0)})),h&&c.dirty(),_(c,i);var d=t.getPerformArgs(c,o.block);f.each((function(t){t.perform(d)})),a|=c.perform(d)}else u&&u.each((function(r,l){s(o,r)&&r.dirty();var u=t.getPerformArgs(r,o.block);u.skip=!e.performRawSeries&&n.isSeriesFiltered(r.context.model),_(r,i),a|=r.perform(u)}))}})),t.unfinished|=a}y.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},y.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},y.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),P(e,t,t.dataTask)}))},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;r(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,[]);i.reset&&x(this,i,r,e,n),i.overallReset&&w(this,i,r,e,n)}),this)},y.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,P(this,e,r)},y.performDataProcessorTasks=function(t,e){b(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,n){b(this,this._visualHandlers,t,e,n)},y.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},y.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function x(t,e,n,i,r){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=e.seriesType,l=e.getTargetSeries;function u(n){var a=n.uid,s=o.get(a)||o.set(a,c({plan:O,reset:M,count:E}));s.context={model:n,ecModel:i,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},P(t,n,s)}e.createOnAllSeries?i.eachRawSeries(u):a?i.eachRawSeriesByType(a,u):l&&l(i,r).each(u);var h=t._pipelineMap;o.each((function(t,e){h.get(e)||(t.dispose(),o.removeKey(e))}))}function w(t,e,n,i,o){var a=n.overallTask=n.overallTask||c({reset:S});a.context={ecModel:i,api:o,overallReset:e.overallReset,scheduler:t};var l=a.agentStubMap=a.agentStubMap||s(),u=e.seriesType,h=e.getTargetSeries,f=!0,d=e.modifyOutputEnd;function p(e){var n=e.uid,i=l.get(n);i||(i=l.set(n,c({reset:C,onDirty:A})),a.dirty()),i.context={model:e,overallProgress:f,modifyOutputEnd:d},i.agent=a,i.__block=f,P(t,e,i)}u?i.eachRawSeriesByType(u,p):h?h(i,o).each(p):(f=!1,r(i.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),a.dirty(),l.removeKey(e))}))}function S(t){t.overallReset(t.ecModel,t.api,t.payload)}function C(t,e){return t.overallProgress&&T}function T(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function O(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function M(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=v(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?o(e,(function(t,e){return I(e)})):k}var k=I(0);function I(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function E(t){return t.data.count()}function P(t,e,n){var i=e.uid,r=t._pipelineMap.get(i);!r.head&&(r.head=n),r.tail&&r.tail.pipe(n),r.tail=n,n.__idxInPipeline=r.count++,n.__pipeline=r}function D(t){L=null;try{t(R,N)}catch(e){}return L}m.wrapStageHandler=function(t,e){return a(t)&&(t={overallReset:t,seriesType:D(t)}),t.uid=f("stageHandler"),e&&(t.visualType=e),t};var L,R={},N={};function j(t,e){for(var n in e.prototype)t[n]=l}j(R,d),j(N,p),R.eachSeriesByType=R.eachRawSeriesByType=function(t){L=t},R.eachComponent=function(t){"series"===t.mainType&&t.subType&&(L=t.subType)};var B=m;t.exports=B},"6a4c":function(t,e,n){var i=n("4527"),r=n("6d8b"),o=n("0fd3"),a=n("401b");function s(t,e,n){o.call(this,t,e,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(t,e,n){return new i(t,e,n)},l.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],s=e[r];i+=a.dist(o,s),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}},l.getLineLength=function(t){return this._length},l.updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o=this._lastFrame;if(e<this._lastFramePercent){var s=Math.min(o+1,r-1);for(l=s;l>=0;l--)if(i[l]<=e)break;l=Math.min(l,r-2)}else{for(var l=o;l<r;l++)if(i[l]>e)break;l=Math.min(l-1,r-2)}a.lerp(t.position,n[l],n[l+1],(e-i[l])/(i[l+1]-i[l]));var u=n[l+1][0]-n[l][0],c=n[l+1][1]-n[l][1];t.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=e,t.ignore=!1}},r.inherits(s,o);var u=s;t.exports=u},"6acf":function(t,e,n){var i=n("eda2"),r=n("dcb3"),o=n("2306"),a=n("ff2e"),s=n("1687"),l=n("fab2"),u=n("6679"),c=r.extend({makeElOption:function(t,e,n,r,o){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),d=c.getExtent();l=s["dataTo"+i.capitalFirst(s.dim)](e);var p=r.get("type");if(p&&"none"!==p){var g=a.buildElStyle(r),v=f[p](s,u,l,d,g);v.style=g,t.graphicKey=v.type,t.pointer=v}var m=r.get("label.margin"),y=h(e,n,r,u,m);a.buildLabelElOption(t,n,r,o,y)}});function h(t,e,n,i,r){var a=e.axis,u=a.dataToCoord(t),c=i.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,f,d,p=i.getRadiusAxis().getExtent();if("radius"===a.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[i.cx,i.cy]),h=o.applyTransform([u,-r],g);var v=e.getModel("axisLabel").get("rotate")||0,m=l.innerTextLayout(c,v*Math.PI/180,-1);f=m.textAlign,d=m.textVerticalAlign}else{var y=p[1];h=i.coordToPoint([y+r,u]);var b=i.cx,_=i.cy;f=Math.abs(h[0]-b)/y<.3?"center":h[0]>b?"left":"right",d=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:f,verticalAlign:d}}var f={line:function(t,e,n,i,r){return"angle"===t.dim?{type:"Line",shape:a.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,r){var o=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var d=c;t.exports=d},"6b75":function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}n.d(e,"a",(function(){return i}))},"6bd4":function(t,e){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function i(t,e){if("world"===t){var i=n[e.name];if(i){var r=e.center;r[0]=i[0],r[1]=i[1]}}}t.exports=i},"6c12":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("fab2"),s=n("2306"),l=["axisLine","axisTickLabel","axisName"],u=r.extendComponentView({type:"radar",render:function(t,e,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=o.map(n,(function(t){var n=new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));o.each(i,(function(t){o.each(l,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),a=t.getModel("splitArea"),l=r.getModel("lineStyle"),u=a.getModel("areaStyle"),c=r.get("show"),h=a.get("show"),f=l.get("color"),d=u.get("color");f=o.isArray(f)?f:[f],d=o.isArray(d)?d:[d];var p=[],g=[];if("circle"===i)for(var v=n[0].getTicksCoords(),m=e.cx,y=e.cy,b=0;b<v.length;b++){if(c){var _=M(p,f,b);p[_].push(new s.Circle({shape:{cx:m,cy:y,r:v[b].coord}}))}if(h&&b<v.length-1){_=M(g,d,b);g[_].push(new s.Ring({shape:{cx:m,cy:y,r0:v[b].coord,r:v[b+1].coord}}))}}else{var x,w=o.map(n,(function(t,n){var i=t.getTicksCoords();return x=null==x?i.length-1:Math.min(i.length-1,x),o.map(i,(function(t){return e.coordToPoint(t.coord,n)}))})),S=[];for(b=0;b<=x;b++){for(var C=[],T=0;T<n.length;T++)C.push(w[T][b]);if(C[0]&&C.push(C[0].slice()),c){_=M(p,f,b);p[_].push(new s.Polyline({shape:{points:C}}))}if(h&&S){_=M(g,d,b-1);g[_].push(new s.Polygon({shape:{points:C.concat(S)}}))}S=C.slice().reverse()}}var A=l.getLineStyle(),O=u.getAreaStyle();o.each(g,(function(t,e){this.group.add(s.mergePath(t,{style:o.defaults({stroke:"none",fill:d[e%d.length]},O),silent:!0}))}),this),o.each(p,(function(t,e){this.group.add(s.mergePath(t,{style:o.defaults({fill:"none",stroke:f[e%f.length]},A),silent:!0}))}),this)}function M(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}}});t.exports=u},"6c12f":function(t,e,n){var i=n("3eba");n("2cfc"),n("adf4"),n("255c");var r=n("527a"),o=n("71b2"),a=n("d3f4");i.registerLayout(r),i.registerVisual(o),i.registerProcessor(a("themeRiver"))},"6c59":function(t,e){t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},"6ca1":function(t,e,n){var i=n("9fbb"),r=n("c901");t.exports=function(t){return i(r(t))}},"6cb7":function(t,e,n){var i=n("6d8b"),r=n("4319"),o=n("8918"),a=n("625e"),s=a.enableClassManagement,l=a.parseClassType,u=n("e0d3"),c=u.makeInner,h=n("f934"),f=n("de1c"),d=c(),p=r.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,i){r.call(this,t,e,n,i),this.uid=o.getUID("ec_cpt_model")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,r=n?h.getLayoutParams(t):{},o=e.getTheme();i.merge(t,o.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&h.mergeLayoutParam(t,r,n)},mergeOption:function(t,e){i.merge(this.option,t,!0);var n=this.layoutMode;n&&h.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=d(this);if(!t.defaultOption){var e=[],n=this.constructor;while(n){var r=n.prototype.defaultOption;r&&e.push(r),n=n.superClass}for(var o={},a=e.length-1;a>=0;a--)o=i.merge(o,e[a],!0);t.defaultOption=o}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return i.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=i.map(e,(function(t){return l(t).main})),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,g),i.mixin(p,f);var v=p;t.exports=v},"6cc5":function(t,e,n){var i=n("6d8b"),r=n("401b"),o=n("1687"),a=n("9850"),s=n("0cde"),l=r.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(t,e,n,i){var r=n.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[t](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new a(t,e,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,i){this.transformTo(t,e,n,i),this._viewRect=new a(t,e,n,i)},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new a(t,e,n,i)),o.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=r.applyTransform([],i,t),n=r.applyTransform([],n,t),e.origin=i,e.position=[n[0]-i[0],n[1]-i[1]],e.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),o.copy(this.transform||(this.transform=[]),e.transform||o.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?i.slice(t):o.create(),rawScale:i.slice(e.scale),rawPosition:i.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?l(n,t,i):r.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(c,s);var f=c;t.exports=f},"6cd8":function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("1418"),a=n("22da"),s=a.radialCoordinate,l=n("3eba"),u=n("e263"),c=n("6cc5"),h=n("01ef"),f=n("4a01"),d=n("c526"),p=d.onIrrelevantElement,g=n("4e08"),v=(g.__DEV__,n("3842")),m=v.parsePercent,y=r.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=m(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var f=1;f<i-1;f++){var d=n[f];t.moveTo(d[0],d[1]),h[l]=d[l],t.lineTo(h[0],h[1])}}}),b=l.extendChartView({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new r.Group,this._controller=new f(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(t,e,n,i){var r=t.getData(),o=t.layoutInfo,a=this._mainGroup,s=t.get("layout");"radial"===s?a.attr("position",[o.x+o.width/2,o.y+o.height/2]):a.attr("position",[o.x,o.y]),this._updateViewCoordSys(t,o,s),this._updateController(t,e,n);var l=this._data,u={expandAndCollapse:t.get("expandAndCollapse"),layout:s,edgeShape:t.get("edgeShape"),edgeForkPosition:t.get("edgeForkPosition"),orient:t.getOrient(),curvature:t.get("lineStyle.curveness"),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};r.diff(l).add((function(e){_(r,e)&&w(r,e,null,a,t,u)})).update((function(e,n){var i=l.getItemGraphicEl(n);_(r,e)?w(r,e,i,a,t,u):i&&C(l,n,i,a,t,u)})).remove((function(e){var n=l.getItemGraphicEl(e);n&&C(l,e,n,a,t,u)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===u.expandAndCollapse&&r.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=r},_updateViewCoordSys:function(t){var e=t.getData(),n=[];e.each((function(t){var i=e.getItemLayout(t);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])}));var i=[],r=[];u.fromPoints(n,i,r);var o=this._min,a=this._max;r[0]-i[0]===0&&(i[0]=o?o[0]:i[0]-1,r[0]=a?a[0]:r[0]+1),r[1]-i[1]===0&&(i[1]=o?o[1]:i[1]-1,r[1]=a?a[1]:r[1]+1);var s=t.coordinateSystem=new c;s.zoomLimit=t.get("scaleLimit"),s.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1]),s.setCenter(t.get("center")),s.setZoom(t.get("zoom")),this.group.attr({position:s.position,scale:s.scale}),this._viewCoordSys=s,this._min=i,this._max=r},_updateController:function(t,e,n){var i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(e,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!p(e,n,t)})),i.enable(t.get("roam")),r.zoomLimit=t.get("scaleLimit"),r.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){h.updateViewOnPan(r,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})}),this).on("zoom",(function(e){h.updateViewOnZoom(r,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(t)}),this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),n=this._getNodeGlobalScale(t),i=[n,n];e.eachItemGraphicEl((function(t,e){t.attr("scale",i)}))},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scale,r=i&&i[0]||1,o=e.getZoom(),a=(o-1)*n+1;return a/r},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function _(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==t.getItemVisual(e,"symbol")}function x(t,e,n){return n.itemModel=e,n.itemStyle=e.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=e.getModel("lineStyle").getLineStyle(),n.labelModel=e.getModel("label"),n.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function w(t,e,n,i,a,s){var l=!n,u=t.tree.getNodeByDataIndex(e),c=u.getModel(),h=(s=x(u,c,s),t.tree.root),f=u.parentNode===h?u:u.parentNode||u,d=t.getItemGraphicEl(f.dataIndex),p=f.getLayout(),g=d?{x:d.position[0],y:d.position[1],rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:p,v=u.getLayout();l?(n=new o(t,e,s),n.attr("position",[g.x,g.y])):n.updateData(t,e,s),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=v.rawX,n.__radialRawY=v.rawY,i.add(n),t.setItemGraphicEl(e,n),r.updateProps(n,{position:[v.x,v.y]},a);var m=n.getSymbolPath();if("radial"===s.layout){var y,b,_=h.children[0],w=_.getLayout(),C=_.children.length;if(v.x===w.x&&!0===u.isExpand){var T={};T.x=(_.children[0].getLayout().x+_.children[C-1].getLayout().x)/2,T.y=(_.children[0].getLayout().y+_.children[C-1].getLayout().y)/2,y=Math.atan2(T.y-w.y,T.x-w.x),y<0&&(y=2*Math.PI+y),b=T.x<w.x,b&&(y-=Math.PI)}else y=Math.atan2(v.y-w.y,v.x-w.x),y<0&&(y=2*Math.PI+y),0===u.children.length||0!==u.children.length&&!1===u.isExpand?(b=v.x<w.x,b&&(y-=Math.PI)):(b=v.x>w.x,b||(y-=Math.PI));var A=b?"left":"right",O=s.labelModel.get("rotate"),M=O*(Math.PI/180);m.setStyle({textPosition:s.labelModel.get("position")||A,textRotation:null==O?-y:M,textOrigin:"center",verticalAlign:"middle"})}S(a,u,h,n,g,p,v,i,s)}function S(t,e,n,o,a,s,l,u,c){var h=c.edgeShape,f=o.__edge;if("curve"===h)e.parentNode&&e.parentNode!==n&&(f||(f=o.__edge=new r.BezierCurve({shape:T(c,a,a),style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),r.updateProps(f,{shape:T(c,s,l),style:i.defaults({opacity:1},c.lineStyle)},t));else if("polyline"===h&&"orthogonal"===c.layout&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var d=e.children,p=[],g=0;g<d.length;g++){var v=d[g].getLayout();p.push([v.x,v.y])}f||(f=o.__edge=new y({shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]],orient:c.orient,forkPosition:c.edgeForkPosition},style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),r.updateProps(f,{shape:{parentPoint:[l.x,l.y],childPoints:p},style:i.defaults({opacity:1},c.lineStyle)},t)}u.add(f)}function C(t,e,n,i,o,a){var s,l=t.tree.getNodeByDataIndex(e),u=t.tree.root,c=l.getModel(),h=(a=x(l,c,a),l.parentNode===u?l:l.parentNode||l),f=a.edgeShape;while(s=h.getLayout(),null==s)h=h.parentNode===u?h:h.parentNode||h;r.updateProps(n,{position:[s.x+1,s.y+1]},o,(function(){i.remove(n),t.setItemGraphicEl(e,null)})),n.fadeOut(null,{keepLabel:!0});var d=t.getItemGraphicEl(h.dataIndex),p=d.__edge,g=n.__edge||(!1===h.isExpand||1===h.children.length?p:void 0);f=a.edgeShape;g&&("curve"===f?r.updateProps(g,{shape:T(a,s,s),style:{opacity:0}},o,(function(){i.remove(g)})):"polyline"===f&&"orthogonal"===a.layout&&r.updateProps(g,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},o,(function(){i.remove(g)})))}function T(t,e,n){var i,r,o,a,l,u,c,h,f=t.orient;if("radial"===t.layout){l=e.rawX,c=e.rawY,u=n.rawX,h=n.rawY;var d=s(l,c),p=s(l,c+(h-c)*t.curvature),g=s(u,h+(c-h)*t.curvature),v=s(u,h);return{x1:d.x,y1:d.y,x2:v.x,y2:v.y,cpx1:p.x,cpy1:p.y,cpx2:g.x,cpy2:g.y}}return l=e.x,c=e.y,u=n.x,h=n.y,"LR"!==f&&"RL"!==f||(i=l+(u-l)*t.curvature,r=c,o=u+(l-u)*t.curvature,a=h),"TB"!==f&&"BT"!==f||(i=l,r=c+(h-c)*t.curvature,o=u,a=h+(c-h)*t.curvature),{x1:l,y1:c,x2:u,y2:h,cpx1:i,cpy1:r,cpx2:o,cpy2:a}}t.exports=b},"6d8b":function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,u=o.map,c=o.reduce,h={};function f(t,e){"createCanvas"===t&&(y=null),h[t]=e}function d(t){if(null==t||"object"!==typeof t)return t;var e=t,o=r.call(t);if("[object Array]"===o){if(!$(t)){e=[];for(var a=0,s=t.length;a<s;a++)e[a]=d(t[a])}}else if(i[o]){if(!$(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else{e=new l(t.length);for(a=0,s=t.length;a<s;a++)e[a]=d(t[a])}}}else if(!n[o]&&!$(t)&&!B(t))for(var u in e={},t)t.hasOwnProperty(u)&&(e[u]=d(t[u]));return e}function p(t,e,n){if(!R(e)||!R(t))return n?d(e):t;for(var i in e)if(e.hasOwnProperty(i)){var r=t[i],o=e[i];!R(o)||!R(r)||P(o)||P(r)||B(o)||B(r)||N(o)||N(r)||$(o)||$(r)?!n&&i in t||(t[i]=d(e[i],!0)):p(r,o,n)}return t}function g(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=p(n,t[i],e);return n}function v(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function m(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}var y,b=function(){return h.createCanvas()};function _(){return y||(y=b().getContext("2d")),y}function x(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function w(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function S(t,e,n){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,m(t,e,n)}function C(t){if(t)return"string"!==typeof t&&"number"===typeof t.length}function T(t,e,n){if(t&&e)if(t.forEach&&t.forEach===a)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function A(t,e,n){if(t&&e){if(t.map&&t.map===u)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}}function O(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===c)return t.reduce(e,n,i);for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function M(t,e,n){if(t&&e){if(t.filter&&t.filter===s)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}}function k(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}function I(t,e){var n=l.call(arguments,2);return function(){return t.apply(e,n.concat(l.call(arguments)))}}function E(t){var e=l.call(arguments,1);return function(){return t.apply(this,e.concat(l.call(arguments)))}}function P(t){return"[object Array]"===r.call(t)}function D(t){return"function"===typeof t}function L(t){return"[object String]"===r.call(t)}function R(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function N(t){return!!n[r.call(t)]}function j(t){return!!i[r.call(t)]}function B(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function F(t){return t!==t}function z(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]}function V(t,e){return null!=t?t:e}function H(t,e,n){return null!=t?t:null!=e?e:n}function G(){return Function.call.apply(l,arguments)}function W(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function q(t,e){if(!t)throw new Error(e)}function U(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}h.createCanvas=function(){return document.createElement("canvas")};var Y="__ec_primitive__";function X(t){t[Y]=!0}function $(t){return t[Y]}function Z(t){var e=P(t);this.data={};var n=this;function i(t,i){e?n.set(t,i):n.set(i,t)}t instanceof Z?t.each(i):t&&T(t,i)}function K(t){return new Z(t)}function J(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function Q(){}Z.prototype={constructor:Z,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=I(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=f,e.clone=d,e.merge=p,e.mergeAll=g,e.extend=v,e.defaults=m,e.createCanvas=b,e.getContext=_,e.indexOf=x,e.inherits=w,e.mixin=S,e.isArrayLike=C,e.each=T,e.map=A,e.reduce=O,e.filter=M,e.find=k,e.bind=I,e.curry=E,e.isArray=P,e.isFunction=D,e.isString=L,e.isObject=R,e.isBuiltInObject=N,e.isTypedArray=j,e.isDom=B,e.eqNaN=F,e.retrieve=z,e.retrieve2=V,e.retrieve3=H,e.slice=G,e.normalizeCssArray=W,e.assert=q,e.trim=U,e.setAsPrimitive=X,e.isPrimitive=$,e.createHashMap=K,e.concatArray=J,e.noop=Q},"6d9a":function(t,e){function n(t,e,n){var i,r=[t],o=[];while(i=r.pop())if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}while(i=o.pop())e(i,n)}function i(t,e){var n,i=[t];while(n=i.pop())if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}e.eachAfter=n,e.eachBefore=i},"6dd8":function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,i){return t[0]===e&&(n=i,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),i=this.__entries__[n];return i&&i[1]},e.prototype.set=function(e,n){var i=t(this.__entries__,e);~i?this.__entries__[i][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,i=t(n,e);~i&&n.splice(i,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];t.call(e,r[1],r[0])}},e}()}(),i="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,r=function(){return"undefined"!==typeof t&&t.Math===Math?t:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)}}(),a=2;function s(t,e){var n=!1,i=!1,r=0;function s(){n&&(n=!1,t()),i&&u()}function l(){o(s)}function u(){var t=Date.now();if(n){if(t-r<a)return;i=!0}else n=!0,i=!1,setTimeout(l,e);r=t}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,h=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e,i=u.some((function(t){return!!~n.indexOf(t)}));i&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||r},p=C(0,0,0,0);function g(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){var i=t["border-"+n+"-width"];return e+g(i)}),0)}function m(t){for(var e=["top","right","bottom","left"],n={},i=0,r=e;i<r.length;i++){var o=r[i],a=t["padding-"+o];n[o]=g(a)}return n}function y(t){var e=t.getBBox();return C(0,0,e.width,e.height)}function b(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var i=d(t).getComputedStyle(t),r=m(i),o=r.left+r.right,a=r.top+r.bottom,s=g(i.width),l=g(i.height);if("border-box"===i.boxSizing&&(Math.round(s+o)!==e&&(s-=v(i,"left","right")+o),Math.round(l+a)!==n&&(l-=v(i,"top","bottom")+a)),!x(t)){var u=Math.round(s+o)-e,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return C(r.left,r.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"===typeof t.getBBox}}();function x(t){return t===d(t).document.documentElement}function w(t){return i?_(t)?y(t):b(t):p}function S(t){var e=t.x,n=t.y,i=t.width,r=t.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return f(a,{x:e,y:n,width:i,height:r,top:n,right:e+i,bottom:r+n,left:e}),a}function C(t,e,n,i){return{x:t,y:e,width:n,height:i}}var T=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=C(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=w(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),A=function(){function t(t,e){var n=S(e);f(this,{target:t,contentRect:n})}return t}(),O=function(){function t(t,e,i){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new T(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new A(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),M="undefined"!==typeof WeakMap?new WeakMap:new n,k=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=h.getInstance(),i=new O(e,n,this);M.set(this,i)}return t}();["observe","unobserve","disconnect"].forEach((function(t){k.prototype[t]=function(){var e;return(e=M.get(this))[t].apply(e,arguments)}}));var I=function(){return"undefined"!==typeof r.ResizeObserver?r.ResizeObserver:k}();e["default"]=I}.call(this,n("c8ba"))},"6f4f":function(t,e,n){var i=n("77e9"),r=n("85e7"),o=n("9742"),a=n("5a94")("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n("05f5")("iframe"),i=o.length,r="<",a=">";e.style.display="none",n("9141").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+a+"document.F=Object"+r+"/script"+a),t.close(),u=t.F;while(i--)delete u[l][o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=i(t),n=new s,s[l]=null,n[a]=t):n=u(),void 0===e?n:r(n,e)}},"6fda":function(t,e,n){var i=n("6d8b"),r=i.each,o="\0_ec_hist_store";function a(t,e){var n=c(t);r(e,(function(e,i){for(var r=n.length-1;r>=0;r--){var o=n[r];if(o[i])break}if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var s=a.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(e)}function s(t){var e=c(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return r(n,(function(t,n){for(var r=e.length-1;r>=0;r--){t=e[r][n];if(t){i[n]=t;break}}})),i}function l(t){t[o]=null}function u(t){return c(t).length}function c(t){var e=t[o];return e||(e=t[o]=[{}]),e}e.push=a,e.pop=s,e.clear=l,e.count=u},7023:function(t,e,n){var i=n("6d8b"),r={updateSelectedMap:function(t){this._targetList=i.isArray(t)?t.slice():[],this._selectTargetMap=i.reduce(t||[],(function(t,e){return t.set(e.name,e),t}),i.createHashMap())},select:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t),i=this.get("selectedMode");"single"===i&&this._selectTargetMap.each((function(t){t.selected=!1})),n&&(n.selected=!0)},unSelect:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);n&&(n.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return n&&n.selected}};t.exports=r},7149:function(t,e,n){"use strict";var i=n("23e7"),r=n("d066"),o=n("c430"),a=n("d256"),s=n("4738").CONSTRUCTOR,l=n("cdf9"),u=r("Promise"),c=o&&!s;i({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return l(c&&this===u?a:this,t)}})},7156:function(t,e,n){var i=n("1626"),r=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var a,s;return o&&i(a=e.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},"71ad":function(t,e,n){var i=n("6d8b"),r={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},o={};o.categoryAxis=i.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),o.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},r),o.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=i.defaults({scale:!0,logBase:10},o.valueAxis);var a=o;t.exports=a},"71b2":function(t,e,n){var i=n("6d8b"),r=i.createHashMap;function o(t){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.getRawData(),i=t.get("color"),o=r();e.each((function(t){o.set(e.getRawIndex(t),t)})),n.each((function(r){var a=n.getName(r),s=i[(t.nameMap.get(a)-1)%i.length];n.setItemVisual(r,"color",s);var l=o.get(r);null!=l&&e.setItemVisual(l,"color",s)}))}))}t.exports=o},7234:function(t,e){t.exports=function(t){return null===t||void 0===t}},7293:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("4f85")),o=n("6179"),a=n("6d8b"),s=a.concatArray,l=a.mergeAll,u=a.map,c=n("eda2"),h=c.encodeHTML,f=(n("2039"),"undefined"===typeof Uint32Array?Array:Uint32Array),d="undefined"===typeof Float64Array?Array:Float64Array;function p(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=u(e,(function(t){var e=[t[0].coord,t[1].coord],n={coords:e};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),l([n,t[0],t[1]])})))}var g=r.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],p(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),g.superApply(this,"init",arguments)},mergeOption:function(t){if(p(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,e.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"===typeof t[0]){for(var n=t.length,i=new f(n),r=new d(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var c=0;c<u;c++){var h=t[l++],p=t[l++];r[o++]=h,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},getInitialData:function(t,e){var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},formatTooltip:function(t){var e=this.getData(),n=e.getItemModel(t),i=n.get("name");if(i)return i;var r=n.get("fromName"),o=n.get("toName"),a=[];return null!=r&&a.push(r),null!=o&&a.push(o),h(a.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),v=g;t.exports=v},"72b6":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2306"),a=n("eda2"),s=n("f934"),l=n("5f14"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=a.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new o.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){n=n||{};var i=n.forceState,o=this.visualMapModel,a={};if("symbol"===e&&(a.symbol=o.get("itemSymbol")),"color"===e){var s=o.get("contentColor");a.color=s}function u(t){return a[t]}function c(t,e){a[t]=e}var h=o.controllerVisuals[i||o.getValueState(t)],f=l.prepareVisualTypes(h);return r.each(f,(function(i){var r=h[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=h.__alphaForOpacity),l.dependsOn(i,e)&&r&&r.applyVisual(t,u,c)})),a[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:r.noop});t.exports=u},7368:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("625e"),a=o.enableClassCheck;function s(t){return"_EC_"+t}var l=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function h(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[s(t)]){var i=new c(t,e);return i.hostGraph=this,this.nodes.push(i),n[s(t)]=i,i}},u.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},u.getNodeById=function(t){return this._nodesMap[s(t)]},u.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if("number"===typeof t&&(t=this.nodes[t]),"number"===typeof e&&(e=this.nodes[e]),c.isInstance(t)||(t=i[s(t)]),c.isInstance(e)||(e=i[s(e)]),t&&e){var o=t.id+"-"+e.id,a=new h(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},u.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},u.getEdge=function(t,e){c.isInstance(t)&&(t=t.id),c.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},u.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},u.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},u.breadthFirstTraverse=function(t,e,n,i){if(c.isInstance(e)||(e=this._nodesMap[s(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null)){var a=[e];while(a.length){var l=a.shift(),u=l[r];for(o=0;o<u.length;o++){var h=u[o],f=h.node1===l?h.node2:h.node1;if(!f.__visited){if(t.call(i,f,l))return;a.push(f),f.__visited=!0}}}}}},u.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},u.clone=function(){for(var t=new l(this._directed),e=this.nodes,n=this.edges,i=0;i<e.length;i++)t.addNode(e[i].id,e[i].dataIndex);for(i=0;i<n.length;i++){var r=n[i];t.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return t},c.prototype={constructor:c,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}}},h.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}};var f=function(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};r.mixin(c,f("hostGraph","data")),r.mixin(h,f("hostGraph","edgeData")),l.Node=c,l.Edge=h,a(c),a(h);var d=l;t.exports=d},"73ca":function(t,e,n){var i=n("2306"),r=n("7e5b");function o(t){this._ctor=t||r,this.group=new i.Group}var a=o.prototype;function s(t,e,n,i){var r=e.getItemLayout(n);if(f(r)){var o=new t._ctor(e,n,i);e.setItemGraphicEl(n,o),t.group.add(o)}}function l(t,e,n,i,r,o){var a=e.getItemGraphicEl(i);f(n.getItemLayout(r))?(a?a.updateData(n,r,o):a=new t._ctor(n,r,o),n.setItemGraphicEl(r,a),t.group.add(a)):t.group.remove(a)}function u(t){return t.animators&&t.animators.length>0}function c(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function h(t){return isNaN(t[0])||isNaN(t[1])}function f(t){return!h(t[0])&&!h(t[1])}a.isPersistent=function(){return!0},a.updateData=function(t){var e=this,n=e.group,i=e._lineData;e._lineData=t,i||n.removeAll();var r=c(t);t.diff(i).add((function(n){s(e,t,n,r)})).update((function(n,o){l(e,i,t,o,n,r)})).remove((function(t){n.remove(i.getItemGraphicEl(t))})).execute()},a.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},a.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._lineData=null,this.group.removeAll()},a.incrementalUpdate=function(t,e){function n(t){t.isGroup||u(t)||(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i<t.end;i++){var r=e.getItemLayout(i);if(f(r)){var o=new this._ctor(e,i,this._seriesScope);o.traverse(n),this.group.add(o),e.setItemGraphicEl(i,o)}}},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var d=o;t.exports=d},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7419:function(t,e,n){var i=n("3eba"),r=n("b336");n("bc5f"),n("ab05"),n("307a"),n("3cd6"),n("d6ef"),i.registerPreprocessor(r)},"74cb":function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},i=n;t.exports=i},7661:function(t,e,n){var i=n("0c41"),r=n("3eba"),o=r.extendComponentView({type:"geo",init:function(t,e){var n=new i(e,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=o},"767c":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("607d"),a=n("29a8"),s=n("2145"),l=a.toolbox.dataView,u=new Array(60).join("-"),c="\t";function h(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function f(t){var e=[];return r.each(t,(function(t,n){var i=t.categoryAxis,o=t.valueAxis,a=o.dim,s=[" "].concat(r.map(t.series,(function(t){return t.name}))),l=[i.model.getCategories()];r.each(t.series,(function(t){var e=t.getRawData();l.push(t.getRawData().mapArray(e.mapDimension(a),(function(t){return t})))}));for(var u=[s.join(c)],h=0;h<l[0].length;h++){for(var f=[],d=0;d<l.length;d++)f.push(l[d][h]);u.push(f.join(c))}e.push(u.join("\n"))})),e.join("\n\n"+u+"\n\n")}function d(t){return r.map(t,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+c:"")+i.join(c))})),n.join("\n")})).join("\n\n"+u+"\n\n")}function p(t){var e=h(t);return{value:r.filter([f(e.seriesGroupByCategoryAxis),d(e.other)],(function(t){return t.replace(/[\n\t\s]/g,"")})).join("\n\n"+u+"\n\n"),meta:e.meta}}function g(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function v(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(c)>=0)return!0}var m=new RegExp("["+c+"]+","g");function y(t){for(var e=t.split(/\n+/g),n=g(e.shift()).split(m),i=[],o=r.map(n,(function(t){return{name:t,data:[]}})),a=0;a<e.length;a++){var s=g(e[a]).split(m);i.push(s.shift());for(var l=0;l<s.length;l++)o[l]&&(o[l].data[a]=s[l])}return{series:o,categories:i}}function b(t){for(var e=t.split(/\n+/g),n=g(e.shift()),i=[],r=0;r<e.length;r++){var o=g(e[r]);if(o){var a,s=o.split(m),l="",u=!1;isNaN(s[0])?(u=!0,l=s[0],s=s.slice(1),i[r]={name:l,value:[]},a=i[r].value):a=i[r]=[];for(var c=0;c<s.length;c++)a.push(+s[c]);1===a.length&&(u?i[r].value=a[0]:i[r]=a[0])}}return{name:n,data:i}}function _(t,e){var n=t.split(new RegExp("\n*"+u+"\n*","g")),i={series:[]};return r.each(n,(function(t,n){if(v(t)){var r=y(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=b(t);i.series.push(r)}})),i}function x(t){this._dom=null,this.model=t}function w(t,e){return r.map(t,(function(t,n){var i=e&&e[n];if(r.isObject(i)&&!r.isArray(i)){var o=r.isObject(t)&&!r.isArray(t);o||(t={value:t});var a=null!=i.name&&null==t.name;return t=r.defaults(t,i),a&&delete t.name,t}return t}))}x.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:r.clone(l.title),lang:r.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},x.prototype.onclick=function(t,e){var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",a.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=i.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="display:block;width:100%;overflow:auto;";var h=i.get("optionToContent"),f=i.get("contentToOption"),d=p(t);if("function"===typeof h){var g=h(e.getOption());"string"===typeof g?u.innerHTML=g:r.isDom(g)&&u.appendChild(g)}else u.appendChild(c),c.readOnly=i.get("readOnly"),c.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",c.style.color=i.get("textColor"),c.style.borderColor=i.get("textareaBorderColor"),c.style.backgroundColor=i.get("textareaColor"),c.value=d.value;var v=d.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:0;left:0;right:0;";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),x=document.createElement("div");y+=";background-color:"+i.get("buttonColor"),y+=";color:"+i.get("buttonTextColor");var w=this;function S(){n.removeChild(a),w._dom=null}o.addEventListener(b,"click",S),o.addEventListener(x,"click",(function(){var t;try{t="function"===typeof f?f(u,e.getOption()):_(c.value,v)}catch(n){throw S(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),S()})),b.innerHTML=l[1],x.innerHTML=l[2],x.style.cssText=y,b.style.cssText=y,!i.get("readOnly")&&m.appendChild(x),m.appendChild(b),a.appendChild(s),a.appendChild(u),a.appendChild(m),u.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},x.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},x.prototype.dispose=function(t,e){this.remove(t,e)},s.register("dataView",x),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];r.each(t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var o=i.get("data");n.push({name:t.name,data:w(t.data,o)})}else n.push(r.extend({type:"scatter"},t))})),e.mergeOption(r.defaults({series:n},t.newOption))}));var S=x;t.exports=S},"76a5":function(t,e,n){var i=n("19eb"),r=n("6d8b"),o=n("e86a"),a=n("a73c"),s=n("82eb"),l=s.ContextCachedBy,u=function(t){i.call(this,t)};u.prototype={constructor:u,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),a.needDrawText(i,n)?(this.setTransform(t),a.renderText(this,t,i,n,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&a.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=o.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,a.getStroke(t.textStroke,t.textStrokeWidth)){var i=t.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},r.inherits(u,i);var c=u;t.exports=c},7782:function(t,e,n){var i=n("3eba"),r=n("6d8b");function o(t,e){r.each(e,(function(e){e.update="updateView",i.registerAction(e,(function(n,i){var r={};return i.eachComponent({mainType:"series",subType:t,query:n},(function(t){t[e.method]&&t[e.method](n.name,n.dataIndex);var i=t.getData();i.each((function(e){var n=i.getName(e);r[n]=t.isSelected(n)||!1}))})),{name:n.name,selected:r,seriesId:n.seriesId}}))}))}t.exports=o},"77e9":function(t,e,n){var i=n("7a41");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(t,e,n){var i=n("cc12"),r=i("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},7887:function(t,e,n){var i=n("6d8b"),r=n("84ce");function o(t,e,n){r.call(this,t,e,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(o,r);var a=o;t.exports=a},7891:function(t,e,n){var i=n("6d8b");function r(t){var e=t.polar;if(e){i.isArray(e)||(e=[e]);var n=[];i.each(e,(function(e,r){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],i.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}i.each(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}t.exports=r},"78f0":function(t,e,n){var i=n("3eba");n("d9f1");var r=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e,n=this.ecModel;return n.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=r},7919:function(t,e,n){var i=n("f934"),r=i.getLayoutRect,o=i.box,a=i.positionElement,s=n("eda2"),l=n("2306");function u(t,e,n){var i=e.getBoxLayoutParams(),s=e.get("padding"),l={width:n.getWidth(),height:n.getHeight()},u=r(i,l,s);o(e.get("orient"),t,e.get("itemGap"),u.width,u.height),a(t,i,l,s)}function c(t,e){var n=s.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);i.fill=e.get("backgroundColor");t=new l.Rect({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1});return t}e.layout=u,e.makeBackground=c},"792e":function(t,e,n){n("1ccf"),n("14d3")},"7a41":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},"7a77":function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},"7a94":function(t,e,n){(function(t){
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
var i=i||{version:"5.3.0"};if(e.fabric=i,"undefined"!==typeof document&&"undefined"!==typeof window)document instanceof("undefined"!==typeof HTMLDocument?HTMLDocument:Document)?i.document=document:i.document=document.implementation.createHTMLDocument(""),i.window=window;else{var r=n(1),o=new r.JSDOM(decodeURIComponent("%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3C%2Fhead%3E%3Cbody%3E%3C%2Fbody%3E%3C%2Fhtml%3E"),{features:{FetchExternalResources:["img"]},resources:"usable"}).window;i.document=o.document,i.jsdomImplForWrapper=n(2).implForWrapper,i.nodeCanvas=n(3).Canvas,i.window=o,DOMParser=i.window.DOMParser}function a(t){var e=t.targetCanvas,n=e.width,i=e.height,r=t.destinationWidth,o=t.destinationHeight;n===r&&i===o||(e.width=r,e.height=o)}function s(t,e){var n=t.canvas,i=e.targetCanvas,r=i.getContext("2d");r.translate(0,i.height),r.scale(1,-1);var o=n.height-i.height;r.drawImage(n,0,o,i.width,i.height,0,0,i.width,i.height)}function l(t,e){var n=e.targetCanvas,i=n.getContext("2d"),r=e.destinationWidth,o=e.destinationHeight,a=r*o*4,s=new Uint8Array(this.imageBuffer,0,a),l=new Uint8ClampedArray(this.imageBuffer,0,a);t.readPixels(0,0,r,o,t.RGBA,t.UNSIGNED_BYTE,s);var u=new ImageData(l,r,o);i.putImageData(u,0,0)}i.isTouchSupported="ontouchstart"in i.window||"ontouchstart"in i.document||i.window&&i.window.navigator&&i.window.navigator.maxTouchPoints>0,i.isLikelyNode="undefined"!==typeof t&&"undefined"===typeof window,i.SHARED_ATTRIBUTES=["display","transform","fill","fill-opacity","fill-rule","opacity","stroke","stroke-dasharray","stroke-linecap","stroke-dashoffset","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","id","paint-order","vector-effect","instantiated_by_use","clip-path"],i.DPI=96,i.reNum="(?:[-+]?(?:\\d+|\\d*\\.\\d+)(?:[eE][-+]?\\d+)?)",i.commaWsp="(?:\\s+,?\\s*|,\\s*)",i.rePathCommand=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:[eE][-+]?\d+)?)/gi,i.reNonWord=/[ \n\.,;!\?\-]/,i.fontPaths={},i.iMatrix=[1,0,0,1,0,0],i.svgNS="http://www.w3.org/2000/svg",i.perfLimitSizeTotal=2097152,i.maxCacheSideLimit=4096,i.minCacheSideLimit=256,i.charWidthsCache={},i.textureSize=2048,i.disableStyleCopyPaste=!1,i.enableGLFiltering=!0,i.devicePixelRatio=i.window.devicePixelRatio||i.window.webkitDevicePixelRatio||i.window.mozDevicePixelRatio||1,i.browserShadowBlurConstant=1,i.arcToSegmentsCache={},i.boundsOfCurveCache={},i.cachesBoundsOfCurve=!0,i.forceGLPutImageData=!1,i.initFilterBackend=function(){return i.enableGLFiltering&&i.isWebglSupported&&i.isWebglSupported(i.textureSize)?(console.log("max texture size: "+i.maxTextureSize),new i.WebglFilterBackend({tileSize:i.textureSize})):i.Canvas2dFilterBackend?new i.Canvas2dFilterBackend:void 0},"undefined"!==typeof document&&"undefined"!==typeof window&&(window.fabric=i),function(){function t(t,e){if(this.__eventListeners[t]){var n=this.__eventListeners[t];e?n[n.indexOf(e)]=!1:i.util.array.fill(n,!1)}}function e(t,e){if(this.__eventListeners||(this.__eventListeners={}),1===arguments.length)for(var n in t)this.on(n,t[n]);else this.__eventListeners[t]||(this.__eventListeners[t]=[]),this.__eventListeners[t].push(e);return this}function n(t,e){var n=function(){e.apply(this,arguments),this.off(t,n)}.bind(this);this.on(t,n)}function r(t,e){if(1===arguments.length)for(var i in t)n.call(this,i,t[i]);else n.call(this,t,e);return this}function o(e,n){if(!this.__eventListeners)return this;if(0===arguments.length)for(e in this.__eventListeners)t.call(this,e);else if(1===arguments.length&&"object"===typeof arguments[0])for(var i in e)t.call(this,i,e[i]);else t.call(this,e,n);return this}function a(t,e){if(!this.__eventListeners)return this;var n=this.__eventListeners[t];if(!n)return this;for(var i=0,r=n.length;i<r;i++)n[i]&&n[i].call(this,e||{});return this.__eventListeners[t]=n.filter((function(t){return!1!==t})),this}i.Observable={fire:a,on:e,once:r,off:o}}(),i.Collection={_objects:[],add:function(){if(this._objects.push.apply(this._objects,arguments),this._onObjectAdded)for(var t=0,e=arguments.length;t<e;t++)this._onObjectAdded(arguments[t]);return this.renderOnAddRemove&&this.requestRenderAll(),this},insertAt:function(t,e,n){var i=this._objects;return n?i[e]=t:i.splice(e,0,t),this._onObjectAdded&&this._onObjectAdded(t),this.renderOnAddRemove&&this.requestRenderAll(),this},remove:function(){for(var t,e=this._objects,n=!1,i=0,r=arguments.length;i<r;i++)t=e.indexOf(arguments[i]),-1!==t&&(n=!0,e.splice(t,1),this._onObjectRemoved&&this._onObjectRemoved(arguments[i]));return this.renderOnAddRemove&&n&&this.requestRenderAll(),this},forEachObject:function(t,e){for(var n=this.getObjects(),i=0,r=n.length;i<r;i++)t.call(e,n[i],i,n);return this},getObjects:function(t){return"undefined"===typeof t?this._objects.concat():this._objects.filter((function(e){return e.type===t}))},item:function(t){return this._objects[t]},isEmpty:function(){return 0===this._objects.length},size:function(){return this._objects.length},contains:function(t,e){return this._objects.indexOf(t)>-1||!!e&&this._objects.some((function(e){return"function"===typeof e.contains&&e.contains(t,!0)}))},complexity:function(){return this._objects.reduce((function(t,e){return t+=e.complexity?e.complexity():0,t}),0)}},i.CommonMethods={_setOptions:function(t){for(var e in t)this.set(e,t[e])},_initGradient:function(t,e){!t||!t.colorStops||t instanceof i.Gradient||this.set(e,new i.Gradient(t))},_initPattern:function(t,e,n){!t||!t.source||t instanceof i.Pattern?n&&n():this.set(e,new i.Pattern(t,n))},_setObject:function(t){for(var e in t)this._set(e,t[e])},set:function(t,e){return"object"===typeof t?this._setObject(t):this._set(t,e),this},_set:function(t,e){this[t]=e},toggle:function(t){var e=this.get(t);return"boolean"===typeof e&&this.set(t,!e),this},get:function(t){return this[t]}},function(t){var e=Math.sqrt,n=Math.atan2,r=Math.pow,o=Math.PI/180,a=Math.PI/2;i.util={cos:function(t){if(0===t)return 1;t<0&&(t=-t);var e=t/a;switch(e){case 1:case 3:return 0;case 2:return-1}return Math.cos(t)},sin:function(t){if(0===t)return 0;var e=t/a,n=1;switch(t<0&&(n=-1),e){case 1:return n;case 2:return 0;case 3:return-n}return Math.sin(t)},removeFromArray:function(t,e){var n=t.indexOf(e);return-1!==n&&t.splice(n,1),t},getRandomInt:function(t,e){return Math.floor(Math.random()*(e-t+1))+t},degreesToRadians:function(t){return t*o},radiansToDegrees:function(t){return t/o},rotatePoint:function(t,e,n){var r=new i.Point(t.x-e.x,t.y-e.y),o=i.util.rotateVector(r,n);return new i.Point(o.x,o.y).addEquals(e)},rotateVector:function(t,e){var n=i.util.sin(e),r=i.util.cos(e),o=t.x*r-t.y*n,a=t.x*n+t.y*r;return{x:o,y:a}},createVector:function(t,e){return new i.Point(e.x-t.x,e.y-t.y)},calcAngleBetweenVectors:function(t,e){return Math.acos((t.x*e.x+t.y*e.y)/(Math.hypot(t.x,t.y)*Math.hypot(e.x,e.y)))},getHatVector:function(t){return new i.Point(t.x,t.y).multiply(1/Math.hypot(t.x,t.y))},getBisector:function(t,e,n){var r=i.util.createVector(t,e),o=i.util.createVector(t,n),a=i.util.calcAngleBetweenVectors(r,o),s=i.util.calcAngleBetweenVectors(i.util.rotateVector(r,a),o),l=a*(0===s?1:-1)/2;return{vector:i.util.getHatVector(i.util.rotateVector(r,l)),angle:a}},projectStrokeOnPoints:function(t,e,n){var r=[],o=e.strokeWidth/2,a=e.strokeUniform?new i.Point(1/e.scaleX,1/e.scaleY):new i.Point(1,1),s=function(t){var e=o/Math.hypot(t.x,t.y);return new i.Point(t.x*e*a.x,t.y*e*a.y)};return t.length<=1||t.forEach((function(l,u){var c,h,f=new i.Point(l.x,l.y);0===u?(h=t[u+1],c=n?s(i.util.createVector(h,f)).addEquals(f):t[t.length-1]):u===t.length-1?(c=t[u-1],h=n?s(i.util.createVector(c,f)).addEquals(f):t[0]):(c=t[u-1],h=t[u+1]);var d,p,g=i.util.getBisector(f,c,h),v=g.vector,m=g.angle;if("miter"===e.strokeLineJoin&&(d=-o/Math.sin(m/2),p=new i.Point(v.x*d*a.x,v.y*d*a.y),Math.hypot(p.x,p.y)/o<=e.strokeMiterLimit))return r.push(f.add(p)),void r.push(f.subtract(p));d=-o*Math.SQRT2,p=new i.Point(v.x*d*a.x,v.y*d*a.y),r.push(f.add(p)),r.push(f.subtract(p))})),r},transformPoint:function(t,e,n){return n?new i.Point(e[0]*t.x+e[2]*t.y,e[1]*t.x+e[3]*t.y):new i.Point(e[0]*t.x+e[2]*t.y+e[4],e[1]*t.x+e[3]*t.y+e[5])},makeBoundingBoxFromPoints:function(t,e){if(e)for(var n=0;n<t.length;n++)t[n]=i.util.transformPoint(t[n],e);var r=[t[0].x,t[1].x,t[2].x,t[3].x],o=i.util.array.min(r),a=i.util.array.max(r),s=a-o,l=[t[0].y,t[1].y,t[2].y,t[3].y],u=i.util.array.min(l),c=i.util.array.max(l),h=c-u;return{left:o,top:u,width:s,height:h}},invertTransform:function(t){var e=1/(t[0]*t[3]-t[1]*t[2]),n=[e*t[3],-e*t[1],-e*t[2],e*t[0]],r=i.util.transformPoint({x:t[4],y:t[5]},n,!0);return n[4]=-r.x,n[5]=-r.y,n},toFixed:function(t,e){return parseFloat(Number(t).toFixed(e))},parseUnit:function(t,e){var n=/\D{0,2}$/.exec(t),r=parseFloat(t);switch(e||(e=i.Text.DEFAULT_SVG_FONT_SIZE),n[0]){case"mm":return r*i.DPI/25.4;case"cm":return r*i.DPI/2.54;case"in":return r*i.DPI;case"pt":return r*i.DPI/72;case"pc":return r*i.DPI/72*12;case"em":return r*e;default:return r}},falseFunction:function(){return!1},getKlass:function(t,e){return t=i.util.string.camelize(t.charAt(0).toUpperCase()+t.slice(1)),i.util.resolveNamespace(e)[t]},getSvgAttributes:function(t){var e=["instantiated_by_use","style","id","class"];switch(t){case"linearGradient":e=e.concat(["x1","y1","x2","y2","gradientUnits","gradientTransform"]);break;case"radialGradient":e=e.concat(["gradientUnits","gradientTransform","cx","cy","r","fx","fy","fr"]);break;case"stop":e=e.concat(["offset","stop-color","stop-opacity"]);break}return e},resolveNamespace:function(e){if(!e)return i;var n,r=e.split("."),o=r.length,a=t||i.window;for(n=0;n<o;++n)a=a[r[n]];return a},loadImage:function(t,e,n,r){if(t){var o=i.util.createImage(),a=function(){e&&e.call(n,o,!1),o=o.onload=o.onerror=null};o.onload=a,o.onerror=function(){i.log("Error loading "+o.src),e&&e.call(n,null,!0),o=o.onload=o.onerror=null},0!==t.indexOf("data")&&void 0!==r&&null!==r&&(o.crossOrigin=r),"data:image/svg"===t.substring(0,14)&&(o.onload=null,i.util.loadImageInDom(o,a)),o.src=t}else e&&e.call(n,t)},loadImageInDom:function(t,e){var n=i.document.createElement("div");n.style.width=n.style.height="1px",n.style.left=n.style.top="-100%",n.style.position="absolute",n.appendChild(t),i.document.querySelector("body").appendChild(n),t.onload=function(){e(),n.parentNode.removeChild(n),n=null}},enlivenObjects:function(t,e,n,r){t=t||[];var o=[],a=0,s=t.length;function l(){++a===s&&e&&e(o.filter((function(t){return t})))}s?t.forEach((function(t,e){if(t&&t.type){var a=i.util.getKlass(t.type,n);a.fromObject(t,(function(n,i){i||(o[e]=n),r&&r(t,n,i),l()}))}else l()})):e&&e(o)},enlivenObjectEnlivables:function(t,e,n){var r=i.Object.ENLIVEN_PROPS.filter((function(e){return!!t[e]}));i.util.enlivenObjects(r.map((function(e){return t[e]})),(function(t){var i={};r.forEach((function(n,r){i[n]=t[r],e&&(e[n]=t[r])})),n&&n(i)}))},enlivenPatterns:function(t,e){function n(){++o===a&&e&&e(r)}t=t||[];var r=[],o=0,a=t.length;a?t.forEach((function(t,e){t&&t.source?new i.Pattern(t,(function(t){r[e]=t,n()})):(r[e]=t,n())})):e&&e(r)},groupSVGElements:function(t,e,n){var r;return t&&1===t.length?("undefined"!==typeof n&&(t[0].sourcePath=n),t[0]):(e&&(e.width&&e.height?e.centerPoint={x:e.width/2,y:e.height/2}:(delete e.width,delete e.height)),r=new i.Group(t,e),"undefined"!==typeof n&&(r.sourcePath=n),r)},populateWithProperties:function(t,e,n){if(n&&Array.isArray(n))for(var i=0,r=n.length;i<r;i++)n[i]in t&&(e[n[i]]=t[n[i]])},createCanvasElement:function(){return i.document.createElement("canvas")},copyCanvasElement:function(t){var e=i.util.createCanvasElement();return e.width=t.width,e.height=t.height,e.getContext("2d").drawImage(t,0,0),e},toDataURL:function(t,e,n){return t.toDataURL("image/"+e,n)},createImage:function(){return i.document.createElement("img")},multiplyTransformMatrices:function(t,e,n){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],n?0:t[0]*e[4]+t[2]*e[5]+t[4],n?0:t[1]*e[4]+t[3]*e[5]+t[5]]},qrDecompose:function(t){var i=n(t[1],t[0]),a=r(t[0],2)+r(t[1],2),s=e(a),l=(t[0]*t[3]-t[2]*t[1])/s,u=n(t[0]*t[2]+t[1]*t[3],a);return{angle:i/o,scaleX:s,scaleY:l,skewX:u/o,skewY:0,translateX:t[4],translateY:t[5]}},calcRotateMatrix:function(t){if(!t.angle)return i.iMatrix.concat();var e=i.util.degreesToRadians(t.angle),n=i.util.cos(e),r=i.util.sin(e);return[n,r,-r,n,0,0]},calcDimensionsMatrix:function(t){var e="undefined"===typeof t.scaleX?1:t.scaleX,n="undefined"===typeof t.scaleY?1:t.scaleY,r=[t.flipX?-e:e,0,0,t.flipY?-n:n,0,0],o=i.util.multiplyTransformMatrices,a=i.util.degreesToRadians;return t.skewX&&(r=o(r,[1,0,Math.tan(a(t.skewX)),1],!0)),t.skewY&&(r=o(r,[1,Math.tan(a(t.skewY)),0,1],!0)),r},composeMatrix:function(t){var e=[1,0,0,1,t.translateX||0,t.translateY||0],n=i.util.multiplyTransformMatrices;return t.angle&&(e=n(e,i.util.calcRotateMatrix(t))),(1!==t.scaleX||1!==t.scaleY||t.skewX||t.skewY||t.flipX||t.flipY)&&(e=n(e,i.util.calcDimensionsMatrix(t))),e},resetObjectTransform:function(t){t.scaleX=1,t.scaleY=1,t.skewX=0,t.skewY=0,t.flipX=!1,t.flipY=!1,t.rotate(0)},saveObjectTransform:function(t){return{scaleX:t.scaleX,scaleY:t.scaleY,skewX:t.skewX,skewY:t.skewY,angle:t.angle,left:t.left,flipX:t.flipX,flipY:t.flipY,top:t.top}},isTransparent:function(t,e,n,i){i>0&&(e>i?e-=i:e=0,n>i?n-=i:n=0);var r,o,a=!0,s=t.getImageData(e,n,2*i||1,2*i||1),l=s.data.length;for(r=3;r<l;r+=4)if(o=s.data[r],a=o<=0,!1===a)break;return s=null,a},parsePreserveAspectRatioAttribute:function(t){var e,n="meet",i="Mid",r="Mid",o=t.split(" ");return o&&o.length&&(n=o.pop(),"meet"!==n&&"slice"!==n?(e=n,n="meet"):o.length&&(e=o.pop())),i="none"!==e?e.slice(1,4):"none",r="none"!==e?e.slice(5,8):"none",{meetOrSlice:n,alignX:i,alignY:r}},clearFabricFontCache:function(t){t=(t||"").toLowerCase(),t?i.charWidthsCache[t]&&delete i.charWidthsCache[t]:i.charWidthsCache={}},limitDimsByArea:function(t,e){var n=Math.sqrt(e*t),i=Math.floor(e/n);return{x:Math.floor(n),y:i}},capValue:function(t,e,n){return Math.max(t,Math.min(e,n))},findScaleToFit:function(t,e){return Math.min(e.width/t.width,e.height/t.height)},findScaleToCover:function(t,e){return Math.max(e.width/t.width,e.height/t.height)},matrixToSVG:function(t){return"matrix("+t.map((function(t){return i.util.toFixed(t,i.Object.NUM_FRACTION_DIGITS)})).join(" ")+")"},removeTransformFromObject:function(t,e){var n=i.util.invertTransform(e),r=i.util.multiplyTransformMatrices(n,t.calcOwnMatrix());i.util.applyTransformToObject(t,r)},addTransformToObject:function(t,e){i.util.applyTransformToObject(t,i.util.multiplyTransformMatrices(e,t.calcOwnMatrix()))},applyTransformToObject:function(t,e){var n=i.util.qrDecompose(e),r=new i.Point(n.translateX,n.translateY);t.flipX=!1,t.flipY=!1,t.set("scaleX",n.scaleX),t.set("scaleY",n.scaleY),t.skewX=n.skewX,t.skewY=n.skewY,t.angle=n.angle,t.setPositionByOrigin(r,"center","center")},sizeAfterTransform:function(t,e,n){var r=t/2,o=e/2,a=[{x:-r,y:-o},{x:r,y:-o},{x:-r,y:o},{x:r,y:o}],s=i.util.calcDimensionsMatrix(n),l=i.util.makeBoundingBoxFromPoints(a,s);return{x:l.width,y:l.height}},mergeClipPaths:function(t,e){var n=t,r=e;n.inverted&&!r.inverted&&(n=e,r=t),i.util.applyTransformToObject(r,i.util.multiplyTransformMatrices(i.util.invertTransform(n.calcTransformMatrix()),r.calcTransformMatrix()));var o=n.inverted&&r.inverted;return o&&(n.inverted=r.inverted=!1),new i.Group([n],{clipPath:r,inverted:o})},hasStyleChanged:function(t,e,n){return n=n||!1,t.fill!==e.fill||t.stroke!==e.stroke||t.strokeWidth!==e.strokeWidth||t.fontSize!==e.fontSize||t.fontFamily!==e.fontFamily||t.fontWeight!==e.fontWeight||t.fontStyle!==e.fontStyle||t.textBackgroundColor!==e.textBackgroundColor||t.deltaY!==e.deltaY||n&&(t.overline!==e.overline||t.underline!==e.underline||t.linethrough!==e.linethrough)},stylesToArray:function(t,e){t=i.util.object.clone(t,!0);for(var n=e.split("\n"),r=-1,o={},a=[],s=0;s<n.length;s++)if(t[s])for(var l=0;l<n[s].length;l++){r++;var u=t[s][l];if(u&&Object.keys(u).length>0){var c=i.util.hasStyleChanged(o,u,!0);c?a.push({start:r,end:r+1,style:u}):a[a.length-1].end++}o=u||{}}else r+=n[s].length;return a},stylesFromArray:function(t,e){if(!Array.isArray(t))return t;for(var n=e.split("\n"),i=-1,r=0,o={},a=0;a<n.length;a++)for(var s=0;s<n[a].length;s++)i++,t[r]&&t[r].start<=i&&i<t[r].end&&(o[a]=o[a]||{},o[a][s]=Object.assign({},t[r].style),i===t[r].end-1&&r++);return o}}}(e),function(){var t=Array.prototype.join,e={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7},n={m:"l",M:"L"};function r(t,e,n,r,o,a,s,l,u,c,h){var f=i.util.cos(t),d=i.util.sin(t),p=i.util.cos(e),g=i.util.sin(e),v=n*o*p-r*a*g+s,m=r*o*p+n*a*g+l,y=c+u*(-n*o*d-r*a*f),b=h+u*(-r*o*d+n*a*f),_=v+u*(n*o*g+r*a*p),x=m+u*(r*o*g-n*a*p);return["C",y,b,_,x,v,m]}function o(t,e,n,o,s,l,u){var c=Math.PI,h=u*c/180,f=i.util.sin(h),d=i.util.cos(h),p=0,g=0;n=Math.abs(n),o=Math.abs(o);var v=-d*t*.5-f*e*.5,m=-d*e*.5+f*t*.5,y=n*n,b=o*o,_=m*m,x=v*v,w=y*b-y*_-b*x,S=0;if(w<0){var C=Math.sqrt(1-w/(y*b));n*=C,o*=C}else S=(s===l?-1:1)*Math.sqrt(w/(y*_+b*x));var T=S*n*m/o,A=-S*o*v/n,O=d*T-f*A+.5*t,M=f*T+d*A+.5*e,k=a(1,0,(v-T)/n,(m-A)/o),I=a((v-T)/n,(m-A)/o,(-v-T)/n,(-m-A)/o);0===l&&I>0?I-=2*c:1===l&&I<0&&(I+=2*c);for(var E=Math.ceil(Math.abs(I/c*2)),P=[],D=I/E,L=8/3*Math.sin(D/4)*Math.sin(D/4)/Math.sin(D/2),R=k+D,N=0;N<E;N++)P[N]=r(k,R,d,f,n,o,O,M,L,p,g),p=P[N][5],g=P[N][6],k=R,R+=D;return P}function a(t,e,n,i){var r=Math.atan2(e,t),o=Math.atan2(i,n);return o>=r?o-r:2*Math.PI-(r-o)}function s(e,n,r,o,a,s,l,u){var c;if(i.cachesBoundsOfCurve&&(c=t.call(arguments),i.boundsOfCurveCache[c]))return i.boundsOfCurveCache[c];var h,f,d,p,g,v,m,y,b=Math.sqrt,_=Math.min,x=Math.max,w=Math.abs,S=[],C=[[],[]];f=6*e-12*r+6*a,h=-3*e+9*r-9*a+3*l,d=3*r-3*e;for(var T=0;T<2;++T)if(T>0&&(f=6*n-12*o+6*s,h=-3*n+9*o-9*s+3*u,d=3*o-3*n),w(h)<1e-12){if(w(f)<1e-12)continue;p=-d/f,0<p&&p<1&&S.push(p)}else m=f*f-4*d*h,m<0||(y=b(m),g=(-f+y)/(2*h),0<g&&g<1&&S.push(g),v=(-f-y)/(2*h),0<v&&v<1&&S.push(v));var A,O,M,k=S.length,I=k;while(k--)p=S[k],M=1-p,A=M*M*M*e+3*M*M*p*r+3*M*p*p*a+p*p*p*l,C[0][k]=A,O=M*M*M*n+3*M*M*p*o+3*M*p*p*s+p*p*p*u,C[1][k]=O;C[0][I]=e,C[1][I]=n,C[0][I+1]=l,C[1][I+1]=u;var E=[{x:_.apply(null,C[0]),y:_.apply(null,C[1])},{x:x.apply(null,C[0]),y:x.apply(null,C[1])}];return i.cachesBoundsOfCurve&&(i.boundsOfCurveCache[c]=E),E}function l(t,e,n){for(var i=n[1],r=n[2],a=n[3],s=n[4],l=n[5],u=n[6],c=n[7],h=o(u-t,c-e,i,r,s,l,a),f=0,d=h.length;f<d;f++)h[f][1]+=t,h[f][2]+=e,h[f][3]+=t,h[f][4]+=e,h[f][5]+=t,h[f][6]+=e;return h}function u(t){var e,n,i,r,o,a,s=0,u=0,c=t.length,h=0,f=0,d=[];for(n=0;n<c;++n){switch(i=!1,e=t[n].slice(0),e[0]){case"l":e[0]="L",e[1]+=s,e[2]+=u;case"L":s=e[1],u=e[2];break;case"h":e[1]+=s;case"H":e[0]="L",e[2]=u,s=e[1];break;case"v":e[1]+=u;case"V":e[0]="L",u=e[1],e[1]=s,e[2]=u;break;case"m":e[0]="M",e[1]+=s,e[2]+=u;case"M":s=e[1],u=e[2],h=e[1],f=e[2];break;case"c":e[0]="C",e[1]+=s,e[2]+=u,e[3]+=s,e[4]+=u,e[5]+=s,e[6]+=u;case"C":o=e[3],a=e[4],s=e[5],u=e[6];break;case"s":e[0]="S",e[1]+=s,e[2]+=u,e[3]+=s,e[4]+=u;case"S":"C"===r?(o=2*s-o,a=2*u-a):(o=s,a=u),s=e[3],u=e[4],e[0]="C",e[5]=e[3],e[6]=e[4],e[3]=e[1],e[4]=e[2],e[1]=o,e[2]=a,o=e[3],a=e[4];break;case"q":e[0]="Q",e[1]+=s,e[2]+=u,e[3]+=s,e[4]+=u;case"Q":o=e[1],a=e[2],s=e[3],u=e[4];break;case"t":e[0]="T",e[1]+=s,e[2]+=u;case"T":"Q"===r?(o=2*s-o,a=2*u-a):(o=s,a=u),e[0]="Q",s=e[1],u=e[2],e[1]=o,e[2]=a,e[3]=s,e[4]=u;break;case"a":e[0]="A",e[6]+=s,e[7]+=u;case"A":i=!0,d=d.concat(l(s,u,e)),s=e[6],u=e[7];break;case"z":case"Z":s=h,u=f;break;default:}i||d.push(e),r=e[0]}return d}function c(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))}function h(t){return t*t*t}function f(t){return 3*t*t*(1-t)}function d(t){return 3*t*(1-t)*(1-t)}function p(t){return(1-t)*(1-t)*(1-t)}function g(t,e,n,i,r,o,a,s){return function(l){var u=h(l),c=f(l),g=d(l),v=p(l);return{x:a*u+r*c+n*g+t*v,y:s*u+o*c+i*g+e*v}}}function v(t,e,n,i,r,o,a,s){return function(l){var u=1-l,c=3*u*u*(n-t)+6*u*l*(r-n)+3*l*l*(a-r),h=3*u*u*(i-e)+6*u*l*(o-i)+3*l*l*(s-o);return Math.atan2(h,c)}}function m(t){return t*t}function y(t){return 2*t*(1-t)}function b(t){return(1-t)*(1-t)}function _(t,e,n,i,r,o){return function(a){var s=m(a),l=y(a),u=b(a);return{x:r*s+n*l+t*u,y:o*s+i*l+e*u}}}function x(t,e,n,i,r,o){return function(a){var s=1-a,l=2*s*(n-t)+2*a*(r-n),u=2*s*(i-e)+2*a*(o-i);return Math.atan2(u,l)}}function w(t,e,n){var i,r,o={x:e,y:n},a=0;for(r=1;r<=100;r+=1)i=t(r/100),a+=c(o.x,o.y,i.x,i.y),o=i;return a}function S(t,e){var n,i,r,o=0,a=0,s=t.iterator,l={x:t.x,y:t.y},u=.01,h=t.angleFinder;while(a<e&&u>1e-4)n=s(o),r=o,i=c(l.x,l.y,n.x,n.y),i+a>e?(o-=u,u/=2):(l=n,o+=u,a+=i);return n.angle=h(r),n}function C(t){for(var e,n,i,r,o=0,a=t.length,s=0,l=0,u=0,h=0,f=[],d=0;d<a;d++){switch(e=t[d],i={x:s,y:l,command:e[0]},e[0]){case"M":i.length=0,u=s=e[1],h=l=e[2];break;case"L":i.length=c(s,l,e[1],e[2]),s=e[1],l=e[2];break;case"C":n=g(s,l,e[1],e[2],e[3],e[4],e[5],e[6]),r=v(s,l,e[1],e[2],e[3],e[4],e[5],e[6]),i.iterator=n,i.angleFinder=r,i.length=w(n,s,l),s=e[5],l=e[6];break;case"Q":n=_(s,l,e[1],e[2],e[3],e[4]),r=x(s,l,e[1],e[2],e[3],e[4]),i.iterator=n,i.angleFinder=r,i.length=w(n,s,l),s=e[3],l=e[4];break;case"Z":case"z":i.destX=u,i.destY=h,i.length=c(s,l,u,h),s=u,l=h;break}o+=i.length,f.push(i)}return f.push({length:o,x:s,y:l}),f}function T(t,e,n){n||(n=C(t));var r=0;while(e-n[r].length>0&&r<n.length-2)e-=n[r].length,r++;var o,a=n[r],s=e/a.length,l=a.command,u=t[r];switch(l){case"M":return{x:a.x,y:a.y,angle:0};case"Z":case"z":return o=new i.Point(a.x,a.y).lerp(new i.Point(a.destX,a.destY),s),o.angle=Math.atan2(a.destY-a.y,a.destX-a.x),o;case"L":return o=new i.Point(a.x,a.y).lerp(new i.Point(u[1],u[2]),s),o.angle=Math.atan2(u[2]-a.y,u[1]-a.x),o;case"C":return S(a,e);case"Q":return S(a,e)}}function A(t){var r,o,a,s,l,u=[],c=[],h=i.rePathCommand,f="[-+]?(?:\\d*\\.\\d+|\\d+\\.?)(?:[eE][-+]?\\d+)?\\s*",d="("+f+")"+i.commaWsp,p="([01])"+i.commaWsp+"?",g=d+"?"+d+"?"+d+p+p+d+"?("+f+")",v=new RegExp(g,"g");if(!t||!t.match)return u;l=t.match(/[mzlhvcsqta][^mzlhvcsqta]*/gi);for(var m,y=0,b=l.length;y<b;y++){r=l[y],s=r.slice(1).trim(),c.length=0;var _=r.charAt(0);if(m=[_],"a"===_.toLowerCase())for(var x;x=v.exec(s);)for(var w=1;w<x.length;w++)c.push(x[w]);else while(a=h.exec(s))c.push(a[0]);w=0;for(var S=c.length;w<S;w++)o=parseFloat(c[w]),isNaN(o)||m.push(o);var C=e[_.toLowerCase()],T=n[_]||_;if(m.length-1>C)for(var A=1,O=m.length;A<O;A+=C)u.push([_].concat(m.slice(A,A+C))),_=T;else u.push(m)}return u}function O(t,e){var n,r=[],o=new i.Point(t[0].x,t[0].y),a=new i.Point(t[1].x,t[1].y),s=t.length,l=1,u=0,c=s>2;for(e=e||0,c&&(l=t[2].x<a.x?-1:t[2].x===a.x?0:1,u=t[2].y<a.y?-1:t[2].y===a.y?0:1),r.push(["M",o.x-l*e,o.y-u*e]),n=1;n<s;n++){if(!o.eq(a)){var h=o.midPointFrom(a);r.push(["Q",o.x,o.y,h.x,h.y])}o=t[n],n+1<t.length&&(a=t[n+1])}return c&&(l=o.x>t[n-2].x?1:o.x===t[n-2].x?0:-1,u=o.y>t[n-2].y?1:o.y===t[n-2].y?0:-1),r.push(["L",o.x+l*e,o.y+u*e]),r}function M(t,e,n){return n&&(e=i.util.multiplyTransformMatrices(e,[1,0,0,1,-n.x,-n.y])),t.map((function(t){for(var n=t.slice(0),r={},o=1;o<t.length-1;o+=2)r.x=t[o],r.y=t[o+1],r=i.util.transformPoint(r,e),n[o]=r.x,n[o+1]=r.y;return n}))}i.util.joinPath=function(t){return t.map((function(t){return t.join(" ")})).join(" ")},i.util.parsePath=A,i.util.makePathSimpler=u,i.util.getSmoothPathFromPoints=O,i.util.getPathSegmentsInfo=C,i.util.getBoundsOfCurve=s,i.util.getPointOnPath=T,i.util.transformPath=M}(),function(){var t=Array.prototype.slice;function e(e,n){for(var i=t.call(arguments,2),r=[],o=0,a=e.length;o<a;o++)r[o]=i.length?e[o][n].apply(e[o],i):e[o][n].call(e[o]);return r}function n(t,e){return a(t,e,(function(t,e){return t>=e}))}function r(t,e){return a(t,e,(function(t,e){return t<e}))}function o(t,e){var n=t.length;while(n--)t[n]=e;return t}function a(t,e,n){if(t&&0!==t.length){var i=t.length-1,r=e?t[i][e]:t[i];if(e)while(i--)n(t[i][e],r)&&(r=t[i][e]);else while(i--)n(t[i],r)&&(r=t[i]);return r}}i.util.array={fill:o,invoke:e,min:r,max:n}}(),function(){function t(e,n,r){if(r)if(!i.isLikelyNode&&n instanceof Element)e=n;else if(n instanceof Array){e=[];for(var o=0,a=n.length;o<a;o++)e[o]=t({},n[o],r)}else if(n&&"object"===typeof n)for(var s in n)"canvas"===s||"group"===s?e[s]=null:n.hasOwnProperty(s)&&(e[s]=t({},n[s],r));else e=n;else for(var s in n)e[s]=n[s];return e}function e(e,n){return t({},e,n)}i.util.object={extend:t,clone:e},i.util.object.extend(i.util,i.Observable)}(),function(){function t(t){return t.replace(/-+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))}function e(t,e){return t.charAt(0).toUpperCase()+(e?t.slice(1):t.slice(1).toLowerCase())}function n(t){return t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function r(t){var e,n=0,i=[];for(n=0,e;n<t.length;n++)!1!==(e=o(t,n))&&i.push(e);return i}function o(t,e){var n=t.charCodeAt(e);if(isNaN(n))return"";if(n<55296||n>57343)return t.charAt(e);if(55296<=n&&n<=56319){if(t.length<=e+1)throw"High surrogate without following low surrogate";var i=t.charCodeAt(e+1);if(56320>i||i>57343)throw"High surrogate without following low surrogate";return t.charAt(e)+t.charAt(e+1)}if(0===e)throw"Low surrogate without preceding high surrogate";var r=t.charCodeAt(e-1);if(55296>r||r>56319)throw"Low surrogate without preceding high surrogate";return!1}i.util.string={camelize:t,capitalize:e,escapeXml:n,graphemeSplit:r}}(),function(){var t=Array.prototype.slice,e=function(){},n=function(){for(var t in{toString:1})if("toString"===t)return!1;return!0}(),r=function(t,e,i){for(var r in e)r in t.prototype&&"function"===typeof t.prototype[r]&&(e[r]+"").indexOf("callSuper")>-1?t.prototype[r]=function(t){return function(){var n=this.constructor.superclass;this.constructor.superclass=i;var r=e[t].apply(this,arguments);if(this.constructor.superclass=n,"initialize"!==t)return r}}(r):t.prototype[r]=e[r],n&&(e.toString!==Object.prototype.toString&&(t.prototype.toString=e.toString),e.valueOf!==Object.prototype.valueOf&&(t.prototype.valueOf=e.valueOf))};function o(){}function a(e){var n=null,i=this;while(i.constructor.superclass){var r=i.constructor.superclass.prototype[e];if(i[e]!==r){n=r;break}i=i.constructor.superclass.prototype}return n?arguments.length>1?n.apply(this,t.call(arguments,1)):n.call(this):console.log("tried to callSuper "+e+", method not found in prototype chain",this)}function s(){var n=null,i=t.call(arguments,0);function s(){this.initialize.apply(this,arguments)}"function"===typeof i[0]&&(n=i.shift()),s.superclass=n,s.subclasses=[],n&&(o.prototype=n.prototype,s.prototype=new o,n.subclasses.push(s));for(var l=0,u=i.length;l<u;l++)r(s,i[l],n);return s.prototype.initialize||(s.prototype.initialize=e),s.prototype.constructor=s,s.prototype.callSuper=a,s}i.util.createClass=s}(),function(){var t=!!i.document.createElement("div").attachEvent,e=["touchstart","touchmove","touchend"];function n(t){var e=t.changedTouches;return e&&e[0]?e[0]:t}i.util.addListener=function(e,n,i,r){e&&e.addEventListener(n,i,!t&&r)},i.util.removeListener=function(e,n,i,r){e&&e.removeEventListener(n,i,!t&&r)},i.util.getPointer=function(t){var e=t.target,r=i.util.getScrollLeftTop(e),o=n(t);return{x:o.clientX+r.left,y:o.clientY+r.top}},i.util.isTouchEvent=function(t){return e.indexOf(t.type)>-1||"touch"===t.pointerType}}(),function(){function t(t,e){var n=t.style;if(!n)return t;if("string"===typeof e)return t.style.cssText+=";"+e,e.indexOf("opacity")>-1?a(t,e.match(/opacity:\s*(\d?\.?\d*)/)[1]):t;for(var i in e)if("opacity"===i)a(t,e[i]);else{var r="float"===i||"cssFloat"===i?"undefined"===typeof n.styleFloat?"cssFloat":"styleFloat":i;n.setProperty(r,e[i])}return t}var e=i.document.createElement("div"),n="string"===typeof e.style.opacity,r="string"===typeof e.style.filter,o=/alpha\s*\(\s*opacity\s*=\s*([^\)]+)\)/,a=function(t){return t};n?a=function(t,e){return t.style.opacity=e,t}:r&&(a=function(t,e){var n=t.style;return t.currentStyle&&!t.currentStyle.hasLayout&&(n.zoom=1),o.test(n.filter)?(e=e>=.9999?"":"alpha(opacity="+100*e+")",n.filter=n.filter.replace(o,e)):n.filter+=" alpha(opacity="+100*e+")",t}),i.util.setStyle=t}(),function(){var t=Array.prototype.slice;function e(t){return"string"===typeof t?i.document.getElementById(t):t}var n,r,o=function(e){return t.call(e,0)};try{n=o(i.document.childNodes)instanceof Array}catch(p){}function a(t,e){var n=i.document.createElement(t);for(var r in e)"class"===r?n.className=e[r]:"for"===r?n.htmlFor=e[r]:n.setAttribute(r,e[r]);return n}function s(t,e){t&&-1===(" "+t.className+" ").indexOf(" "+e+" ")&&(t.className+=(t.className?" ":"")+e)}function l(t,e,n){return"string"===typeof e&&(e=a(e,n)),t.parentNode&&t.parentNode.replaceChild(e,t),e.appendChild(t),e}function u(t){var e=0,n=0,r=i.document.documentElement,o=i.document.body||{scrollLeft:0,scrollTop:0};while(t&&(t.parentNode||t.host))if(t=t.parentNode||t.host,t===i.document?(e=o.scrollLeft||r.scrollLeft||0,n=o.scrollTop||r.scrollTop||0):(e+=t.scrollLeft||0,n+=t.scrollTop||0),1===t.nodeType&&"fixed"===t.style.position)break;return{left:e,top:n}}function c(t){var e,n,i=t&&t.ownerDocument,o={left:0,top:0},a={left:0,top:0},s={borderLeftWidth:"left",borderTopWidth:"top",paddingLeft:"left",paddingTop:"top"};if(!i)return a;for(var l in s)a[s[l]]+=parseInt(r(t,l),10)||0;return e=i.documentElement,"undefined"!==typeof t.getBoundingClientRect&&(o=t.getBoundingClientRect()),n=u(t),{left:o.left+n.left-(e.clientLeft||0)+a.left,top:o.top+n.top-(e.clientTop||0)+a.top}}function h(t){var e=i.jsdomImplForWrapper(t);return e._canvas||e._image}function f(t){if(i.isLikelyNode){var e=i.jsdomImplForWrapper(t);e&&(e._image=null,e._canvas=null,e._currentSrc=null,e._attributes=null,e._classList=null)}}function d(t,e){t.imageSmoothingEnabled=t.imageSmoothingEnabled||t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled||t.oImageSmoothingEnabled,t.imageSmoothingEnabled=e}n||(o=function(t){var e=new Array(t.length),n=t.length;while(n--)e[n]=t[n];return e}),r=i.document.defaultView&&i.document.defaultView.getComputedStyle?function(t,e){var n=i.document.defaultView.getComputedStyle(t,null);return n?n[e]:void 0}:function(t,e){var n=t.style[e];return!n&&t.currentStyle&&(n=t.currentStyle[e]),n},function(){var t=i.document.documentElement.style,e="userSelect"in t?"userSelect":"MozUserSelect"in t?"MozUserSelect":"WebkitUserSelect"in t?"WebkitUserSelect":"KhtmlUserSelect"in t?"KhtmlUserSelect":"";function n(t){return"undefined"!==typeof t.onselectstart&&(t.onselectstart=i.util.falseFunction),e?t.style[e]="none":"string"===typeof t.unselectable&&(t.unselectable="on"),t}function r(t){return"undefined"!==typeof t.onselectstart&&(t.onselectstart=null),e?t.style[e]="":"string"===typeof t.unselectable&&(t.unselectable=""),t}i.util.makeElementUnselectable=n,i.util.makeElementSelectable=r}(),i.util.setImageSmoothing=d,i.util.getById=e,i.util.toArray=o,i.util.addClass=s,i.util.makeElement=a,i.util.wrapElement=l,i.util.getScrollLeftTop=u,i.util.getElementOffset=c,i.util.getNodeCanvas=h,i.util.cleanUpJsdomNode=f}(),function(){function t(t,e){return t+(/\?/.test(t)?"&":"?")+e}function e(){}function n(n,r){r||(r={});var o=r.method?r.method.toUpperCase():"GET",a=r.onComplete||function(){},s=new i.window.XMLHttpRequest,l=r.body||r.parameters;return s.onreadystatechange=function(){4===s.readyState&&(a(s),s.onreadystatechange=e)},"GET"===o&&(l=null,"string"===typeof r.parameters&&(n=t(n,r.parameters))),s.open(o,n,!0),"POST"!==o&&"PUT"!==o||s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.send(l),s}i.util.request=n}(),i.log=console.log,i.warn=console.warn,function(){var t=i.util.object.extend,e=i.util.object.clone,n=[];function r(){return!1}function o(t,e,n,i){return-n*Math.cos(t/i*(Math.PI/2))+n+e}function a(n){n||(n={});var a,s=!1,l=function(){var t=i.runningAnimations.indexOf(a);return t>-1&&i.runningAnimations.splice(t,1)[0]};return a=t(e(n),{cancel:function(){return s=!0,l()},currentValue:"startValue"in n?n.startValue:0,completionRate:0,durationRate:0}),i.runningAnimations.push(a),u((function(t){var e,i=t||+new Date,c=n.duration||500,h=i+c,f=n.onChange||r,d=n.abort||r,p=n.onComplete||r,g=n.easing||o,v="startValue"in n&&n.startValue.length>0,m="startValue"in n?n.startValue:0,y="endValue"in n?n.endValue:100,b=n.byValue||(v?m.map((function(t,e){return y[e]-m[e]})):y-m);n.onStart&&n.onStart(),function t(n){e=n||+new Date;var r=e>h?c:e-i,o=r/c,_=v?m.map((function(t,e){return g(r,m[e],b[e],c)})):g(r,m,b,c),x=v?Math.abs((_[0]-m[0])/b[0]):Math.abs((_-m)/b);if(a.currentValue=v?_.slice():_,a.completionRate=x,a.durationRate=o,!s){if(!d(_,x,o))return e>h?(a.currentValue=v?y.slice():y,a.completionRate=1,a.durationRate=1,f(v?y.slice():y,1,1),p(y,1,1),void l()):(f(_,x,o),void u(t));l()}}(i)})),a.cancel}i.util.object.extend(n,{cancelAll:function(){var t=this.splice(0);return t.forEach((function(t){t.cancel()})),t},cancelByCanvas:function(t){if(!t)return[];var e=this.filter((function(e){return"object"===typeof e.target&&e.target.canvas===t}));return e.forEach((function(t){t.cancel()})),e},cancelByTarget:function(t){var e=this.findAnimationsByTarget(t);return e.forEach((function(t){t.cancel()})),e},findAnimationIndex:function(t){return this.indexOf(this.findAnimation(t))},findAnimation:function(t){return this.find((function(e){return e.cancel===t}))},findAnimationsByTarget:function(t){return t?this.filter((function(e){return e.target===t})):[]}});var s=i.window.requestAnimationFrame||i.window.webkitRequestAnimationFrame||i.window.mozRequestAnimationFrame||i.window.oRequestAnimationFrame||i.window.msRequestAnimationFrame||function(t){return i.window.setTimeout(t,1e3/60)},l=i.window.cancelAnimationFrame||i.window.clearTimeout;function u(){return s.apply(i.window,arguments)}function c(){return l.apply(i.window,arguments)}i.util.animate=a,i.util.requestAnimFrame=u,i.util.cancelAnimFrame=c,i.runningAnimations=n}(),function(){function t(t,e,n){var i="rgba("+parseInt(t[0]+n*(e[0]-t[0]),10)+","+parseInt(t[1]+n*(e[1]-t[1]),10)+","+parseInt(t[2]+n*(e[2]-t[2]),10);return i+=","+(t&&e?parseFloat(t[3]+n*(e[3]-t[3])):1),i+=")",i}function e(e,n,r,o){var a=new i.Color(e).getSource(),s=new i.Color(n).getSource(),l=o.onComplete,u=o.onChange;return o=o||{},i.util.animate(i.util.object.extend(o,{duration:r||500,startValue:a,endValue:s,byValue:s,easing:function(e,n,i,r){var a=o.colorEasing?o.colorEasing(e,r):1-Math.cos(e/r*(Math.PI/2));return t(n,i,a)},onComplete:function(e,n,i){if(l)return l(t(s,s,0),n,i)},onChange:function(e,n,i){if(u){if(Array.isArray(e))return u(t(e,e,0),n,i);u(e,n,i)}}}))}i.util.animateColor=e}(),function(){function t(t,e,n,i){return t<Math.abs(e)?(t=e,i=n/4):i=0===e&&0===t?n/(2*Math.PI)*Math.asin(1):n/(2*Math.PI)*Math.asin(e/t),{a:t,c:e,p:n,s:i}}function e(t,e,n){return t.a*Math.pow(2,10*(e-=1))*Math.sin((e*n-t.s)*(2*Math.PI)/t.p)}function n(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}function r(t,e,n,i){return t/=i/2,t<1?n/2*t*t*t+e:n/2*((t-=2)*t*t+2)+e}function o(t,e,n,i){return n*(t/=i)*t*t*t+e}function a(t,e,n,i){return-n*((t=t/i-1)*t*t*t-1)+e}function s(t,e,n,i){return t/=i/2,t<1?n/2*t*t*t*t+e:-n/2*((t-=2)*t*t*t-2)+e}function l(t,e,n,i){return n*(t/=i)*t*t*t*t+e}function u(t,e,n,i){return n*((t=t/i-1)*t*t*t*t+1)+e}function c(t,e,n,i){return t/=i/2,t<1?n/2*t*t*t*t*t+e:n/2*((t-=2)*t*t*t*t+2)+e}function h(t,e,n,i){return-n*Math.cos(t/i*(Math.PI/2))+n+e}function f(t,e,n,i){return n*Math.sin(t/i*(Math.PI/2))+e}function d(t,e,n,i){return-n/2*(Math.cos(Math.PI*t/i)-1)+e}function p(t,e,n,i){return 0===t?e:n*Math.pow(2,10*(t/i-1))+e}function g(t,e,n,i){return t===i?e+n:n*(1-Math.pow(2,-10*t/i))+e}function v(t,e,n,i){return 0===t?e:t===i?e+n:(t/=i/2,t<1?n/2*Math.pow(2,10*(t-1))+e:n/2*(2-Math.pow(2,-10*--t))+e)}function m(t,e,n,i){return-n*(Math.sqrt(1-(t/=i)*t)-1)+e}function y(t,e,n,i){return n*Math.sqrt(1-(t=t/i-1)*t)+e}function b(t,e,n,i){return t/=i/2,t<1?-n/2*(Math.sqrt(1-t*t)-1)+e:n/2*(Math.sqrt(1-(t-=2)*t)+1)+e}function _(n,i,r,o){var a=1.70158,s=0,l=r;if(0===n)return i;if(n/=o,1===n)return i+r;s||(s=.3*o);var u=t(l,r,s,a);return-e(u,n,o)+i}function x(e,n,i,r){var o=1.70158,a=0,s=i;if(0===e)return n;if(e/=r,1===e)return n+i;a||(a=.3*r);var l=t(s,i,a,o);return l.a*Math.pow(2,-10*e)*Math.sin((e*r-l.s)*(2*Math.PI)/l.p)+l.c+n}function w(n,i,r,o){var a=1.70158,s=0,l=r;if(0===n)return i;if(n/=o/2,2===n)return i+r;s||(s=o*(.3*1.5));var u=t(l,r,s,a);return n<1?-.5*e(u,n,o)+i:u.a*Math.pow(2,-10*(n-=1))*Math.sin((n*o-u.s)*(2*Math.PI)/u.p)*.5+u.c+i}function S(t,e,n,i,r){return void 0===r&&(r=1.70158),n*(t/=i)*t*((r+1)*t-r)+e}function C(t,e,n,i,r){return void 0===r&&(r=1.70158),n*((t=t/i-1)*t*((r+1)*t+r)+1)+e}function T(t,e,n,i,r){return void 0===r&&(r=1.70158),t/=i/2,t<1?n/2*(t*t*((1+(r*=1.525))*t-r))+e:n/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+e}function A(t,e,n,i){return n-O(i-t,0,n,i)+e}function O(t,e,n,i){return(t/=i)<1/2.75?n*(7.5625*t*t)+e:t<2/2.75?n*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?n*(7.5625*(t-=2.25/2.75)*t+.9375)+e:n*(7.5625*(t-=2.625/2.75)*t+.984375)+e}function M(t,e,n,i){return t<i/2?.5*A(2*t,0,n,i)+e:.5*O(2*t-i,0,n,i)+.5*n+e}i.util.ease={easeInQuad:function(t,e,n,i){return n*(t/=i)*t+e},easeOutQuad:function(t,e,n,i){return-n*(t/=i)*(t-2)+e},easeInOutQuad:function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,n,i){return n*(t/=i)*t*t+e},easeOutCubic:n,easeInOutCubic:r,easeInQuart:o,easeOutQuart:a,easeInOutQuart:s,easeInQuint:l,easeOutQuint:u,easeInOutQuint:c,easeInSine:h,easeOutSine:f,easeInOutSine:d,easeInExpo:p,easeOutExpo:g,easeInOutExpo:v,easeInCirc:m,easeOutCirc:y,easeInOutCirc:b,easeInElastic:_,easeOutElastic:x,easeInOutElastic:w,easeInBack:S,easeOutBack:C,easeInOutBack:T,easeInBounce:A,easeOutBounce:O,easeInOutBounce:M}}(),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend,i=e.util.object.clone,r=e.util.toFixed,o=e.util.parseUnit,a=e.util.multiplyTransformMatrices,s=["path","circle","polygon","polyline","ellipse","rect","line","image","text"],l=["symbol","image","marker","pattern","view","svg"],u=["pattern","defs","symbol","metadata","clipPath","mask","desc"],c=["symbol","g","a","svg","clipPath","defs"],h={cx:"left",x:"left",r:"radius",cy:"top",y:"top",display:"visible",visibility:"visible",transform:"transformMatrix","fill-opacity":"fillOpacity","fill-rule":"fillRule","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","letter-spacing":"charSpacing","paint-order":"paintFirst","stroke-dasharray":"strokeDashArray","stroke-dashoffset":"strokeDashOffset","stroke-linecap":"strokeLineCap","stroke-linejoin":"strokeLineJoin","stroke-miterlimit":"strokeMiterLimit","stroke-opacity":"strokeOpacity","stroke-width":"strokeWidth","text-decoration":"textDecoration","text-anchor":"textAnchor",opacity:"opacity","clip-path":"clipPath","clip-rule":"clipRule","vector-effect":"strokeUniform","image-rendering":"imageSmoothing"},f={stroke:"strokeOpacity",fill:"fillOpacity"},d="font-size",p="clip-path";function g(t){return t in h?h[t]:t}function v(t,n,i,r){var s,l=Array.isArray(n);if("fill"!==t&&"stroke"!==t||"none"!==n){if("strokeUniform"===t)return"non-scaling-stroke"===n;if("strokeDashArray"===t)n="none"===n?null:n.replace(/,/g," ").split(/\s+/).map(parseFloat);else if("transformMatrix"===t)n=i&&i.transformMatrix?a(i.transformMatrix,e.parseTransformAttribute(n)):e.parseTransformAttribute(n);else if("visible"===t)n="none"!==n&&"hidden"!==n,i&&!1===i.visible&&(n=!1);else if("opacity"===t)n=parseFloat(n),i&&"undefined"!==typeof i.opacity&&(n*=i.opacity);else if("textAnchor"===t)n="start"===n?"left":"end"===n?"right":"center";else if("charSpacing"===t)s=o(n,r)/r*1e3;else if("paintFirst"===t){var u=n.indexOf("fill"),c=n.indexOf("stroke");n="fill";(u>-1&&c>-1&&c<u||-1===u&&c>-1)&&(n="stroke")}else{if("href"===t||"xlink:href"===t||"font"===t)return n;if("imageSmoothing"===t)return"optimizeQuality"===n;s=l?n.map(o):o(n,r)}}else n="";return!l&&isNaN(s)?n:s}function m(t){return new RegExp("^("+t.join("|")+")\\b","i")}function y(t){for(var n in f)if("undefined"!==typeof t[f[n]]&&""!==t[n]){if("undefined"===typeof t[n]){if(!e.Object.prototype[n])continue;t[n]=e.Object.prototype[n]}if(0!==t[n].indexOf("url(")){var i=new e.Color(t[n]);t[n]=i.setAlpha(r(i.getAlpha()*t[f[n]],2)).toRgba()}}return t}function b(t,e){var n,i,r,o,a=[];for(r=0,o=e.length;r<o;r++)n=e[r],i=t.getElementsByTagName(n),a=a.concat(Array.prototype.slice.call(i));return a}function _(t,e){var n,i;t.replace(/;\s*$/,"").split(";").forEach((function(t){var r=t.split(":");n=r[0].trim().toLowerCase(),i=r[1].trim(),e[n]=i}))}function x(t,e){var n,i;for(var r in t)"undefined"!==typeof t[r]&&(n=r.toLowerCase(),i=t[r],e[n]=i)}function w(t,n){var i={};for(var r in e.cssRules[n])if(S(t,r.split(" ")))for(var o in e.cssRules[n][r])i[o]=e.cssRules[n][r][o];return i}function S(t,e){var n,i=!0;return n=T(t,e.pop()),n&&e.length&&(i=C(t,e)),n&&i&&0===e.length}function C(t,e){var n,i=!0;while(t.parentNode&&1===t.parentNode.nodeType&&e.length)i&&(n=e.pop()),t=t.parentNode,i=T(t,n);return 0===e.length}function T(t,e){var n,i,r=t.nodeName,o=t.getAttribute("class"),a=t.getAttribute("id");if(n=new RegExp("^"+r,"i"),e=e.replace(n,""),a&&e.length&&(n=new RegExp("#"+a+"(?![a-zA-Z\\-]+)","i"),e=e.replace(n,"")),o&&e.length)for(o=o.split(" "),i=o.length;i--;)n=new RegExp("\\."+o[i]+"(?![a-zA-Z\\-]+)","i"),e=e.replace(n,"");return 0===e.length}function A(t,e){var n;if(t.getElementById&&(n=t.getElementById(e)),n)return n;var i,r,o,a=t.getElementsByTagName("*");for(r=0,o=a.length;r<o;r++)if(i=a[r],e===i.getAttribute("id"))return i}function O(t){var n=b(t,["use","svg:use"]),i=0;while(n.length&&i<n.length){var r=n[i],o=r.getAttribute("xlink:href")||r.getAttribute("href");if(null===o)return;var a,s,l,u,c,h=o.slice(1),f=r.getAttribute("x")||0,d=r.getAttribute("y")||0,p=A(t,h).cloneNode(!0),g=(p.getAttribute("transform")||"")+" translate("+f+", "+d+")",v=n.length,m=e.svgNS;if(k(p),/^svg$/i.test(p.nodeName)){var y=p.ownerDocument.createElementNS(m,"g");for(l=0,u=p.attributes,c=u.length;l<c;l++)s=u.item(l),y.setAttributeNS(m,s.nodeName,s.nodeValue);while(p.firstChild)y.appendChild(p.firstChild);p=y}for(l=0,u=r.attributes,c=u.length;l<c;l++)s=u.item(l),"x"!==s.nodeName&&"y"!==s.nodeName&&"xlink:href"!==s.nodeName&&"href"!==s.nodeName&&("transform"===s.nodeName?g=s.nodeValue+" "+g:p.setAttribute(s.nodeName,s.nodeValue));p.setAttribute("transform",g),p.setAttribute("instantiated_by_use","1"),p.removeAttribute("id"),a=r.parentNode,a.replaceChild(p,r),n.length===v&&i++}}e.svgValidTagNamesRegEx=m(s),e.svgViewBoxElementsRegEx=m(l),e.svgInvalidAncestorsRegEx=m(u),e.svgValidParentsRegEx=m(c),e.cssRules={},e.gradientDefs={},e.clipPaths={},e.parseTransformAttribute=function(){function t(t,n){var i=e.util.cos(n[0]),r=e.util.sin(n[0]),o=0,a=0;3===n.length&&(o=n[1],a=n[2]),t[0]=i,t[1]=r,t[2]=-r,t[3]=i,t[4]=o-(i*o-r*a),t[5]=a-(r*o+i*a)}function n(t,e){var n=e[0],i=2===e.length?e[1]:e[0];t[0]=n,t[3]=i}function i(t,n,i){t[i]=Math.tan(e.util.degreesToRadians(n[0]))}function r(t,e){t[4]=e[0],2===e.length&&(t[5]=e[1])}var o=e.iMatrix,a=e.reNum,s=e.commaWsp,l="(?:(skewX)\\s*\\(\\s*("+a+")\\s*\\))",u="(?:(skewY)\\s*\\(\\s*("+a+")\\s*\\))",c="(?:(rotate)\\s*\\(\\s*("+a+")(?:"+s+"("+a+")"+s+"("+a+"))?\\s*\\))",h="(?:(scale)\\s*\\(\\s*("+a+")(?:"+s+"("+a+"))?\\s*\\))",f="(?:(translate)\\s*\\(\\s*("+a+")(?:"+s+"("+a+"))?\\s*\\))",d="(?:(matrix)\\s*\\(\\s*("+a+")"+s+"("+a+")"+s+"("+a+")"+s+"("+a+")"+s+"("+a+")"+s+"("+a+")\\s*\\))",p="(?:"+d+"|"+f+"|"+h+"|"+c+"|"+l+"|"+u+")",g="(?:"+p+"(?:"+s+"*"+p+")*)",v="^\\s*(?:"+g+"?)\\s*$",m=new RegExp(v),y=new RegExp(p,"g");return function(a){var s=o.concat(),l=[];if(!a||a&&!m.test(a))return s;a.replace(y,(function(a){var u=new RegExp(p).exec(a).filter((function(t){return!!t})),c=u[1],h=u.slice(2).map(parseFloat);switch(c){case"translate":r(s,h);break;case"rotate":h[0]=e.util.degreesToRadians(h[0]),t(s,h);break;case"scale":n(s,h);break;case"skewX":i(s,h,2);break;case"skewY":i(s,h,1);break;case"matrix":s=h;break}l.push(s.concat()),s=o.concat()}));var u=l[0];while(l.length>1)l.shift(),u=e.util.multiplyTransformMatrices(u,l[0]);return u}}();var M=new RegExp("^\\s*("+e.reNum+"+)\\s*,?\\s*("+e.reNum+"+)\\s*,?\\s*("+e.reNum+"+)\\s*,?\\s*("+e.reNum+"+)\\s*$");function k(t){if(!e.svgViewBoxElementsRegEx.test(t.nodeName))return{};var n,i,r,a,s=t.getAttribute("viewBox"),l=1,u=1,c=0,h=0,f=t.getAttribute("width"),d=t.getAttribute("height"),p=t.getAttribute("x")||0,g=t.getAttribute("y")||0,v=t.getAttribute("preserveAspectRatio")||"",m=!s||!(s=s.match(M)),y=!f||!d||"100%"===f||"100%"===d,b=m&&y,_={},x="",w=0,S=0;if(_.width=0,_.height=0,_.toBeParsed=b,m&&(p||g)&&t.parentNode&&"#document"!==t.parentNode.nodeName&&(x=" translate("+o(p)+" "+o(g)+") ",r=(t.getAttribute("transform")||"")+x,t.setAttribute("transform",r),t.removeAttribute("x"),t.removeAttribute("y")),b)return _;if(m)return _.width=o(f),_.height=o(d),_;if(c=-parseFloat(s[1]),h=-parseFloat(s[2]),n=parseFloat(s[3]),i=parseFloat(s[4]),_.minX=c,_.minY=h,_.viewBoxWidth=n,_.viewBoxHeight=i,y?(_.width=n,_.height=i):(_.width=o(f),_.height=o(d),l=_.width/n,u=_.height/i),v=e.util.parsePreserveAspectRatioAttribute(v),"none"!==v.alignX&&("meet"===v.meetOrSlice&&(u=l=l>u?u:l),"slice"===v.meetOrSlice&&(u=l=l>u?l:u),w=_.width-n*l,S=_.height-i*l,"Mid"===v.alignX&&(w/=2),"Mid"===v.alignY&&(S/=2),"Min"===v.alignX&&(w=0),"Min"===v.alignY&&(S=0)),1===l&&1===u&&0===c&&0===h&&0===p&&0===g)return _;if((p||g)&&"#document"!==t.parentNode.nodeName&&(x=" translate("+o(p)+" "+o(g)+") "),r=x+" matrix("+l+" 0 0 "+u+" "+(c*l+w)+" "+(h*u+S)+") ","svg"===t.nodeName){a=t.ownerDocument.createElementNS(e.svgNS,"g");while(t.firstChild)a.appendChild(t.firstChild);t.appendChild(a)}else a=t,a.removeAttribute("x"),a.removeAttribute("y"),r=a.getAttribute("transform")+r;return a.setAttribute("transform",r),_}function I(t,e){while(t&&(t=t.parentNode))if(t.nodeName&&e.test(t.nodeName.replace("svg:",""))&&!t.getAttribute("instantiated_by_use"))return!0;return!1}function E(t,e){var n=["gradientTransform","x1","x2","y1","y2","gradientUnits","cx","cy","r","fx","fy"],i="xlink:href",r=e.getAttribute(i).slice(1),o=A(t,r);if(o&&o.getAttribute(i)&&E(t,o),n.forEach((function(t){o&&!e.hasAttribute(t)&&o.hasAttribute(t)&&e.setAttribute(t,o.getAttribute(t))})),!e.children.length){var a=o.cloneNode(!0);while(a.firstChild)e.appendChild(a.firstChild)}e.removeAttribute(i)}e.parseSVGDocument=function(t,n,r,o){if(t){O(t);var a,s,l=e.Object.__uid++,u=k(t),c=e.util.toArray(t.getElementsByTagName("*"));if(u.crossOrigin=o&&o.crossOrigin,u.svgUid=l,0===c.length&&e.isLikelyNode){c=t.selectNodes('//*[name(.)!="svg"]');var h=[];for(a=0,s=c.length;a<s;a++)h[a]=c[a];c=h}var f=c.filter((function(t){return k(t),e.svgValidTagNamesRegEx.test(t.nodeName.replace("svg:",""))&&!I(t,e.svgInvalidAncestorsRegEx)}));if(!f||f&&!f.length)n&&n([],{});else{var d={};c.filter((function(t){return"clipPath"===t.nodeName.replace("svg:","")})).forEach((function(t){var n=t.getAttribute("id");d[n]=e.util.toArray(t.getElementsByTagName("*")).filter((function(t){return e.svgValidTagNamesRegEx.test(t.nodeName.replace("svg:",""))}))})),e.gradientDefs[l]=e.getGradientDefs(t),e.cssRules[l]=e.getCSSRules(t),e.clipPaths[l]=d,e.parseElements(f,(function(t,i){n&&(n(t,u,i,c),delete e.gradientDefs[l],delete e.cssRules[l],delete e.clipPaths[l])}),i(u),r,o)}}};var P=new RegExp("(normal|italic)?\\s*(normal|small-caps)?\\s*(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)?\\s*("+e.reNum+"(?:px|cm|mm|em|pt|pc|in)*)(?:\\/(normal|"+e.reNum+"))?\\s+(.*)");n(e,{parseFontDeclaration:function(t,e){var n=t.match(P);if(n){var i=n[1],r=n[3],a=n[4],s=n[5],l=n[6];i&&(e.fontStyle=i),r&&(e.fontWeight=isNaN(parseFloat(r))?r:parseFloat(r)),a&&(e.fontSize=o(a)),l&&(e.fontFamily=l),s&&(e.lineHeight="normal"===s?1:s)}},getGradientDefs:function(t){var e,n=["linearGradient","radialGradient","svg:linearGradient","svg:radialGradient"],i=b(t,n),r=0,o={};r=i.length;while(r--)e=i[r],e.getAttribute("xlink:href")&&E(t,e),o[e.getAttribute("id")]=e;return o},parseAttributes:function(t,i,r){if(t){var a,s,l,u={};"undefined"===typeof r&&(r=t.getAttribute("svgUid")),t.parentNode&&e.svgValidParentsRegEx.test(t.parentNode.nodeName)&&(u=e.parseAttributes(t.parentNode,i,r));var c=i.reduce((function(e,n){return a=t.getAttribute(n),a&&(e[n]=a),e}),{}),h=n(w(t,r),e.parseStyleAttribute(t));c=n(c,h),h[p]&&t.setAttribute(p,h[p]),s=l=u.fontSize||e.Text.DEFAULT_SVG_FONT_SIZE,c[d]&&(c[d]=s=o(c[d],l));var f,m,b={};for(var _ in c)f=g(_),m=v(f,c[_],u,s),b[f]=m;b&&b.font&&e.parseFontDeclaration(b.font,b);var x=n(u,b);return e.svgValidParentsRegEx.test(t.nodeName)?x:y(x)}},parseElements:function(t,n,i,r,o){new e.ElementsParser(t,n,i,r,o).parse()},parseStyleAttribute:function(t){var e={},n=t.getAttribute("style");return n?("string"===typeof n?_(n,e):x(n,e),e):e},parsePointsAttribute:function(t){if(!t)return null;t=t.replace(/,/g," ").trim(),t=t.split(/\s+/);var e,n,i=[];for(e=0,n=t.length;e<n;e+=2)i.push({x:parseFloat(t[e]),y:parseFloat(t[e+1])});return i},getCSSRules:function(t){var n,i,r,o=t.getElementsByTagName("style"),a={};for(n=0,i=o.length;n<i;n++){var s=o[n].textContent;s=s.replace(/\/\*[\s\S]*?\*\//g,""),""!==s.trim()&&(r=s.split("}"),r=r.filter((function(t){return t.trim()})),r.forEach((function(t){var r=t.split("{"),o={},s=r[1].trim(),l=s.split(";").filter((function(t){return t.trim()}));for(n=0,i=l.length;n<i;n++){var u=l[n].split(":"),c=u[0].trim(),h=u[1].trim();o[c]=h}t=r[0].trim(),t.split(",").forEach((function(t){t=t.replace(/^svg/i,"").trim(),""!==t&&(a[t]?e.util.object.extend(a[t],o):a[t]=e.util.object.clone(o))}))})))}return a},loadSVGFromURL:function(t,n,i,r){function o(t){var o=t.responseXML;if(!o||!o.documentElement)return n&&n(null),!1;e.parseSVGDocument(o.documentElement,(function(t,e,i,r){n&&n(t,e,i,r)}),i,r)}t=t.replace(/^\n\s*/,"").trim(),new e.util.request(t,{method:"get",onComplete:o})},loadSVGFromString:function(t,n,i,r){var o=new e.window.DOMParser,a=o.parseFromString(t.trim(),"text/xml");e.parseSVGDocument(a.documentElement,(function(t,e,i,r){n(t,e,i,r)}),i,r)}})}(e),i.ElementsParser=function(t,e,n,i,r,o){this.elements=t,this.callback=e,this.options=n,this.reviver=i,this.svgUid=n&&n.svgUid||0,this.parsingOptions=r,this.regexUrl=/^url\(['"]?#([^'"]+)['"]?\)/g,this.doc=o},function(t){t.parse=function(){this.instances=new Array(this.elements.length),this.numElements=this.elements.length,this.createObjects()},t.createObjects=function(){var t=this;this.elements.forEach((function(e,n){e.setAttribute("svgUid",t.svgUid),t.createObject(e,n)}))},t.findTag=function(t){return i[i.util.string.capitalize(t.tagName.replace("svg:",""))]},t.createObject=function(t,e){var n=this.findTag(t);if(n&&n.fromElement)try{n.fromElement(t,this.createCallback(e,t),this.options)}catch(r){i.log(r)}else this.checkIfDone()},t.createCallback=function(t,e){var n=this;return function(r){var o;n.resolveGradient(r,e,"fill"),n.resolveGradient(r,e,"stroke"),r instanceof i.Image&&r._originalElement&&(o=r.parsePreserveAspectRatioAttribute(e)),r._removeTransformMatrix(o),n.resolveClipPath(r,e),n.reviver&&n.reviver(e,r),n.instances[t]=r,n.checkIfDone()}},t.extractPropertyDefinition=function(t,e,n){var r=t[e],o=this.regexUrl;if(o.test(r)){o.lastIndex=0;var a=o.exec(r)[1];return o.lastIndex=0,i[n][this.svgUid][a]}},t.resolveGradient=function(t,e,n){var r=this.extractPropertyDefinition(t,n,"gradientDefs");if(r){var o=e.getAttribute(n+"-opacity"),a=i.Gradient.fromElement(r,t,o,this.options);t.set(n,a)}},t.createClipPathCallback=function(t,e){return function(t){t._removeTransformMatrix(),t.fillRule=t.clipRule,e.push(t)}},t.resolveClipPath=function(t,e){var n,r,o,a,s,l=this.extractPropertyDefinition(t,"clipPath","clipPaths");if(l){a=[],o=i.util.invertTransform(t.calcTransformMatrix());var u=l[0].parentNode,c=e;while(c.parentNode&&c.getAttribute("clip-path")!==t.clipPath)c=c.parentNode;c.parentNode.appendChild(u);for(var h=0;h<l.length;h++)n=l[h],r=this.findTag(n),r.fromElement(n,this.createClipPathCallback(t,a),this.options);l=1===a.length?a[0]:new i.Group(a),s=i.util.multiplyTransformMatrices(o,l.calcTransformMatrix()),l.clipPath&&this.resolveClipPath(l,c);var f=i.util.qrDecompose(s);l.flipX=!1,l.flipY=!1,l.set("scaleX",f.scaleX),l.set("scaleY",f.scaleY),l.angle=f.angle,l.skewX=f.skewX,l.skewY=0,l.setPositionByOrigin({x:f.translateX,y:f.translateY},"center","center"),t.clipPath=l}else delete t.clipPath},t.checkIfDone=function(){0===--this.numElements&&(this.instances=this.instances.filter((function(t){return null!=t})),this.callback(this.instances,this.elements))}}(i.ElementsParser.prototype),function(t){"use strict";var e=t.fabric||(t.fabric={});function n(t,e){this.x=t,this.y=e}e.Point?e.warn("fabric.Point is already defined"):(e.Point=n,n.prototype={type:"point",constructor:n,add:function(t){return new n(this.x+t.x,this.y+t.y)},addEquals:function(t){return this.x+=t.x,this.y+=t.y,this},scalarAdd:function(t){return new n(this.x+t,this.y+t)},scalarAddEquals:function(t){return this.x+=t,this.y+=t,this},subtract:function(t){return new n(this.x-t.x,this.y-t.y)},subtractEquals:function(t){return this.x-=t.x,this.y-=t.y,this},scalarSubtract:function(t){return new n(this.x-t,this.y-t)},scalarSubtractEquals:function(t){return this.x-=t,this.y-=t,this},multiply:function(t){return new n(this.x*t,this.y*t)},multiplyEquals:function(t){return this.x*=t,this.y*=t,this},divide:function(t){return new n(this.x/t,this.y/t)},divideEquals:function(t){return this.x/=t,this.y/=t,this},eq:function(t){return this.x===t.x&&this.y===t.y},lt:function(t){return this.x<t.x&&this.y<t.y},lte:function(t){return this.x<=t.x&&this.y<=t.y},gt:function(t){return this.x>t.x&&this.y>t.y},gte:function(t){return this.x>=t.x&&this.y>=t.y},lerp:function(t,e){return"undefined"===typeof e&&(e=.5),e=Math.max(Math.min(1,e),0),new n(this.x+(t.x-this.x)*e,this.y+(t.y-this.y)*e)},distanceFrom:function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},midPointFrom:function(t){return this.lerp(t)},min:function(t){return new n(Math.min(this.x,t.x),Math.min(this.y,t.y))},max:function(t){return new n(Math.max(this.x,t.x),Math.max(this.y,t.y))},toString:function(){return this.x+","+this.y},setXY:function(t,e){return this.x=t,this.y=e,this},setX:function(t){return this.x=t,this},setY:function(t){return this.y=t,this},setFromPoint:function(t){return this.x=t.x,this.y=t.y,this},swap:function(t){var e=this.x,n=this.y;this.x=t.x,this.y=t.y,t.x=e,t.y=n},clone:function(){return new n(this.x,this.y)}})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={});function n(t){this.status=t,this.points=[]}e.Intersection?e.warn("fabric.Intersection is already defined"):(e.Intersection=n,e.Intersection.prototype={constructor:n,appendPoint:function(t){return this.points.push(t),this},appendPoints:function(t){return this.points=this.points.concat(t),this}},e.Intersection.intersectLineLine=function(t,i,r,o){var a,s=(o.x-r.x)*(t.y-r.y)-(o.y-r.y)*(t.x-r.x),l=(i.x-t.x)*(t.y-r.y)-(i.y-t.y)*(t.x-r.x),u=(o.y-r.y)*(i.x-t.x)-(o.x-r.x)*(i.y-t.y);if(0!==u){var c=s/u,h=l/u;0<=c&&c<=1&&0<=h&&h<=1?(a=new n("Intersection"),a.appendPoint(new e.Point(t.x+c*(i.x-t.x),t.y+c*(i.y-t.y)))):a=new n}else a=new n(0===s||0===l?"Coincident":"Parallel");return a},e.Intersection.intersectLinePolygon=function(t,e,i){var r,o,a,s,l=new n,u=i.length;for(s=0;s<u;s++)r=i[s],o=i[(s+1)%u],a=n.intersectLineLine(t,e,r,o),l.appendPoints(a.points);return l.points.length>0&&(l.status="Intersection"),l},e.Intersection.intersectPolygonPolygon=function(t,e){var i,r=new n,o=t.length;for(i=0;i<o;i++){var a=t[i],s=t[(i+1)%o],l=n.intersectLinePolygon(a,s,e);r.appendPoints(l.points)}return r.points.length>0&&(r.status="Intersection"),r},e.Intersection.intersectPolygonRectangle=function(t,i,r){var o=i.min(r),a=i.max(r),s=new e.Point(a.x,o.y),l=new e.Point(o.x,a.y),u=n.intersectLinePolygon(o,s,t),c=n.intersectLinePolygon(s,a,t),h=n.intersectLinePolygon(a,l,t),f=n.intersectLinePolygon(l,o,t),d=new n;return d.appendPoints(u.points),d.appendPoints(c.points),d.appendPoints(h.points),d.appendPoints(f.points),d.points.length>0&&(d.status="Intersection"),d})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={});function n(t){t?this._tryParsingColor(t):this.setSource([0,0,0,1])}function i(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}e.Color?e.warn("fabric.Color is already defined."):(e.Color=n,e.Color.prototype={_tryParsingColor:function(t){var e;t in n.colorNameMap&&(t=n.colorNameMap[t]),"transparent"===t&&(e=[255,255,255,0]),e||(e=n.sourceFromHex(t)),e||(e=n.sourceFromRgb(t)),e||(e=n.sourceFromHsl(t)),e||(e=[0,0,0,1]),e&&this.setSource(e)},_rgbToHsl:function(t,n,i){t/=255,n/=255,i/=255;var r,o,a,s=e.util.array.max([t,n,i]),l=e.util.array.min([t,n,i]);if(a=(s+l)/2,s===l)r=o=0;else{var u=s-l;switch(o=a>.5?u/(2-s-l):u/(s+l),s){case t:r=(n-i)/u+(n<i?6:0);break;case n:r=(i-t)/u+2;break;case i:r=(t-n)/u+4;break}r/=6}return[Math.round(360*r),Math.round(100*o),Math.round(100*a)]},getSource:function(){return this._source},setSource:function(t){this._source=t},toRgb:function(){var t=this.getSource();return"rgb("+t[0]+","+t[1]+","+t[2]+")"},toRgba:function(){var t=this.getSource();return"rgba("+t[0]+","+t[1]+","+t[2]+","+t[3]+")"},toHsl:function(){var t=this.getSource(),e=this._rgbToHsl(t[0],t[1],t[2]);return"hsl("+e[0]+","+e[1]+"%,"+e[2]+"%)"},toHsla:function(){var t=this.getSource(),e=this._rgbToHsl(t[0],t[1],t[2]);return"hsla("+e[0]+","+e[1]+"%,"+e[2]+"%,"+t[3]+")"},toHex:function(){var t,e,n,i=this.getSource();return t=i[0].toString(16),t=1===t.length?"0"+t:t,e=i[1].toString(16),e=1===e.length?"0"+e:e,n=i[2].toString(16),n=1===n.length?"0"+n:n,t.toUpperCase()+e.toUpperCase()+n.toUpperCase()},toHexa:function(){var t,e=this.getSource();return t=Math.round(255*e[3]),t=t.toString(16),t=1===t.length?"0"+t:t,this.toHex()+t.toUpperCase()},getAlpha:function(){return this.getSource()[3]},setAlpha:function(t){var e=this.getSource();return e[3]=t,this.setSource(e),this},toGrayscale:function(){var t=this.getSource(),e=parseInt((.3*t[0]+.59*t[1]+.11*t[2]).toFixed(0),10),n=t[3];return this.setSource([e,e,e,n]),this},toBlackWhite:function(t){var e=this.getSource(),n=(.3*e[0]+.59*e[1]+.11*e[2]).toFixed(0),i=e[3];return t=t||127,n=Number(n)<Number(t)?0:255,this.setSource([n,n,n,i]),this},overlayWith:function(t){t instanceof n||(t=new n(t));var e,i=[],r=this.getAlpha(),o=.5,a=this.getSource(),s=t.getSource();for(e=0;e<3;e++)i.push(Math.round(a[e]*(1-o)+s[e]*o));return i[3]=r,this.setSource(i),this}},e.Color.reRGBa=/^rgba?\(\s*(\d{1,3}(?:\.\d+)?\%?)\s*,\s*(\d{1,3}(?:\.\d+)?\%?)\s*,\s*(\d{1,3}(?:\.\d+)?\%?)\s*(?:\s*,\s*((?:\d*\.?\d+)?)\s*)?\)$/i,e.Color.reHSLa=/^hsla?\(\s*(\d{1,3})\s*,\s*(\d{1,3}\%)\s*,\s*(\d{1,3}\%)\s*(?:\s*,\s*(\d+(?:\.\d+)?)\s*)?\)$/i,e.Color.reHex=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,e.Color.colorNameMap={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"},e.Color.fromRgb=function(t){return n.fromSource(n.sourceFromRgb(t))},e.Color.sourceFromRgb=function(t){var e=t.match(n.reRGBa);if(e){var i=parseInt(e[1],10)/(/%$/.test(e[1])?100:1)*(/%$/.test(e[1])?255:1),r=parseInt(e[2],10)/(/%$/.test(e[2])?100:1)*(/%$/.test(e[2])?255:1),o=parseInt(e[3],10)/(/%$/.test(e[3])?100:1)*(/%$/.test(e[3])?255:1);return[parseInt(i,10),parseInt(r,10),parseInt(o,10),e[4]?parseFloat(e[4]):1]}},e.Color.fromRgba=n.fromRgb,e.Color.fromHsl=function(t){return n.fromSource(n.sourceFromHsl(t))},e.Color.sourceFromHsl=function(t){var e=t.match(n.reHSLa);if(e){var r,o,a,s=(parseFloat(e[1])%360+360)%360/360,l=parseFloat(e[2])/(/%$/.test(e[2])?100:1),u=parseFloat(e[3])/(/%$/.test(e[3])?100:1);if(0===l)r=o=a=u;else{var c=u<=.5?u*(l+1):u+l-u*l,h=2*u-c;r=i(h,c,s+1/3),o=i(h,c,s),a=i(h,c,s-1/3)}return[Math.round(255*r),Math.round(255*o),Math.round(255*a),e[4]?parseFloat(e[4]):1]}},e.Color.fromHsla=n.fromHsl,e.Color.fromHex=function(t){return n.fromSource(n.sourceFromHex(t))},e.Color.sourceFromHex=function(t){if(t.match(n.reHex)){var e=t.slice(t.indexOf("#")+1),i=3===e.length||4===e.length,r=8===e.length||4===e.length,o=i?e.charAt(0)+e.charAt(0):e.substring(0,2),a=i?e.charAt(1)+e.charAt(1):e.substring(2,4),s=i?e.charAt(2)+e.charAt(2):e.substring(4,6),l=r?i?e.charAt(3)+e.charAt(3):e.substring(6,8):"FF";return[parseInt(o,16),parseInt(a,16),parseInt(s,16),parseFloat((parseInt(l,16)/255).toFixed(2))]}},e.Color.fromSource=function(t){var e=new n;return e.setSource(t),e})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=["e","se","s","sw","w","nw","n","ne","e"],i=["ns","nesw","ew","nwse"],r={},o="left",a="top",s="right",l="bottom",u="center",c={top:l,bottom:a,left:s,right:o,center:u},h=e.util.radiansToDegrees,f=Math.sign||function(t){return(t>0)-(t<0)||+t};function d(t,e){var n=t.angle+h(Math.atan2(e.y,e.x))+360;return Math.round(n%360/45)}function p(t,n){var i=n.transform.target,r=i.canvas,o=e.util.object.clone(n);o.target=i,r&&r.fire("object:"+t,o),i.fire(t,n)}function g(t,e){var n=e.canvas,i=n.uniScaleKey,r=t[i];return n.uniformScaling&&!r||!n.uniformScaling&&r}function v(t){return t.originX===u&&t.originY===u}function m(t,e,n){var i=t.lockScalingX,r=t.lockScalingY;return!(!i||!r)||(!(e||!i&&!r||!n)||(!(!i||"x"!==e)||!(!r||"y"!==e)))}function y(t,e,i){var r="not-allowed",o=g(t,i),a="";if(0!==e.x&&0===e.y?a="x":0===e.x&&0!==e.y&&(a="y"),m(i,a,o))return r;var s=d(i,e);return n[s]+"-resize"}function b(t,e,n){var r="not-allowed";if(0!==e.x&&n.lockSkewingY)return r;if(0!==e.y&&n.lockSkewingX)return r;var o=d(n,e)%4;return i[o]+"-resize"}function _(t,e,n){return t[n.canvas.altActionKey]?r.skewCursorStyleHandler(t,e,n):r.scaleCursorStyleHandler(t,e,n)}function x(t,e,n){var i=t[n.canvas.altActionKey];return 0===e.x?i?"skewX":"scaleY":0===e.y?i?"skewY":"scaleX":void 0}function w(t,e,n){return n.lockRotation?"not-allowed":e.cursorStyle}function S(t,e,n,i){return{e:t,transform:e,pointer:{x:n,y:i}}}function C(t){return function(e,n,i,r){var o=n.target,a=o.getCenterPoint(),s=o.translateToOriginPoint(a,n.originX,n.originY),l=t(e,n,i,r);return o.setPositionByOrigin(s,n.originX,n.originY),l}}function T(t,e){return function(n,i,r,o){var a=e(n,i,r,o);return a&&p(t,S(n,i,r,o)),a}}function A(t,n,i,r,o){var a=t.target,s=a.controls[t.corner],l=a.canvas.getZoom(),u=a.padding/l,c=a.toLocalPoint(new e.Point(r,o),n,i);return c.x>=u&&(c.x-=u),c.x<=-u&&(c.x+=u),c.y>=u&&(c.y-=u),c.y<=u&&(c.y+=u),c.x-=s.offsetX,c.y-=s.offsetY,c}function O(t){return t.flipX!==t.flipY}function M(t,e,n,i,r){if(0!==t[e]){var o=t._getTransformedDimensions()[i],a=r/o*t[n];t.set(n,a)}}function k(t,e,n,i){var r,u=e.target,c=u._getTransformedDimensions(0,u.skewY),f=A(e,e.originX,e.originY,n,i),d=Math.abs(2*f.x)-c.x,p=u.skewX;d<2?r=0:(r=h(Math.atan2(d/u.scaleX,c.y/u.scaleY)),e.originX===o&&e.originY===l&&(r=-r),e.originX===s&&e.originY===a&&(r=-r),O(u)&&(r=-r));var g=p!==r;if(g){var v=u._getTransformedDimensions().y;u.set("skewX",r),M(u,"skewY","scaleY","y",v)}return g}function I(t,e,n,i){var r,u=e.target,c=u._getTransformedDimensions(u.skewX,0),f=A(e,e.originX,e.originY,n,i),d=Math.abs(2*f.y)-c.y,p=u.skewY;d<2?r=0:(r=h(Math.atan2(d/u.scaleY,c.x/u.scaleX)),e.originX===o&&e.originY===l&&(r=-r),e.originX===s&&e.originY===a&&(r=-r),O(u)&&(r=-r));var g=p!==r;if(g){var v=u._getTransformedDimensions().x;u.set("skewY",r),M(u,"skewX","scaleX","x",v)}return g}function E(t,e,n,i){var r,l=e.target,c=l.skewX,h=e.originY;if(l.lockSkewingX)return!1;if(0===c){var f=A(e,u,u,n,i);r=f.x>0?o:s}else c>0&&(r=h===a?o:s),c<0&&(r=h===a?s:o),O(l)&&(r=r===o?s:o);e.originX=r;var d=T("skewing",C(k));return d(t,e,n,i)}function P(t,e,n,i){var r,s=e.target,c=s.skewY,h=e.originX;if(s.lockSkewingY)return!1;if(0===c){var f=A(e,u,u,n,i);r=f.y>0?a:l}else c>0&&(r=h===o?a:l),c<0&&(r=h===o?l:a),O(s)&&(r=r===a?l:a);e.originY=r;var d=T("skewing",C(I));return d(t,e,n,i)}function D(t,e,n,i){var r=e,o=r.target,a=o.translateToOriginPoint(o.getCenterPoint(),r.originX,r.originY);if(o.lockRotation)return!1;var s=Math.atan2(r.ey-a.y,r.ex-a.x),l=Math.atan2(i-a.y,n-a.x),u=h(l-s+r.theta),c=!0;if(o.snapAngle>0){var f=o.snapAngle,d=o.snapThreshold||f,p=Math.ceil(u/f)*f,g=Math.floor(u/f)*f;Math.abs(u-g)<d?u=g:Math.abs(u-p)<d&&(u=p)}return u<0&&(u=360+u),u%=360,c=o.angle!==u,o.angle=u,c}function L(t,e,n,i,r){r=r||{};var o,a,s,l,u,h,d=e.target,p=d.lockScalingX,y=d.lockScalingY,b=r.by,_=g(t,d),x=m(d,b,_),w=e.gestureScale;if(x)return!1;if(w)a=e.scaleX*w,s=e.scaleY*w;else{if(o=A(e,e.originX,e.originY,n,i),u="y"!==b?f(o.x):1,h="x"!==b?f(o.y):1,e.signX||(e.signX=u),e.signY||(e.signY=h),d.lockScalingFlip&&(e.signX!==u||e.signY!==h))return!1;if(l=d._getTransformedDimensions(),_&&!b){var S=Math.abs(o.x)+Math.abs(o.y),C=e.original,T=Math.abs(l.x*C.scaleX/d.scaleX)+Math.abs(l.y*C.scaleY/d.scaleY),O=S/T;a=C.scaleX*O,s=C.scaleY*O}else a=Math.abs(o.x*d.scaleX/l.x),s=Math.abs(o.y*d.scaleY/l.y);v(e)&&(a*=2,s*=2),e.signX!==u&&"y"!==b&&(e.originX=c[e.originX],a*=-1,e.signX=u),e.signY!==h&&"x"!==b&&(e.originY=c[e.originY],s*=-1,e.signY=h)}var M=d.scaleX,k=d.scaleY;return b?("x"===b&&d.set("scaleX",a),"y"===b&&d.set("scaleY",s)):(!p&&d.set("scaleX",a),!y&&d.set("scaleY",s)),M!==d.scaleX||k!==d.scaleY}function R(t,e,n,i){return L(t,e,n,i)}function N(t,e,n,i){return L(t,e,n,i,{by:"x"})}function j(t,e,n,i){return L(t,e,n,i,{by:"y"})}function B(t,e,n,i){return t[e.target.canvas.altActionKey]?r.skewHandlerX(t,e,n,i):r.scalingY(t,e,n,i)}function F(t,e,n,i){return t[e.target.canvas.altActionKey]?r.skewHandlerY(t,e,n,i):r.scalingX(t,e,n,i)}function z(t,e,n,i){var r=e.target,o=A(e,e.originX,e.originY,n,i),a=r.strokeWidth/(r.strokeUniform?r.scaleX:1),s=v(e)?2:1,l=r.width,u=Math.abs(o.x*s/r.scaleX)-a;return r.set("width",Math.max(u,0)),l!==u}function V(t,e,n,i){var r=e.target,o=n-e.offsetX,a=i-e.offsetY,s=!r.get("lockMovementX")&&r.left!==o,l=!r.get("lockMovementY")&&r.top!==a;return s&&r.set("left",o),l&&r.set("top",a),(s||l)&&p("moving",S(t,e,n,i)),s||l}r.scaleCursorStyleHandler=y,r.skewCursorStyleHandler=b,r.scaleSkewCursorStyleHandler=_,r.rotationWithSnapping=T("rotating",C(D)),r.scalingEqually=T("scaling",C(R)),r.scalingX=T("scaling",C(N)),r.scalingY=T("scaling",C(j)),r.scalingYOrSkewingX=B,r.scalingXOrSkewingY=F,r.changeWidth=T("resizing",C(z)),r.skewHandlerX=E,r.skewHandlerY=P,r.dragHandler=V,r.scaleOrSkewActionName=x,r.rotationStyleHandler=w,r.fireEvent=p,r.wrapWithFixedAnchor=C,r.wrapWithFireEvent=T,r.getLocalPoint=A,e.controlsUtils=r}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.degreesToRadians,i=e.controlsUtils;function r(t,e,n,i,r){i=i||{};var o,a=this.sizeX||i.cornerSize||r.cornerSize,s=this.sizeY||i.cornerSize||r.cornerSize,l="undefined"!==typeof i.transparentCorners?i.transparentCorners:r.transparentCorners,u=l?"stroke":"fill",c=!l&&(i.cornerStrokeColor||r.cornerStrokeColor),h=e,f=n;t.save(),t.fillStyle=i.cornerColor||r.cornerColor,t.strokeStyle=i.cornerStrokeColor||r.cornerStrokeColor,a>s?(o=a,t.scale(1,s/a),f=n*a/s):s>a?(o=s,t.scale(a/s,1),h=e*s/a):o=a,t.lineWidth=1,t.beginPath(),t.arc(h,f,o/2,0,2*Math.PI,!1),t[u](),c&&t.stroke(),t.restore()}function o(t,e,i,r,o){r=r||{};var a=this.sizeX||r.cornerSize||o.cornerSize,s=this.sizeY||r.cornerSize||o.cornerSize,l="undefined"!==typeof r.transparentCorners?r.transparentCorners:o.transparentCorners,u=l?"stroke":"fill",c=!l&&(r.cornerStrokeColor||o.cornerStrokeColor),h=a/2,f=s/2;t.save(),t.fillStyle=r.cornerColor||o.cornerColor,t.strokeStyle=r.cornerStrokeColor||o.cornerStrokeColor,t.lineWidth=1,t.translate(e,i),t.rotate(n(o.angle)),t[u+"Rect"](-h,-f,a,s),c&&t.strokeRect(-h,-f,a,s),t.restore()}i.renderCircleControl=r,i.renderSquareControl=o}(e),function(t){"use strict";var e=t.fabric||(t.fabric={});function n(t){for(var e in t)this[e]=t[e]}e.Control=n,e.Control.prototype={visible:!0,actionName:"scale",angle:0,x:0,y:0,offsetX:0,offsetY:0,sizeX:null,sizeY:null,touchSizeX:null,touchSizeY:null,cursorStyle:"crosshair",withConnection:!1,actionHandler:function(){},mouseDownHandler:function(){},mouseUpHandler:function(){},getActionHandler:function(){return this.actionHandler},getMouseDownHandler:function(){return this.mouseDownHandler},getMouseUpHandler:function(){return this.mouseUpHandler},cursorStyleHandler:function(t,e){return e.cursorStyle},getActionName:function(t,e){return e.actionName},getVisibility:function(t,e){var n=t._controlsVisibility;return n&&"undefined"!==typeof n[e]?n[e]:this.visible},setVisibility:function(t){this.visible=t},positionHandler:function(t,n){var i=e.util.transformPoint({x:this.x*t.x+this.offsetX,y:this.y*t.y+this.offsetY},n);return i},calcCornerCoords:function(t,n,i,r,o){var a,s,l,u,c=o?this.touchSizeX:this.sizeX,h=o?this.touchSizeY:this.sizeY;if(c&&h&&c!==h){var f=Math.atan2(h,c),d=Math.sqrt(c*c+h*h)/2,p=f-e.util.degreesToRadians(t),g=Math.PI/2-f-e.util.degreesToRadians(t);a=d*e.util.cos(p),s=d*e.util.sin(p),l=d*e.util.cos(g),u=d*e.util.sin(g)}else{var v=c&&h?c:n;d=.7071067812*v;p=e.util.degreesToRadians(45-t);a=l=d*e.util.cos(p),s=u=d*e.util.sin(p)}return{tl:{x:i-u,y:r-l},tr:{x:i+a,y:r-s},bl:{x:i-a,y:r+s},br:{x:i+u,y:r+l}}},render:function(t,n,i,r,o){switch(r=r||{},r.cornerStyle||o.cornerStyle){case"circle":e.controlsUtils.renderCircleControl.call(this,t,n,i,r,o);break;default:e.controlsUtils.renderSquareControl.call(this,t,n,i,r,o)}}}}(e),function(){function t(t,e){var n,r,o,a,s=t.getAttribute("style"),l=t.getAttribute("offset")||0;if(l=parseFloat(l)/(/%$/.test(l)?100:1),l=l<0?0:l>1?1:l,s){var u=s.split(/\s*;\s*/);for(""===u[u.length-1]&&u.pop(),a=u.length;a--;){var c=u[a].split(/\s*:\s*/),h=c[0].trim(),f=c[1].trim();"stop-color"===h?n=f:"stop-opacity"===h&&(o=f)}}return n||(n=t.getAttribute("stop-color")||"rgb(0,0,0)"),o||(o=t.getAttribute("stop-opacity")),n=new i.Color(n),r=n.getAlpha(),o=isNaN(parseFloat(o))?1:parseFloat(o),o*=r*e,{offset:l,color:n.toRgb(),opacity:o}}function e(t){return{x1:t.getAttribute("x1")||0,y1:t.getAttribute("y1")||0,x2:t.getAttribute("x2")||"100%",y2:t.getAttribute("y2")||0}}function n(t){return{x1:t.getAttribute("fx")||t.getAttribute("cx")||"50%",y1:t.getAttribute("fy")||t.getAttribute("cy")||"50%",r1:0,x2:t.getAttribute("cx")||"50%",y2:t.getAttribute("cy")||"50%",r2:t.getAttribute("r")||"50%"}}var r=i.util.object.clone;function o(t,e,n,i){var r,o;Object.keys(e).forEach((function(t){r=e[t],"Infinity"===r?o=1:"-Infinity"===r?o=0:(o=parseFloat(e[t],10),"string"===typeof r&&/^(\d+\.\d+)%|(\d+)%$/.test(r)&&(o*=.01,"pixels"===i&&("x1"!==t&&"x2"!==t&&"r2"!==t||(o*=n.viewBoxWidth||n.width),"y1"!==t&&"y2"!==t||(o*=n.viewBoxHeight||n.height)))),e[t]=o}))}i.Gradient=i.util.createClass({offsetX:0,offsetY:0,gradientTransform:null,gradientUnits:"pixels",type:"linear",initialize:function(t){t||(t={}),t.coords||(t.coords={});var e,n=this;Object.keys(t).forEach((function(e){n[e]=t[e]})),this.id?this.id+="_"+i.Object.__uid++:this.id=i.Object.__uid++,e={x1:t.coords.x1||0,y1:t.coords.y1||0,x2:t.coords.x2||0,y2:t.coords.y2||0},"radial"===this.type&&(e.r1=t.coords.r1||0,e.r2=t.coords.r2||0),this.coords=e,this.colorStops=t.colorStops.slice()},addColorStop:function(t){for(var e in t){var n=new i.Color(t[e]);this.colorStops.push({offset:parseFloat(e),color:n.toRgb(),opacity:n.getAlpha()})}return this},toObject:function(t){var e={type:this.type,coords:this.coords,colorStops:this.colorStops,offsetX:this.offsetX,offsetY:this.offsetY,gradientUnits:this.gradientUnits,gradientTransform:this.gradientTransform?this.gradientTransform.concat():this.gradientTransform};return i.util.populateWithProperties(this,e,t),e},toSVG:function(t,e){var n,o,a,s,l=r(this.coords,!0),u=(e=e||{},r(this.colorStops,!0)),c=l.r1>l.r2,h=this.gradientTransform?this.gradientTransform.concat():i.iMatrix.concat(),f=-this.offsetX,d=-this.offsetY,p=!!e.additionalTransform,g="pixels"===this.gradientUnits?"userSpaceOnUse":"objectBoundingBox";if(u.sort((function(t,e){return t.offset-e.offset})),"objectBoundingBox"===g?(f/=t.width,d/=t.height):(f+=t.width/2,d+=t.height/2),"path"===t.type&&"percentage"!==this.gradientUnits&&(f-=t.pathOffset.x,d-=t.pathOffset.y),h[4]-=f,h[5]-=d,s='id="SVGID_'+this.id+'" gradientUnits="'+g+'"',s+=' gradientTransform="'+(p?e.additionalTransform+" ":"")+i.util.matrixToSVG(h)+'" ',"linear"===this.type?a=["<linearGradient ",s,' x1="',l.x1,'" y1="',l.y1,'" x2="',l.x2,'" y2="',l.y2,'">\n']:"radial"===this.type&&(a=["<radialGradient ",s,' cx="',c?l.x1:l.x2,'" cy="',c?l.y1:l.y2,'" r="',c?l.r1:l.r2,'" fx="',c?l.x2:l.x1,'" fy="',c?l.y2:l.y1,'">\n']),"radial"===this.type){if(c)for(u=u.concat(),u.reverse(),n=0,o=u.length;n<o;n++)u[n].offset=1-u[n].offset;var v=Math.min(l.r1,l.r2);if(v>0){var m=Math.max(l.r1,l.r2),y=v/m;for(n=0,o=u.length;n<o;n++)u[n].offset+=y*(1-u[n].offset)}}for(n=0,o=u.length;n<o;n++){var b=u[n];a.push("<stop ",'offset="',100*b.offset+"%",'" style="stop-color:',b.color,"undefined"!==typeof b.opacity?";stop-opacity: "+b.opacity:";",'"/>\n')}return a.push("linear"===this.type?"</linearGradient>\n":"</radialGradient>\n"),a.join("")},toLive:function(t){var e,n,r,o=i.util.object.clone(this.coords);if(this.type){for("linear"===this.type?e=t.createLinearGradient(o.x1,o.y1,o.x2,o.y2):"radial"===this.type&&(e=t.createRadialGradient(o.x1,o.y1,o.r1,o.x2,o.y2,o.r2)),n=0,r=this.colorStops.length;n<r;n++){var a=this.colorStops[n].color,s=this.colorStops[n].opacity,l=this.colorStops[n].offset;"undefined"!==typeof s&&(a=new i.Color(a).setAlpha(s).toRgba()),e.addColorStop(l,a)}return e}}}),i.util.object.extend(i.Gradient,{fromElement:function(r,a,s,l){var u=parseFloat(s)/(/%$/.test(s)?100:1);u=u<0?0:u>1?1:u,isNaN(u)&&(u=1);var c,h,f,d,p=r.getElementsByTagName("stop"),g="userSpaceOnUse"===r.getAttribute("gradientUnits")?"pixels":"percentage",v=r.getAttribute("gradientTransform")||"",m=[],y=0,b=0;for("linearGradient"===r.nodeName||"LINEARGRADIENT"===r.nodeName?(c="linear",h=e(r)):(c="radial",h=n(r)),f=p.length;f--;)m.push(t(p[f],u));d=i.parseTransformAttribute(v),o(a,h,l,g),"pixels"===g&&(y=-a.left,b=-a.top);var _=new i.Gradient({id:r.getAttribute("id"),type:c,coords:h,colorStops:m,gradientUnits:g,gradientTransform:d,offsetX:y,offsetY:b});return _}})}(),function(){"use strict";var t=i.util.toFixed;i.Pattern=i.util.createClass({repeat:"repeat",offsetX:0,offsetY:0,crossOrigin:"",patternTransform:null,initialize:function(t,e){if(t||(t={}),this.id=i.Object.__uid++,this.setOptions(t),!t.source||t.source&&"string"!==typeof t.source)e&&e(this);else{var n=this;this.source=i.util.createImage(),i.util.loadImage(t.source,(function(t,i){n.source=t,e&&e(n,i)}),null,this.crossOrigin)}},toObject:function(e){var n,r,o=i.Object.NUM_FRACTION_DIGITS;return"string"===typeof this.source.src?n=this.source.src:"object"===typeof this.source&&this.source.toDataURL&&(n=this.source.toDataURL()),r={type:"pattern",source:n,repeat:this.repeat,crossOrigin:this.crossOrigin,offsetX:t(this.offsetX,o),offsetY:t(this.offsetY,o),patternTransform:this.patternTransform?this.patternTransform.concat():null},i.util.populateWithProperties(this,r,e),r},toSVG:function(t){var e="function"===typeof this.source?this.source():this.source,n=e.width/t.width,i=e.height/t.height,r=this.offsetX/t.width,o=this.offsetY/t.height,a="";return"repeat-x"!==this.repeat&&"no-repeat"!==this.repeat||(i=1,o&&(i+=Math.abs(o))),"repeat-y"!==this.repeat&&"no-repeat"!==this.repeat||(n=1,r&&(n+=Math.abs(r))),e.src?a=e.src:e.toDataURL&&(a=e.toDataURL()),'<pattern id="SVGID_'+this.id+'" x="'+r+'" y="'+o+'" width="'+n+'" height="'+i+'">\n<image x="0" y="0" width="'+e.width+'" height="'+e.height+'" xlink:href="'+a+'"></image>\n</pattern>\n'},setOptions:function(t){for(var e in t)this[e]=t[e]},toLive:function(t){var e=this.source;if(!e)return"";if("undefined"!==typeof e.src){if(!e.complete)return"";if(0===e.naturalWidth||0===e.naturalHeight)return""}return t.createPattern(e,this.repeat)}})}(),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.toFixed;e.Shadow?e.warn("fabric.Shadow is already defined."):(e.Shadow=e.util.createClass({color:"rgb(0,0,0)",blur:0,offsetX:0,offsetY:0,affectStroke:!1,includeDefaultValues:!0,nonScaling:!1,initialize:function(t){for(var n in"string"===typeof t&&(t=this._parseShadow(t)),t)this[n]=t[n];this.id=e.Object.__uid++},_parseShadow:function(t){var n=t.trim(),i=e.Shadow.reOffsetsAndBlur.exec(n)||[],r=n.replace(e.Shadow.reOffsetsAndBlur,"")||"rgb(0,0,0)";return{color:r.trim(),offsetX:parseFloat(i[1],10)||0,offsetY:parseFloat(i[2],10)||0,blur:parseFloat(i[3],10)||0}},toString:function(){return[this.offsetX,this.offsetY,this.blur,this.color].join("px ")},toSVG:function(t){var i=40,r=40,o=e.Object.NUM_FRACTION_DIGITS,a=e.util.rotateVector({x:this.offsetX,y:this.offsetY},e.util.degreesToRadians(-t.angle)),s=20,l=new e.Color(this.color);return t.width&&t.height&&(i=100*n((Math.abs(a.x)+this.blur)/t.width,o)+s,r=100*n((Math.abs(a.y)+this.blur)/t.height,o)+s),t.flipX&&(a.x*=-1),t.flipY&&(a.y*=-1),'<filter id="SVGID_'+this.id+'" y="-'+r+'%" height="'+(100+2*r)+'%" x="-'+i+'%" width="'+(100+2*i)+'%" >\n\t<feGaussianBlur in="SourceAlpha" stdDeviation="'+n(this.blur?this.blur/2:0,o)+'"></feGaussianBlur>\n\t<feOffset dx="'+n(a.x,o)+'" dy="'+n(a.y,o)+'" result="oBlur" ></feOffset>\n\t<feFlood flood-color="'+l.toRgb()+'" flood-opacity="'+l.getAlpha()+'"/>\n\t<feComposite in2="oBlur" operator="in" />\n\t<feMerge>\n\t\t<feMergeNode></feMergeNode>\n\t\t<feMergeNode in="SourceGraphic"></feMergeNode>\n\t</feMerge>\n</filter>\n'},toObject:function(){if(this.includeDefaultValues)return{color:this.color,blur:this.blur,offsetX:this.offsetX,offsetY:this.offsetY,affectStroke:this.affectStroke,nonScaling:this.nonScaling};var t={},n=e.Shadow.prototype;return["color","blur","offsetX","offsetY","affectStroke","nonScaling"].forEach((function(e){this[e]!==n[e]&&(t[e]=this[e])}),this),t}}),e.Shadow.reOffsetsAndBlur=/(?:\s|^)(-?\d+(?:\.\d*)?(?:px)?(?:\s?|$))?(-?\d+(?:\.\d*)?(?:px)?(?:\s?|$))?(\d+(?:\.\d*)?(?:px)?)?(?:\s?|$)(?:$|\s)/)}(e),function(){"use strict";if(i.StaticCanvas)i.warn("fabric.StaticCanvas is already defined.");else{var t=i.util.object.extend,e=i.util.getElementOffset,n=i.util.removeFromArray,r=i.util.toFixed,o=i.util.transformPoint,a=i.util.invertTransform,s=i.util.getNodeCanvas,l=i.util.createCanvasElement,u=new Error("Could not initialize `canvas` element");i.StaticCanvas=i.util.createClass(i.CommonMethods,{initialize:function(t,e){e||(e={}),this.renderAndResetBound=this.renderAndReset.bind(this),this.requestRenderAllBound=this.requestRenderAll.bind(this),this._initStatic(t,e)},backgroundColor:"",backgroundImage:null,overlayColor:"",overlayImage:null,includeDefaultValues:!0,stateful:!1,renderOnAddRemove:!0,controlsAboveOverlay:!1,allowTouchScrolling:!1,imageSmoothingEnabled:!0,viewportTransform:i.iMatrix.concat(),backgroundVpt:!0,overlayVpt:!0,enableRetinaScaling:!0,vptCoords:{},skipOffscreen:!0,clipPath:void 0,_initStatic:function(t,e){var n=this.requestRenderAllBound;this._objects=[],this._createLowerCanvas(t),this._initOptions(e),this.interactive||this._initRetinaScaling(),e.overlayImage&&this.setOverlayImage(e.overlayImage,n),e.backgroundImage&&this.setBackgroundImage(e.backgroundImage,n),e.backgroundColor&&this.setBackgroundColor(e.backgroundColor,n),e.overlayColor&&this.setOverlayColor(e.overlayColor,n),this.calcOffset()},_isRetinaScaling:function(){return i.devicePixelRatio>1&&this.enableRetinaScaling},getRetinaScaling:function(){return this._isRetinaScaling()?Math.max(1,i.devicePixelRatio):1},_initRetinaScaling:function(){if(this._isRetinaScaling()){var t=i.devicePixelRatio;this.__initRetinaScaling(t,this.lowerCanvasEl,this.contextContainer),this.upperCanvasEl&&this.__initRetinaScaling(t,this.upperCanvasEl,this.contextTop)}},__initRetinaScaling:function(t,e,n){e.setAttribute("width",this.width*t),e.setAttribute("height",this.height*t),n.scale(t,t)},calcOffset:function(){return this._offset=e(this.lowerCanvasEl),this},setOverlayImage:function(t,e,n){return this.__setBgOverlayImage("overlayImage",t,e,n)},setBackgroundImage:function(t,e,n){return this.__setBgOverlayImage("backgroundImage",t,e,n)},setOverlayColor:function(t,e){return this.__setBgOverlayColor("overlayColor",t,e)},setBackgroundColor:function(t,e){return this.__setBgOverlayColor("backgroundColor",t,e)},__setBgOverlayImage:function(t,e,n,r){return"string"===typeof e?i.util.loadImage(e,(function(e,o){if(e){var a=new i.Image(e,r);this[t]=a,a.canvas=this}n&&n(e,o)}),this,r&&r.crossOrigin):(r&&e.setOptions(r),this[t]=e,e&&(e.canvas=this),n&&n(e,!1)),this},__setBgOverlayColor:function(t,e,n){return this[t]=e,this._initGradient(e,t),this._initPattern(e,t,n),this},_createCanvasElement:function(){var t=l();if(!t)throw u;if(t.style||(t.style={}),"undefined"===typeof t.getContext)throw u;return t},_initOptions:function(t){var e=this.lowerCanvasEl;this._setOptions(t),this.width=this.width||parseInt(e.width,10)||0,this.height=this.height||parseInt(e.height,10)||0,this.lowerCanvasEl.style&&(e.width=this.width,e.height=this.height,e.style.width=this.width+"px",e.style.height=this.height+"px",this.viewportTransform=this.viewportTransform.slice())},_createLowerCanvas:function(t){t&&t.getContext?this.lowerCanvasEl=t:this.lowerCanvasEl=i.util.getById(t)||this._createCanvasElement(),i.util.addClass(this.lowerCanvasEl,"lower-canvas"),this._originalCanvasStyle=this.lowerCanvasEl.style,this.interactive&&this._applyCanvasStyle(this.lowerCanvasEl),this.contextContainer=this.lowerCanvasEl.getContext("2d")},getWidth:function(){return this.width},getHeight:function(){return this.height},setWidth:function(t,e){return this.setDimensions({width:t},e)},setHeight:function(t,e){return this.setDimensions({height:t},e)},setDimensions:function(t,e){var n;for(var i in e=e||{},t)n=t[i],e.cssOnly||(this._setBackstoreDimension(i,t[i]),n+="px",this.hasLostContext=!0),e.backstoreOnly||this._setCssDimension(i,n);return this._isCurrentlyDrawing&&this.freeDrawingBrush&&this.freeDrawingBrush._setBrushStyles(this.contextTop),this._initRetinaScaling(),this.calcOffset(),e.cssOnly||this.requestRenderAll(),this},_setBackstoreDimension:function(t,e){return this.lowerCanvasEl[t]=e,this.upperCanvasEl&&(this.upperCanvasEl[t]=e),this.cacheCanvasEl&&(this.cacheCanvasEl[t]=e),this[t]=e,this},_setCssDimension:function(t,e){return this.lowerCanvasEl.style[t]=e,this.upperCanvasEl&&(this.upperCanvasEl.style[t]=e),this.wrapperEl&&(this.wrapperEl.style[t]=e),this},getZoom:function(){return this.viewportTransform[0]},setViewportTransform:function(t){var e,n,i,r=this._activeObject,o=this.backgroundImage,a=this.overlayImage;for(this.viewportTransform=t,n=0,i=this._objects.length;n<i;n++)e=this._objects[n],e.group||e.setCoords(!0);return r&&r.setCoords(),o&&o.setCoords(!0),a&&a.setCoords(!0),this.calcViewportBoundaries(),this.renderOnAddRemove&&this.requestRenderAll(),this},zoomToPoint:function(t,e){var n=t,i=this.viewportTransform.slice(0);t=o(t,a(this.viewportTransform)),i[0]=e,i[3]=e;var r=o(t,i);return i[4]+=n.x-r.x,i[5]+=n.y-r.y,this.setViewportTransform(i)},setZoom:function(t){return this.zoomToPoint(new i.Point(0,0),t),this},absolutePan:function(t){var e=this.viewportTransform.slice(0);return e[4]=-t.x,e[5]=-t.y,this.setViewportTransform(e)},relativePan:function(t){return this.absolutePan(new i.Point(-t.x-this.viewportTransform[4],-t.y-this.viewportTransform[5]))},getElement:function(){return this.lowerCanvasEl},_onObjectAdded:function(t){this.stateful&&t.setupState(),t._set("canvas",this),t.setCoords(),this.fire("object:added",{target:t}),t.fire("added")},_onObjectRemoved:function(t){this.fire("object:removed",{target:t}),t.fire("removed"),delete t.canvas},clearContext:function(t){return t.clearRect(0,0,this.width,this.height),this},getContext:function(){return this.contextContainer},clear:function(){return this.remove.apply(this,this.getObjects()),this.backgroundImage=null,this.overlayImage=null,this.backgroundColor="",this.overlayColor="",this._hasITextHandlers&&(this.off("mouse:up",this._mouseUpITextHandler),this._iTextInstances=null,this._hasITextHandlers=!1),this.clearContext(this.contextContainer),this.fire("canvas:cleared"),this.renderOnAddRemove&&this.requestRenderAll(),this},renderAll:function(){var t=this.contextContainer;return this.renderCanvas(t,this._objects),this},renderAndReset:function(){this.isRendering=0,this.renderAll()},requestRenderAll:function(){return this.isRendering||(this.isRendering=i.util.requestAnimFrame(this.renderAndResetBound)),this},calcViewportBoundaries:function(){var t={},e=this.width,n=this.height,r=a(this.viewportTransform);return t.tl=o({x:0,y:0},r),t.br=o({x:e,y:n},r),t.tr=new i.Point(t.br.x,t.tl.y),t.bl=new i.Point(t.tl.x,t.br.y),this.vptCoords=t,t},cancelRequestedRender:function(){this.isRendering&&(i.util.cancelAnimFrame(this.isRendering),this.isRendering=0)},renderCanvas:function(t,e){var n=this.viewportTransform,r=this.clipPath;this.cancelRequestedRender(),this.calcViewportBoundaries(),this.clearContext(t),i.util.setImageSmoothing(t,this.imageSmoothingEnabled),this.fire("before:render",{ctx:t}),this._renderBackground(t),t.save(),t.transform(n[0],n[1],n[2],n[3],n[4],n[5]),this._renderObjects(t,e),t.restore(),!this.controlsAboveOverlay&&this.interactive&&this.drawControls(t),r&&(r.canvas=this,r.shouldCache(),r._transformDone=!0,r.renderCache({forClipping:!0}),this.drawClipPathOnCanvas(t)),this._renderOverlay(t),this.controlsAboveOverlay&&this.interactive&&this.drawControls(t),this.fire("after:render",{ctx:t})},drawClipPathOnCanvas:function(t){var e=this.viewportTransform,n=this.clipPath;t.save(),t.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t.globalCompositeOperation="destination-in",n.transform(t),t.scale(1/n.zoomX,1/n.zoomY),t.drawImage(n._cacheCanvas,-n.cacheTranslationX,-n.cacheTranslationY),t.restore()},_renderObjects:function(t,e){var n,i;for(n=0,i=e.length;n<i;++n)e[n]&&e[n].render(t)},_renderBackgroundOrOverlay:function(t,e){var n=this[e+"Color"],i=this[e+"Image"],r=this.viewportTransform,o=this[e+"Vpt"];if(n||i){if(n){t.save(),t.beginPath(),t.moveTo(0,0),t.lineTo(this.width,0),t.lineTo(this.width,this.height),t.lineTo(0,this.height),t.closePath(),t.fillStyle=n.toLive?n.toLive(t,this):n,o&&t.transform(r[0],r[1],r[2],r[3],r[4],r[5]),t.transform(1,0,0,1,n.offsetX||0,n.offsetY||0);var a=n.gradientTransform||n.patternTransform;a&&t.transform(a[0],a[1],a[2],a[3],a[4],a[5]),t.fill(),t.restore()}i&&(t.save(),o&&t.transform(r[0],r[1],r[2],r[3],r[4],r[5]),i.render(t),t.restore())}},_renderBackground:function(t){this._renderBackgroundOrOverlay(t,"background")},_renderOverlay:function(t){this._renderBackgroundOrOverlay(t,"overlay")},getCenter:function(){return{top:this.height/2,left:this.width/2}},getCenterPoint:function(){return new i.Point(this.width/2,this.height/2)},centerObjectH:function(t){return this._centerObject(t,new i.Point(this.getCenterPoint().x,t.getCenterPoint().y))},centerObjectV:function(t){return this._centerObject(t,new i.Point(t.getCenterPoint().x,this.getCenterPoint().y))},centerObject:function(t){var e=this.getCenterPoint();return this._centerObject(t,e)},viewportCenterObject:function(t){var e=this.getVpCenter();return this._centerObject(t,e)},viewportCenterObjectH:function(t){var e=this.getVpCenter();return this._centerObject(t,new i.Point(e.x,t.getCenterPoint().y)),this},viewportCenterObjectV:function(t){var e=this.getVpCenter();return this._centerObject(t,new i.Point(t.getCenterPoint().x,e.y))},getVpCenter:function(){var t=this.getCenterPoint(),e=a(this.viewportTransform);return o(t,e)},_centerObject:function(t,e){return t.setPositionByOrigin(e,"center","center"),t.setCoords(),this.renderOnAddRemove&&this.requestRenderAll(),this},toDatalessJSON:function(t){return this.toDatalessObject(t)},toObject:function(t){return this._toObjectMethod("toObject",t)},toDatalessObject:function(t){return this._toObjectMethod("toDatalessObject",t)},_toObjectMethod:function(e,n){var r=this.clipPath,o={version:i.version,objects:this._toObjects(e,n)};return r&&!r.excludeFromExport&&(o.clipPath=this._toObject(this.clipPath,e,n)),t(o,this.__serializeBgOverlay(e,n)),i.util.populateWithProperties(this,o,n),o},_toObjects:function(t,e){return this._objects.filter((function(t){return!t.excludeFromExport})).map((function(n){return this._toObject(n,t,e)}),this)},_toObject:function(t,e,n){var i;this.includeDefaultValues||(i=t.includeDefaultValues,t.includeDefaultValues=!1);var r=t[e](n);return this.includeDefaultValues||(t.includeDefaultValues=i),r},__serializeBgOverlay:function(t,e){var n={},i=this.backgroundImage,r=this.overlayImage,o=this.backgroundColor,a=this.overlayColor;return o&&o.toObject?o.excludeFromExport||(n.background=o.toObject(e)):o&&(n.background=o),a&&a.toObject?a.excludeFromExport||(n.overlay=a.toObject(e)):a&&(n.overlay=a),i&&!i.excludeFromExport&&(n.backgroundImage=this._toObject(i,t,e)),r&&!r.excludeFromExport&&(n.overlayImage=this._toObject(r,t,e)),n},svgViewportTransformation:!0,toSVG:function(t,e){t||(t={}),t.reviver=e;var n=[];return this._setSVGPreamble(n,t),this._setSVGHeader(n,t),this.clipPath&&n.push('<g clip-path="url(#'+this.clipPath.clipPathId+')" >\n'),this._setSVGBgOverlayColor(n,"background"),this._setSVGBgOverlayImage(n,"backgroundImage",e),this._setSVGObjects(n,e),this.clipPath&&n.push("</g>\n"),this._setSVGBgOverlayColor(n,"overlay"),this._setSVGBgOverlayImage(n,"overlayImage",e),n.push("</svg>"),n.join("")},_setSVGPreamble:function(t,e){e.suppressPreamble||t.push('<?xml version="1.0" encoding="',e.encoding||"UTF-8",'" standalone="no" ?>\n','<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" ','"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')},_setSVGHeader:function(t,e){var n,o=e.width||this.width,a=e.height||this.height,s='viewBox="0 0 '+this.width+" "+this.height+'" ',l=i.Object.NUM_FRACTION_DIGITS;e.viewBox?s='viewBox="'+e.viewBox.x+" "+e.viewBox.y+" "+e.viewBox.width+" "+e.viewBox.height+'" ':this.svgViewportTransformation&&(n=this.viewportTransform,s='viewBox="'+r(-n[4]/n[0],l)+" "+r(-n[5]/n[3],l)+" "+r(this.width/n[0],l)+" "+r(this.height/n[3],l)+'" '),t.push("<svg ",'xmlns="http://www.w3.org/2000/svg" ','xmlns:xlink="http://www.w3.org/1999/xlink" ','version="1.1" ','width="',o,'" ','height="',a,'" ',s,'xml:space="preserve">\n',"<desc>Created with Fabric.js ",i.version,"</desc>\n","<defs>\n",this.createSVGFontFacesMarkup(),this.createSVGRefElementsMarkup(),this.createSVGClipPathMarkup(e),"</defs>\n")},createSVGClipPathMarkup:function(t){var e=this.clipPath;return e?(e.clipPathId="CLIPPATH_"+i.Object.__uid++,'<clipPath id="'+e.clipPathId+'" >\n'+this.clipPath.toClipPathSVG(t.reviver)+"</clipPath>\n"):""},createSVGRefElementsMarkup:function(){var t=this,e=["background","overlay"].map((function(e){var n=t[e+"Color"];if(n&&n.toLive){var r=t[e+"Vpt"],o=t.viewportTransform,a={width:t.width/(r?o[0]:1),height:t.height/(r?o[3]:1)};return n.toSVG(a,{additionalTransform:r?i.util.matrixToSVG(o):""})}}));return e.join("")},createSVGFontFacesMarkup:function(){var t,e,n,r,o,a,s,l,u,c="",h={},f=i.fontPaths,d=[];for(this._objects.forEach((function t(e){d.push(e),e._objects&&e._objects.forEach(t)})),l=0,u=d.length;l<u;l++)if(t=d[l],e=t.fontFamily,-1!==t.type.indexOf("text")&&!h[e]&&f[e]&&(h[e]=!0,t.styles))for(o in n=t.styles,n)for(s in r=n[o],r)a=r[s],e=a.fontFamily,!h[e]&&f[e]&&(h[e]=!0);for(var p in h)c+=["\t\t@font-face {\n","\t\t\tfont-family: '",p,"';\n","\t\t\tsrc: url('",f[p],"');\n","\t\t}\n"].join("");return c&&(c=['\t<style type="text/css">',"<![CDATA[\n",c,"]]>","</style>\n"].join("")),c},_setSVGObjects:function(t,e){var n,i,r,o=this._objects;for(i=0,r=o.length;i<r;i++)n=o[i],n.excludeFromExport||this._setSVGObject(t,n,e)},_setSVGObject:function(t,e,n){t.push(e.toSVG(n))},_setSVGBgOverlayImage:function(t,e,n){this[e]&&!this[e].excludeFromExport&&this[e].toSVG&&t.push(this[e].toSVG(n))},_setSVGBgOverlayColor:function(t,e){var n=this[e+"Color"],r=this.viewportTransform,o=this.width,a=this.height;if(n)if(n.toLive){var s=n.repeat,l=i.util.invertTransform(r),u=this[e+"Vpt"],c=u?i.util.matrixToSVG(l):"";t.push('<rect transform="'+c+" translate(",o/2,",",a/2,')"',' x="',n.offsetX-o/2,'" y="',n.offsetY-a/2,'" ','width="',"repeat-y"===s||"no-repeat"===s?n.source.width:o,'" height="',"repeat-x"===s||"no-repeat"===s?n.source.height:a,'" fill="url(#SVGID_'+n.id+')"',"></rect>\n")}else t.push('<rect x="0" y="0" width="100%" height="100%" ','fill="',n,'"',"></rect>\n")},sendToBack:function(t){if(!t)return this;var e,i,r,o=this._activeObject;if(t===o&&"activeSelection"===t.type)for(r=o._objects,e=r.length;e--;)i=r[e],n(this._objects,i),this._objects.unshift(i);else n(this._objects,t),this._objects.unshift(t);return this.renderOnAddRemove&&this.requestRenderAll(),this},bringToFront:function(t){if(!t)return this;var e,i,r,o=this._activeObject;if(t===o&&"activeSelection"===t.type)for(r=o._objects,e=0;e<r.length;e++)i=r[e],n(this._objects,i),this._objects.push(i);else n(this._objects,t),this._objects.push(t);return this.renderOnAddRemove&&this.requestRenderAll(),this},sendBackwards:function(t,e){if(!t)return this;var i,r,o,a,s,l=this._activeObject,u=0;if(t===l&&"activeSelection"===t.type)for(s=l._objects,i=0;i<s.length;i++)r=s[i],o=this._objects.indexOf(r),o>0+u&&(a=o-1,n(this._objects,r),this._objects.splice(a,0,r)),u++;else o=this._objects.indexOf(t),0!==o&&(a=this._findNewLowerIndex(t,o,e),n(this._objects,t),this._objects.splice(a,0,t));return this.renderOnAddRemove&&this.requestRenderAll(),this},_findNewLowerIndex:function(t,e,n){var i,r;if(n)for(i=e,r=e-1;r>=0;--r){var o=t.intersectsWithObject(this._objects[r])||t.isContainedWithinObject(this._objects[r])||this._objects[r].isContainedWithinObject(t);if(o){i=r;break}}else i=e-1;return i},bringForward:function(t,e){if(!t)return this;var i,r,o,a,s,l=this._activeObject,u=0;if(t===l&&"activeSelection"===t.type)for(s=l._objects,i=s.length;i--;)r=s[i],o=this._objects.indexOf(r),o<this._objects.length-1-u&&(a=o+1,n(this._objects,r),this._objects.splice(a,0,r)),u++;else o=this._objects.indexOf(t),o!==this._objects.length-1&&(a=this._findNewUpperIndex(t,o,e),n(this._objects,t),this._objects.splice(a,0,t));return this.renderOnAddRemove&&this.requestRenderAll(),this},_findNewUpperIndex:function(t,e,n){var i,r,o;if(n)for(i=e,r=e+1,o=this._objects.length;r<o;++r){var a=t.intersectsWithObject(this._objects[r])||t.isContainedWithinObject(this._objects[r])||this._objects[r].isContainedWithinObject(t);if(a){i=r;break}}else i=e+1;return i},moveTo:function(t,e){return n(this._objects,t),this._objects.splice(e,0,t),this.renderOnAddRemove&&this.requestRenderAll()},dispose:function(){return this.isRendering&&(i.util.cancelAnimFrame(this.isRendering),this.isRendering=0),this.forEachObject((function(t){t.dispose&&t.dispose()})),this._objects=[],this.backgroundImage&&this.backgroundImage.dispose&&this.backgroundImage.dispose(),this.backgroundImage=null,this.overlayImage&&this.overlayImage.dispose&&this.overlayImage.dispose(),this.overlayImage=null,this._iTextInstances=null,this.contextContainer=null,this.lowerCanvasEl.classList.remove("lower-canvas"),i.util.setStyle(this.lowerCanvasEl,this._originalCanvasStyle),delete this._originalCanvasStyle,this.lowerCanvasEl.setAttribute("width",this.width),this.lowerCanvasEl.setAttribute("height",this.height),i.util.cleanUpJsdomNode(this.lowerCanvasEl),this.lowerCanvasEl=void 0,this},toString:function(){return"#<fabric.Canvas ("+this.complexity()+"): { objects: "+this._objects.length+" }>"}}),t(i.StaticCanvas.prototype,i.Observable),t(i.StaticCanvas.prototype,i.Collection),t(i.StaticCanvas.prototype,i.DataURLExporter),t(i.StaticCanvas,{EMPTY_JSON:'{"objects": [], "background": "white"}',supports:function(t){var e=l();if(!e||!e.getContext)return null;var n=e.getContext("2d");if(!n)return null;switch(t){case"setLineDash":return"undefined"!==typeof n.setLineDash;default:return null}}}),i.StaticCanvas.prototype.toJSON=i.StaticCanvas.prototype.toObject,i.isLikelyNode&&(i.StaticCanvas.prototype.createPNGStream=function(){var t=s(this.lowerCanvasEl);return t&&t.createPNGStream()},i.StaticCanvas.prototype.createJPEGStream=function(t){var e=s(this.lowerCanvasEl);return e&&e.createJPEGStream(t)})}}(),i.BaseBrush=i.util.createClass({color:"rgb(0, 0, 0)",width:1,shadow:null,strokeLineCap:"round",strokeLineJoin:"round",strokeMiterLimit:10,strokeDashArray:null,limitedToCanvasSize:!1,_setBrushStyles:function(t){t.strokeStyle=this.color,t.lineWidth=this.width,t.lineCap=this.strokeLineCap,t.miterLimit=this.strokeMiterLimit,t.lineJoin=this.strokeLineJoin,t.setLineDash(this.strokeDashArray||[])},_saveAndTransform:function(t){var e=this.canvas.viewportTransform;t.save(),t.transform(e[0],e[1],e[2],e[3],e[4],e[5])},_setShadow:function(){if(this.shadow){var t=this.canvas,e=this.shadow,n=t.contextTop,r=t.getZoom();t&&t._isRetinaScaling()&&(r*=i.devicePixelRatio),n.shadowColor=e.color,n.shadowBlur=e.blur*r,n.shadowOffsetX=e.offsetX*r,n.shadowOffsetY=e.offsetY*r}},needsFullRender:function(){var t=new i.Color(this.color);return t.getAlpha()<1||!!this.shadow},_resetShadow:function(){var t=this.canvas.contextTop;t.shadowColor="",t.shadowBlur=t.shadowOffsetX=t.shadowOffsetY=0},_isOutSideCanvas:function(t){return t.x<0||t.x>this.canvas.getWidth()||t.y<0||t.y>this.canvas.getHeight()}}),function(){i.PencilBrush=i.util.createClass(i.BaseBrush,{decimate:.4,drawStraightLine:!1,straightLineKey:"shiftKey",initialize:function(t){this.canvas=t,this._points=[]},needsFullRender:function(){return this.callSuper("needsFullRender")||this._hasStraightLine},_drawSegment:function(t,e,n){var i=e.midPointFrom(n);return t.quadraticCurveTo(e.x,e.y,i.x,i.y),i},onMouseDown:function(t,e){this.canvas._isMainEvent(e.e)&&(this.drawStraightLine=e.e[this.straightLineKey],this._prepareForDrawing(t),this._captureDrawingPath(t),this._render())},onMouseMove:function(t,e){if(this.canvas._isMainEvent(e.e)&&(this.drawStraightLine=e.e[this.straightLineKey],(!0!==this.limitedToCanvasSize||!this._isOutSideCanvas(t))&&this._captureDrawingPath(t)&&this._points.length>1))if(this.needsFullRender())this.canvas.clearContext(this.canvas.contextTop),this._render();else{var n=this._points,i=n.length,r=this.canvas.contextTop;this._saveAndTransform(r),this.oldEnd&&(r.beginPath(),r.moveTo(this.oldEnd.x,this.oldEnd.y)),this.oldEnd=this._drawSegment(r,n[i-2],n[i-1],!0),r.stroke(),r.restore()}},onMouseUp:function(t){return!this.canvas._isMainEvent(t.e)||(this.drawStraightLine=!1,this.oldEnd=void 0,this._finalizeAndAddPath(),!1)},_prepareForDrawing:function(t){var e=new i.Point(t.x,t.y);this._reset(),this._addPoint(e),this.canvas.contextTop.moveTo(e.x,e.y)},_addPoint:function(t){return!(this._points.length>1&&t.eq(this._points[this._points.length-1]))&&(this.drawStraightLine&&this._points.length>1&&(this._hasStraightLine=!0,this._points.pop()),this._points.push(t),!0)},_reset:function(){this._points=[],this._setBrushStyles(this.canvas.contextTop),this._setShadow(),this._hasStraightLine=!1},_captureDrawingPath:function(t){var e=new i.Point(t.x,t.y);return this._addPoint(e)},_render:function(t){var e,n,r=this._points[0],o=this._points[1];if(t=t||this.canvas.contextTop,this._saveAndTransform(t),t.beginPath(),2===this._points.length&&r.x===o.x&&r.y===o.y){var a=this.width/1e3;r=new i.Point(r.x,r.y),o=new i.Point(o.x,o.y),r.x-=a,o.x+=a}for(t.moveTo(r.x,r.y),e=1,n=this._points.length;e<n;e++)this._drawSegment(t,r,o),r=this._points[e],o=this._points[e+1];t.lineTo(r.x,r.y),t.stroke(),t.restore()},convertPointsToSVGPath:function(t){var e=this.width/1e3;return i.util.getSmoothPathFromPoints(t,e)},_isEmptySVGPath:function(t){var e=i.util.joinPath(t);return"M 0 0 Q 0 0 0 0 L 0 0"===e},createPath:function(t){var e=new i.Path(t,{fill:null,stroke:this.color,strokeWidth:this.width,strokeLineCap:this.strokeLineCap,strokeMiterLimit:this.strokeMiterLimit,strokeLineJoin:this.strokeLineJoin,strokeDashArray:this.strokeDashArray});return this.shadow&&(this.shadow.affectStroke=!0,e.shadow=new i.Shadow(this.shadow)),e},decimatePoints:function(t,e){if(t.length<=2)return t;var n,i,r=this.canvas.getZoom(),o=Math.pow(e/r,2),a=t.length-1,s=t[0],l=[s];for(n=1;n<a-1;n++)i=Math.pow(s.x-t[n].x,2)+Math.pow(s.y-t[n].y,2),i>=o&&(s=t[n],l.push(s));return l.push(t[a]),l},_finalizeAndAddPath:function(){var t=this.canvas.contextTop;t.closePath(),this.decimate&&(this._points=this.decimatePoints(this._points,this.decimate));var e=this.convertPointsToSVGPath(this._points);if(this._isEmptySVGPath(e))this.canvas.requestRenderAll();else{var n=this.createPath(e);this.canvas.clearContext(this.canvas.contextTop),this.canvas.fire("before:path:created",{path:n}),this.canvas.add(n),this.canvas.requestRenderAll(),n.setCoords(),this._resetShadow(),this.canvas.fire("path:created",{path:n})}}})}(),i.CircleBrush=i.util.createClass(i.BaseBrush,{width:10,initialize:function(t){this.canvas=t,this.points=[]},drawDot:function(t){var e=this.addPoint(t),n=this.canvas.contextTop;this._saveAndTransform(n),this.dot(n,e),n.restore()},dot:function(t,e){t.fillStyle=e.fill,t.beginPath(),t.arc(e.x,e.y,e.radius,0,2*Math.PI,!1),t.closePath(),t.fill()},onMouseDown:function(t){this.points.length=0,this.canvas.clearContext(this.canvas.contextTop),this._setShadow(),this.drawDot(t)},_render:function(){var t,e,n=this.canvas.contextTop,i=this.points;for(this._saveAndTransform(n),t=0,e=i.length;t<e;t++)this.dot(n,i[t]);n.restore()},onMouseMove:function(t){!0===this.limitedToCanvasSize&&this._isOutSideCanvas(t)||(this.needsFullRender()?(this.canvas.clearContext(this.canvas.contextTop),this.addPoint(t),this._render()):this.drawDot(t))},onMouseUp:function(){var t,e,n=this.canvas.renderOnAddRemove;this.canvas.renderOnAddRemove=!1;var r=[];for(t=0,e=this.points.length;t<e;t++){var o=this.points[t],a=new i.Circle({radius:o.radius,left:o.x,top:o.y,originX:"center",originY:"center",fill:o.fill});this.shadow&&(a.shadow=new i.Shadow(this.shadow)),r.push(a)}var s=new i.Group(r);s.canvas=this.canvas,this.canvas.fire("before:path:created",{path:s}),this.canvas.add(s),this.canvas.fire("path:created",{path:s}),this.canvas.clearContext(this.canvas.contextTop),this._resetShadow(),this.canvas.renderOnAddRemove=n,this.canvas.requestRenderAll()},addPoint:function(t){var e=new i.Point(t.x,t.y),n=i.util.getRandomInt(Math.max(0,this.width-20),this.width+20)/2,r=new i.Color(this.color).setAlpha(i.util.getRandomInt(0,100)/100).toRgba();return e.radius=n,e.fill=r,this.points.push(e),e}}),i.SprayBrush=i.util.createClass(i.BaseBrush,{width:10,density:20,dotWidth:1,dotWidthVariance:1,randomOpacity:!1,optimizeOverlapping:!0,initialize:function(t){this.canvas=t,this.sprayChunks=[]},onMouseDown:function(t){this.sprayChunks.length=0,this.canvas.clearContext(this.canvas.contextTop),this._setShadow(),this.addSprayChunk(t),this.render(this.sprayChunkPoints)},onMouseMove:function(t){!0===this.limitedToCanvasSize&&this._isOutSideCanvas(t)||(this.addSprayChunk(t),this.render(this.sprayChunkPoints))},onMouseUp:function(){var t=this.canvas.renderOnAddRemove;this.canvas.renderOnAddRemove=!1;for(var e=[],n=0,r=this.sprayChunks.length;n<r;n++)for(var o=this.sprayChunks[n],a=0,s=o.length;a<s;a++){var l=new i.Rect({width:o[a].width,height:o[a].width,left:o[a].x+1,top:o[a].y+1,originX:"center",originY:"center",fill:this.color});e.push(l)}this.optimizeOverlapping&&(e=this._getOptimizedRects(e));var u=new i.Group(e);this.shadow&&u.set("shadow",new i.Shadow(this.shadow)),this.canvas.fire("before:path:created",{path:u}),this.canvas.add(u),this.canvas.fire("path:created",{path:u}),this.canvas.clearContext(this.canvas.contextTop),this._resetShadow(),this.canvas.renderOnAddRemove=t,this.canvas.requestRenderAll()},_getOptimizedRects:function(t){var e,n,i,r={};for(n=0,i=t.length;n<i;n++)e=t[n].left+""+t[n].top,r[e]||(r[e]=t[n]);var o=[];for(e in r)o.push(r[e]);return o},render:function(t){var e,n,i=this.canvas.contextTop;for(i.fillStyle=this.color,this._saveAndTransform(i),e=0,n=t.length;e<n;e++){var r=t[e];"undefined"!==typeof r.opacity&&(i.globalAlpha=r.opacity),i.fillRect(r.x,r.y,r.width,r.width)}i.restore()},_render:function(){var t,e,n=this.canvas.contextTop;for(n.fillStyle=this.color,this._saveAndTransform(n),t=0,e=this.sprayChunks.length;t<e;t++)this.render(this.sprayChunks[t]);n.restore()},addSprayChunk:function(t){this.sprayChunkPoints=[];var e,n,r,o,a=this.width/2;for(o=0;o<this.density;o++){e=i.util.getRandomInt(t.x-a,t.x+a),n=i.util.getRandomInt(t.y-a,t.y+a),r=this.dotWidthVariance?i.util.getRandomInt(Math.max(1,this.dotWidth-this.dotWidthVariance),this.dotWidth+this.dotWidthVariance):this.dotWidth;var s=new i.Point(e,n);s.width=r,this.randomOpacity&&(s.opacity=i.util.getRandomInt(0,100)/100),this.sprayChunkPoints.push(s)}this.sprayChunks.push(this.sprayChunkPoints)}}),i.PatternBrush=i.util.createClass(i.PencilBrush,{getPatternSrc:function(){var t=20,e=5,n=i.util.createCanvasElement(),r=n.getContext("2d");return n.width=n.height=t+e,r.fillStyle=this.color,r.beginPath(),r.arc(t/2,t/2,t/2,0,2*Math.PI,!1),r.closePath(),r.fill(),n},getPatternSrcFunction:function(){return String(this.getPatternSrc).replace("this.color",'"'+this.color+'"')},getPattern:function(t){return t.createPattern(this.source||this.getPatternSrc(),"repeat")},_setBrushStyles:function(t){this.callSuper("_setBrushStyles",t),t.strokeStyle=this.getPattern(t)},createPath:function(t){var e=this.callSuper("createPath",t),n=e._getLeftTopCoords().scalarAdd(e.strokeWidth/2);return e.stroke=new i.Pattern({source:this.source||this.getPatternSrcFunction(),offsetX:-n.x,offsetY:-n.y}),e}}),function(){var t=i.util.getPointer,e=i.util.degreesToRadians,n=i.util.isTouchEvent;for(var r in i.Canvas=i.util.createClass(i.StaticCanvas,{initialize:function(t,e){e||(e={}),this.renderAndResetBound=this.renderAndReset.bind(this),this.requestRenderAllBound=this.requestRenderAll.bind(this),this._initStatic(t,e),this._initInteractive(),this._createCacheCanvas()},uniformScaling:!0,uniScaleKey:"shiftKey",centeredScaling:!1,centeredRotation:!1,centeredKey:"altKey",altActionKey:"shiftKey",interactive:!0,selection:!0,selectionKey:"shiftKey",altSelectionKey:null,selectionColor:"rgba(100, 100, 255, 0.3)",selectionDashArray:[],selectionBorderColor:"rgba(255, 255, 255, 0.3)",selectionLineWidth:1,selectionFullyContained:!1,hoverCursor:"move",moveCursor:"move",defaultCursor:"default",freeDrawingCursor:"crosshair",notAllowedCursor:"not-allowed",containerClass:"canvas-container",perPixelTargetFind:!1,targetFindTolerance:0,skipTargetFind:!1,isDrawingMode:!1,preserveObjectStacking:!1,snapAngle:0,snapThreshold:null,stopContextMenu:!1,fireRightClick:!1,fireMiddleClick:!1,targets:[],enablePointerEvents:!1,_hoveredTarget:null,_hoveredTargets:[],_initInteractive:function(){this._currentTransform=null,this._groupSelector=null,this._initWrapperElement(),this._createUpperCanvas(),this._initEventListeners(),this._initRetinaScaling(),this.freeDrawingBrush=i.PencilBrush&&new i.PencilBrush(this),this.calcOffset()},_chooseObjectsToRender:function(){var t,e,n,i=this.getActiveObjects();if(i.length>0&&!this.preserveObjectStacking){e=[],n=[];for(var r=0,o=this._objects.length;r<o;r++)t=this._objects[r],-1===i.indexOf(t)?e.push(t):n.push(t);i.length>1&&(this._activeObject._objects=n),e.push.apply(e,n)}else e=this._objects;return e},renderAll:function(){!this.contextTopDirty||this._groupSelector||this.isDrawingMode||(this.clearContext(this.contextTop),this.contextTopDirty=!1),this.hasLostContext&&(this.renderTopLayer(this.contextTop),this.hasLostContext=!1);var t=this.contextContainer;return this.renderCanvas(t,this._chooseObjectsToRender()),this},renderTopLayer:function(t){t.save(),this.isDrawingMode&&this._isCurrentlyDrawing&&(this.freeDrawingBrush&&this.freeDrawingBrush._render(),this.contextTopDirty=!0),this.selection&&this._groupSelector&&(this._drawSelection(t),this.contextTopDirty=!0),t.restore()},renderTop:function(){var t=this.contextTop;return this.clearContext(t),this.renderTopLayer(t),this.fire("after:render"),this},_normalizePointer:function(t,e){var n=t.calcTransformMatrix(),r=i.util.invertTransform(n),o=this.restorePointerVpt(e);return i.util.transformPoint(o,r)},isTargetTransparent:function(t,e,n){if(t.shouldCache()&&t._cacheCanvas&&t!==this._activeObject){var r=this._normalizePointer(t,{x:e,y:n}),o=Math.max(t.cacheTranslationX+r.x*t.zoomX,0),a=Math.max(t.cacheTranslationY+r.y*t.zoomY,0),s=i.util.isTransparent(t._cacheContext,Math.round(o),Math.round(a),this.targetFindTolerance);return s}var l=this.contextCache,u=t.selectionBackgroundColor,c=this.viewportTransform;t.selectionBackgroundColor="",this.clearContext(l),l.save(),l.transform(c[0],c[1],c[2],c[3],c[4],c[5]),t.render(l),l.restore(),t.selectionBackgroundColor=u;s=i.util.isTransparent(l,e,n,this.targetFindTolerance);return s},_isSelectionKeyPressed:function(t){var e=!1;return e=Array.isArray(this.selectionKey)?!!this.selectionKey.find((function(e){return!0===t[e]})):t[this.selectionKey],e},_shouldClearSelection:function(t,e){var n=this.getActiveObjects(),i=this._activeObject;return!e||e&&i&&n.length>1&&-1===n.indexOf(e)&&i!==e&&!this._isSelectionKeyPressed(t)||e&&!e.evented||e&&!e.selectable&&i&&i!==e},_shouldCenterTransform:function(t,e,n){var i;if(t)return"scale"===e||"scaleX"===e||"scaleY"===e||"resizing"===e?i=this.centeredScaling||t.centeredScaling:"rotate"===e&&(i=this.centeredRotation||t.centeredRotation),i?!n:n},_getOriginFromCorner:function(t,e){var n={x:t.originX,y:t.originY};return"ml"===e||"tl"===e||"bl"===e?n.x="right":"mr"!==e&&"tr"!==e&&"br"!==e||(n.x="left"),"tl"===e||"mt"===e||"tr"===e?n.y="bottom":"bl"!==e&&"mb"!==e&&"br"!==e||(n.y="top"),n},_getActionFromCorner:function(t,e,n,i){if(!e||!t)return"drag";var r=i.controls[e];return r.getActionName(n,r,i)},_setupCurrentTransform:function(t,n,r){if(n){var o=this.getPointer(t),a=n.__corner,s=n.controls[a],l=r&&a?s.getActionHandler(t,n,s):i.controlsUtils.dragHandler,u=this._getActionFromCorner(r,a,t,n),c=this._getOriginFromCorner(n,a),h=t[this.centeredKey],f={target:n,action:u,actionHandler:l,corner:a,scaleX:n.scaleX,scaleY:n.scaleY,skewX:n.skewX,skewY:n.skewY,offsetX:o.x-n.left,offsetY:o.y-n.top,originX:c.x,originY:c.y,ex:o.x,ey:o.y,lastX:o.x,lastY:o.y,theta:e(n.angle),width:n.width*n.scaleX,shiftKey:t.shiftKey,altKey:h,original:i.util.saveObjectTransform(n)};this._shouldCenterTransform(n,u,h)&&(f.originX="center",f.originY="center"),f.original.originX=c.x,f.original.originY=c.y,this._currentTransform=f,this._beforeTransform(t)}},setCursor:function(t){this.upperCanvasEl.style.cursor=t},_drawSelection:function(t){var e=this._groupSelector,n=new i.Point(e.ex,e.ey),r=i.util.transformPoint(n,this.viewportTransform),o=new i.Point(e.ex+e.left,e.ey+e.top),a=i.util.transformPoint(o,this.viewportTransform),s=Math.min(r.x,a.x),l=Math.min(r.y,a.y),u=Math.max(r.x,a.x),c=Math.max(r.y,a.y),h=this.selectionLineWidth/2;this.selectionColor&&(t.fillStyle=this.selectionColor,t.fillRect(s,l,u-s,c-l)),this.selectionLineWidth&&this.selectionBorderColor&&(t.lineWidth=this.selectionLineWidth,t.strokeStyle=this.selectionBorderColor,s+=h,l+=h,u-=h,c-=h,i.Object.prototype._setLineDash.call(this,t,this.selectionDashArray),t.strokeRect(s,l,u-s,c-l))},findTarget:function(t,e){if(!this.skipTargetFind){var i,r,o=!0,a=this.getPointer(t,o),s=this._activeObject,l=this.getActiveObjects(),u=n(t),c=l.length>1&&!e||1===l.length;if(this.targets=[],c&&s._findTargetCorner(a,u))return s;if(l.length>1&&!e&&s===this._searchPossibleTargets([s],a))return s;if(1===l.length&&s===this._searchPossibleTargets([s],a)){if(!this.preserveObjectStacking)return s;i=s,r=this.targets,this.targets=[]}var h=this._searchPossibleTargets(this._objects,a);return t[this.altSelectionKey]&&h&&i&&h!==i&&(h=i,this.targets=r),h}},_checkTarget:function(t,e,n){if(e&&e.visible&&e.evented&&e.containsPoint(t)){if(!this.perPixelTargetFind&&!e.perPixelTargetFind||e.isEditing)return!0;var i=this.isTargetTransparent(e,n.x,n.y);if(!i)return!0}},_searchPossibleTargets:function(t,e){var n,r,o=t.length;while(o--){var a=t[o],s=a.group?this._normalizePointer(a.group,e):e;if(this._checkTarget(s,a,e)){n=t[o],n.subTargetCheck&&n instanceof i.Group&&(r=this._searchPossibleTargets(n._objects,e),r&&this.targets.push(r));break}}return n},restorePointerVpt:function(t){return i.util.transformPoint(t,i.util.invertTransform(this.viewportTransform))},getPointer:function(e,n){if(this._absolutePointer&&!n)return this._absolutePointer;if(this._pointer&&n)return this._pointer;var i,r=t(e),o=this.upperCanvasEl,a=o.getBoundingClientRect(),s=a.width||0,l=a.height||0;s&&l||("top"in a&&"bottom"in a&&(l=Math.abs(a.top-a.bottom)),"right"in a&&"left"in a&&(s=Math.abs(a.right-a.left))),this.calcOffset(),r.x=r.x-this._offset.left,r.y=r.y-this._offset.top,n||(r=this.restorePointerVpt(r));var u=this.getRetinaScaling();return 1!==u&&(r.x/=u,r.y/=u),i=0===s||0===l?{width:1,height:1}:{width:o.width/s,height:o.height/l},{x:r.x*i.width,y:r.y*i.height}},_createUpperCanvas:function(){var t=this.lowerCanvasEl.className.replace(/\s*lower-canvas\s*/,""),e=this.lowerCanvasEl,n=this.upperCanvasEl;n?n.className="":(n=this._createCanvasElement(),this.upperCanvasEl=n),i.util.addClass(n,"upper-canvas "+t),this.wrapperEl.appendChild(n),this._copyCanvasStyle(e,n),this._applyCanvasStyle(n),this.contextTop=n.getContext("2d")},getTopContext:function(){return this.contextTop},_createCacheCanvas:function(){this.cacheCanvasEl=this._createCanvasElement(),this.cacheCanvasEl.setAttribute("width",this.width),this.cacheCanvasEl.setAttribute("height",this.height),this.contextCache=this.cacheCanvasEl.getContext("2d")},_initWrapperElement:function(){this.wrapperEl=i.util.wrapElement(this.lowerCanvasEl,"div",{class:this.containerClass}),i.util.setStyle(this.wrapperEl,{width:this.width+"px",height:this.height+"px",position:"relative"}),i.util.makeElementUnselectable(this.wrapperEl)},_applyCanvasStyle:function(t){var e=this.width||t.width,n=this.height||t.height;i.util.setStyle(t,{position:"absolute",width:e+"px",height:n+"px",left:0,top:0,"touch-action":this.allowTouchScrolling?"manipulation":"none","-ms-touch-action":this.allowTouchScrolling?"manipulation":"none"}),t.width=e,t.height=n,i.util.makeElementUnselectable(t)},_copyCanvasStyle:function(t,e){e.style.cssText=t.style.cssText},getSelectionContext:function(){return this.contextTop},getSelectionElement:function(){return this.upperCanvasEl},getActiveObject:function(){return this._activeObject},getActiveObjects:function(){var t=this._activeObject;return t?"activeSelection"===t.type&&t._objects?t._objects.slice(0):[t]:[]},_onObjectRemoved:function(t){t===this._activeObject&&(this.fire("before:selection:cleared",{target:t}),this._discardActiveObject(),this.fire("selection:cleared",{target:t}),t.fire("deselected")),t===this._hoveredTarget&&(this._hoveredTarget=null,this._hoveredTargets=[]),this.callSuper("_onObjectRemoved",t)},_fireSelectionEvents:function(t,e){var n=!1,i=this.getActiveObjects(),r=[],o=[];t.forEach((function(t){-1===i.indexOf(t)&&(n=!0,t.fire("deselected",{e:e,target:t}),o.push(t))})),i.forEach((function(i){-1===t.indexOf(i)&&(n=!0,i.fire("selected",{e:e,target:i}),r.push(i))})),t.length>0&&i.length>0?n&&this.fire("selection:updated",{e:e,selected:r,deselected:o}):i.length>0?this.fire("selection:created",{e:e,selected:r}):t.length>0&&this.fire("selection:cleared",{e:e,deselected:o})},setActiveObject:function(t,e){var n=this.getActiveObjects();return this._setActiveObject(t,e),this._fireSelectionEvents(n,e),this},_setActiveObject:function(t,e){return this._activeObject!==t&&(!!this._discardActiveObject(e,t)&&(!t.onSelect({e:e})&&(this._activeObject=t,!0)))},_discardActiveObject:function(t,e){var n=this._activeObject;if(n){if(n.onDeselect({e:t,object:e}))return!1;this._activeObject=null}return!0},discardActiveObject:function(t){var e=this.getActiveObjects(),n=this.getActiveObject();return e.length&&this.fire("before:selection:cleared",{target:n,e:t}),this._discardActiveObject(t),this._fireSelectionEvents(e,t),this},dispose:function(){var t=this.wrapperEl;return this.removeListeners(),t.removeChild(this.upperCanvasEl),t.removeChild(this.lowerCanvasEl),this.contextCache=null,this.contextTop=null,["upperCanvasEl","cacheCanvasEl"].forEach(function(t){i.util.cleanUpJsdomNode(this[t]),this[t]=void 0}.bind(this)),t.parentNode&&t.parentNode.replaceChild(this.lowerCanvasEl,this.wrapperEl),delete this.wrapperEl,i.StaticCanvas.prototype.dispose.call(this),this},clear:function(){return this.discardActiveObject(),this.clearContext(this.contextTop),this.callSuper("clear")},drawControls:function(t){var e=this._activeObject;e&&e._renderControls(t)},_toObject:function(t,e,n){var i=this._realizeGroupTransformOnObject(t),r=this.callSuper("_toObject",t,e,n);return this._unwindGroupTransformOnObject(t,i),r},_realizeGroupTransformOnObject:function(t){if(t.group&&"activeSelection"===t.group.type&&this._activeObject===t.group){var e=["angle","flipX","flipY","left","scaleX","scaleY","skewX","skewY","top"],n={};return e.forEach((function(e){n[e]=t[e]})),i.util.addTransformToObject(t,this._activeObject.calcOwnMatrix()),n}return null},_unwindGroupTransformOnObject:function(t,e){e&&t.set(e)},_setSVGObject:function(t,e,n){var i=this._realizeGroupTransformOnObject(e);this.callSuper("_setSVGObject",t,e,n),this._unwindGroupTransformOnObject(e,i)},setViewportTransform:function(t){this.renderOnAddRemove&&this._activeObject&&this._activeObject.isEditing&&this._activeObject.clearContextTop(),i.StaticCanvas.prototype.setViewportTransform.call(this,t)}}),i.StaticCanvas)"prototype"!==r&&(i.Canvas[r]=i.StaticCanvas[r])}(),function(){var t=i.util.addListener,e=i.util.removeListener,n=3,r=2,o=1,a={passive:!1};function s(t,e){return t.button&&t.button===e-1}i.util.object.extend(i.Canvas.prototype,{mainTouchId:null,_initEventListeners:function(){this.removeListeners(),this._bindEvents(),this.addOrRemove(t,"add")},_getEventPrefix:function(){return this.enablePointerEvents?"pointer":"mouse"},addOrRemove:function(t,e){var n=this.upperCanvasEl,r=this._getEventPrefix();t(i.window,"resize",this._onResize),t(n,r+"down",this._onMouseDown),t(n,r+"move",this._onMouseMove,a),t(n,r+"out",this._onMouseOut),t(n,r+"enter",this._onMouseEnter),t(n,"wheel",this._onMouseWheel),t(n,"contextmenu",this._onContextMenu),t(n,"dblclick",this._onDoubleClick),t(n,"dragover",this._onDragOver),t(n,"dragenter",this._onDragEnter),t(n,"dragleave",this._onDragLeave),t(n,"drop",this._onDrop),this.enablePointerEvents||t(n,"touchstart",this._onTouchStart,a),"undefined"!==typeof eventjs&&e in eventjs&&(eventjs[e](n,"gesture",this._onGesture),eventjs[e](n,"drag",this._onDrag),eventjs[e](n,"orientation",this._onOrientationChange),eventjs[e](n,"shake",this._onShake),eventjs[e](n,"longpress",this._onLongPress))},removeListeners:function(){this.addOrRemove(e,"remove");var t=this._getEventPrefix();e(i.document,t+"up",this._onMouseUp),e(i.document,"touchend",this._onTouchEnd,a),e(i.document,t+"move",this._onMouseMove,a),e(i.document,"touchmove",this._onMouseMove,a)},_bindEvents:function(){this.eventsBound||(this._onMouseDown=this._onMouseDown.bind(this),this._onTouchStart=this._onTouchStart.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onTouchEnd=this._onTouchEnd.bind(this),this._onResize=this._onResize.bind(this),this._onGesture=this._onGesture.bind(this),this._onDrag=this._onDrag.bind(this),this._onShake=this._onShake.bind(this),this._onLongPress=this._onLongPress.bind(this),this._onOrientationChange=this._onOrientationChange.bind(this),this._onMouseWheel=this._onMouseWheel.bind(this),this._onMouseOut=this._onMouseOut.bind(this),this._onMouseEnter=this._onMouseEnter.bind(this),this._onContextMenu=this._onContextMenu.bind(this),this._onDoubleClick=this._onDoubleClick.bind(this),this._onDragOver=this._onDragOver.bind(this),this._onDragEnter=this._simpleEventHandler.bind(this,"dragenter"),this._onDragLeave=this._simpleEventHandler.bind(this,"dragleave"),this._onDrop=this._onDrop.bind(this),this.eventsBound=!0)},_onGesture:function(t,e){this.__onTransformGesture&&this.__onTransformGesture(t,e)},_onDrag:function(t,e){this.__onDrag&&this.__onDrag(t,e)},_onMouseWheel:function(t){this.__onMouseWheel(t)},_onMouseOut:function(t){var e=this._hoveredTarget;this.fire("mouse:out",{target:e,e:t}),this._hoveredTarget=null,e&&e.fire("mouseout",{e:t});var n=this;this._hoveredTargets.forEach((function(i){n.fire("mouse:out",{target:e,e:t}),i&&e.fire("mouseout",{e:t})})),this._hoveredTargets=[]},_onMouseEnter:function(t){this._currentTransform||this.findTarget(t)||(this.fire("mouse:over",{target:null,e:t}),this._hoveredTarget=null,this._hoveredTargets=[])},_onOrientationChange:function(t,e){this.__onOrientationChange&&this.__onOrientationChange(t,e)},_onShake:function(t,e){this.__onShake&&this.__onShake(t,e)},_onLongPress:function(t,e){this.__onLongPress&&this.__onLongPress(t,e)},_onDragOver:function(t){t.preventDefault();var e=this._simpleEventHandler("dragover",t);this._fireEnterLeaveEvents(e,t)},_onDrop:function(t){return this._simpleEventHandler("drop:before",t),this._simpleEventHandler("drop",t)},_onContextMenu:function(t){return this.stopContextMenu&&(t.stopPropagation(),t.preventDefault()),!1},_onDoubleClick:function(t){this._cacheTransformEventData(t),this._handleEvent(t,"dblclick"),this._resetTransformEventData(t)},getPointerId:function(t){var e=t.changedTouches;return e?e[0]&&e[0].identifier:this.enablePointerEvents?t.pointerId:-1},_isMainEvent:function(t){return!0===t.isPrimary||!1!==t.isPrimary&&("touchend"===t.type&&0===t.touches.length||(!t.changedTouches||t.changedTouches[0].identifier===this.mainTouchId))},_onTouchStart:function(n){n.preventDefault(),null===this.mainTouchId&&(this.mainTouchId=this.getPointerId(n)),this.__onMouseDown(n),this._resetTransformEventData();var r=this.upperCanvasEl,o=this._getEventPrefix();t(i.document,"touchend",this._onTouchEnd,a),t(i.document,"touchmove",this._onMouseMove,a),e(r,o+"down",this._onMouseDown)},_onMouseDown:function(n){this.__onMouseDown(n),this._resetTransformEventData();var r=this.upperCanvasEl,o=this._getEventPrefix();e(r,o+"move",this._onMouseMove,a),t(i.document,o+"up",this._onMouseUp),t(i.document,o+"move",this._onMouseMove,a)},_onTouchEnd:function(n){if(!(n.touches.length>0)){this.__onMouseUp(n),this._resetTransformEventData(),this.mainTouchId=null;var r=this._getEventPrefix();e(i.document,"touchend",this._onTouchEnd,a),e(i.document,"touchmove",this._onMouseMove,a);var o=this;this._willAddMouseDown&&clearTimeout(this._willAddMouseDown),this._willAddMouseDown=setTimeout((function(){t(o.upperCanvasEl,r+"down",o._onMouseDown),o._willAddMouseDown=0}),400)}},_onMouseUp:function(n){this.__onMouseUp(n),this._resetTransformEventData();var r=this.upperCanvasEl,o=this._getEventPrefix();this._isMainEvent(n)&&(e(i.document,o+"up",this._onMouseUp),e(i.document,o+"move",this._onMouseMove,a),t(r,o+"move",this._onMouseMove,a))},_onMouseMove:function(t){!this.allowTouchScrolling&&t.preventDefault&&t.preventDefault(),this.__onMouseMove(t)},_onResize:function(){this.calcOffset()},_shouldRender:function(t){var e=this._activeObject;return!!(!!e!==!!t||e&&t&&e!==t)||(e&&e.isEditing,!1)},__onMouseUp:function(t){var e,a=this._currentTransform,l=this._groupSelector,u=!1,c=!l||0===l.left&&0===l.top;if(this._cacheTransformEventData(t),e=this._target,this._handleEvent(t,"up:before"),s(t,n))this.fireRightClick&&this._handleEvent(t,"up",n,c);else{if(s(t,r))return this.fireMiddleClick&&this._handleEvent(t,"up",r,c),void this._resetTransformEventData();if(this.isDrawingMode&&this._isCurrentlyDrawing)this._onMouseUpInDrawingMode(t);else if(this._isMainEvent(t)){if(a&&(this._finalizeCurrentTransform(t),u=a.actionPerformed),!c){var h=e===this._activeObject;this._maybeGroupObjects(t),u||(u=this._shouldRender(e)||!h&&e===this._activeObject)}var f,d;if(e){if(f=e._findTargetCorner(this.getPointer(t,!0),i.util.isTouchEvent(t)),e.selectable&&e!==this._activeObject&&"up"===e.activeOn)this.setActiveObject(e,t),u=!0;else{var p=e.controls[f],g=p&&p.getMouseUpHandler(t,e,p);g&&(d=this.getPointer(t),g(t,a,d.x,d.y))}e.isMoving=!1}if(a&&(a.target!==e||a.corner!==f)){var v=a.target&&a.target.controls[a.corner],m=v&&v.getMouseUpHandler(t,e,p);d=d||this.getPointer(t),m&&m(t,a,d.x,d.y)}this._setCursorFromEvent(t,e),this._handleEvent(t,"up",o,c),this._groupSelector=null,this._currentTransform=null,e&&(e.__corner=0),u?this.requestRenderAll():c||this.renderTop()}}},_simpleEventHandler:function(t,e){var n=this.findTarget(e),i=this.targets,r={e:e,target:n,subTargets:i};if(this.fire(t,r),n&&n.fire(t,r),!i)return n;for(var o=0;o<i.length;o++)i[o].fire(t,r);return n},_handleEvent:function(t,e,n,i){var r=this._target,a=this.targets||[],s={e:t,target:r,subTargets:a,button:n||o,isClick:i||!1,pointer:this._pointer,absolutePointer:this._absolutePointer,transform:this._currentTransform};"up"===e&&(s.currentTarget=this.findTarget(t),s.currentSubTargets=this.targets),this.fire("mouse:"+e,s),r&&r.fire("mouse"+e,s);for(var l=0;l<a.length;l++)a[l].fire("mouse"+e,s)},_finalizeCurrentTransform:function(t){var e=this._currentTransform,n=e.target,i={e:t,target:n,transform:e,action:e.action};n._scaling&&(n._scaling=!1),n.setCoords(),(e.actionPerformed||this.stateful&&n.hasStateChanged())&&this._fire("modified",i)},_onMouseDownInDrawingMode:function(t){this._isCurrentlyDrawing=!0,this.getActiveObject()&&this.discardActiveObject(t).requestRenderAll();var e=this.getPointer(t);this.freeDrawingBrush.onMouseDown(e,{e:t,pointer:e}),this._handleEvent(t,"down")},_onMouseMoveInDrawingMode:function(t){if(this._isCurrentlyDrawing){var e=this.getPointer(t);this.freeDrawingBrush.onMouseMove(e,{e:t,pointer:e})}this.setCursor(this.freeDrawingCursor),this._handleEvent(t,"move")},_onMouseUpInDrawingMode:function(t){var e=this.getPointer(t);this._isCurrentlyDrawing=this.freeDrawingBrush.onMouseUp({e:t,pointer:e}),this._handleEvent(t,"up")},__onMouseDown:function(t){this._cacheTransformEventData(t),this._handleEvent(t,"down:before");var e=this._target;if(s(t,n))this.fireRightClick&&this._handleEvent(t,"down",n);else if(s(t,r))this.fireMiddleClick&&this._handleEvent(t,"down",r);else if(this.isDrawingMode)this._onMouseDownInDrawingMode(t);else if(this._isMainEvent(t)&&!this._currentTransform){var o=this._pointer;this._previousPointer=o;var a=this._shouldRender(e),l=this._shouldGroup(t,e);if(this._shouldClearSelection(t,e)?this.discardActiveObject(t):l&&(this._handleGrouping(t,e),e=this._activeObject),!this.selection||e&&(e.selectable||e.isEditing||e===this._activeObject)||(this._groupSelector={ex:this._absolutePointer.x,ey:this._absolutePointer.y,top:0,left:0}),e){var u=e===this._activeObject;e.selectable&&"down"===e.activeOn&&this.setActiveObject(e,t);var c=e._findTargetCorner(this.getPointer(t,!0),i.util.isTouchEvent(t));if(e.__corner=c,e===this._activeObject&&(c||!l)){this._setupCurrentTransform(t,e,u);var h=e.controls[c],f=(o=this.getPointer(t),h&&h.getMouseDownHandler(t,e,h));f&&f(t,this._currentTransform,o.x,o.y)}}this._handleEvent(t,"down"),(a||l)&&this.requestRenderAll()}},_resetTransformEventData:function(){this._target=null,this._pointer=null,this._absolutePointer=null},_cacheTransformEventData:function(t){this._resetTransformEventData(),this._pointer=this.getPointer(t,!0),this._absolutePointer=this.restorePointerVpt(this._pointer),this._target=this._currentTransform?this._currentTransform.target:this.findTarget(t)||null},_beforeTransform:function(t){var e=this._currentTransform;this.stateful&&e.target.saveState(),this.fire("before:transform",{e:t,transform:e})},__onMouseMove:function(t){var e,n;if(this._handleEvent(t,"move:before"),this._cacheTransformEventData(t),this.isDrawingMode)this._onMouseMoveInDrawingMode(t);else if(this._isMainEvent(t)){var i=this._groupSelector;i?(n=this._absolutePointer,i.left=n.x-i.ex,i.top=n.y-i.ey,this.renderTop()):this._currentTransform?this._transformObject(t):(e=this.findTarget(t)||null,this._setCursorFromEvent(t,e),this._fireOverOutEvents(e,t)),this._handleEvent(t,"move"),this._resetTransformEventData()}},_fireOverOutEvents:function(t,e){var n=this._hoveredTarget,i=this._hoveredTargets,r=this.targets,o=Math.max(i.length,r.length);this.fireSyntheticInOutEvents(t,e,{oldTarget:n,evtOut:"mouseout",canvasEvtOut:"mouse:out",evtIn:"mouseover",canvasEvtIn:"mouse:over"});for(var a=0;a<o;a++)this.fireSyntheticInOutEvents(r[a],e,{oldTarget:i[a],evtOut:"mouseout",evtIn:"mouseover"});this._hoveredTarget=t,this._hoveredTargets=this.targets.concat()},_fireEnterLeaveEvents:function(t,e){var n=this._draggedoverTarget,i=this._hoveredTargets,r=this.targets,o=Math.max(i.length,r.length);this.fireSyntheticInOutEvents(t,e,{oldTarget:n,evtOut:"dragleave",evtIn:"dragenter"});for(var a=0;a<o;a++)this.fireSyntheticInOutEvents(r[a],e,{oldTarget:i[a],evtOut:"dragleave",evtIn:"dragenter"});this._draggedoverTarget=t},fireSyntheticInOutEvents:function(t,e,n){var i,r,o,a,s=n.oldTarget,l=s!==t,u=n.canvasEvtIn,c=n.canvasEvtOut;l&&(i={e:e,target:t,previousTarget:s},r={e:e,target:s,nextTarget:t}),a=t&&l,o=s&&l,o&&(c&&this.fire(c,r),s.fire(n.evtOut,r)),a&&(u&&this.fire(u,i),t.fire(n.evtIn,i))},__onMouseWheel:function(t){this._cacheTransformEventData(t),this._handleEvent(t,"wheel"),this._resetTransformEventData()},_transformObject:function(t){var e=this.getPointer(t),n=this._currentTransform;n.reset=!1,n.shiftKey=t.shiftKey,n.altKey=t[this.centeredKey],this._performTransformAction(t,n,e),n.actionPerformed&&this.requestRenderAll()},_performTransformAction:function(t,e,n){var i=n.x,r=n.y,o=e.action,a=!1,s=e.actionHandler;s&&(a=s(t,e,i,r)),"drag"===o&&a&&(e.target.isMoving=!0,this.setCursor(e.target.moveCursor||this.moveCursor)),e.actionPerformed=e.actionPerformed||a},_fire:i.controlsUtils.fireEvent,_setCursorFromEvent:function(t,e){if(!e)return this.setCursor(this.defaultCursor),!1;var n=e.hoverCursor||this.hoverCursor,i=this._activeObject&&"activeSelection"===this._activeObject.type?this._activeObject:null,r=(!i||!i.contains(e))&&e._findTargetCorner(this.getPointer(t,!0));r?this.setCursor(this.getCornerCursor(r,e,t)):(e.subTargetCheck&&this.targets.concat().reverse().map((function(t){n=t.hoverCursor||n})),this.setCursor(n))},getCornerCursor:function(t,e,n){var i=e.controls[t];return i.cursorStyleHandler(n,i,e)}})}(),function(){var t=Math.min,e=Math.max;i.util.object.extend(i.Canvas.prototype,{_shouldGroup:function(t,e){var n=this._activeObject;return n&&this._isSelectionKeyPressed(t)&&e&&e.selectable&&this.selection&&(n!==e||"activeSelection"===n.type)&&!e.onSelect({e:t})},_handleGrouping:function(t,e){var n=this._activeObject;n.__corner||(e!==n||(e=this.findTarget(t,!0),e&&e.selectable))&&(n&&"activeSelection"===n.type?this._updateActiveSelection(e,t):this._createActiveSelection(e,t))},_updateActiveSelection:function(t,e){var n=this._activeObject,i=n._objects.slice(0);n.contains(t)?(n.removeWithUpdate(t),this._hoveredTarget=t,this._hoveredTargets=this.targets.concat(),1===n.size()&&this._setActiveObject(n.item(0),e)):(n.addWithUpdate(t),this._hoveredTarget=n,this._hoveredTargets=this.targets.concat()),this._fireSelectionEvents(i,e)},_createActiveSelection:function(t,e){var n=this.getActiveObjects(),i=this._createGroup(t);this._hoveredTarget=i,this._setActiveObject(i,e),this._fireSelectionEvents(n,e)},_createGroup:function(t){var e=this._objects,n=e.indexOf(this._activeObject)<e.indexOf(t),r=n?[this._activeObject,t]:[t,this._activeObject];return this._activeObject.isEditing&&this._activeObject.exitEditing(),new i.ActiveSelection(r,{canvas:this})},_groupSelectedObjects:function(t){var e,n=this._collectObjects(t);1===n.length?this.setActiveObject(n[0],t):n.length>1&&(e=new i.ActiveSelection(n.reverse(),{canvas:this}),this.setActiveObject(e,t))},_collectObjects:function(n){for(var r,o=[],a=this._groupSelector.ex,s=this._groupSelector.ey,l=a+this._groupSelector.left,u=s+this._groupSelector.top,c=new i.Point(t(a,l),t(s,u)),h=new i.Point(e(a,l),e(s,u)),f=!this.selectionFullyContained,d=a===l&&s===u,p=this._objects.length;p--;)if(r=this._objects[p],r&&r.selectable&&r.visible&&(f&&r.intersectsWithRect(c,h,!0)||r.isContainedWithinRect(c,h,!0)||f&&r.containsPoint(c,null,!0)||f&&r.containsPoint(h,null,!0))&&(o.push(r),d))break;return o.length>1&&(o=o.filter((function(t){return!t.onSelect({e:n})}))),o},_maybeGroupObjects:function(t){this.selection&&this._groupSelector&&this._groupSelectedObjects(t),this.setCursor(this.defaultCursor),this._groupSelector=null}})}(),function(){i.util.object.extend(i.StaticCanvas.prototype,{toDataURL:function(t){t||(t={});var e=t.format||"png",n=t.quality||1,r=(t.multiplier||1)*(t.enableRetinaScaling?this.getRetinaScaling():1),o=this.toCanvasElement(r,t);return i.util.toDataURL(o,e,n)},toCanvasElement:function(t,e){t=t||1,e=e||{};var n=(e.width||this.width)*t,r=(e.height||this.height)*t,o=this.getZoom(),a=this.width,s=this.height,l=o*t,u=this.viewportTransform,c=(u[4]-(e.left||0))*t,h=(u[5]-(e.top||0))*t,f=this.interactive,d=[l,0,0,l,c,h],p=this.enableRetinaScaling,g=i.util.createCanvasElement(),v=this.contextTop;return g.width=n,g.height=r,this.contextTop=null,this.enableRetinaScaling=!1,this.interactive=!1,this.viewportTransform=d,this.width=n,this.height=r,this.calcViewportBoundaries(),this.renderCanvas(g.getContext("2d"),this._objects),this.viewportTransform=u,this.width=a,this.height=s,this.calcViewportBoundaries(),this.interactive=f,this.enableRetinaScaling=p,this.contextTop=v,g}})}(),i.util.object.extend(i.StaticCanvas.prototype,{loadFromJSON:function(t,e,n){if(t){var r="string"===typeof t?JSON.parse(t):i.util.object.clone(t),o=this,a=r.clipPath,s=this.renderOnAddRemove;return this.renderOnAddRemove=!1,delete r.clipPath,this._enlivenObjects(r.objects,(function(t){o.clear(),o._setBgOverlay(r,(function(){a?o._enlivenObjects([a],(function(n){o.clipPath=n[0],o.__setupCanvas.call(o,r,t,s,e)})):o.__setupCanvas.call(o,r,t,s,e)}))}),n),this}},__setupCanvas:function(t,e,n,i){var r=this;e.forEach((function(t,e){r.insertAt(t,e)})),this.renderOnAddRemove=n,delete t.objects,delete t.backgroundImage,delete t.overlayImage,delete t.background,delete t.overlay,this._setOptions(t),this.renderAll(),i&&i()},_setBgOverlay:function(t,e){var n={backgroundColor:!1,overlayColor:!1,backgroundImage:!1,overlayImage:!1};if(t.backgroundImage||t.overlayImage||t.background||t.overlay){var i=function(){n.backgroundImage&&n.overlayImage&&n.backgroundColor&&n.overlayColor&&e&&e()};this.__setBgOverlay("backgroundImage",t.backgroundImage,n,i),this.__setBgOverlay("overlayImage",t.overlayImage,n,i),this.__setBgOverlay("backgroundColor",t.background,n,i),this.__setBgOverlay("overlayColor",t.overlay,n,i)}else e&&e()},__setBgOverlay:function(t,e,n,r){var o=this;if(!e)return n[t]=!0,void(r&&r());"backgroundImage"===t||"overlayImage"===t?i.util.enlivenObjects([e],(function(e){o[t]=e[0],n[t]=!0,r&&r()})):this["set"+i.util.string.capitalize(t,!0)](e,(function(){n[t]=!0,r&&r()}))},_enlivenObjects:function(t,e,n){t&&0!==t.length?i.util.enlivenObjects(t,(function(t){e&&e(t)}),null,n):e&&e([])},_toDataURL:function(t,e){this.clone((function(n){e(n.toDataURL(t))}))},_toDataURLWithMultiplier:function(t,e,n){this.clone((function(i){n(i.toDataURLWithMultiplier(t,e))}))},clone:function(t,e){var n=JSON.stringify(this.toJSON(e));this.cloneWithoutData((function(e){e.loadFromJSON(n,(function(){t&&t(e)}))}))},cloneWithoutData:function(t){var e=i.util.createCanvasElement();e.width=this.width,e.height=this.height;var n=new i.Canvas(e);this.backgroundImage?(n.setBackgroundImage(this.backgroundImage.src,(function(){n.renderAll(),t&&t(n)})),n.backgroundImageOpacity=this.backgroundImageOpacity,n.backgroundImageStretch=this.backgroundImageStretch):t&&t(n)}}),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend,i=e.util.object.clone,r=e.util.toFixed,o=e.util.string.capitalize,a=e.util.degreesToRadians,s=!e.isLikelyNode,l=2;e.Object||(e.Object=e.util.createClass(e.CommonMethods,{type:"object",originX:"left",originY:"top",top:0,left:0,width:0,height:0,scaleX:1,scaleY:1,flipX:!1,flipY:!1,opacity:1,angle:0,skewX:0,skewY:0,cornerSize:13,touchCornerSize:24,transparentCorners:!0,hoverCursor:null,moveCursor:null,padding:0,borderColor:"rgb(178,204,255)",borderDashArray:null,cornerColor:"rgb(178,204,255)",cornerStrokeColor:null,cornerStyle:"rect",cornerDashArray:null,centeredScaling:!1,centeredRotation:!0,fill:"rgb(0,0,0)",fillRule:"nonzero",globalCompositeOperation:"source-over",backgroundColor:"",selectionBackgroundColor:"",stroke:null,strokeWidth:1,strokeDashArray:null,strokeDashOffset:0,strokeLineCap:"butt",strokeLineJoin:"miter",strokeMiterLimit:4,shadow:null,borderOpacityWhenMoving:.4,borderScaleFactor:1,minScaleLimit:0,selectable:!0,evented:!0,visible:!0,hasControls:!0,hasBorders:!0,perPixelTargetFind:!1,includeDefaultValues:!0,lockMovementX:!1,lockMovementY:!1,lockRotation:!1,lockScalingX:!1,lockScalingY:!1,lockSkewingX:!1,lockSkewingY:!1,lockScalingFlip:!1,excludeFromExport:!1,objectCaching:s,statefullCache:!1,noScaleCache:!0,strokeUniform:!1,dirty:!0,__corner:0,paintFirst:"fill",activeOn:"down",stateProperties:"top left width height scaleX scaleY flipX flipY originX originY transformMatrix stroke strokeWidth strokeDashArray strokeLineCap strokeDashOffset strokeLineJoin strokeMiterLimit angle opacity fill globalCompositeOperation shadow visible backgroundColor skewX skewY fillRule paintFirst clipPath strokeUniform".split(" "),cacheProperties:"fill stroke strokeWidth strokeDashArray width height paintFirst strokeUniform strokeLineCap strokeDashOffset strokeLineJoin strokeMiterLimit backgroundColor clipPath".split(" "),colorProperties:"fill stroke backgroundColor".split(" "),clipPath:void 0,inverted:!1,absolutePositioned:!1,initialize:function(t){t&&this.setOptions(t)},_createCacheCanvas:function(){this._cacheProperties={},this._cacheCanvas=e.util.createCanvasElement(),this._cacheContext=this._cacheCanvas.getContext("2d"),this._updateCacheCanvas(),this.dirty=!0},_limitCacheSize:function(t){var n=e.perfLimitSizeTotal,i=t.width,r=t.height,o=e.maxCacheSideLimit,a=e.minCacheSideLimit;if(i<=o&&r<=o&&i*r<=n)return i<a&&(t.width=a),r<a&&(t.height=a),t;var s=i/r,l=e.util.limitDimsByArea(s,n),u=e.util.capValue,c=u(a,l.x,o),h=u(a,l.y,o);return i>c&&(t.zoomX/=i/c,t.width=c,t.capped=!0),r>h&&(t.zoomY/=r/h,t.height=h,t.capped=!0),t},_getCacheCanvasDimensions:function(){var t=this.getTotalObjectScaling(),e=this._getTransformedDimensions(0,0),n=e.x*t.scaleX/this.scaleX,i=e.y*t.scaleY/this.scaleY;return{width:n+l,height:i+l,zoomX:t.scaleX,zoomY:t.scaleY,x:n,y:i}},_updateCacheCanvas:function(){var t=this.canvas;if(this.noScaleCache&&t&&t._currentTransform){var n=t._currentTransform.target,i=t._currentTransform.action;if(this===n&&i.slice&&"scale"===i.slice(0,5))return!1}var r,o,a=this._cacheCanvas,s=this._limitCacheSize(this._getCacheCanvasDimensions()),l=e.minCacheSideLimit,u=s.width,c=s.height,h=s.zoomX,f=s.zoomY,d=u!==this.cacheWidth||c!==this.cacheHeight,p=this.zoomX!==h||this.zoomY!==f,g=d||p,v=0,m=0,y=!1;if(d){var b=this._cacheCanvas.width,_=this._cacheCanvas.height,x=u>b||c>_,w=(u<.9*b||c<.9*_)&&b>l&&_>l;y=x||w,x&&!s.capped&&(u>l||c>l)&&(v=.1*u,m=.1*c)}return this instanceof e.Text&&this.path&&(g=!0,y=!0,v+=this.getHeightOfLine(0)*this.zoomX,m+=this.getHeightOfLine(0)*this.zoomY),!!g&&(y?(a.width=Math.ceil(u+v),a.height=Math.ceil(c+m)):(this._cacheContext.setTransform(1,0,0,1,0,0),this._cacheContext.clearRect(0,0,a.width,a.height)),r=s.x/2,o=s.y/2,this.cacheTranslationX=Math.round(a.width/2-r)+r,this.cacheTranslationY=Math.round(a.height/2-o)+o,this.cacheWidth=u,this.cacheHeight=c,this._cacheContext.translate(this.cacheTranslationX,this.cacheTranslationY),this._cacheContext.scale(h,f),this.zoomX=h,this.zoomY=f,!0)},setOptions:function(t){this._setOptions(t),this._initGradient(t.fill,"fill"),this._initGradient(t.stroke,"stroke"),this._initPattern(t.fill,"fill"),this._initPattern(t.stroke,"stroke")},transform:function(t){var e=this.group&&!this.group._transformDone||this.group&&this.canvas&&t===this.canvas.contextTop,n=this.calcTransformMatrix(!e);t.transform(n[0],n[1],n[2],n[3],n[4],n[5])},toObject:function(t){var n=e.Object.NUM_FRACTION_DIGITS,i={type:this.type,version:e.version,originX:this.originX,originY:this.originY,left:r(this.left,n),top:r(this.top,n),width:r(this.width,n),height:r(this.height,n),fill:this.fill&&this.fill.toObject?this.fill.toObject():this.fill,stroke:this.stroke&&this.stroke.toObject?this.stroke.toObject():this.stroke,strokeWidth:r(this.strokeWidth,n),strokeDashArray:this.strokeDashArray?this.strokeDashArray.concat():this.strokeDashArray,strokeLineCap:this.strokeLineCap,strokeDashOffset:this.strokeDashOffset,strokeLineJoin:this.strokeLineJoin,strokeUniform:this.strokeUniform,strokeMiterLimit:r(this.strokeMiterLimit,n),scaleX:r(this.scaleX,n),scaleY:r(this.scaleY,n),angle:r(this.angle,n),flipX:this.flipX,flipY:this.flipY,opacity:r(this.opacity,n),shadow:this.shadow&&this.shadow.toObject?this.shadow.toObject():this.shadow,visible:this.visible,backgroundColor:this.backgroundColor,fillRule:this.fillRule,paintFirst:this.paintFirst,globalCompositeOperation:this.globalCompositeOperation,skewX:r(this.skewX,n),skewY:r(this.skewY,n)};return this.clipPath&&!this.clipPath.excludeFromExport&&(i.clipPath=this.clipPath.toObject(t),i.clipPath.inverted=this.clipPath.inverted,i.clipPath.absolutePositioned=this.clipPath.absolutePositioned),e.util.populateWithProperties(this,i,t),this.includeDefaultValues||(i=this._removeDefaultValues(i)),i},toDatalessObject:function(t){return this.toObject(t)},_removeDefaultValues:function(t){var n=e.util.getKlass(t.type).prototype,i=n.stateProperties;return i.forEach((function(e){"left"!==e&&"top"!==e&&(t[e]===n[e]&&delete t[e],Array.isArray(t[e])&&Array.isArray(n[e])&&0===t[e].length&&0===n[e].length&&delete t[e])})),t},toString:function(){return"#<fabric."+o(this.type)+">"},getObjectScaling:function(){if(!this.group)return{scaleX:this.scaleX,scaleY:this.scaleY};var t=e.util.qrDecompose(this.calcTransformMatrix());return{scaleX:Math.abs(t.scaleX),scaleY:Math.abs(t.scaleY)}},getTotalObjectScaling:function(){var t=this.getObjectScaling(),e=t.scaleX,n=t.scaleY;if(this.canvas){var i=this.canvas.getZoom(),r=this.canvas.getRetinaScaling();e*=i*r,n*=i*r}return{scaleX:e,scaleY:n}},getObjectOpacity:function(){var t=this.opacity;return this.group&&(t*=this.group.getObjectOpacity()),t},_set:function(t,n){var i="scaleX"===t||"scaleY"===t,r=this[t]!==n,o=!1;return i&&(n=this._constrainScale(n)),"scaleX"===t&&n<0?(this.flipX=!this.flipX,n*=-1):"scaleY"===t&&n<0?(this.flipY=!this.flipY,n*=-1):"shadow"!==t||!n||n instanceof e.Shadow?"dirty"===t&&this.group&&this.group.set("dirty",n):n=new e.Shadow(n),this[t]=n,r&&(o=this.group&&this.group.isOnACache(),this.cacheProperties.indexOf(t)>-1?(this.dirty=!0,o&&this.group.set("dirty",!0)):o&&this.stateProperties.indexOf(t)>-1&&this.group.set("dirty",!0)),this},setOnGroup:function(){},getViewportTransform:function(){return this.canvas&&this.canvas.viewportTransform?this.canvas.viewportTransform:e.iMatrix.concat()},isNotVisible:function(){return 0===this.opacity||!this.width&&!this.height&&0===this.strokeWidth||!this.visible},render:function(t){this.isNotVisible()||this.canvas&&this.canvas.skipOffscreen&&!this.group&&!this.isOnScreen()||(t.save(),this._setupCompositeOperation(t),this.drawSelectionBackground(t),this.transform(t),this._setOpacity(t),this._setShadow(t,this),this.shouldCache()?(this.renderCache(),this.drawCacheOnCanvas(t)):(this._removeCacheCanvas(),this.dirty=!1,this.drawObject(t),this.objectCaching&&this.statefullCache&&this.saveState({propertySet:"cacheProperties"})),t.restore())},renderCache:function(t){t=t||{},this._cacheCanvas&&this._cacheContext||this._createCacheCanvas(),this.isCacheDirty()&&(this.statefullCache&&this.saveState({propertySet:"cacheProperties"}),this.drawObject(this._cacheContext,t.forClipping),this.dirty=!1)},_removeCacheCanvas:function(){this._cacheCanvas=null,this._cacheContext=null,this.cacheWidth=0,this.cacheHeight=0},hasStroke:function(){return this.stroke&&"transparent"!==this.stroke&&0!==this.strokeWidth},hasFill:function(){return this.fill&&"transparent"!==this.fill},needsItsOwnCache:function(){return!("stroke"!==this.paintFirst||!this.hasFill()||!this.hasStroke()||"object"!==typeof this.shadow)||!!this.clipPath},shouldCache:function(){return this.ownCaching=this.needsItsOwnCache()||this.objectCaching&&(!this.group||!this.group.isOnACache()),this.ownCaching},willDrawShadow:function(){return!!this.shadow&&(0!==this.shadow.offsetX||0!==this.shadow.offsetY)},drawClipPathOnCache:function(t,n){if(t.save(),n.inverted?t.globalCompositeOperation="destination-out":t.globalCompositeOperation="destination-in",n.absolutePositioned){var i=e.util.invertTransform(this.calcTransformMatrix());t.transform(i[0],i[1],i[2],i[3],i[4],i[5])}n.transform(t),t.scale(1/n.zoomX,1/n.zoomY),t.drawImage(n._cacheCanvas,-n.cacheTranslationX,-n.cacheTranslationY),t.restore()},drawObject:function(t,e){var n=this.fill,i=this.stroke;e?(this.fill="black",this.stroke="",this._setClippingProperties(t)):this._renderBackground(t),this._render(t),this._drawClipPath(t,this.clipPath),this.fill=n,this.stroke=i},_drawClipPath:function(t,e){e&&(e.canvas=this.canvas,e.shouldCache(),e._transformDone=!0,e.renderCache({forClipping:!0}),this.drawClipPathOnCache(t,e))},drawCacheOnCanvas:function(t){t.scale(1/this.zoomX,1/this.zoomY),t.drawImage(this._cacheCanvas,-this.cacheTranslationX,-this.cacheTranslationY)},isCacheDirty:function(t){if(this.isNotVisible())return!1;if(this._cacheCanvas&&this._cacheContext&&!t&&this._updateCacheCanvas())return!0;if(this.dirty||this.clipPath&&this.clipPath.absolutePositioned||this.statefullCache&&this.hasStateChanged("cacheProperties")){if(this._cacheCanvas&&this._cacheContext&&!t){var e=this.cacheWidth/this.zoomX,n=this.cacheHeight/this.zoomY;this._cacheContext.clearRect(-e/2,-n/2,e,n)}return!0}return!1},_renderBackground:function(t){if(this.backgroundColor){var e=this._getNonTransformedDimensions();t.fillStyle=this.backgroundColor,t.fillRect(-e.x/2,-e.y/2,e.x,e.y),this._removeShadow(t)}},_setOpacity:function(t){this.group&&!this.group._transformDone?t.globalAlpha=this.getObjectOpacity():t.globalAlpha*=this.opacity},_setStrokeStyles:function(t,e){var n=e.stroke;n&&(t.lineWidth=e.strokeWidth,t.lineCap=e.strokeLineCap,t.lineDashOffset=e.strokeDashOffset,t.lineJoin=e.strokeLineJoin,t.miterLimit=e.strokeMiterLimit,n.toLive?"percentage"===n.gradientUnits||n.gradientTransform||n.patternTransform?this._applyPatternForTransformedGradient(t,n):(t.strokeStyle=n.toLive(t,this),this._applyPatternGradientTransform(t,n)):t.strokeStyle=e.stroke)},_setFillStyles:function(t,e){var n=e.fill;n&&(n.toLive?(t.fillStyle=n.toLive(t,this),this._applyPatternGradientTransform(t,e.fill)):t.fillStyle=n)},_setClippingProperties:function(t){t.globalAlpha=1,t.strokeStyle="transparent",t.fillStyle="#000000"},_setLineDash:function(t,e){e&&0!==e.length&&(1&e.length&&e.push.apply(e,e),t.setLineDash(e))},_renderControls:function(t,n){var i,r,o,s=this.getViewportTransform(),l=this.calcTransformMatrix();n=n||{},r="undefined"!==typeof n.hasBorders?n.hasBorders:this.hasBorders,o="undefined"!==typeof n.hasControls?n.hasControls:this.hasControls,l=e.util.multiplyTransformMatrices(s,l),i=e.util.qrDecompose(l),t.save(),t.translate(i.translateX,i.translateY),t.lineWidth=1*this.borderScaleFactor,this.group||(t.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1),this.flipX&&(i.angle-=180),t.rotate(a(this.group?i.angle:this.angle)),n.forActiveSelection||this.group?r&&this.drawBordersInGroup(t,i,n):r&&this.drawBorders(t,n),o&&this.drawControls(t,n),t.restore()},_setShadow:function(t){if(this.shadow){var n,i=this.shadow,r=this.canvas,o=r&&r.viewportTransform[0]||1,a=r&&r.viewportTransform[3]||1;n=i.nonScaling?{scaleX:1,scaleY:1}:this.getObjectScaling(),r&&r._isRetinaScaling()&&(o*=e.devicePixelRatio,a*=e.devicePixelRatio),t.shadowColor=i.color,t.shadowBlur=i.blur*e.browserShadowBlurConstant*(o+a)*(n.scaleX+n.scaleY)/4,t.shadowOffsetX=i.offsetX*o*n.scaleX,t.shadowOffsetY=i.offsetY*a*n.scaleY}},_removeShadow:function(t){this.shadow&&(t.shadowColor="",t.shadowBlur=t.shadowOffsetX=t.shadowOffsetY=0)},_applyPatternGradientTransform:function(t,e){if(!e||!e.toLive)return{offsetX:0,offsetY:0};var n=e.gradientTransform||e.patternTransform,i=-this.width/2+e.offsetX||0,r=-this.height/2+e.offsetY||0;return"percentage"===e.gradientUnits?t.transform(this.width,0,0,this.height,i,r):t.transform(1,0,0,1,i,r),n&&t.transform(n[0],n[1],n[2],n[3],n[4],n[5]),{offsetX:i,offsetY:r}},_renderPaintInOrder:function(t){"stroke"===this.paintFirst?(this._renderStroke(t),this._renderFill(t)):(this._renderFill(t),this._renderStroke(t))},_render:function(){},_renderFill:function(t){this.fill&&(t.save(),this._setFillStyles(t,this),"evenodd"===this.fillRule?t.fill("evenodd"):t.fill(),t.restore())},_renderStroke:function(t){if(this.stroke&&0!==this.strokeWidth){if(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(t),t.save(),this.strokeUniform&&this.group){var e=this.getObjectScaling();t.scale(1/e.scaleX,1/e.scaleY)}else this.strokeUniform&&t.scale(1/this.scaleX,1/this.scaleY);this._setLineDash(t,this.strokeDashArray),this._setStrokeStyles(t,this),t.stroke(),t.restore()}},_applyPatternForTransformedGradient:function(t,n){var i,r=this._limitCacheSize(this._getCacheCanvasDimensions()),o=e.util.createCanvasElement(),a=this.canvas.getRetinaScaling(),s=r.x/this.scaleX/a,l=r.y/this.scaleY/a;o.width=s,o.height=l,i=o.getContext("2d"),i.beginPath(),i.moveTo(0,0),i.lineTo(s,0),i.lineTo(s,l),i.lineTo(0,l),i.closePath(),i.translate(s/2,l/2),i.scale(r.zoomX/this.scaleX/a,r.zoomY/this.scaleY/a),this._applyPatternGradientTransform(i,n),i.fillStyle=n.toLive(t),i.fill(),t.translate(-this.width/2-this.strokeWidth/2,-this.height/2-this.strokeWidth/2),t.scale(a*this.scaleX/r.zoomX,a*this.scaleY/r.zoomY),t.strokeStyle=i.createPattern(o,"no-repeat")},_findCenterFromElement:function(){return{x:this.left+this.width/2,y:this.top+this.height/2}},_assignTransformMatrixProps:function(){if(this.transformMatrix){var t=e.util.qrDecompose(this.transformMatrix);this.flipX=!1,this.flipY=!1,this.set("scaleX",t.scaleX),this.set("scaleY",t.scaleY),this.angle=t.angle,this.skewX=t.skewX,this.skewY=0}},_removeTransformMatrix:function(t){var n=this._findCenterFromElement();this.transformMatrix&&(this._assignTransformMatrixProps(),n=e.util.transformPoint(n,this.transformMatrix)),this.transformMatrix=null,t&&(this.scaleX*=t.scaleX,this.scaleY*=t.scaleY,this.cropX=t.cropX,this.cropY=t.cropY,n.x+=t.offsetLeft,n.y+=t.offsetTop,this.width=t.width,this.height=t.height),this.setPositionByOrigin(n,"center","center")},clone:function(t,n){var i=this.toObject(n);this.constructor.fromObject?this.constructor.fromObject(i,t):e.Object._fromObject("Object",i,t)},cloneAsImage:function(t,n){var i=this.toCanvasElement(n);return t&&t(new e.Image(i)),this},toCanvasElement:function(t){t||(t={});var n=e.util,i=n.saveObjectTransform(this),r=this.group,o=this.shadow,a=Math.abs,s=(t.multiplier||1)*(t.enableRetinaScaling?e.devicePixelRatio:1);delete this.group,t.withoutTransform&&n.resetObjectTransform(this),t.withoutShadow&&(this.shadow=null);var l,u,c,h,f=e.util.createCanvasElement(),d=this.getBoundingRect(!0,!0),p=this.shadow,g={x:0,y:0};p&&(u=p.blur,l=p.nonScaling?{scaleX:1,scaleY:1}:this.getObjectScaling(),g.x=2*Math.round(a(p.offsetX)+u)*a(l.scaleX),g.y=2*Math.round(a(p.offsetY)+u)*a(l.scaleY)),c=d.width+g.x,h=d.height+g.y,f.width=Math.ceil(c),f.height=Math.ceil(h);var v=new e.StaticCanvas(f,{enableRetinaScaling:!1,renderOnAddRemove:!1,skipOffscreen:!1});"jpeg"===t.format&&(v.backgroundColor="#fff"),this.setPositionByOrigin(new e.Point(v.width/2,v.height/2),"center","center");var m=this.canvas;v.add(this);var y=v.toCanvasElement(s||1,t);return this.shadow=o,this.set("canvas",m),r&&(this.group=r),this.set(i).setCoords(),v._objects=[],v.dispose(),v=null,y},toDataURL:function(t){return t||(t={}),e.util.toDataURL(this.toCanvasElement(t),t.format||"png",t.quality||1)},isType:function(t){return arguments.length>1?Array.from(arguments).includes(this.type):this.type===t},complexity:function(){return 1},toJSON:function(t){return this.toObject(t)},rotate:function(t){var e=("center"!==this.originX||"center"!==this.originY)&&this.centeredRotation;return e&&this._setOriginToCenter(),this.set("angle",t),e&&this._resetOrigin(),this},centerH:function(){return this.canvas&&this.canvas.centerObjectH(this),this},viewportCenterH:function(){return this.canvas&&this.canvas.viewportCenterObjectH(this),this},centerV:function(){return this.canvas&&this.canvas.centerObjectV(this),this},viewportCenterV:function(){return this.canvas&&this.canvas.viewportCenterObjectV(this),this},center:function(){return this.canvas&&this.canvas.centerObject(this),this},viewportCenter:function(){return this.canvas&&this.canvas.viewportCenterObject(this),this},getLocalPointer:function(t,n){n=n||this.canvas.getPointer(t);var i=new e.Point(n.x,n.y),r=this._getLeftTopCoords();return this.angle&&(i=e.util.rotatePoint(i,r,a(-this.angle))),{x:i.x-r.x,y:i.y-r.y}},_setupCompositeOperation:function(t){this.globalCompositeOperation&&(t.globalCompositeOperation=this.globalCompositeOperation)},dispose:function(){e.runningAnimations&&e.runningAnimations.cancelByTarget(this)}}),e.util.createAccessors&&e.util.createAccessors(e.Object),n(e.Object.prototype,e.Observable),e.Object.NUM_FRACTION_DIGITS=2,e.Object.ENLIVEN_PROPS=["clipPath"],e.Object._fromObject=function(t,n,r,o){var a=e[t];n=i(n,!0),e.util.enlivenPatterns([n.fill,n.stroke],(function(t){"undefined"!==typeof t[0]&&(n.fill=t[0]),"undefined"!==typeof t[1]&&(n.stroke=t[1]),e.util.enlivenObjectEnlivables(n,n,(function(){var t=o?new a(n[o],n):new a(n);r&&r(t)}))}))},e.Object.__uid=0)}(e),function(){var t=i.util.degreesToRadians,e={left:-.5,center:0,right:.5},n={top:-.5,center:0,bottom:.5};i.util.object.extend(i.Object.prototype,{translateToGivenOrigin:function(t,r,o,a,s){var l,u,c,h=t.x,f=t.y;return"string"===typeof r?r=e[r]:r-=.5,"string"===typeof a?a=e[a]:a-=.5,l=a-r,"string"===typeof o?o=n[o]:o-=.5,"string"===typeof s?s=n[s]:s-=.5,u=s-o,(l||u)&&(c=this._getTransformedDimensions(),h=t.x+l*c.x,f=t.y+u*c.y),new i.Point(h,f)},translateToCenterPoint:function(e,n,r){var o=this.translateToGivenOrigin(e,n,r,"center","center");return this.angle?i.util.rotatePoint(o,e,t(this.angle)):o},translateToOriginPoint:function(e,n,r){var o=this.translateToGivenOrigin(e,"center","center",n,r);return this.angle?i.util.rotatePoint(o,e,t(this.angle)):o},getCenterPoint:function(){var t=new i.Point(this.left,this.top);return this.translateToCenterPoint(t,this.originX,this.originY)},getPointByOrigin:function(t,e){var n=this.getCenterPoint();return this.translateToOriginPoint(n,t,e)},toLocalPoint:function(e,n,r){var o,a,s=this.getCenterPoint();return o="undefined"!==typeof n&&"undefined"!==typeof r?this.translateToGivenOrigin(s,"center","center",n,r):new i.Point(this.left,this.top),a=new i.Point(e.x,e.y),this.angle&&(a=i.util.rotatePoint(a,s,-t(this.angle))),a.subtractEquals(o)},setPositionByOrigin:function(t,e,n){var i=this.translateToCenterPoint(t,e,n),r=this.translateToOriginPoint(i,this.originX,this.originY);this.set("left",r.x),this.set("top",r.y)},adjustPosition:function(n){var r,o,a=t(this.angle),s=this.getScaledWidth(),l=i.util.cos(a)*s,u=i.util.sin(a)*s;r="string"===typeof this.originX?e[this.originX]:this.originX-.5,o="string"===typeof n?e[n]:n-.5,this.left+=l*(o-r),this.top+=u*(o-r),this.setCoords(),this.originX=n},_setOriginToCenter:function(){this._originalOriginX=this.originX,this._originalOriginY=this.originY;var t=this.getCenterPoint();this.originX="center",this.originY="center",this.left=t.x,this.top=t.y},_resetOrigin:function(){var t=this.translateToOriginPoint(this.getCenterPoint(),this._originalOriginX,this._originalOriginY);this.originX=this._originalOriginX,this.originY=this._originalOriginY,this.left=t.x,this.top=t.y,this._originalOriginX=null,this._originalOriginY=null},_getLeftTopCoords:function(){return this.translateToOriginPoint(this.getCenterPoint(),"left","top")}})}(),function(){function t(t){return[new i.Point(t.tl.x,t.tl.y),new i.Point(t.tr.x,t.tr.y),new i.Point(t.br.x,t.br.y),new i.Point(t.bl.x,t.bl.y)]}var e=i.util,n=e.degreesToRadians,r=e.multiplyTransformMatrices,o=e.transformPoint;e.object.extend(i.Object.prototype,{oCoords:null,aCoords:null,lineCoords:null,ownMatrixCache:null,matrixCache:null,controls:{},_getCoords:function(t,e){return e?t?this.calcACoords():this.calcLineCoords():(this.aCoords&&this.lineCoords||this.setCoords(!0),t?this.aCoords:this.lineCoords)},getCoords:function(e,n){return t(this._getCoords(e,n))},intersectsWithRect:function(t,e,n,r){var o=this.getCoords(n,r),a=i.Intersection.intersectPolygonRectangle(o,t,e);return"Intersection"===a.status},intersectsWithObject:function(t,e,n){var r=i.Intersection.intersectPolygonPolygon(this.getCoords(e,n),t.getCoords(e,n));return"Intersection"===r.status||t.isContainedWithinObject(this,e,n)||this.isContainedWithinObject(t,e,n)},isContainedWithinObject:function(t,e,n){for(var i=this.getCoords(e,n),r=e?t.aCoords:t.lineCoords,o=0,a=t._getImageLines(r);o<4;o++)if(!t.containsPoint(i[o],a))return!1;return!0},isContainedWithinRect:function(t,e,n,i){var r=this.getBoundingRect(n,i);return r.left>=t.x&&r.left+r.width<=e.x&&r.top>=t.y&&r.top+r.height<=e.y},containsPoint:function(t,e,n,i){var r=this._getCoords(n,i),o=(e=e||this._getImageLines(r),this._findCrossPoints(t,e));return 0!==o&&o%2===1},isOnScreen:function(t){if(!this.canvas)return!1;var e=this.canvas.vptCoords.tl,n=this.canvas.vptCoords.br,i=this.getCoords(!0,t);return!!i.some((function(t){return t.x<=n.x&&t.x>=e.x&&t.y<=n.y&&t.y>=e.y}))||(!!this.intersectsWithRect(e,n,!0,t)||this._containsCenterOfCanvas(e,n,t))},_containsCenterOfCanvas:function(t,e,n){var i={x:(t.x+e.x)/2,y:(t.y+e.y)/2};return!!this.containsPoint(i,null,!0,n)},isPartiallyOnScreen:function(t){if(!this.canvas)return!1;var e=this.canvas.vptCoords.tl,n=this.canvas.vptCoords.br;if(this.intersectsWithRect(e,n,!0,t))return!0;var i=this.getCoords(!0,t).every((function(t){return(t.x>=n.x||t.x<=e.x)&&(t.y>=n.y||t.y<=e.y)}));return i&&this._containsCenterOfCanvas(e,n,t)},_getImageLines:function(t){var e={topline:{o:t.tl,d:t.tr},rightline:{o:t.tr,d:t.br},bottomline:{o:t.br,d:t.bl},leftline:{o:t.bl,d:t.tl}};return e},_findCrossPoints:function(t,e){var n,i,r,o,a,s,l=0;for(var u in e)if(s=e[u],!(s.o.y<t.y&&s.d.y<t.y)&&!(s.o.y>=t.y&&s.d.y>=t.y)&&(s.o.x===s.d.x&&s.o.x>=t.x?a=s.o.x:(n=0,i=(s.d.y-s.o.y)/(s.d.x-s.o.x),r=t.y-n*t.x,o=s.o.y-i*s.o.x,a=-(r-o)/(n-i)),a>=t.x&&(l+=1),2===l))break;return l},getBoundingRect:function(t,n){var i=this.getCoords(t,n);return e.makeBoundingBoxFromPoints(i)},getScaledWidth:function(){return this._getTransformedDimensions().x},getScaledHeight:function(){return this._getTransformedDimensions().y},_constrainScale:function(t){return Math.abs(t)<this.minScaleLimit?t<0?-this.minScaleLimit:this.minScaleLimit:0===t?1e-4:t},scale:function(t){return this._set("scaleX",t),this._set("scaleY",t),this.setCoords()},scaleToWidth:function(t,e){var n=this.getBoundingRect(e).width/this.getScaledWidth();return this.scale(t/this.width/n)},scaleToHeight:function(t,e){var n=this.getBoundingRect(e).height/this.getScaledHeight();return this.scale(t/this.height/n)},calcLineCoords:function(){var t=this.getViewportTransform(),i=this.padding,r=n(this.angle),a=e.cos(r),s=e.sin(r),l=a*i,u=s*i,c=l+u,h=l-u,f=this.calcACoords(),d={tl:o(f.tl,t),tr:o(f.tr,t),bl:o(f.bl,t),br:o(f.br,t)};return i&&(d.tl.x-=h,d.tl.y-=c,d.tr.x+=c,d.tr.y-=h,d.bl.x-=c,d.bl.y+=h,d.br.x+=h,d.br.y+=c),d},calcOCoords:function(){var t=this._calcRotateMatrix(),e=this._calcTranslateMatrix(),n=this.getViewportTransform(),i=r(n,e),o=r(i,t),a=(o=r(o,[1/n[0],0,0,1/n[3],0,0]),this._calculateCurrentDimensions()),s={};return this.forEachControl((function(t,e,n){s[e]=t.positionHandler(a,o,n)})),s},calcACoords:function(){var t=this._calcRotateMatrix(),e=this._calcTranslateMatrix(),n=r(e,t),i=this._getTransformedDimensions(),a=i.x/2,s=i.y/2;return{tl:o({x:-a,y:-s},n),tr:o({x:a,y:-s},n),bl:o({x:-a,y:s},n),br:o({x:a,y:s},n)}},setCoords:function(t){return this.aCoords=this.calcACoords(),this.lineCoords=this.group?this.aCoords:this.calcLineCoords(),t||(this.oCoords=this.calcOCoords(),this._setCornerCoords&&this._setCornerCoords()),this},_calcRotateMatrix:function(){return e.calcRotateMatrix(this)},_calcTranslateMatrix:function(){var t=this.getCenterPoint();return[1,0,0,1,t.x,t.y]},transformMatrixKey:function(t){var e="_",n="";return!t&&this.group&&(n=this.group.transformMatrixKey(t)+e),n+this.top+e+this.left+e+this.scaleX+e+this.scaleY+e+this.skewX+e+this.skewY+e+this.angle+e+this.originX+e+this.originY+e+this.width+e+this.height+e+this.strokeWidth+this.flipX+this.flipY},calcTransformMatrix:function(t){var e=this.calcOwnMatrix();if(t||!this.group)return e;var n=this.transformMatrixKey(t),i=this.matrixCache||(this.matrixCache={});return i.key===n?i.value:(this.group&&(e=r(this.group.calcTransformMatrix(!1),e)),i.key=n,i.value=e,e)},calcOwnMatrix:function(){var t=this.transformMatrixKey(!0),n=this.ownMatrixCache||(this.ownMatrixCache={});if(n.key===t)return n.value;var i=this._calcTranslateMatrix(),r={angle:this.angle,translateX:i[4],translateY:i[5],scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY};return n.key=t,n.value=e.composeMatrix(r),n.value},_getNonTransformedDimensions:function(){var t=this.strokeWidth,e=this.width+t,n=this.height+t;return{x:e,y:n}},_getTransformedDimensions:function(t,n){"undefined"===typeof t&&(t=this.skewX),"undefined"===typeof n&&(n=this.skewY);var i,r,o,a=0===t&&0===n;if(this.strokeUniform?(r=this.width,o=this.height):(i=this._getNonTransformedDimensions(),r=i.x,o=i.y),a)return this._finalizeDimensions(r*this.scaleX,o*this.scaleY);var s=e.sizeAfterTransform(r,o,{scaleX:this.scaleX,scaleY:this.scaleY,skewX:t,skewY:n});return this._finalizeDimensions(s.x,s.y)},_finalizeDimensions:function(t,e){return this.strokeUniform?{x:t+this.strokeWidth,y:e+this.strokeWidth}:{x:t,y:e}},_calculateCurrentDimensions:function(){var t=this.getViewportTransform(),e=this._getTransformedDimensions(),n=o(e,t,!0);return n.scalarAdd(2*this.padding)}})}(),i.util.object.extend(i.Object.prototype,{sendToBack:function(){return this.group?i.StaticCanvas.prototype.sendToBack.call(this.group,this):this.canvas&&this.canvas.sendToBack(this),this},bringToFront:function(){return this.group?i.StaticCanvas.prototype.bringToFront.call(this.group,this):this.canvas&&this.canvas.bringToFront(this),this},sendBackwards:function(t){return this.group?i.StaticCanvas.prototype.sendBackwards.call(this.group,this,t):this.canvas&&this.canvas.sendBackwards(this,t),this},bringForward:function(t){return this.group?i.StaticCanvas.prototype.bringForward.call(this.group,this,t):this.canvas&&this.canvas.bringForward(this,t),this},moveTo:function(t){return this.group&&"activeSelection"!==this.group.type?i.StaticCanvas.prototype.moveTo.call(this.group,this,t):this.canvas&&this.canvas.moveTo(this,t),this}}),function(){function t(t,e){if(e){if(e.toLive)return t+": url(#SVGID_"+e.id+"); ";var n=new i.Color(e),r=t+": "+n.toRgb()+"; ",o=n.getAlpha();return 1!==o&&(r+=t+"-opacity: "+o.toString()+"; "),r}return t+": none; "}var e=i.util.toFixed;i.util.object.extend(i.Object.prototype,{getSvgStyles:function(e){var n=this.fillRule?this.fillRule:"nonzero",i=this.strokeWidth?this.strokeWidth:"0",r=this.strokeDashArray?this.strokeDashArray.join(" "):"none",o=this.strokeDashOffset?this.strokeDashOffset:"0",a=this.strokeLineCap?this.strokeLineCap:"butt",s=this.strokeLineJoin?this.strokeLineJoin:"miter",l=this.strokeMiterLimit?this.strokeMiterLimit:"4",u="undefined"!==typeof this.opacity?this.opacity:"1",c=this.visible?"":" visibility: hidden;",h=e?"":this.getSvgFilter(),f=t("fill",this.fill),d=t("stroke",this.stroke);return[d,"stroke-width: ",i,"; ","stroke-dasharray: ",r,"; ","stroke-linecap: ",a,"; ","stroke-dashoffset: ",o,"; ","stroke-linejoin: ",s,"; ","stroke-miterlimit: ",l,"; ",f,"fill-rule: ",n,"; ","opacity: ",u,";",h,c].join("")},getSvgSpanStyles:function(e,n){var i="; ",r=e.fontFamily?"font-family: "+(-1===e.fontFamily.indexOf("'")&&-1===e.fontFamily.indexOf('"')?"'"+e.fontFamily+"'":e.fontFamily)+i:"",o=e.strokeWidth?"stroke-width: "+e.strokeWidth+i:"",a=(r=r,e.fontSize?"font-size: "+e.fontSize+"px"+i:""),s=e.fontStyle?"font-style: "+e.fontStyle+i:"",l=e.fontWeight?"font-weight: "+e.fontWeight+i:"",u=e.fill?t("fill",e.fill):"",c=e.stroke?t("stroke",e.stroke):"",h=this.getSvgTextDecoration(e),f=e.deltaY?"baseline-shift: "+-e.deltaY+"; ":"";return h&&(h="text-decoration: "+h+i),[c,o,r,a,s,l,h,u,f,n?"white-space: pre; ":""].join("")},getSvgTextDecoration:function(t){return["overline","underline","line-through"].filter((function(e){return t[e.replace("-","")]})).join(" ")},getSvgFilter:function(){return this.shadow?"filter: url(#SVGID_"+this.shadow.id+");":""},getSvgCommons:function(){return[this.id?'id="'+this.id+'" ':"",this.clipPath?'clip-path="url(#'+this.clipPath.clipPathId+')" ':""].join("")},getSvgTransform:function(t,e){var n=t?this.calcTransformMatrix():this.calcOwnMatrix(),r='transform="'+i.util.matrixToSVG(n);return r+(e||"")+'" '},_setSVGBg:function(t){if(this.backgroundColor){var n=i.Object.NUM_FRACTION_DIGITS;t.push("\t\t<rect ",this._getFillAttributes(this.backgroundColor),' x="',e(-this.width/2,n),'" y="',e(-this.height/2,n),'" width="',e(this.width,n),'" height="',e(this.height,n),'"></rect>\n')}},toSVG:function(t){return this._createBaseSVGMarkup(this._toSVG(t),{reviver:t})},toClipPathSVG:function(t){return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(t),{reviver:t})},_createBaseClipPathSVGMarkup:function(t,e){e=e||{};var n=e.reviver,i=e.additionalTransform||"",r=[this.getSvgTransform(!0,i),this.getSvgCommons()].join(""),o=t.indexOf("COMMON_PARTS");return t[o]=r,n?n(t.join("")):t.join("")},_createBaseSVGMarkup:function(t,e){e=e||{};var n,r,o=e.noStyle,a=e.reviver,s=o?"":'style="'+this.getSvgStyles()+'" ',l=e.withShadow?'style="'+this.getSvgFilter()+'" ':"",u=this.clipPath,c=this.strokeUniform?'vector-effect="non-scaling-stroke" ':"",h=u&&u.absolutePositioned,f=this.stroke,d=this.fill,p=this.shadow,g=[],v=t.indexOf("COMMON_PARTS"),m=e.additionalTransform;return u&&(u.clipPathId="CLIPPATH_"+i.Object.__uid++,r='<clipPath id="'+u.clipPathId+'" >\n'+u.toClipPathSVG(a)+"</clipPath>\n"),h&&g.push("<g ",l,this.getSvgCommons()," >\n"),g.push("<g ",this.getSvgTransform(!1),h?"":l+this.getSvgCommons()," >\n"),n=[s,c,o?"":this.addPaintOrder()," ",m?'transform="'+m+'" ':""].join(""),t[v]=n,d&&d.toLive&&g.push(d.toSVG(this)),f&&f.toLive&&g.push(f.toSVG(this)),p&&g.push(p.toSVG(this)),u&&g.push(r),g.push(t.join("")),g.push("</g>\n"),h&&g.push("</g>\n"),a?a(g.join("")):g.join("")},addPaintOrder:function(){return"fill"!==this.paintFirst?' paint-order="'+this.paintFirst+'" ':""}})}(),function(){var t=i.util.object.extend,e="stateProperties";function n(e,n,i){var r={},o=!0;i.forEach((function(t){r[t]=e[t]})),t(e[n],r,o)}function r(t,e,n){if(t===e)return!0;if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var i=0,o=t.length;i<o;i++)if(!r(t[i],e[i]))return!1;return!0}if(t&&"object"===typeof t){var a,s=Object.keys(t);if(!e||"object"!==typeof e||!n&&s.length!==Object.keys(e).length)return!1;for(i=0,o=s.length;i<o;i++)if(a=s[i],"canvas"!==a&&"group"!==a&&!r(t[a],e[a]))return!1;return!0}}i.util.object.extend(i.Object.prototype,{hasStateChanged:function(t){t=t||e;var n="_"+t;return Object.keys(this[n]).length<this[t].length||!r(this[n],this,!0)},saveState:function(t){var i=t&&t.propertySet||e,r="_"+i;return this[r]?(n(this,r,this[i]),t&&t.stateProperties&&n(this,r,t.stateProperties),this):this.setupState(t)},setupState:function(t){t=t||{};var n=t.propertySet||e;return t.propertySet=n,this["_"+n]={},this.saveState(t),this}})}(),function(){var t=i.util.degreesToRadians;i.util.object.extend(i.Object.prototype,{_findTargetCorner:function(t,e){if(!this.hasControls||this.group||!this.canvas||this.canvas._activeObject!==this)return!1;var n,i,r,o=t.x,a=t.y,s=Object.keys(this.oCoords),l=s.length-1;for(this.__corner=0;l>=0;l--)if(r=s[l],this.isControlVisible(r)&&(i=this._getImageLines(e?this.oCoords[r].touchCorner:this.oCoords[r].corner),n=this._findCrossPoints({x:o,y:a},i),0!==n&&n%2===1))return this.__corner=r,r;return!1},forEachControl:function(t){for(var e in this.controls)t(this.controls[e],e,this)},_setCornerCoords:function(){var t=this.oCoords;for(var e in t){var n=this.controls[e];t[e].corner=n.calcCornerCoords(this.angle,this.cornerSize,t[e].x,t[e].y,!1),t[e].touchCorner=n.calcCornerCoords(this.angle,this.touchCornerSize,t[e].x,t[e].y,!0)}},drawSelectionBackground:function(e){if(!this.selectionBackgroundColor||this.canvas&&!this.canvas.interactive||this.canvas&&this.canvas._activeObject!==this)return this;e.save();var n=this.getCenterPoint(),i=this._calculateCurrentDimensions(),r=this.canvas.viewportTransform;return e.translate(n.x,n.y),e.scale(1/r[0],1/r[3]),e.rotate(t(this.angle)),e.fillStyle=this.selectionBackgroundColor,e.fillRect(-i.x/2,-i.y/2,i.x,i.y),e.restore(),this},drawBorders:function(t,e){e=e||{};var n=this._calculateCurrentDimensions(),i=this.borderScaleFactor,r=n.x+i,o=n.y+i,a="undefined"!==typeof e.hasControls?e.hasControls:this.hasControls,s=!1;return t.save(),t.strokeStyle=e.borderColor||this.borderColor,this._setLineDash(t,e.borderDashArray||this.borderDashArray),t.strokeRect(-r/2,-o/2,r,o),a&&(t.beginPath(),this.forEachControl((function(e,n,i){e.withConnection&&e.getVisibility(i,n)&&(s=!0,t.moveTo(e.x*r,e.y*o),t.lineTo(e.x*r+e.offsetX,e.y*o+e.offsetY))})),s&&t.stroke()),t.restore(),this},drawBordersInGroup:function(t,e,n){n=n||{};var r=i.util.sizeAfterTransform(this.width,this.height,e),o=this.strokeWidth,a=this.strokeUniform,s=this.borderScaleFactor,l=r.x+o*(a?this.canvas.getZoom():e.scaleX)+s,u=r.y+o*(a?this.canvas.getZoom():e.scaleY)+s;return t.save(),this._setLineDash(t,n.borderDashArray||this.borderDashArray),t.strokeStyle=n.borderColor||this.borderColor,t.strokeRect(-l/2,-u/2,l,u),t.restore(),this},drawControls:function(t,e){e=e||{},t.save();var n,r,o=this.canvas.getRetinaScaling();return t.setTransform(o,0,0,o,0,0),t.strokeStyle=t.fillStyle=e.cornerColor||this.cornerColor,this.transparentCorners||(t.strokeStyle=e.cornerStrokeColor||this.cornerStrokeColor),this._setLineDash(t,e.cornerDashArray||this.cornerDashArray),this.setCoords(),this.group&&(n=this.group.calcTransformMatrix()),this.forEachControl((function(o,a,s){r=s.oCoords[a],o.getVisibility(s,a)&&(n&&(r=i.util.transformPoint(r,n)),o.render(t,r.x,r.y,e,s))})),t.restore(),this},isControlVisible:function(t){return this.controls[t]&&this.controls[t].getVisibility(this,t)},setControlVisible:function(t,e){return this._controlsVisibility||(this._controlsVisibility={}),this._controlsVisibility[t]=e,this},setControlsVisibility:function(t){for(var e in t||(t={}),t)this.setControlVisible(e,t[e]);return this},onDeselect:function(){},onSelect:function(){}})}(),i.util.object.extend(i.StaticCanvas.prototype,{FX_DURATION:500,fxCenterObjectH:function(t,e){e=e||{};var n=function(){},r=e.onComplete||n,o=e.onChange||n,a=this;return i.util.animate({target:this,startValue:t.left,endValue:this.getCenterPoint().x,duration:this.FX_DURATION,onChange:function(e){t.set("left",e),a.requestRenderAll(),o()},onComplete:function(){t.setCoords(),r()}})},fxCenterObjectV:function(t,e){e=e||{};var n=function(){},r=e.onComplete||n,o=e.onChange||n,a=this;return i.util.animate({target:this,startValue:t.top,endValue:this.getCenterPoint().y,duration:this.FX_DURATION,onChange:function(e){t.set("top",e),a.requestRenderAll(),o()},onComplete:function(){t.setCoords(),r()}})},fxRemove:function(t,e){e=e||{};var n=function(){},r=e.onComplete||n,o=e.onChange||n,a=this;return i.util.animate({target:this,startValue:t.opacity,endValue:0,duration:this.FX_DURATION,onChange:function(e){t.set("opacity",e),a.requestRenderAll(),o()},onComplete:function(){a.remove(t),r()}})}}),i.util.object.extend(i.Object.prototype,{animate:function(){if(arguments[0]&&"object"===typeof arguments[0]){var t,e,n=[],i=[];for(t in arguments[0])n.push(t);for(var r=0,o=n.length;r<o;r++)t=n[r],e=r!==o-1,i.push(this._animate(t,arguments[0][t],arguments[1],e));return i}return this._animate.apply(this,arguments)},_animate:function(t,e,n,r){var o,a=this;e=e.toString(),n=n?i.util.object.clone(n):{},~t.indexOf(".")&&(o=t.split("."));var s=a.colorProperties.indexOf(t)>-1||o&&a.colorProperties.indexOf(o[1])>-1,l=o?this.get(o[0])[o[1]]:this.get(t);"from"in n||(n.from=l),s||(e=~e.indexOf("=")?l+parseFloat(e.replace("=","")):parseFloat(e));var u={target:this,startValue:n.from,endValue:e,byValue:n.by,easing:n.easing,duration:n.duration,abort:n.abort&&function(t,e,i){return n.abort.call(a,t,e,i)},onChange:function(e,i,s){o?a[o[0]][o[1]]=e:a.set(t,e),r||n.onChange&&n.onChange(e,i,s)},onComplete:function(t,e,i){r||(a.setCoords(),n.onComplete&&n.onComplete(t,e,i))}};return s?i.util.animateColor(u.startValue,u.endValue,u.duration,u):i.util.animate(u)}}),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend,i=e.util.object.clone,r={x1:1,x2:1,y1:1,y2:1};function o(t,e){var n=t.origin,i=t.axis1,r=t.axis2,o=t.dimension,a=e.nearest,s=e.center,l=e.farthest;return function(){switch(this.get(n)){case a:return Math.min(this.get(i),this.get(r));case s:return Math.min(this.get(i),this.get(r))+.5*this.get(o);case l:return Math.max(this.get(i),this.get(r))}}}e.Line?e.warn("fabric.Line is already defined"):(e.Line=e.util.createClass(e.Object,{type:"line",x1:0,y1:0,x2:0,y2:0,cacheProperties:e.Object.prototype.cacheProperties.concat("x1","x2","y1","y2"),initialize:function(t,e){t||(t=[0,0,0,0]),this.callSuper("initialize",e),this.set("x1",t[0]),this.set("y1",t[1]),this.set("x2",t[2]),this.set("y2",t[3]),this._setWidthHeight(e)},_setWidthHeight:function(t){t||(t={}),this.width=Math.abs(this.x2-this.x1),this.height=Math.abs(this.y2-this.y1),this.left="left"in t?t.left:this._getLeftToOriginX(),this.top="top"in t?t.top:this._getTopToOriginY()},_set:function(t,e){return this.callSuper("_set",t,e),"undefined"!==typeof r[t]&&this._setWidthHeight(),this},_getLeftToOriginX:o({origin:"originX",axis1:"x1",axis2:"x2",dimension:"width"},{nearest:"left",center:"center",farthest:"right"}),_getTopToOriginY:o({origin:"originY",axis1:"y1",axis2:"y2",dimension:"height"},{nearest:"top",center:"center",farthest:"bottom"}),_render:function(t){t.beginPath();var e=this.calcLinePoints();t.moveTo(e.x1,e.y1),t.lineTo(e.x2,e.y2),t.lineWidth=this.strokeWidth;var n=t.strokeStyle;t.strokeStyle=this.stroke||t.fillStyle,this.stroke&&this._renderStroke(t),t.strokeStyle=n},_findCenterFromElement:function(){return{x:(this.x1+this.x2)/2,y:(this.y1+this.y2)/2}},toObject:function(t){return n(this.callSuper("toObject",t),this.calcLinePoints())},_getNonTransformedDimensions:function(){var t=this.callSuper("_getNonTransformedDimensions");return"butt"===this.strokeLineCap&&(0===this.width&&(t.y-=this.strokeWidth),0===this.height&&(t.x-=this.strokeWidth)),t},calcLinePoints:function(){var t=this.x1<=this.x2?-1:1,e=this.y1<=this.y2?-1:1,n=t*this.width*.5,i=e*this.height*.5,r=t*this.width*-.5,o=e*this.height*-.5;return{x1:n,x2:r,y1:i,y2:o}},_toSVG:function(){var t=this.calcLinePoints();return["<line ","COMMON_PARTS",'x1="',t.x1,'" y1="',t.y1,'" x2="',t.x2,'" y2="',t.y2,'" />\n']}}),e.Line.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat("x1 y1 x2 y2".split(" ")),e.Line.fromElement=function(t,i,r){r=r||{};var o=e.parseAttributes(t,e.Line.ATTRIBUTE_NAMES),a=[o.x1||0,o.y1||0,o.x2||0,o.y2||0];i(new e.Line(a,n(o,r)))},e.Line.fromObject=function(t,n){function r(t){delete t.points,n&&n(t)}var o=i(t,!0);o.points=[t.x1,t.y1,t.x2,t.y2],e.Object._fromObject("Line",o,r,"points")})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.degreesToRadians;function i(t){return"radius"in t&&t.radius>=0}e.Circle?e.warn("fabric.Circle is already defined."):(e.Circle=e.util.createClass(e.Object,{type:"circle",radius:0,startAngle:0,endAngle:360,cacheProperties:e.Object.prototype.cacheProperties.concat("radius","startAngle","endAngle"),_set:function(t,e){return this.callSuper("_set",t,e),"radius"===t&&this.setRadius(e),this},toObject:function(t){return this.callSuper("toObject",["radius","startAngle","endAngle"].concat(t))},_toSVG:function(){var t,i=0,r=0,o=(this.endAngle-this.startAngle)%360;if(0===o)t=["<circle ","COMMON_PARTS",'cx="'+i+'" cy="'+r+'" ','r="',this.radius,'" />\n'];else{var a=n(this.startAngle),s=n(this.endAngle),l=this.radius,u=e.util.cos(a)*l,c=e.util.sin(a)*l,h=e.util.cos(s)*l,f=e.util.sin(s)*l,d=o>180?"1":"0";t=['<path d="M '+u+" "+c," A "+l+" "+l," 0 ",+d+" 1"," "+h+" "+f,'" ',"COMMON_PARTS"," />\n"]}return t},_render:function(t){t.beginPath(),t.arc(0,0,this.radius,n(this.startAngle),n(this.endAngle),!1),this._renderPaintInOrder(t)},getRadiusX:function(){return this.get("radius")*this.get("scaleX")},getRadiusY:function(){return this.get("radius")*this.get("scaleY")},setRadius:function(t){return this.radius=t,this.set("width",2*t).set("height",2*t)}}),e.Circle.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat("cx cy r".split(" ")),e.Circle.fromElement=function(t,n){var r=e.parseAttributes(t,e.Circle.ATTRIBUTE_NAMES);if(!i(r))throw new Error("value of `r` attribute is required and can not be negative");r.left=(r.left||0)-r.radius,r.top=(r.top||0)-r.radius,n(new e.Circle(r))},e.Circle.fromObject=function(t,n){e.Object._fromObject("Circle",t,n)})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={});e.Triangle?e.warn("fabric.Triangle is already defined"):(e.Triangle=e.util.createClass(e.Object,{type:"triangle",width:100,height:100,_render:function(t){var e=this.width/2,n=this.height/2;t.beginPath(),t.moveTo(-e,n),t.lineTo(0,-n),t.lineTo(e,n),t.closePath(),this._renderPaintInOrder(t)},_toSVG:function(){var t=this.width/2,e=this.height/2,n=[-t+" "+e,"0 "+-e,t+" "+e].join(",");return["<polygon ","COMMON_PARTS",'points="',n,'" />']}}),e.Triangle.fromObject=function(t,n){return e.Object._fromObject("Triangle",t,n)})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=2*Math.PI;e.Ellipse?e.warn("fabric.Ellipse is already defined."):(e.Ellipse=e.util.createClass(e.Object,{type:"ellipse",rx:0,ry:0,cacheProperties:e.Object.prototype.cacheProperties.concat("rx","ry"),initialize:function(t){this.callSuper("initialize",t),this.set("rx",t&&t.rx||0),this.set("ry",t&&t.ry||0)},_set:function(t,e){switch(this.callSuper("_set",t,e),t){case"rx":this.rx=e,this.set("width",2*e);break;case"ry":this.ry=e,this.set("height",2*e);break}return this},getRx:function(){return this.get("rx")*this.get("scaleX")},getRy:function(){return this.get("ry")*this.get("scaleY")},toObject:function(t){return this.callSuper("toObject",["rx","ry"].concat(t))},_toSVG:function(){return["<ellipse ","COMMON_PARTS",'cx="0" cy="0" ','rx="',this.rx,'" ry="',this.ry,'" />\n']},_render:function(t){t.beginPath(),t.save(),t.transform(1,0,0,this.ry/this.rx,0,0),t.arc(0,0,this.rx,0,n,!1),t.restore(),this._renderPaintInOrder(t)}}),e.Ellipse.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat("cx cy rx ry".split(" ")),e.Ellipse.fromElement=function(t,n){var i=e.parseAttributes(t,e.Ellipse.ATTRIBUTE_NAMES);i.left=(i.left||0)-i.rx,i.top=(i.top||0)-i.ry,n(new e.Ellipse(i))},e.Ellipse.fromObject=function(t,n){e.Object._fromObject("Ellipse",t,n)})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend;e.Rect?e.warn("fabric.Rect is already defined"):(e.Rect=e.util.createClass(e.Object,{stateProperties:e.Object.prototype.stateProperties.concat("rx","ry"),type:"rect",rx:0,ry:0,cacheProperties:e.Object.prototype.cacheProperties.concat("rx","ry"),initialize:function(t){this.callSuper("initialize",t),this._initRxRy()},_initRxRy:function(){this.rx&&!this.ry?this.ry=this.rx:this.ry&&!this.rx&&(this.rx=this.ry)},_render:function(t){var e=this.rx?Math.min(this.rx,this.width/2):0,n=this.ry?Math.min(this.ry,this.height/2):0,i=this.width,r=this.height,o=-this.width/2,a=-this.height/2,s=0!==e||0!==n,l=.4477152502;t.beginPath(),t.moveTo(o+e,a),t.lineTo(o+i-e,a),s&&t.bezierCurveTo(o+i-l*e,a,o+i,a+l*n,o+i,a+n),t.lineTo(o+i,a+r-n),s&&t.bezierCurveTo(o+i,a+r-l*n,o+i-l*e,a+r,o+i-e,a+r),t.lineTo(o+e,a+r),s&&t.bezierCurveTo(o+l*e,a+r,o,a+r-l*n,o,a+r-n),t.lineTo(o,a+n),s&&t.bezierCurveTo(o,a+l*n,o+l*e,a,o+e,a),t.closePath(),this._renderPaintInOrder(t)},toObject:function(t){return this.callSuper("toObject",["rx","ry"].concat(t))},_toSVG:function(){var t=-this.width/2,e=-this.height/2;return["<rect ","COMMON_PARTS",'x="',t,'" y="',e,'" rx="',this.rx,'" ry="',this.ry,'" width="',this.width,'" height="',this.height,'" />\n']}}),e.Rect.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat("x y rx ry width height".split(" ")),e.Rect.fromElement=function(t,i,r){if(!t)return i(null);r=r||{};var o=e.parseAttributes(t,e.Rect.ATTRIBUTE_NAMES);o.left=o.left||0,o.top=o.top||0,o.height=o.height||0,o.width=o.width||0;var a=new e.Rect(n(r?e.util.object.clone(r):{},o));a.visible=a.visible&&a.width>0&&a.height>0,i(a)},e.Rect.fromObject=function(t,n){return e.Object._fromObject("Rect",t,n)})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend,i=e.util.array.min,r=e.util.array.max,o=e.util.toFixed,a=e.util.projectStrokeOnPoints;e.Polyline?e.warn("fabric.Polyline is already defined"):(e.Polyline=e.util.createClass(e.Object,{type:"polyline",points:null,exactBoundingBox:!1,cacheProperties:e.Object.prototype.cacheProperties.concat("points"),initialize:function(t,e){e=e||{},this.points=t||[],this.callSuper("initialize",e),this._setPositionDimensions(e)},_projectStrokeOnPoints:function(){return a(this.points,this,!0)},_setPositionDimensions:function(t){var e,n=this._calcDimensions(t),i=this.exactBoundingBox?this.strokeWidth:0;this.width=n.width-i,this.height=n.height-i,t.fromSVG||(e=this.translateToGivenOrigin({x:n.left-this.strokeWidth/2+i/2,y:n.top-this.strokeWidth/2+i/2},"left","top",this.originX,this.originY)),"undefined"===typeof t.left&&(this.left=t.fromSVG?n.left:e.x),"undefined"===typeof t.top&&(this.top=t.fromSVG?n.top:e.y),this.pathOffset={x:n.left+this.width/2+i/2,y:n.top+this.height/2+i/2}},_calcDimensions:function(){var t=this.exactBoundingBox?this._projectStrokeOnPoints():this.points,e=i(t,"x")||0,n=i(t,"y")||0,o=r(t,"x")||0,a=r(t,"y")||0,s=o-e,l=a-n;return{left:e,top:n,width:s,height:l}},toObject:function(t){return n(this.callSuper("toObject",t),{points:this.points.concat()})},_toSVG:function(){for(var t=[],n=this.pathOffset.x,i=this.pathOffset.y,r=e.Object.NUM_FRACTION_DIGITS,a=0,s=this.points.length;a<s;a++)t.push(o(this.points[a].x-n,r),",",o(this.points[a].y-i,r)," ");return["<"+this.type+" ","COMMON_PARTS",'points="',t.join(""),'" />\n']},commonRender:function(t){var e,n=this.points.length,i=this.pathOffset.x,r=this.pathOffset.y;if(!n||isNaN(this.points[n-1].y))return!1;t.beginPath(),t.moveTo(this.points[0].x-i,this.points[0].y-r);for(var o=0;o<n;o++)e=this.points[o],t.lineTo(e.x-i,e.y-r);return!0},_render:function(t){this.commonRender(t)&&this._renderPaintInOrder(t)},complexity:function(){return this.get("points").length}}),e.Polyline.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat(),e.Polyline.fromElementGenerator=function(t){return function(i,r,o){if(!i)return r(null);o||(o={});var a=e.parsePointsAttribute(i.getAttribute("points")),s=e.parseAttributes(i,e[t].ATTRIBUTE_NAMES);s.fromSVG=!0,r(new e[t](a,n(s,o)))}},e.Polyline.fromElement=e.Polyline.fromElementGenerator("Polyline"),e.Polyline.fromObject=function(t,n){return e.Object._fromObject("Polyline",t,n,"points")})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.projectStrokeOnPoints;e.Polygon?e.warn("fabric.Polygon is already defined"):(e.Polygon=e.util.createClass(e.Polyline,{type:"polygon",_projectStrokeOnPoints:function(){return n(this.points,this)},_render:function(t){this.commonRender(t)&&(t.closePath(),this._renderPaintInOrder(t))}}),e.Polygon.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat(),e.Polygon.fromElement=e.Polyline.fromElementGenerator("Polygon"),e.Polygon.fromObject=function(t,n){e.Object._fromObject("Polygon",t,n,"points")})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.array.min,i=e.util.array.max,r=e.util.object.extend,o=e.util.object.clone,a=e.util.toFixed;e.Path?e.warn("fabric.Path is already defined"):(e.Path=e.util.createClass(e.Object,{type:"path",path:null,cacheProperties:e.Object.prototype.cacheProperties.concat("path","fillRule"),stateProperties:e.Object.prototype.stateProperties.concat("path"),initialize:function(t,e){e=o(e||{}),delete e.path,this.callSuper("initialize",e),this._setPath(t||[],e)},_setPath:function(t,n){this.path=e.util.makePathSimpler(Array.isArray(t)?t:e.util.parsePath(t)),e.Polyline.prototype._setPositionDimensions.call(this,n||{})},_renderPathCommands:function(t){var e,n=0,i=0,r=0,o=0,a=0,s=0,l=-this.pathOffset.x,u=-this.pathOffset.y;t.beginPath();for(var c=0,h=this.path.length;c<h;++c)switch(e=this.path[c],e[0]){case"L":r=e[1],o=e[2],t.lineTo(r+l,o+u);break;case"M":r=e[1],o=e[2],n=r,i=o,t.moveTo(r+l,o+u);break;case"C":r=e[5],o=e[6],a=e[3],s=e[4],t.bezierCurveTo(e[1]+l,e[2]+u,a+l,s+u,r+l,o+u);break;case"Q":t.quadraticCurveTo(e[1]+l,e[2]+u,e[3]+l,e[4]+u),r=e[3],o=e[4],a=e[1],s=e[2];break;case"z":case"Z":r=n,o=i,t.closePath();break}},_render:function(t){this._renderPathCommands(t),this._renderPaintInOrder(t)},toString:function(){return"#<fabric.Path ("+this.complexity()+'): { "top": '+this.top+', "left": '+this.left+" }>"},toObject:function(t){return r(this.callSuper("toObject",t),{path:this.path.map((function(t){return t.slice()}))})},toDatalessObject:function(t){var e=this.toObject(["sourcePath"].concat(t));return e.sourcePath&&delete e.path,e},_toSVG:function(){var t=e.util.joinPath(this.path);return["<path ","COMMON_PARTS",'d="',t,'" stroke-linecap="round" ',"/>\n"]},_getOffsetTransform:function(){var t=e.Object.NUM_FRACTION_DIGITS;return" translate("+a(-this.pathOffset.x,t)+", "+a(-this.pathOffset.y,t)+")"},toClipPathSVG:function(t){var e=this._getOffsetTransform();return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(),{reviver:t,additionalTransform:e})},toSVG:function(t){var e=this._getOffsetTransform();return this._createBaseSVGMarkup(this._toSVG(),{reviver:t,additionalTransform:e})},complexity:function(){return this.path.length},_calcDimensions:function(){for(var t,r,o=[],a=[],s=0,l=0,u=0,c=0,h=0,f=this.path.length;h<f;++h){switch(t=this.path[h],t[0]){case"L":u=t[1],c=t[2],r=[];break;case"M":u=t[1],c=t[2],s=u,l=c,r=[];break;case"C":r=e.util.getBoundsOfCurve(u,c,t[1],t[2],t[3],t[4],t[5],t[6]),u=t[5],c=t[6];break;case"Q":r=e.util.getBoundsOfCurve(u,c,t[1],t[2],t[1],t[2],t[3],t[4]),u=t[3],c=t[4];break;case"z":case"Z":u=s,c=l;break}r.forEach((function(t){o.push(t.x),a.push(t.y)})),o.push(u),a.push(c)}var d=n(o)||0,p=n(a)||0,g=i(o)||0,v=i(a)||0,m=g-d,y=v-p;return{left:d,top:p,width:m,height:y}}}),e.Path.fromObject=function(t,n){if("string"===typeof t.sourcePath){var i=t.sourcePath;e.loadSVGFromURL(i,(function(i){var r=i[0];r.setOptions(t),t.clipPath?e.util.enlivenObjects([t.clipPath],(function(t){r.clipPath=t[0],n&&n(r)})):n&&n(r)}))}else e.Object._fromObject("Path",t,n,"path")},e.Path.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat(["d"]),e.Path.fromElement=function(t,n,i){var o=e.parseAttributes(t,e.Path.ATTRIBUTE_NAMES);o.fromSVG=!0,n(new e.Path(o.d,r(o,i)))})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.array.min,i=e.util.array.max;e.Group||(e.Group=e.util.createClass(e.Object,e.Collection,{type:"group",strokeWidth:0,subTargetCheck:!1,cacheProperties:[],useSetOnGroup:!1,initialize:function(t,e,n){e=e||{},this._objects=[],n&&this.callSuper("initialize",e),this._objects=t||[];for(var i=this._objects.length;i--;)this._objects[i].group=this;if(n)this._updateObjectsACoords();else{var r=e&&e.centerPoint;void 0!==e.originX&&(this.originX=e.originX),void 0!==e.originY&&(this.originY=e.originY),r||this._calcBounds(),this._updateObjectsCoords(r),delete e.centerPoint,this.callSuper("initialize",e)}this.setCoords()},_updateObjectsACoords:function(){for(var t=!0,e=this._objects.length;e--;)this._objects[e].setCoords(t)},_updateObjectsCoords:function(t){t=t||this.getCenterPoint();for(var e=this._objects.length;e--;)this._updateObjectCoords(this._objects[e],t)},_updateObjectCoords:function(t,e){var n=t.left,i=t.top,r=!0;t.set({left:n-e.x,top:i-e.y}),t.group=this,t.setCoords(r)},toString:function(){return"#<fabric.Group: ("+this.complexity()+")>"},addWithUpdate:function(t){var n=!!this.group;return this._restoreObjectsState(),e.util.resetObjectTransform(this),t&&(n&&e.util.removeTransformFromObject(t,this.group.calcTransformMatrix()),this._objects.push(t),t.group=this,t._set("canvas",this.canvas)),this._calcBounds(),this._updateObjectsCoords(),this.dirty=!0,n?this.group.addWithUpdate():this.setCoords(),this},removeWithUpdate:function(t){return this._restoreObjectsState(),e.util.resetObjectTransform(this),this.remove(t),this._calcBounds(),this._updateObjectsCoords(),this.setCoords(),this.dirty=!0,this},_onObjectAdded:function(t){this.dirty=!0,t.group=this,t._set("canvas",this.canvas)},_onObjectRemoved:function(t){this.dirty=!0,delete t.group},_set:function(t,n){var i=this._objects.length;if(this.useSetOnGroup)while(i--)this._objects[i].setOnGroup(t,n);if("canvas"===t)while(i--)this._objects[i]._set(t,n);e.Object.prototype._set.call(this,t,n)},toObject:function(t){var n=this.includeDefaultValues,i=this._objects.filter((function(t){return!t.excludeFromExport})).map((function(e){var i=e.includeDefaultValues;e.includeDefaultValues=n;var r=e.toObject(t);return e.includeDefaultValues=i,r})),r=e.Object.prototype.toObject.call(this,t);return r.objects=i,r},toDatalessObject:function(t){var n,i=this.sourcePath;if(i)n=i;else{var r=this.includeDefaultValues;n=this._objects.map((function(e){var n=e.includeDefaultValues;e.includeDefaultValues=r;var i=e.toDatalessObject(t);return e.includeDefaultValues=n,i}))}var o=e.Object.prototype.toDatalessObject.call(this,t);return o.objects=n,o},render:function(t){this._transformDone=!0,this.callSuper("render",t),this._transformDone=!1},shouldCache:function(){var t=e.Object.prototype.shouldCache.call(this);if(t)for(var n=0,i=this._objects.length;n<i;n++)if(this._objects[n].willDrawShadow())return this.ownCaching=!1,!1;return t},willDrawShadow:function(){if(e.Object.prototype.willDrawShadow.call(this))return!0;for(var t=0,n=this._objects.length;t<n;t++)if(this._objects[t].willDrawShadow())return!0;return!1},isOnACache:function(){return this.ownCaching||this.group&&this.group.isOnACache()},drawObject:function(t){for(var e=0,n=this._objects.length;e<n;e++)this._objects[e].render(t);this._drawClipPath(t,this.clipPath)},isCacheDirty:function(t){if(this.callSuper("isCacheDirty",t))return!0;if(!this.statefullCache)return!1;for(var e=0,n=this._objects.length;e<n;e++)if(this._objects[e].isCacheDirty(!0)){if(this._cacheCanvas){var i=this.cacheWidth/this.zoomX,r=this.cacheHeight/this.zoomY;this._cacheContext.clearRect(-i/2,-r/2,i,r)}return!0}return!1},_restoreObjectsState:function(){var t=this.calcOwnMatrix();return this._objects.forEach((function(n){e.util.addTransformToObject(n,t),delete n.group,n.setCoords()})),this},destroy:function(){return this._objects.forEach((function(t){t.set("dirty",!0)})),this._restoreObjectsState()},dispose:function(){this.callSuper("dispose"),this.forEachObject((function(t){t.dispose&&t.dispose()})),this._objects=[]},toActiveSelection:function(){if(this.canvas){var t=this._objects,n=this.canvas;this._objects=[];var i=this.toObject();delete i.objects;var r=new e.ActiveSelection([]);return r.set(i),r.type="activeSelection",n.remove(this),t.forEach((function(t){t.group=r,t.dirty=!0,n.add(t)})),r.canvas=n,r._objects=t,n._activeObject=r,r.setCoords(),r}},ungroupOnCanvas:function(){return this._restoreObjectsState()},setObjectsCoords:function(){var t=!0;return this.forEachObject((function(e){e.setCoords(t)})),this},_calcBounds:function(t){for(var e,n,i,r,o=[],a=[],s=["tr","br","bl","tl"],l=0,u=this._objects.length,c=s.length;l<u;++l){for(e=this._objects[l],i=e.calcACoords(),r=0;r<c;r++)n=s[r],o.push(i[n].x),a.push(i[n].y);e.aCoords=i}this._getBounds(o,a,t)},_getBounds:function(t,r,o){var a=new e.Point(n(t),n(r)),s=new e.Point(i(t),i(r)),l=a.y||0,u=a.x||0,c=s.x-a.x||0,h=s.y-a.y||0;this.width=c,this.height=h,o||this.setPositionByOrigin({x:u,y:l},"left","top")},_toSVG:function(t){for(var e=["<g ","COMMON_PARTS"," >\n"],n=0,i=this._objects.length;n<i;n++)e.push("\t\t",this._objects[n].toSVG(t));return e.push("</g>\n"),e},getSvgStyles:function(){var t="undefined"!==typeof this.opacity&&1!==this.opacity?"opacity: "+this.opacity+";":"",e=this.visible?"":" visibility: hidden;";return[t,this.getSvgFilter(),e].join("")},toClipPathSVG:function(t){for(var e=[],n=0,i=this._objects.length;n<i;n++)e.push("\t",this._objects[n].toClipPathSVG(t));return this._createBaseClipPathSVGMarkup(e,{reviver:t})}}),e.Group.fromObject=function(t,n){var i=t.objects,r=e.util.object.clone(t,!0);delete r.objects,"string"!==typeof i?e.util.enlivenObjects(i,(function(i){e.util.enlivenObjectEnlivables(t,r,(function(){n&&n(new e.Group(i,r,!0))}))})):e.loadSVGFromURL(i,(function(o){var a=e.util.groupSVGElements(o,t,i),s=r.clipPath;delete r.clipPath,a.set(r),s?e.util.enlivenObjects([s],(function(t){a.clipPath=t[0],n&&n(a)})):n&&n(a)}))})}(e),function(t){"use strict";var e=t.fabric||(t.fabric={});e.ActiveSelection||(e.ActiveSelection=e.util.createClass(e.Group,{type:"activeSelection",initialize:function(t,n){n=n||{},this._objects=t||[];for(var i=this._objects.length;i--;)this._objects[i].group=this;n.originX&&(this.originX=n.originX),n.originY&&(this.originY=n.originY),this._calcBounds(),this._updateObjectsCoords(),e.Object.prototype.initialize.call(this,n),this.setCoords()},toGroup:function(){var t=this._objects.concat();this._objects=[];var n=e.Object.prototype.toObject.call(this),i=new e.Group([]);if(delete n.type,i.set(n),t.forEach((function(t){t.canvas.remove(t),t.group=i})),i._objects=t,!this.canvas)return i;var r=this.canvas;return r.add(i),r._activeObject=i,i.setCoords(),i},onDeselect:function(){return this.destroy(),!1},toString:function(){return"#<fabric.ActiveSelection: ("+this.complexity()+")>"},shouldCache:function(){return!1},isOnACache:function(){return!1},_renderControls:function(t,e,n){t.save(),t.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1,this.callSuper("_renderControls",t,e),n=n||{},"undefined"===typeof n.hasControls&&(n.hasControls=!1),n.forActiveSelection=!0;for(var i=0,r=this._objects.length;i<r;i++)this._objects[i]._renderControls(t,n);t.restore()}}),e.ActiveSelection.fromObject=function(t,n){e.util.enlivenObjects(t.objects,(function(i){delete t.objects,n&&n(new e.ActiveSelection(i,t,!0))}))})}(e),function(t){"use strict";var e=i.util.object.extend;t.fabric||(t.fabric={}),t.fabric.Image?i.warn("fabric.Image is already defined."):(i.Image=i.util.createClass(i.Object,{type:"image",strokeWidth:0,srcFromAttribute:!1,_lastScaleX:1,_lastScaleY:1,_filterScalingX:1,_filterScalingY:1,minimumScaleTrigger:.5,stateProperties:i.Object.prototype.stateProperties.concat("cropX","cropY"),cacheProperties:i.Object.prototype.cacheProperties.concat("cropX","cropY"),cacheKey:"",cropX:0,cropY:0,imageSmoothing:!0,initialize:function(t,e){e||(e={}),this.filters=[],this.cacheKey="texture"+i.Object.__uid++,this.callSuper("initialize",e),this._initElement(t,e)},getElement:function(){return this._element||{}},setElement:function(t,e){return this.removeTexture(this.cacheKey),this.removeTexture(this.cacheKey+"_filtered"),this._element=t,this._originalElement=t,this._initConfig(e),0!==this.filters.length&&this.applyFilters(),this.resizeFilter&&this.applyResizeFilters(),this},removeTexture:function(t){var e=i.filterBackend;e&&e.evictCachesForKey&&e.evictCachesForKey(t)},dispose:function(){this.callSuper("dispose"),this.removeTexture(this.cacheKey),this.removeTexture(this.cacheKey+"_filtered"),this._cacheContext=void 0,["_originalElement","_element","_filteredEl","_cacheCanvas"].forEach(function(t){i.util.cleanUpJsdomNode(this[t]),this[t]=void 0}.bind(this))},getCrossOrigin:function(){return this._originalElement&&(this._originalElement.crossOrigin||null)},getOriginalSize:function(){var t=this.getElement();return{width:t.naturalWidth||t.width,height:t.naturalHeight||t.height}},_stroke:function(t){if(this.stroke&&0!==this.strokeWidth){var e=this.width/2,n=this.height/2;t.beginPath(),t.moveTo(-e,-n),t.lineTo(e,-n),t.lineTo(e,n),t.lineTo(-e,n),t.lineTo(-e,-n),t.closePath()}},toObject:function(t){var n=[];this.filters.forEach((function(t){t&&n.push(t.toObject())}));var i=e(this.callSuper("toObject",["cropX","cropY"].concat(t)),{src:this.getSrc(),crossOrigin:this.getCrossOrigin(),filters:n});return this.resizeFilter&&(i.resizeFilter=this.resizeFilter.toObject()),i},hasCrop:function(){return this.cropX||this.cropY||this.width<this._element.width||this.height<this._element.height},_toSVG:function(){var t,e=[],n=[],r=this._element,o=-this.width/2,a=-this.height/2,s="",l="";if(!r)return[];if(this.hasCrop()){var u=i.Object.__uid++;e.push('<clipPath id="imageCrop_'+u+'">\n','\t<rect x="'+o+'" y="'+a+'" width="'+this.width+'" height="'+this.height+'" />\n',"</clipPath>\n"),s=' clip-path="url(#imageCrop_'+u+')" '}if(this.imageSmoothing||(l='" image-rendering="optimizeSpeed'),n.push("\t<image ","COMMON_PARTS",'xlink:href="',this.getSvgSrc(!0),'" x="',o-this.cropX,'" y="',a-this.cropY,'" width="',r.width||r.naturalWidth,'" height="',r.height||r.height,l,'"',s,"></image>\n"),this.stroke||this.strokeDashArray){var c=this.fill;this.fill=null,t=["\t<rect ",'x="',o,'" y="',a,'" width="',this.width,'" height="',this.height,'" style="',this.getSvgStyles(),'"/>\n'],this.fill=c}return e="fill"!==this.paintFirst?e.concat(t,n):e.concat(n,t),e},getSrc:function(t){var e=t?this._element:this._originalElement;return e?e.toDataURL?e.toDataURL():this.srcFromAttribute?e.getAttribute("src"):e.src:this.src||""},setSrc:function(t,e,n){return i.util.loadImage(t,(function(t,i){this.setElement(t,n),this._setWidthHeight(),e&&e(this,i)}),this,n&&n.crossOrigin),this},toString:function(){return'#<fabric.Image: { src: "'+this.getSrc()+'" }>'},applyResizeFilters:function(){var t=this.resizeFilter,e=this.minimumScaleTrigger,n=this.getTotalObjectScaling(),r=n.scaleX,o=n.scaleY,a=this._filteredEl||this._originalElement;if(this.group&&this.set("dirty",!0),!t||r>e&&o>e)return this._element=a,this._filterScalingX=1,this._filterScalingY=1,this._lastScaleX=r,void(this._lastScaleY=o);i.filterBackend||(i.filterBackend=i.initFilterBackend());var s=i.util.createCanvasElement(),l=this._filteredEl?this.cacheKey+"_filtered":this.cacheKey,u=a.width,c=a.height;s.width=u,s.height=c,this._element=s,this._lastScaleX=t.scaleX=r,this._lastScaleY=t.scaleY=o,i.filterBackend.applyFilters([t],a,u,c,this._element,l),this._filterScalingX=s.width/this._originalElement.width,this._filterScalingY=s.height/this._originalElement.height},applyFilters:function(t){if(t=t||this.filters||[],t=t.filter((function(t){return t&&!t.isNeutralState()})),this.set("dirty",!0),this.removeTexture(this.cacheKey+"_filtered"),0===t.length)return this._element=this._originalElement,this._filteredEl=null,this._filterScalingX=1,this._filterScalingY=1,this;var e=this._originalElement,n=e.naturalWidth||e.width,r=e.naturalHeight||e.height;if(this._element===this._originalElement){var o=i.util.createCanvasElement();o.width=n,o.height=r,this._element=o,this._filteredEl=o}else this._element=this._filteredEl,this._filteredEl.getContext("2d").clearRect(0,0,n,r),this._lastScaleX=1,this._lastScaleY=1;return i.filterBackend||(i.filterBackend=i.initFilterBackend()),i.filterBackend.applyFilters(t,this._originalElement,n,r,this._element,this.cacheKey),this._originalElement.width===this._element.width&&this._originalElement.height===this._element.height||(this._filterScalingX=this._element.width/this._originalElement.width,this._filterScalingY=this._element.height/this._originalElement.height),this},_render:function(t){i.util.setImageSmoothing(t,this.imageSmoothing),!0!==this.isMoving&&this.resizeFilter&&this._needsResize()&&this.applyResizeFilters(),this._stroke(t),this._renderPaintInOrder(t)},drawCacheOnCanvas:function(t){i.util.setImageSmoothing(t,this.imageSmoothing),i.Object.prototype.drawCacheOnCanvas.call(this,t)},shouldCache:function(){return this.needsItsOwnCache()},_renderFill:function(t){var e=this._element;if(e){var n=this._filterScalingX,i=this._filterScalingY,r=this.width,o=this.height,a=Math.min,s=Math.max,l=s(this.cropX,0),u=s(this.cropY,0),c=e.naturalWidth||e.width,h=e.naturalHeight||e.height,f=l*n,d=u*i,p=a(r*n,c-f),g=a(o*i,h-d),v=-r/2,m=-o/2,y=a(r,c/n-l),b=a(o,h/i-u);e&&t.drawImage(e,f,d,p,g,v,m,y,b)}},_needsResize:function(){var t=this.getTotalObjectScaling();return t.scaleX!==this._lastScaleX||t.scaleY!==this._lastScaleY},_resetWidthHeight:function(){this.set(this.getOriginalSize())},_initElement:function(t,e){this.setElement(i.util.getById(t),e),i.util.addClass(this.getElement(),i.Image.CSS_CANVAS)},_initConfig:function(t){t||(t={}),this.setOptions(t),this._setWidthHeight(t)},_initFilters:function(t,e){t&&t.length?i.util.enlivenObjects(t,(function(t){e&&e(t)}),"fabric.Image.filters"):e&&e()},_setWidthHeight:function(t){t||(t={});var e=this.getElement();this.width=t.width||e.naturalWidth||e.width||0,this.height=t.height||e.naturalHeight||e.height||0},parsePreserveAspectRatioAttribute:function(){var t,e=i.util.parsePreserveAspectRatioAttribute(this.preserveAspectRatio||""),n=this._element.width,r=this._element.height,o=1,a=1,s=0,l=0,u=0,c=0,h=this.width,f=this.height,d={width:h,height:f};return!e||"none"===e.alignX&&"none"===e.alignY?(o=h/n,a=f/r):("meet"===e.meetOrSlice&&(o=a=i.util.findScaleToFit(this._element,d),t=(h-n*o)/2,"Min"===e.alignX&&(s=-t),"Max"===e.alignX&&(s=t),t=(f-r*a)/2,"Min"===e.alignY&&(l=-t),"Max"===e.alignY&&(l=t)),"slice"===e.meetOrSlice&&(o=a=i.util.findScaleToCover(this._element,d),t=n-h/o,"Mid"===e.alignX&&(u=t/2),"Max"===e.alignX&&(u=t),t=r-f/a,"Mid"===e.alignY&&(c=t/2),"Max"===e.alignY&&(c=t),n=h/o,r=f/a)),{width:n,height:r,scaleX:o,scaleY:a,offsetLeft:s,offsetTop:l,cropX:u,cropY:c}}}),i.Image.CSS_CANVAS="canvas-img",i.Image.prototype.getSvgSrc=i.Image.prototype.getSrc,i.Image.fromObject=function(t,e){var n=i.util.object.clone(t);i.util.loadImage(n.src,(function(t,r){r?e&&e(null,!0):i.Image.prototype._initFilters.call(n,n.filters,(function(r){n.filters=r||[],i.Image.prototype._initFilters.call(n,[n.resizeFilter],(function(r){n.resizeFilter=r[0],i.util.enlivenObjectEnlivables(n,n,(function(){var r=new i.Image(t,n);e(r,!1)}))}))}))}),null,n.crossOrigin)},i.Image.fromURL=function(t,e,n){i.util.loadImage(t,(function(t,r){e&&e(new i.Image(t,n),r)}),null,n&&n.crossOrigin)},i.Image.ATTRIBUTE_NAMES=i.SHARED_ATTRIBUTES.concat("x y width height preserveAspectRatio xlink:href crossOrigin image-rendering".split(" ")),i.Image.fromElement=function(t,n,r){var o=i.parseAttributes(t,i.Image.ATTRIBUTE_NAMES);i.Image.fromURL(o["xlink:href"],n,e(r?i.util.object.clone(r):{},o))})}(e),i.util.object.extend(i.Object.prototype,{_getAngleValueForStraighten:function(){var t=this.angle%360;return t>0?90*Math.round((t-1)/90):90*Math.round(t/90)},straighten:function(){return this.rotate(this._getAngleValueForStraighten())},fxStraighten:function(t){t=t||{};var e=function(){},n=t.onComplete||e,r=t.onChange||e,o=this;return i.util.animate({target:this,startValue:this.get("angle"),endValue:this._getAngleValueForStraighten(),duration:this.FX_DURATION,onChange:function(t){o.rotate(t),r()},onComplete:function(){o.setCoords(),n()}})}}),i.util.object.extend(i.StaticCanvas.prototype,{straightenObject:function(t){return t.straighten(),this.requestRenderAll(),this},fxStraightenObject:function(t){return t.fxStraighten({onChange:this.requestRenderAllBound})}}),function(){"use strict";function t(t,e){var n="precision "+e+" float;\nvoid main(){}",i=t.createShader(t.FRAGMENT_SHADER);return t.shaderSource(i,n),t.compileShader(i),!!t.getShaderParameter(i,t.COMPILE_STATUS)}function e(t){t&&t.tileSize&&(this.tileSize=t.tileSize),this.setupGLContext(this.tileSize,this.tileSize),this.captureGPUInfo()}i.isWebglSupported=function(e){if(i.isLikelyNode)return!1;e=e||i.WebglFilterBackend.prototype.tileSize;var n=document.createElement("canvas"),r=n.getContext("webgl")||n.getContext("experimental-webgl"),o=!1;if(r){i.maxTextureSize=r.getParameter(r.MAX_TEXTURE_SIZE),o=i.maxTextureSize>=e;for(var a=["highp","mediump","lowp"],s=0;s<3;s++)if(t(r,a[s])){i.webGlPrecision=a[s];break}}return this.isSupported=o,o},i.WebglFilterBackend=e,e.prototype={tileSize:2048,resources:{},setupGLContext:function(t,e){this.dispose(),this.createWebGLCanvas(t,e),this.aPosition=new Float32Array([0,0,0,1,1,0,1,1]),this.chooseFastestCopyGLTo2DMethod(t,e)},chooseFastestCopyGLTo2DMethod:function(t,e){var n,r="undefined"!==typeof window.performance;try{new ImageData(1,1),n=!0}catch(g){n=!1}var o="undefined"!==typeof ArrayBuffer,a="undefined"!==typeof Uint8ClampedArray;if(r&&n&&o&&a){var u=i.util.createCanvasElement(),c=new ArrayBuffer(t*e*4);if(i.forceGLPutImageData)return this.imageBuffer=c,void(this.copyGLTo2D=l);var h,f,d,p={imageBuffer:c,destinationWidth:t,destinationHeight:e,targetCanvas:u};u.width=t,u.height=e,h=window.performance.now(),s.call(p,this.gl,p),f=window.performance.now()-h,h=window.performance.now(),l.call(p,this.gl,p),d=window.performance.now()-h,f>d?(this.imageBuffer=c,this.copyGLTo2D=l):this.copyGLTo2D=s}},createWebGLCanvas:function(t,e){var n=i.util.createCanvasElement();n.width=t,n.height=e;var r={alpha:!0,premultipliedAlpha:!1,depth:!1,stencil:!1,antialias:!1},o=n.getContext("webgl",r);o||(o=n.getContext("experimental-webgl",r)),o&&(o.clearColor(0,0,0,0),this.canvas=n,this.gl=o)},applyFilters:function(t,e,n,i,r,o){var s,l=this.gl;o&&(s=this.getCachedTexture(o,e));var u={originalWidth:e.width||e.originalWidth,originalHeight:e.height||e.originalHeight,sourceWidth:n,sourceHeight:i,destinationWidth:n,destinationHeight:i,context:l,sourceTexture:this.createTexture(l,n,i,!s&&e),targetTexture:this.createTexture(l,n,i),originalTexture:s||this.createTexture(l,n,i,!s&&e),passes:t.length,webgl:!0,aPosition:this.aPosition,programCache:this.programCache,pass:0,filterBackend:this,targetCanvas:r},c=l.createFramebuffer();return l.bindFramebuffer(l.FRAMEBUFFER,c),t.forEach((function(t){t&&t.applyTo(u)})),a(u),this.copyGLTo2D(l,u),l.bindTexture(l.TEXTURE_2D,null),l.deleteTexture(u.sourceTexture),l.deleteTexture(u.targetTexture),l.deleteFramebuffer(c),r.getContext("2d").setTransform(1,0,0,1,0,0),u},dispose:function(){this.canvas&&(this.canvas=null,this.gl=null),this.clearWebGLCaches()},clearWebGLCaches:function(){this.programCache={},this.textureCache={}},createTexture:function(t,e,n,i,r){var o=t.createTexture();return t.bindTexture(t.TEXTURE_2D,o),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,r||t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,r||t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),i?t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,i):t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,n,0,t.RGBA,t.UNSIGNED_BYTE,null),o},getCachedTexture:function(t,e){if(this.textureCache[t])return this.textureCache[t];var n=this.createTexture(this.gl,e.width,e.height,e);return this.textureCache[t]=n,n},evictCachesForKey:function(t){this.textureCache[t]&&(this.gl.deleteTexture(this.textureCache[t]),delete this.textureCache[t])},copyGLTo2D:s,captureGPUInfo:function(){if(this.gpuInfo)return this.gpuInfo;var t=this.gl,e={renderer:"",vendor:""};if(!t)return e;var n=t.getExtension("WEBGL_debug_renderer_info");if(n){var i=t.getParameter(n.UNMASKED_RENDERER_WEBGL),r=t.getParameter(n.UNMASKED_VENDOR_WEBGL);i&&(e.renderer=i.toLowerCase()),r&&(e.vendor=r.toLowerCase())}return this.gpuInfo=e,e}}}(),function(){"use strict";var t=function(){};function e(){}i.Canvas2dFilterBackend=e,e.prototype={evictCachesForKey:t,dispose:t,clearWebGLCaches:t,resources:{},applyFilters:function(t,e,n,i,r){var o=r.getContext("2d");o.drawImage(e,0,0,n,i);var a=o.getImageData(0,0,n,i),s=o.getImageData(0,0,n,i),l={sourceWidth:n,sourceHeight:i,imageData:a,originalEl:e,originalImageData:s,canvasEl:r,ctx:o,filterBackend:this};return t.forEach((function(t){t.applyTo(l)})),l.imageData.width===n&&l.imageData.height===i||(r.width=l.imageData.width,r.height=l.imageData.height),o.putImageData(l.imageData,0,0),l}}}(),i.Image=i.Image||{},i.Image.filters=i.Image.filters||{},i.Image.filters.BaseFilter=i.util.createClass({type:"BaseFilter",vertexSource:"attribute vec2 aPosition;\nvarying vec2 vTexCoord;\nvoid main() {\nvTexCoord = aPosition;\ngl_Position = vec4(aPosition * 2.0 - 1.0, 0.0, 1.0);\n}",fragmentSource:"precision highp float;\nvarying vec2 vTexCoord;\nuniform sampler2D uTexture;\nvoid main() {\ngl_FragColor = texture2D(uTexture, vTexCoord);\n}",initialize:function(t){t&&this.setOptions(t)},setOptions:function(t){for(var e in t)this[e]=t[e]},createProgram:function(t,e,n){e=e||this.fragmentSource,n=n||this.vertexSource,"highp"!==i.webGlPrecision&&(e=e.replace(/precision highp float/g,"precision "+i.webGlPrecision+" float"));var r=t.createShader(t.VERTEX_SHADER);if(t.shaderSource(r,n),t.compileShader(r),!t.getShaderParameter(r,t.COMPILE_STATUS))throw new Error("Vertex shader compile error for "+this.type+": "+t.getShaderInfoLog(r));var o=t.createShader(t.FRAGMENT_SHADER);if(t.shaderSource(o,e),t.compileShader(o),!t.getShaderParameter(o,t.COMPILE_STATUS))throw new Error("Fragment shader compile error for "+this.type+": "+t.getShaderInfoLog(o));var a=t.createProgram();if(t.attachShader(a,r),t.attachShader(a,o),t.linkProgram(a),!t.getProgramParameter(a,t.LINK_STATUS))throw new Error('Shader link error for "${this.type}" '+t.getProgramInfoLog(a));var s=this.getAttributeLocations(t,a),l=this.getUniformLocations(t,a)||{};return l.uStepW=t.getUniformLocation(a,"uStepW"),l.uStepH=t.getUniformLocation(a,"uStepH"),{program:a,attributeLocations:s,uniformLocations:l}},getAttributeLocations:function(t,e){return{aPosition:t.getAttribLocation(e,"aPosition")}},getUniformLocations:function(){return{}},sendAttributeData:function(t,e,n){var i=e.aPosition,r=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,r),t.enableVertexAttribArray(i),t.vertexAttribPointer(i,2,t.FLOAT,!1,0,0),t.bufferData(t.ARRAY_BUFFER,n,t.STATIC_DRAW)},_setupFrameBuffer:function(t){var e,n,i=t.context;t.passes>1?(e=t.destinationWidth,n=t.destinationHeight,t.sourceWidth===e&&t.sourceHeight===n||(i.deleteTexture(t.targetTexture),t.targetTexture=t.filterBackend.createTexture(i,e,n)),i.framebufferTexture2D(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_2D,t.targetTexture,0)):(i.bindFramebuffer(i.FRAMEBUFFER,null),i.finish())},_swapTextures:function(t){t.passes--,t.pass++;var e=t.targetTexture;t.targetTexture=t.sourceTexture,t.sourceTexture=e},isNeutralState:function(){var t=this.mainParameter,e=i.Image.filters[this.type].prototype;if(t){if(Array.isArray(e[t])){for(var n=e[t].length;n--;)if(this[t][n]!==e[t][n])return!1;return!0}return e[t]===this[t]}return!1},applyTo:function(t){t.webgl?(this._setupFrameBuffer(t),this.applyToWebGL(t),this._swapTextures(t)):this.applyTo2d(t)},retrieveShader:function(t){return t.programCache.hasOwnProperty(this.type)||(t.programCache[this.type]=this.createProgram(t.context)),t.programCache[this.type]},applyToWebGL:function(t){var e=t.context,n=this.retrieveShader(t);0===t.pass&&t.originalTexture?e.bindTexture(e.TEXTURE_2D,t.originalTexture):e.bindTexture(e.TEXTURE_2D,t.sourceTexture),e.useProgram(n.program),this.sendAttributeData(e,n.attributeLocations,t.aPosition),e.uniform1f(n.uniformLocations.uStepW,1/t.sourceWidth),e.uniform1f(n.uniformLocations.uStepH,1/t.sourceHeight),this.sendUniformData(e,n.uniformLocations),e.viewport(0,0,t.destinationWidth,t.destinationHeight),e.drawArrays(e.TRIANGLE_STRIP,0,4)},bindAdditionalTexture:function(t,e,n){t.activeTexture(n),t.bindTexture(t.TEXTURE_2D,e),t.activeTexture(t.TEXTURE0)},unbindAdditionalTexture:function(t,e){t.activeTexture(e),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE0)},getMainParameter:function(){return this[this.mainParameter]},setMainParameter:function(t){this[this.mainParameter]=t},sendUniformData:function(){},createHelpLayer:function(t){if(!t.helpLayer){var e=document.createElement("canvas");e.width=t.sourceWidth,e.height=t.sourceHeight,t.helpLayer=e}},toObject:function(){var t={type:this.type},e=this.mainParameter;return e&&(t[e]=this[e]),t},toJSON:function(){return this.toObject()}}),i.Image.filters.BaseFilter.fromObject=function(t,e){var n=new i.Image.filters[t.type](t);return e&&e(n),n},function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.ColorMatrix=i(n.BaseFilter,{type:"ColorMatrix",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nvarying vec2 vTexCoord;\nuniform mat4 uColorMatrix;\nuniform vec4 uConstants;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ncolor *= uColorMatrix;\ncolor += uConstants;\ngl_FragColor = color;\n}",matrix:[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],mainParameter:"matrix",colorsOnly:!0,initialize:function(t){this.callSuper("initialize",t),this.matrix=this.matrix.slice(0)},applyTo2d:function(t){var e,n,i,r,o,a=t.imageData,s=a.data,l=s.length,u=this.matrix,c=this.colorsOnly;for(o=0;o<l;o+=4)e=s[o],n=s[o+1],i=s[o+2],c?(s[o]=e*u[0]+n*u[1]+i*u[2]+255*u[4],s[o+1]=e*u[5]+n*u[6]+i*u[7]+255*u[9],s[o+2]=e*u[10]+n*u[11]+i*u[12]+255*u[14]):(r=s[o+3],s[o]=e*u[0]+n*u[1]+i*u[2]+r*u[3]+255*u[4],s[o+1]=e*u[5]+n*u[6]+i*u[7]+r*u[8]+255*u[9],s[o+2]=e*u[10]+n*u[11]+i*u[12]+r*u[13]+255*u[14],s[o+3]=e*u[15]+n*u[16]+i*u[17]+r*u[18]+255*u[19])},getUniformLocations:function(t,e){return{uColorMatrix:t.getUniformLocation(e,"uColorMatrix"),uConstants:t.getUniformLocation(e,"uConstants")}},sendUniformData:function(t,e){var n=this.matrix,i=[n[0],n[1],n[2],n[3],n[5],n[6],n[7],n[8],n[10],n[11],n[12],n[13],n[15],n[16],n[17],n[18]],r=[n[4],n[9],n[14],n[19]];t.uniformMatrix4fv(e.uColorMatrix,!1,i),t.uniform4fv(e.uConstants,r)}}),e.Image.filters.ColorMatrix.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Brightness=i(n.BaseFilter,{type:"Brightness",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uBrightness;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ncolor.rgb += uBrightness;\ngl_FragColor = color;\n}",brightness:0,mainParameter:"brightness",applyTo2d:function(t){if(0!==this.brightness){var e,n=t.imageData,i=n.data,r=i.length,o=Math.round(255*this.brightness);for(e=0;e<r;e+=4)i[e]=i[e]+o,i[e+1]=i[e+1]+o,i[e+2]=i[e+2]+o}},getUniformLocations:function(t,e){return{uBrightness:t.getUniformLocation(e,"uBrightness")}},sendUniformData:function(t,e){t.uniform1f(e.uBrightness,this.brightness)}}),e.Image.filters.Brightness.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend,i=e.Image.filters,r=e.util.createClass;i.Convolute=r(i.BaseFilter,{type:"Convolute",opaque:!1,matrix:[0,0,0,0,1,0,0,0,0],fragmentSource:{Convolute_3_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[9];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 3.0; h+=1.0) {\nfor (float w = 0.0; w < 3.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 1), uStepH * (h - 1));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 3.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_3_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[9];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 3.0; h+=1.0) {\nfor (float w = 0.0; w < 3.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 1.0), uStepH * (h - 1.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 3.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}",Convolute_5_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[25];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 5.0; h+=1.0) {\nfor (float w = 0.0; w < 5.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 2.0), uStepH * (h - 2.0));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 5.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_5_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[25];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 5.0; h+=1.0) {\nfor (float w = 0.0; w < 5.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 2.0), uStepH * (h - 2.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 5.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}",Convolute_7_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[49];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 7.0; h+=1.0) {\nfor (float w = 0.0; w < 7.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 3.0), uStepH * (h - 3.0));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 7.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_7_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[49];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 7.0; h+=1.0) {\nfor (float w = 0.0; w < 7.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 3.0), uStepH * (h - 3.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 7.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}",Convolute_9_1:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[81];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 0);\nfor (float h = 0.0; h < 9.0; h+=1.0) {\nfor (float w = 0.0; w < 9.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 4.0), uStepH * (h - 4.0));\ncolor += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 9.0 + w)];\n}\n}\ngl_FragColor = color;\n}",Convolute_9_0:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uMatrix[81];\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = vec4(0, 0, 0, 1);\nfor (float h = 0.0; h < 9.0; h+=1.0) {\nfor (float w = 0.0; w < 9.0; w+=1.0) {\nvec2 matrixPos = vec2(uStepW * (w - 4.0), uStepH * (h - 4.0));\ncolor.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 9.0 + w)];\n}\n}\nfloat alpha = texture2D(uTexture, vTexCoord).a;\ngl_FragColor = color;\ngl_FragColor.a = alpha;\n}"},retrieveShader:function(t){var e=Math.sqrt(this.matrix.length),n=this.type+"_"+e+"_"+(this.opaque?1:0),i=this.fragmentSource[n];return t.programCache.hasOwnProperty(n)||(t.programCache[n]=this.createProgram(t.context,i)),t.programCache[n]},applyTo2d:function(t){var e,n,i,r,o,a,s,l,u,c,h,f,d,p=t.imageData,g=p.data,v=this.matrix,m=Math.round(Math.sqrt(v.length)),y=Math.floor(m/2),b=p.width,_=p.height,x=t.ctx.createImageData(b,_),w=x.data,S=this.opaque?1:0;for(h=0;h<_;h++)for(c=0;c<b;c++){for(o=4*(h*b+c),e=0,n=0,i=0,r=0,d=0;d<m;d++)for(f=0;f<m;f++)s=h+d-y,a=c+f-y,s<0||s>=_||a<0||a>=b||(l=4*(s*b+a),u=v[d*m+f],e+=g[l]*u,n+=g[l+1]*u,i+=g[l+2]*u,S||(r+=g[l+3]*u));w[o]=e,w[o+1]=n,w[o+2]=i,w[o+3]=S?g[o+3]:r}t.imageData=x},getUniformLocations:function(t,e){return{uMatrix:t.getUniformLocation(e,"uMatrix"),uOpaque:t.getUniformLocation(e,"uOpaque"),uHalfSize:t.getUniformLocation(e,"uHalfSize"),uSize:t.getUniformLocation(e,"uSize")}},sendUniformData:function(t,e){t.uniform1fv(e.uMatrix,this.matrix)},toObject:function(){return n(this.callSuper("toObject"),{opaque:this.opaque,matrix:this.matrix})}}),e.Image.filters.Convolute.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Grayscale=i(n.BaseFilter,{type:"Grayscale",fragmentSource:{average:"precision highp float;\nuniform sampler2D uTexture;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat average = (color.r + color.b + color.g) / 3.0;\ngl_FragColor = vec4(average, average, average, color.a);\n}",lightness:"precision highp float;\nuniform sampler2D uTexture;\nuniform int uMode;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 col = texture2D(uTexture, vTexCoord);\nfloat average = (max(max(col.r, col.g),col.b) + min(min(col.r, col.g),col.b)) / 2.0;\ngl_FragColor = vec4(average, average, average, col.a);\n}",luminosity:"precision highp float;\nuniform sampler2D uTexture;\nuniform int uMode;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 col = texture2D(uTexture, vTexCoord);\nfloat average = 0.21 * col.r + 0.72 * col.g + 0.07 * col.b;\ngl_FragColor = vec4(average, average, average, col.a);\n}"},mode:"average",mainParameter:"mode",applyTo2d:function(t){var e,n,i=t.imageData,r=i.data,o=r.length,a=this.mode;for(e=0;e<o;e+=4)"average"===a?n=(r[e]+r[e+1]+r[e+2])/3:"lightness"===a?n=(Math.min(r[e],r[e+1],r[e+2])+Math.max(r[e],r[e+1],r[e+2]))/2:"luminosity"===a&&(n=.21*r[e]+.72*r[e+1]+.07*r[e+2]),r[e]=n,r[e+1]=n,r[e+2]=n},retrieveShader:function(t){var e=this.type+"_"+this.mode;if(!t.programCache.hasOwnProperty(e)){var n=this.fragmentSource[this.mode];t.programCache[e]=this.createProgram(t.context,n)}return t.programCache[e]},getUniformLocations:function(t,e){return{uMode:t.getUniformLocation(e,"uMode")}},sendUniformData:function(t,e){var n=1;t.uniform1i(e.uMode,n)},isNeutralState:function(){return!1}}),e.Image.filters.Grayscale.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Invert=i(n.BaseFilter,{type:"Invert",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform int uInvert;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nif (uInvert == 1) {\ngl_FragColor = vec4(1.0 - color.r,1.0 -color.g,1.0 -color.b,color.a);\n} else {\ngl_FragColor = color;\n}\n}",invert:!0,mainParameter:"invert",applyTo2d:function(t){var e,n=t.imageData,i=n.data,r=i.length;for(e=0;e<r;e+=4)i[e]=255-i[e],i[e+1]=255-i[e+1],i[e+2]=255-i[e+2]},isNeutralState:function(){return!this.invert},getUniformLocations:function(t,e){return{uInvert:t.getUniformLocation(e,"uInvert")}},sendUniformData:function(t,e){t.uniform1i(e.uInvert,this.invert)}}),e.Image.filters.Invert.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend,i=e.Image.filters,r=e.util.createClass;i.Noise=r(i.BaseFilter,{type:"Noise",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uStepH;\nuniform float uNoise;\nuniform float uSeed;\nvarying vec2 vTexCoord;\nfloat rand(vec2 co, float seed, float vScale) {\nreturn fract(sin(dot(co.xy * vScale ,vec2(12.9898 , 78.233))) * 43758.5453 * (seed + 0.01) / 2.0);\n}\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ncolor.rgb += (0.5 - rand(vTexCoord, uSeed, 0.1 / uStepH)) * uNoise;\ngl_FragColor = color;\n}",mainParameter:"noise",noise:0,applyTo2d:function(t){if(0!==this.noise){var e,n,i=t.imageData,r=i.data,o=r.length,a=this.noise;for(e=0,o=r.length;e<o;e+=4)n=(.5-Math.random())*a,r[e]+=n,r[e+1]+=n,r[e+2]+=n}},getUniformLocations:function(t,e){return{uNoise:t.getUniformLocation(e,"uNoise"),uSeed:t.getUniformLocation(e,"uSeed")}},sendUniformData:function(t,e){t.uniform1f(e.uNoise,this.noise/255),t.uniform1f(e.uSeed,Math.random())},toObject:function(){return n(this.callSuper("toObject"),{noise:this.noise})}}),e.Image.filters.Noise.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Pixelate=i(n.BaseFilter,{type:"Pixelate",blocksize:4,mainParameter:"blocksize",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uBlocksize;\nuniform float uStepW;\nuniform float uStepH;\nvarying vec2 vTexCoord;\nvoid main() {\nfloat blockW = uBlocksize * uStepW;\nfloat blockH = uBlocksize * uStepW;\nint posX = int(vTexCoord.x / blockW);\nint posY = int(vTexCoord.y / blockH);\nfloat fposX = float(posX);\nfloat fposY = float(posY);\nvec2 squareCoords = vec2(fposX * blockW, fposY * blockH);\nvec4 color = texture2D(uTexture, squareCoords);\ngl_FragColor = color;\n}",applyTo2d:function(t){var e,n,i,r,o,a,s,l,u,c,h,f=t.imageData,d=f.data,p=f.height,g=f.width;for(n=0;n<p;n+=this.blocksize)for(i=0;i<g;i+=this.blocksize)for(e=4*n*g+4*i,r=d[e],o=d[e+1],a=d[e+2],s=d[e+3],c=Math.min(n+this.blocksize,p),h=Math.min(i+this.blocksize,g),l=n;l<c;l++)for(u=i;u<h;u++)e=4*l*g+4*u,d[e]=r,d[e+1]=o,d[e+2]=a,d[e+3]=s},isNeutralState:function(){return 1===this.blocksize},getUniformLocations:function(t,e){return{uBlocksize:t.getUniformLocation(e,"uBlocksize"),uStepW:t.getUniformLocation(e,"uStepW"),uStepH:t.getUniformLocation(e,"uStepH")}},sendUniformData:function(t,e){t.uniform1f(e.uBlocksize,this.blocksize)}}),e.Image.filters.Pixelate.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.extend,i=e.Image.filters,r=e.util.createClass;i.RemoveColor=r(i.BaseFilter,{type:"RemoveColor",color:"#FFFFFF",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec4 uLow;\nuniform vec4 uHigh;\nvarying vec2 vTexCoord;\nvoid main() {\ngl_FragColor = texture2D(uTexture, vTexCoord);\nif(all(greaterThan(gl_FragColor.rgb,uLow.rgb)) && all(greaterThan(uHigh.rgb,gl_FragColor.rgb))) {\ngl_FragColor.a = 0.0;\n}\n}",distance:.02,useAlpha:!1,applyTo2d:function(t){var n,i,r,o,a=t.imageData,s=a.data,l=255*this.distance,u=new e.Color(this.color).getSource(),c=[u[0]-l,u[1]-l,u[2]-l],h=[u[0]+l,u[1]+l,u[2]+l];for(n=0;n<s.length;n+=4)i=s[n],r=s[n+1],o=s[n+2],i>c[0]&&r>c[1]&&o>c[2]&&i<h[0]&&r<h[1]&&o<h[2]&&(s[n+3]=0)},getUniformLocations:function(t,e){return{uLow:t.getUniformLocation(e,"uLow"),uHigh:t.getUniformLocation(e,"uHigh")}},sendUniformData:function(t,n){var i=new e.Color(this.color).getSource(),r=parseFloat(this.distance),o=[0+i[0]/255-r,0+i[1]/255-r,0+i[2]/255-r,1],a=[i[0]/255+r,i[1]/255+r,i[2]/255+r,1];t.uniform4fv(n.uLow,o),t.uniform4fv(n.uHigh,a)},toObject:function(){return n(this.callSuper("toObject"),{color:this.color,distance:this.distance})}}),e.Image.filters.RemoveColor.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass,r={Brownie:[.5997,.34553,-.27082,0,.186,-.0377,.86095,.15059,0,-.1449,.24113,-.07441,.44972,0,-.02965,0,0,0,1,0],Vintage:[.62793,.32021,-.03965,0,.03784,.02578,.64411,.03259,0,.02926,.0466,-.08512,.52416,0,.02023,0,0,0,1,0],Kodachrome:[1.12855,-.39673,-.03992,0,.24991,-.16404,1.08352,-.05498,0,.09698,-.16786,-.56034,1.60148,0,.13972,0,0,0,1,0],Technicolor:[1.91252,-.85453,-.09155,0,.04624,-.30878,1.76589,-.10601,0,-.27589,-.2311,-.75018,1.84759,0,.12137,0,0,0,1,0],Polaroid:[1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0],Sepia:[.393,.769,.189,0,0,.349,.686,.168,0,0,.272,.534,.131,0,0,0,0,0,1,0],BlackWhite:[1.5,1.5,1.5,0,-1,1.5,1.5,1.5,0,-1,1.5,1.5,1.5,0,-1,0,0,0,1,0]};for(var o in r)n[o]=i(n.ColorMatrix,{type:o,matrix:r[o],mainParameter:!1,colorsOnly:!0}),e.Image.filters[o].fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric,n=e.Image.filters,i=e.util.createClass;n.BlendColor=i(n.BaseFilter,{type:"BlendColor",color:"#F95C63",mode:"multiply",alpha:1,fragmentSource:{multiply:"gl_FragColor.rgb *= uColor.rgb;\n",screen:"gl_FragColor.rgb = 1.0 - (1.0 - gl_FragColor.rgb) * (1.0 - uColor.rgb);\n",add:"gl_FragColor.rgb += uColor.rgb;\n",diff:"gl_FragColor.rgb = abs(gl_FragColor.rgb - uColor.rgb);\n",subtract:"gl_FragColor.rgb -= uColor.rgb;\n",lighten:"gl_FragColor.rgb = max(gl_FragColor.rgb, uColor.rgb);\n",darken:"gl_FragColor.rgb = min(gl_FragColor.rgb, uColor.rgb);\n",exclusion:"gl_FragColor.rgb += uColor.rgb - 2.0 * (uColor.rgb * gl_FragColor.rgb);\n",overlay:"if (uColor.r < 0.5) {\ngl_FragColor.r *= 2.0 * uColor.r;\n} else {\ngl_FragColor.r = 1.0 - 2.0 * (1.0 - gl_FragColor.r) * (1.0 - uColor.r);\n}\nif (uColor.g < 0.5) {\ngl_FragColor.g *= 2.0 * uColor.g;\n} else {\ngl_FragColor.g = 1.0 - 2.0 * (1.0 - gl_FragColor.g) * (1.0 - uColor.g);\n}\nif (uColor.b < 0.5) {\ngl_FragColor.b *= 2.0 * uColor.b;\n} else {\ngl_FragColor.b = 1.0 - 2.0 * (1.0 - gl_FragColor.b) * (1.0 - uColor.b);\n}\n",tint:"gl_FragColor.rgb *= (1.0 - uColor.a);\ngl_FragColor.rgb += uColor.rgb;\n"},buildSource:function(t){return"precision highp float;\nuniform sampler2D uTexture;\nuniform vec4 uColor;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\ngl_FragColor = color;\nif (color.a > 0.0) {\n"+this.fragmentSource[t]+"}\n}"},retrieveShader:function(t){var e,n=this.type+"_"+this.mode;return t.programCache.hasOwnProperty(n)||(e=this.buildSource(this.mode),t.programCache[n]=this.createProgram(t.context,e)),t.programCache[n]},applyTo2d:function(t){var n,i,r,o,a,s,l,u=t.imageData,c=u.data,h=c.length,f=1-this.alpha;l=new e.Color(this.color).getSource(),n=l[0]*this.alpha,i=l[1]*this.alpha,r=l[2]*this.alpha;for(var d=0;d<h;d+=4)switch(o=c[d],a=c[d+1],s=c[d+2],this.mode){case"multiply":c[d]=o*n/255,c[d+1]=a*i/255,c[d+2]=s*r/255;break;case"screen":c[d]=255-(255-o)*(255-n)/255,c[d+1]=255-(255-a)*(255-i)/255,c[d+2]=255-(255-s)*(255-r)/255;break;case"add":c[d]=o+n,c[d+1]=a+i,c[d+2]=s+r;break;case"diff":case"difference":c[d]=Math.abs(o-n),c[d+1]=Math.abs(a-i),c[d+2]=Math.abs(s-r);break;case"subtract":c[d]=o-n,c[d+1]=a-i,c[d+2]=s-r;break;case"darken":c[d]=Math.min(o,n),c[d+1]=Math.min(a,i),c[d+2]=Math.min(s,r);break;case"lighten":c[d]=Math.max(o,n),c[d+1]=Math.max(a,i),c[d+2]=Math.max(s,r);break;case"overlay":c[d]=n<128?2*o*n/255:255-2*(255-o)*(255-n)/255,c[d+1]=i<128?2*a*i/255:255-2*(255-a)*(255-i)/255,c[d+2]=r<128?2*s*r/255:255-2*(255-s)*(255-r)/255;break;case"exclusion":c[d]=n+o-2*n*o/255,c[d+1]=i+a-2*i*a/255,c[d+2]=r+s-2*r*s/255;break;case"tint":c[d]=n+o*f,c[d+1]=i+a*f,c[d+2]=r+s*f}},getUniformLocations:function(t,e){return{uColor:t.getUniformLocation(e,"uColor")}},sendUniformData:function(t,n){var i=new e.Color(this.color).getSource();i[0]=this.alpha*i[0]/255,i[1]=this.alpha*i[1]/255,i[2]=this.alpha*i[2]/255,i[3]=this.alpha,t.uniform4fv(n.uColor,i)},toObject:function(){return{type:this.type,color:this.color,mode:this.mode,alpha:this.alpha}}}),e.Image.filters.BlendColor.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric,n=e.Image.filters,i=e.util.createClass;n.BlendImage=i(n.BaseFilter,{type:"BlendImage",image:null,mode:"multiply",alpha:1,vertexSource:"attribute vec2 aPosition;\nvarying vec2 vTexCoord;\nvarying vec2 vTexCoord2;\nuniform mat3 uTransformMatrix;\nvoid main() {\nvTexCoord = aPosition;\nvTexCoord2 = (uTransformMatrix * vec3(aPosition, 1.0)).xy;\ngl_Position = vec4(aPosition * 2.0 - 1.0, 0.0, 1.0);\n}",fragmentSource:{multiply:"precision highp float;\nuniform sampler2D uTexture;\nuniform sampler2D uImage;\nuniform vec4 uColor;\nvarying vec2 vTexCoord;\nvarying vec2 vTexCoord2;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nvec4 color2 = texture2D(uImage, vTexCoord2);\ncolor.rgba *= color2.rgba;\ngl_FragColor = color;\n}",mask:"precision highp float;\nuniform sampler2D uTexture;\nuniform sampler2D uImage;\nuniform vec4 uColor;\nvarying vec2 vTexCoord;\nvarying vec2 vTexCoord2;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nvec4 color2 = texture2D(uImage, vTexCoord2);\ncolor.a = color2.a;\ngl_FragColor = color;\n}"},retrieveShader:function(t){var e=this.type+"_"+this.mode,n=this.fragmentSource[this.mode];return t.programCache.hasOwnProperty(e)||(t.programCache[e]=this.createProgram(t.context,n)),t.programCache[e]},applyToWebGL:function(t){var e=t.context,n=this.createTexture(t.filterBackend,this.image);this.bindAdditionalTexture(e,n,e.TEXTURE1),this.callSuper("applyToWebGL",t),this.unbindAdditionalTexture(e,e.TEXTURE1)},createTexture:function(t,e){return t.getCachedTexture(e.cacheKey,e._element)},calculateMatrix:function(){var t=this.image,e=t._element.width,n=t._element.height;return[1/t.scaleX,0,0,0,1/t.scaleY,0,-t.left/e,-t.top/n,1]},applyTo2d:function(t){var n,i,r,o,a,s,l,u,c,h,f,d=t.imageData,p=t.filterBackend.resources,g=d.data,v=g.length,m=d.width,y=d.height,b=this.image;p.blendImage||(p.blendImage=e.util.createCanvasElement()),c=p.blendImage,h=c.getContext("2d"),c.width!==m||c.height!==y?(c.width=m,c.height=y):h.clearRect(0,0,m,y),h.setTransform(b.scaleX,0,0,b.scaleY,b.left,b.top),h.drawImage(b._element,0,0,m,y),f=h.getImageData(0,0,m,y).data;for(var _=0;_<v;_+=4)switch(a=g[_],s=g[_+1],l=g[_+2],u=g[_+3],n=f[_],i=f[_+1],r=f[_+2],o=f[_+3],this.mode){case"multiply":g[_]=a*n/255,g[_+1]=s*i/255,g[_+2]=l*r/255,g[_+3]=u*o/255;break;case"mask":g[_+3]=o;break}},getUniformLocations:function(t,e){return{uTransformMatrix:t.getUniformLocation(e,"uTransformMatrix"),uImage:t.getUniformLocation(e,"uImage")}},sendUniformData:function(t,e){var n=this.calculateMatrix();t.uniform1i(e.uImage,1),t.uniformMatrix3fv(e.uTransformMatrix,!1,n)},toObject:function(){return{type:this.type,image:this.image&&this.image.toObject(),mode:this.mode,alpha:this.alpha}}}),e.Image.filters.BlendImage.fromObject=function(t,n){e.Image.fromObject(t.image,(function(i){var r=e.util.object.clone(t);r.image=i,n(new e.Image.filters.BlendImage(r))}))}}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=Math.pow,i=Math.floor,r=Math.sqrt,o=Math.abs,a=Math.round,s=Math.sin,l=Math.ceil,u=e.Image.filters,c=e.util.createClass;u.Resize=c(u.BaseFilter,{type:"Resize",resizeType:"hermite",scaleX:1,scaleY:1,lanczosLobes:3,getUniformLocations:function(t,e){return{uDelta:t.getUniformLocation(e,"uDelta"),uTaps:t.getUniformLocation(e,"uTaps")}},sendUniformData:function(t,e){t.uniform2fv(e.uDelta,this.horizontal?[1/this.width,0]:[0,1/this.height]),t.uniform1fv(e.uTaps,this.taps)},retrieveShader:function(t){var e=this.getFilterWindow(),n=this.type+"_"+e;if(!t.programCache.hasOwnProperty(n)){var i=this.generateShader(e);t.programCache[n]=this.createProgram(t.context,i)}return t.programCache[n]},getFilterWindow:function(){var t=this.tempScale;return Math.ceil(this.lanczosLobes/t)},getTaps:function(){for(var t=this.lanczosCreate(this.lanczosLobes),e=this.tempScale,n=this.getFilterWindow(),i=new Array(n),r=1;r<=n;r++)i[r-1]=t(r*e);return i},generateShader:function(t){for(var e=new Array(t),n=this.fragmentSourceTOP,i=1;i<=t;i++)e[i-1]=i+".0 * uDelta";return n+="uniform float uTaps["+t+"];\n",n+="void main() {\n",n+="  vec4 color = texture2D(uTexture, vTexCoord);\n",n+="  float sum = 1.0;\n",e.forEach((function(t,e){n+="  color += texture2D(uTexture, vTexCoord + "+t+") * uTaps["+e+"];\n",n+="  color += texture2D(uTexture, vTexCoord - "+t+") * uTaps["+e+"];\n",n+="  sum += 2.0 * uTaps["+e+"];\n"})),n+="  gl_FragColor = color / sum;\n",n+="}",n},fragmentSourceTOP:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec2 uDelta;\nvarying vec2 vTexCoord;\n",applyTo:function(t){t.webgl?(t.passes++,this.width=t.sourceWidth,this.horizontal=!0,this.dW=Math.round(this.width*this.scaleX),this.dH=t.sourceHeight,this.tempScale=this.dW/this.width,this.taps=this.getTaps(),t.destinationWidth=this.dW,this._setupFrameBuffer(t),this.applyToWebGL(t),this._swapTextures(t),t.sourceWidth=t.destinationWidth,this.height=t.sourceHeight,this.horizontal=!1,this.dH=Math.round(this.height*this.scaleY),this.tempScale=this.dH/this.height,this.taps=this.getTaps(),t.destinationHeight=this.dH,this._setupFrameBuffer(t),this.applyToWebGL(t),this._swapTextures(t),t.sourceHeight=t.destinationHeight):this.applyTo2d(t)},isNeutralState:function(){return 1===this.scaleX&&1===this.scaleY},lanczosCreate:function(t){return function(e){if(e>=t||e<=-t)return 0;if(e<1.1920929e-7&&e>-1.1920929e-7)return 1;e*=Math.PI;var n=e/t;return s(e)/e*s(n)/n}},applyTo2d:function(t){var e=t.imageData,n=this.scaleX,i=this.scaleY;this.rcpScaleX=1/n,this.rcpScaleY=1/i;var r,o=e.width,s=e.height,l=a(o*n),u=a(s*i);"sliceHack"===this.resizeType?r=this.sliceByTwo(t,o,s,l,u):"hermite"===this.resizeType?r=this.hermiteFastResize(t,o,s,l,u):"bilinear"===this.resizeType?r=this.bilinearFiltering(t,o,s,l,u):"lanczos"===this.resizeType&&(r=this.lanczosResize(t,o,s,l,u)),t.imageData=r},sliceByTwo:function(t,n,r,o,a){var s,l,u=t.imageData,c=.5,h=!1,f=!1,d=n*c,p=r*c,g=e.filterBackend.resources,v=0,m=0,y=n,b=0;g.sliceByTwo||(g.sliceByTwo=document.createElement("canvas")),s=g.sliceByTwo,(s.width<1.5*n||s.height<r)&&(s.width=1.5*n,s.height=r),l=s.getContext("2d"),l.clearRect(0,0,1.5*n,r),l.putImageData(u,0,0),o=i(o),a=i(a);while(!h||!f)n=d,r=p,o<i(d*c)?d=i(d*c):(d=o,h=!0),a<i(p*c)?p=i(p*c):(p=a,f=!0),l.drawImage(s,v,m,n,r,y,b,d,p),v=y,m=b,b+=p;return l.getImageData(v,m,o,a)},lanczosResize:function(t,e,a,s,u){function c(t){var l,C,T,A,O,M,k,I,E,P,D;for(w.x=(t+.5)*g,S.x=i(w.x),l=0;l<u;l++){for(w.y=(l+.5)*v,S.y=i(w.y),O=0,M=0,k=0,I=0,E=0,C=S.x-b;C<=S.x+b;C++)if(!(C<0||C>=e)){P=i(1e3*o(C-w.x)),x[P]||(x[P]={});for(var L=S.y-_;L<=S.y+_;L++)L<0||L>=a||(D=i(1e3*o(L-w.y)),x[P][D]||(x[P][D]=p(r(n(P*m,2)+n(D*y,2))/1e3)),T=x[P][D],T>0&&(A=4*(L*e+C),O+=T,M+=T*h[A],k+=T*h[A+1],I+=T*h[A+2],E+=T*h[A+3]))}A=4*(l*s+t),d[A]=M/O,d[A+1]=k/O,d[A+2]=I/O,d[A+3]=E/O}return++t<s?c(t):f}var h=t.imageData.data,f=t.ctx.createImageData(s,u),d=f.data,p=this.lanczosCreate(this.lanczosLobes),g=this.rcpScaleX,v=this.rcpScaleY,m=2/this.rcpScaleX,y=2/this.rcpScaleY,b=l(g*this.lanczosLobes/2),_=l(v*this.lanczosLobes/2),x={},w={},S={};return c(0)},bilinearFiltering:function(t,e,n,r,o){var a,s,l,u,c,h,f,d,p,g,v,m,y,b=0,_=this.rcpScaleX,x=this.rcpScaleY,w=4*(e-1),S=t.imageData,C=S.data,T=t.ctx.createImageData(r,o),A=T.data;for(f=0;f<o;f++)for(d=0;d<r;d++)for(c=i(_*d),h=i(x*f),p=_*d-c,g=x*f-h,y=4*(h*e+c),v=0;v<4;v++)a=C[y+v],s=C[y+4+v],l=C[y+w+v],u=C[y+w+4+v],m=a*(1-p)*(1-g)+s*p*(1-g)+l*g*(1-p)+u*p*g,A[b++]=m;return T},hermiteFastResize:function(t,e,n,a,s){for(var u=this.rcpScaleX,c=this.rcpScaleY,h=l(u/2),f=l(c/2),d=t.imageData,p=d.data,g=t.ctx.createImageData(a,s),v=g.data,m=0;m<s;m++)for(var y=0;y<a;y++){for(var b=4*(y+m*a),_=0,x=0,w=0,S=0,C=0,T=0,A=0,O=(m+.5)*c,M=i(m*c);M<(m+1)*c;M++)for(var k=o(O-(M+.5))/f,I=(y+.5)*u,E=k*k,P=i(y*u);P<(y+1)*u;P++){var D=o(I-(P+.5))/h,L=r(E+D*D);L>1&&L<-1||(_=2*L*L*L-3*L*L+1,_>0&&(D=4*(P+M*e),A+=_*p[D+3],w+=_,p[D+3]<255&&(_=_*p[D+3]/250),S+=_*p[D],C+=_*p[D+1],T+=_*p[D+2],x+=_))}v[b]=S/x,v[b+1]=C/x,v[b+2]=T/x,v[b+3]=A/w}return g},toObject:function(){return{type:this.type,scaleX:this.scaleX,scaleY:this.scaleY,resizeType:this.resizeType,lanczosLobes:this.lanczosLobes}}}),e.Image.filters.Resize.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Contrast=i(n.BaseFilter,{type:"Contrast",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uContrast;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat contrastF = 1.015 * (uContrast + 1.0) / (1.0 * (1.015 - uContrast));\ncolor.rgb = contrastF * (color.rgb - 0.5) + 0.5;\ngl_FragColor = color;\n}",contrast:0,mainParameter:"contrast",applyTo2d:function(t){if(0!==this.contrast){var e,n=t.imageData,i=n.data,r=i.length,o=Math.floor(255*this.contrast),a=259*(o+255)/(255*(259-o));for(e=0;e<r;e+=4)i[e]=a*(i[e]-128)+128,i[e+1]=a*(i[e+1]-128)+128,i[e+2]=a*(i[e+2]-128)+128}},getUniformLocations:function(t,e){return{uContrast:t.getUniformLocation(e,"uContrast")}},sendUniformData:function(t,e){t.uniform1f(e.uContrast,this.contrast)}}),e.Image.filters.Contrast.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Saturation=i(n.BaseFilter,{type:"Saturation",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uSaturation;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat rgMax = max(color.r, color.g);\nfloat rgbMax = max(rgMax, color.b);\ncolor.r += rgbMax != color.r ? (rgbMax - color.r) * uSaturation : 0.00;\ncolor.g += rgbMax != color.g ? (rgbMax - color.g) * uSaturation : 0.00;\ncolor.b += rgbMax != color.b ? (rgbMax - color.b) * uSaturation : 0.00;\ngl_FragColor = color;\n}",saturation:0,mainParameter:"saturation",applyTo2d:function(t){if(0!==this.saturation){var e,n,i=t.imageData,r=i.data,o=r.length,a=-this.saturation;for(e=0;e<o;e+=4)n=Math.max(r[e],r[e+1],r[e+2]),r[e]+=n!==r[e]?(n-r[e])*a:0,r[e+1]+=n!==r[e+1]?(n-r[e+1])*a:0,r[e+2]+=n!==r[e+2]?(n-r[e+2])*a:0}},getUniformLocations:function(t,e){return{uSaturation:t.getUniformLocation(e,"uSaturation")}},sendUniformData:function(t,e){t.uniform1f(e.uSaturation,-this.saturation)}}),e.Image.filters.Saturation.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Vibrance=i(n.BaseFilter,{type:"Vibrance",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform float uVibrance;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nfloat max = max(color.r, max(color.g, color.b));\nfloat avg = (color.r + color.g + color.b) / 3.0;\nfloat amt = (abs(max - avg) * 2.0) * uVibrance;\ncolor.r += max != color.r ? (max - color.r) * amt : 0.00;\ncolor.g += max != color.g ? (max - color.g) * amt : 0.00;\ncolor.b += max != color.b ? (max - color.b) * amt : 0.00;\ngl_FragColor = color;\n}",vibrance:0,mainParameter:"vibrance",applyTo2d:function(t){if(0!==this.vibrance){var e,n,i,r,o=t.imageData,a=o.data,s=a.length,l=-this.vibrance;for(e=0;e<s;e+=4)n=Math.max(a[e],a[e+1],a[e+2]),i=(a[e]+a[e+1]+a[e+2])/3,r=2*Math.abs(n-i)/255*l,a[e]+=n!==a[e]?(n-a[e])*r:0,a[e+1]+=n!==a[e+1]?(n-a[e+1])*r:0,a[e+2]+=n!==a[e+2]?(n-a[e+2])*r:0}},getUniformLocations:function(t,e){return{uVibrance:t.getUniformLocation(e,"uVibrance")}},sendUniformData:function(t,e){t.uniform1f(e.uVibrance,-this.vibrance)}}),e.Image.filters.Vibrance.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Blur=i(n.BaseFilter,{type:"Blur",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec2 uDelta;\nvarying vec2 vTexCoord;\nconst float nSamples = 15.0;\nvec3 v3offset = vec3(12.9898, 78.233, 151.7182);\nfloat random(vec3 scale) {\nreturn fract(sin(dot(gl_FragCoord.xyz, scale)) * 43758.5453);\n}\nvoid main() {\nvec4 color = vec4(0.0);\nfloat total = 0.0;\nfloat offset = random(v3offset);\nfor (float t = -nSamples; t <= nSamples; t++) {\nfloat percent = (t + offset - 0.5) / nSamples;\nfloat weight = 1.0 - abs(percent);\ncolor += texture2D(uTexture, vTexCoord + uDelta * percent) * weight;\ntotal += weight;\n}\ngl_FragColor = color / total;\n}",blur:0,mainParameter:"blur",applyTo:function(t){t.webgl?(this.aspectRatio=t.sourceWidth/t.sourceHeight,t.passes++,this._setupFrameBuffer(t),this.horizontal=!0,this.applyToWebGL(t),this._swapTextures(t),this._setupFrameBuffer(t),this.horizontal=!1,this.applyToWebGL(t),this._swapTextures(t)):this.applyTo2d(t)},applyTo2d:function(t){t.imageData=this.simpleBlur(t)},simpleBlur:function(t){var n,i,r=t.filterBackend.resources,o=t.imageData.width,a=t.imageData.height;r.blurLayer1||(r.blurLayer1=e.util.createCanvasElement(),r.blurLayer2=e.util.createCanvasElement()),n=r.blurLayer1,i=r.blurLayer2,n.width===o&&n.height===a||(i.width=n.width=o,i.height=n.height=a);var s,l,u,c,h=n.getContext("2d"),f=i.getContext("2d"),d=15,p=.06*this.blur*.5;for(h.putImageData(t.imageData,0,0),f.clearRect(0,0,o,a),c=-d;c<=d;c++)s=(Math.random()-.5)/4,l=c/d,u=p*l*o+s,f.globalAlpha=1-Math.abs(l),f.drawImage(n,u,s),h.drawImage(i,0,0),f.globalAlpha=1,f.clearRect(0,0,i.width,i.height);for(c=-d;c<=d;c++)s=(Math.random()-.5)/4,l=c/d,u=p*l*a+s,f.globalAlpha=1-Math.abs(l),f.drawImage(n,s,u),h.drawImage(i,0,0),f.globalAlpha=1,f.clearRect(0,0,i.width,i.height);t.ctx.drawImage(n,0,0);var g=t.ctx.getImageData(0,0,n.width,n.height);return h.globalAlpha=1,h.clearRect(0,0,n.width,n.height),g},getUniformLocations:function(t,e){return{delta:t.getUniformLocation(e,"uDelta")}},sendUniformData:function(t,e){var n=this.chooseRightDelta();t.uniform2fv(e.delta,n)},chooseRightDelta:function(){var t,e=1,n=[0,0];return this.horizontal?this.aspectRatio>1&&(e=1/this.aspectRatio):this.aspectRatio<1&&(e=this.aspectRatio),t=e*this.blur*.12,this.horizontal?n[0]=t:n[1]=t,n}}),n.Blur.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Gamma=i(n.BaseFilter,{type:"Gamma",fragmentSource:"precision highp float;\nuniform sampler2D uTexture;\nuniform vec3 uGamma;\nvarying vec2 vTexCoord;\nvoid main() {\nvec4 color = texture2D(uTexture, vTexCoord);\nvec3 correction = (1.0 / uGamma);\ncolor.r = pow(color.r, correction.r);\ncolor.g = pow(color.g, correction.g);\ncolor.b = pow(color.b, correction.b);\ngl_FragColor = color;\ngl_FragColor.rgb *= color.a;\n}",gamma:[1,1,1],mainParameter:"gamma",initialize:function(t){this.gamma=[1,1,1],n.BaseFilter.prototype.initialize.call(this,t)},applyTo2d:function(t){var e,n=t.imageData,i=n.data,r=this.gamma,o=i.length,a=1/r[0],s=1/r[1],l=1/r[2];for(this.rVals||(this.rVals=new Uint8Array(256),this.gVals=new Uint8Array(256),this.bVals=new Uint8Array(256)),e=0,o=256;e<o;e++)this.rVals[e]=255*Math.pow(e/255,a),this.gVals[e]=255*Math.pow(e/255,s),this.bVals[e]=255*Math.pow(e/255,l);for(e=0,o=i.length;e<o;e+=4)i[e]=this.rVals[i[e]],i[e+1]=this.gVals[i[e+1]],i[e+2]=this.bVals[i[e+2]]},getUniformLocations:function(t,e){return{uGamma:t.getUniformLocation(e,"uGamma")}},sendUniformData:function(t,e){t.uniform3fv(e.uGamma,this.gamma)}}),e.Image.filters.Gamma.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.Composed=i(n.BaseFilter,{type:"Composed",subFilters:[],initialize:function(t){this.callSuper("initialize",t),this.subFilters=this.subFilters.slice(0)},applyTo:function(t){t.passes+=this.subFilters.length-1,this.subFilters.forEach((function(e){e.applyTo(t)}))},toObject:function(){return e.util.object.extend(this.callSuper("toObject"),{subFilters:this.subFilters.map((function(t){return t.toObject()}))})},isNeutralState:function(){return!this.subFilters.some((function(t){return!t.isNeutralState()}))}}),e.Image.filters.Composed.fromObject=function(t,n){var i=t.subFilters||[],r=i.map((function(t){return new e.Image.filters[t.type](t)})),o=new e.Image.filters.Composed({subFilters:r});return n&&n(o),o}}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.Image.filters,i=e.util.createClass;n.HueRotation=i(n.ColorMatrix,{type:"HueRotation",rotation:0,mainParameter:"rotation",calculateMatrix:function(){var t=this.rotation*Math.PI,n=e.util.cos(t),i=e.util.sin(t),r=1/3,o=Math.sqrt(r)*i,a=1-n;this.matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],this.matrix[0]=n+a/3,this.matrix[1]=r*a-o,this.matrix[2]=r*a+o,this.matrix[5]=r*a+o,this.matrix[6]=n+r*a,this.matrix[7]=r*a-o,this.matrix[10]=r*a-o,this.matrix[11]=r*a+o,this.matrix[12]=n+r*a},isNeutralState:function(t){return this.calculateMatrix(),n.BaseFilter.prototype.isNeutralState.call(this,t)},applyTo:function(t){this.calculateMatrix(),n.BaseFilter.prototype.applyTo.call(this,t)}}),e.Image.filters.HueRotation.fromObject=e.Image.filters.BaseFilter.fromObject}(e),function(t){"use strict";var e=t.fabric||(t.fabric={}),n=e.util.object.clone;if(e.Text)e.warn("fabric.Text is already defined");else{var i="fontFamily fontWeight fontSize text underline overline linethrough textAlign fontStyle lineHeight textBackgroundColor charSpacing styles direction path pathStartOffset pathSide pathAlign".split(" ");e.Text=e.util.createClass(e.Object,{_dimensionAffectingProps:["fontSize","fontWeight","fontFamily","fontStyle","lineHeight","text","charSpacing","textAlign","styles","path","pathStartOffset","pathSide","pathAlign"],_reNewline:/\r?\n/,_reSpacesAndTabs:/[ \t\r]/g,_reSpaceAndTab:/[ \t\r]/,_reWords:/\S+/g,type:"text",fontSize:40,fontWeight:"normal",fontFamily:"Times New Roman",underline:!1,overline:!1,linethrough:!1,textAlign:"left",fontStyle:"normal",lineHeight:1.16,superscript:{size:.6,baseline:-.35},subscript:{size:.6,baseline:.11},textBackgroundColor:"",stateProperties:e.Object.prototype.stateProperties.concat(i),cacheProperties:e.Object.prototype.cacheProperties.concat(i),stroke:null,shadow:null,path:null,pathStartOffset:0,pathSide:"left",pathAlign:"baseline",_fontSizeFraction:.222,offsets:{underline:.1,linethrough:-.315,overline:-.88},_fontSizeMult:1.13,charSpacing:0,styles:null,_measuringContext:null,deltaY:0,direction:"ltr",_styleProperties:["stroke","strokeWidth","fill","fontFamily","fontSize","fontWeight","fontStyle","underline","overline","linethrough","deltaY","textBackgroundColor"],__charBounds:[],CACHE_FONT_SIZE:400,MIN_TEXT_WIDTH:2,initialize:function(t,e){this.styles=e&&e.styles||{},this.text=t,this.__skipDimension=!0,this.callSuper("initialize",e),this.path&&this.setPathInfo(),this.__skipDimension=!1,this.initDimensions(),this.setCoords(),this.setupState({propertySet:"_dimensionAffectingProps"})},setPathInfo:function(){var t=this.path;t&&(t.segmentsInfo=e.util.getPathSegmentsInfo(t.path))},getMeasuringContext:function(){return e._measuringContext||(e._measuringContext=this.canvas&&this.canvas.contextCache||e.util.createCanvasElement().getContext("2d")),e._measuringContext},_splitText:function(){var t=this._splitTextIntoLines(this.text);return this.textLines=t.lines,this._textLines=t.graphemeLines,this._unwrappedTextLines=t._unwrappedLines,this._text=t.graphemeText,t},initDimensions:function(){this.__skipDimension||(this._splitText(),this._clearCache(),this.path?(this.width=this.path.width,this.height=this.path.height):(this.width=this.calcTextWidth()||this.cursorWidth||this.MIN_TEXT_WIDTH,this.height=this.calcTextHeight()),-1!==this.textAlign.indexOf("justify")&&this.enlargeSpaces(),this.saveState({propertySet:"_dimensionAffectingProps"}))},enlargeSpaces:function(){for(var t,e,n,i,r,o,a,s=0,l=this._textLines.length;s<l;s++)if(("justify"===this.textAlign||s!==l-1&&!this.isEndOfWrapping(s))&&(i=0,r=this._textLines[s],e=this.getLineWidth(s),e<this.width&&(a=this.textLines[s].match(this._reSpacesAndTabs)))){n=a.length,t=(this.width-e)/n;for(var u=0,c=r.length;u<=c;u++)o=this.__charBounds[s][u],this._reSpaceAndTab.test(r[u])?(o.width+=t,o.kernedWidth+=t,o.left+=i,i+=t):o.left+=i}},isEndOfWrapping:function(t){return t===this._textLines.length-1},missingNewlineOffset:function(){return 1},toString:function(){return"#<fabric.Text ("+this.complexity()+'): { "text": "'+this.text+'", "fontFamily": "'+this.fontFamily+'" }>'},_getCacheCanvasDimensions:function(){var t=this.callSuper("_getCacheCanvasDimensions"),e=this.fontSize;return t.width+=e*t.zoomX,t.height+=e*t.zoomY,t},_render:function(t){var e=this.path;e&&!e.isNotVisible()&&e._render(t),this._setTextStyles(t),this._renderTextLinesBackground(t),this._renderTextDecoration(t,"underline"),this._renderText(t),this._renderTextDecoration(t,"overline"),this._renderTextDecoration(t,"linethrough")},_renderText:function(t){"stroke"===this.paintFirst?(this._renderTextStroke(t),this._renderTextFill(t)):(this._renderTextFill(t),this._renderTextStroke(t))},_setTextStyles:function(t,e,n){if(t.textBaseline="alphabetical",this.path)switch(this.pathAlign){case"center":t.textBaseline="middle";break;case"ascender":t.textBaseline="top";break;case"descender":t.textBaseline="bottom";break}t.font=this._getFontDeclaration(e,n)},calcTextWidth:function(){for(var t=this.getLineWidth(0),e=1,n=this._textLines.length;e<n;e++){var i=this.getLineWidth(e);i>t&&(t=i)}return t},_renderTextLine:function(t,e,n,i,r,o){this._renderChars(t,e,n,i,r,o)},_renderTextLinesBackground:function(t){if(this.textBackgroundColor||this.styleHas("textBackgroundColor")){for(var e,n,i,r,o,a,s,l=t.fillStyle,u=this._getLeftOffset(),c=this._getTopOffset(),h=0,f=0,d=this.path,p=0,g=this._textLines.length;p<g;p++)if(e=this.getHeightOfLine(p),this.textBackgroundColor||this.styleHas("textBackgroundColor",p)){i=this._textLines[p],n=this._getLineLeftOffset(p),f=0,h=0,r=this.getValueOfPropertyAt(p,0,"textBackgroundColor");for(var v=0,m=i.length;v<m;v++)o=this.__charBounds[p][v],a=this.getValueOfPropertyAt(p,v,"textBackgroundColor"),d?(t.save(),t.translate(o.renderLeft,o.renderTop),t.rotate(o.angle),t.fillStyle=a,a&&t.fillRect(-o.width/2,-e/this.lineHeight*(1-this._fontSizeFraction),o.width,e/this.lineHeight),t.restore()):a!==r?(s=u+n+h,"rtl"===this.direction&&(s=this.width-s-f),t.fillStyle=r,r&&t.fillRect(s,c,f,e/this.lineHeight),h=o.left,f=o.width,r=a):f+=o.kernedWidth;a&&!d&&(s=u+n+h,"rtl"===this.direction&&(s=this.width-s-f),t.fillStyle=a,t.fillRect(s,c,f,e/this.lineHeight)),c+=e}else c+=e;t.fillStyle=l,this._removeShadow(t)}},getFontCache:function(t){var n=t.fontFamily.toLowerCase();e.charWidthsCache[n]||(e.charWidthsCache[n]={});var i=e.charWidthsCache[n],r=t.fontStyle.toLowerCase()+"_"+(t.fontWeight+"").toLowerCase();return i[r]||(i[r]={}),i[r]},_measureChar:function(t,e,n,i){var r,o,a,s,l=this.getFontCache(e),u=this._getFontDeclaration(e),c=this._getFontDeclaration(i),h=n+t,f=u===c,d=e.fontSize/this.CACHE_FONT_SIZE;if(n&&void 0!==l[n]&&(a=l[n]),void 0!==l[t]&&(s=r=l[t]),f&&void 0!==l[h]&&(o=l[h],s=o-a),void 0===r||void 0===a||void 0===o){var p=this.getMeasuringContext();this._setTextStyles(p,e,!0)}return void 0===r&&(s=r=p.measureText(t).width,l[t]=r),void 0===a&&f&&n&&(a=p.measureText(n).width,l[n]=a),f&&void 0===o&&(o=p.measureText(h).width,l[h]=o,s=o-a),{width:r*d,kernedWidth:s*d}},getHeightOfChar:function(t,e){return this.getValueOfPropertyAt(t,e,"fontSize")},measureLine:function(t){var e=this._measureLine(t);return 0!==this.charSpacing&&(e.width-=this._getWidthOfCharSpacing()),e.width<0&&(e.width=0),e},_measureLine:function(t){var n,i,r,o,a,s,l=0,u=this._textLines[t],c=0,h=new Array(u.length),f=0,d=this.path,p="right"===this.pathSide;for(this.__charBounds[t]=h,n=0;n<u.length;n++)i=u[n],o=this._getGraphemeBox(i,t,n,r),h[n]=o,l+=o.kernedWidth,r=i;if(h[n]={left:o?o.left+o.width:0,width:0,kernedWidth:0,height:this.fontSize},d){switch(s=d.segmentsInfo[d.segmentsInfo.length-1].length,a=e.util.getPointOnPath(d.path,0,d.segmentsInfo),a.x+=d.pathOffset.x,a.y+=d.pathOffset.y,this.textAlign){case"left":f=p?s-l:0;break;case"center":f=(s-l)/2;break;case"right":f=p?0:s-l;break}for(f+=this.pathStartOffset*(p?-1:1),n=p?u.length-1:0;p?n>=0:n<u.length;p?n--:n++)o=h[n],f>s?f%=s:f<0&&(f+=s),this._setGraphemeOnPath(f,o,a),f+=o.kernedWidth}return{width:l,numOfSpaces:c}},_setGraphemeOnPath:function(t,n,i){var r=t+n.kernedWidth/2,o=this.path,a=e.util.getPointOnPath(o.path,r,o.segmentsInfo);n.renderLeft=a.x-i.x,n.renderTop=a.y-i.y,n.angle=a.angle+("right"===this.pathSide?Math.PI:0)},_getGraphemeBox:function(t,e,n,i,r){var o,a=this.getCompleteStyleDeclaration(e,n),s=i?this.getCompleteStyleDeclaration(e,n-1):{},l=this._measureChar(t,a,i,s),u=l.kernedWidth,c=l.width;0!==this.charSpacing&&(o=this._getWidthOfCharSpacing(),c+=o,u+=o);var h={width:c,left:0,height:a.fontSize,kernedWidth:u,deltaY:a.deltaY};if(n>0&&!r){var f=this.__charBounds[e][n-1];h.left=f.left+f.width+l.kernedWidth-l.width}return h},getHeightOfLine:function(t){if(this.__lineHeights[t])return this.__lineHeights[t];for(var e=this._textLines[t],n=this.getHeightOfChar(t,0),i=1,r=e.length;i<r;i++)n=Math.max(this.getHeightOfChar(t,i),n);return this.__lineHeights[t]=n*this.lineHeight*this._fontSizeMult},calcTextHeight:function(){for(var t,e=0,n=0,i=this._textLines.length;n<i;n++)t=this.getHeightOfLine(n),e+=n===i-1?t/this.lineHeight:t;return e},_getLeftOffset:function(){return"ltr"===this.direction?-this.width/2:this.width/2},_getTopOffset:function(){return-this.height/2},_renderTextCommon:function(t,e){t.save();for(var n=0,i=this._getLeftOffset(),r=this._getTopOffset(),o=0,a=this._textLines.length;o<a;o++){var s=this.getHeightOfLine(o),l=s/this.lineHeight,u=this._getLineLeftOffset(o);this._renderTextLine(e,t,this._textLines[o],i+u,r+n+l,o),n+=s}t.restore()},_renderTextFill:function(t){(this.fill||this.styleHas("fill"))&&this._renderTextCommon(t,"fillText")},_renderTextStroke:function(t){(this.stroke&&0!==this.strokeWidth||!this.isEmptyStyles())&&(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(t),t.save(),this._setLineDash(t,this.strokeDashArray),t.beginPath(),this._renderTextCommon(t,"strokeText"),t.closePath(),t.restore())},_renderChars:function(t,n,i,r,o,a){var s,l,u,c,h,f=this.getHeightOfLine(a),d=-1!==this.textAlign.indexOf("justify"),p="",g=0,v=this.path,m=!d&&0===this.charSpacing&&this.isEmptyStyles(a)&&!v,y="ltr"===this.direction,b="ltr"===this.direction?1:-1,_=n.canvas.getAttribute("dir");if(n.save(),_!==this.direction&&(n.canvas.setAttribute("dir",y?"ltr":"rtl"),n.direction=y?"ltr":"rtl",n.textAlign=y?"left":"right"),o-=f*this._fontSizeFraction/this.lineHeight,m)return this._renderChar(t,n,a,0,i.join(""),r,o,f),void n.restore();for(var x=0,w=i.length-1;x<=w;x++)c=x===w||this.charSpacing||v,p+=i[x],u=this.__charBounds[a][x],0===g?(r+=b*(u.kernedWidth-u.width),g+=u.width):g+=u.kernedWidth,d&&!c&&this._reSpaceAndTab.test(i[x])&&(c=!0),c||(s=s||this.getCompleteStyleDeclaration(a,x),l=this.getCompleteStyleDeclaration(a,x+1),c=e.util.hasStyleChanged(s,l,!1)),c&&(v?(n.save(),n.translate(u.renderLeft,u.renderTop),n.rotate(u.angle),this._renderChar(t,n,a,x,p,-g/2,0,f),n.restore()):(h=r,this._renderChar(t,n,a,x,p,h,o,f)),p="",s=l,r+=b*g,g=0);n.restore()},_applyPatternGradientTransformText:function(t){var n,i=e.util.createCanvasElement(),r=this.width+this.strokeWidth,o=this.height+this.strokeWidth;return i.width=r,i.height=o,n=i.getContext("2d"),n.beginPath(),n.moveTo(0,0),n.lineTo(r,0),n.lineTo(r,o),n.lineTo(0,o),n.closePath(),n.translate(r/2,o/2),n.fillStyle=t.toLive(n),this._applyPatternGradientTransform(n,t),n.fill(),n.createPattern(i,"no-repeat")},handleFiller:function(t,e,n){var i,r;return n.toLive?"percentage"===n.gradientUnits||n.gradientTransform||n.patternTransform?(i=-this.width/2,r=-this.height/2,t.translate(i,r),t[e]=this._applyPatternGradientTransformText(n),{offsetX:i,offsetY:r}):(t[e]=n.toLive(t,this),this._applyPatternGradientTransform(t,n)):(t[e]=n,{offsetX:0,offsetY:0})},_setStrokeStyles:function(t,e){return t.lineWidth=e.strokeWidth,t.lineCap=this.strokeLineCap,t.lineDashOffset=this.strokeDashOffset,t.lineJoin=this.strokeLineJoin,t.miterLimit=this.strokeMiterLimit,this.handleFiller(t,"strokeStyle",e.stroke)},_setFillStyles:function(t,e){return this.handleFiller(t,"fillStyle",e.fill)},_renderChar:function(t,e,n,i,r,o,a){var s,l,u=this._getStyleDeclaration(n,i),c=this.getCompleteStyleDeclaration(n,i),h="fillText"===t&&c.fill,f="strokeText"===t&&c.stroke&&c.strokeWidth;(f||h)&&(e.save(),h&&(s=this._setFillStyles(e,c)),f&&(l=this._setStrokeStyles(e,c)),e.font=this._getFontDeclaration(c),u&&u.textBackgroundColor&&this._removeShadow(e),u&&u.deltaY&&(a+=u.deltaY),h&&e.fillText(r,o-s.offsetX,a-s.offsetY),f&&e.strokeText(r,o-l.offsetX,a-l.offsetY),e.restore())},setSuperscript:function(t,e){return this._setScript(t,e,this.superscript)},setSubscript:function(t,e){return this._setScript(t,e,this.subscript)},_setScript:function(t,e,n){var i=this.get2DCursorLocation(t,!0),r=this.getValueOfPropertyAt(i.lineIndex,i.charIndex,"fontSize"),o=this.getValueOfPropertyAt(i.lineIndex,i.charIndex,"deltaY"),a={fontSize:r*n.size,deltaY:o+r*n.baseline};return this.setSelectionStyles(a,t,e),this},_getLineLeftOffset:function(t){var e=this.getLineWidth(t),n=this.width-e,i=this.textAlign,r=this.direction,o=0,a=this.isEndOfWrapping(t);return"justify"===i||"justify-center"===i&&!a||"justify-right"===i&&!a||"justify-left"===i&&!a?0:("center"===i&&(o=n/2),"right"===i&&(o=n),"justify-center"===i&&(o=n/2),"justify-right"===i&&(o=n),"rtl"===r&&(o-=n),o)},_clearCache:function(){this.__lineWidths=[],this.__lineHeights=[],this.__charBounds=[]},_shouldClearDimensionCache:function(){var t=this._forceClearCache;return t||(t=this.hasStateChanged("_dimensionAffectingProps")),t&&(this.dirty=!0,this._forceClearCache=!1),t},getLineWidth:function(t){if(void 0!==this.__lineWidths[t])return this.__lineWidths[t];var e=this.measureLine(t),n=e.width;return this.__lineWidths[t]=n,n},_getWidthOfCharSpacing:function(){return 0!==this.charSpacing?this.fontSize*this.charSpacing/1e3:0},getValueOfPropertyAt:function(t,e,n){var i=this._getStyleDeclaration(t,e);return i&&"undefined"!==typeof i[n]?i[n]:this[n]},_renderTextDecoration:function(t,e){if(this[e]||this.styleHas(e)){for(var n,i,r,o,a,s,l,u,c,h,f,d,p,g,v,m,y=this._getLeftOffset(),b=this._getTopOffset(),_=this.path,x=this._getWidthOfCharSpacing(),w=this.offsets[e],S=0,C=this._textLines.length;S<C;S++)if(n=this.getHeightOfLine(S),this[e]||this.styleHas(e,S)){l=this._textLines[S],g=n/this.lineHeight,o=this._getLineLeftOffset(S),h=0,f=0,u=this.getValueOfPropertyAt(S,0,e),m=this.getValueOfPropertyAt(S,0,"fill"),c=b+g*(1-this._fontSizeFraction),i=this.getHeightOfChar(S,0),a=this.getValueOfPropertyAt(S,0,"deltaY");for(var T=0,A=l.length;T<A;T++)if(d=this.__charBounds[S][T],p=this.getValueOfPropertyAt(S,T,e),v=this.getValueOfPropertyAt(S,T,"fill"),r=this.getHeightOfChar(S,T),s=this.getValueOfPropertyAt(S,T,"deltaY"),_&&p&&v)t.save(),t.fillStyle=m,t.translate(d.renderLeft,d.renderTop),t.rotate(d.angle),t.fillRect(-d.kernedWidth/2,w*r+s,d.kernedWidth,this.fontSize/15),t.restore();else if((p!==u||v!==m||r!==i||s!==a)&&f>0){var O=y+o+h;"rtl"===this.direction&&(O=this.width-O-f),u&&m&&(t.fillStyle=m,t.fillRect(O,c+w*i+a,f,this.fontSize/15)),h=d.left,f=d.width,u=p,m=v,i=r,a=s}else f+=d.kernedWidth;O=y+o+h;"rtl"===this.direction&&(O=this.width-O-f),t.fillStyle=v,p&&v&&t.fillRect(O,c+w*i+a,f-x,this.fontSize/15),b+=n}else b+=n;this._removeShadow(t)}},_getFontDeclaration:function(t,n){var i=t||this,r=this.fontFamily,o=e.Text.genericFonts.indexOf(r.toLowerCase())>-1,a=void 0===r||r.indexOf("'")>-1||r.indexOf(",")>-1||r.indexOf('"')>-1||o?i.fontFamily:'"'+i.fontFamily+'"';return[e.isLikelyNode?i.fontWeight:i.fontStyle,e.isLikelyNode?i.fontStyle:i.fontWeight,n?this.CACHE_FONT_SIZE+"px":i.fontSize+"px",a].join(" ")},render:function(t){this.visible&&(this.canvas&&this.canvas.skipOffscreen&&!this.group&&!this.isOnScreen()||(this._shouldClearDimensionCache()&&this.initDimensions(),this.callSuper("render",t)))},_splitTextIntoLines:function(t){for(var n=t.split(this._reNewline),i=new Array(n.length),r=["\n"],o=[],a=0;a<n.length;a++)i[a]=e.util.string.graphemeSplit(n[a]),o=o.concat(i[a],r);return o.pop(),{_unwrappedLines:i,lines:n,graphemeText:o,graphemeLines:i}},toObject:function(t){var n=i.concat(t),r=this.callSuper("toObject",n);return r.styles=e.util.stylesToArray(this.styles,this.text),r.path&&(r.path=this.path.toObject()),r},set:function(t,e){this.callSuper("set",t,e);var n=!1,i=!1;if("object"===typeof t)for(var r in t)"path"===r&&this.setPathInfo(),n=n||-1!==this._dimensionAffectingProps.indexOf(r),i=i||"path"===r;else n=-1!==this._dimensionAffectingProps.indexOf(t),i="path"===t;return i&&this.setPathInfo(),n&&(this.initDimensions(),this.setCoords()),this},complexity:function(){return 1}}),e.Text.ATTRIBUTE_NAMES=e.SHARED_ATTRIBUTES.concat("x y dx dy font-family font-style font-weight font-size letter-spacing text-decoration text-anchor".split(" ")),e.Text.DEFAULT_SVG_FONT_SIZE=16,e.Text.fromElement=function(t,i,r){if(!t)return i(null);var o=e.parseAttributes(t,e.Text.ATTRIBUTE_NAMES),a=o.textAnchor||"left";if(r=e.util.object.extend(r?n(r):{},o),r.top=r.top||0,r.left=r.left||0,o.textDecoration){var s=o.textDecoration;-1!==s.indexOf("underline")&&(r.underline=!0),-1!==s.indexOf("overline")&&(r.overline=!0),-1!==s.indexOf("line-through")&&(r.linethrough=!0),delete r.textDecoration}"dx"in o&&(r.left+=o.dx),"dy"in o&&(r.top+=o.dy),"fontSize"in r||(r.fontSize=e.Text.DEFAULT_SVG_FONT_SIZE);var l="";"textContent"in t?l=t.textContent:"firstChild"in t&&null!==t.firstChild&&"data"in t.firstChild&&null!==t.firstChild.data&&(l=t.firstChild.data),l=l.replace(/^\s+|\s+$|\n+/g,"").replace(/\s+/g," ");var u=r.strokeWidth;r.strokeWidth=0;var c=new e.Text(l,r),h=c.getScaledHeight()/c.height,f=(c.height+c.strokeWidth)*c.lineHeight-c.height,d=f*h,p=c.getScaledHeight()+d,g=0;"center"===a&&(g=c.getScaledWidth()/2),"right"===a&&(g=c.getScaledWidth()),c.set({left:c.left-g,top:c.top-(p-c.fontSize*(.07+c._fontSizeFraction))/c.lineHeight,strokeWidth:"undefined"!==typeof u?u:1}),i(c)},e.Text.fromObject=function(t,i){var r=n(t),o=t.path;return delete r.path,e.Object._fromObject("Text",r,(function(n){n.styles=e.util.stylesFromArray(t.styles,t.text),o?e.Object._fromObject("Path",o,(function(t){n.set("path",t),i(n)}),"path"):i(n)}),"text")},e.Text.genericFonts=["sans-serif","serif","cursive","fantasy","monospace"],e.util.createAccessors&&e.util.createAccessors(e.Text)}}(e),function(){i.util.object.extend(i.Text.prototype,{isEmptyStyles:function(t){if(!this.styles)return!0;if("undefined"!==typeof t&&!this.styles[t])return!0;var e="undefined"===typeof t?this.styles:{line:this.styles[t]};for(var n in e)for(var i in e[n])for(var r in e[n][i])return!1;return!0},styleHas:function(t,e){if(!this.styles||!t||""===t)return!1;if("undefined"!==typeof e&&!this.styles[e])return!1;var n="undefined"===typeof e?this.styles:{0:this.styles[e]};for(var i in n)for(var r in n[i])if("undefined"!==typeof n[i][r][t])return!0;return!1},cleanStyle:function(t){if(!this.styles||!t||""===t)return!1;var e,n,i=this.styles,r=0,o=!0,a=0;for(var s in i){for(var l in e=0,i[s]){var u=i[s][l],c=u.hasOwnProperty(t);r++,c?(n?u[t]!==n&&(o=!1):n=u[t],u[t]===this[t]&&delete u[t]):o=!1,0!==Object.keys(u).length?e++:delete i[s][l]}0===e&&delete i[s]}for(var h=0;h<this._textLines.length;h++)a+=this._textLines[h].length;o&&r===a&&(this[t]=n,this.removeStyle(t))},removeStyle:function(t){if(this.styles&&t&&""!==t){var e,n,i,r=this.styles;for(n in r){for(i in e=r[n],e)delete e[i][t],0===Object.keys(e[i]).length&&delete e[i];0===Object.keys(e).length&&delete r[n]}}},_extendStyles:function(t,e){var n=this.get2DCursorLocation(t);this._getLineStyle(n.lineIndex)||this._setLineStyle(n.lineIndex),this._getStyleDeclaration(n.lineIndex,n.charIndex)||this._setStyleDeclaration(n.lineIndex,n.charIndex,{}),i.util.object.extend(this._getStyleDeclaration(n.lineIndex,n.charIndex),e)},get2DCursorLocation:function(t,e){"undefined"===typeof t&&(t=this.selectionStart);for(var n=e?this._unwrappedTextLines:this._textLines,i=n.length,r=0;r<i;r++){if(t<=n[r].length)return{lineIndex:r,charIndex:t};t-=n[r].length+this.missingNewlineOffset(r)}return{lineIndex:r-1,charIndex:n[r-1].length<t?n[r-1].length:t}},getSelectionStyles:function(t,e,n){"undefined"===typeof t&&(t=this.selectionStart||0),"undefined"===typeof e&&(e=this.selectionEnd||t);for(var i=[],r=t;r<e;r++)i.push(this.getStyleAtPosition(r,n));return i},getStyleAtPosition:function(t,e){var n=this.get2DCursorLocation(t),i=e?this.getCompleteStyleDeclaration(n.lineIndex,n.charIndex):this._getStyleDeclaration(n.lineIndex,n.charIndex);return i||{}},setSelectionStyles:function(t,e,n){"undefined"===typeof e&&(e=this.selectionStart||0),"undefined"===typeof n&&(n=this.selectionEnd||e);for(var i=e;i<n;i++)this._extendStyles(i,t);return this._forceClearCache=!0,this},_getStyleDeclaration:function(t,e){var n=this.styles&&this.styles[t];return n?n[e]:null},getCompleteStyleDeclaration:function(t,e){for(var n,i=this._getStyleDeclaration(t,e)||{},r={},o=0;o<this._styleProperties.length;o++)n=this._styleProperties[o],r[n]="undefined"===typeof i[n]?this[n]:i[n];return r},_setStyleDeclaration:function(t,e,n){this.styles[t][e]=n},_deleteStyleDeclaration:function(t,e){delete this.styles[t][e]},_getLineStyle:function(t){return!!this.styles[t]},_setLineStyle:function(t){this.styles[t]={}},_deleteLineStyle:function(t){delete this.styles[t]}})}(),function(){function t(t){t.textDecoration&&(t.textDecoration.indexOf("underline")>-1&&(t.underline=!0),t.textDecoration.indexOf("line-through")>-1&&(t.linethrough=!0),t.textDecoration.indexOf("overline")>-1&&(t.overline=!0),delete t.textDecoration)}i.IText=i.util.createClass(i.Text,i.Observable,{type:"i-text",selectionStart:0,selectionEnd:0,selectionColor:"rgba(17,119,255,0.3)",isEditing:!1,editable:!0,editingBorderColor:"rgba(102,153,255,0.25)",cursorWidth:2,cursorColor:"",cursorDelay:1e3,cursorDuration:600,caching:!0,hiddenTextareaContainer:null,_reSpace:/\s|\n/,_currentCursorOpacity:0,_selectionDirection:null,_abortCursorAnimation:!1,__widthOfSpace:[],inCompositionMode:!1,initialize:function(t,e){this.callSuper("initialize",t,e),this.initBehavior()},setSelectionStart:function(t){t=Math.max(t,0),this._updateAndFire("selectionStart",t)},setSelectionEnd:function(t){t=Math.min(t,this.text.length),this._updateAndFire("selectionEnd",t)},_updateAndFire:function(t,e){this[t]!==e&&(this._fireSelectionChanged(),this[t]=e),this._updateTextarea()},_fireSelectionChanged:function(){this.fire("selection:changed"),this.canvas&&this.canvas.fire("text:selection:changed",{target:this})},initDimensions:function(){this.isEditing&&this.initDelayedCursor(),this.clearContextTop(),this.callSuper("initDimensions")},render:function(t){this.clearContextTop(),this.callSuper("render",t),this.cursorOffsetCache={},this.renderCursorOrSelection()},_render:function(t){this.callSuper("_render",t)},clearContextTop:function(t){if(this.isEditing&&this.canvas&&this.canvas.contextTop){var e=this.canvas.contextTop,n=this.canvas.viewportTransform;e.save(),e.transform(n[0],n[1],n[2],n[3],n[4],n[5]),this.transform(e),this._clearTextArea(e),t||e.restore()}},renderCursorOrSelection:function(){if(this.isEditing&&this.canvas&&this.canvas.contextTop){var t=this._getCursorBoundaries(),e=this.canvas.contextTop;this.clearContextTop(!0),this.selectionStart===this.selectionEnd?this.renderCursor(t,e):this.renderSelection(t,e),e.restore()}},_clearTextArea:function(t){var e=this.width+4,n=this.height+4;t.clearRect(-e/2,-n/2,e,n)},_getCursorBoundaries:function(t){"undefined"===typeof t&&(t=this.selectionStart);var e=this._getLeftOffset(),n=this._getTopOffset(),i=this._getCursorBoundariesOffsets(t);return{left:e,top:n,leftOffset:i.left,topOffset:i.top}},_getCursorBoundariesOffsets:function(t){if(this.cursorOffsetCache&&"top"in this.cursorOffsetCache)return this.cursorOffsetCache;var e,n,i,r,o=0,a=0,s=this.get2DCursorLocation(t);i=s.charIndex,n=s.lineIndex;for(var l=0;l<n;l++)o+=this.getHeightOfLine(l);e=this._getLineLeftOffset(n);var u=this.__charBounds[n][i];return u&&(a=u.left),0!==this.charSpacing&&i===this._textLines[n].length&&(a-=this._getWidthOfCharSpacing()),r={top:o,left:e+(a>0?a:0)},"rtl"===this.direction&&(r.left*=-1),this.cursorOffsetCache=r,this.cursorOffsetCache},renderCursor:function(t,e){var n=this.get2DCursorLocation(),i=n.lineIndex,r=n.charIndex>0?n.charIndex-1:0,o=this.getValueOfPropertyAt(i,r,"fontSize"),a=this.scaleX*this.canvas.getZoom(),s=this.cursorWidth/a,l=t.topOffset,u=this.getValueOfPropertyAt(i,r,"deltaY");l+=(1-this._fontSizeFraction)*this.getHeightOfLine(i)/this.lineHeight-o*(1-this._fontSizeFraction),this.inCompositionMode&&this.renderSelection(t,e),e.fillStyle=this.cursorColor||this.getValueOfPropertyAt(i,r,"fill"),e.globalAlpha=this.__isMousedown?1:this._currentCursorOpacity,e.fillRect(t.left+t.leftOffset-s/2,l+t.top+u,s,o)},renderSelection:function(t,e){for(var n=this.inCompositionMode?this.hiddenTextarea.selectionStart:this.selectionStart,i=this.inCompositionMode?this.hiddenTextarea.selectionEnd:this.selectionEnd,r=-1!==this.textAlign.indexOf("justify"),o=this.get2DCursorLocation(n),a=this.get2DCursorLocation(i),s=o.lineIndex,l=a.lineIndex,u=o.charIndex<0?0:o.charIndex,c=a.charIndex<0?0:a.charIndex,h=s;h<=l;h++){var f=this._getLineLeftOffset(h)||0,d=this.getHeightOfLine(h),p=0,g=0,v=0;if(h===s&&(g=this.__charBounds[s][u].left),h>=s&&h<l)v=r&&!this.isEndOfWrapping(h)?this.width:this.getLineWidth(h)||5;else if(h===l)if(0===c)v=this.__charBounds[l][c].left;else{var m=this._getWidthOfCharSpacing();v=this.__charBounds[l][c-1].left+this.__charBounds[l][c-1].width-m}p=d,(this.lineHeight<1||h===l&&this.lineHeight>1)&&(d/=this.lineHeight);var y=t.left+f+g,b=v-g,_=d,x=0;this.inCompositionMode?(e.fillStyle=this.compositionColor||"black",_=1,x=d):e.fillStyle=this.selectionColor,"rtl"===this.direction&&(y=this.width-y-b),e.fillRect(y,t.top+t.topOffset+x,b,_),t.topOffset+=p}},getCurrentCharFontSize:function(){var t=this._getCurrentCharIndex();return this.getValueOfPropertyAt(t.l,t.c,"fontSize")},getCurrentCharColor:function(){var t=this._getCurrentCharIndex();return this.getValueOfPropertyAt(t.l,t.c,"fill")},_getCurrentCharIndex:function(){var t=this.get2DCursorLocation(this.selectionStart,!0),e=t.charIndex>0?t.charIndex-1:0;return{l:t.lineIndex,c:e}}}),i.IText.fromObject=function(e,n){var r=i.util.stylesFromArray(e.styles,e.text),o=Object.assign({},e,{styles:r});if(t(o),o.styles)for(var a in o.styles)for(var s in o.styles[a])t(o.styles[a][s]);i.Object._fromObject("IText",o,n,"text")}}(),function(){var t=i.util.object.clone;i.util.object.extend(i.IText.prototype,{initBehavior:function(){this.initAddedHandler(),this.initRemovedHandler(),this.initCursorSelectionHandlers(),this.initDoubleClickSimulation(),this.mouseMoveHandler=this.mouseMoveHandler.bind(this)},onDeselect:function(){this.isEditing&&this.exitEditing(),this.selected=!1},initAddedHandler:function(){var t=this;this.on("added",(function(){var e=t.canvas;e&&(e._hasITextHandlers||(e._hasITextHandlers=!0,t._initCanvasHandlers(e)),e._iTextInstances=e._iTextInstances||[],e._iTextInstances.push(t))}))},initRemovedHandler:function(){var t=this;this.on("removed",(function(){var e=t.canvas;e&&(e._iTextInstances=e._iTextInstances||[],i.util.removeFromArray(e._iTextInstances,t),0===e._iTextInstances.length&&(e._hasITextHandlers=!1,t._removeCanvasHandlers(e)))}))},_initCanvasHandlers:function(t){t._mouseUpITextHandler=function(){t._iTextInstances&&t._iTextInstances.forEach((function(t){t.__isMousedown=!1}))},t.on("mouse:up",t._mouseUpITextHandler)},_removeCanvasHandlers:function(t){t.off("mouse:up",t._mouseUpITextHandler)},_tick:function(){this._currentTickState=this._animateCursor(this,1,this.cursorDuration,"_onTickComplete")},_animateCursor:function(t,e,n,i){var r;return r={isAborted:!1,abort:function(){this.isAborted=!0}},t.animate("_currentCursorOpacity",e,{duration:n,onComplete:function(){r.isAborted||t[i]()},onChange:function(){t.canvas&&t.selectionStart===t.selectionEnd&&t.renderCursorOrSelection()},abort:function(){return r.isAborted}}),r},_onTickComplete:function(){var t=this;this._cursorTimeout1&&clearTimeout(this._cursorTimeout1),this._cursorTimeout1=setTimeout((function(){t._currentTickCompleteState=t._animateCursor(t,0,this.cursorDuration/2,"_tick")}),100)},initDelayedCursor:function(t){var e=this,n=t?0:this.cursorDelay;this.abortCursorAnimation(),this._currentCursorOpacity=1,this._cursorTimeout2=setTimeout((function(){e._tick()}),n)},abortCursorAnimation:function(){var t=this._currentTickState||this._currentTickCompleteState,e=this.canvas;this._currentTickState&&this._currentTickState.abort(),this._currentTickCompleteState&&this._currentTickCompleteState.abort(),clearTimeout(this._cursorTimeout1),clearTimeout(this._cursorTimeout2),this._currentCursorOpacity=0,t&&e&&e.clearContext(e.contextTop||e.contextContainer)},selectAll:function(){return this.selectionStart=0,this.selectionEnd=this._text.length,this._fireSelectionChanged(),this._updateTextarea(),this},getSelectedText:function(){return this._text.slice(this.selectionStart,this.selectionEnd).join("")},findWordBoundaryLeft:function(t){var e=0,n=t-1;if(this._reSpace.test(this._text[n]))while(this._reSpace.test(this._text[n]))e++,n--;while(/\S/.test(this._text[n])&&n>-1)e++,n--;return t-e},findWordBoundaryRight:function(t){var e=0,n=t;if(this._reSpace.test(this._text[n]))while(this._reSpace.test(this._text[n]))e++,n++;while(/\S/.test(this._text[n])&&n<this._text.length)e++,n++;return t+e},findLineBoundaryLeft:function(t){var e=0,n=t-1;while(!/\n/.test(this._text[n])&&n>-1)e++,n--;return t-e},findLineBoundaryRight:function(t){var e=0,n=t;while(!/\n/.test(this._text[n])&&n<this._text.length)e++,n++;return t+e},searchWordBoundary:function(t,e){var n=this._text,r=this._reSpace.test(n[t])?t-1:t,o=n[r],a=i.reNonWord;while(!a.test(o)&&r>0&&r<n.length)r+=e,o=n[r];return a.test(o)&&(r+=1===e?0:1),r},selectWord:function(t){t=t||this.selectionStart;var e=this.searchWordBoundary(t,-1),n=this.searchWordBoundary(t,1);this.selectionStart=e,this.selectionEnd=n,this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()},selectLine:function(t){t=t||this.selectionStart;var e=this.findLineBoundaryLeft(t),n=this.findLineBoundaryRight(t);return this.selectionStart=e,this.selectionEnd=n,this._fireSelectionChanged(),this._updateTextarea(),this},enterEditing:function(t){if(!this.isEditing&&this.editable)return this.canvas&&(this.canvas.calcOffset(),this.exitEditingOnOthers(this.canvas)),this.isEditing=!0,this.initHiddenTextarea(t),this.hiddenTextarea.focus(),this.hiddenTextarea.value=this.text,this._updateTextarea(),this._saveEditingProps(),this._setEditingProps(),this._textBeforeEdit=this.text,this._tick(),this.fire("editing:entered"),this._fireSelectionChanged(),this.canvas?(this.canvas.fire("text:editing:entered",{target:this}),this.initMouseMoveHandler(),this.canvas.requestRenderAll(),this):this},exitEditingOnOthers:function(t){t._iTextInstances&&t._iTextInstances.forEach((function(t){t.selected=!1,t.isEditing&&t.exitEditing()}))},initMouseMoveHandler:function(){this.canvas.on("mouse:move",this.mouseMoveHandler)},mouseMoveHandler:function(t){if(this.__isMousedown&&this.isEditing){document.activeElement!==this.hiddenTextarea&&this.hiddenTextarea.focus();var e=this.getSelectionStartFromPointer(t.e),n=this.selectionStart,i=this.selectionEnd;(e===this.__selectionStartOnMouseDown&&n!==i||n!==e&&i!==e)&&(e>this.__selectionStartOnMouseDown?(this.selectionStart=this.__selectionStartOnMouseDown,this.selectionEnd=e):(this.selectionStart=e,this.selectionEnd=this.__selectionStartOnMouseDown),this.selectionStart===n&&this.selectionEnd===i||(this.restartCursorIfNeeded(),this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()))}},_setEditingProps:function(){this.hoverCursor="text",this.canvas&&(this.canvas.defaultCursor=this.canvas.moveCursor="text"),this.borderColor=this.editingBorderColor,this.hasControls=this.selectable=!1,this.lockMovementX=this.lockMovementY=!0},fromStringToGraphemeSelection:function(t,e,n){var r=n.slice(0,t),o=i.util.string.graphemeSplit(r).length;if(t===e)return{selectionStart:o,selectionEnd:o};var a=n.slice(t,e),s=i.util.string.graphemeSplit(a).length;return{selectionStart:o,selectionEnd:o+s}},fromGraphemeToStringSelection:function(t,e,n){var i=n.slice(0,t),r=i.join("").length;if(t===e)return{selectionStart:r,selectionEnd:r};var o=n.slice(t,e),a=o.join("").length;return{selectionStart:r,selectionEnd:r+a}},_updateTextarea:function(){if(this.cursorOffsetCache={},this.hiddenTextarea){if(!this.inCompositionMode){var t=this.fromGraphemeToStringSelection(this.selectionStart,this.selectionEnd,this._text);this.hiddenTextarea.selectionStart=t.selectionStart,this.hiddenTextarea.selectionEnd=t.selectionEnd}this.updateTextareaPosition()}},updateFromTextArea:function(){if(this.hiddenTextarea){this.cursorOffsetCache={},this.text=this.hiddenTextarea.value,this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords());var t=this.fromStringToGraphemeSelection(this.hiddenTextarea.selectionStart,this.hiddenTextarea.selectionEnd,this.hiddenTextarea.value);this.selectionEnd=this.selectionStart=t.selectionEnd,this.inCompositionMode||(this.selectionStart=t.selectionStart),this.updateTextareaPosition()}},updateTextareaPosition:function(){if(this.selectionStart===this.selectionEnd){var t=this._calcTextareaPosition();this.hiddenTextarea.style.left=t.left,this.hiddenTextarea.style.top=t.top}},_calcTextareaPosition:function(){if(!this.canvas)return{x:1,y:1};var t=this.inCompositionMode?this.compositionStart:this.selectionStart,e=this._getCursorBoundaries(t),n=this.get2DCursorLocation(t),r=n.lineIndex,o=n.charIndex,a=this.getValueOfPropertyAt(r,o,"fontSize")*this.lineHeight,s=e.leftOffset,l=this.calcTransformMatrix(),u={x:e.left+s,y:e.top+e.topOffset+a},c=this.canvas.getRetinaScaling(),h=this.canvas.upperCanvasEl,f=h.width/c,d=h.height/c,p=f-a,g=d-a,v=h.clientWidth/f,m=h.clientHeight/d;return u=i.util.transformPoint(u,l),u=i.util.transformPoint(u,this.canvas.viewportTransform),u.x*=v,u.y*=m,u.x<0&&(u.x=0),u.x>p&&(u.x=p),u.y<0&&(u.y=0),u.y>g&&(u.y=g),u.x+=this.canvas._offset.left,u.y+=this.canvas._offset.top,{left:u.x+"px",top:u.y+"px",fontSize:a+"px",charHeight:a}},_saveEditingProps:function(){this._savedProps={hasControls:this.hasControls,borderColor:this.borderColor,lockMovementX:this.lockMovementX,lockMovementY:this.lockMovementY,hoverCursor:this.hoverCursor,selectable:this.selectable,defaultCursor:this.canvas&&this.canvas.defaultCursor,moveCursor:this.canvas&&this.canvas.moveCursor}},_restoreEditingProps:function(){this._savedProps&&(this.hoverCursor=this._savedProps.hoverCursor,this.hasControls=this._savedProps.hasControls,this.borderColor=this._savedProps.borderColor,this.selectable=this._savedProps.selectable,this.lockMovementX=this._savedProps.lockMovementX,this.lockMovementY=this._savedProps.lockMovementY,this.canvas&&(this.canvas.defaultCursor=this._savedProps.defaultCursor,this.canvas.moveCursor=this._savedProps.moveCursor))},exitEditing:function(){var t=this._textBeforeEdit!==this.text,e=this.hiddenTextarea;return this.selected=!1,this.isEditing=!1,this.selectionEnd=this.selectionStart,e&&(e.blur&&e.blur(),e.parentNode&&e.parentNode.removeChild(e)),this.hiddenTextarea=null,this.abortCursorAnimation(),this._restoreEditingProps(),this._currentCursorOpacity=0,this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this.fire("editing:exited"),t&&this.fire("modified"),this.canvas&&(this.canvas.off("mouse:move",this.mouseMoveHandler),this.canvas.fire("text:editing:exited",{target:this}),t&&this.canvas.fire("object:modified",{target:this})),this},_removeExtraneousStyles:function(){for(var t in this.styles)this._textLines[t]||delete this.styles[t]},removeStyleFromTo:function(t,e){var n,i,r=this.get2DCursorLocation(t,!0),o=this.get2DCursorLocation(e,!0),a=r.lineIndex,s=r.charIndex,l=o.lineIndex,u=o.charIndex;if(a!==l){if(this.styles[a])for(n=s;n<this._unwrappedTextLines[a].length;n++)delete this.styles[a][n];if(this.styles[l])for(n=u;n<this._unwrappedTextLines[l].length;n++)i=this.styles[l][n],i&&(this.styles[a]||(this.styles[a]={}),this.styles[a][s+n-u]=i);for(n=a+1;n<=l;n++)delete this.styles[n];this.shiftLineStyles(l,a-l)}else if(this.styles[a]){i=this.styles[a];var c,h,f=u-s;for(n=s;n<u;n++)delete i[n];for(h in this.styles[a])c=parseInt(h,10),c>=u&&(i[c-f]=i[h],delete i[h])}},shiftLineStyles:function(e,n){var i=t(this.styles);for(var r in this.styles){var o=parseInt(r,10);o>e&&(this.styles[o+n]=i[o],i[o-n]||delete this.styles[o])}},restartCursorIfNeeded:function(){this._currentTickState&&!this._currentTickState.isAborted&&this._currentTickCompleteState&&!this._currentTickCompleteState.isAborted||this.initDelayedCursor()},insertNewlineStyleObject:function(e,n,i,r){var o,a={},s=!1,l=this._unwrappedTextLines[e].length===n;for(var u in i||(i=1),this.shiftLineStyles(e,i),this.styles[e]&&(o=this.styles[e][0===n?n:n-1]),this.styles[e]){var c=parseInt(u,10);c>=n&&(s=!0,a[c-n]=this.styles[e][u],l&&0===n||delete this.styles[e][u])}var h=!1;s&&!l&&(this.styles[e+i]=a,h=!0),h&&i--;while(i>0)r&&r[i-1]?this.styles[e+i]={0:t(r[i-1])}:o?this.styles[e+i]={0:t(o)}:delete this.styles[e+i],i--;this._forceClearCache=!0},insertCharStyleObject:function(e,n,i,r){this.styles||(this.styles={});var o=this.styles[e],a=o?t(o):{};for(var s in i||(i=1),a){var l=parseInt(s,10);l>=n&&(o[l+i]=a[l],a[l-i]||delete o[l])}if(this._forceClearCache=!0,r)while(i--)Object.keys(r[i]).length&&(this.styles[e]||(this.styles[e]={}),this.styles[e][n+i]=t(r[i]));else if(o){var u=o[n?n-1:1];while(u&&i--)this.styles[e][n+i]=t(u)}},insertNewStyleBlock:function(t,e,n){for(var i=this.get2DCursorLocation(e,!0),r=[0],o=0,a=0;a<t.length;a++)"\n"===t[a]?(o++,r[o]=0):r[o]++;r[0]>0&&(this.insertCharStyleObject(i.lineIndex,i.charIndex,r[0],n),n=n&&n.slice(r[0]+1)),o&&this.insertNewlineStyleObject(i.lineIndex,i.charIndex+r[0],o);for(a=1;a<o;a++)r[a]>0?this.insertCharStyleObject(i.lineIndex+a,0,r[a],n):n&&this.styles[i.lineIndex+a]&&n[0]&&(this.styles[i.lineIndex+a][0]=n[0]),n=n&&n.slice(r[a]+1);r[a]>0&&this.insertCharStyleObject(i.lineIndex+a,0,r[a],n)},setSelectionStartEndWithShift:function(t,e,n){n<=t?(e===t?this._selectionDirection="left":"right"===this._selectionDirection&&(this._selectionDirection="left",this.selectionEnd=t),this.selectionStart=n):n>t&&n<e?"right"===this._selectionDirection?this.selectionEnd=n:this.selectionStart=n:(e===t?this._selectionDirection="right":"left"===this._selectionDirection&&(this._selectionDirection="right",this.selectionStart=e),this.selectionEnd=n)},setSelectionInBoundaries:function(){var t=this.text.length;this.selectionStart>t?this.selectionStart=t:this.selectionStart<0&&(this.selectionStart=0),this.selectionEnd>t?this.selectionEnd=t:this.selectionEnd<0&&(this.selectionEnd=0)}})}(),i.util.object.extend(i.IText.prototype,{initDoubleClickSimulation:function(){this.__lastClickTime=+new Date,this.__lastLastClickTime=+new Date,this.__lastPointer={},this.on("mousedown",this.onMouseDown)},onMouseDown:function(t){if(this.canvas){this.__newClickTime=+new Date;var e=t.pointer;this.isTripleClick(e)&&(this.fire("tripleclick",t),this._stopEvent(t.e)),this.__lastLastClickTime=this.__lastClickTime,this.__lastClickTime=this.__newClickTime,this.__lastPointer=e,this.__lastIsEditing=this.isEditing,this.__lastSelected=this.selected}},isTripleClick:function(t){return this.__newClickTime-this.__lastClickTime<500&&this.__lastClickTime-this.__lastLastClickTime<500&&this.__lastPointer.x===t.x&&this.__lastPointer.y===t.y},_stopEvent:function(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation()},initCursorSelectionHandlers:function(){this.initMousedownHandler(),this.initMouseupHandler(),this.initClicks()},doubleClickHandler:function(t){this.isEditing&&this.selectWord(this.getSelectionStartFromPointer(t.e))},tripleClickHandler:function(t){this.isEditing&&this.selectLine(this.getSelectionStartFromPointer(t.e))},initClicks:function(){this.on("mousedblclick",this.doubleClickHandler),this.on("tripleclick",this.tripleClickHandler)},_mouseDownHandler:function(t){!this.canvas||!this.editable||t.e.button&&1!==t.e.button||(this.__isMousedown=!0,this.selected&&(this.inCompositionMode=!1,this.setCursorByClick(t.e)),this.isEditing&&(this.__selectionStartOnMouseDown=this.selectionStart,this.selectionStart===this.selectionEnd&&this.abortCursorAnimation(),this.renderCursorOrSelection()))},_mouseDownHandlerBefore:function(t){!this.canvas||!this.editable||t.e.button&&1!==t.e.button||(this.selected=this===this.canvas._activeObject)},initMousedownHandler:function(){this.on("mousedown",this._mouseDownHandler),this.on("mousedown:before",this._mouseDownHandlerBefore)},initMouseupHandler:function(){this.on("mouseup",this.mouseUpHandler)},mouseUpHandler:function(t){if(this.__isMousedown=!1,!(!this.editable||this.group||t.transform&&t.transform.actionPerformed||t.e.button&&1!==t.e.button)){if(this.canvas){var e=this.canvas._activeObject;if(e&&e!==this)return}this.__lastSelected&&!this.__corner?(this.selected=!1,this.__lastSelected=!1,this.enterEditing(t.e),this.selectionStart===this.selectionEnd?this.initDelayedCursor(!0):this.renderCursorOrSelection()):this.selected=!0}},setCursorByClick:function(t){var e=this.getSelectionStartFromPointer(t),n=this.selectionStart,i=this.selectionEnd;t.shiftKey?this.setSelectionStartEndWithShift(n,i,e):(this.selectionStart=e,this.selectionEnd=e),this.isEditing&&(this._fireSelectionChanged(),this._updateTextarea())},getSelectionStartFromPointer:function(t){for(var e,n,i=this.getLocalPointer(t),r=0,o=0,a=0,s=0,l=0,u=0,c=this._textLines.length;u<c;u++){if(!(a<=i.y))break;a+=this.getHeightOfLine(u)*this.scaleY,l=u,u>0&&(s+=this._textLines[u-1].length+this.missingNewlineOffset(u-1))}e=this._getLineLeftOffset(l),o=e*this.scaleX,n=this._textLines[l],"rtl"===this.direction&&(i.x=this.width*this.scaleX-i.x+o);for(var h=0,f=n.length;h<f;h++){if(r=o,o+=this.__charBounds[l][h].kernedWidth*this.scaleX,!(o<=i.x))break;s++}return this._getNewSelectionStartFromOffset(i,r,o,s,f)},_getNewSelectionStartFromOffset:function(t,e,n,i,r){var o=t.x-e,a=n-t.x,s=a>o||a<0?0:1,l=i+s;return this.flipX&&(l=r-l),l>this._text.length&&(l=this._text.length),l}}),i.util.object.extend(i.IText.prototype,{initHiddenTextarea:function(){this.hiddenTextarea=i.document.createElement("textarea"),this.hiddenTextarea.setAttribute("autocapitalize","off"),this.hiddenTextarea.setAttribute("autocorrect","off"),this.hiddenTextarea.setAttribute("autocomplete","off"),this.hiddenTextarea.setAttribute("spellcheck","false"),this.hiddenTextarea.setAttribute("data-fabric-hiddentextarea",""),this.hiddenTextarea.setAttribute("wrap","off");var t=this._calcTextareaPosition();this.hiddenTextarea.style.cssText="position: absolute; top: "+t.top+"; left: "+t.left+"; z-index: -999; opacity: 0; width: 1px; height: 1px; font-size: 1px; padding-top: "+t.fontSize+";",this.hiddenTextareaContainer?this.hiddenTextareaContainer.appendChild(this.hiddenTextarea):i.document.body.appendChild(this.hiddenTextarea),i.util.addListener(this.hiddenTextarea,"keydown",this.onKeyDown.bind(this)),i.util.addListener(this.hiddenTextarea,"keyup",this.onKeyUp.bind(this)),i.util.addListener(this.hiddenTextarea,"input",this.onInput.bind(this)),i.util.addListener(this.hiddenTextarea,"copy",this.copy.bind(this)),i.util.addListener(this.hiddenTextarea,"cut",this.copy.bind(this)),i.util.addListener(this.hiddenTextarea,"paste",this.paste.bind(this)),i.util.addListener(this.hiddenTextarea,"compositionstart",this.onCompositionStart.bind(this)),i.util.addListener(this.hiddenTextarea,"compositionupdate",this.onCompositionUpdate.bind(this)),i.util.addListener(this.hiddenTextarea,"compositionend",this.onCompositionEnd.bind(this)),!this._clickHandlerInitialized&&this.canvas&&(i.util.addListener(this.canvas.upperCanvasEl,"click",this.onClick.bind(this)),this._clickHandlerInitialized=!0)},keysMap:{9:"exitEditing",27:"exitEditing",33:"moveCursorUp",34:"moveCursorDown",35:"moveCursorRight",36:"moveCursorLeft",37:"moveCursorLeft",38:"moveCursorUp",39:"moveCursorRight",40:"moveCursorDown"},keysMapRtl:{9:"exitEditing",27:"exitEditing",33:"moveCursorUp",34:"moveCursorDown",35:"moveCursorLeft",36:"moveCursorRight",37:"moveCursorRight",38:"moveCursorUp",39:"moveCursorLeft",40:"moveCursorDown"},ctrlKeysMapUp:{67:"copy",88:"cut"},ctrlKeysMapDown:{65:"selectAll"},onClick:function(){this.hiddenTextarea&&this.hiddenTextarea.focus()},onKeyDown:function(t){if(this.isEditing){var e="rtl"===this.direction?this.keysMapRtl:this.keysMap;if(t.keyCode in e)this[e[t.keyCode]](t);else{if(!(t.keyCode in this.ctrlKeysMapDown)||!t.ctrlKey&&!t.metaKey)return;this[this.ctrlKeysMapDown[t.keyCode]](t)}t.stopImmediatePropagation(),t.preventDefault(),t.keyCode>=33&&t.keyCode<=40?(this.inCompositionMode=!1,this.clearContextTop(),this.renderCursorOrSelection()):this.canvas&&this.canvas.requestRenderAll()}},onKeyUp:function(t){!this.isEditing||this._copyDone||this.inCompositionMode?this._copyDone=!1:t.keyCode in this.ctrlKeysMapUp&&(t.ctrlKey||t.metaKey)&&(this[this.ctrlKeysMapUp[t.keyCode]](t),t.stopImmediatePropagation(),t.preventDefault(),this.canvas&&this.canvas.requestRenderAll())},onInput:function(t){var e=this.fromPaste;if(this.fromPaste=!1,t&&t.stopPropagation(),this.isEditing){var n,r,o,a,s,l=this._splitTextIntoLines(this.hiddenTextarea.value).graphemeText,u=this._text.length,c=l.length,h=c-u,f=this.selectionStart,d=this.selectionEnd,p=f!==d;if(""===this.hiddenTextarea.value)return this.styles={},this.updateFromTextArea(),this.fire("changed"),void(this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll()));var g=this.fromStringToGraphemeSelection(this.hiddenTextarea.selectionStart,this.hiddenTextarea.selectionEnd,this.hiddenTextarea.value),v=f>g.selectionStart;p?(n=this._text.slice(f,d),h+=d-f):c<u&&(n=v?this._text.slice(d+h,d):this._text.slice(f,f-h)),r=l.slice(g.selectionEnd-h,g.selectionEnd),n&&n.length&&(r.length&&(o=this.getSelectionStyles(f,f+1,!1),o=r.map((function(){return o[0]}))),p?(a=f,s=d):v?(a=d-n.length,s=d):(a=d,s=d+n.length),this.removeStyleFromTo(a,s)),r.length&&(e&&r.join("")===i.copiedText&&!i.disableStyleCopyPaste&&(o=i.copiedTextStyle),this.insertNewStyleBlock(r,f,o)),this.updateFromTextArea(),this.fire("changed"),this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll())}},onCompositionStart:function(){this.inCompositionMode=!0},onCompositionEnd:function(){this.inCompositionMode=!1},onCompositionUpdate:function(t){this.compositionStart=t.target.selectionStart,this.compositionEnd=t.target.selectionEnd,this.updateTextareaPosition()},copy:function(){this.selectionStart!==this.selectionEnd&&(i.copiedText=this.getSelectedText(),i.disableStyleCopyPaste?i.copiedTextStyle=null:i.copiedTextStyle=this.getSelectionStyles(this.selectionStart,this.selectionEnd,!0),this._copyDone=!0)},paste:function(){this.fromPaste=!0},_getClipboardData:function(t){return t&&t.clipboardData||i.window.clipboardData},_getWidthBeforeCursor:function(t,e){var n,i=this._getLineLeftOffset(t);return e>0&&(n=this.__charBounds[t][e-1],i+=n.left+n.width),i},getDownCursorOffset:function(t,e){var n=this._getSelectionForOffset(t,e),i=this.get2DCursorLocation(n),r=i.lineIndex;if(r===this._textLines.length-1||t.metaKey||34===t.keyCode)return this._text.length-n;var o=i.charIndex,a=this._getWidthBeforeCursor(r,o),s=this._getIndexOnLine(r+1,a),l=this._textLines[r].slice(o);return l.length+s+1+this.missingNewlineOffset(r)},_getSelectionForOffset:function(t,e){return t.shiftKey&&this.selectionStart!==this.selectionEnd&&e?this.selectionEnd:this.selectionStart},getUpCursorOffset:function(t,e){var n=this._getSelectionForOffset(t,e),i=this.get2DCursorLocation(n),r=i.lineIndex;if(0===r||t.metaKey||33===t.keyCode)return-n;var o=i.charIndex,a=this._getWidthBeforeCursor(r,o),s=this._getIndexOnLine(r-1,a),l=this._textLines[r].slice(0,o),u=this.missingNewlineOffset(r-1);return-this._textLines[r-1].length+s-l.length+(1-u)},_getIndexOnLine:function(t,e){for(var n,i,r=this._textLines[t],o=this._getLineLeftOffset(t),a=o,s=0,l=0,u=r.length;l<u;l++)if(n=this.__charBounds[t][l].width,a+=n,a>e){i=!0;var c=a-n,h=a,f=Math.abs(c-e),d=Math.abs(h-e);s=d<f?l:l-1;break}return i||(s=r.length-1),s},moveCursorDown:function(t){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorUpOrDown("Down",t)},moveCursorUp:function(t){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorUpOrDown("Up",t)},_moveCursorUpOrDown:function(t,e){var n="get"+t+"CursorOffset",i=this[n](e,"right"===this._selectionDirection);e.shiftKey?this.moveCursorWithShift(i):this.moveCursorWithoutShift(i),0!==i&&(this.setSelectionInBoundaries(),this.abortCursorAnimation(),this._currentCursorOpacity=1,this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())},moveCursorWithShift:function(t){var e="left"===this._selectionDirection?this.selectionStart+t:this.selectionEnd+t;return this.setSelectionStartEndWithShift(this.selectionStart,this.selectionEnd,e),0!==t},moveCursorWithoutShift:function(t){return t<0?(this.selectionStart+=t,this.selectionEnd=this.selectionStart):(this.selectionEnd+=t,this.selectionStart=this.selectionEnd),0!==t},moveCursorLeft:function(t){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorLeftOrRight("Left",t)},_move:function(t,e,n){var i;if(t.altKey)i=this["findWordBoundary"+n](this[e]);else{if(!t.metaKey&&35!==t.keyCode&&36!==t.keyCode)return this[e]+="Left"===n?-1:1,!0;i=this["findLineBoundary"+n](this[e])}if("undefined"!==typeof i&&this[e]!==i)return this[e]=i,!0},_moveLeft:function(t,e){return this._move(t,e,"Left")},_moveRight:function(t,e){return this._move(t,e,"Right")},moveCursorLeftWithoutShift:function(t){var e=!0;return this._selectionDirection="left",this.selectionEnd===this.selectionStart&&0!==this.selectionStart&&(e=this._moveLeft(t,"selectionStart")),this.selectionEnd=this.selectionStart,e},moveCursorLeftWithShift:function(t){return"right"===this._selectionDirection&&this.selectionStart!==this.selectionEnd?this._moveLeft(t,"selectionEnd"):0!==this.selectionStart?(this._selectionDirection="left",this._moveLeft(t,"selectionStart")):void 0},moveCursorRight:function(t){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorLeftOrRight("Right",t)},_moveCursorLeftOrRight:function(t,e){var n="moveCursor"+t+"With";this._currentCursorOpacity=1,e.shiftKey?n+="Shift":n+="outShift",this[n](e)&&(this.abortCursorAnimation(),this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())},moveCursorRightWithShift:function(t){return"left"===this._selectionDirection&&this.selectionStart!==this.selectionEnd?this._moveRight(t,"selectionStart"):this.selectionEnd!==this._text.length?(this._selectionDirection="right",this._moveRight(t,"selectionEnd")):void 0},moveCursorRightWithoutShift:function(t){var e=!0;return this._selectionDirection="right",this.selectionStart===this.selectionEnd?(e=this._moveRight(t,"selectionStart"),this.selectionEnd=this.selectionStart):this.selectionStart=this.selectionEnd,e},removeChars:function(t,e){"undefined"===typeof e&&(e=t+1),this.removeStyleFromTo(t,e),this._text.splice(t,e-t),this.text=this._text.join(""),this.set("dirty",!0),this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this._removeExtraneousStyles()},insertChars:function(t,e,n,r){"undefined"===typeof r&&(r=n),r>n&&this.removeStyleFromTo(n,r);var o=i.util.string.graphemeSplit(t);this.insertNewStyleBlock(o,n,e),this._text=[].concat(this._text.slice(0,n),o,this._text.slice(r)),this.text=this._text.join(""),this.set("dirty",!0),this._shouldClearDimensionCache()&&(this.initDimensions(),this.setCoords()),this._removeExtraneousStyles()}}),function(){var t=i.util.toFixed,e=/  +/g;i.util.object.extend(i.Text.prototype,{_toSVG:function(){var t=this._getSVGLeftTopOffsets(),e=this._getSVGTextAndBg(t.textTop,t.textLeft);return this._wrapSVGTextAndBg(e)},toSVG:function(t){return this._createBaseSVGMarkup(this._toSVG(),{reviver:t,noStyle:!0,withShadow:!0})},_getSVGLeftTopOffsets:function(){return{textLeft:-this.width/2,textTop:-this.height/2,lineTop:this.getHeightOfLine(0)}},_wrapSVGTextAndBg:function(t){var e=!0,n=this.getSvgTextDecoration(this);return[t.textBgRects.join(""),'\t\t<text xml:space="preserve" ',this.fontFamily?'font-family="'+this.fontFamily.replace(/"/g,"'")+'" ':"",this.fontSize?'font-size="'+this.fontSize+'" ':"",this.fontStyle?'font-style="'+this.fontStyle+'" ':"",this.fontWeight?'font-weight="'+this.fontWeight+'" ':"",n?'text-decoration="'+n+'" ':"",'style="',this.getSvgStyles(e),'"',this.addPaintOrder()," >",t.textSpans.join(""),"</text>\n"]},_getSVGTextAndBg:function(t,e){var n,i=[],r=[],o=t;this._setSVGBg(r);for(var a=0,s=this._textLines.length;a<s;a++)n=this._getLineLeftOffset(a),(this.textBackgroundColor||this.styleHas("textBackgroundColor",a))&&this._setSVGTextLineBg(r,a,e+n,o),this._setSVGTextLineText(i,a,e+n,o),o+=this.getHeightOfLine(a);return{textSpans:i,textBgRects:r}},_createTextCharSpan:function(n,r,o,a){var s=n!==n.trim()||n.match(e),l=this.getSvgSpanStyles(r,s),u=l?'style="'+l+'"':"",c=r.deltaY,h="",f=i.Object.NUM_FRACTION_DIGITS;return c&&(h=' dy="'+t(c,f)+'" '),['<tspan x="',t(o,f),'" y="',t(a,f),'" ',h,u,">",i.util.string.escapeXml(n),"</tspan>"].join("")},_setSVGTextLineText:function(t,e,n,r){var o,a,s,l,u,c=this.getHeightOfLine(e),h=-1!==this.textAlign.indexOf("justify"),f="",d=0,p=this._textLines[e];r+=c*(1-this._fontSizeFraction)/this.lineHeight;for(var g=0,v=p.length-1;g<=v;g++)u=g===v||this.charSpacing,f+=p[g],s=this.__charBounds[e][g],0===d?(n+=s.kernedWidth-s.width,d+=s.width):d+=s.kernedWidth,h&&!u&&this._reSpaceAndTab.test(p[g])&&(u=!0),u||(o=o||this.getCompleteStyleDeclaration(e,g),a=this.getCompleteStyleDeclaration(e,g+1),u=i.util.hasStyleChanged(o,a,!0)),u&&(l=this._getStyleDeclaration(e,g)||{},t.push(this._createTextCharSpan(f,l,n,r)),f="",o=a,n+=d,d=0)},_pushTextBgRect:function(e,n,r,o,a,s){var l=i.Object.NUM_FRACTION_DIGITS;e.push("\t\t<rect ",this._getFillAttributes(n),' x="',t(r,l),'" y="',t(o,l),'" width="',t(a,l),'" height="',t(s,l),'"></rect>\n')},_setSVGTextLineBg:function(t,e,n,i){for(var r,o,a=this._textLines[e],s=this.getHeightOfLine(e)/this.lineHeight,l=0,u=0,c=this.getValueOfPropertyAt(e,0,"textBackgroundColor"),h=0,f=a.length;h<f;h++)r=this.__charBounds[e][h],o=this.getValueOfPropertyAt(e,h,"textBackgroundColor"),o!==c?(c&&this._pushTextBgRect(t,c,n+u,i,l,s),u=r.left,l=r.width,c=o):l+=r.kernedWidth;o&&this._pushTextBgRect(t,o,n+u,i,l,s)},_getFillAttributes:function(t){var e=t&&"string"===typeof t?new i.Color(t):"";return e&&e.getSource()&&1!==e.getAlpha()?'opacity="'+e.getAlpha()+'" fill="'+e.setAlpha(1).toRgb()+'"':'fill="'+t+'"'},_getSVGLineTopOffset:function(t){for(var e=0,n=0,i=0;i<t;i++)e+=this.getHeightOfLine(i);return n=this.getHeightOfLine(i),{lineTop:e,offset:(this._fontSizeMult-this._fontSizeFraction)*n/(this.lineHeight*this._fontSizeMult)}},getSvgStyles:function(t){var e=i.Object.prototype.getSvgStyles.call(this,t);return e+" white-space: pre;"}})}(),function(t){"use strict";var e=t.fabric||(t.fabric={});e.Textbox=e.util.createClass(e.IText,e.Observable,{type:"textbox",minWidth:20,dynamicMinWidth:2,__cachedLines:null,lockScalingFlip:!0,noScaleCache:!1,_dimensionAffectingProps:e.Text.prototype._dimensionAffectingProps.concat("width"),_wordJoiners:/[ \t\r]/,splitByGrapheme:!1,initDimensions:function(){this.__skipDimension||(this.isEditing&&this.initDelayedCursor(),this.clearContextTop(),this._clearCache(),this.dynamicMinWidth=0,this._styleMap=this._generateStyleMap(this._splitText()),this.dynamicMinWidth>this.width&&this._set("width",this.dynamicMinWidth),-1!==this.textAlign.indexOf("justify")&&this.enlargeSpaces(),this.height=this.calcTextHeight(),this.saveState({propertySet:"_dimensionAffectingProps"}))},_generateStyleMap:function(t){for(var e=0,n=0,i=0,r={},o=0;o<t.graphemeLines.length;o++)"\n"===t.graphemeText[i]&&o>0?(n=0,i++,e++):!this.splitByGrapheme&&this._reSpaceAndTab.test(t.graphemeText[i])&&o>0&&(n++,i++),r[o]={line:e,offset:n},i+=t.graphemeLines[o].length,n+=t.graphemeLines[o].length;return r},styleHas:function(t,n){if(this._styleMap&&!this.isWrapping){var i=this._styleMap[n];i&&(n=i.line)}return e.Text.prototype.styleHas.call(this,t,n)},isEmptyStyles:function(t){if(!this.styles)return!0;var e,n,i=0,r=t+1,o=!1,a=this._styleMap[t],s=this._styleMap[t+1];for(var l in a&&(t=a.line,i=a.offset),s&&(r=s.line,o=r===t,e=s.offset),n="undefined"===typeof t?this.styles:{line:this.styles[t]},n)for(var u in n[l])if(u>=i&&(!o||u<e))for(var c in n[l][u])return!1;return!0},_getStyleDeclaration:function(t,e){if(this._styleMap&&!this.isWrapping){var n=this._styleMap[t];if(!n)return null;t=n.line,e=n.offset+e}return this.callSuper("_getStyleDeclaration",t,e)},_setStyleDeclaration:function(t,e,n){var i=this._styleMap[t];t=i.line,e=i.offset+e,this.styles[t][e]=n},_deleteStyleDeclaration:function(t,e){var n=this._styleMap[t];t=n.line,e=n.offset+e,delete this.styles[t][e]},_getLineStyle:function(t){var e=this._styleMap[t];return!!this.styles[e.line]},_setLineStyle:function(t){var e=this._styleMap[t];this.styles[e.line]={}},_wrapText:function(t,e){var n,i=[];for(this.isWrapping=!0,n=0;n<t.length;n++)i=i.concat(this._wrapLine(t[n],n,e));return this.isWrapping=!1,i},_measureWord:function(t,e,n){var i,r=0,o=!0;n=n||0;for(var a=0,s=t.length;a<s;a++){var l=this._getGraphemeBox(t[a],e,a+n,i,o);r+=l.kernedWidth,i=t[a]}return r},_wrapLine:function(t,n,i,r){var o=0,a=this.splitByGrapheme,s=[],l=[],u=a?e.util.string.graphemeSplit(t):t.split(this._wordJoiners),c="",h=0,f=a?"":" ",d=0,p=0,g=0,v=!0,m=this._getWidthOfCharSpacing();r=r||0;0===u.length&&u.push([]),i-=r;for(var y=0;y<u.length;y++)c=a?u[y]:e.util.string.graphemeSplit(u[y]),d=this._measureWord(c,n,h),h+=c.length,o+=p+d-m,o>i&&!v?(s.push(l),l=[],o=d,v=!0):o+=m,v||a||l.push(f),l=l.concat(c),p=a?0:this._measureWord([f],n,h),h++,v=!1,d>g&&(g=d);return y&&s.push(l),g+r>this.dynamicMinWidth&&(this.dynamicMinWidth=g-m+r),s},isEndOfWrapping:function(t){return!this._styleMap[t+1]||this._styleMap[t+1].line!==this._styleMap[t].line},missingNewlineOffset:function(t){return this.splitByGrapheme?this.isEndOfWrapping(t)?1:0:1},_splitTextIntoLines:function(t){for(var n=e.Text.prototype._splitTextIntoLines.call(this,t),i=this._wrapText(n.lines,this.width),r=new Array(i.length),o=0;o<i.length;o++)r[o]=i[o].join("");return n.lines=r,n.graphemeLines=i,n},getMinWidth:function(){return Math.max(this.minWidth,this.dynamicMinWidth)},_removeExtraneousStyles:function(){var t={};for(var e in this._styleMap)this._textLines[e]&&(t[this._styleMap[e].line]=1);for(var e in this.styles)t[e]||delete this.styles[e]},toObject:function(t){return this.callSuper("toObject",["minWidth","splitByGrapheme"].concat(t))}}),e.Textbox.fromObject=function(t,n){var i=e.util.stylesFromArray(t.styles,t.text),r=Object.assign({},t,{styles:i});return e.Object._fromObject("Textbox",r,n,"text")}}(e),function(){var t=i.controlsUtils,e=t.scaleSkewCursorStyleHandler,n=t.scaleCursorStyleHandler,r=t.scalingEqually,o=t.scalingYOrSkewingX,a=t.scalingXOrSkewingY,s=t.scaleOrSkewActionName,l=i.Object.prototype.controls;if(l.ml=new i.Control({x:-.5,y:0,cursorStyleHandler:e,actionHandler:a,getActionName:s}),l.mr=new i.Control({x:.5,y:0,cursorStyleHandler:e,actionHandler:a,getActionName:s}),l.mb=new i.Control({x:0,y:.5,cursorStyleHandler:e,actionHandler:o,getActionName:s}),l.mt=new i.Control({x:0,y:-.5,cursorStyleHandler:e,actionHandler:o,getActionName:s}),l.tl=new i.Control({x:-.5,y:-.5,cursorStyleHandler:n,actionHandler:r}),l.tr=new i.Control({x:.5,y:-.5,cursorStyleHandler:n,actionHandler:r}),l.bl=new i.Control({x:-.5,y:.5,cursorStyleHandler:n,actionHandler:r}),l.br=new i.Control({x:.5,y:.5,cursorStyleHandler:n,actionHandler:r}),l.mtr=new i.Control({x:0,y:-.5,actionHandler:t.rotationWithSnapping,cursorStyleHandler:t.rotationStyleHandler,offsetY:-40,withConnection:!0,actionName:"rotate"}),i.Textbox){var u=i.Textbox.prototype.controls={};u.mtr=l.mtr,u.tr=l.tr,u.br=l.br,u.tl=l.tl,u.bl=l.bl,u.mt=l.mt,u.mb=l.mb,u.mr=new i.Control({x:.5,y:0,actionHandler:t.changeWidth,cursorStyleHandler:e,actionName:"resizing"}),u.ml=new i.Control({x:-.5,y:0,actionHandler:t.changeWidth,cursorStyleHandler:e,actionName:"resizing"})}}()}).call(this,n("b639").Buffer)},"7aac":function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,n){var i=n("1d80"),r=Object;t.exports=function(t){return r(i(t))}},"7b0c":function(t,e,n){var i=n("6cc5"),r=n("f934"),o=r.getLayoutRect,a=n("e263");function s(t,e,n){var i=t.getBoxLayoutParams();return i.aspect=n,o(i,{width:e.getWidth(),height:e.getHeight()})}function l(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var r=t.get("coordinateSystem");if(!r||"view"===r){var o=t.getData(),l=o.mapArray((function(t){var e=o.getItemModel(t);return[+e.get("x"),+e.get("y")]})),u=[],c=[];a.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var h=(c[0]-u[0])/(c[1]-u[1]),f=s(t,e,h);isNaN(h)&&(u=[f.x,f.y],c=[f.x+f.width,f.y+f.height]);var d=c[0]-u[0],p=c[1]-u[1],g=f.width,v=f.height,m=t.coordinateSystem=new i;m.zoomLimit=t.get("scaleLimit"),m.setBoundingRect(u[0],u[1],d,p),m.setViewRect(f.x,f.y,g,v),m.setCenter(t.get("center")),m.setZoom(t.get("zoom")),n.push(m)}})),n}t.exports=l},"7b3e":function(t,e,n){"use strict";var i,r=n("a3de");
/**
 * Checks if an event is supported in the current execution environment.
 *
 * NOTE: This will not work correctly for non-generic events such as `change`,
 * `reset`, `load`, `error`, and `select`.
 *
 * Borrows from Modernizr.
 *
 * @param {string} eventNameSuffix Event name, e.g. "click".
 * @param {?boolean} capture Check if the capture phase is supported.
 * @return {boolean} True if the event is supported.
 * @internal
 * @license Modernizr 3.0.0pre (Custom Build) | MIT
 */
function o(t,e){if(!r.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&i&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=o},"7c4d":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("fc82"),a=n("bd9e"),s=n("6fda"),l=n("ef6a"),u=n("29a8"),c=n("2145");n("dd39");var h=u.toolbox.dataZoom,f=r.each,d="\0_ec_\0toolbox-dataZoom_";function p(t,e,n){(this._brushController=new o(n.getZr())).on("brush",r.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,filterMode:"filter",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:r.clone(h.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var g=p.prototype;g.render=function(t,e,n,i){this.model=t,this.ecModel=e,this.api=n,b(t,e,this,i,n),y(t,e)},g.onclick=function(t,e,n){v[n].call(this)},g.remove=function(t,e){this._brushController.unmount()},g.dispose=function(t,e){this._brushController.dispose()};var v={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(t){var e={};return r.each(["xAxisIndex","yAxisIndex"],(function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),(!1===e[n]||"none"===e[n])&&(e[n]=[])})),e}function y(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}function b(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var s=new a(m(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}g._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new a(m(this.model.option),i,{include:["grid"]});r.matchOutputRanges(t,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(o("x",n,e[0]),o("y",n,e[1])):o({lineX:"x",lineY:"y"}[i],n,e)}})),s.push(i,n),this._dispatchZoomAction(n)}function o(t,e,r){var o=e.getAxis(t),a=o.model,s=u(t,a,i),c=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(r=l(0,r.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}function u(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(t,e.componentIndex);r&&(i=n)})),i}},g._dispatchZoomAction=function(t){var e=[];f(t,(function(t,n){e.push(r.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",p),i.registerPreprocessor((function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);r.isArray(e)||(t.dataZoom=e=[e]);var n=t.toolbox;if(n&&(r.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;o("xAxis",i),o("yAxis",i)}}function o(t,n){if(n){var i=t+"Index",o=n[i];null==o||"all"===o||r.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(t,(function(a,s){if(null==o||"all"===o||-1!==r.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:n.filterMode||"filter",id:d+t+s};l[i]=s,e.push(l)}}))}}function a(e,n){var i=t[e];r.isArray(i)||(i=i?[i]:[]),f(i,n)}}));var _=p;t.exports=_},"7c73":function(t,e,n){var i,r=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),h=">",f="<",d="prototype",p="script",g=c("IE_PROTO"),v=function(){},m=function(t){return f+p+h+t+f+"/"+p+h},y=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),n="java"+p+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},_=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}_="undefined"!=typeof document?document.domain&&i?y(i):b():y(i);var t=a.length;while(t--)delete _[d][a[t]];return _()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(v[d]=r(t),n=new v,v[d]=null,n[g]=t):n=_(),void 0===e?n:o.f(n,e)}},"7d6d":function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function i(t,e,i){return n.hasOwnProperty(e)?i*t.dpr:i}t.exports=i},"7db0":function(t,e,n){"use strict";var i=n("23e7"),r=n("b727").find,o=n("44d2"),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},"7dcf":function(t,e,n){var i=n("b12f"),r=i.extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};function i(t,e,n,i){for(var r,o=0;o<n.length;o++)if(n[o].model===t){r=n[o];break}r||n.push(r={model:t,axisModels:[],coordIndex:i}),r.axisModels.push(e)}return t.eachTargetAxis((function(t,r){var o=e.getComponent(t.axis,r);if(o){var a=o.getCoordSysModel();a&&i(a,o,n[a.mainType]||(n[a.mainType]=[]),a.componentIndex)}}),this),n}});t.exports=r},"7e32":function(t,e,n){var i=n("3eba");n("43b8"),n("8e77"),i.registerPreprocessor((function(t){t.markArea=t.markArea||{}}))},"7e5b":function(t,e,n){var i=n("6d8b"),r=n("401b"),o=n("a15a"),a=n("7f91"),s=n("2306"),l=n("3842"),u=l.round,c=["fromSymbol","toSymbol"];function h(t){return"_"+t+"Type"}function f(t,e,n){var r=e.getItemVisual(n,t);if(r&&"none"!==r){var a=e.getItemVisual(n,"color"),s=e.getItemVisual(n,t+"Size"),l=e.getItemVisual(n,t+"Rotate");i.isArray(s)||(s=[s,s]);var u=o.createSymbol(r,-s[0]/2,-s[1]/2,s[0],s[1],a);return u.__specifiedRotation=null==l||isNaN(l)?void 0:+l*Math.PI/180||0,u.name=t,u}}function d(t){var e=new a({name:"line",subPixelOptimize:!0});return p(e.shape,t),e}function p(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}function g(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.childOfName("label");if(e||n||!i.ignore){var o=1,a=this.parent;while(a)a.scale&&(o/=a.scale[0]),a=a.parent;var s=t.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,u=s.pointAt(0),c=s.pointAt(l),h=r.sub([],c,u);if(r.normalize(h,h),e){e.attr("position",u);var f=e.__specifiedRotation;if(null==f){var d=s.tangentAt(0);e.attr("rotation",Math.PI/2-Math.atan2(d[1],d[0]))}else e.attr("rotation",f);e.attr("scale",[o*l,o*l])}if(n){n.attr("position",c);f=n.__specifiedRotation;if(null==f){d=s.tangentAt(1);n.attr("rotation",-Math.PI/2-Math.atan2(d[1],d[0]))}else n.attr("rotation",f);n.attr("scale",[o*l,o*l])}if(!i.ignore){var p,g,v,m;i.attr("position",c);var y=i.__labelDistance,b=y[0]*o,_=y[1]*o,x=l/2,w=(d=s.tangentAt(x),[d[1],-d[0]]),S=s.pointAt(x);w[1]>0&&(w[0]=-w[0],w[1]=-w[1]);var C,T=d[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var A=-Math.atan2(d[1],d[0]);c[0]<u[0]&&(A=Math.PI+A),i.attr("rotation",A)}switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":C=-_,v="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":C=_,v="top";break;default:C=0,v="middle"}switch(i.__position){case"end":p=[h[0]*b+c[0],h[1]*_+c[1]],g=h[0]>.8?"left":h[0]<-.8?"right":"center",v=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":p=[-h[0]*b+u[0],-h[1]*_+u[1]],g=h[0]>.8?"right":h[0]<-.8?"left":"center",v=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[b*T+u[0],u[1]+C],g=d[0]<0?"right":"left",m=[-b*T,-C];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+C],g="center",m=[0,-C];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-b*T+c[0],c[1]+C],g=d[0]>=0?"right":"left",m=[b*T,-C];break}i.attr({style:{textVerticalAlign:i.__verticalAlign||v,textAlign:i.__textAlign||g},position:p,scale:[o,o],origin:m})}}}}function v(t,e,n){s.Group.call(this),this._createLine(t,e,n)}var m=v.prototype;m.beforeUpdate=g,m._createLine=function(t,e,n){var r=t.hostModel,o=t.getItemLayout(e),a=d(o);a.shape.percent=0,s.initProps(a,{shape:{percent:1}},r,e),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(c,(function(n){var i=f(n,t,e);this.add(i),this[h(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},m.updateData=function(t,e,n){var r=t.hostModel,o=this.childOfName("line"),a=t.getItemLayout(e),l={shape:{}};p(l.shape,a),s.updateProps(o,l,r,e),i.each(c,(function(n){var i=t.getItemVisual(e,n),r=h(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=f(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},m._updateCommonStl=function(t,e,n){var r=t.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,l=n&&n.hoverLineStyle,h=n&&n.labelModel,f=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var d=t.getItemModel(e);a=d.getModel("lineStyle").getLineStyle(),l=d.getModel("emphasis.lineStyle").getLineStyle(),h=d.getModel("label"),f=d.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=i.retrieve3(t.getItemVisual(e,"opacity"),a.opacity,1);o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},a)),o.hoverStyle=l,i.each(c,(function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))}),this);var v,m,y=h.getShallow("show"),b=f.getShallow("show"),_=this.childOfName("label");if((y||b)&&(v=p||"#000",m=r.getFormattedLabel(e,"normal",t.dataType),null==m)){var x=r.getRawValue(e);m=null==x?t.getName(e):isFinite(x)?u(x):x}var w=y?m:null,S=b?i.retrieve2(r.getFormattedLabel(e,"emphasis",t.dataType),m):null,C=_.style;if(null!=w||null!=S){s.setTextStyle(_.style,h,{text:w},{autoColor:v}),_.__textAlign=C.textAlign,_.__verticalAlign=C.textVerticalAlign,_.__position=h.get("position")||"middle";var T=h.get("distance");i.isArray(T)||(T=[T,T]),_.__labelDistance=T}_.hoverStyle=null!=S?{text:S,textFill:f.getTextColor(!0),fontStyle:f.getShallow("fontStyle"),fontWeight:f.getShallow("fontWeight"),fontSize:f.getShallow("fontSize"),fontFamily:f.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!b,s.setHoverStyle(this)},m.highlight=function(){this.trigger("emphasis")},m.downplay=function(){this.trigger("normal")},m.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},m.setLinePoints=function(t){var e=this.childOfName("line");p(e.shape,t),e.dirty()},i.inherits(v,s.Group);var y=v;t.exports=y},"7e63":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=r.each,a=r.filter,s=r.map,l=r.isArray,u=r.indexOf,c=r.isObject,h=r.isString,f=r.createHashMap,d=r.assert,p=r.clone,g=r.merge,v=r.extend,m=r.mixin,y=n("e0d3"),b=n("4319"),_=n("6cb7"),x=n("8971"),w=n("e47b"),S=n("0f99"),C=S.resetSourceDefaulter,T="\0_ec_inner",A=b.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new b(n),this._optionManager=i},setOption:function(t,e){d(!(T in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):k.call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this,this._api);a.length&&o(a,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];function r(i,r){var a=y.normalizeToArray(t[i]),s=y.mappingToExists(n.get(i),a);y.makeIdAndName(s),o(s,(function(t,e){var n=t.option;c(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=E(i,n,t.exist))}));var l=I(n,r);e[i]=[],n.set(i,[]),o(s,(function(t,r){var o=t.exist,a=t.option;if(d(c(a)||o,"Empty component definition"),a){var s=_.getClass(i,t.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=t.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var u=v({dependentModels:l,componentIndex:r},t.keyInfo);o=new s(a,this,this,u),v(o,u),o.init(a,this,this,u),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(i)[r]=o,e[i][r]=o.option}),this),"series"===i&&P(this,n.get("series"))}C(this),o(t,(function(t,n){null!=t&&(_.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?p(t):g(e[n],t,!0))})),_.topologicalTravel(i,_.getAllClassMainTypes(),r,this),this._seriesIndicesMap=f(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return o(t,(function(e,n){if(_.hasClass(n)){e=y.normalizeToArray(e);for(var i=e.length-1;i>=0;i--)y.isIdInner(e[i])&&e.splice(i,1);t[n]=e}})),delete t[T],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=i)l(i)||(i=[i]),n=a(s(i,(function(t){return c[t]})),(function(t){return!!t}));else if(null!=r){var h=l(r);n=a(c,(function(t){return h&&u(r,t.id)>=0||!h&&t.id===r}))}else if(null!=o){var f=l(o);n=a(c,(function(t){return f&&u(o,t.name)>=0||!f&&t.name===o}))}else n=c.slice();return D(n,t)},findComponents:function(t){var e=t.query,n=t.mainType,i=o(e),r=i?this.queryComponents(i):this._componentsMap.get(n);return s(D(r,t));function o(t){var e=n+"Index",i=n+"Id",r=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[r]?null:{mainType:n,index:t[e],id:t[i],name:t[r]}}function s(e){return t.filter?a(e,t.filter):e}},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"===typeof t)n=e,e=t,i.each((function(t,i){o(t,(function(t,r){e.call(n,i,t,r)}))}));else if(h(t))o(i.get(t),e,n);else if(c(t)){var r=this.findComponents(t);o(r,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return a(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return a(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){L(this),o(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},eachRawSeries:function(t,e){o(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){L(this),o(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},eachRawSeriesByType:function(t,e,n){return o(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return L(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){L(this);var n=a(this._componentsMap.get("series"),t,e);P(this,n)},restoreData:function(t){var e=this._componentsMap;P(this,e.get("series"));var n=[];e.each((function(t,e){n.push(e)})),_.topologicalTravel(n,_.getAllClassMainTypes(),(function(n,i){o(e.get(n),(function(e){("series"!==n||!O(e,t))&&e.restoreData()}))}))}});function O(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function M(t,e){var n=t.color&&!t.colorLayer;o(e,(function(e,i){"colorLayer"===i&&n||_.hasClass(i)||("object"===typeof e?t[i]=t[i]?g(t[i],e,!1):p(e):null==t[i]&&(t[i]=e))}))}function k(t){t=t,this.option={},this.option[T]=1,this._componentsMap=f({series:[]}),this._seriesIndices,this._seriesIndicesMap,M(t,this._theme.option),g(t,x,!1),this.mergeOption(t)}function I(t,e){l(e)||(e=e?[e]:[]);var n={};return o(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}function E(t,e,n){var i=e.type?e.type:n?n.subType:_.determineSubType(t,e);return i}function P(t,e){t._seriesIndicesMap=f(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function D(t,e){return e.hasOwnProperty("subType")?a(t,(function(t){return t.subType===e.subType})):t}function L(t){}m(A,w);var R=A;t.exports=R},"7f59":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("e0d3"),s=n("2306"),l=n("f934"),u=n("3842"),c=u.parsePercent,h={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};r.registerPreprocessor((function(t){var e=t.graphic;o.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}));var f=r.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,f.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,s=[];this._flatten(i,s);var l=a.mappingToExists(r,s);a.makeIdAndName(l);var u=this._elOptionsToUpdate=[];o.each(l,(function(t,e){var n=t.option;n&&(u.push(n),m(t,n),y(r,e,n),b(r[e],n))}),this);for(var c=r.length-1;c>=0;c--)null==r[c]?r.splice(c,1):delete r[c].$action},_flatten:function(t,e,n){o.each(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;"group"===t.type&&i&&this._flatten(i,e,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function d(t,e,n,i){var r=n.type,o=h.hasOwnProperty(r)?h[r]:s.getShapeClass(r),a=new o(n);e.add(a),i.set(t,a),a.__ecGraphicId=t}function p(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){p(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function g(t){return t=o.extend({},t),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(e){delete t[e]})),t}function v(t,e){var n;return o.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function m(t,e){var n=t.exist;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function y(t,e,n){var i=o.extend({},n),r=t[e],a=n.$action||"merge";"merge"===a?r?(o.merge(r,i,!0),l.mergeLayoutParam(r,i,{ignoreSize:!0}),l.copyLayoutParams(n,r)):t[e]=i:"replace"===a?t[e]=i:"remove"===a&&r&&(t[e]=null)}function b(t,e){t&&(t.hv=e.hv=[v(e,["left","right"]),v(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function _(t,e,n){var i=t.eventData;t.silent||t.ignore||i||(i=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=t.info)}r.extendComponentView({type:"graphic",init:function(t,e){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group;o.each(e,(function(e){var r=e.$action,o=e.id,a=n.get(o),s=e.parentId,l=null!=s?n.get(s):i,u=e.style;"text"===e.type&&u&&(e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(e);r&&"merge"!==r?"replace"===r?(p(a,n),d(o,l,c,n)):"remove"===r&&p(a,n):a?a.attr(c):d(o,l,c,n);var h=n.get(o);h&&(h.__ecGraphicWidthOption=e.width,h.__ecGraphicHeightOption=e.height,_(h,t,e))}))}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=0;s<n.length;s++){var u=n[s],h=r.get(u.id);if(h&&h.isGroup){var f=h.parent,d=f===i;h.__ecGraphicWidth=c(h.__ecGraphicWidthOption,d?o:f.__ecGraphicWidth)||0,h.__ecGraphicHeight=c(h.__ecGraphicHeightOption,d?a:f.__ecGraphicHeight)||0}}for(s=n.length-1;s>=0;s--){u=n[s],h=r.get(u.id);if(h){f=h.parent;var p=f===i?{width:o,height:a}:{width:f.__ecGraphicWidth,height:f.__ecGraphicHeight};l.positionElement(h,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){p(e,t)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},"7f72":function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("a18f"),n("32a1"),n("2c17"),n("9e87")},"7f91":function(t,e,n){var i=n("2306"),r=n("401b"),o=i.Line.prototype,a=i.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){this[s(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:o.buildPath,_buildPathCurve:a.buildPath,pointAt:function(t){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:o.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return r.normalize(n,n)},_tangentAtCurve:a.tangentAt});t.exports=l},"7f96":function(t,e,n){var i=n("6d8b"),r=i.isFunction;function o(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,i,o){var a=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),u=t.get("symbolKeepAspect"),c=t.get("symbolRotate"),h=r(s),f=r(l),d=r(c),p=h||f||d,g=!h&&s?s:e,v=f?null:l;if(a.setVisual({legendSymbol:n||g,symbol:g,symbolSize:v,symbolKeepAspect:u,symbolRotate:c}),!i.isSeriesFiltered(t))return{dataEach:a.hasItemOption||p?m:null};function m(e,n){if(p){var i=t.getRawValue(n),r=t.getDataParams(n);h&&e.setItemVisual(n,"symbol",s(i,r)),f&&e.setItemVisual(n,"symbolSize",l(i,r)),d&&e.setItemVisual(n,"symbolRotate",c(i,r))}if(e.hasItemOption){var o=e.getItemModel(n),a=o.getShallow("symbol",!0),u=o.getShallow("symbolSize",!0),g=o.getShallow("symbolRotate",!0),v=o.getShallow("symbolKeepAspect",!0);null!=a&&e.setItemVisual(n,"symbol",a),null!=u&&e.setItemVisual(n,"symbolSize",u),null!=g&&e.setItemVisual(n,"symbolRotate",g),null!=v&&e.setItemVisual(n,"symbolKeepAspect",v)}}}}}t.exports=o},8096:function(t,e,n){},"80f0":function(t,e){function n(t){return t}function i(t,e,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=r||n,this.context=o}function r(t,e,n,i,r){for(var o=0;o<t.length;o++){var a="_ec_"+r[i](t[o],o),s=e[a];null==s?(n.push(a),e[a]=o):(s.length||(e[a]=s=[s]),s.push(o))}}i.prototype={constructor:i,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,n={},i={},o=[],a=[];for(r(t,n,o,"_oldKeyGetter",this),r(e,i,a,"_newKeyGetter",this),c=0;c<t.length;c++){var s=o[c],l=i[s];if(null!=l){var u=l.length;u?(1===u&&(i[s]=null),l=l.shift()):i[s]=null,this._update&&this._update(l,c)}else this._remove&&this._remove(c)}for(var c=0;c<a.length;c++){s=a[c];if(i.hasOwnProperty(s)){l=i[s];if(null==l)continue;if(l.length){var h=0;for(u=l.length;h<u;h++)this._add&&this._add(l[h])}else this._add&&this._add(l)}}}};var o=i;t.exports=o},8119:function(t,e,n){n("693d"),n("dfe5"),n("301c"),n("4e71"),t.exports=n("5524").Symbol},8172:function(t,e,n){var i=n("e065"),r=n("57b9");i("toPrimitive"),r()},"81ac":function(t,e,n){var i=n("f934"),r=n("6d8b"),o=n("e0d3"),a=o.groupData;function s(t,e,n){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),o=l(t,e);t.layoutInfo=o;var a=o.width,s=o.height,h=t.getGraph(),f=h.nodes,d=h.edges;c(f);var p=r.filter(f,(function(t){return 0===t.getLayout().value})),g=0!==p.length?0:t.get("layoutIterations"),v=t.get("orient"),m=t.get("nodeAlign");u(f,d,n,i,a,s,g,v,m)}))}function l(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t,e,n,i,r,o,a,s,l){h(t,e,n,r,o,s,l),v(t,e,o,r,i,a,s),k(t,s)}function c(t){r.each(t,(function(t){var e=O(t.outEdges,A),n=O(t.inEdges,A),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}function h(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,f=0,p=0;p<e.length;p++)s[p]=1;for(p=0;p<t.length;p++)l[p]=t[p].inEdges.length,0===l[p]&&u.push(t[p]);var v=-1;while(u.length){for(var m=0;m<u.length;m++){var y=u[m],b=y.hostGraph.data.getRawDataItem(y.dataIndex),_=null!=b.depth&&b.depth>=0;_&&b.depth>v&&(v=b.depth),y.setLayout({depth:_?b.depth:h},!0),"vertical"===o?y.setLayout({dy:n},!0):y.setLayout({dx:n},!0);for(var x=0;x<y.outEdges.length;x++){var w=y.outEdges[x],S=e.indexOf(w);s[S]=0;var C=w.node2,T=t.indexOf(C);0===--l[T]&&c.indexOf(C)<0&&c.push(C)}}++h,u=c,c=[]}for(p=0;p<s.length;p++)if(1===s[p])throw new Error("Sankey is a DAG, the original data has cycle!");var A=v>h-1?v:h-1;a&&"left"!==a&&d(t,a,o,A);f="vertical"===o?(r-n)/A:(i-n)/A;g(t,f,o)}function f(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function d(t,e,n,i){if("right"===e){var o=[],a=t,s=0;while(a.length){for(var l=0;l<a.length;l++){var u=a[l];u.setLayout({skNodeHeight:s},!0);for(var c=0;c<u.inEdges.length;c++){var h=u.inEdges[c];o.indexOf(h.node1)<0&&o.push(h.node1)}}a=o,o=[],++s}r.each(t,(function(t){f(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&p(t,i)}function p(t,e){r.each(t,(function(t){f(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}function g(t,e,n){r.each(t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}function v(t,e,n,i,r,o,a){var s=m(t,a);y(s,e,n,i,r,a),b(s,r,n,i,a);for(var l=1;o>0;o--)l*=.99,_(s,l,a),b(s,r,n,i,a),M(s,l,a),b(s,r,n,i,a)}function m(t,e){var n=[],i="vertical"===e?"y":"x",o=a(t,(function(t){return t.getLayout()[i]}));return o.keys.sort((function(t,e){return t-e})),r.each(o.keys,(function(t){n.push(o.buckets.get(t))})),n}function y(t,e,n,i,o,a){var s=1/0;r.each(t,(function(t){var e=t.length,l=0;r.each(t,(function(t){l+=t.getLayout().value}));var u="vertical"===a?(i-(e-1)*o)/l:(n-(e-1)*o)/l;u<s&&(s=u)})),r.each(t,(function(t){r.each(t,(function(t,e){var n=t.getLayout().value*s;"vertical"===a?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),r.each(e,(function(t){var e=+t.getValue()*s;t.setLayout({dy:e},!0)}))}function b(t,e,n,i,o){var a="vertical"===o?"x":"y";r.each(t,(function(t){var r,s,l;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var u=0,c=t.length,h="vertical"===o?"dx":"dy",f=0;f<c;f++)s=t[f],l=u-s.getLayout()[a],l>0&&(r=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]+s.getLayout()[h]+e;var d="vertical"===o?i:n;if(l=u-e-d,l>0)for(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0),u=r,f=c-2;f>=0;--f)s=t[f],l=s.getLayout()[a]+s.getLayout()[h]+e-u,l>0&&(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]}))}function _(t,e,n){r.each(t.slice().reverse(),(function(t){r.each(t,(function(t){if(t.outEdges.length){var i=O(t.outEdges,x,n)/O(t.outEdges,A,n);if(isNaN(i)){var r=t.outEdges.length;i=r?O(t.outEdges,w,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-T(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-T(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function x(t,e){return T(t.node2,e)*t.getValue()}function w(t,e){return T(t.node2,e)}function S(t,e){return T(t.node1,e)*t.getValue()}function C(t,e){return T(t.node1,e)}function T(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function A(t){return t.getValue()}function O(t,e,n){var i=0,r=t.length,o=-1;while(++o<r){var a=+e.call(t,t[o],n);isNaN(a)||(i+=a)}return i}function M(t,e,n){r.each(t,(function(t){r.each(t,(function(t){if(t.inEdges.length){var i=O(t.inEdges,S,n)/O(t.inEdges,A,n);if(isNaN(i)){var r=t.inEdges.length;i=r?O(t.inEdges,C,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-T(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-T(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function k(t,e){var n="vertical"===e?"x":"y";r.each(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),r.each(t,(function(t){var e=0,n=0;r.each(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),r.each(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}t.exports=s},"825a":function(t,e,n){var i=n("861d"),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not an object")}},"82eb":function(t,e){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},i=9;e.ContextCachedBy=n,e.WILL_BE_RESTORED=i},"82f9":function(t,e,n){var i=n("6d8b"),r=n("76a5"),o=n("2306");function a(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function s(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],a(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(t){var e=t.get("alwaysShowContent");e&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);var i={},a=t,s="{marker",l="|}",u=a.indexOf(s);while(u>=0){var c=a.indexOf(l),h=a.substr(u+s.length,c-u-s.length);h.indexOf("sub")>-1?i["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[h],textOffset:[3,0]}:i["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[h]},a=a.substr(c+1),u=a.indexOf("{marker")}var f=n.getModel("textStyle"),d=f.get("fontSize"),p=n.get("textLineHeight");null==p&&(p=Math.round(3*d/2)),this.el=new r({style:o.setTextStyle({},f,{rich:i,text:t,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding"),textLineHeight:p}),z:n.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var n=this._styleCoord;a(n,this._zr,t,e),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var l=s;t.exports=l},8344:function(t,e,n){var i=n("6d8b"),r=n("f706"),o=n("3842"),a=n("6179"),s=n("923d"),l=n("88f0");function u(t,e,n){var i=e.coordinateSystem;t.each((function(r){var a,s=t.getItemModel(r),l=o.parsePercent(s.get("x"),n.getWidth()),u=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var c=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);a=i.dataToPoint([c,h])}}else a=[l,u];isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u),t.setItemLayout(r,a)}))}var c=l.extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markPointModel;e&&(u(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))}),this)},renderSeries:function(t,e,n,o){var a=t.coordinateSystem,s=t.id,l=t.getData(),c=this.markerGroupMap,f=c.get(s)||c.set(s,new r),d=h(a,t,e);e.setData(d),u(e.getData(),t,o),d.each((function(t){var n=d.getItemModel(t),r=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),s=i.isFunction(r),u=i.isFunction(o),c=i.isFunction(a);if(s||u||c){var h=e.getRawValue(t),f=e.getDataParams(t);s&&(r=r(h,f)),u&&(o=o(h,f)),c&&(a=a(h,f))}d.setItemVisual(t,{symbol:r,symbolSize:o,symbolRotate:a,color:n.get("itemStyle.color")||l.getVisual("color")})})),f.updateData(d),this.group.add(f.group),d.eachItemGraphicEl((function(t){t.traverse((function(t){t.dataModel=e}))})),f.__keep=!0,f.group.silent=e.get("silent")||t.get("silent")}});function h(t,e,n){var r;r=t?i.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)})):[{name:"value",type:"float"}];var o=new a(r,n),l=i.map(n.get("data"),i.curry(s.dataTransform,e));return t&&(l=i.filter(l,i.curry(s.dataFilter,t))),o.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),o}t.exports=c},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,n){"use strict";var i=n("d925"),r=n("e683");t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},"83ba":function(t,e,n){var i=n("6d8b"),r=n("6cb7"),o=n("f934"),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=r.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:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,i){var r=a(t);u.superApply(this,"init",arguments),c(t,r)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),c(this.option,t)}});function c(t,e){var n=t.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var r=i.map([0,1],(function(t){return s(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));l(t,e,{type:"box",ignoreSize:r})}var h=u;t.exports=h},8418:function(t,e,n){"use strict";var i=n("a04b"),r=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=i(e);a in t?r.f(t,a,o(0,n)):t[a]=n}},"841c":function(t,e,n){"use strict";var i=n("c65b"),r=n("d784"),o=n("825a"),a=n("7234"),s=n("1d80"),l=n("129f"),u=n("577e"),c=n("dc4a"),h=n("14c3");r("search",(function(t,e,n){return[function(e){var n=s(this),r=a(e)?void 0:c(e,t);return r?i(r,e,n):new RegExp(e)[t](u(n))},function(t){var i=o(this),r=u(t),a=n(e,i,r);if(a.done)return a.value;var s=i.lastIndex;l(s,0)||(i.lastIndex=0);var c=h(i,r);return l(i.lastIndex,s)||(i.lastIndex=s),null===c?-1:c.index}]}))},"843e":function(t,e,n){var i=n("6d8b"),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(t){i.each(r,(function(e){this[e]=i.bind(t[e],t)}),this)}var a=o;t.exports=a},8459:function(t,e,n){var i=n("3eba"),r={type:"axisAreaSelect",event:"axisAreaSelected"};i.registerAction(r,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),i.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))},"848b":function(t,e,n){"use strict";var i=n("5cce").version,r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};function a(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var i=Object.keys(t),r=i.length;while(r-- >0){var o=i[r],a=e[o];if(a){var s=t[o],l=void 0===s||a(s,o,t);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}}r.transitional=function(t,e,n){function r(t,e){return"[Axios v"+i+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,a){if(!1===t)throw new Error(r(i," has been removed"+(e?" in "+e:"")));return e&&!o[i]&&(o[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,a)}},t.exports={assertOptions:a,validators:r}},"849b":function(t,e,n){var i=n("d9d0"),r=n("2039");function o(t,e){var n=[];return t.eachComponent("parallel",(function(r,o){var a=new i(r,t,e);a.name="parallel_"+o,a.resize(r,e),r.coordinateSystem=a,a.model=r,n.push(a)})),t.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=n.coordinateSystem}})),n}r.register("parallel",{create:o})},"84ce":function(t,e,n){var i=n("6d8b"),r=i.each,o=i.map,a=n("3842"),s=a.linearMap,l=a.getPixelPrecision,u=a.round,c=n("e073"),h=c.createAxisTicks,f=c.createAxisLabels,d=c.calculateCategoryInterval,p=[0,1],g=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function v(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function m(t,e,n,i){var o=e.length;if(t.onBand&&!n&&o){var a,s,l=t.getExtent();if(1===o)e[0].coord=l[0],a=e[1]={coord:l[0]};else{var c=e[o-1].tickValue-e[0].tickValue,h=(e[o-1].coord-e[0].coord)/c;r(e,(function(t){t.coord-=h/2}));var f=t.scale.getExtent();s=1+f[1]-e[o-1].tickValue,a={coord:e[o-1].coord+h*s},e.push(a)}var d=l[0]>l[1];p(e[0].coord,l[0])&&(i?e[0].coord=l[0]:e.shift()),i&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],a.coord)&&(i?a.coord=l[1]:e.pop()),i&&p(a.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=u(t),e=u(e),d?t>e:t<e}}g.prototype={constructor:g,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),v(n,i.count())),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),v(n,i.count()));var r=s(t,n,p,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=h(this,e),i=n.ticks,r=o(i,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),a=e.get("alignWithLabel");return m(this,r,a,t.clamp),r},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=o(n,(function(t){return o(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},getViewLabels:function(){return f(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}};var y=g;t.exports=y},"84d5":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("4319"),a=n("e0d3"),s=a.isNameSpecified,l=n("29a8"),u=l.legend.selector,c={all:{type:"all",title:r.clone(u.all)},inverse:{type:"inverse",title:r.clone(u.inverse)}},h=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){h.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),r.isArray(e)&&r.each(e,(function(t,n){r.isString(t)&&(t={type:t}),e[n]=r.merge(t,c[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider,l=a.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(l)),l.length?e=e.concat(l):r=!0}else r=!0;r&&s(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,a=r.map(i,(function(t){return"string"!==typeof t&&"number"!==typeof t||(t={name:t}),new o(t,this,this.ecModel)}),this);this._data=a},getData:function(){return this._data},select:function(t){var e=this.option.selected,n=this.get("selectedMode");if("single"===n){var i=this._data;r.each(i,(function(t){e[t.get("name")]=!1}))}e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},allSelect:function(){var t=this._data,e=this.option.selected;r.each(t,(function(t){e[t.get("name",!0)]=!0}))},inverseSelect:function(){var t=this._data,e=this.option.selected;r.each(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&r.indexOf(this._availableNames,t)>=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),f=h;t.exports=f},"84ec":function(t,e){var n=Math.log(2);function i(t,e,r,o,a,s){var l=o+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<<u)-1&~a)/n);return t[r][c]}var h=o|1<<r,f=r+1;while(o&1<<f)f++;for(var d=0,p=0,g=0;p<u;p++){var v=1<<p;v&a||(d+=(g%2?-1:1)*t[r][p]*i(t,e-1,f,h,a|v,s),g++)}return s[l]=d,d}function r(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},o=i(n,8,0,0,0,r);if(0!==o){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*i(n,7,0===s?1:0,1<<s,1<<l,r)/o*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}e.buildTransformer=r},"852e":function(t,e,n){(function(e,n){t.exports=n()})(0,(function(){"use strict";function t(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}var e={read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function n(e,i){function r(n,r,o){if("undefined"!==typeof document){o=t({},i,o),"number"===typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=n+"="+e.write(r,n)+a}}function o(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],i={},r=0;r<n.length;r++){var o=n[r].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(i[s]=e.read(a,s),t===s)break}catch(l){}}return t?i[t]:i}}return Object.create({set:r,get:o,remove:function(e,n){r(e,"",t({},n,{expires:-1}))},withAttributes:function(e){return n(this.converter,t({},this.attributes,e))},withConverter:function(e){return n(t({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(e)}})}var i=n(e,{path:"/"});return i}))},"857a":function(t,e,n){var i=n("e330"),r=n("1d80"),o=n("577e"),a=/"/g,s=i("".replace);t.exports=function(t,e,n,i){var l=o(r(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+s(o(i),a,"&quot;")+'"'),u+">"+l+"</"+e+">"}},"857d":function(t,e){var n=2*Math.PI;function i(t){return t%=n,t<0&&(t+=n),t}e.normalizeRadian=i},"85e7":function(t,e,n){var i=n("1a14"),r=n("77e9"),o=n("9876");t.exports=n("0bad")?Object.defineProperties:function(t,e){r(t);var n,a=o(e),s=a.length,l=0;while(s>l)i.f(t,n=a[l++],e[n]);return t}},"861d":function(t,e,n){var i=n("1626"),r=n("8ea1"),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:i(t)||t===o}:function(t){return"object"==typeof t?null!==t:i(t)}},"862d":function(t,e,n){var i=n("6d8b"),r=i.createHashMap,o=i.each,a=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n("e0d3"),f=h.normalizeToArray,d=n("0f99"),p=d.guessOrdinal,g=d.BE_ORDINAL,v=n("ec6f"),m=n("2f45"),y=m.OTHER_DIMENSIONS,b=n("562e");function _(t,e,n){v.isInstance(e)||(e=v.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),h=r(),d=r(),m=[],_=x(e,t,i,n.dimCount),S=0;S<_;S++){var C=i[S]=l({},u(i[S])?i[S]:{name:i[S]}),T=C.name,A=m[S]=new b;null!=T&&null==h.get(T)&&(A.name=A.displayName=T,h.set(T,S)),null!=C.type&&(A.type=C.type),null!=C.displayName&&(A.displayName=C.displayName)}var O=n.encodeDef;!O&&n.encodeDefaulter&&(O=n.encodeDefaulter(e,_)),O=r(O),O.each((function(t,e){if(t=f(t).slice(),1===t.length&&!a(t[0])&&t[0]<0)O.set(e,!1);else{var n=O.set(e,[]);o(t,(function(t,i){a(t)&&(t=h.get(t)),null!=t&&t<_&&(n[i]=t,k(m[t],e,i))}))}}));var M=0;function k(t,e,n){null!=y.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,d.set(e,!0))}o(t,(function(t,e){var n,i,r;if(a(t))n=t,t={};else{n=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,t=c(t),t.ordinalMeta=l,i=t.dimsDef,r=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var h=O.get(n);if(!1!==h){h=f(h);if(!h.length)for(var d=0;d<(i&&i.length||1);d++){while(M<m.length&&null!=m[M].coordDim)M++;M<m.length&&h.push(M++)}o(h,(function(e,o){var a=m[e];if(k(s(a,t),n,o),null==a.name&&i){var l=i[o];!u(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}r&&s(a.otherDims,r)}))}}));var I=n.generateCoord,E=n.generateCoordCount,P=null!=E;E=I?E||1:0;for(var D=I||"value",L=0;L<_;L++){A=m[L]=m[L]||new b;var R=A.coordDim;null==R&&(A.coordDim=w(D,d,P),A.coordDimIndex=0,(!I||E<=0)&&(A.isExtraCoord=!0),E--),null==A.name&&(A.name=w(A.coordDim,h)),null!=A.type||p(e,L,A.name)!==g.Must&&(!A.isExtraCoord||null==A.otherDims.itemName&&null==A.otherDims.seriesName)||(A.type="ordinal")}return m}function x(t,e,n,i){var r=Math.max(t.dimensionsDetectCount||1,e.length,n.length,i||0);return o(e,(function(t){var e=t.dimsDef;e&&(r=Math.max(r,e.length))})),r}function w(t,e,n){if(n||null!=e.get(t)){var i=0;while(null!=e.get(t+i))i++;t+=i}return e.set(t,!0),t}var S=_;t.exports=S},"870e":function(t,e,n){var i=n("6d8b");function r(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],r=t.coordinateSystem;if(r){var s=r.getIndicatorAxes();i.each(s,(function(t,i){e.each(e.mapDimension(s[i].dim),(function(t,e){n[e]=n[e]||[];var s=r.dataToPoint(t,i);n[e][i]=o(s)?s:a(r)}))})),e.each((function(t){var s=i.find(n[t],(function(t){return o(t)}))||a(r);n[t].push(s.slice()),e.setItemLayout(t,n[t])}))}}))}function o(t){return!isNaN(t[0])&&!isNaN(t[1])}function a(t){return[t.cx,t.cy]}t.exports=r},8727:function(t,e){var n="http://www.w3.org/2000/svg";function i(t){return document.createElementNS(n,t)}e.createElement=i},8728:function(t,e){function n(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=i<e?1:-1,s=(o-e)/(i-e);1!==s&&0!==s||(a=i<e?.5:-.5);var l=s*(n-t)+t;return l===r?1/0:l>r?a:0}t.exports=n},"879e":function(t,e,n){var i=n("3eba"),r=n("6179"),o=n("6d8b"),a=n("e0d3"),s=a.defaultEmphasis,l=n("4319"),u=n("eda2"),c=u.encodeHTML,h=n("237f"),f=n("c4a3"),d=n("0c37"),p=d.initCurvenessList,g=d.createEdgeMapForCurveness,v=i.extendSeriesModel({type:"series.graph",init:function(t){v.superApply(this,"init",arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new f(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){v.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){v.superApply(this,"mergeDefaultAndTheme",arguments),s(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n){p(this);var a=h(i,n,this,!0,s);return o.each(a.edges,(function(t){g(t.node1,t.node2,this,t.dataIndex)}),this),a.data}function s(t,n){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t}));var i=r.getModel("edgeLabel"),o=new l({label:i.option},i.parentModel,e),a=r.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:a.option}},a.parentModel,e);function u(t){return t=this.parsePath(t),t&&"label"===t[0]?o:t&&"emphasis"===t[0]&&"label"===t[1]?s:this.parentModel}n.wrapMethod("getItemModel",(function(t){return t.customizeGetParent(u),t}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),l=c(l.join(" > ")),r.value&&(l+=" : "+c(r.value)),l}return v.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=o.map(this.option.categories||[],(function(t){return null!=t.value?t:o.extend({value:0},t)})),e=new r(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return v.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,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),m=v;t.exports=m},"87b1":function(t,e,n){var i=n("cbe5"),r=n("4fac"),o=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){r.buildPath(t,e,!0)}});t.exports=o},"87c3":function(t,e,n){var i=n("6d8b"),r=i.map,o=n("cccd"),a=n("ee1a"),s=a.isDimensionStacked;function l(t){return{seriesType:t,plan:o(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext,o=i.large;if(n){var a=r(n.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),l=a.length,u=e.getCalculationInfo("stackResultDimension");return s(e,a[0])&&(a[0]=u),s(e,a[1])&&(a[1]=u),l&&{progress:c}}function c(t,e){for(var i=t.end-t.start,r=o&&new Float32Array(i*l),s=t.start,u=0,c=[],h=[];s<t.end;s++){var f;if(1===l){var d=e.get(a[0],s);f=!isNaN(d)&&n.dataToPoint(d,null,h)}else{d=c[0]=e.get(a[0],s);var p=c[1]=e.get(a[1],s);f=!isNaN(d)&&!isNaN(p)&&n.dataToPoint(c,null,h)}o?(r[u++]=f?f[0]:NaN,r[u++]=f?f[1]:NaN):e.setItemLayout(s,f&&f.slice()||[NaN,NaN])}o&&e.setLayout("symbolPoints",r)}}}}t.exports=l},"88b3":function(t,e){var n="\0__throttleOriginMethod",i="\0__throttleRate",r="\0__throttleType";function o(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var f=function(){i=(new Date).getTime(),o=this,a=arguments;var t=s||e,f=s||n;s=null,r=i-(f?l:u)-t,clearTimeout(c),f?c=setTimeout(h,t):r>=0?h():c=setTimeout(h,-r),l=i};return f.clear=function(){c&&(clearTimeout(c),c=null)},f.debounceNextCall=function(t){s=t},f}function a(t,e,a,s){var l=t[e];if(l){var u=l[n]||l,c=l[r],h=l[i];if(h!==a||c!==s){if(null==a||!s)return t[e]=u;l=t[e]=o(u,a,"debounce"===s),l[n]=u,l[r]=s,l[i]=a}return l}}function s(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}e.throttle=o,e.createOrUpdate=a,e.clear=s},"88f0":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=i.extendComponentView({type:"marker",init:function(){this.markerGroupMap=r.createHashMap()},render:function(t,e,n){var i=this.markerGroupMap;i.each((function(t){t.__keep=!1}));var r=this.type+"Model";e.eachSeries((function(t){var i=t[r];i&&this.renderSeries(t,i,e,n)}),this),i.each((function(t){!t.__keep&&this.group.remove(t.group)}),this)},renderSeries:function(){}});t.exports=o},8918:function(t,e,n){var i=n("6d8b"),r=n("625e"),o=r.parseClassType,a=0;function s(t){return[t||"",a++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=o(t),e[t.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var a=o(n).main;t.hasSubTypes(n)&&e[a]&&(r=e[a](i))}return r},t}function u(t,e){function n(t){var n={},a=[];return i.each(t,(function(s){var l=r(n,s),u=l.originalDeps=e(s),c=o(u,t);l.entryCount=c.length,0===l.entryCount&&a.push(s),i.each(c,(function(t){i.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=r(n,t);i.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:n,noEntryList:a}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var n=[];return i.each(t,(function(t){i.indexOf(e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,r,o){if(t.length){var a=n(e),s=a.graph,l=a.noEntryList,u={};i.each(t,(function(t){u[t]=!0}));while(l.length){var c=l.pop(),h=s[c],f=!!u[c];f&&(r.call(o,c,h.originalDeps.slice()),delete u[c]),i.each(h.successor,f?p:d)}i.each(u,(function(){throw new Error("Circle dependency may exists")}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){u[t]=!0,d(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=u},8925:function(t,e,n){var i=n("e330"),r=n("1626"),o=n("c6cd"),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},8971:function(t,e){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var i={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=i},"897a":function(t,e,n){var i=n("22d1"),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function o(t){return i.browser.ie&&i.browser.version>=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var o=0;o<n.length;o++){var a=n[o],s=a&&a.shape,l=a&&a.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<r.length;u++)r[u][2]=i[r[u][0]],i[r[u][0]]=r[u][1];e=!0;break}}if(t.apply(this,arguments),e)for(u=0;u<r.length;u++)i[r[u][0]]=r[u][2]}:t}t.exports=o},"89e3":function(t,e,n){var i=n("3842"),r=n("eda2"),o=n("e0d8"),a=n("944e"),s=i.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]<i[0]&&(t?o.push(s(i[0]-e,r)):o.push(n[0]));var l=i[0];while(l<=i[1]){if(o.push(l),l=s(l+e,r),l===o[o.length-1])break;if(o.length>a)return[]}var u=o.length?o[o.length-1]:i[1];return n[1]>u&&(t?o.push(s(u+e,r)):o.push(n[1])),o},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),o=1;o<e.length;o++){var a=e[o],s=e[o-1],l=0,u=[],c=a-s,h=c/t;while(l<t-1){var f=i.round(s+(l+1)*h);f>r[0]&&f<r[1]&&u.push(f),l++}n.push(u)}return n},getLabel:function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=i.getPrecisionSafe(t)||0:"auto"===n&&(n=this._intervalPrecision),t=s(t,n,!0),r.addCommas(t)},niceTicks:function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=a.intervalScaleNiceTicks(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=s(Math.ceil(e[1]/r)*r))}});l.create=function(){return new l};var u=l;t.exports=u},"8a0d":function(t,e){t.exports={}},"8aa5":function(t,e,n){"use strict";var i=n("6547").charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"8b1a":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"8b7f":function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=r.createHashMap,a=(r.retrieve,r.each);function s(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=o(),this.categoryAxisMap=o(),this.firstCategoryDimIndex=null}function l(t){var e=t.get("coordinateSystem"),n=new s(e),i=u[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var u={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis")[0],o=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),c(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),c(o)&&(i.set("y",o),e.firstCategoryDimIndex,e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",r),c(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar")[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),c(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,(function(t,o){var a=r.getComponent("parallelAxis",t),l=s[o];n.set(l,a),c(a)&&null==e.firstCategoryDimIndex&&(i.set(l,a),e.firstCategoryDimIndex=o)}))}};function c(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=l},"8c2a":function(t,e,n){var i=n("6d8b"),r=n("e0d8"),o=n("3842"),a=n("89e3"),s=r.prototype,l=a.prototype,u=o.getPrecisionSafe,c=o.round,h=Math.floor,f=Math.ceil,d=Math.pow,p=Math.log,g=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new a},getTicks:function(t){var e=this._originalScale,n=this._extent,r=e.getExtent();return i.map(l.getTicks.call(this,t),(function(t){var i=o.round(d(this.base,t));return i=t===n[0]&&e.__fixMin?v(i,r[0]):i,i=t===n[1]&&e.__fixMax?v(i,r[1]):i,i}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),d(this.base,t)},setExtent:function(t,e){var n=this.base;t=p(t)/p(n),e=p(e)/p(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=d(t,e[0]),e[1]=d(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=v(e[0],i[0])),n.__fixMax&&(e[1]=v(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=o.quantity(n),r=t/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var a=[o.round(f(e[0]/i)*i),o.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return c(t,u(e))}i.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var m=g;t.exports=m},"8c4f":function(t,e,n){"use strict";
/*!
  * vue-router v3.4.9
  * (c) 2020 Evan You
  * @license MIT
  */function i(t,e){0}function r(t,e){for(var n in e)t[n]=e[n];return t}var o=/[!'()*]/g,a=function(t){return"%"+t.charCodeAt(0).toString(16)},s=/%2C/g,l=function(t){return encodeURIComponent(t).replace(o,a).replace(s,",")};function u(t){try{return decodeURIComponent(t)}catch(e){0}return t}function c(t,e,n){void 0===e&&(e={});var i,r=n||f;try{i=r(t||"")}catch(s){i={}}for(var o in e){var a=e[o];i[o]=Array.isArray(a)?a.map(h):h(a)}return i}var h=function(t){return null==t||"object"===typeof t?t:String(t)};function f(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),i=u(n.shift()),r=n.length>0?u(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return l(e);if(Array.isArray(n)){var i=[];return n.forEach((function(t){void 0!==t&&(null===t?i.push(l(e)):i.push(l(e)+"="+l(t)))})),i.join("&")}return l(e)+"="+l(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function g(t,e,n,i){var r=i&&i.options.stringifyQuery,o=e.query||{};try{o=v(o)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:b(e,r),matched:t?y(t):[]};return n&&(a.redirectedFrom=b(n,r)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var m=g(null,{path:"/"});function y(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function b(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var o=e||d;return(n||"/")+o(i)+r}function _(t,e){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&t.hash===e.hash&&x(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&x(t.query,e.query)&&x(t.params,e.params)))}function x(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.length===i.length&&n.every((function(n,r){var o=t[n],a=i[r];if(a!==n)return!1;var s=e[n];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?x(o,s):String(o)===String(s)}))}function w(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&S(t.query,e.query)}function S(t,e){for(var n in e)if(!(n in t))return!1;return!0}function C(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var i in n.instances){var r=n.instances[i],o=n.enteredCbs[i];if(r&&o){delete n.enteredCbs[i];for(var a=0;a<o.length;a++)r._isBeingDestroyed||o[a](r)}}}}var T={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;var s=o.$createElement,l=n.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),h=0,f=!1;while(o&&o._routerRoot!==o){var d=o.$vnode?o.$vnode.data:{};d.routerView&&h++,d.keepAlive&&o._directInactive&&o._inactive&&(f=!0),o=o.$parent}if(a.routerViewDepth=h,f){var p=c[l],g=p&&p.component;return g?(p.configProps&&A(g,a,p.route,p.configProps),s(g,a,i)):s()}var v=u.matched[h],m=v&&v.components[l];if(!v||!m)return c[l]=null,s();c[l]={component:m},a.registerRouteInstance=function(t,e){var n=v.instances[l];(e&&n!==t||!e&&n===t)&&(v.instances[l]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){v.instances[l]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==v.instances[l]&&(v.instances[l]=t.componentInstance),C(u)};var y=v.props&&v.props[l];return y&&(r(c[l],{route:u,configProps:y}),A(m,a,u,y)),s(m,a,i)}};function A(t,e,n,i){var o=e.props=O(n,i);if(o){o=e.props=r({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function O(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function M(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function k(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function I(t){return t.replace(/\/\//g,"/")}var E=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},P=K,D=B,L=F,R=H,N=Z,j=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){var n,i=[],r=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(n=j.exec(t))){var l=n[0],u=n[1],c=n.index;if(a+=t.slice(o,c),o=c+l.length,u)a+=u[1];else{var h=t[o],f=n[2],d=n[3],p=n[4],g=n[5],v=n[6],m=n[7];a&&(i.push(a),a="");var y=null!=f&&null!=h&&h!==f,b="+"===v||"*"===v,_="?"===v||"*"===v,x=n[2]||s,w=p||g;i.push({name:d||r++,prefix:f||"",delimiter:x,optional:_,repeat:b,partial:y,asterisk:!!m,pattern:w?W(w):m?".*":"[^"+G(x)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&i.push(a),i}function F(t,e){return H(B(t,e),e)}function z(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function V(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function H(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",U(e)));return function(e,i){for(var r="",o=e||{},a=i||{},s=a.pretty?z:encodeURIComponent,l=0;l<t.length;l++){var u=t[l];if("string"!==typeof u){var c,h=o[u.name];if(null==h){if(u.optional){u.partial&&(r+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(E(h)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<h.length;f++){if(c=s(h[f]),!n[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===f?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?V(h):s(h),!n[l].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');r+=u.prefix+c}}else r+=u}return r}}function G(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function W(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function q(t,e){return t.keys=e,t}function U(t){return t&&t.sensitive?"":"i"}function Y(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return q(t,e)}function X(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(K(t[r],e,n).source);var o=new RegExp("(?:"+i.join("|")+")",U(n));return q(o,e)}function $(t,e,n){return Z(B(t,n),e,n)}function Z(t,e,n){E(e)||(n=e||n,e=[]),n=n||{};for(var i=n.strict,r=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"===typeof s)o+=G(s);else{var l=G(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=G(n.delimiter||"/"),h=o.slice(-c.length)===c;return i||(o=(h?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=r?"$":i&&h?"":"(?="+c+"|$)",q(new RegExp("^"+o,U(n)),e)}function K(t,e,n){return E(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?Y(t,e):E(t)?X(t,e,n):$(t,e,n)}P.parse=D,P.compile=L,P.tokensToFunction=R,P.tokensToRegExp=N;var J=Object.create(null);function Q(t,e,n){e=e||{};try{var i=J[t]||(J[t]=P.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(r){return""}finally{delete e[0]}}function tt(t,e,n,i){var o="string"===typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){o=r({},t);var a=o.params;return a&&"object"===typeof a&&(o.params=r({},a)),o}if(!o.path&&o.params&&e){o=r({},o),o._normalized=!0;var s=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;o.path=Q(l,s,"path "+e.path)}else 0;return o}var u=k(o.path||""),h=e&&e.path||"/",f=u.path?M(u.path,h,n||o.append):h,d=c(u.query,o.query,i&&i.options.parseQuery),p=o.hash||u.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:f,query:d,hash:p}}var et,nt=[String,Object],it=[String,Array],rt=function(){},ot={name:"RouterLink",props:{to:{type:nt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:it,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),a=o.location,s=o.route,l=o.href,u={},c=n.options.linkActiveClass,h=n.options.linkExactActiveClass,f=null==c?"router-link-active":c,d=null==h?"router-link-exact-active":h,p=null==this.activeClass?f:this.activeClass,v=null==this.exactActiveClass?d:this.exactActiveClass,m=s.redirectedFrom?g(null,tt(s.redirectedFrom),null,n):s;u[v]=_(i,m),u[p]=this.exact?u[v]:w(i,m);var y=u[v]?this.ariaCurrentValue:null,b=function(t){at(t)&&(e.replace?n.replace(a,rt):n.push(a,rt))},x={click:at};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=b})):x[this.event]=b;var S={class:u},C=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:b,isActive:u[p],isExactActive:u[v]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?t():t("span",{},C)}if("a"===this.tag)S.on=x,S.attrs={href:l,"aria-current":y};else{var T=st(this.$slots.default);if(T){T.isStatic=!1;var A=T.data=r({},T.data);for(var O in A.on=A.on||{},A.on){var M=A.on[O];O in x&&(A.on[O]=Array.isArray(M)?M:[M])}for(var k in x)k in A.on?A.on[k].push(x[k]):A.on[k]=b;var I=T.data.attrs=r({},T.data.attrs);I.href=l,I["aria-current"]=y}else S.on=x}return t(this.tag,S,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=st(e.children)))return e}}function lt(t){if(!lt.installed||et!==t){lt.installed=!0,et=t;var e=function(t){return void 0!==t},n=function(t,n){var i=t.$options._parentVnode;e(i)&&e(i=i.data)&&e(i=i.registerRouteInstance)&&i(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",T),t.component("RouterLink",ot);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var ut="undefined"!==typeof window;function ct(t,e,n,i){var r=e||[],o=n||Object.create(null),a=i||Object.create(null);t.forEach((function(t){ht(r,o,a,t)}));for(var s=0,l=r.length;s<l;s++)"*"===r[s]&&(r.push(r.splice(s,1)[0]),l--,s--);return{pathList:r,pathMap:o,nameMap:a}}function ht(t,e,n,i,r,o){var a=i.path,s=i.name;var l=i.pathToRegexpOptions||{},u=dt(a,r,l.strict);"boolean"===typeof i.caseSensitive&&(l.sensitive=i.caseSensitive);var c={path:u,regex:ft(u,l),components:i.components||{default:i.component},instances:{},enteredCbs:{},name:s,parent:r,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 r=o?I(o+"/"+i.path):void 0;ht(t,e,n,i,c,r)})),e[c.path]||(t.push(c.path),e[c.path]=c),void 0!==i.alias)for(var h=Array.isArray(i.alias)?i.alias:[i.alias],f=0;f<h.length;++f){var d=h[f];0;var p={path:d,children:i.children};ht(t,e,n,p,r,c.path||"/")}s&&(n[s]||(n[s]=c))}function ft(t,e){var n=P(t,[],e);return n}function dt(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:I(e.path+"/"+t)}function pt(t,e){var n=ct(t),i=n.pathList,r=n.pathMap,o=n.nameMap;function a(t){ct(t,i,r,o)}function s(t,n,a){var s=tt(t,n,!1,e),l=s.name;if(l){var u=o[l];if(!u)return c(null,s);var h=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof s.params&&(s.params={}),n&&"object"===typeof n.params)for(var f in n.params)!(f in s.params)&&h.indexOf(f)>-1&&(s.params[f]=n.params[f]);return s.path=Q(u.path,s.params,'named route "'+l+'"'),c(u,s,a)}if(s.path){s.params={};for(var d=0;d<i.length;d++){var p=i[d],g=r[p];if(gt(g.regex,s.path,s.params))return c(g,s,a)}}return c(null,s)}function l(t,n){var i=t.redirect,r="function"===typeof i?i(g(t,n,null,e)):i;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return c(null,n);var a=r,l=a.name,u=a.path,h=n.query,f=n.hash,d=n.params;if(h=a.hasOwnProperty("query")?a.query:h,f=a.hasOwnProperty("hash")?a.hash:f,d=a.hasOwnProperty("params")?a.params:d,l){o[l];return s({_normalized:!0,name:l,query:h,hash:f,params:d},void 0,n)}if(u){var p=vt(u,t),v=Q(p,d,'redirect route with path "'+p+'"');return s({_normalized:!0,path:v,query:h,hash:f},void 0,n)}return c(null,n)}function u(t,e,n){var i=Q(n,e.params,'aliased route with path "'+n+'"'),r=s({_normalized:!0,path:i});if(r){var o=r.matched,a=o[o.length-1];return e.params=r.params,c(a,e)}return c(null,e)}function c(t,n,i){return t&&t.redirect?l(t,i||n):t&&t.matchAs?u(t,n,t.matchAs):g(t,n,i,e)}return{match:s,addRoutes:a}}function gt(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var a=t.keys[r-1];a&&(n[a.name||"pathMatch"]="string"===typeof i[r]?u(i[r]):i[r])}return!0}function vt(t,e){return M(t,e.parent?e.parent.path:"/",!0)}var mt=ut&&window.performance&&window.performance.now?window.performance:Date;function yt(){return mt.now().toFixed(3)}var bt=yt();function _t(){return bt}function xt(t){return bt=t}var wt=Object.create(null);function St(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=_t(),window.history.replaceState(n,"",e),window.addEventListener("popstate",At),function(){window.removeEventListener("popstate",At)}}function Ct(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var o=Ot(),a=r.call(t,e,n,i?o:null);a&&("function"===typeof a.then?a.then((function(t){Lt(t,o)})).catch((function(t){0})):Lt(a,o))}))}}function Tt(){var t=_t();t&&(wt[t]={x:window.pageXOffset,y:window.pageYOffset})}function At(t){Tt(),t.state&&t.state.key&&xt(t.state.key)}function Ot(){var t=_t();if(t)return wt[t]}function Mt(t,e){var n=document.documentElement,i=n.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-i.left-e.x,y:r.top-i.top-e.y}}function kt(t){return Pt(t.x)||Pt(t.y)}function It(t){return{x:Pt(t.x)?t.x:window.pageXOffset,y:Pt(t.y)?t.y:window.pageYOffset}}function Et(t){return{x:Pt(t.x)?t.x:0,y:Pt(t.y)?t.y:0}}function Pt(t){return"number"===typeof t}var Dt=/^#\d/;function Lt(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var i=Dt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=Et(r),e=Mt(i,r)}else kt(t)&&(e=It(t))}else n&&kt(t)&&(e=It(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Rt=ut&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function Nt(t,e){Tt();var n=window.history;try{if(e){var i=r({},n.state);i.key=_t(),n.replaceState(i,"",t)}else n.pushState({key:xt(yt())},"",t)}catch(o){window.location[e?"replace":"assign"](t)}}function jt(t){Nt(t,!0)}function Bt(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],(function(){i(r+1)})):i(r+1)};i(0)}var Ft={redirected:2,aborted:4,cancelled:8,duplicated:16};function zt(t,e){return Wt(t,e,Ft.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Ut(e)+'" via a navigation guard.')}function Vt(t,e){var n=Wt(t,e,Ft.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ht(t,e){return Wt(t,e,Ft.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Gt(t,e){return Wt(t,e,Ft.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Wt(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var qt=["params","query","hash"];function Ut(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return qt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Yt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Xt(t,e){return Yt(t)&&t._isRouter&&(null==e||t.type===e)}function $t(t){return function(e,n,i){var r=!1,o=0,a=null;Zt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){r=!0,o++;var l,u=te((function(e){Qt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,o--,o<=0&&i()})),c=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Yt(t)?t:new Error(e),i(a))}));try{l=t(u,c)}catch(f){c(f)}if(l)if("function"===typeof l.then)l.then(u,c);else{var h=l.component;h&&"function"===typeof h.then&&h.then(u,c)}}})),r||i()}}function Zt(t,e){return Kt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Kt(t){return Array.prototype.concat.apply([],t)}var Jt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qt(t){return t.__esModule||Jt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ie(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function re(t,e,n,i){var r=Zt(t,(function(t,i,r,o){var a=oe(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,i,r,o)})):n(a,i,r,o)}));return Kt(i?r.reverse():r)}function oe(t,e){return"function"!==typeof t&&(t=et.extend(t)),t.options[e]}function ae(t){return re(t,"beforeRouteLeave",le,!0)}function se(t){return re(t,"beforeRouteUpdate",le)}function le(t,e){if(e)return function(){return t.apply(e,arguments)}}function ue(t){return re(t,"beforeRouteEnter",(function(t,e,n,i){return ce(t,n,i)}))}function ce(t,e,n){return function(i,r,o){return t(i,r,(function(t){"function"===typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}ee.prototype.listen=function(t){this.cb=t},ee.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ee.prototype.onError=function(t){this.errorCbs.push(t)},ee.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(a){throw this.errorCbs.forEach((function(t){t(a)})),a}var o=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach((function(t){t&&t(i,o)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(Xt(t,Ft.redirected)&&o===m||(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)}))))}))},ee.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var a=function(t){!Xt(t)&&Yt(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):(i(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)},s=t.matched.length-1,l=o.matched.length-1;if(_(t,o)&&s===l&&t.matched[s]===o.matched[l])return this.ensureURL(),a(Vt(o,t));var u=ie(this.current.matched,t.matched),c=u.updated,h=u.deactivated,f=u.activated,d=[].concat(ae(h),this.router.beforeHooks,se(c),f.map((function(t){return t.beforeEnter})),$t(f)),p=function(e,n){if(r.pending!==t)return a(Ht(o,t));try{e(t,o,(function(e){!1===e?(r.ensureURL(!0),a(Gt(o,t))):Yt(e)?(r.ensureURL(!0),a(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(a(zt(o,t)),"object"===typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(i){a(i)}};Bt(d,p,(function(){var n=ue(f),i=n.concat(r.router.resolveHooks);Bt(i,p,(function(){if(r.pending!==t)return a(Ht(o,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){C(t)}))}))}))},ee.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},ee.prototype.setupListeners=function(){},ee.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var he=function(t){function e(e,n){t.call(this,e,n),this._startLocation=fe(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Rt&&n;i&&this.listeners.push(St());var r=function(){var n=t.current,r=fe(t.base);t.current===m&&r===t._startLocation||t.transitionTo(r,(function(t){i&&Ct(e,t,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){Nt(I(i.base+t.fullPath)),Ct(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){jt(I(i.base+t.fullPath)),Ct(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fe(this.base)!==this.current.fullPath){var e=I(this.base+this.current.fullPath);t?Nt(e):jt(e)}},e.prototype.getCurrentLocation=function(){return fe(this.base)},e}(ee);function fe(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var de=function(t){function e(e,n,i){t.call(this,e,n),i&&pe(this.base)||ge()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Rt&&n;i&&this.listeners.push(St());var r=function(){var e=t.current;ge()&&t.transitionTo(ve(),(function(n){i&&Ct(t.router,n,e,!0),Rt||be(n.fullPath)}))},o=Rt?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){ye(t.fullPath),Ct(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){be(t.fullPath),Ct(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ve()!==e&&(t?ye(e):be(e))},e.prototype.getCurrentLocation=function(){return ve()},e}(ee);function pe(t){var e=fe(t);if(!/^\/#/.test(e))return window.location.replace(I(t+"/#"+e)),!0}function ge(){var t=ve();return"/"===t.charAt(0)||(be("/"+t),!1)}function ve(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),i=n>=0?e.slice(0,n):e;return i+"#"+t}function ye(t){Rt?Nt(me(t)):window.location.hash=t}function be(t){Rt?jt(me(t)):window.location.replace(me(t))}var _e=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach((function(e){e&&e(i,t)}))}),(function(t){Xt(t,Ft.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),xe=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Rt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new he(this,t.base);break;case"hash":this.history=new de(this,t.base,this.fallback);break;case"abstract":this.history=new _e(this,t.base);break;default:0}},we={currentRoute:{configurable:!0}};function Se(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Ce(t,e,n){var i="hash"===n?"#"+e:e;return t?I(t+"/"+i):i}xe.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},we.currentRoute.get=function(){return this.history&&this.history.current},xe.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof he||n instanceof de){var i=function(t){var i=n.current,r=e.options.scrollBehavior,o=Rt&&r;o&&"fullPath"in t&&Ct(e,t,i,!1)},r=function(t){n.setupListeners(),i(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},xe.prototype.beforeEach=function(t){return Se(this.beforeHooks,t)},xe.prototype.beforeResolve=function(t){return Se(this.resolveHooks,t)},xe.prototype.afterEach=function(t){return Se(this.afterHooks,t)},xe.prototype.onReady=function(t,e){this.history.onReady(t,e)},xe.prototype.onError=function(t){this.history.onError(t)},xe.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},xe.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},xe.prototype.go=function(t){this.history.go(t)},xe.prototype.back=function(){this.go(-1)},xe.prototype.forward=function(){this.go(1)},xe.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},xe.prototype.resolve=function(t,e,n){e=e||this.history.current;var i=tt(t,e,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath,a=this.history.base,s=Ce(a,o,this.mode);return{location:i,route:r,href:s,normalizedTo:i,resolved:r}},xe.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(xe.prototype,we),xe.install=lt,xe.version="3.4.9",xe.isNavigationFailure=Xt,xe.NavigationFailureType=Ft,ut&&window.Vue&&window.Vue.use(xe),e["a"]=xe},"8d32":function(t,e,n){var i=n("cbe5"),r=i.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)}});t.exports=r},"8deb":function(t,e,n){var i=n("3eba");n("5522"),n("a016"),n("1466");var r=n("98e7"),o=n("7f96"),a=n("870e"),s=n("d3f4"),l=n("7891");i.registerVisual(r("radar")),i.registerVisual(o("radar","circle")),i.registerLayout(a),i.registerProcessor(s("radar")),i.registerPreprocessor(l)},"8df4":function(t,e,n){"use strict";var i=n("7a77");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,i=n._listeners.length;for(e=0;e<i;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,i=new Promise((function(t){n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},r.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},"8e43":function(t,e,n){var i=n("6d8b"),r=i.createHashMap,o=i.isObject,a=i.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&a(n,c);return new s({categories:i,needCollect:!i,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=r(t.categories))}function c(t){return o(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!==typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=u(this);return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e};var h=s;t.exports=h},"8e77":function(t,e,n){var i=n("6d8b"),r=n("41ef"),o=n("6179"),a=n("3842"),s=n("2306"),l=n("923d"),u=n("88f0"),c=function(t,e,n,r){var o=l.dataTransform(t,r[0]),a=l.dataTransform(t,r[1]),s=i.retrieve,u=o.coord,c=a.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=i.mergeAll([{},o,a]);return h.coord=[o.coord,a.coord],h.x0=o.x,h.y0=o.y,h.x1=a.x,h.y1=a.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function f(t,e,n,i){var r=1-t;return h(e[r])&&h(n[r])}function d(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!f(1,n,i,t)&&!f(0,n,i,t))||(l.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:i,x:e.x1,y:e.y1}))}function p(t,e,n,i,r){var o,s=i.coordinateSystem,l=t.getItemModel(e),u=a.parsePercent(l.get(n[0]),r.getWidth()),c=a.parsePercent(l.get(n[1]),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(n,e));else{var f=t.get(n[0],e),d=t.get(n[1],e),p=[f,d];s.clampData&&s.clampData(p,p),o=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");f=t.get(n[0],e),d=t.get(n[1],e);h(f)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):h(d)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];return o}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function v(t,e,n){var r,a,s=["x0","y0","x1","y1"];t?(r=i.map(t&&t.dimensions,(function(t){var n=e.getData(),r=n.getDimensionInfo(n.mapDimension(t))||{};return i.defaults({name:t},r)})),a=new o(i.map(s,(function(t,e){return{name:t,type:r[e%2].type}})),n)):(r=[{name:"value",type:"float"}],a=new o(r,n));var l=i.map(n.get("data"),i.curry(c,e,t,n));t&&(l=i.filter(l,i.curry(d,t)));var u=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return a.initData(l,null,u),a.hasItemOption=!0,a}u.extend({type:"markArea",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markAreaModel;if(e){var r=e.getData();r.each((function(e){var o=i.map(g,(function(i){return p(r,e,i,t,n)}));r.setItemLayout(e,o);var a=r.getItemGraphicEl(e);a.setShape("points",o)}))}}),this)},renderSeries:function(t,e,n,o){var a=t.coordinateSystem,l=t.id,u=t.getData(),c=this.markerGroupMap,f=c.get(l)||c.set(l,{group:new s.Group});this.group.add(f.group),f.__keep=!0;var d=v(a,t,e);e.setData(d),d.each((function(e){var n=i.map(g,(function(n){return p(d,e,n,t,o)})),r=!0;i.each(g,(function(t){if(r){var n=d.get(t[0],e),i=d.get(t[1],e);(h(n)||a.getAxis("x").containData(n))&&(h(i)||a.getAxis("y").containData(i))&&(r=!1)}})),d.setItemLayout(e,{points:n,allClipped:r}),d.setItemVisual(e,{color:u.getVisual("color")})})),d.diff(f.__data).add((function(t){var e=d.getItemLayout(t);if(!e.allClipped){var n=new s.Polygon({shape:{points:e.points}});d.setItemGraphicEl(t,n),f.group.add(n)}})).update((function(t,n){var i=f.__data.getItemGraphicEl(n),r=d.getItemLayout(t);r.allClipped?i&&f.group.remove(i):(i?s.updateProps(i,{shape:{points:r.points}},e,t):i=new s.Polygon({shape:{points:r.points}}),d.setItemGraphicEl(t,i),f.group.add(i))})).remove((function(t){var e=f.__data.getItemGraphicEl(t);f.group.remove(e)})).execute(),d.eachItemGraphicEl((function(t,n){var o=d.getItemModel(n),a=o.getModel("label"),l=o.getModel("emphasis.label"),u=d.getItemVisual(n,"color");t.useStyle(i.defaults(o.getModel("itemStyle").getItemStyle(),{fill:r.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,a,l,{labelFetcher:e,labelDataIndex:n,defaultText:d.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(t,{}),t.dataModel=e})),f.__data=d,f.group.silent=e.get("silent")||t.get("silent")}})},"8ea1":function(t,e){var n="object"==typeof document&&document.all,i="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:i}},"8eb7":function(t,e){var n,i,r,o,a,s,l,u,c,h,f,d,p,g,v,m=!1;function y(){if(!m){m=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),y=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(d=/\b(iPhone|iP[ao]d)/.exec(t),p=/\b(iP[ao]d)/.exec(t),h=/Android/i.exec(t),g=/FBAN\/\w+;/i.exec(t),v=/Mobile/i.exec(t),f=!!/Win64/.exec(t),e){n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(t);s=b?parseFloat(b[1])+4:n,i=e[2]?parseFloat(e[2]):NaN,r=e[3]?parseFloat(e[3]):NaN,o=e[4]?parseFloat(e[4]):NaN,o?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),a=e&&e[1]?parseFloat(e[1]):NaN):a=NaN}else n=i=r=a=o=NaN;if(y){if(y[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=!_||parseFloat(_[1].replace("_","."))}else l=!1;u=!!y[2],c=!!y[3]}else l=u=c=!1}}var b={ie:function(){return y()||n},ieCompatibilityMode:function(){return y()||s>n},ie64:function(){return b.ie()&&f},firefox:function(){return y()||i},opera:function(){return y()||r},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||a},windows:function(){return y()||u},osx:function(){return y()||l},linux:function(){return y()||c},iphone:function(){return y()||d},mobile:function(){return y()||d||p||h||v},nativeApp:function(){return y()||g},android:function(){return y()||h},ipad:function(){return y()||p}};t.exports=b},"8ec5":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2145"),a=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),r.each(this.option.feature,(function(t,e){var n=o.get(e);n&&r.merge(t,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=a;t.exports=s},"8ed2":function(t,e,n){n("48c7");var i=n("6cb7"),r=i.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=r},"8ee0":function(t,e,n){n("3f8e");var i=n("697e7"),r=i.registerPainter,o=n("dc20");r("svg",o)},"903c":function(t,e){function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}t.exports=n},"90c2":function(t,e,n){var i=n("5f14"),r=n("41ef"),o=n("6d8b"),a=o.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(t,e,n,i){var r=t.getData().tree,o=r.root;o.isRemoved()||u(o,{},t.getViewRoot().getAncestors(),t)}};function u(t,e,n,i){var r=t.getModel(),a=t.getLayout();if(a&&!a.invisible&&a.isInView){var l,d=t.getModel(s),g=c(d,e,i),m=d.get("borderColor"),y=d.get("borderColorSaturation");null!=y&&(l=h(g,t),m=f(y,l)),t.setVisual("borderColor",m);var b=t.viewChildren;if(b&&b.length){var _=p(t,r,a,d,g,b);o.each(b,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=v(r,g,t,e,_,i);u(t,o,n,i)}}))}else l=h(g,t),t.setVisual("color",l)}}function c(t,e,n){var i=o.extend({},e),r=n.designatedVisualItemStyle;return o.each(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}function h(t){var e=d(t,"color");if(e){var n=d(t,"colorAlpha"),i=d(t,"colorSaturation");return i&&(e=r.modifyHSL(e,null,null,i)),n&&(e=r.modifyAlpha(e,n)),e}}function f(t,e){return null!=e?r.modifyHSL(e,null,null,t):null}function d(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function p(t,e,n,r,o,a){if(a&&a.length){var s=g(e,"color")||null!=o.color&&"none"!==o.color&&(g(e,"colorAlpha")||g(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),c=n.dataExtent.slice();null!=l&&l<c[0]&&(c[0]=l),null!=u&&u>c[1]&&(c[1]=u);var h=e.get("colorMappingBy"),f={type:s.name,dataExtent:c,visual:s.range};"color"!==f.type||"index"!==h&&"id"!==h?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var d=new i(f);return d.__drColorMappingBy=h,d}}}function g(t,e){var n=t.get(e);return a(n)&&n.length?{name:e,range:n}:null}function v(t,e,n,i,r,a){var s=o.extend({},e);if(r){var l=r.type,u="color"===l&&r.__drColorMappingBy,c="index"===u?i:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=r.mapValueToVisual(c)}return s}t.exports=l},"90d8":function(t,e,n){var i=n("c65b"),r=n("1a2d"),o=n("3a9b"),a=n("ad6d"),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||r(t,"flags")||!o(s,t)?e:i(a,t)}},"90e3":function(t,e,n){var i=n("e330"),r=0,o=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},9112:function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9141:function(t,e,n){var i=n("ef08").document;t.exports=i&&i.documentElement},9152:function(t,e){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
e.read=function(t,e,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?r-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+t[e+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,i),o-=u}return(d?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,e,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<<u)-1,h=c>>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:o-1,p=i?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+h>=1?f/l:f*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[n+d]=255&s,d+=p,s/=256,r-=8);for(a=a<<r|s,u+=r;u>0;t[n+d]=255&a,d+=p,a/=256,u-=8);t[n+d-p]|=128*g}},"923d":function(t,e,n){var i=n("6d8b"),r=n("3842"),o=n("ee1a"),a=o.isDimensionStacked,s=i.indexOf;function l(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function u(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function c(t,e,n,i,o,s){var l=[],u=a(e,i),c=u?e.getCalculationInfo("stackResultDimension"):i,h=y(e,c,t),f=e.indicesOfNearest(c,h)[0];l[o]=e.get(n,f),l[s]=e.get(c,f);var d=e.get(i,f),p=r.getPrecision(e.get(i,f));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),[l,d]}var h=i.curry,f={min:h(c,"min"),max:h(c,"max"),average:h(c,"average")};function d(t,e){var n=t.getData(),r=t.coordinateSystem;if(e&&!u(e)&&!i.isArray(e.coord)&&r){var o=r.dimensions,a=p(e,n,r,t);if(e=i.clone(e),e.type&&f[e.type]&&a.baseAxis&&a.valueAxis){var l=s(o,a.baseAxis.dim),c=s(o,a.valueAxis.dim),h=f[e.type](n,a.baseDataDim,a.valueDataDim,l,c);e.coord=h[0],e.value=h[1]}else{for(var d=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],g=0;g<2;g++)f[d[g]]&&(d[g]=y(n,n.mapDimension(o[g]),d[g]));e.coord=d}}return e}function p(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(g(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function g(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var r=0;r<i.length;r++){var o=n.getDimensionInfo(i[r]);if(o.name===e)return o.coordDim}}function v(t,e){return!(t&&t.containData&&e.coord&&!l(e))||t.containData(e.coord)}function m(t,e,n,i){return i<2?t.coord&&t.coord[i]:t.value}function y(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e,!0)["max"===n?1:0]}e.dataTransform=d,e.getAxisInfo=p,e.dataFilter=v,e.dimValueGetter=m,e.numCalculate=y},9263:function(t,e,n){"use strict";var i=n("c65b"),r=n("e330"),o=n("577e"),a=n("ad6d"),s=n("9f7f"),l=n("5692"),u=n("7c73"),c=n("69f3").get,h=n("fce3"),f=n("107c"),d=l("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,g=p,v=r("".charAt),m=r("".indexOf),y=r("".replace),b=r("".slice),_=function(){var t=/a/,e=/b*/g;return i(p,t,"a"),i(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),x=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1],S=_||w||x||h||f;S&&(g=function(t){var e,n,r,s,l,h,f,S=this,C=c(S),T=o(t),A=C.raw;if(A)return A.lastIndex=S.lastIndex,e=i(g,A,T),S.lastIndex=A.lastIndex,e;var O=C.groups,M=x&&S.sticky,k=i(a,S),I=S.source,E=0,P=T;if(M&&(k=y(k,"y",""),-1===m(k,"g")&&(k+="g"),P=b(T,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==v(T,S.lastIndex-1))&&(I="(?: "+I+")",P=" "+P,E++),n=new RegExp("^(?:"+I+")",k)),w&&(n=new RegExp("^"+I+"$(?!\\s)",k)),_&&(r=S.lastIndex),s=i(p,M?n:S,P),M?s?(s.input=b(s.input,E),s[0]=b(s[0],E),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:_&&s&&(S.lastIndex=S.global?s.index+s[0].length:r),w&&s&&s.length>1&&i(d,s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s&&O)for(s.groups=h=u(null),l=0;l<O.length;l++)f=O[l],h[f[0]]=s[f[1]];return s}),t.exports=g},9273:function(t,e,n){var i=n("6d8b"),r=n("84ce");function o(t,e){r.call(this,"radius",t,e),this.type="category"}o.prototype={constructor:o,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},i.inherits(o,r);var a=o;t.exports=a},"928d":function(t,e,n){var i=n("6d8b"),r=n("4f85"),o=n("06c7"),a=n("4319"),s=n("eda2"),l=s.encodeHTML,u=s.addCommas,c=n("55ac"),h=c.wrapTreePathInfo,f=r.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive: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:{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:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,e){var n={name:t.name,children:t.data};d(n);var r=t.levels||[],s=this.designatedVisualItemStyle={},l=new a({itemStyle:s},this,e);r=t.levels=p(r,e);var u=i.map(r||[],(function(t){return new a(t,l,e)}),this),c=o.createTree(n,this,h);function h(t){t.wrapMethod("getItemModel",(function(t,e){var n=c.getNodeByDataIndex(e),i=u[n.depth];return t.parentModel=i||l,t}))}return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),r=i.isArray(n)?u(n[0]):u(n),o=e.getName(t);return l(o+": "+r)},getDataParams:function(t){var e=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=h(n,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function d(t){var e=0;i.each(t.children,(function(t){d(t);var n=t.value;i.isArray(n)&&(n=n[0]),e+=n}));var n=t.value;i.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),i.isArray(t.value)?t.value[0]=n:t.value=n}function p(t,e){var n=e.get("color");if(n){var r;if(t=t||[],i.each(t,(function(t){var e=new a(t),n=e.get("color");(e.get("itemStyle.color")||n&&"none"!==n)&&(r=!0)})),!r){var o=t[0]||(t[0]={});o.color=n.slice()}return t}}t.exports=f},"92f0":function(t,e,n){var i=n("1a14").f,r=n("9c0e"),o=n("cc15")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},"92fa":function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function i(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var r,o,a,s,l;for(a in e)if(r=t[a],o=e[a],r&&n.test(a))if("class"===a&&("string"===typeof r&&(l=r,t[a]=r={},r[l]=!0),"string"===typeof o&&(l=o,e[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)r[s]=i(r[s],o[s]);else if(Array.isArray(r))t[a]=r.concat(o);else if(Array.isArray(o))t[a]=[r].concat(o);else for(s in o)r[s]=o[s];else t[a]=e[a];return t}),{})}},9339:function(t,e,n){(function(e){
/*!
 * Quill Editor v1.3.7
 * https://quilljs.com/
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */
(function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(17),r=n(18),o=n(19),a=n(45),s=n(46),l=n(47),u=n(48),c=n(49),h=n(12),f=n(32),d=n(33),p=n(31),g=n(1),v={Scope:g.Scope,create:g.create,find:g.find,query:g.query,register:g.register,Container:i.default,Format:r.default,Leaf:o.default,Embed:u.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:c.default,Attributor:{Attribute:h.default,Class:f.default,Style:d.default,Store:p.default}};e.default=v},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return i(e,t),e}(Error);e.ParchmentError=r;var o,a={},s={},l={},u={};function c(t,e){var n=f(t);if(null==n)throw new r("Unable to create "+t+" blot");var i=n,o=t instanceof Node||t["nodeType"]===Node.TEXT_NODE?t:i.create(e);return new i(o,e)}function h(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?h(t.parentNode,n):null}function f(t,e){var n;if(void 0===e&&(e=o.ANY),"string"===typeof t)n=u[t]||a[t];else if(t instanceof Text||t["nodeType"]===Node.TEXT_NODE)n=u["text"];else if("number"===typeof t)t&o.LEVEL&o.BLOCK?n=u["block"]:t&o.LEVEL&o.INLINE&&(n=u["inline"]);else if(t instanceof HTMLElement){var i=(t.getAttribute("class")||"").split(/\s+/);for(var r in i)if(n=s[i[r]],n)break;n=n||l[t.tagName]}return null==n?null:e&o.LEVEL&n.scope&&e&o.TYPE&n.scope?n:null}function d(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map((function(t){return d(t)}));var n=t[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new r("Invalid definition");if("abstract"===n.blotName)throw new r("Cannot register abstract class");if(u[n.blotName||n.attrName]=n,"string"===typeof n.keyName)a[n.keyName]=n;else if(null!=n.className&&(s[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(t){return t.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var i=Array.isArray(n.tagName)?n.tagName:[n.tagName];i.forEach((function(t){null!=l[t]&&null!=n.className||(l[t]=n)}))}return n}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(o=e.Scope||(e.Scope={})),e.create=c,e.find=h,e.query=f,e.register=d},function(t,e,n){var i=n(51),r=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=o(!0,{},t),"object"===typeof n){if("number"===typeof t["delete"]&&"number"===typeof n["delete"])return this.ops[e-1]={delete:n["delete"]+t["delete"]},this;if("number"===typeof n["delete"]&&null!=t.insert&&(e-=1,n=this.ops[e-1],"object"!==typeof n))return this.ops.unshift(t),this;if(r(t.attributes,n.attributes)){if("string"===typeof t.insert&&"string"===typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(i){var r=t(i)?e:n;r.push(i)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+a.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);var n=[],i=a.iterator(this.ops),r=0;while(r<e&&i.hasNext()){var o;r<t?o=i.next(t-r):(o=i.next(e-r),n.push(o)),r+=a.length(o)}return new l(n)},l.prototype.compose=function(t){var e=a.iterator(this.ops),n=a.iterator(t.ops),i=[],o=n.peek();if(null!=o&&"number"===typeof o.retain&&null==o.attributes){var s=o.retain;while("insert"===e.peekType()&&e.peekLength()<=s)s-=e.peekLength(),i.push(e.next());o.retain-s>0&&n.next(o.retain-s)}var u=new l(i);while(e.hasNext()||n.hasNext())if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),h=e.next(c),f=n.next(c);if("number"===typeof f.retain){var d={};"number"===typeof h.retain?d.retain=c:d.insert=h.insert;var p=a.attributes.compose(h.attributes,f.attributes,"number"===typeof h.retain);if(p&&(d.attributes=p),u.push(d),!n.hasNext()&&r(u.ops[u.ops.length-1],d)){var g=new l(e.rest());return u.concat(g).chop()}}else"number"===typeof f["delete"]&&"number"===typeof h.retain&&u.push(f)}return u.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;var i=e===t?"on":"with";throw new Error("diff() called "+i+" non-document")})).join("")})),o=new l,u=i(n[0],n[1],e),c=a.iterator(this.ops),h=a.iterator(t.ops);return u.forEach((function(t){var e=t[1].length;while(e>0){var n=0;switch(t[0]){case i.INSERT:n=Math.min(h.peekLength(),e),o.push(h.next(n));break;case i.DELETE:n=Math.min(e,c.peekLength()),c.next(n),o["delete"](n);break;case i.EQUAL:n=Math.min(c.peekLength(),h.peekLength(),e);var s=c.next(n),l=h.next(n);r(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l)["delete"](n);break}e-=n}})),o.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";var n=a.iterator(this.ops),i=new l,r=0;while(n.hasNext()){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),u="string"===typeof o.insert?o.insert.indexOf(e,s)-s:-1;if(u<0)i.push(n.next());else if(u>0)i.push(n.next(u));else{if(!1===t(i,n.next(1).attributes||{},r))return;r+=1,i=new l}}i.length()>0&&t(i,{},r)},l.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);var n=a.iterator(this.ops),i=a.iterator(t.ops),r=new l;while(n.hasNext()||i.hasNext())if("insert"!==n.peekType()||!e&&"insert"===i.peekType())if("insert"===i.peekType())r.push(i.next());else{var o=Math.min(n.peekLength(),i.peekLength()),s=n.next(o),u=i.next(o);if(s["delete"])continue;u["delete"]?r.push(u):r.retain(o,a.attributes.transform(s.attributes,u.attributes,e))}else r.retain(a.length(n.next()));return r.chop()},l.prototype.transformPosition=function(t,e){e=!!e;var n=a.iterator(this.ops),i=0;while(n.hasNext()&&i<=t){var r=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(i<t||!e)&&(t+=r),i+=r):t-=Math.min(r,t-i)}return t},t.exports=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},s=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e,r=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(e in t);return"undefined"===typeof e||n.call(t,e)},l=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(o)return o(t,e).value}return t[e]};t.exports=function t(){var e,n,i,r,o,c,h=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"===typeof h&&(p=h,h=arguments[1]||{},f=2),(null==h||"object"!==typeof h&&"function"!==typeof h)&&(h={});f<d;++f)if(e=arguments[f],null!=e)for(n in e)i=u(h,n),r=u(e,n),h!==r&&(p&&r&&(s(r)||(o=a(r)))?(o?(o=!1,c=i&&a(i)?i:[]):c=i&&s(i)?i:{},l(h,{name:n,newValue:t(p,c,r)})):"undefined"!==typeof r&&l(h,{name:n,newValue:r}));return h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(3),a=m(o),s=n(2),l=m(s),u=n(0),c=m(u),h=n(16),f=m(h),d=n(6),p=m(d),g=n(7),v=m(g);function m(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var x=1,w=function(t){function e(){return y(this,e),b(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return _(e,t),i(e,[{key:"attach",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new c.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new l.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=c.default.query(t,c.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,i){this.format(n,i)}},{key:"insertAt",value:function(t,n,i){if("string"===typeof n&&n.endsWith("\n")){var o=c.default.create(S.blotName);this.parent.insertBefore(o,0===t?this:this.next),o.insertAt(0,n.slice(0,-1))}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,i)}}]),e}(c.default.Embed);w.scope=c.default.Scope.BLOCK_BLOT;var S=function(t){function e(t){y(this,e);var n=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return _(e,t),i(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(c.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),C(e))}),new l.default).insert("\n",C(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,i,o){n<=0||(c.default.query(i,c.default.Scope.BLOCK)?t+n===this.length()&&this.format(i,o):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),i,o),this.cache={})}},{key:"insertAt",value:function(t,n,i){if(null!=i)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,i);if(0!==n.length){var o=n.split("\n"),a=o.shift();a.length>0&&(t<this.length()-1||null==this.children.tail?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;o.reduce((function(t,e){return s=s.split(t,!0),s.insertAt(0,e),e.length}),t+a.length)}}},{key:"insertBefore",value:function(t,n){var i=this.children.head;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),i instanceof f.default&&i.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+x),this.cache.length}},{key:"moveChildren",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-x)){var i=this.clone();return 0===t?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}var o=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(c.default.Block);function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,a.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:C(t.parent,e))}S.blotName="block",S.tagName="P",S.defaultChild="break",S.allowedChildren=[p.default,c.default.Embed,v.default],e.bubbleFormats=C,e.BlockEmbed=w,e.default=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();n(50);var a=n(2),s=C(a),l=n(14),u=C(l),c=n(8),h=C(c),f=n(9),d=C(f),p=n(0),g=C(p),v=n(15),m=C(v),y=n(3),b=C(y),_=n(10),x=C(_),w=n(34),S=C(w);function C(t){return t&&t.__esModule?t:{default:t}}function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var O=(0,x.default)("quill"),M=function(){function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(A(this,t),this.options=k(e,i),this.container=this.options.container,null==this.container)return O.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new h.default,this.scroll=g.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new m.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(h.default.events.EDITOR_CHANGE,(function(t){t===h.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(h.default.events.SCROLL_UPDATE,(function(t,e){var i=n.selection.lastRange,r=i&&0===i.length?i.index:void 0;I.call(n,(function(){return n.editor.update(null,e,r)}),t)}));var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),x.default.level(t)}},{key:"find",value:function(t){return t.__quill||g.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&O.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var r=t.attrName||t.blotName;"string"===typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach((function(i){n.register(i,t[i],e)}))}else null==this.imports[t]||i||O.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?g.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),o(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var i=this,o=E(t,e,n),a=r(o,4);return t=a[0],e=a[1],n=a[3],I.call(this,(function(){return i.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;return I.call(this,(function(){var i=n.getSelection(!0),r=new s.default;if(null==i)return r;if(g.default.query(t,g.default.Scope.BLOCK))r=n.editor.formatLine(i.index,i.length,T({},t,e));else{if(0===i.length)return n.selection.format(t,e),r;r=n.editor.formatText(i.index,i.length,T({},t,e))}return n.setSelection(i,h.default.sources.SILENT),r}),i)}},{key:"formatLine",value:function(t,e,n,i,o){var a=this,s=void 0,l=E(t,e,n,i,o),u=r(l,4);return t=u[0],e=u[1],s=u[2],o=u[3],I.call(this,(function(){return a.editor.formatLine(t,e,s)}),o,t,0)}},{key:"formatText",value:function(t,e,n,i,o){var a=this,s=void 0,l=E(t,e,n,i,o),u=r(l,4);return t=u[0],e=u[1],s=u[2],o=u[3],I.call(this,(function(){return a.editor.formatText(t,e,s)}),o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=E(t,e),i=r(n,2);return t=i[0],e=i[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=E(t,e),i=r(n,2);return t=i[0],e=i[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return I.call(this,(function(){return r.editor.insertEmbed(e,n,i)}),o,e)}},{key:"insertText",value:function(t,e,n,i,o){var a=this,s=void 0,l=E(t,0,n,i,o),u=r(l,4);return t=u[0],s=u[2],o=u[3],I.call(this,(function(){return a.editor.insertText(t,e,s)}),o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var i=this,o=E(t,e,n),a=r(o,4);return t=a[0],e=a[1],n=a[3],I.call(this,(function(){return i.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return I.call(this,(function(){t=new s.default(t);var n=e.getLength(),i=e.editor.deleteText(0,n),r=e.editor.applyDelta(t),o=r.ops[r.ops.length-1];null!=o&&"string"===typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1));var a=i.compose(r);return a}),n)}},{key:"setSelection",value:function(e,n,i){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=E(e,n,i),a=r(o,4);e=a[0],n=a[1],i=a[3],this.selection.setRange(new v.Range(e,n),i),i!==h.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API,n=(new s.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return I.call(this,(function(){return t=new s.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function k(t,e){if(e=(0,b.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==M.DEFAULTS.theme){if(e.theme=M.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=S.default;var n=(0,b.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var i=Object.keys(n.modules).concat(Object.keys(e.modules)),r=i.reduce((function(t,e){var n=M.import("modules/"+e);return null==n?O.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,b.default)(!0,{},M.DEFAULTS,{modules:r},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function I(t,e,n,i){if(this.options.strict&&!this.isEnabled()&&e===h.default.sources.USER)return new s.default;var r=null==n?null:this.getSelection(),o=this.editor.delta,a=t();if(null!=r&&(!0===n&&(n=r.index),null==i?r=P(r,a,e):0!==i&&(r=P(r,n,i,e)),this.setSelection(r,h.default.sources.SILENT)),a.length()>0){var l,u,c=[h.default.events.TEXT_CHANGE,a,o,e];if((l=this.emitter).emit.apply(l,[h.default.events.EDITOR_CHANGE].concat(c)),e!==h.default.sources.SILENT)(u=this.emitter).emit.apply(u,c)}return a}function E(t,e,n,r,o){var a={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(o=r,r=n,n=e,e=0),"object"===("undefined"===typeof n?"undefined":i(n))?(a=n,o=r):"string"===typeof n&&(null!=r?a[n]=r:o=n),o=o||h.default.sources.API,[t,e,a,o]}function P(t,e,n,i){if(null==t)return null;var o=void 0,a=void 0;if(e instanceof s.default){var l=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,i!==h.default.sources.USER)})),u=r(l,2);o=u[0],a=u[1]}else{var c=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&i===h.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),f=r(c,2);o=f[0],a=f[1]}return new v.Range(o,a-o)}M.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},M.events=h.default.events,M.sources=h.default.sources,M.version="1.3.7",M.imports={delta:s.default,parchment:g.default,"core/module":d.default,"core/theme":S.default},e.expandConfig=k,e.overload=E,e.default=M},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(7),a=u(o),s=n(0),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(){return c(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),i(e,[{key:"formatAt",value:function(t,n,i,o){if(e.compare(this.statics.blotName,i)<0&&l.default.query(i,l.default.Scope.BLOT)){var a=this.isolate(t,n);o&&a.wrap(i,o)}else r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,i,o)}},{key:"optimize",value:function(t){if(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var i=e.order.indexOf(t),r=e.order.indexOf(n);return i>=0||r>=0?i-r:t===n?0:t<n?-1:1}}]),e}(l.default.Inline);d.allowedChildren=[d,l.default.Embed,a.default],d.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(r.default.Text);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(54),a=u(o),s=n(10),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=(0,l.default)("quill:events"),p=["selectionchange","mousedown","mouseup","click"];p.forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var g=function(t){function e(){c(this,e);var t=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",d.error),t}return f(e,t),i(e,[{key:"emit",value:function(){d.log.apply(d,arguments),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];(this.listeners[t.type]||[]).forEach((function(e){var i=e.node,r=e.handler;(t.target===i||i.contains(t.target))&&r.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(a.default);g.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},g.sources={API:"api",SILENT:"silent",USER:"user"},e.default=g},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=["error","warn","log","info"],r="warn";function o(t){if(i.indexOf(t)<=i.indexOf(r)){for(var e,n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(e=console)[t].apply(e,o)}}function a(t){return i.reduce((function(e,n){return e[n]=o.bind(console,n,t),e}),{})}o.level=a.level=function(t){r=t},e.default=a},function(t,e,n){var i=Array.prototype.slice,r=n(52),o=n(53),a=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:u(t,e,n))};function s(t){return null===t||void 0===t}function l(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&("function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0]))}function u(t,e,n){var u,c;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(o(t))return!!o(e)&&(t=i.call(t),e=i.call(e),a(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var h=r(t),f=r(e)}catch(d){return!1}if(h.length!=f.length)return!1;for(h.sort(),f.sort(),u=h.length-1;u>=0;u--)if(h[u]!=f[u])return!1;for(u=h.length-1;u>=0;u--)if(c=h[u],!a(t[c],e[c],n))return!1;return typeof t===typeof e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var r=i.Scope.TYPE&i.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&i.Scope.LEVEL|r:this.scope=i.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){var n=i.query(t,i.Scope.BLOT&(this.scope|i.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var i=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(2),s=v(a),l=n(0),u=v(l),c=n(4),h=v(c),f=n(6),d=v(f),p=n(7),g=v(p);function v(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function b(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _=function(t){function e(){return m(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return b(e,t),e}(d.default);_.blotName="code",_.tagName="CODE";var x=function(t){function e(){return m(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return b(e,t),r(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new s.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(g.default,this.length()-1),a=i(r,1),s=a[0];null!=s&&s.deleteAt(s.length()-1,1),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,i,r){if(0!==n&&null!=u.default.query(i,u.default.Scope.BLOCK)&&(i!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var o=this.newlineIndex(t);if(!(o<0||o>=t+n)){var a=this.newlineIndex(t,!0)+1,s=o-a+1,l=this.isolate(a,s),c=l.next;l.format(i,r),c instanceof e&&c.formatAt(0,t-a+n-s,i,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(g.default,t),o=i(r,2),a=o[0],s=o[1];a.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(u.default.create("text","\n")),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=u.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof u.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(h.default);x.blotName="code-block",x.tagName="PRE",x.TAB="  ",e.Code=_,e.default=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=n(2),s=A(a),l=n(20),u=A(l),c=n(0),h=A(c),f=n(13),d=A(f),p=n(24),g=A(p),v=n(4),m=A(v),y=n(16),b=A(y),_=n(21),x=A(_),w=n(11),S=A(w),C=n(3),T=A(C);function A(t){return t&&t.__esModule?t:{default:t}}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var k=/^[ -~]*$/,I=function(){function t(e){M(this,t),this.scroll=e,this.delta=this.getDelta()}return o(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),t=P(t),t.reduce((function(t,a){var s=a.retain||a.delete||a.insert.length||1,l=a.attributes||{};if(null!=a.insert){if("string"===typeof a.insert){var c=a.insert;c.endsWith("\n")&&n&&(n=!1,c=c.slice(0,-1)),t>=o&&!c.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,c);var f=e.scroll.line(t),d=r(f,2),p=d[0],g=d[1],y=(0,T.default)({},(0,v.bubbleFormats)(p));if(p instanceof m.default){var b=p.descendant(h.default.Leaf,g),_=r(b,1),x=_[0];y=(0,T.default)(y,(0,v.bubbleFormats)(x))}l=u.default.attributes.diff(y,l)||{}}else if("object"===i(a.insert)){var w=Object.keys(a.insert)[0];if(null==w)return t;e.scroll.insertAt(t,w,a.insert[w])}o+=s}return Object.keys(l).forEach((function(n){e.scroll.formatAt(t,s,n,l[n])})),t+s}),0),t.reduce((function(t,n){return"number"===typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new s.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(i).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var o=n.scroll.lines(t,Math.max(e,1)),a=e;o.forEach((function(e){var o=e.length();if(e instanceof d.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+a)-s+1;e.formatAt(s,l,r,i[r])}else e.format(r,i[r]);a-=o}))}})),this.scroll.optimize(),this.update((new s.default).retain(t).retain(e,(0,x.default)(i)))}},{key:"formatText",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(i).forEach((function(r){n.scroll.formatAt(t,e,r,i[r])})),this.update((new s.default).retain(t).retain(e,(0,x.default)(i)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new s.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===e?this.scroll.path(t).forEach((function(t){var e=r(t,1),o=e[0];o instanceof m.default?n.push(o):o instanceof h.default.Leaf&&i.push(o)})):(n=this.scroll.lines(t,e),i=this.scroll.descendants(h.default.Leaf,t,e));var o=[n,i].map((function(t){if(0===t.length)return{};var e=(0,v.bubbleFormats)(t.shift());while(Object.keys(e).length>0){var n=t.shift();if(null==n)return e;e=E((0,v.bubbleFormats)(n),e)}return e}));return T.default.apply(T.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"===typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new s.default).retain(t).insert(O({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(i).forEach((function(r){n.scroll.formatAt(t,e.length,r,i[r])})),this.update((new s.default).retain(t).insert(e,(0,x.default)(i)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===m.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof b.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),i=this.scroll.line(t+e),o=r(i,2),a=o[0],l=o[1],u=0,c=new s.default;null!=a&&(u=a instanceof d.default?a.newlineIndex(l)-l+1:a.length()-l,c=a.delta().slice(l,l+u-1).insert("\n"));var h=this.getContents(t,e+u),f=h.diff((new s.default).insert(n).concat(c)),p=(new s.default).retain(t).concat(f);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(k)&&h.default.find(e[0].target)){var r=h.default.find(e[0].target),o=(0,v.bubbleFormats)(r),a=r.offset(this.scroll),l=e[0].oldValue.replace(g.default.CONTENTS,""),u=(new s.default).insert(l),c=(new s.default).insert(r.value()),f=(new s.default).retain(a).concat(u.diff(c,n));t=f.reduce((function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)}),new s.default),this.delta=i.compose(t)}else this.delta=this.getDelta(),t&&(0,S.default)(i.compose(t),this.delta)||(t=i.diff(this.delta,n));return t}}]),t}();function E(t,e){return Object.keys(e).reduce((function(n,i){return null==t[i]||(e[i]===t[i]?n[i]=e[i]:Array.isArray(e[i])?e[i].indexOf(t[i])<0&&(n[i]=e[i].concat([t[i]])):n[i]=[e[i],t[i]]),n}),{})}function P(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,x.default)(e.attributes);return delete n["image"],t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,x.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var i=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(i,e.attributes)}return t.push(e)}),new s.default)}e.default=I},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var i=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=g(o),s=n(21),l=g(s),u=n(11),c=g(u),h=n(8),f=g(h),d=n(10),p=g(d);function g(t){return t&&t.__esModule?t:{default:t}}function v(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var y=(0,p.default)("quill:selection"),b=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;m(this,t),this.index=e,this.length=n},_=function(){function t(e,n){var i=this;m(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new b(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){i.mouseDown||setTimeout(i.update.bind(i,f.default.sources.USER),1)})),this.emitter.on(f.default.events.EDITOR_CHANGE,(function(t,e){t===f.default.events.TEXT_CHANGE&&e.length()>0&&i.update(f.default.sources.SILENT)})),this.emitter.on(f.default.events.SCROLL_BEFORE_UPDATE,(function(){if(i.hasFocus()){var t=i.getNativeRange();null!=t&&t.start.node!==i.cursor.textNode&&i.emitter.once(f.default.events.SCROLL_UPDATE,(function(){try{i.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}}))}})),this.emitter.on(f.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,r=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;i.setNativeRange(r,o,a,s)}})),this.update(f.default.sources.SILENT)}return r(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(f.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(t,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var i=a.default.find(n.start.node,!1);if(null==i)return;if(i instanceof a.default.Leaf){var r=i.split(n.start.offset);i.parent.insertBefore(this.cursor,r)}else i.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),a=i(o,2),s=a[0],l=a[1];if(null==s)return null;var u=s.position(l,!0),c=i(u,2);r=c[0],l=c[1];var h=document.createRange();if(e>0){h.setStart(r,l);var f=this.scroll.leaf(t+e),d=i(f,2);if(s=d[0],l=d[1],null==s)return null;var p=s.position(l,!0),g=i(p,2);return r=g[0],l=g[1],h.setEnd(r,l),h.getBoundingClientRect()}var v="left",m=void 0;return r instanceof Text?(l<r.data.length?(h.setStart(r,l),h.setEnd(r,l+1)):(h.setStart(r,l-1),h.setEnd(r,l),v="right"),m=h.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(v="right")),{bottom:m.top+m.height,height:m.height,left:m[v],right:m[v],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return y.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();if(null==t)return[null,null];var e=this.normalizedToRange(t);return[e,t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map((function(t){var n=i(t,2),r=n[0],o=n[1],s=a.default.find(r,!0),l=s.offset(e.scroll);return 0===o?l:s instanceof a.default.Container?l+s.length():l+s.index(r,o)})),o=Math.min(Math.max.apply(Math,v(r)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(v(r)));return new b(s,o-s)}},{key:"normalizeNative",value:function(t){if(!x(this.root,t.startContainer)||!t.collapsed&&!x(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){var e=t.node,n=t.offset;while(!(e instanceof Text)&&e.childNodes.length>0)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach((function(t,n){t=Math.min(o-1,t);var a=void 0,s=e.scroll.leaf(t),l=i(s,2),u=l[0],c=l[1],h=u.position(c,0!==n),f=i(h,2);a=f[0],c=f[1],r.push(a,c)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),a=i(o,1),s=a[0],l=s;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,r)),c=i(u,1);l=c[0]}if(null!=s&&null!=l){var h=t.getBoundingClientRect();n.top<h.top?t.scrollTop-=h.top-n.top:n.bottom>h.bottom&&(t.scrollTop+=n.bottom-h.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(y.info("setNativeRange",t,e,n,i),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||r||t!==a.startContainer||e!==a.startOffset||n!==a.endContainer||i!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(i=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,i),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;if("string"===typeof e&&(n=e,e=!1),y.info("setRange",t),null!=t){var i=this.rangeToNative(t);this.setNativeRange.apply(this,v(i).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER,e=this.lastRange,n=this.getRange(),r=i(n,2),o=r[0],a=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(e,this.lastRange)){var s;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var u,h=[f.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(e),t];if((s=this.emitter).emit.apply(s,[f.default.events.EDITOR_CHANGE].concat(h)),t!==f.default.sources.SILENT)(u=this.emitter).emit.apply(u,h)}}}]),t}();function x(t,e){try{e.parentNode}catch(n){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=b,e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),i(e,[{key:"insertInto",value:function(t,n){0===t.children.length?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(a.default.Embed);h.blotName="break",h.tagName="BR",e.default=h},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(44),o=n(30),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return i(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new r.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=l(e);t.insertBefore(n,t.children.head||void 0)}catch(i){if(i instanceof a.ParchmentError)return;throw i}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var i=this.children.find(n),r=i[0],o=i[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,o]:r instanceof e?r.descendant(t,o):[null,-1]},e.prototype.descendants=function(t,n,i){void 0===n&&(n=0),void 0===i&&(i=Number.MAX_VALUE);var r=[],o=i;return this.children.forEachAt(n,i,(function(n,i,a){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,i,o))),o-=a})),r},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,i){this.children.forEachAt(t,e,(function(t,e,r){t.formatAt(e,r,n,i)}))},e.prototype.insertAt=function(t,e,n){var i=this.children.find(t),r=i[0],o=i[1];if(r)r.insertAt(o,e,n);else{var s=null==n?a.create("text",e):a.create(e,n);this.appendChild(s)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var i=this.children.find(t,n),r=i[0],o=i[1],a=[[this,t]];return r instanceof e?a.concat(r.path(o,n)):(null!=r&&a.push([r,o]),a)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,i,r){t=t.split(i,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,i=[],r=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(i.push.apply(i,t.addedNodes),r.push.apply(r,t.removedNodes))})),r.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),i.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var i=l(t);i.next==e&&null!=i.next||(null!=i.parent&&i.parent.removeChild(n),n.insertBefore(i,e||void 0))}))},e}(o.default);function l(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=s},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),o=n(31),a=n(17),s=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new o.default(n.domNode),n}return i(e,t),e.formats=function(t){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=s.query(t);n instanceof r.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var i=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(i),i},e.prototype.update=function(e,n){var i=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===i.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,i){var r=t.prototype.wrap.call(this,n,i);return r instanceof e&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},e}(a.default);e.default=l},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(30),o=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=o.Scope.INLINE_BLOT,e}(r.default);e.default=a},function(t,e,n){var i=n(11),r=n(3),o={attributes:{compose:function(t,e,n){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var i=r(!0,{},e);for(var o in n||(i=Object.keys(i).reduce((function(t,e){return null!=i[e]&&(t[e]=i[e]),t}),{})),t)void 0!==t[o]&&void 0===e[o]&&(i[o]=t[o]);return Object.keys(i).length>0?i:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return i(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!==typeof t)return e;if("object"===typeof e){if(!n)return e;var i=Object.keys(e).reduce((function(n,i){return void 0===t[i]&&(n[i]=e[i]),n}),{});return Object.keys(i).length>0?i:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"===typeof t["delete"]?t["delete"]:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,i=o.length(e);if(t>=i-n?(t=i-n,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e["delete"])return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"===typeof e.retain?r.retain=t:"string"===typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(i)}return[]},t.exports=o},function(t,n){var i=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var n,i,r;try{n=Map}catch(h){n=function(){}}try{i=Set}catch(h){i=function(){}}try{r=Promise}catch(h){r=function(){}}function o(a,s,l,u,h){"object"===typeof s&&(l=s.depth,u=s.prototype,h=s.includeNonEnumerable,s=s.circular);var f=[],d=[],p="undefined"!=typeof e;function g(a,l){if(null===a)return null;if(0===l)return a;var v,m;if("object"!=typeof a)return a;if(t(a,n))v=new n;else if(t(a,i))v=new i;else if(t(a,r))v=new r((function(t,e){a.then((function(e){t(g(e,l-1))}),(function(t){e(g(t,l-1))}))}));else if(o.__isArray(a))v=[];else if(o.__isRegExp(a))v=new RegExp(a.source,c(a)),a.lastIndex&&(v.lastIndex=a.lastIndex);else if(o.__isDate(a))v=new Date(a.getTime());else{if(p&&e.isBuffer(a))return v=e.allocUnsafe?e.allocUnsafe(a.length):new e(a.length),a.copy(v),v;t(a,Error)?v=Object.create(a):"undefined"==typeof u?(m=Object.getPrototypeOf(a),v=Object.create(m)):(v=Object.create(u),m=u)}if(s){var y=f.indexOf(a);if(-1!=y)return d[y];f.push(a),d.push(v)}for(var b in t(a,n)&&a.forEach((function(t,e){var n=g(e,l-1),i=g(t,l-1);v.set(n,i)})),t(a,i)&&a.forEach((function(t){var e=g(t,l-1);v.add(e)})),a){var _;m&&(_=Object.getOwnPropertyDescriptor(m,b)),_&&null==_.set||(v[b]=g(a[b],l-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(a);for(b=0;b<x.length;b++){var w=x[b],S=Object.getOwnPropertyDescriptor(a,w);(!S||S.enumerable||h)&&(v[w]=g(a[w],l-1),S.enumerable||Object.defineProperty(v,w,{enumerable:!1}))}}if(h){var C=Object.getOwnPropertyNames(a);for(b=0;b<C.length;b++){var T=C[b];S=Object.getOwnPropertyDescriptor(a,T);S&&S.enumerable||(v[T]=g(a[T],l-1),Object.defineProperty(v,T,{enumerable:!1}))}}return v}return"undefined"==typeof s&&(s=!0),"undefined"==typeof l&&(l=1/0),g(a,l)}function a(t){return Object.prototype.toString.call(t)}function s(t){return"object"===typeof t&&"[object Date]"===a(t)}function l(t){return"object"===typeof t&&"[object Array]"===a(t)}function u(t){return"object"===typeof t&&"[object RegExp]"===a(t)}function c(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return o.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},o.__objToStr=a,o.__isDate=s,o.__isArray=l,o.__isRegExp=u,o.__getRegExpFlags=c,o}();"object"===typeof t&&t.exports&&(t.exports=i)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},a=n(0),s=y(a),l=n(8),u=y(l),c=n(4),h=y(c),f=n(16),d=y(f),p=n(13),g=y(p),v=n(25),m=y(v);function y(t){return t&&t.__esModule?t:{default:t}}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function x(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function w(t){return t instanceof h.default||t instanceof c.BlockEmbed}var S=function(t){function e(t,n){b(this,e);var i=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.emitter=n.emitter,Array.isArray(n.whitelist)&&(i.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),i.domNode.addEventListener("DOMNodeInserted",(function(){})),i.optimize(),i.enable(),i}return x(e,t),r(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),a=i(r,2),s=a[0],l=a[1],u=this.line(t+n),h=i(u,1),f=h[0];if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=f&&s!==f&&l>0){if(s instanceof c.BlockEmbed||f instanceof c.BlockEmbed)return void this.optimize();if(s instanceof g.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1),s===f))return void this.optimize()}else if(f instanceof g.default){var v=f.newlineIndex(0);v>-1&&f.split(v+1)}var m=f.children.head instanceof d.default?null:f.children.head;s.moveChildren(f,m),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,i,r){(null==this.whitelist||this.whitelist[i])&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,i,r),this.optimize())}},{key:"insertAt",value:function(t,n,i){if(null==i||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==i||null==s.default.query(n,s.default.Scope.BLOCK)){var r=s.default.create(this.statics.defaultChild);this.appendChild(r),null==i&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,i)}else{var a=s.default.create(n,i);this.appendChild(a)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,i);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===s.default.Scope.INLINE_BLOT){var i=s.default.create(this.statics.defaultChild);i.appendChild(t),t=i}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(w,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,i){var r=[],o=i;return e.children.forEachAt(n,i,(function(e,n,i){w(e)?r.push(e):e instanceof s.default.Container&&(r=r.concat(t(e,n,o))),o-=i})),r};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=u.default.sources.USER;"string"===typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,n,t),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,n,t)}}}]),e}(s.default.Scroll);S.blotName="scroll",S.className="ql-editor",S.tagName="DIV",S.defaultChild="block",S.allowedChildren=[h.default,c.BlockEmbed,m.default],e.default=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=n(21),s=C(a),l=n(11),u=C(l),c=n(3),h=C(c),f=n(2),d=C(f),p=n(20),g=C(p),v=n(0),m=C(v),y=n(5),b=C(y),_=n(10),x=C(_),w=n(9),S=C(w);function C(t){return t&&t.__esModule?t:{default:t}}function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function M(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var k=(0,x.default)("quill:keyboard"),I=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",E=function(t){function e(t,n){A(this,e);var i=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.bindings={},Object.keys(i.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist["list"])&&i.options.bindings[e]&&i.addBinding(i.options.bindings[e])})),i.addBinding({key:e.keys.ENTER,shiftKey:null},N),i.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(i.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},D),i.addBinding({key:e.keys.DELETE},{collapsed:!0},L)):(i.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},D),i.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},L)),i.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},R),i.addBinding({key:e.keys.DELETE},{collapsed:!1},R),i.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},D),i.listen(),i}return M(e,t),o(e,null,[{key:"match",value:function(t,e){return e=F(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),o(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=F(t);if(null==i||null==i.key)return k.warn("Attempted to add invalid keyboard binding",i);"function"===typeof e&&(e={handler:e}),"function"===typeof n&&(n={handler:n}),i=(0,h.default)(i,e,n),this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(t.bindings[o]||[]).filter((function(t){return e.match(n,t)}));if(0!==a.length){var s=t.quill.getSelection();if(null!=s&&t.quill.hasFocus()){var l=t.quill.getLine(s.index),c=r(l,2),h=c[0],f=c[1],d=t.quill.getLeaf(s.index),p=r(d,2),g=p[0],v=p[1],y=0===s.length?[g,v]:t.quill.getLeaf(s.index+s.length),b=r(y,2),_=b[0],x=b[1],w=g instanceof m.default.Text?g.value().slice(0,v):"",S=_ instanceof m.default.Text?_.value().slice(x):"",C={collapsed:0===s.length,empty:0===s.length&&h.length()<=1,format:t.quill.getFormat(s),offset:f,prefix:w,suffix:S},T=a.some((function(e){if(null!=e.collapsed&&e.collapsed!==C.collapsed)return!1;if(null!=e.empty&&e.empty!==C.empty)return!1;if(null!=e.offset&&e.offset!==C.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==C.format[t]})))return!1}else if("object"===i(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=C.format[t]:!1===e.format[t]?null==C.format[t]:(0,u.default)(e.format[t],C.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(C.prefix))&&(!(null!=e.suffix&&!e.suffix.test(C.suffix))&&!0!==e.handler.call(t,s,C))}));T&&n.preventDefault()}}}}))}}]),e}(S.default);function P(t,e){var n,i=t===E.keys.LEFT?"prefix":"suffix";return n={key:t,shiftKey:e,altKey:null},T(n,i,/^$/),T(n,"handler",(function(n){var i=n.index;t===E.keys.RIGHT&&(i+=n.length+1);var o=this.quill.getLeaf(i),a=r(o,1),s=a[0];return!(s instanceof m.default.Embed)||(t===E.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index-1,b.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index+n.length+1,b.default.sources.USER),!1)})),n}function D(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),i=r(n,1),o=i[0],a={};if(0===e.offset){var s=this.quill.getLine(t.index-1),l=r(s,1),u=l[0];if(null!=u&&u.length()>1){var c=o.formats(),h=this.quill.getFormat(t.index-1,1);a=g.default.attributes.diff(c,h)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,b.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index-f,f,a,b.default.sources.USER),this.quill.focus()}}function L(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var i={},o=0,a=this.quill.getLine(t.index),s=r(a,1),l=s[0];if(e.offset>=l.length()-1){var u=this.quill.getLine(t.index+1),c=r(u,1),h=c[0];if(h){var f=l.formats(),d=this.quill.getFormat(t.index,1);i=g.default.attributes.diff(f,d)||{},o=h.length()}}this.quill.deleteText(t.index,n,b.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index+o-1,n,i,b.default.sources.USER)}}function R(t){var e=this.quill.getLines(t),n={};if(e.length>1){var i=e[0].formats(),r=e[e.length-1].formats();n=g.default.attributes.diff(r,i)||{}}this.quill.deleteText(t,b.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,b.default.sources.USER),this.quill.setSelection(t.index,b.default.sources.SILENT),this.quill.focus()}function N(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var i=Object.keys(e.format).reduce((function(t,n){return m.default.query(n,m.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",i,b.default.sources.USER),this.quill.setSelection(t.index+1,b.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==i[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],b.default.sources.USER))}))}function j(t){return{key:E.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=m.default.query("code-block"),i=e.index,o=e.length,a=this.quill.scroll.descendant(n,i),s=r(a,2),l=s[0],u=s[1];if(null!=l){var c=this.quill.getIndex(l),h=l.newlineIndex(u,!0)+1,f=l.newlineIndex(c+u+o),d=l.domNode.textContent.slice(h,f).split("\n");u=0,d.forEach((function(e,r){t?(l.insertAt(h+u,n.TAB),u+=n.TAB.length,0===r?i+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(h+u,n.TAB.length),u-=n.TAB.length,0===r?i-=n.TAB.length:o-=n.TAB.length),u+=e.length+1})),this.quill.update(b.default.sources.USER),this.quill.setSelection(i,o,b.default.sources.SILENT)}}}}function B(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],b.default.sources.USER)}}}function F(t){if("string"===typeof t||"number"===typeof t)return F({key:t});if("object"===("undefined"===typeof t?"undefined":i(t))&&(t=(0,s.default)(t,!1)),"string"===typeof t.key)if(null!=E.keys[t.key.toUpperCase()])t.key=E.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[I]=t.shortKey,delete t.shortKey),t}E.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},E.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:E.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",b.default.sources.USER)}},outdent:{key:E.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",b.default.sources.USER)}},"outdent backspace":{key:E.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",b.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,b.default.sources.USER)}},"indent code-block":j(!0),"outdent code-block":j(!1),"remove tab":{key:E.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,b.default.sources.USER)}},tab:{key:E.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new d.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,b.default.sources.SILENT)}},"list empty enter":{key:E.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,b.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,b.default.sources.USER)}},"checklist enter":{key:E.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),i=n[0],o=n[1],a=(0,h.default)({},i.formats(),{list:"checked"}),s=(new d.default).retain(t.index).insert("\n",a).retain(i.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(t.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:E.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),i=r(n,2),o=i[0],a=i[1],s=(new d.default).retain(t.index).insert("\n",e.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(t.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,i=this.quill.getLine(t.index),o=r(i,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",b.default.sources.USER),this.quill.history.cutoff();var u=(new d.default).retain(t.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,b.default.sources.SILENT)}},"code exit":{key:E.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),i=n[0],o=n[1],a=(new d.default).retain(t.index+i.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,b.default.sources.USER)}},"embed left":P(E.keys.LEFT,!1),"embed left shift":P(E.keys.LEFT,!0),"embed right":P(E.keys.RIGHT,!1),"embed right shift":P(E.keys.RIGHT,!0)}},e.default=E,e.SHORTKEY=I},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=n(0),s=c(a),l=n(7),u=c(l);function c(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(t,n){h(this,e);var i=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.selection=n,i.textNode=document.createTextNode(e.CONTENTS),i.domNode.appendChild(i.textNode),i._length=0,i}return d(e,t),o(e,null,[{key:"value",value:function(){}}]),o(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);var i=this,o=0;while(null!=i&&i.statics.scope!==s.default.Scope.BLOCK_BLOT)o+=i.offset(i.parent),i=i.parent;null!=i&&(this._length=e.CONTENTS.length,i.optimize(),i.formatAt(o,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,o=void 0,a=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var l=[t,n.start.offset,n.end.offset];r=l[0],o=l[1],a=l[2]}while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var c=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof u.default?(r=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=e.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(s.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var h=[o,a].map((function(t){return Math.max(0,Math.min(r.data.length,t-1))})),f=i(h,2);return o=f[0],a=f[1],{startNode:r,startOffset:o,endNode:r,endOffset:a}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var i=this.restore();i&&(e.range=i)}}},{key:"value",value:function(){return""}}]),e}(s.default.Embed);p.blotName="cursor",p.className="ql-cursor",p.tagName="span",p.CONTENTS="\ufeff",e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=s(i),o=n(4),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),e}(r.default.Container);h.allowedChildren=[a.default,o.BlockEmbed,h],e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),i(e,[{key:"value",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(a.default.Attributor.Style),f=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),d=new h("color","color",{scope:a.default.Scope.INLINE});e.ColorAttributor=h,e.ColorClass=f,e.ColorStyle=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(6),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),i(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return f(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(a.default);function f(t,e){var n=document.createElement("a");n.href=t;var i=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(i)>-1}h.blotName="link",h.tagName="A",h.SANITIZED_URL="about:blank",h.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=h,e.sanitize=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(23),a=u(o),s=n(107),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var h=0;function f(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var d=function(){function t(e){var n=this;c(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:n.togglePicker();break;case a.default.keys.ESCAPE:n.escape(),t.preventDefault();break;default:}})),this.select.addEventListener("change",this.update.bind(this))}return r(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),f(this.label,"aria-expanded"),f(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case a.default.keys.ESCAPE:e.escape(),t.preventDefault();break;default:}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=l.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+h,h+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var i=t.buildItem(n);e.appendChild(i),!0===n.selected&&t.selectItem(i)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":i(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=k(i),o=n(5),a=k(o),s=n(4),l=k(s),u=n(16),c=k(u),h=n(25),f=k(h),d=n(24),p=k(d),g=n(35),v=k(g),m=n(6),y=k(m),b=n(22),_=k(b),x=n(7),w=k(x),S=n(55),C=k(S),T=n(42),A=k(T),O=n(23),M=k(O);function k(t){return t&&t.__esModule?t:{default:t}}a.default.register({"blots/block":l.default,"blots/block/embed":s.BlockEmbed,"blots/break":c.default,"blots/container":f.default,"blots/cursor":p.default,"blots/embed":v.default,"blots/inline":y.default,"blots/scroll":_.default,"blots/text":w.default,"modules/clipboard":C.default,"modules/history":A.default,"modules/keyboard":M.default}),r.default.register(l.default,c.default,p.default,y.default,_.default,w.default),e.default=a.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=function(){function t(t){this.domNode=t,this.domNode[i.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new i.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return i.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[i.DATA_KEY]},t.prototype.deleteAt=function(t,e){var n=this.isolate(t,e);n.remove()},t.prototype.formatAt=function(t,e,n,r){var o=this.isolate(t,e);if(null!=i.query(n,i.Scope.BLOT)&&r)o.wrap(n,r);else if(null!=i.query(n,i.Scope.ATTRIBUTE)){var a=i.create(this.statics.scope);o.wrap(a),a.format(n,r)}},t.prototype.insertAt=function(t,e,n){var r=null==n?i.create("text",e):i.create(e,n),o=this.split(t);this.parent.insertBefore(r,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[i.DATA_KEY]&&delete this.domNode[i.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"===typeof t?i.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"===typeof t?i.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),r=n(32),o=n(33),a=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=i.default.keys(this.domNode),n=r.default.keys(this.domNode),s=o.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=a.query(e,a.Scope.ATTRIBUTE);n instanceof i.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var i=e.attributes[n].value(e.domNode);t.format(n,i)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);function o(t,e){var n=t.getAttribute("class")||"";return n.split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){var e=o(t,this.keyName);e.forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=o(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(r.default);e.default=a},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);function o(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){var e=t.split(":");return e[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[o(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[o(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[o(this.keyName)];return this.canAdd(t,e)?e:""},e}(r.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e,n){r(this,t),this.quill=e,this.options=n,this.modules={}}return i(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();o.DEFAULTS={modules:{}},o.themes={default:o},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=u(o),s=n(7),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d="\ufeff",p=function(t){function e(t){c(this,e);var n=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(d),n.rightGuard=document.createTextNode(d),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return f(e,t),i(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,i=t.data.split(d).join("");if(t===this.leftGuard)if(this.prev instanceof l.default){var r=this.prev.length();this.prev.insertAt(r,i),e={startNode:this.prev.domNode,startOffset:r+i.length}}else n=document.createTextNode(i),this.parent.insertBefore(a.default.create(n),this),e={startNode:n,startOffset:i.length};else t===this.rightGuard&&(this.next instanceof l.default?(this.next.insertAt(0,i),e={startNode:this.next.domNode,startOffset:i.length}):(n=document.createTextNode(i),this.parent.insertBefore(a.default.create(n),this.next),e={startNode:n,startOffset:i.length}));return t.data=d,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var i=n.restore(t.target);i&&(e.range=i)}}))}}]),e}(a.default.Embed);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var i=n(0),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}var a={scope:r.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new r.default.Attributor.Attribute("align","align",a),l=new r.default.Attributor.Class("align","ql-align",a),u=new r.default.Attributor.Style("align","text-align",a);e.AlignAttribute=s,e.AlignClass=l,e.AlignStyle=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var i=n(0),r=a(i),o=n(26);function a(t){return t&&t.__esModule?t:{default:t}}var s=new r.default.Attributor.Class("background","ql-bg",{scope:r.default.Scope.INLINE}),l=new o.ColorAttributor("background","background-color",{scope:r.default.Scope.INLINE});e.BackgroundClass=s,e.BackgroundStyle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var i=n(0),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}var a={scope:r.default.Scope.BLOCK,whitelist:["rtl"]},s=new r.default.Attributor.Attribute("direction","dir",a),l=new r.default.Attributor.Class("direction","ql-direction",a),u=new r.default.Attributor.Style("direction","direction",a);e.DirectionAttribute=s,e.DirectionClass=l,e.DirectionStyle=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},f=new a.default.Attributor.Class("font","ql-font",h),d=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),i(e,[{key:"value",value:function(t){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(a.default.Attributor.Style),p=new d("font","font-family",h);e.FontStyle=p,e.FontClass=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var i=n(0),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}var a=new r.default.Attributor.Class("size","ql-size",{scope:r.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new r.default.Attributor.Style("size","font-size",{scope:r.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=a,e.SizeStyle=s},function(t,e,n){"use strict";t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n(0),o=c(r),a=n(5),s=c(a),l=n(9),u=c(l);function c(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(t,n){h(this,e);var i=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.lastRecorded=0,i.ignoreChange=!1,i.clear(),i.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e,n,r){t!==s.default.events.TEXT_CHANGE||i.ignoreChange||(i.options.userOnly&&r!==s.default.sources.USER?i.transform(e):i.record(e,n))})),i.quill.keyboard.addBinding({key:"Z",shortKey:!0},i.undo.bind(i)),i.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},i.redo.bind(i)),/Win/i.test(navigator.platform)&&i.quill.keyboard.addBinding({key:"Y",shortKey:!0},i.redo.bind(i)),i}return d(e,t),i(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],s.default.sources.USER),this.ignoreChange=!1;var i=v(n[t]);this.quill.setSelection(i)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),i=Date.now();if(this.lastRecorded+this.options.delay>i&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=i;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(u.default);function g(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=o.default.query(t,o.default.Scope.BLOCK)})))}function v(t){var e=t.reduce((function(t,e){return t+=e.delete||0,t}),0),n=t.length()-e;return g(t)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=p,e.getLastChangeIndex=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(3),a=S(o),s=n(2),l=S(s),u=n(8),c=S(u),h=n(23),f=S(h),d=n(34),p=S(d),g=n(59),v=S(g),m=n(60),y=S(m),b=n(28),_=S(b),x=n(61),w=S(x);function S(t){return t&&t.__esModule?t:{default:t}}function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function A(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var O=[!1,"center","right","justify"],M=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],k=[!1,"serif","monospace"],I=["1","2","3",!1],E=["small",!1,"large","huge"],P=function(t){function e(t,n){C(this,e);var i=T(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n)),r=function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==i.tooltip||i.tooltip.root.contains(n.target)||document.activeElement===i.tooltip.textbox||i.quill.hasFocus()||i.tooltip.hide(),null!=i.pickers&&i.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))};return t.emitter.listenDOM("click",document.body,r),i}return A(e,t),i(e,[{key:"addModule",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){var n=t.getAttribute("class")||"";n.split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n]["rtl"];else if("string"===typeof e[n])t.innerHTML=e[n];else{var i=t.value||"";null!=i&&e[n][i]&&(t.innerHTML=e[n][i])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&R(t,O),new y.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&R(t,M,"background"===n?"#ffffff":"#000000"),new v.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?R(t,k):t.classList.contains("ql-header")?R(t,I):t.classList.contains("ql-size")&&R(t,E)),new _.default(t)}));var i=function(){n.pickers.forEach((function(t){t.update()}))};this.quill.on(c.default.events.EDITOR_CHANGE,i)}}]),e}(p.default);P.DEFAULTS=(0,a.default)(!0,{},p.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var i=t.quill.getSelection(!0);t.quill.updateContents((new l.default).retain(i.index).delete(i.length).insert({image:n.target.result}),c.default.sources.USER),t.quill.setSelection(i.index+1,c.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var D=function(t){function e(t,n){C(this,e);var i=T(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.textbox=i.root.querySelector('input[type="text"]'),i.listen(),i}return A(e,t),i(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){f.default.match(e,"enter")?(t.save(),e.preventDefault()):f.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,c.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=L(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var i=n.index+n.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),t,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",c.default.sources.USER),this.quill.setSelection(i+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),e}(w.default);function L(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function R(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var i=document.createElement("option");e===n?i.setAttribute("selected","selected"):i.setAttribute("value",e),t.appendChild(i)}))}e.BaseTooltip=D,e.default=P},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){var e,n=this.iterator();while(e=n())if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){var e=0,n=this.head;while(null!=n){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);var n,i=this.iterator();while(n=i()){var r=n.length();if(t<r||e&&t===r&&(null==n.next||0!==n.next.length()))return[n,t];t-=r}return[null,0]},t.prototype.forEach=function(t){var e,n=this.iterator();while(e=n())t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0)){var i,r=this.find(t),o=r[0],a=r[1],s=t-a,l=this.iterator(o);while((i=l())&&s<t+e){var u=i.length();t>s?n(i,t-s,Math.min(e,s+u-t)):n(i,0,Math.min(u,t+e-s)),s+=u}}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){var n,i=this.iterator();while(n=i())e=t(e,n);return e},t}();e.default=i},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=100,l=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,a),n.attach(),n}return i(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,i,r){this.update(),t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.insertAt=function(e,n,i){this.update(),t.prototype.insertAt.call(this,e,n,i)},e.prototype.optimize=function(e,n){var i=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)e.push(a.pop());for(var l=function(t,e){void 0===e&&(e=!0),null!=t&&t!==i&&null!=t.domNode.parentNode&&(null==t.domNode[o.DATA_KEY].mutations&&(t.domNode[o.DATA_KEY].mutations=[]),e&&l(t.parent))},u=function(t){null!=t.domNode[o.DATA_KEY]&&null!=t.domNode[o.DATA_KEY].mutations&&(t instanceof r.default&&t.children.forEach(u),t.optimize(n))},c=e,h=0;c.length>0;h+=1){if(h>=s)throw new Error("[Parchment] Maximum optimize iterations reached");c.forEach((function(t){var e=o.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(l(o.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=o.find(t,!1);l(e,!1),e instanceof r.default&&e.children.forEach((function(t){l(t,!1)}))}))):"attributes"===t.type&&l(e.prev)),l(e))})),this.children.forEach(u),c=[].slice.call(this.observer.takeRecords()),a=c.slice();while(a.length>0)e.push(a.pop())}},e.prototype.update=function(e,n){var i=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map((function(t){var e=o.find(t.target,!0);return null==e?null:null==e.domNode[o.DATA_KEY].mutations?(e.domNode[o.DATA_KEY].mutations=[t],e):(e.domNode[o.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==i&&null!=t.domNode[o.DATA_KEY]&&t.update(t.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=o.Scope.BLOCK_BLOT,e.tagName="DIV",e}(r.default);e.default=l},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=n(1);function a(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,i){var o=this;n!==this.statics.blotName||i?t.prototype.format.call(this,n,i):(this.children.forEach((function(t){t instanceof r.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,i,r){if(null!=this.formats()[i]||o.query(i,o.Scope.ATTRIBUTE)){var a=this.isolate(e,n);a.format(i,r)}else t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var i=this.formats();if(0===Object.keys(i).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&a(i,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=o.Scope.INLINE_BLOT,e.tagName="SPAN",e}(r.default);e.default=s},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(n){var i=o.query(e.blotName).tagName;if(n.tagName!==i)return t.formats.call(this,n)},e.prototype.format=function(n,i){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||i?t.prototype.format.call(this,n,i):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,i,r){null!=o.query(i,o.Scope.BLOCK)?this.format(i,r):t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.insertAt=function(e,n,i){if(null==i||null!=o.query(n,o.Scope.INLINE))t.prototype.insertAt.call(this,e,n,i);else{var r=this.split(e),a=o.create(n,i);r.parent.insertBefore(a,r)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=o.Scope.BLOCK_BLOT,e.tagName="P",e}(r.default);e.default=a},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,i,r){0===e&&n===this.length()?this.format(i,r):t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(r.default);e.default=o},function(t,e,n){"use strict";var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=n(1),a=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return i(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e["normalize"]&&(e=e["normalize"]()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,i){null==i?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,i)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=o.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=o.Scope.INLINE_BLOT,e}(r.default);e.default=a},function(t,e,n){"use strict";var i=document.createElement("div");if(i.classList.toggle("test-class",!1),i.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var i=n.indexOf(t,e);return-1!==i&&i===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),i=n.length>>>0,r=arguments[1],o=0;o<i;o++)if(e=n[o],t.call(r,e,o,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1,i=1,r=0;function o(t,e,n){if(t==e)return t?[[r,t]]:[];(n<0||t.length<n)&&(n=null);var i=u(t,e),o=t.substring(0,i);t=t.substring(i),e=e.substring(i),i=c(t,e);var s=t.substring(t.length-i);t=t.substring(0,t.length-i),e=e.substring(0,e.length-i);var l=a(t,e);return o&&l.unshift([r,o]),s&&l.push([r,s]),f(l),null!=n&&(l=g(l,n)),l=v(l),l}function a(t,e){var a;if(!t)return[[i,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,u=t.length>e.length?e:t,c=l.indexOf(u);if(-1!=c)return a=[[i,l.substring(0,c)],[r,u],[i,l.substring(c+u.length)]],t.length>e.length&&(a[0][0]=a[2][0]=n),a;if(1==u.length)return[[n,t],[i,e]];var f=h(t,e);if(f){var d=f[0],p=f[1],g=f[2],v=f[3],m=f[4],y=o(d,g),b=o(p,v);return y.concat([[r,m]],b)}return s(t,e)}function s(t,e){for(var r=t.length,o=e.length,a=Math.ceil((r+o)/2),s=a,u=2*a,c=new Array(u),h=new Array(u),f=0;f<u;f++)c[f]=-1,h[f]=-1;c[s+1]=0,h[s+1]=0;for(var d=r-o,p=d%2!=0,g=0,v=0,m=0,y=0,b=0;b<a;b++){for(var _=-b+g;_<=b-v;_+=2){var x=s+_;O=_==-b||_!=b&&c[x-1]<c[x+1]?c[x+1]:c[x-1]+1;var w=O-_;while(O<r&&w<o&&t.charAt(O)==e.charAt(w))O++,w++;if(c[x]=O,O>r)v+=2;else if(w>o)g+=2;else if(p){var S=s+d-_;if(S>=0&&S<u&&-1!=h[S]){var C=r-h[S];if(O>=C)return l(t,e,O,w)}}}for(var T=-b+m;T<=b-y;T+=2){S=s+T;C=T==-b||T!=b&&h[S-1]<h[S+1]?h[S+1]:h[S-1]+1;var A=C-T;while(C<r&&A<o&&t.charAt(r-C-1)==e.charAt(o-A-1))C++,A++;if(h[S]=C,C>r)y+=2;else if(A>o)m+=2;else if(!p){x=s+d-T;if(x>=0&&x<u&&-1!=c[x]){var O=c[x];w=s+O-x;if(C=r-C,O>=C)return l(t,e,O,w)}}}}return[[n,t],[i,e]]}function l(t,e,n,i){var r=t.substring(0,n),a=e.substring(0,i),s=t.substring(n),l=e.substring(i),u=o(r,a),c=o(s,l);return u.concat(c)}function u(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var n=0,i=Math.min(t.length,e.length),r=i,o=0;while(n<r)t.substring(o,r)==e.substring(o,r)?(n=r,o=n):i=r,r=Math.floor((i-n)/2+n);return r}function c(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;var n=0,i=Math.min(t.length,e.length),r=i,o=0;while(n<r)t.substring(t.length-r,t.length-o)==e.substring(e.length-r,e.length-o)?(n=r,o=n):i=r,r=Math.floor((i-n)/2+n);return r}function h(t,e){var n=t.length>e.length?t:e,i=t.length>e.length?e:t;if(n.length<4||2*i.length<n.length)return null;function r(t,e,n){var i,r,o,a,s=t.substring(n,n+Math.floor(t.length/4)),l=-1,h="";while(-1!=(l=e.indexOf(s,l+1))){var f=u(t.substring(n),e.substring(l)),d=c(t.substring(0,n),e.substring(0,l));h.length<d+f&&(h=e.substring(l-d,l)+e.substring(l,l+f),i=t.substring(0,n-d),r=t.substring(n+f),o=e.substring(0,l-d),a=e.substring(l+f))}return 2*h.length>=t.length?[i,r,o,a,h]:null}var o,a,s,l,h,f=r(n,i,Math.ceil(n.length/4)),d=r(n,i,Math.ceil(n.length/2));if(!f&&!d)return null;o=d?f&&f[4].length>d[4].length?f:d:f,t.length>e.length?(a=o[0],s=o[1],l=o[2],h=o[3]):(l=o[0],h=o[1],a=o[2],s=o[3]);var p=o[4];return[a,s,l,h,p]}function f(t){t.push([r,""]);var e,o=0,a=0,s=0,l="",h="";while(o<t.length)switch(t[o][0]){case i:s++,h+=t[o][1],o++;break;case n:a++,l+=t[o][1],o++;break;case r:a+s>1?(0!==a&&0!==s&&(e=u(h,l),0!==e&&(o-a-s>0&&t[o-a-s-1][0]==r?t[o-a-s-1][1]+=h.substring(0,e):(t.splice(0,0,[r,h.substring(0,e)]),o++),h=h.substring(e),l=l.substring(e)),e=c(h,l),0!==e&&(t[o][1]=h.substring(h.length-e)+t[o][1],h=h.substring(0,h.length-e),l=l.substring(0,l.length-e))),0===a?t.splice(o-s,a+s,[i,h]):0===s?t.splice(o-a,a+s,[n,l]):t.splice(o-a-s,a+s,[n,l],[i,h]),o=o-a-s+(a?1:0)+(s?1:0)+1):0!==o&&t[o-1][0]==r?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,s=0,a=0,l="",h="";break}""===t[t.length-1][1]&&t.pop();var d=!1;o=1;while(o<t.length-1)t[o-1][0]==r&&t[o+1][0]==r&&(t[o][1].substring(t[o][1].length-t[o-1][1].length)==t[o-1][1]?(t[o][1]=t[o-1][1]+t[o][1].substring(0,t[o][1].length-t[o-1][1].length),t[o+1][1]=t[o-1][1]+t[o+1][1],t.splice(o-1,1),d=!0):t[o][1].substring(0,t[o+1][1].length)==t[o+1][1]&&(t[o-1][1]+=t[o+1][1],t[o][1]=t[o][1].substring(t[o+1][1].length)+t[o+1][1],t.splice(o+1,1),d=!0)),o++;d&&f(t)}var d=o;function p(t,e){if(0===e)return[r,t];for(var i=0,o=0;o<t.length;o++){var a=t[o];if(a[0]===n||a[0]===r){var s=i+a[1].length;if(e===s)return[o+1,t];if(e<s){t=t.slice();var l=e-i,u=[a[0],a[1].slice(0,l)],c=[a[0],a[1].slice(l)];return t.splice(o,1,u,c),[o+1,t]}i=s}}throw new Error("cursor_pos is out of bounds!")}function g(t,e){var n=p(t,e),i=n[1],o=n[0],a=i[o],s=i[o+1];if(null==a)return t;if(a[0]!==r)return t;if(null!=s&&a[1]+s[1]===s[1]+a[1])return i.splice(o,2,s,a),m(i,o,2);if(null!=s&&0===s[1].indexOf(a[1])){i.splice(o,2,[s[0],a[1]],[0,a[1]]);var l=s[1].slice(a[1].length);return l.length>0&&i.splice(o+2,0,[s[0],l]),m(i,o,3)}return t}function v(t){for(var e=!1,o=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},a=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},s=2;s<t.length;s+=1)t[s-2][0]===r&&a(t[s-2][1])&&t[s-1][0]===n&&o(t[s-1][1])&&t[s][0]===i&&o(t[s][1])&&(e=!0,t[s-1][1]=t[s-2][1].slice(-1)+t[s-1][1],t[s][1]=t[s-2][1].slice(-1)+t[s][1],t[s-2][1]=t[s-2][1].slice(0,-1));if(!e)return t;var l=[];for(s=0;s<t.length;s+=1)t[s][1].length>0&&l.push(t[s]);return l}function m(t,e,n){for(var i=e+n-1;i>=0&&i>=e-1;i--)if(i+1<t.length){var r=t[i],o=t[i+1];r[0]===o[1]&&t.splice(i,2,[r[0],r[1]+o[1]])}return t}d.INSERT=i,d.DELETE=n,d.EQUAL=r,t.exports=d},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}e=t.exports="function"===typeof Object.keys?Object.keys:n,e.shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function i(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}e=t.exports=n?i:r,e.supported=i,e.unsupported=r},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function r(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(i=!1)),a.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},a.prototype.listeners=function(t,e){var n=i?i+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,a=r.length,s=new Array(a);o<a;o++)s[o]=r[o].fn;return s},a.prototype.emit=function(t,e,n,r,o,a){var s=i?i+t:t;if(!this._events[s])return!1;var l,u,c=this._events[s],h=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),h){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,r),!0;case 5:return c.fn.call(c.context,e,n,r,o),!0;case 6:return c.fn.call(c.context,e,n,r,o,a),!0}for(u=1,l=new Array(h-1);u<h;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var f,d=c.length;for(u=0;u<d;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),h){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,r);break;default:if(!l)for(f=1,l=new Array(h-1);f<h;f++)l[f-1]=arguments[f];c[u].fn.apply(c[u].context,l)}}return!0},a.prototype.on=function(t,e,n){var r=new o(e,n||this),a=i?i+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],r]:this._events[a].push(r):(this._events[a]=r,this._eventsCount++),this},a.prototype.once=function(t,e,n){var r=new o(e,n||this,!0),a=i?i+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],r]:this._events[a].push(r):(this._events[a]=r,this._eventsCount++),this},a.prototype.removeListener=function(t,e,n,o){var a=i?i+t:t;if(!this._events[a])return this;if(!e)return 0===--this._eventsCount?this._events=new r:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==e||o&&!s.once||n&&s.context!==n||(0===--this._eventsCount?this._events=new r:delete this._events[a]);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==e||o&&!s[l].once||n&&s[l].context!==n)&&u.push(s[l]);u.length?this._events[a]=1===u.length?u[0]:u:0===--this._eventsCount?this._events=new r:delete this._events[a]}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=i,a.EventEmitter=a,"undefined"!==typeof t&&(t.exports=a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=n(3),s=A(a),l=n(2),u=A(l),c=n(0),h=A(c),f=n(5),d=A(f),p=n(10),g=A(p),v=n(9),m=A(v),y=n(36),b=n(37),_=n(13),x=A(_),w=n(26),S=n(38),C=n(39),T=n(40);function A(t){return t&&t.__esModule?t:{default:t}}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function I(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var E=(0,g.default)("quill:clipboard"),P="__ql-matcher",D=[[Node.TEXT_NODE,K],[Node.TEXT_NODE,X],["br",q],[Node.ELEMENT_NODE,X],[Node.ELEMENT_NODE,W],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,Z],["li",Y],["b",H.bind(H,"bold")],["i",H.bind(H,"italic")],["style",U]],L=[y.AlignAttribute,S.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),R=[y.AlignStyle,b.BackgroundStyle,w.ColorStyle,S.DirectionStyle,C.FontStyle,T.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),N=function(t){function e(t,n){M(this,e);var i=k(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.quill.root.addEventListener("paste",i.onPaste.bind(i)),i.container=i.quill.addContainer("ql-clipboard"),i.container.setAttribute("contenteditable",!0),i.container.setAttribute("tabindex",-1),i.matchers=[],D.concat(i.options.matchers).forEach((function(t){var e=r(t,2),o=e[0],a=e[1];(n.matchVisual||a!==$)&&i.addMatcher(o,a)})),i}return I(e,t),o(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"===typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[x.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new u.default).insert(n,O({},x.default.blotName,e[x.default.blotName]))}var i=this.prepareMatching(),o=r(i,2),a=o[0],s=o[1],l=V(this.container,a,s);return F(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new u.default).retain(l.length()-1).delete(1))),E.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,d.default.sources.SILENT);else{var i=this.convert(e);this.quill.updateContents((new u.default).retain(t).concat(i),n),this.quill.setSelection(t+i.length(),d.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),i=(new u.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(d.default.sources.SILENT),setTimeout((function(){i=i.concat(e.convert()).delete(n.length),e.quill.updateContents(i,d.default.sources.USER),e.quill.setSelection(i.length()-n.length,d.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(i){var o=r(i,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(a),(function(t){t[P]=t[P]||[],t[P].push(s)}));break}})),[e,n]}}]),e}(m.default);function j(t,e,n){return"object"===("undefined"===typeof e?"undefined":i(e))?Object.keys(e).reduce((function(t,n){return j(t,n,e[n])}),t):t.reduce((function(t,i){return i.attributes&&i.attributes[e]?t.push(i):t.insert(i.insert,(0,s.default)({},O({},e,n),i.attributes))}),new u.default)}function B(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function F(t,e){for(var n="",i=t.ops.length-1;i>=0&&n.length<e.length;--i){var r=t.ops[i];if("string"!==typeof r.insert)break;n=r.insert+n}return n.slice(-1*e.length)===e}function z(t){if(0===t.childNodes.length)return!1;var e=B(t);return["block","list-item"].indexOf(e.display)>-1}function V(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new u.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(i,r){var o=V(r,e,n);return r.nodeType===t.ELEMENT_NODE&&(o=e.reduce((function(t,e){return e(r,t)}),o),o=(r[P]||[]).reduce((function(t,e){return e(r,t)}),o)),i.concat(o)}),new u.default):new u.default}function H(t,e,n){return j(n,t,!0)}function G(t,e){var n=h.default.Attributor.Attribute.keys(t),i=h.default.Attributor.Class.keys(t),r=h.default.Attributor.Style.keys(t),o={};return n.concat(i).concat(r).forEach((function(e){var n=h.default.query(e,h.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(n=L[e],null==n||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),n=R[e],null==n||n.attrName!==e&&n.keyName!==e||(n=R[e],o[n.attrName]=n.value(t)||void 0))})),Object.keys(o).length>0&&(e=j(e,o)),e}function W(t,e){var n=h.default.query(t);if(null==n)return e;if(n.prototype instanceof h.default.Embed){var i={},r=n.value(t);null!=r&&(i[n.blotName]=r,e=(new u.default).insert(i,n.formats(t)))}else"function"===typeof n.formats&&(e=j(e,n.blotName,n.formats(t)));return e}function q(t,e){return F(e,"\n")||e.insert("\n"),e}function U(){return new u.default}function Y(t,e){var n=h.default.query(t);if(null==n||"list-item"!==n.blotName||!F(e,"\n"))return e;var i=-1,r=t.parentNode;while(!r.classList.contains("ql-clipboard"))"list"===(h.default.query(r)||{}).blotName&&(i+=1),r=r.parentNode;return i<=0?e:e.compose((new u.default).retain(e.length()-1).retain(1,{indent:i}))}function X(t,e){return F(e,"\n")||(z(t)||e.length()>0&&t.nextSibling&&z(t.nextSibling))&&e.insert("\n"),e}function $(t,e){if(z(t)&&null!=t.nextElementSibling&&!F(e,"\n\n")){var n=t.offsetHeight+parseFloat(B(t).marginTop)+parseFloat(B(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function Z(t,e){var n={},i=t.style||{};return i.fontStyle&&"italic"===B(t).fontStyle&&(n.italic=!0),i.fontWeight&&(B(t).fontWeight.startsWith("bold")||parseInt(B(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=j(e,n)),parseFloat(i.textIndent||0)>0&&(e=(new u.default).insert("\t").concat(e)),e}function K(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!B(t.parentNode).whiteSpace.startsWith("pre")){var i=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,i.bind(i,!0)),(null==t.previousSibling&&z(t.parentNode)||null!=t.previousSibling&&z(t.previousSibling))&&(n=n.replace(/^\s+/,i.bind(i,!1))),(null==t.nextSibling&&z(t.parentNode)||null!=t.nextSibling&&z(t.nextSibling))&&(n=n.replace(/\s+$/,i.bind(i,!1)))}return e.insert(n)}N.DEFAULTS={matchers:[],matchVisual:!0},e.default=N,e.matchAttributor=G,e.matchBlot=W,e.matchNewline=X,e.matchSpacing=$,e.matchText=K},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(6),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),i(e,[{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(a.default);h.blotName="bold",h.tagName=["STRONG","B"],e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var i=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(2),a=g(o),s=n(0),l=g(s),u=n(5),c=g(u),h=n(10),f=g(h),d=n(9),p=g(d);function g(t){return t&&t.__esModule?t:{default:t}}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function b(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _=(0,f.default)("quill:toolbar"),x=function(t){function e(t,n){m(this,e);var r,o=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(o.options.container)){var a=document.createElement("div");S(a,o.options.container),t.container.parentNode.insertBefore(a,t.container),o.container=a}else"string"===typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach((function(t){o.addHandler(t,o.options.handlers[t])})),[].forEach.call(o.container.querySelectorAll("button, select"),(function(t){o.attach(t)})),o.quill.on(c.default.events.EDITOR_CHANGE,(function(t,e){t===c.default.events.SELECTION_CHANGE&&o.update(e)})),o.quill.on(c.default.events.SCROLL_OPTIMIZE,(function(){var t=o.quill.selection.getRange(),e=i(t,1),n=e[0];o.update(n)})),o):(r=_.error("Container required for toolbar",o.options),y(o,r))}return b(e,t),r(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void _.warn("ignoring attaching to disabled format",n,t);if(null==l.default.query(n))return void _.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,(function(r){var o=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var s=t.options[t.selectedIndex];o=!s.hasAttribute("selected")&&(s.value||!1)}else o=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var u=e.quill.selection.getRange(),h=i(u,1),f=h[0];if(null!=e.handlers[n])e.handlers[n].call(e,o);else if(l.default.query(n).prototype instanceof l.default.Embed){if(o=prompt("Enter "+n),!o)return;e.quill.updateContents((new a.default).retain(f.index).delete(f.length).insert(v({},n,o)),c.default.sources.USER)}else e.quill.format(n,o,c.default.sources.USER);e.update(f)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var r=i(n,2),o=r[0],a=r[1];if("SELECT"===a.tagName){var s=void 0;if(null==t)s=null;else if(null==e[o])s=a.querySelector("option[selected]");else if(!Array.isArray(e[o])){var l=e[o];"string"===typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==t)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var u=e[o]===a.getAttribute("value")||null!=e[o]&&e[o].toString()===a.getAttribute("value")||null==e[o]&&!a.getAttribute("value");a.classList.toggle("ql-active",u)}else a.classList.toggle("ql-active",null!=e[o])}))}}]),e}(p.default);function w(t,e,n){var i=document.createElement("button");i.setAttribute("type","button"),i.classList.add("ql-"+e),null!=n&&(i.value=n),t.appendChild(i)}function S(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"===typeof t)w(n,t);else{var e=Object.keys(t)[0],i=t[e];Array.isArray(i)?C(n,e,i):w(n,e,i)}})),t.appendChild(n)}))}function C(t,e,n){var i=document.createElement("select");i.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),i.appendChild(e)})),t.appendChild(i)}x.DEFAULTS={},x.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=l.default.query(e,l.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,c.default.sources.USER)},direction:function(t){var e=this.quill.getFormat()["align"];"rtl"===t&&null==e?this.quill.format("align","right",c.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,c.default.sources.USER),this.quill.format("direction",t,c.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),i=parseInt(n.indent||0);if("+1"===t||"-1"===t){var r="+1"===t?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",i+r,c.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,c.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n["list"]||"unchecked"===n["list"]?this.quill.format("list",!1,c.default.sources.USER):this.quill.format("list","unchecked",c.default.sources.USER):this.quill.format("list",t,c.default.sources.USER)}}},e.default=x,e.addControls=S},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(28),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){l(this,e);var i=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.label.innerHTML=n,i.container.classList.add("ql-color-picker"),[].slice.call(i.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),i}return c(e,t),i(e,[{key:"buildItem",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var i=this.label.querySelector(".ql-color-label"),o=t&&t.getAttribute("data-value")||"";i&&("line"===i.tagName?i.style.stroke=o:i.style.fill=o)}}]),e}(a.default);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(28),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){l(this,e);var i=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.container.classList.add("ql-icon-picker"),[].forEach.call(i.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),i.defaultItem=i.container.querySelector(".ql-selected"),i.selectItem(i.defaultItem),i}return c(e,t),i(e,[{key:"selectItem",value:function(t,n){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(a.default);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e,n){var i=this;r(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){i.root.style.marginTop=-1*i.quill.root.scrollTop+"px"})),this.hide()}return i(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var i=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),o=0;if(r.right>i.right&&(o=i.right-r.right,this.root.style.left=e+o+"px"),r.left<i.left&&(o=i.left-r.left,this.root.style.left=e+o+"px"),r.bottom>i.bottom){var a=r.bottom-r.top,s=t.bottom-t.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=n(3),s=m(a),l=n(8),u=m(l),c=n(43),h=m(c),f=n(27),d=m(f),p=n(15),g=n(41),v=m(g);function m(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var x=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],w=function(t){function e(t,n){y(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=x);var i=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.quill.container.classList.add("ql-snow"),i}return _(e,t),o(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),v.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),v.default),this.tooltip=new S(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers["link"].call(t,!n.format.link)}))}}]),e}(h.default);w.DEFAULTS=(0,s.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n);var i=this.quill.theme.tooltip;i.edit("link",n)}else this.quill.format("link",!1)}}}}});var S=function(t){function e(t,n){y(this,e);var i=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.preview=i.root.querySelector("a.ql-preview"),i}return _(e,t),o(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,u.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(u.default.events.SELECTION_CHANGE,(function(e,n,r){if(null!=e){if(0===e.length&&r===u.default.sources.USER){var o=t.quill.scroll.descendant(d.default,e.index),a=i(o,2),s=a[0],l=a[1];if(null!=s){t.linkRange=new p.Range(e.index-l,s.length());var c=d.default.formats(s.domNode);return t.preview.textContent=c,t.preview.setAttribute("href",c),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(c.BaseTooltip);S.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=w},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(29),r=nt(i),o=n(36),a=n(38),s=n(64),l=n(65),u=nt(l),c=n(66),h=nt(c),f=n(67),d=nt(f),p=n(37),g=n(26),v=n(39),m=n(40),y=n(56),b=nt(y),_=n(68),x=nt(_),w=n(27),S=nt(w),C=n(69),T=nt(C),A=n(70),O=nt(A),M=n(71),k=nt(M),I=n(72),E=nt(I),P=n(73),D=nt(P),L=n(13),R=nt(L),N=n(74),j=nt(N),B=n(75),F=nt(B),z=n(57),V=nt(z),H=n(41),G=nt(H),W=n(28),q=nt(W),U=n(59),Y=nt(U),X=n(60),$=nt(X),Z=n(61),K=nt(Z),J=n(108),Q=nt(J),tt=n(62),et=nt(tt);function nt(t){return t&&t.__esModule?t:{default:t}}r.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":g.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":v.FontClass,"attributors/class/size":m.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":g.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":v.FontStyle,"attributors/style/size":m.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":g.ColorStyle,"formats/font":v.FontClass,"formats/size":m.SizeClass,"formats/blockquote":u.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":d.default,"formats/bold":b.default,"formats/code":L.Code,"formats/italic":x.default,"formats/link":S.default,"formats/script":T.default,"formats/strike":O.default,"formats/underline":k.default,"formats/image":E.default,"formats/video":D.default,"formats/list/item":f.ListItem,"modules/formula":j.default,"modules/syntax":F.default,"modules/toolbar":V.default,"themes/bubble":Q.default,"themes/snow":et.default,"ui/icons":G.default,"ui/picker":q.default,"ui/icon-picker":$.default,"ui/color-picker":Y.default,"ui/tooltip":K.default},!0),e.default=r.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),i(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var i=this.value(t)||0;n="+1"===n?i+1:i-1}return 0===n?(this.remove(t),!0):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(a.default.Attributor.Class),f=new h("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(r.default);u.blotName="blockquote",u.tagName="blockquote",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n(4),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),i(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(o.default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=h(o),s=n(4),l=h(s),u=n(25),c=h(u);function h(t){return t&&t.__esModule?t:{default:t}}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return d(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return g(e,t),i(e,[{key:"format",value:function(t,n){t!==m.blotName||n?r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(a.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:r(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(l.default);v.blotName="list-item",v.tagName="LI";var m=function(t){function e(t){d(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),i=function(e){if(e.target.parentNode===t){var i=n.statics.formats(t),r=a.default.find(e.target);"checked"===i?r.format("list","unchecked"):"unchecked"===i&&r.format("list","checked")}};return t.addEventListener("touchstart",i),t.addEventListener("mousedown",i),n}return g(e,t),i(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",i=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||i.setAttribute("data-checked","checked"===t),i}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),i(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return f({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof v)r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var i=null==n?this.length():n.offset(this),o=this.split(i);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(c.default);m.blotName="list",m.scope=a.default.Scope.BLOCK_BLOT,m.tagName=["OL","UL"],m.defaultChild="list-item",m.allowedChildren=[v],e.ListItem=v,e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(56),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(r.default);u.blotName="italic",u.tagName=["EM","I"],e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(6),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),i(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(a.default);h.blotName="script",h.tagName=["SUB","SUP"],e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(r.default);u.blotName="strike",u.tagName="S",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(r.default);u.blotName="underline",u.tagName="U",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=l(o),s=n(27);function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=["alt","height","width"],d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),i(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,s.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.default.Embed);d.blotName="image",d.tagName="IMG",e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(4),a=n(27),s=l(a);function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=["height","width"],d=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),i(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return s.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(o.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(35),a=h(o),s=n(5),l=h(s),u=n(9),c=h(u);function h(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=function(t){function e(){return f(this,e),d(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),i(e,null,[{key:"create",value:function(t){var n=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(a.default);g.blotName="formula",g.className="ql-formula",g.tagName="SPAN";var v=function(t){function e(){f(this,e);var t=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return p(e,t),i(e,null,[{key:"register",value:function(){l.default.register(g,!0)}}]),e}(c.default);e.FormulaBlot=g,e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n(0),a=d(o),s=n(5),l=d(s),u=n(9),c=d(u),h=n(13),f=d(h);function d(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function v(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=function(t){function e(){return p(this,e),g(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return v(e,t),i(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(f.default);m.className="ql-syntax";var y=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),b=function(t){function e(t,n){p(this,e);var i=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!==typeof i.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return i.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){i.highlight(),r=null}),i.options.interval)})),i.highlight(),i}return v(e,t),i(e,null,[{key:"register",value:function(){l.default.register(y,!0),l.default.register(m,!0)}}]),i(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(m).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=e&&this.quill.setSelection(e,l.default.sources.SILENT)}}}]),e}(c.default);b.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){var e=window.hljs.highlightAuto(t);return e.value}}(),interval:1e3},e.CodeBlock=m,e.CodeToken=y,e.default=b},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var i=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(3),a=p(o),s=n(8),l=p(s),u=n(43),c=p(u),h=n(15),f=n(41),d=p(f);function p(t){return t&&t.__esModule?t:{default:t}}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],b=function(t){function e(t,n){g(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=y);var i=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.quill.container.classList.add("ql-bubble"),i}return m(e,t),r(e,[{key:"extendToolbar",value:function(t){this.tooltip=new _(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),d.default)}}]),e}(c.default);b.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var _=function(t){function e(t,n){g(this,e);var i=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.quill.on(l.default.events.EDITOR_CHANGE,(function(t,e,n,r){if(t===l.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===l.default.sources.USER){i.show(),i.root.style.left="0px",i.root.style.width="",i.root.style.width=i.root.offsetWidth+"px";var o=i.quill.getLines(e.index,e.length);if(1===o.length)i.position(i.quill.getBounds(e));else{var a=o[o.length-1],s=i.quill.getIndex(a),u=Math.min(a.length()-1,e.index+e.length-s),c=i.quill.getBounds(new h.Range(s,u));i.position(c)}}else document.activeElement!==i.textbox&&i.quill.hasFocus()&&i.hide()})),i}return m(e,t),r(e,[{key:"listen",value:function(){var t=this;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(u.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=_,e.default=b},function(t,e,n){t.exports=n(63)}])["default"]}))}).call(this,n("b639").Buffer)},"933b":function(t,e,n){var i=n("b12f"),r=i.extend({type:"timeline"});t.exports=r},9390:function(t,e,n){n("d090"),n("83ba"),n("ee66")},"93bf":function(t,e,n){
/*!
* screenfull
* v5.0.2 - 2020-02-13
* (c) Sindre Sorhus; MIT License
*/
(function(){"use strict";var e="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=t.exports,i=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,r=n.length,o={};i<r;i++)if(t=n[i],t&&t[1]in e){for(i=0;i<t.length;i++)o[n[0][i]]=t[i];return o}return!1}(),r={change:i.fullscreenchange,error:i.fullscreenerror},o={request:function(t){return new Promise(function(n,r){var o=function(){this.off("change",o),n()}.bind(this);this.on("change",o),t=t||e.documentElement;var a=t[i.requestFullscreen]();a instanceof Promise&&a.then(o).catch(r)}.bind(this))},exit:function(){return new Promise(function(t,n){if(this.isFullscreen){var r=function(){this.off("change",r),t()}.bind(this);this.on("change",r);var o=e[i.exitFullscreen]();o instanceof Promise&&o.then(r).catch(n)}else t()}.bind(this))},toggle:function(t){return this.isFullscreen?this.exit():this.request(t)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,n){var i=r[t];i&&e.addEventListener(i,n,!1)},off:function(t,n){var i=r[t];i&&e.removeEventListener(i,n,!1)},raw:i};i?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(e[i.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[i.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(e[i.fullscreenEnabled])}}}),n?t.exports=o:window.screenfull=o):n?t.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}})()},"93d0":function(t,e){var n="original",i="arrayRows",r="objectRows",o="keyedColumns",a="unknown",s="typedArray",l="column",u="row";e.SOURCE_FORMAT_ORIGINAL=n,e.SOURCE_FORMAT_ARRAY_ROWS=i,e.SOURCE_FORMAT_OBJECT_ROWS=r,e.SOURCE_FORMAT_KEYED_COLUMNS=o,e.SOURCE_FORMAT_UNKNOWN=a,e.SOURCE_FORMAT_TYPED_ARRAY=s,e.SERIES_LAYOUT_BY_COLUMN=l,e.SERIES_LAYOUT_BY_ROW=u},9442:function(t,e,n){var i=n("6d8b");function r(t){var e=[];i.each(t.series,(function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,i.defaults(t,t.mapLocation))}))}t.exports=r},"944a":function(t,e,n){var i=n("d066"),r=n("e065"),o=n("d44e");r("toStringTag"),o(i("Symbol"),"Symbol")},"944e":function(t,e,n){var i=n("3842"),r=i.round;function o(t,e,n,o){var s={},u=t[1]-t[0],c=s.interval=i.nice(u/e,!0);null!=n&&c<n&&(c=s.interval=n),null!=o&&c>o&&(c=s.interval=o);var h=s.intervalPrecision=a(c),f=s.niceTickExtent=[r(Math.ceil(t[0]/c)*c,h),r(Math.floor(t[1]/c)*c,h)];return l(f,t),s}function a(t){return i.getPrecisionSafe(t)+2}function s(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=o,e.getIntervalPrecision=a,e.fixExtent=l},"94b1":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("9d57"),a=o.layout,s=o.largeLayout;n("5aa9"),n("17b8"),n("67cc"),n("01ed"),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,r.curry(a,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),i.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"94ca":function(t,e,n){var i=n("d039"),r=n("1626"),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==c||n!=u&&(r(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},"94e4":function(t,e,n){var i=n("401b"),r=n("53f3"),o=r.getSymbolSize,a=r.getNodeGlobalScale,s=n("6d8b"),l=n("0c37"),u=l.getCurvenessForEdge,c=Math.PI,h=[];function f(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var r=n.getBoundingRect(),o=t.getData(),a=o.graph,l=r.width/2+r.x,c=r.height/2+r.y,h=Math.min(r.width,r.height)/2,f=o.count();o.setLayout({cx:l,cy:c}),f&&(d[e](t,n,a,o,h,l,c,f),a.eachEdge((function(e,n){var r,o=s.retrieve3(e.getModel().get("lineStyle.curveness"),u(e,t,n),0),a=i.clone(e.node1.getLayout()),h=i.clone(e.node2.getLayout()),f=(a[0]+h[0])/2,d=(a[1]+h[1])/2;+o&&(o*=3,r=[l*o+f*(1-o),c*o+d*(1-o)]),e.setLayout([a,h,r])})))}}var d={value:function(t,e,n,i,r,o,a,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(t){var e=t.getValue("value"),n=c*(u?e:1)/2;l+=n,t.setLayout([r*Math.cos(l)+o,r*Math.sin(l)+a]),l+=n}))},symbolSize:function(t,e,n,i,r,s,l,u){var f=0;h.length=u;var d=a(t);n.eachNode((function(t){var e=o(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=d;var n=Math.asin(e/2/r);isNaN(n)&&(n=c/2),h[t.dataIndex]=n,f+=2*n}));var p=(2*c-f)/u/2,g=0;n.eachNode((function(t){var e=p+h[t.dataIndex];g+=e,t.setLayout([r*Math.cos(g)+s,r*Math.sin(g)+l]),g+=e}))}};e.circularLayout=f},"95a8":function(t,e,n){var i=n("3eba");n("1953"),n("307d"),i.registerPreprocessor((function(t){t.markLine=t.markLine||{}}))},9619:function(t,e,n){var i=n("597f"),r=n("0e15");t.exports={throttle:i,debounce:r}},9680:function(t,e){function n(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=t;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;l=(e-i)/(t-n),u=(t*i-n*e)/(t-n);var c=l*o-a+u,h=c*c/(l*l+1);return h<=s/2*s/2}e.containStroke=n},9704:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("f706"),a=n("73ca"),s=n("4a01"),l=n("01ef"),u=n("c526"),c=u.onIrrelevantElement,h=n("2306"),f=n("480f"),d=n("53f3"),p=d.getNodeGlobalScale,g="__focusNodeAdjacency",v="__unfocusNodeAdjacency",m=["itemStyle","opacity"],y=["lineStyle","opacity"];function b(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function _(t,e,n){var i=t.getGraphicEl(),r=b(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==n||(e=r),t.setStyle("opacity",e)}}))}function x(t,e){var n=b(t,e),i=t.getGraphicEl();i.traverse((function(t){!t.isGroup&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var w=i.extendChartView({type:"graph",init:function(t,e){var n=new o,i=new a,r=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if("view"===r.type){var l={position:r.position,scale:r.scale};this._firstRender?s.attr(l):h.updateProps(s,l,t)}f(t.getGraph(),p(t));var u=t.getData();o.updateData(u);var c=t.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var d=t.forceLayout,m=t.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,m),u.eachItemGraphicEl((function(e,r){var o=u.getItemModel(r);e.off("drag").off("dragend");var a=o.get("draggable");a&&e.on("drag",(function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,m),d.setFixed(r),u.setItemLayout(r,e.position))}),this).on("dragend",(function(){d&&d.setUnfixed(r)}),this),e.setDraggable(a&&d),e[g]&&e.off("mouseover",e[g]),e[v]&&e.off("mouseout",e[v]),o.get("focusNodeAdjacency")&&(e.on("mouseover",e[g]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e[v]=function(){i._dispatchUnfocus(n)}))}),this),u.graph.eachEdge((function(e){var r=e.getGraphicEl();r[g]&&r.off("mouseover",r[g]),r[v]&&r.off("mouseout",r[v]),e.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[g]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),r.on("mouseout",r[v]=function(){i._dispatchUnfocus(n)}))}));var y="circular"===t.get("layout")&&t.get("circular.rotateLabel"),b=u.getLayout("cx"),_=u.getLayout("cy");u.eachItemGraphicEl((function(t,e){var n=u.getItemModel(e),i=n.get("label.rotate")||0,r=t.getSymbolPath();if(y){var o=u.getItemLayout(e),a=Math.atan2(o[1]-_,o[0]-b);a<0&&(a=2*Math.PI+a);var s=o[0]<b;s&&(a-=Math.PI);var l=s?"left":"right";h.modifyLabelStyle(r,{textRotation:-a,textPosition:l,textOrigin:"center"},{textPosition:l})}else h.modifyLabelStyle(r,{textRotation:i*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(t,e){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){n._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,n,i){var o=t.getData(),a=o.graph,s=i.dataIndex,l=i.edgeDataIndex,u=a.getNodeByIndex(s),c=a.getEdgeByIndex(l);(u||c)&&(a.eachNode((function(t){_(t,m,.1)})),a.eachEdge((function(t){_(t,y,.1)})),u&&(x(u,m),r.each(u.edges,(function(t){t.dataIndex<0||(x(t,y),x(t.node1,m),x(t.node2,m))}))),c&&(x(c,y),x(c.node1,m),x(c.node2,m)))},unfocusNodeAdjacency:function(t,e,n,i){var r=t.getData().graph;r.eachNode((function(t){_(t,m)})),r.eachEdge((function(t){_(t,y)}))},_startForceLayoutIteration:function(t,e){var n=this;(function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))})()},_updateController:function(t,e,n){var i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(e,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!c(e,n,t)})),"view"===t.coordinateSystem.type?(i.enable(t.get("roam")),r.zoomLimit=t.get("scaleLimit"),r.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){l.updateViewOnPan(r,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){l.updateViewOnZoom(r,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(),f(t.getGraph(),p(t)),this._lineDraw.updateLayout()}),this)):i.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),n=p(t),i=[n,n];e.eachItemGraphicEl((function(t,e){t.attr("scale",i)}))},updateLayout:function(t){f(t.getGraph(),p(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});t.exports=w},9742:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},9850:function(t,e,n){var i=n("401b"),r=n("1687"),o=i.applyTransform,a=Math.min,s=Math.max;function l(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}l.prototype={constructor:l,union:function(t){var e=a(t.x,this.x),n=a(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this.height=s(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:function(){var t=[],e=[],n=[],i=[];return function(r){if(r){t[0]=n[0]=this.x,t[1]=i[1]=this.y,e[0]=i[0]=this.x+this.width,e[1]=n[1]=this.y+this.height,o(t,t,r),o(e,e,r),o(n,n,r),o(i,i,r),this.x=a(t[0],e[0],n[0],i[0]),this.y=a(t[1],e[1],n[1],i[1]);var l=s(t[0],e[0],n[0],i[0]),u=s(t[1],e[1],n[1],i[1]);this.width=l-this.x,this.height=u-this.y}}}(),calculateTransform:function(t){var e=this,n=t.width/e.width,i=t.height/e.height,o=r.create();return r.translate(o,o,[-e.x,-e.y]),r.scale(o,o,[n,i]),r.translate(o,o,[t.x,t.y]),o},intersect:function(t){if(!t)return!1;t instanceof l||(t=l.create(t));var e=this,n=e.x,i=e.x+e.width,r=e.y,o=e.y+e.height,a=t.x,s=t.x+t.width,u=t.y,c=t.y+t.height;return!(i<a||s<n||o<u||c<r)},contain:function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var u=l;t.exports=u},9876:function(t,e,n){var i=n("03d6"),r=n("9742");t.exports=Object.keys||function(t){return i(t,r)}},"98b7":function(t,e){var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},"98e7":function(t,e,n){var i=n("6d8b"),r=i.createHashMap;function o(t){return{getTargetSeries:function(e){var n={},i=r();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,i.set(t.uid,t)})),i},reset:function(t,e){var n=t.getRawData(),i={},r=t.getData();r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(e){var o,a=i[e],s=null!=a&&r.getItemVisual(a,"color",!0),l=null!=a&&r.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(e)),!s){var u=o.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());null!=a&&r.setItemVisual(a,"color",u)}if(!l){var c=o.get("itemStyle.borderColor");null!=a&&r.setItemVisual(a,"borderColor",c)}}))}}}t.exports=o},9911:function(t,e,n){"use strict";var i=n("23e7"),r=n("857a"),o=n("af03");i({target:"String",proto:!0,forced:o("link")},{link:function(t){return r(this,"a","href",t)}})},"998c":function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("e86a"),a=Math.PI;function s(t,e){e=e||{},i.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new r.Group,s=new r.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(s);var l=e.fontSize+" sans-serif",u=new r.Rect({style:{fill:"none",text:e.text,font:l,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});if(n.add(u),e.showSpinner){var c=new r.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut"),n.add(c)}return n.resize=function(){var n=o.getWidth(e.text,l),i=e.showSpinner?e.spinnerRadius:0,r=(t.getWidth()-2*i-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner?0:n/2),a=t.getHeight()/2;e.showSpinner&&c.setShape({cx:r,cy:a}),u.setShape({x:r-i,y:a-i,width:2*i,height:2*i}),s.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}t.exports=s},"99af":function(t,e,n){"use strict";var i=n("23e7"),r=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),l=n("07fa"),u=n("3511"),c=n("8418"),h=n("65f0"),f=n("1dde"),d=n("b622"),p=n("2d00"),g=d("isConcatSpreadable"),v=p>=51||!r((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),m=f("concat"),y=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)},b=!v||!m;i({target:"Array",proto:!0,arity:1,forced:b},{concat:function(t){var e,n,i,r,o,a=s(this),f=h(a,0),d=0;for(e=-1,i=arguments.length;e<i;e++)if(o=-1===e?a:arguments[e],y(o))for(r=l(o),u(d+r),n=0;n<r;n++,d++)n in o&&c(f,d,o[n]);else u(d+1),c(f,d++,o);return f.length=d,f}})},"9a1f":function(t,e,n){var i=n("c65b"),r=n("59ed"),o=n("825a"),a=n("0d51"),s=n("35a1"),l=TypeError;t.exports=function(t,e){var n=arguments.length<2?s(t):e;if(r(n))return o(i(n,t));throw l(a(t)+" is not iterable")}},"9bdb":function(t,e,n){var i=n("282b"),r=i([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),o={getAreaStyle:function(t,e){return r(this,t,e)}};t.exports=o},"9bdd":function(t,e,n){var i=n("825a"),r=n("2a62");t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(a){r(t,"throw",a)}}},"9bf2":function(t,e,n){var i=n("83ab"),r=n("0cfb"),o=n("aed9"),a=n("825a"),s=n("a04b"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=i?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var i=c(t,e);i&&i[d]&&(t[e]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:h in n?n[h]:i[h],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),r)try{return u(t,e,n)}catch(i){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9c0c":function(t,e,n){var i=n("1609");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c0e":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"9c2c":function(t,e,n){var i=n("401b"),r=i.min,o=i.max,a=i.scale,s=i.distance,l=i.add,u=i.clone,c=i.sub;function h(t,e,n,i){var h,f,d,p,g=[],v=[],m=[],y=[];if(i){d=[1/0,1/0],p=[-1/0,-1/0];for(var b=0,_=t.length;b<_;b++)r(d,d,t[b]),o(p,p,t[b]);r(d,d,i[0]),o(p,p,i[1])}for(b=0,_=t.length;b<_;b++){var x=t[b];if(n)h=t[b?b-1:_-1],f=t[(b+1)%_];else{if(0===b||b===_-1){g.push(u(t[b]));continue}h=t[b-1],f=t[b+1]}c(v,f,h),a(v,v,e);var w=s(x,h),S=s(x,f),C=w+S;0!==C&&(w/=C,S/=C),a(m,v,-w),a(y,v,S);var T=l([],x,m),A=l([],x,y);i&&(o(T,T,d),r(T,T,p),o(A,A,d),r(A,A,p)),g.push(T),g.push(A)}return n&&g.push(g.shift()),g}t.exports=h},"9ca8":function(t,e,n){var i=n("6d8b"),r=n("9850"),o=n("3842"),a=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n("f934"),u=n("55ac"),c=Math.max,h=Math.min,f=i.retrieve,d=i.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],v=["upperLabel","show"],m=["upperLabel","height"],y={seriesType:"treemap",reset:function(t,e,n,o){var s=n.getWidth(),c=n.getHeight(),h=t.option,p=l.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),g=h.size||[],v=a(f(p.width,g[0]),s),m=a(f(p.height,g[1]),c),y=o&&o.type,_=["treemapZoomToNode","treemapRootToNode"],x=u.retrieveTargetInfo(o,_,t),w="treemapRender"===y||"treemapMove"===y?o.rootRect:null,S=t.getViewRoot(),C=u.getPathToRoot(S);if("treemapMove"!==y){var T="treemapZoomToNode"===y?A(t,x,S,v,m):w?[w.width,w.height]:[v,m],k=h.sort;k&&"asc"!==k&&"desc"!==k&&(k="desc");var I={squareRatio:h.squareRatio,sort:k,leafDepth:h.leafDepth};S.hostTree.clearLayouts();var E={x:0,y:0,width:T[0],height:T[1],area:T[0]*T[1]};S.setLayout(E),b(S,I,!1,0);E=S.getLayout();d(C,(function(t,e){var n=(C[e+1]||S).getValue();t.setLayout(i.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},E))}))}var P=t.getData().tree.root;P.setLayout(O(p,w,x),!0),t.setLayoutInfo(p),M(P,new r(-p.x,-p.y,s,c),C,S,0)}};function b(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(p),u=s.get(g)/2,f=k(s),d=Math.max(l,f),v=l-u,m=d-u;s=t.getModel();t.setLayout({borderWidth:l,upperHeight:d,upperLabelHeight:f},!0),r=c(r-2*v,0),o=c(o-v-m,0);var y=r*o,x=_(t,s,y,e,n,i);if(x.length){var w={x:v,y:m,width:r,height:o},S=h(r,o),A=1/0,O=[];O.area=0;for(var M=0,I=x.length;M<I;){var E=x[M];O.push(E),O.area+=E.getLayout().area;var P=C(O,S,e.squareRatio);P<=A?(M++,A=P):(O.area-=O.pop().getLayout().area,T(O,S,w,u,!1),S=h(w.width,w.height),O.length=O.area=0,A=1/0)}if(O.length&&T(O,S,w,u,!0),!n){var D=s.get("childrenVisibleMin");null!=D&&y<D&&(n=!0)}for(M=0,I=x.length;M<I;M++)b(x[M],e,n,i+1)}}}function _(t,e,n,r,o,a){var s=t.children||[],l=r.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=r.leafDepth&&r.leafDepth<=a;if(o&&!u)return t.viewChildren=[];s=i.filter(s,(function(t){return!t.isRemoved()})),w(s,l);var c=S(e,s,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=x(e,n,c.sum,l,s),0===c.sum)return t.viewChildren=[];for(var h=0,f=s.length;h<f;h++){var d=s[h].getValue()/c.sum*n;s[h].setLayout({area:d})}return u&&(s.length&&t.setLayout({isLeafRoot:!0},!0),s.length=0),t.viewChildren=s,t.setLayout({dataExtent:c.dataExtent},!0),s}function x(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}function w(t,e){return e&&t.sort((function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})),t}function S(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a=t.get("visualDimension");if(e&&e.length)if("value"===a&&n)s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];d(e,(function(t){var e=t.getValue(a);e<s[0]&&(s[0]=e),e>s[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}function C(t,e,n){for(var i,r=0,o=1/0,a=0,s=t.length;a<s;a++)i=t[a].getLayout().area,i&&(i<o&&(o=i),i>r&&(r=i));var l=t.area*t.area,u=e*e*n;return l?c(u*r/l,l/(u*o)):1/0}function T(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],f=e?t.area/e:0;(r||f>n[l[a]])&&(f=n[l[a]]);for(var d=0,p=t.length;d<p;d++){var g=t[d],v={},m=f?g.getLayout().area/f:0,y=v[l[a]]=c(f-2*i,0),b=n[s[o]]+n[l[o]]-u,_=d===p-1||b<m?b:m,x=v[l[o]]=c(_-2*i,0);v[s[a]]=n[s[a]]+h(i,y/2),v[s[o]]=u+h(i,x/2),u+=_,g.setLayout(v,!0)}n[s[a]]+=f,n[l[a]]-=f}function A(t,e,n,i,r){var o,a=(e||{}).node,l=[i,r];if(!a||a===n)return l;var u=i*r,c=u*t.option.zoomToNodeRatio;while(o=a.parentNode){for(var h=0,f=o.children,d=0,g=f.length;d<g;d++)h+=f[d].getValue();var v=a.getValue();if(0===v)return l;c*=h/v;var m=o.getModel(),y=m.get(p),b=Math.max(y,k(m,y));c+=4*y*y+(3*y+b)*Math.pow(c,.5),c>s&&(c=s),a=o}c<u&&(c=u);var _=Math.pow(c/u,.5);return[i*_,r*_]}function O(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}function M(t,e,n,i,o){var a=t.getLayout(),s=n[o],l=s&&s===t;if(!(s&&!l||o===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!l&&!e.intersect(a),isAboveViewRoot:l},!0);var u=new r(e.x-a.x,e.y-a.y,e.width,e.height);d(t.viewChildren||[],(function(t){M(t,u,n,i,o+1)}))}}function k(t){return t.get(v)?t.get(m):0}t.exports=y},"9cf9":function(t,e){var n=Math.round;function i(t,e,i){if(e){var r=e.x1,a=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=a,t.y1=s,t.y2=l;var u=i&&i.lineWidth;u&&(n(2*r)===n(2*a)&&(t.x1=t.x2=o(r,u,!0)),n(2*s)===n(2*l)&&(t.y1=t.y2=o(s,u,!0)))}}function r(t,e,n){if(e){var i=e.x,r=e.y,a=e.width,s=e.height;t.x=i,t.y=r,t.width=a,t.height=s;var l=n&&n.lineWidth;l&&(t.x=o(i,l,!0),t.y=o(r,l,!0),t.width=Math.max(o(i+a,l,!1)-t.x,0===a?0:1),t.height=Math.max(o(r+s,l,!1)-t.y,0===s?0:1))}}function o(t,e,i){if(!e)return t;var r=n(2*t);return(r+n(e))%2===0?r/2:(r+(i?1:-1))/2}e.subPixelOptimizeLine=i,e.subPixelOptimizeRect=r,e.subPixelOptimize=o},"9d11":function(t,e,n){var i=n("fc5e"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},"9d57":function(t,e,n){var i=n("6d8b"),r=n("3842"),o=r.parsePercent,a=n("ee1a"),s=a.isDimensionStacked,l=n("cccd"),u="__ec_stack_",c=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function f(t){return t.get("stack")||u+t.seriesIndex}function d(t){return t.dim+t.index}function p(t){var e=[],n=t.axis,r="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<t.count;a++)e.push(i.defaults({bandWidth:o,axisKey:r,stackId:u+a},t));var s=y(e),l=[];for(a=0;a<t.count;a++){var c=s[r][u+a];c.offsetCenter=c.offset+c.width/2,l.push(c)}return l}}function g(t,e){var n=[];return e.eachSeriesByType(t,(function(t){w(t)&&!S(t)&&n.push(t)})),n}function v(t){var e={};i.each(t,(function(t){var n=t.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=t.getData(),o=i.dim+"_"+i.index,a=r.mapDimension(i.dim),s=0,l=r.count();s<l;++s){var u=r.get(a,s);e[o]?e[o].push(u):e[o]=[u]}}));var n=[];for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort((function(t,e){return t-e}));for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}function m(t){var e=v(t),n=[];return i.each(t,(function(t){var i,r=t.coordinateSystem,a=r.getBaseAxis(),s=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,u=e[l],c=Math.abs(s[1]-s[0]),h=a.scale.getExtent(),p=Math.abs(h[1]-h[0]);i=u?c/p*u:c}else{var g=t.getData();i=Math.abs(s[1]-s[0])/g.count()}var v=o(t.get("barWidth"),i),m=o(t.get("barMaxWidth"),i),y=o(t.get("barMinWidth")||1,i),b=t.get("barGap"),_=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:v,barMaxWidth:m,barMinWidth:y,barGap:b,barCategoryGap:_,axisKey:d(a),stackId:f(t)})})),y(n)}function y(t){var e={};i.each(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var f=t.barCategoryGap;null!=f&&(o.categoryGap=f)}));var n={};return i.each(e,(function(t,e){n[e]={};var r=t.stacks,a=t.bandWidth,s=o(t.categoryGap,a),l=o(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(r,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,c--}else{var i=h;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==h&&(t.width=i,u-=i+l*i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var f,d=0;i.each(r,(function(t,e){t.width||(t.width=h),f=t,d+=t.width*(1+l)})),f&&(d-=f.width*l);var p=-d/2;i.each(r,(function(t,i){n[e][i]=n[e][i]||{bandWidth:a,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function b(t,e,n){if(t&&e){var i=t[d(e)];return null!=i&&null!=n&&(i=i[f(n)]),i}}function _(t,e){var n=g(t,e),r=m(n),o={},a={};i.each(n,(function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),l=f(t),u=r[d(i)][l],c=u.offset,h=u.width,p=n.getOtherAxis(i),g=t.get("barMinHeight")||0;o[l]=o[l]||[],a[l]=a[l]||[],e.setLayout({bandWidth:u.bandWidth,offset:c,size:h});for(var v=e.mapDimension(p.dim),m=e.mapDimension(i.dim),y=s(e,v),b=p.isHorizontal(),_=C(i,p,y),x=0,w=e.count();x<w;x++){var S,T,A,O,M=e.get(v,x),k=e.get(m,x),I=M>=0?"p":"n",E=_;if(y&&(o[l][k]||(o[l][k]={p:_,n:_}),E=o[l][k][I]),b){var P=n.dataToPoint([M,k]);S=E,T=P[1]+c,A=P[0]-_,O=h,Math.abs(A)<g&&(A=(A<0?-1:1)*g),isNaN(A)||y&&(o[l][k][I]+=A)}else{P=n.dataToPoint([k,M]);S=P[0]+c,T=E,A=h,O=P[1]-_,Math.abs(O)<g&&(O=(O<=0?-1:1)*g),isNaN(O)||y&&(o[l][k][I]+=O)}e.setItemLayout(x,{x:S,y:T,width:A,height:O})}}),this)}var x={seriesType:"bar",plan:l(),reset:function(t){if(w(t)&&S(t)){var e=t.getData(),n=t.coordinateSystem,i=n.grid.getRect(),r=n.getBaseAxis(),o=n.getOtherAxis(r),a=e.mapDimension(o.dim),s=e.mapDimension(r.dim),l=o.isHorizontal(),u=l?0:1,f=b(m([t]),r,t).width;return f>c||(f=c),{progress:d}}function d(t,e){var c,d=t.count,p=new h(2*d),g=new h(2*d),v=new h(d),m=[],y=[],b=0,_=0;while(null!=(c=t.next()))y[u]=e.get(a,c),y[1-u]=e.get(s,c),m=n.dataToPoint(y,null,m),g[b]=l?i.x+i.width:m[0],p[b++]=m[0],g[b]=l?m[1]:i.y+i.height,p[b++]=m[1],v[_++]=c;e.setLayout({largePoints:p,largeDataIndices:v,largeBackgroundPoints:g,barWidth:f,valueAxisStart:C(r,o,!1),backgroundStart:l?i.x:i.y,valueAxisHorizontal:l})}}};function w(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function S(t){return t.pipelineContext&&t.pipelineContext.large}function C(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=m,e.retrieveColumnLayout=b,e.layout=_,e.largeLayout=x},"9e2e":function(t,e,n){var i=n("a73c"),r=n("9850"),o=n("82eb"),a=o.WILL_BE_RESTORED,s=new r,l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){t.save();var o=this.transform;n.transformText?this.setTransform(t):o&&(s.copy(e),s.applyTransform(o),e=s),i.renderText(this,t,r,n,e,a),t.restore()}}};var u=l;t.exports=u},"9e47":function(t,e,n){var i=n("6d8b"),r=n("71ad"),o=n("6cb7"),a=n("f934"),s=a.getLayoutParams,l=a.mergeLayoutParam,u=n("8e43"),c=["value","category","time","log"];function h(t,e,n,a){i.each(c,(function(o){e.extend({type:t+"Axis."+o,mergeDefaultAndTheme:function(e,r){var a=this.layoutMode,u=a?s(e):{},c=r.getTheme();i.merge(e,c.get(o+"Axis")),i.merge(e,this.getDefaultOption()),e.type=n(t,e),a&&l(e,u,a)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.mergeAll([{},r[o+"Axis"],a],!0)})})),o.registerSubTypeDefaulter(t+"Axis",i.curry(n,t))}t.exports=h},"9e87":function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("50e5");i.registerAction("dataZoom",(function(t,e){var n=o.createLinkedNodesFinder(r.bind(e.eachComponent,e,"dataZoom"),o.eachAxisDim,(function(t,e){return t.get(e.axisIndex)})),i=[];e.eachComponent({mainType:"dataZoom",query:t},(function(t,e){i.push.apply(i,n(t).nodes)})),r.each(i,(function(e,n){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))},"9f51":function(t,e,n){var i=n("857d"),r=i.normalizeRadian,o=2*Math.PI;function a(t,e,n,i,a,s,l,u,c){if(0===l)return!1;var h=l;u-=t,c-=e;var f=Math.sqrt(u*u+c*c);if(f-h>n||f+h<n)return!1;if(Math.abs(i-a)%o<1e-4)return!0;if(s){var d=i;i=r(a),a=r(d)}else i=r(i),a=r(a);i>a&&(a+=o);var p=Math.atan2(c,u);return p<0&&(p+=o),p>=i&&p<=a||p+o>=i&&p+o<=a}e.containStroke=a},"9f7f":function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp,a=i((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),s=a||i((function(){return!o("a","y").sticky})),l=a||i((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:l,MISSED_STICKY:s,UNSUPPORTED_Y:a}},"9f82":function(t,e,n){var i=n("ee1a"),r=i.isDimensionStacked,o=n("6d8b"),a=o.map;function s(t,e,n){var i,o=t.getBaseAxis(),s=t.getOtherAxis(o),u=l(s,n),c=o.dim,h=s.dim,f=e.mapDimension(h),d=e.mapDimension(c),p="x"===h||"radius"===h?1:0,g=a(t.dimensions,(function(t){return e.mapDimension(t)})),v=e.getCalculationInfo("stackResultDimension");return(i|=r(e,g[0]))&&(g[0]=v),(i|=r(e,g[1]))&&(g[1]=v),{dataDimsForPoint:g,valueStart:u,valueAxisDim:h,baseAxisDim:c,stacked:!!i,valueDim:f,baseDim:d,baseDataOffset:p,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function l(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function u(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=u},"9fa3":function(t,e,n){var i=n("4ab1"),r=n("6d8b"),o=n("1687");function a(t,e){i.call(this,t,e,"clipPath","__clippath_in_use__")}r.inherits(a,i),a.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},a.prototype.updateDom=function(t,e,n){if(e&&e.length>0){var i,r,a=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(r=s[l].getAttribute("id"),i=s[l],a.contains(i)||a.appendChild(i)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,i=this.createElement("clipPath"),i.setAttribute("id",r),a.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);i.innerHTML="",i.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+r+")"),e.length>1&&this.updateDom(i,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},a.prototype.markUsed=function(t){var e=this;t.__clipPaths&&r.each(t.__clipPaths,(function(t){t._dom&&i.prototype.markUsed.call(e,t._dom),t._textDom&&i.prototype.markUsed.call(e,t._textDom)}))};var s=a;t.exports=s},"9fbb":function(t,e,n){var i=n("4d88");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},a016:function(t,e,n){var i=n("4f85"),r=n("e46b"),o=n("6d8b"),a=n("eda2"),s=a.encodeHTML,l=n("c4a3"),u=i.extend({type:"series.radar",dependencies:["radar"],init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this))},getInitialData:function(t,e){return r(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t,e,n,i){var r=this.getData(),a=this.coordinateSystem,l=a.getIndicatorAxes(),u=this.getData().getName(t),c="html"===i?"<br/>":"\n";return s(""===u?this.name:u)+c+o.map(l,(function(e,n){var i=r.get(r.mapDimension(e.dim),t);return s(e.name+" : "+i)})).join(c)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(o.map(n.dimensions,(function(t){return e.mapDimension(t)})),t,!0),r=0,a=i.length;r<a;r++)if(!isNaN(i[r])){var s=n.getIndicatorAxes();return n.coordToPoint(s[r].dataToCoord(i[r]),r)}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),c=u;t.exports=c},a04b:function(t,e,n){var i=n("c04e"),r=n("d9b5");t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},a04e:function(t,e,n){var i=n("6cb7");i.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},a15a:function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("9850"),a=n("e86a"),s=a.calculateTextPosition,l=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),u=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),c=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),f=Math.cos(u),d=.6*a,p=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*d,l+s+f*d,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-c+h*d,l+s+f*d,n-c,l+s),t.closePath()}}),h=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),f={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:u,pin:c,arrow:h,triangle:l},d={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},p={};i.each(f,(function(t,e){p[e]=new t}));var g=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=s(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=p[i];r||(i="rect",r=p[i]),d[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function v(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}function m(t,e,n,i,a,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),u=0===t.indexOf("image://")?r.makeImage(t.slice(8),new o(e,n,i,a),l?"center":"cover"):0===t.indexOf("path://")?r.makePath(t.slice(7),{},new o(e,n,i,a),l?"center":"cover"):new g({shape:{symbolType:t,x:e,y:n,width:i,height:a}}),u.__isEmptyBrush=c,u.setColor=v,u.setColor(s),u}e.createSymbol=m},a15b:function(t,e,n){"use strict";var i=n("23e7"),r=n("e330"),o=n("44ad"),a=n("fc6a"),s=n("a640"),l=r([].join),u=o!=Object,c=s("join",",");i({target:"Array",proto:!0,forced:u||!c},{join:function(t){return l(a(this),void 0===t?",":t)}})},a15e:function(t,e,n){"use strict";n.r(e);var i=n("41b2"),r=n.n(i),o=n("1098"),a=n.n(o),s=/%[sdj%]/g,l=function(){};function u(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],o=e.length;if("function"===typeof r)return r.apply(null,e.slice(1));if("string"===typeof r){for(var a=String(r).replace(s,(function(t){if("%%"===t)return"%";if(i>=o)return t;switch(t){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(n){return"[Circular]"}break;default:return t}})),l=e[i];i<o;l=e[++i])a+=" "+l;return a}return r}function c(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"pattern"===t}function h(t,e){return void 0===t||null===t||(!("array"!==e||!Array.isArray(t)||t.length)||!(!c(e)||"string"!==typeof t||t))}function f(t,e,n){var i=[],r=0,o=t.length;function a(t){i.push.apply(i,t),r++,r===o&&n(i)}t.forEach((function(t){e(t,a)}))}function d(t,e,n){var i=0,r=t.length;function o(a){if(a&&a.length)n(a);else{var s=i;i+=1,s<r?e(t[s],o):n([])}}o([])}function p(t){var e=[];return Object.keys(t).forEach((function(n){e.push.apply(e,t[n])})),e}function g(t,e,n,i){if(e.first){var r=p(t);return d(r,n,i)}var o=e.firstFields||[];!0===o&&(o=Object.keys(t));var a=Object.keys(t),s=a.length,l=0,u=[],c=function(t){u.push.apply(u,t),l++,l===s&&i(u)};a.forEach((function(e){var i=t[e];-1!==o.indexOf(e)?d(i,n,c):f(i,n,c)}))}function v(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:e,field:e.field||t.fullField}}}function m(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];"object"===("undefined"===typeof i?"undefined":a()(i))&&"object"===a()(t[n])?t[n]=r()({},t[n],i):t[n]=i}return t}function y(t,e,n,i,r,o){!t.required||n.hasOwnProperty(t.field)&&!h(e,o||t.type)||i.push(u(r.messages.required,t.fullField))}var b=y;function _(t,e,n,i,r){(/^\s+$/.test(e)||""===e)&&i.push(u(r.messages.whitespace,t.fullField))}var x=_,w={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},S={integer:function(t){return S.number(t)&&parseInt(t,10)===t},float:function(t){return S.number(t)&&!S.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){return!1}},date:function(t){return"function"===typeof t.getTime&&"function"===typeof t.getMonth&&"function"===typeof t.getYear},number:function(t){return!isNaN(t)&&"number"===typeof t},object:function(t){return"object"===("undefined"===typeof t?"undefined":a()(t))&&!S.array(t)},method:function(t){return"function"===typeof t},email:function(t){return"string"===typeof t&&!!t.match(w.email)&&t.length<255},url:function(t){return"string"===typeof t&&!!t.match(w.url)},hex:function(t){return"string"===typeof t&&!!t.match(w.hex)}};function C(t,e,n,i,r){if(t.required&&void 0===e)b(t,e,n,i,r);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?S[s](e)||i.push(u(r.messages.types[s],t.fullField,t.type)):s&&("undefined"===typeof e?"undefined":a()(e))!==t.type&&i.push(u(r.messages.types[s],t.fullField,t.type))}}var T=C;function A(t,e,n,i,r){var o="number"===typeof t.len,a="number"===typeof t.min,s="number"===typeof t.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,h=null,f="number"===typeof e,d="string"===typeof e,p=Array.isArray(e);if(f?h="number":d?h="string":p&&(h="array"),!h)return!1;p&&(c=e.length),d&&(c=e.replace(l,"_").length),o?c!==t.len&&i.push(u(r.messages[h].len,t.fullField,t.len)):a&&!s&&c<t.min?i.push(u(r.messages[h].min,t.fullField,t.min)):s&&!a&&c>t.max?i.push(u(r.messages[h].max,t.fullField,t.max)):a&&s&&(c<t.min||c>t.max)&&i.push(u(r.messages[h].range,t.fullField,t.min,t.max))}var O=A,M="enum";function k(t,e,n,i,r){t[M]=Array.isArray(t[M])?t[M]:[],-1===t[M].indexOf(e)&&i.push(u(r.messages[M],t.fullField,t[M].join(", ")))}var I=k;function E(t,e,n,i,r){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(u(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"===typeof t.pattern){var o=new RegExp(t.pattern);o.test(e)||i.push(u(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}var P=E,D={required:b,whitespace:x,type:T,range:O,enum:I,pattern:P};function L(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e,"string")&&!t.required)return n();D.required(t,e,i,o,r,"string"),h(e,"string")||(D.type(t,e,i,o,r),D.range(t,e,i,o,r),D.pattern(t,e,i,o,r),!0===t.whitespace&&D.whitespace(t,e,i,o,r))}n(o)}var R=L;function N(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),void 0!==e&&D.type(t,e,i,o,r)}n(o)}var j=N;function B(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),void 0!==e&&(D.type(t,e,i,o,r),D.range(t,e,i,o,r))}n(o)}var F=B;function z(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),void 0!==e&&D.type(t,e,i,o,r)}n(o)}var V=z;function H(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),h(e)||D.type(t,e,i,o,r)}n(o)}var G=H;function W(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),void 0!==e&&(D.type(t,e,i,o,r),D.range(t,e,i,o,r))}n(o)}var q=W;function U(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),void 0!==e&&(D.type(t,e,i,o,r),D.range(t,e,i,o,r))}n(o)}var Y=U;function X(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e,"array")&&!t.required)return n();D.required(t,e,i,o,r,"array"),h(e,"array")||(D.type(t,e,i,o,r),D.range(t,e,i,o,r))}n(o)}var $=X;function Z(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),void 0!==e&&D.type(t,e,i,o,r)}n(o)}var K=Z,J="enum";function Q(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();D.required(t,e,i,o,r),e&&D[J](t,e,i,o,r)}n(o)}var tt=Q;function et(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e,"string")&&!t.required)return n();D.required(t,e,i,o,r),h(e,"string")||D.pattern(t,e,i,o,r)}n(o)}var nt=et;function it(t,e,n,i,r){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(h(e)&&!t.required)return n();if(D.required(t,e,i,o,r),!h(e)){var s=void 0;s="number"===typeof e?new Date(e):e,D.type(t,s,i,o,r),s&&D.range(t,s.getTime(),i,o,r)}}n(o)}var rt=it;function ot(t,e,n,i,r){var o=[],s=Array.isArray(e)?"array":"undefined"===typeof e?"undefined":a()(e);D.required(t,e,i,o,r,s),n(o)}var at=ot;function st(t,e,n,i,r){var o=t.type,a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(h(e,o)&&!t.required)return n();D.required(t,e,i,a,r,o),h(e,o)||D.type(t,e,i,a,r)}n(a)}var lt=st,ut={string:R,method:j,number:F,boolean:V,regexp:G,integer:q,float:Y,array:$,object:K,enum:tt,pattern:nt,date:rt,url:lt,hex:lt,email:lt,required:at};function ct(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ht=ct();function ft(t){this.rules=null,this._messages=ht,this.define(t)}ft.prototype={messages:function(t){return t&&(this._messages=m(ct(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof t?"undefined":a()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2],o=t,s=n,c=i;if("function"===typeof s&&(c=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var h=this.messages();h===ht&&(h=ct()),m(h,s.messages),s.messages=h}else s.messages=this.messages();var f=void 0,d=void 0,p={},y=s.keys||Object.keys(this.rules);y.forEach((function(n){f=e.rules[n],d=o[n],f.forEach((function(i){var a=i;"function"===typeof a.transform&&(o===t&&(o=r()({},o)),d=o[n]=a.transform(d)),a="function"===typeof a?{validator:a}:r()({},a),a.validator=e.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=e.getType(a),a.validator&&(p[n]=p[n]||[],p[n].push({rule:a,value:d,source:o,field:n}))}))}));var b={};g(p,s,(function(t,e){var n=t.rule,i=("object"===n.type||"array"===n.type)&&("object"===a()(n.fields)||"object"===a()(n.defaultField));function o(t,e){return r()({},e,{fullField:n.fullField+"."+t})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;if(Array.isArray(c)||(c=[c]),c.length&&l("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(v(n)),s.first&&c.length)return b[n.field]=1,e(c);if(i){if(n.required&&!t.value)return c=n.message?[].concat(n.message).map(v(n)):s.error?[s.error(n,u(s.messages.required,n.field))]:[],e(c);var h={};if(n.defaultField)for(var f in t.value)t.value.hasOwnProperty(f)&&(h[f]=n.defaultField);for(var d in h=r()({},h,t.rule.fields),h)if(h.hasOwnProperty(d)){var p=Array.isArray(h[d])?h[d]:[h[d]];h[d]=p.map(o.bind(null,d))}var g=new ft(h);g.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),g.validate(t.value,t.rule.options||s,(function(t){e(t&&t.length?c.concat(t):t)}))}else e(c)}i=i&&(n.required||!n.required&&t.value),n.field=t.field;var h=n.validator(n,t.value,c,t.source,s);h&&h.then&&h.then((function(){return c()}),(function(t){return c(t)}))}),(function(t){_(t)}))}else c&&c();function _(t){var e=void 0,n=void 0,i=[],r={};function o(t){Array.isArray(t)?i=i.concat.apply(i,t):i.push(t)}for(e=0;e<t.length;e++)o(t[e]);if(i.length)for(e=0;e<i.length;e++)n=i[e].field,r[n]=r[n]||[],r[n].push(i[e]);else i=null,r=null;c(i,r)}},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!==typeof t.validator&&t.type&&!ut.hasOwnProperty(t.type))throw new Error(u("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"===typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?ut.required:ut[this.getType(t)]||!1}},ft.register=function(t,e){if("function"!==typeof e)throw new Error("Cannot register a validator by type, validator is not a function");ut[t]=e},ft.messages=ht;e["default"]=ft},a18f:function(t,e,n){var i=n("3a56"),r=i.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=r},a38d:function(t,e,n){var i=n("2306"),r=n("392f"),o=n("9680"),a=n("68ab"),s=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r<n.length;){var o=n[r++];if(o>0){t.moveTo(n[r++],n[r++]);for(var a=1;a<o;a++)t.lineTo(n[r++],n[r++])}}else for(r=0;r<n.length;){var s=n[r++],l=n[r++],u=n[r++],c=n[r++];if(t.moveTo(s,l),i>0){var h=(s+u)/2-(l-c)*i,f=(l+c)/2-(u-s)*i;t.quadraticCurveTo(h,f,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,i=n.segs,r=n.curveness;if(n.polyline)for(var s=0,l=0;l<i.length;){var u=i[l++];if(u>0)for(var c=i[l++],h=i[l++],f=1;f<u;f++){var d=i[l++],p=i[l++];if(o.containStroke(c,h,d,p))return s}s++}else for(s=0,l=0;l<i.length;){c=i[l++],h=i[l++],d=i[l++],p=i[l++];if(r>0){var g=(c+d)/2-(h-p)*r,v=(h+p)/2-(d-c)*r;if(a.containStroke(c,h,g,v,d,p))return s}else if(o.containStroke(c,h,d,p))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=l;t.exports=c},a38e:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("53ca");n("8172"),n("efec"),n("a4d3"),n("e01a"),n("d3b7"),n("d9e2"),n("a9e3");function r(t,e){if("object"!==Object(i["a"])(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Object(i["a"])(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function o(t){var e=r(t,"string");return"symbol"===Object(i["a"])(e)?e:String(e)}},a3de:function(t,e,n){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};t.exports=r},a434:function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("23cb"),a=n("5926"),s=n("07fa"),l=n("3a34"),u=n("3511"),c=n("65f0"),h=n("8418"),f=n("083a"),d=n("1dde"),p=d("splice"),g=Math.max,v=Math.min;i({target:"Array",proto:!0,forced:!p},{splice:function(t,e){var n,i,d,p,m,y,b=r(this),_=s(b),x=o(t,_),w=arguments.length;for(0===w?n=i=0:1===w?(n=0,i=_-x):(n=w-2,i=v(g(a(e),0),_-x)),u(_+n-i),d=c(b,i),p=0;p<i;p++)m=x+p,m in b&&h(d,p,b[m]);if(d.length=i,n<i){for(p=x;p<_-i;p++)m=p+i,y=p+n,m in b?b[y]=b[m]:f(b,y);for(p=_;p>_-i+n;p--)f(b,p-1)}else if(n>i)for(p=_-i;p>x;p--)m=p+i-1,y=p+n-1,m in b?b[y]=b[m]:f(b,y);for(p=0;p<n;p++)b[p+x]=arguments[p+2];return l(b,_-i+n),d}})},a4b1:function(t,e,n){var i=n("3eba");n("00ba"),n("4d62");var r=n("98e7"),o=n("24b9"),a=n("d3f4");i.registerVisual(r("funnel")),i.registerLayout(o),i.registerProcessor(a("funnel"))},a4b4:function(t,e,n){var i=n("342f");t.exports=/web0s(?!.*chrome)/i.test(i)},a4d3:function(t,e,n){n("d9f5"),n("b4f8"),n("c513"),n("e9c4"),n("5a47")},a4fe:function(t,e,n){var i=n("3eba"),r="\0_ec_interaction_mutex";function o(t,e,n){var i=l(t);i[e]=n}function a(t,e,n){var i=l(t),r=i[e];r===n&&(i[e]=null)}function s(t,e){return!!l(t)[e]}function l(t){return t[r]||(t[r]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=o,e.release=a,e.isTaken=s},a5d8:function(t,e,n){},a630:function(t,e,n){var i=n("23e7"),r=n("4df4"),o=n("1c7e"),a=!o((function(t){Array.from(t)}));i({target:"Array",stat:!0,forced:a},{from:r})},a640:function(t,e,n){"use strict";var i=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){return 1},1)}))}},a666:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2306"),a=n("0c41"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=i.extendChartView({type:"map",render:function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id){o=this._mapDraw;o&&r.add(o.group)}else if(t.needsDrawMap){var o=this._mapDraw||new a(n,!0);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,n){var i=t.originalData,a=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var u=i.getItemLayout(n);if(u&&u.point){var f=u.point,d=u.offset,p=new o.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:f[0]+9*d,cy:f[1],r:3},silent:!0,z2:8+(d?0:o.Z2_EMPHASIS_LIFT+1)});if(!d){var g=t.mainSeries.getData(),v=i.getName(n),m=g.indexOfName(v),y=i.getItemModel(n),b=y.getModel("label"),_=y.getModel("emphasis.label"),x=g.getItemGraphicEl(m),w=r.retrieve2(t.getFormattedLabel(m,"normal"),v),S=r.retrieve2(t.getFormattedLabel(m,"emphasis"),w),C=x[s],T=Math.random();if(!C){C=x[s]={};var A=r.curry(c,!0),O=r.curry(c,!1);x.on("mouseover",A).on("mouseout",O).on("emphasis",A).on("normal",O)}x[l]=T,r.extend(C,{recordVersion:T,circle:p,labelModel:b,hoverLabelModel:_,emphasisText:S,normalText:w}),h(C,!1)}a.add(p)}}}))}});function c(t){var e=this[s];e&&e.recordVersion===this[l]&&h(e,t)}function h(t,e){var n=t.circle,i=t.labelModel,r=t.hoverLabelModel,a=t.emphasisText,s=t.normalText;e?(n.style.extendFrom(o.setTextStyle({},r,{text:r.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(n.style,i,{text:i.get("show")?s:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}t.exports=u},a73c:function(t,e,n){var i=n("6d8b"),r=i.retrieve2,o=i.retrieve3,a=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=n("e86a"),h=n("5693"),f=n("5e76"),d=n("7d6d"),p=n("82eb"),g=p.ContextCachedBy,v=p.WILL_BE_RESTORED,m=c.DEFAULT_FONT,y={left:1,right:1,center:1},b={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],x={},w={};function S(t){return C(t),a(t.rich,C),t}function C(t){if(t){t.font=c.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||b[n]?n:"top";var i=t.textPadding;i&&(t.textPadding=s(t.textPadding))}}function T(t,e,n,i,r,o){i.rich?O(t,e,n,i,r,o):A(t,e,n,i,r,o)}function A(t,e,n,i,r,o){"use strict";var a,s=E(i),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;o!==v?(o&&(a=o.style,l=!s&&u&&a),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var h=i.font||m;l&&h===(a.font||m)||(e.font=h);var f=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,f=t.__computedFont=e.font);var p=i.textPadding,y=i.textLineHeight,b=t.__textCotentBlock;b&&!t.__dirtyText||(b=t.__textCotentBlock=c.parsePlainText(n,f,p,y,i.truncate));var x=b.outerHeight,S=b.lines,C=b.lineHeight,T=L(w,t,i,r),A=T.baseX,O=T.baseY,M=T.textAlign||"left",I=T.textVerticalAlign;k(e,i,r,A,O);var D=c.adjustTextY(O,x,I),R=A,B=D;if(s||p){var z=c.getWidth(n,f),V=z;p&&(V+=p[1]+p[3]);var H=c.adjustTextX(A,V,M);s&&P(t,e,i,H,D,V,x),p&&(R=F(A,M,p),B+=p[0])}e.textAlign=M,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var G=0;G<_.length;G++){var W=_[G],q=W[0],U=W[1],Y=i[q];l&&Y===a[q]||(e[U]=d(e,U,Y||W[2]))}B+=C/2;var X=i.textStrokeWidth,$=l?a.textStrokeWidth:null,Z=!l||X!==$,K=!l||Z||i.textStroke!==a.textStroke,J=N(i.textStroke,X),Q=j(i.textFill);if(J&&(Z&&(e.lineWidth=X),K&&(e.strokeStyle=J)),Q&&(l&&i.textFill===a.textFill||(e.fillStyle=Q)),1===S.length)J&&e.strokeText(S[0],R,B),Q&&e.fillText(S[0],R,B);else for(G=0;G<S.length;G++)J&&e.strokeText(S[G],R,B),Q&&e.fillText(S[G],R,B),B+=C}function O(t,e,n,i,r,o){o!==v&&(e.__attrCachedBy=g.NONE);var a=t.__textCotentBlock;a&&!t.__dirtyText||(a=t.__textCotentBlock=c.parseRichText(n,i)),M(t,e,a,i,r)}function M(t,e,n,i,r){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=L(w,t,i,r),h=u.baseX,f=u.baseY,d=u.textAlign,p=u.textVerticalAlign;k(e,i,r,h,f);var g=c.adjustTextX(h,a,d),v=c.adjustTextY(f,s,p),m=g,y=v;l&&(m+=l[3],y+=l[0]);var b=m+o;E(i)&&P(t,e,i,g,v,a,s);for(var _=0;_<n.lines.length;_++){var x,S=n.lines[_],C=S.tokens,T=C.length,A=S.lineHeight,O=S.width,M=0,D=m,R=b,N=T-1;while(M<T&&(x=C[M],!x.textAlign||"left"===x.textAlign))I(t,e,x,i,A,y,D,"left"),O-=x.width,D+=x.width,M++;while(N>=0&&(x=C[N],"right"===x.textAlign))I(t,e,x,i,A,y,R,"right"),O-=x.width,R-=x.width,N--;D+=(o-(D-m)-(b-R)-O)/2;while(M<=N)x=C[M],I(t,e,x,i,A,y,D+x.width/2,"center"),D+=x.width,M++;y+=A}}function k(t,e,n,i,r){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function I(t,e,n,i,a,s,l,u){var c=i.rich[n.styleName]||{};c.text=n.text;var h=n.textVerticalAlign,f=s+a/2;"top"===h?f=s+n.height/2:"bottom"===h&&(f=s+a-n.height/2),!n.isLineHolder&&E(c)&&P(t,e,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,f-n.height/2,n.width,n.height);var d=n.textPadding;d&&(l=F(l,u,d),f-=n.height/2-d[2]-n.textHeight/2),R(e,"shadowBlur",o(c.textShadowBlur,i.textShadowBlur,0)),R(e,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),R(e,"shadowOffsetX",o(c.textShadowOffsetX,i.textShadowOffsetX,0)),R(e,"shadowOffsetY",o(c.textShadowOffsetY,i.textShadowOffsetY,0)),R(e,"textAlign",u),R(e,"textBaseline","middle"),R(e,"font",n.font||m);var p=N(c.textStroke||i.textStroke,v),g=j(c.textFill||i.textFill),v=r(c.textStrokeWidth,i.textStrokeWidth);p&&(R(e,"lineWidth",v),R(e,"strokeStyle",p),e.strokeText(n.text,l,f)),g&&(R(e,"fillStyle",g),e.fillText(n.text,l,f))}function E(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function P(t,e,n,i,r,o,a){var s=n.textBackgroundColor,c=n.textBorderWidth,d=n.textBorderColor,p=l(s);if(R(e,"shadowBlur",n.textBoxShadowBlur||0),R(e,"shadowColor",n.textBoxShadowColor||"transparent"),R(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),R(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&d){e.beginPath();var g=n.textBorderRadius;g?h.buildPath(e,{x:i,y:r,width:o,height:a,r:g}):e.rect(i,r,o,a),e.closePath()}if(p)if(R(e,"fillStyle",s),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(u(s)){var m=s.image;m=f.createOrUpdateImage(m,null,t,D,s),m&&f.isImageReady(m)&&e.drawImage(m,i,r,o,a)}if(c&&d)if(R(e,"lineWidth",c),R(e,"strokeStyle",d),null!=n.strokeOpacity){v=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function D(t,e){e.image=t}function L(t,e,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+B(l[0],i.width),o=i.y+B(l[1],i.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(x,n,i):c.calculateTextPosition(x,n,i);r=u.x,o=u.y,a=a||u.textAlign,s=s||u.textVerticalAlign}var h=n.textOffset;h&&(r+=h[0],o+=h[1])}return t=t||{},t.baseX=r,t.baseY=o,t.textAlign=a,t.textVerticalAlign=s,t}function R(t,e,n){return t[e]=d(t,e,n),t[e]}function N(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function j(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function B(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function F(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function z(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=S,e.renderText=T,e.getBoxPosition=L,e.getStroke=N,e.getFill=j,e.parsePercent=B,e.needDrawText=z},a753:function(t,e,n){},a7531:function(t,e,n){var i=n("1f0e"),r=n("2306"),o=n("e887"),a=n("3842"),s=a.parsePercent,l=a.round,u=a.linearMap;function c(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r),a=s(n[0],e.getWidth()),l=s(n[1],e.getHeight()),u=s(t.get("radius"),o/2);return{cx:a,cy:l,r:u}}function h(t,e){return e&&("string"===typeof e?t=e.replace("{value}",null!=t?t:""):"function"===typeof e&&(t=e(t))),t}var f=2*Math.PI,d=o.extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var i=t.get("axisLine.lineStyle.color"),r=c(t,n);this._renderMain(t,e,n,i,r)},dispose:function(){},_renderMain:function(t,e,n,i,o){for(var a=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),u=t.get("clockwise"),c=-t.get("startAngle")/180*Math.PI,h=-t.get("endAngle")/180*Math.PI,d=(h-c)%f,p=c,g=l.get("width"),v=s.get("show"),m=0;v&&m<i.length;m++){var y=Math.min(Math.max(i[m][0],0),1),b=(h=c+d*y,new r.Sector({shape:{startAngle:p,endAngle:h,cx:o.cx,cy:o.cy,clockwise:u,r0:o.r-g,r:o.r},silent:!0}));b.setStyle({fill:i[m][1]}),b.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),a.add(b),p=h}var _=function(t){if(t<=0)return i[0][1];for(var e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};if(!u){var x=c;c=h,h=x}this._renderTicks(t,e,n,_,o,c,h,u),this._renderPointer(t,e,n,_,o,c,h,u),this._renderTitle(t,e,n,_,o),this._renderDetail(t,e,n,_,o)},_renderTicks:function(t,e,n,i,o,a,u,c){for(var f=this.group,d=o.cx,p=o.cy,g=o.r,v=+t.get("min"),m=+t.get("max"),y=t.getModel("splitLine"),b=t.getModel("axisTick"),_=t.getModel("axisLabel"),x=t.get("splitNumber"),w=b.get("splitNumber"),S=s(y.get("length"),g),C=s(b.get("length"),g),T=a,A=(u-a)/x,O=A/w,M=y.getModel("lineStyle").getLineStyle(),k=b.getModel("lineStyle").getLineStyle(),I=0;I<=x;I++){var E=Math.cos(T),P=Math.sin(T);if(y.get("show")){var D=new r.Line({shape:{x1:E*g+d,y1:P*g+p,x2:E*(g-S)+d,y2:P*(g-S)+p},style:M,silent:!0});"auto"===M.stroke&&D.setStyle({stroke:i(I/x)}),f.add(D)}if(_.get("show")){var L=h(l(I/x*(m-v)+v),_.get("formatter")),R=_.get("distance"),N=i(I/x);f.add(new r.Text({style:r.setTextStyle({},_,{text:L,x:E*(g-S-R)+d,y:P*(g-S-R)+p,textVerticalAlign:P<-.4?"top":P>.4?"bottom":"middle",textAlign:E<-.4?"left":E>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(b.get("show")&&I!==x){for(var j=0;j<=w;j++){E=Math.cos(T),P=Math.sin(T);var B=new r.Line({shape:{x1:E*g+d,y1:P*g+p,x2:E*(g-C)+d,y2:P*(g-C)+p},silent:!0,style:k});"auto"===k.stroke&&B.setStyle({stroke:i((I+j/w)/x)}),f.add(B),T+=O}T-=O}else T+=A}},_renderPointer:function(t,e,n,o,a,l,c,h){var f=this.group,d=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],v=t.getData(),m=v.mapDimension("value");v.diff(d).add((function(e){var n=new i({shape:{angle:l}});r.initProps(n,{shape:{angle:u(v.get(m,e),p,g,!0)}},t),f.add(n),v.setItemGraphicEl(e,n)})).update((function(e,n){var i=d.getItemGraphicEl(n);r.updateProps(i,{shape:{angle:u(v.get(m,e),p,g,!0)}},t),f.add(i),v.setItemGraphicEl(e,i)})).remove((function(t){var e=d.getItemGraphicEl(t);f.remove(e)})).execute(),v.eachItemGraphicEl((function(t,e){var n=v.getItemModel(e),i=n.getModel("pointer");t.setShape({x:a.cx,y:a.cy,width:s(i.get("width"),a.r),r:s(i.get("length"),a.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",o(u(v.get(m,e),p,[0,1],!0))),r.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=v}else d&&d.eachItemGraphicEl((function(t){f.remove(t)}))},_renderTitle:function(t,e,n,i,o){var a=t.getData(),l=a.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),f=o.cx+s(h[0],o.r),d=o.cy+s(h[1],o.r),p=+t.get("min"),g=+t.get("max"),v=t.getData().get(l,0),m=i(u(v,[p,g],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},c,{x:f,y:d,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:m,forceRich:!0})}))}},_renderDetail:function(t,e,n,i,o){var a=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(a.get("show")){var f=a.get("offsetCenter"),d=o.cx+s(f[0],o.r),p=o.cy+s(f[1],o.r),g=s(a.get("width"),o.r),v=s(a.get("height"),o.r),m=t.getData(),y=m.get(m.mapDimension("value"),0),b=i(u(y,[l,c],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},a,{x:d,y:p,text:h(y,a.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:b,forceRich:!0})}))}}}),p=d;t.exports=p},a79d:function(t,e,n){"use strict";var i=n("23e7"),r=n("c430"),o=n("d256"),a=n("d039"),s=n("d066"),l=n("1626"),u=n("4840"),c=n("cdf9"),h=n("cb2d"),f=o&&o.prototype,d=!!o&&a((function(){f["finally"].call({then:function(){}},(function(){}))}));if(i({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(t){var e=u(this,s("Promise")),n=l(t);return this.then(n?function(n){return c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}}),!r&&l(o)){var p=s("Promise").prototype["finally"];f["finally"]!==p&&h(f,"finally",p,{unsafe:!0})}},a7e2:function(t,e,n){var i=n("3eba");n("7293"),n("ae46");var r=n("6582"),o=n("ee98");i.registerLayout(r),i.registerVisual(o)},a7f2:function(t,e){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function i(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}t.exports=i},a87d:function(t,e,n){var i=n("22d1"),r=n("401b"),o=r.applyTransform,a=n("9850"),s=n("41ef"),l=n("e86a"),u=n("a73c"),c=n("9e2e"),h=n("19eb"),f=n("0da8"),d=n("76a5"),p=n("cbe5"),g=n("20c8"),v=n("42e5"),m=n("d3a4"),y=g.CMD,b=Math.round,_=Math.sqrt,x=Math.abs,w=Math.cos,S=Math.sin,C=Math.max;if(!i.canvasSupported){var T=",",A="progid:DXImageTransform.Microsoft",O=21600,M=O/2,k=1e5,I=1e3,E=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=O+","+O,t.coordorigin="0,0"},P=function(t){return String(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},D=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},L=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},R=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},N=function(t,e,n){return(parseFloat(t)||0)*k+(parseFloat(e)||0)*I+n},j=u.parsePercent,B=function(t,e,n){var i=s.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=D(i[0],i[1],i[2]),t.opacity=n*i[3])},F=function(t){var e=s.parse(t);return[D(e[0],e[1],e[2]),e[3]]},z=function(t,e,n){var i=e.fill;if(null!=i)if(i instanceof v){var r,a=0,s=[0,0],l=0,u=1,c=n.getBoundingRect(),h=c.width,f=c.height;if("linear"===i.type){r="gradient";var d=n.transform,p=[i.x*h,i.y*f],g=[i.x2*h,i.y2*f];d&&(o(p,p,d),o(g,g,d));var m=g[0]-p[0],y=g[1]-p[1];a=180*Math.atan2(m,y)/Math.PI,a<0&&(a+=360),a<1e-6&&(a=0)}else{r="gradientradial";p=[i.x*h,i.y*f],d=n.transform;var b=n.scale,_=h,x=f;s=[(p[0]-c.x)/_,(p[1]-c.y)/x],d&&o(p,p,d),_/=b[0]*O,x/=b[1]*O;var w=C(_,x);l=0/w,u=2*i.r/w-l}var S=i.colorStops.slice();S.sort((function(t,e){return t.offset-e.offset}));for(var T=S.length,A=[],M=[],k=0;k<T;k++){var I=S[k],E=F(I.color);M.push(I.offset*u+l+" "+E[0]),0!==k&&k!==T-1||A.push(E)}if(T>=2){var P=A[0][0],D=A[1][0],L=A[0][1]*e.opacity,R=A[1][1]*e.opacity;t.type=r,t.method="none",t.focus="100%",t.angle=a,t.color=P,t.color2=D,t.colors=M.join(","),t.opacity=R,t.opacity2=L}"radial"===r&&(t.focusposition=s.join(","))}else B(t,i,e.opacity)},V=function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof v||B(t,e.stroke,e.opacity)},H=function(t,e,n,i){var r="fill"===e,o=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof v&&R(t,o),o||(o=m.createNode(e)),r?z(o,n,i):V(o,n),L(t,o)):(t[r?"filled":"stroked"]="false",R(t,o))},G=[[],[],[]],W=function(t,e){var n,i,r,a,s,l,u=y.M,c=y.C,h=y.L,f=y.A,d=y.Q,p=[],g=t.data,v=t.len();for(a=0;a<v;){switch(r=g[a++],i="",n=0,r){case u:i=" m ",n=1,s=g[a++],l=g[a++],G[0][0]=s,G[0][1]=l;break;case h:i=" l ",n=1,s=g[a++],l=g[a++],G[0][0]=s,G[0][1]=l;break;case d:case c:i=" c ",n=3;var m,x,C=g[a++],A=g[a++],k=g[a++],I=g[a++];r===d?(m=k,x=I,k=(k+2*C)/3,I=(I+2*A)/3,C=(s+2*C)/3,A=(l+2*A)/3):(m=g[a++],x=g[a++]),G[0][0]=C,G[0][1]=A,G[1][0]=k,G[1][1]=I,G[2][0]=m,G[2][1]=x,s=m,l=x;break;case f:var E=0,P=0,D=1,L=1,R=0;e&&(E=e[4],P=e[5],D=_(e[0]*e[0]+e[1]*e[1]),L=_(e[2]*e[2]+e[3]*e[3]),R=Math.atan2(-e[1]/L,e[0]/D));var N=g[a++],j=g[a++],B=g[a++],F=g[a++],z=g[a++]+R,V=g[a++]+z+R;a++;var H=g[a++],W=N+w(z)*B,q=j+S(z)*F,U=(C=N+w(V)*B,A=j+S(V)*F,H?" wa ":" at ");Math.abs(W-C)<1e-4&&(Math.abs(V-z)>.01?H&&(W+=270/O):Math.abs(q-j)<1e-4?H&&W<N||!H&&W>N?A-=270/O:A+=270/O:H&&q<j||!H&&q>j?C+=270/O:C-=270/O),p.push(U,b(((N-B)*D+E)*O-M),T,b(((j-F)*L+P)*O-M),T,b(((N+B)*D+E)*O-M),T,b(((j+F)*L+P)*O-M),T,b((W*D+E)*O-M),T,b((q*L+P)*O-M),T,b((C*D+E)*O-M),T,b((A*L+P)*O-M)),s=C,l=A;break;case y.R:var Y=G[0],X=G[1];Y[0]=g[a++],Y[1]=g[a++],X[0]=Y[0]+g[a++],X[1]=Y[1]+g[a++],e&&(o(Y,Y,e),o(X,X,e)),Y[0]=b(Y[0]*O-M),X[0]=b(X[0]*O-M),Y[1]=b(Y[1]*O-M),X[1]=b(X[1]*O-M),p.push(" m ",Y[0],T,Y[1]," l ",X[0],T,Y[1]," l ",X[0],T,X[1]," l ",Y[0],T,X[1]);break;case y.Z:p.push(" x ")}if(n>0){p.push(i);for(var $=0;$<n;$++){var Z=G[$];e&&o(Z,Z,e),p.push(b(Z[0]*O-M),T,b(Z[1]*O-M),$<n-1?T:"")}}}return p.join("")};p.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),E(n),this._vmlEl=n),H(n,"fill",e,this),H(n,"stroke",e,this);var i=this.transform,r=null!=i,o=n.getElementsByTagName("stroke")[0];if(o){var a=e.lineWidth;if(r&&!e.strokeNoScale){var s=i[0]*i[3]-i[1]*i[2];a*=_(x(s))}o.weight=a+"px"}var l=this.path||(this.path=new g);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=W(l,this.transform),n.style.zIndex=N(this.zlevel,this.z,this.z2),L(t,n),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},p.prototype.onRemove=function(t){R(t,this._vmlEl),this.removeRectText(t)},p.prototype.onAdd=function(t){L(t,this._vmlEl),this.appendRectText(t)};var q=function(t){return"object"===typeof t&&t.tagName&&"IMG"===t.tagName.toUpperCase()};f.prototype.brushVML=function(t){var e,n,i=this.style,r=i.image;if(q(r)){var a=r.src;if(a===this._imageSrc)e=this._imageWidth,n=this._imageHeight;else{var s=r.runtimeStyle,l=s.width,u=s.height;s.width="auto",s.height="auto",e=r.width,n=r.height,s.width=l,s.height=u,this._imageSrc=a,this._imageWidth=e,this._imageHeight=n}r=a}else r===this._imageSrc&&(e=this._imageWidth,n=this._imageHeight);if(r){var c=i.x||0,h=i.y||0,f=i.width,d=i.height,p=i.sWidth,g=i.sHeight,v=i.sx||0,y=i.sy||0,x=p&&g,w=this._vmlEl;w||(w=m.doc.createElement("div"),E(w),this._vmlEl=w);var S,O=w.style,M=!1,k=1,I=1;if(this.transform&&(S=this.transform,k=_(S[0]*S[0]+S[1]*S[1]),I=_(S[2]*S[2]+S[3]*S[3]),M=S[1]||S[2]),M){var P=[c,h],D=[c+f,h],R=[c,h+d],j=[c+f,h+d];o(P,P,S),o(D,D,S),o(R,R,S),o(j,j,S);var B=C(P[0],D[0],R[0],j[0]),F=C(P[1],D[1],R[1],j[1]),z=[];z.push("M11=",S[0]/k,T,"M12=",S[2]/I,T,"M21=",S[1]/k,T,"M22=",S[3]/I,T,"Dx=",b(c*k+S[4]),T,"Dy=",b(h*I+S[5])),O.padding="0 "+b(B)+"px "+b(F)+"px 0",O.filter=A+".Matrix("+z.join("")+", SizingMethod=clip)"}else S&&(c=c*k+S[4],h=h*I+S[5]),O.filter="",O.left=b(c)+"px",O.top=b(h)+"px";var V=this._imageEl,H=this._cropEl;V||(V=m.doc.createElement("div"),this._imageEl=V);var G=V.style;if(x){if(e&&n)G.width=b(k*e*f/p)+"px",G.height=b(I*n*d/g)+"px";else{var W=new Image,U=this;W.onload=function(){W.onload=null,e=W.width,n=W.height,G.width=b(k*e*f/p)+"px",G.height=b(I*n*d/g)+"px",U._imageWidth=e,U._imageHeight=n,U._imageSrc=r},W.src=r}H||(H=m.doc.createElement("div"),H.style.overflow="hidden",this._cropEl=H);var Y=H.style;Y.width=b((f+v*f/p)*k),Y.height=b((d+y*d/g)*I),Y.filter=A+".Matrix(Dx="+-v*f/p*k+",Dy="+-y*d/g*I+")",H.parentNode||w.appendChild(H),V.parentNode!==H&&H.appendChild(V)}else G.width=b(k*f)+"px",G.height=b(I*d)+"px",w.appendChild(V),H&&H.parentNode&&(w.removeChild(H),this._cropEl=null);var X="",$=i.opacity;$<1&&(X+=".Alpha(opacity="+b(100*$)+") "),X+=A+".AlphaImageLoader(src="+r+", SizingMethod=scale)",G.filter=X,w.style.zIndex=N(this.zlevel,this.z,this.z2),L(t,w),null!=i.text&&this.drawRectText(t,this.getBoundingRect())}},f.prototype.onRemove=function(t){R(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},f.prototype.onAdd=function(t){L(t,this._vmlEl),this.appendRectText(t)};var U,Y="normal",X={},$=0,Z=100,K=document.createElement("div"),J=function(t){var e=X[t];if(!e){$>Z&&($=0,X={});var n,i=K.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(r){}e={style:i.fontStyle||Y,variant:i.fontVariant||Y,weight:i.fontWeight||Y,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},X[t]=e,$++}return e};l.$override("measureText",(function(t,e){var n=m.doc;U||(U=n.createElement("div"),U.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(U));try{U.style.font=e}catch(i){}return U.innerHTML="",U.appendChild(n.createTextNode(t)),{width:U.offsetWidth}}));for(var Q=new a,tt=function(t,e,n,i){var r=this.style;this.__dirty&&u.normalizeTextStyle(r,!0);var a=r.text;if(null!=a&&(a+=""),a){if(r.rich){var s=l.parseRichText(a,r);a=[];for(var c=0;c<s.lines.length;c++){for(var h=s.lines[c].tokens,f=[],d=0;d<h.length;d++)f.push(h[d].text);a.push(f.join(""))}a=a.join("\n")}var p,g,v=r.textAlign,y=r.textVerticalAlign,_=J(r.font),x=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||l.getBoundingRect(a,x,v,y,r.textPadding,r.textLineHeight);var w=this.transform;if(w&&!i&&(Q.copy(e),Q.applyTransform(w),e=Q),i)p=e.x,g=e.y;else{var S=r.textPosition;if(S instanceof Array)p=e.x+j(S[0],e.width),g=e.y+j(S[1],e.height),v=v||"left";else{var C=this.calculateTextPosition?this.calculateTextPosition({},r,e):l.calculateTextPosition({},r,e);p=C.x,g=C.y,v=v||C.textAlign,y=y||C.textVerticalAlign}}p=l.adjustTextX(p,n.width,v),g=l.adjustTextY(g,n.height,y),g+=n.height/2;var A,O,M,k=m.createNode,I=this._textVmlEl;I?(M=I.firstChild,A=M.nextSibling,O=A.nextSibling):(I=k("line"),A=k("path"),O=k("textpath"),M=k("skew"),O.style["v-text-align"]="left",E(I),A.textpathok=!0,O.on=!0,I.from="0 0",I.to="1000 0.05",L(I,M),L(I,A),L(I,O),this._textVmlEl=I);var D=[p,g],R=I.style;w&&i?(o(D,D,w),M.on=!0,M.matrix=w[0].toFixed(3)+T+w[2].toFixed(3)+T+w[1].toFixed(3)+T+w[3].toFixed(3)+",0,0",M.offset=(b(D[0])||0)+","+(b(D[1])||0),M.origin="0 0",R.left="0px",R.top="0px"):(M.on=!1,R.left=b(p)+"px",R.top=b(g)+"px"),O.string=P(a);try{O.style.font=x}catch(B){}H(I,"fill",{fill:r.textFill,opacity:r.opacity},this),H(I,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash||null},this),I.style.zIndex=N(this.zlevel,this.z,this.z2),L(t,I)}},et=function(t){R(t,this._textVmlEl),this._textVmlEl=null},nt=function(t){L(t,this._textVmlEl)},it=[c,h,f,p,d],rt=0;rt<it.length;rt++){var ot=it[rt].prototype;ot.drawRectText=tt,ot.removeRectText=et,ot.appendRectText=nt}d.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},d.prototype.onRemove=function(t){this.removeRectText(t)},d.prototype.onAdd=function(t){this.appendRectText(t)}}},a890:function(t,e,n){var i=n("0655"),r=n("9850"),o=n("2306"),a=o.linePolygonIntersect,s={lineX:l(0),lineY:l(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&i.contain(n.range,t[0],t[1])},rect:function(t,e,n){var o=n.range;if(!t||o.length<=1)return!1;var s=t.x,l=t.y,u=t.width,c=t.height,h=o[0];return!!(i.contain(o,s,l)||i.contain(o,s+u,l)||i.contain(o,s,l+c)||i.contain(o,s+u,l+c)||r.create(t).contain(h[0],h[1])||a(s,l,s+u,l,o)||a(s,l,s,l+c,o)||a(s+u,l,s+u,l+c,o)||a(s,l+c,s+u,l+c,o))||void 0}}};function l(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range,o=e[t];return u(o,r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),u(s[0],a)||u(s[1],a)||u(a[0],s)||u(a[1],s)}}}}function u(t,e){return e[0]<=t&&t<=e[1]}var c=s;t.exports=c},a8c6:function(t,e,n){var i=n("2449"),r=i.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});t.exports=r},a96b:function(t,e,n){var i=n("3eba"),r=i.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=r},a991:function(t,e,n){var i=n("6d8b"),r=n("e86a"),o=n("84ce"),a=n("e0d3"),s=a.makeInner,l=s();function u(t,e){e=e||[0,360],o.call(this,"angle",t,e),this.type="category"}u.prototype={constructor:u,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),o=n.count();if(i[1]-i[0]<1)return 0;var a=i[0],s=t.dataToCoord(a+1)-t.dataToCoord(a),u=Math.abs(s),c=r.getBoundingRect(a,e.getFont(),"center","top"),h=Math.max(c.height,7),f=h/u;isNaN(f)&&(f=1/0);var d=Math.max(0,Math.floor(f)),p=l(t.model),g=p.lastAutoInterval,v=p.lastTickCount;return null!=g&&null!=v&&Math.abs(g-d)<=1&&Math.abs(v-o)<=1&&g>d?d=g:(p.lastTickCount=o,p.lastAutoInterval=d),d}},i.inherits(u,o);var c=u;t.exports=c},a9e3:function(t,e,n){"use strict";var i=n("83ab"),r=n("da84"),o=n("e330"),a=n("94ca"),s=n("cb2d"),l=n("1a2d"),u=n("7156"),c=n("3a9b"),h=n("d9b5"),f=n("c04e"),d=n("d039"),p=n("241c").f,g=n("06cf").f,v=n("9bf2").f,m=n("408a"),y=n("58a8").trim,b="Number",_=r[b],x=_.prototype,w=r.TypeError,S=o("".slice),C=o("".charCodeAt),T=function(t){var e=f(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,n,i,r,o,a,s,l,u=f(t,"number");if(h(u))throw w("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),e=C(u,0),43===e||45===e){if(n=C(u,2),88===n||120===n)return NaN}else if(48===e){switch(C(u,1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+u}for(o=S(u,2),a=o.length,s=0;s<a;s++)if(l=C(o,s),l<48||l>r)return NaN;return parseInt(o,i)}return+u};if(a(b,!_(" 0o1")||!_("0b1")||_("+0x1"))){for(var O,M=function(t){var e=arguments.length<1?0:_(T(t)),n=this;return c(x,n)&&d((function(){m(n)}))?u(Object(e),n,M):e},k=i?p(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),I=0;k.length>I;I++)l(_,O=k[I])&&!l(M,O)&&v(M,O,g(_,O));M.prototype=x,x.constructor=M,s(r,b,M,{constructor:!0})}},aa01:function(t,e,n){var i=n("6d8b"),r=n("4f85"),o=n("06c7"),a=n("4319"),s=n("55ac"),l=s.wrapTreePathInfo,u=r.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data};c(n);var r=i.map(t.levels||[],(function(t){return new a(t,this,e)}),this),s=o.createTree(n,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=r[n.depth];return i&&(t.parentModel=i),t}))}return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=l(n,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function c(t){var e=0;i.each(t.children,(function(t){c(t);var n=t.value;i.isArray(n)&&(n=n[0]),e+=n}));var n=t.value;i.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),i.isArray(t.value)?t.value[0]=n:t.value=n}t.exports=u},aa3e:function(t,e,n){var i=n("6d8b");function r(t,e){return e=e||[0,0],i.map(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function o(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(r,t)}}}t.exports=o},aadf:function(t,e,n){var i=n("3eba"),r=n("6d8b");n("5aa9"),n("d6d9"),n("3329");var o=n("9d57"),a=o.layout,s=n("7f96");n("01ed"),i.registerLayout(r.curry(a,"pictorialBar")),i.registerVisual(s("pictorialBar","roundRect"))},ab05:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2b8c"),a=n("5f14"),s=i.PRIORITY.VISUAL.COMPONENT;function l(t,e,n,i){for(var r=e.targetVisuals[i],o=a.prepareVisualTypes(r),s={color:t.getData().getVisual("color")},l=0,u=o.length;l<u;l++){var c=o[l],h=r["opacity"===c?"__alphaForOpacity":c];h&&h.applyVisual(n,f,d)}return s.color;function f(t){return s[t]}function d(t,e){s[t]=e}}i.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i=t.pipelineContext;!e.isTargetSeries(t)||i&&i.large||n.push(o.incrementalApplyVisual(e.stateList,e.targetVisuals,r.bind(e.getValueState,e),e.getDataDimension(t.getData())))})),n}}),i.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var o=e.getVisualMeta(r.bind(l,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimension(n),s=n.getDimensionInfo(a);null!=s&&(o.dimension=s.index,i.push(o))}})),t.getData().setVisual("visualMeta",i)}})},ab13:function(t,e,n){var i=n("b622"),r=i("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(i){}}return!1}},ab36:function(t,e,n){var i=n("861d"),r=n("9112");t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},ab71:function(t,e){var n=["lineStyle","normal","opacity"],i={seriesType:"parallel",reset:function(t,e,i){var r=t.getModel("itemStyle"),o=t.getModel("lineStyle"),a=e.get("color"),s=o.get("color")||r.get("color")||a[t.seriesIndex%a.length],l=t.get("inactiveOpacity"),u=t.get("activeOpacity"),c=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,f=t.getData(),d={normal:c.opacity,active:u,inactive:l};function p(t,e){h.eachActiveState(e,(function(t,i){var r=d[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(i).get(n,!0);null!=o&&(r=o)}e.setItemVisual(i,"opacity",r)}),t.start,t.end)}return f.setVisual("color",s),{progress:p}}};t.exports=i},abff:function(t,e,n){var i=n("3eba"),r=n("f706"),o=n("c965"),a=n("87c3");i.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=a().reset(t);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,i=e.pipelineContext,a=i.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new o:new r,this._isLargeDraw=a,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},ac0f:function(t,e,n){var i=n("cbe5"),r=n("401b"),o=n("4a3f"),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,u=o.cubicAt,c=o.quadraticDerivativeAt,h=o.cubicDerivativeAt,f=[];function d(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?h:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?c:l)(t.x1,t.cpx1,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.y2,e)]}var p=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,d=e.percent;0!==d&&(t.moveTo(n,i),null==c||null==h?(d<1&&(a(n,l,r,d,f),l=f[1],r=f[2],a(i,u,o,d,f),u=f[1],o=f[2]),t.quadraticCurveTo(l,u,r,o)):(d<1&&(s(n,l,c,r,d,f),l=f[1],c=f[2],r=f[3],s(i,u,h,o,d,f),u=f[1],h=f[2],o=f[3]),t.bezierCurveTo(l,u,c,h,r,o)))},pointAt:function(t){return d(this.shape,t,!1)},tangentAt:function(t){var e=d(this.shape,t,!0);return r.normalize(e,e)}});t.exports=p},ac1f:function(t,e,n){"use strict";var i=n("23e7"),r=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},adda:function(t,e,n){var i=n("94e4"),r=i.circularLayout;function o(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&r(t,"symbolSize")}))}t.exports=o},adf4:function(t,e,n){var i=n("4f85"),r=n("b1d4"),o=n("2f45"),a=o.getDimensionTypeByAxis,s=n("6179"),l=n("6d8b"),u=n("e0d3"),c=u.groupData,h=n("eda2"),f=h.encodeHTML,d=n("c4a3"),p=2,g=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){g.superApply(this,"init",arguments),this.legendVisualProvider=new d(l.bind(this.getData,this),l.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n={},i=c(t,(function(t){return n.hasOwnProperty(t[0])||(n[t[0]]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0];n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[],t[e][0]=u,t[e][1]=0,t[e][2]=s,e++)}return t},getInitialData:function(t,e){for(var n=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],i=n.get("type"),o=l.filter(t.data,(function(t){return void 0!==t[2]})),u=this.fixData(o||[]),c=[],h=this.nameMap=l.createHashMap(),f=0,d=0;d<u.length;++d)c.push(u[d][p]),h.get(u[d][p])||(h.set(u[d][p],f),f++);var g=r(u,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:a(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),v=new s(g,this);return v.initData(u),v},getLayerSeries:function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=c(n,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),a.push({name:n,indices:e})})),a},getAxisTooltipData:function(t,e,n){l.isArray(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,h=-1,f=o[u].indices.length,d=0;d<f;++d){var p=r.get(t[0],o[u].indices[d]),g=Math.abs(p-e);g<=c&&(i=p,c=g,h=o[u].indices[d])}a.push(h)}return{dataIndices:a,nestestValue:i}},formatTooltip:function(t){var e=this.getData(),n=e.getName(t),i=e.get(e.mapDimension("value"),t);return(isNaN(i)||null==i)&&(i="-"),f(n+" : "+i)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),v=g;t.exports=v},ae46:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("73ca"),a=n("0fd3"),s=n("7e5b"),l=n("4527"),u=n("6a4c"),c=n("a38d"),h=n("6582"),f=n("b0af"),d=f.createClipPath,p=r.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&d(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=h.reset(t);o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),h=e.pipelineContext,f=h.large;return n&&i===this._hasEffet&&r===this._isPolyline&&f===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=f?new c:new o(r?i?u:l:i?a:s),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=f,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr(),n="svg"===e.painter.getType();n||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=p},ae69:function(t,e,n){var i=n("cbe5"),r=i.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()}});t.exports=r},ae75:function(t,e,n){var i=n("6d8b"),r=["rect","polygon","keep","clear"];function o(t,e){var n=t&&t.brush;if(i.isArray(n)||(n=n?[n]:[]),n.length){var o=[];i.each(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(o=o.concat(e))}));var s=t&&t.toolbox;i.isArray(s)&&(s=s[0]),s||(s={feature:{}},t.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,o),a(c),e&&!c.length&&c.push.apply(c,r)}}function a(t){var e={};i.each(t,(function(t){e[t]=1})),t.length=0,i.each(e,(function(e,n){t.push(n)}))}t.exports=o},ae93:function(t,e,n){"use strict";var i,r,o,a=n("d039"),s=n("1626"),l=n("861d"),u=n("7c73"),c=n("e163"),h=n("cb2d"),f=n("b622"),d=n("c430"),p=f("iterator"),g=!1;[].keys&&(o=[].keys(),"next"in o?(r=c(c(o)),r!==Object.prototype&&(i=r)):g=!0);var v=!l(i)||a((function(){var t={};return i[p].call(t)!==t}));v?i={}:d&&(i=u(i)),s(i[p])||h(i,p,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:g}},aeb0:function(t,e,n){var i=n("9bf2").f;t.exports=function(t,e,n){n in t||i(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},aed9:function(t,e,n){var i=n("83ab"),r=n("d039");t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},af03:function(t,e,n){var i=n("d039");t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},af24:function(t,e,n){n("48c7"),n("f273")},afa0:function(t,e,n){var i=n("6d8b"),r=n("22d1"),o=n("e1fc"),a=n("04f6");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,o=e.length;i<o;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,r.canvasSupported&&a(n,s)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var i=t.clipPath;if(i){e=e?e.slice():[];var r=i,o=t;while(r)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.clipPath}if(t.isGroup){for(var a=t._children,s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,n)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof o&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof o&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var r=t.length;e<r;e++)this.delRoot(t[e])}else{var a=i.indexOf(this._roots,t);a>=0&&(this.delFromStorage(t),this._roots.splice(a,1),t instanceof o&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},aff5:function(t,e,n){var i=n("23e7");i({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},b006:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("fab2"),a=n("fc82"),s=n("f4a2"),l=n("2306"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(t,e){c.superApply(this,"init",arguments),(this._brushController=new a(e.getZr())).on("brush",r.bind(this._onBrush,this))},render:function(t,e,n,i){if(!h(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=d(t,e),c=s.coordinateSystem,f=t.getAreaSelectStyle(),p=f.width,g=t.axis.dim,v=c.getAxisLayout(g),m=r.extend({strokeContainThreshold:p},v),y=new o(t,m);r.each(u,y.add,y),this._axisGroup.add(y.getGroup()),this._refreshBrushController(m,f,t,s,p,n);var b=i&&!1===i.animation?null:t;l.groupTransition(a,this._axisGroup,b)}}},_refreshBrushController:function(t,e,n,i,r,o){var a=n.axis.getExtent(),u=a[1]-a[0],c=Math.min(30,.1*Math.abs(u)),h=l.BoundingRect.create({x:a[0],y:-r/2,width:u,height:r});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,o,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(f(n))},_onBrush:function(t,e){var n=this.axisModel,i=n.axis,o=r.map(t,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function h(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function f(t){var e=t.axis;return r.map(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function d(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var p=c;t.exports=p},b041:function(t,e,n){"use strict";var i=n("00ee"),r=n("f5df");t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},b0af:function(t,e,n){var i=n("2306"),r=n("3842"),o=r.round;function a(t,e,n){var r=t.getArea(),o=t.getBaseAxis().isHorizontal(),a=r.x,s=r.y,l=r.width,u=r.height,c=n.get("lineStyle.width")||2;a-=c/2,s-=c/2,l+=c,u+=c,a=Math.floor(a),l=Math.round(l);var h=new i.Rect({shape:{x:a,y:s,width:l,height:u}});return e&&(h.shape[o?"width":"height"]=0,i.initProps(h,{shape:{width:l,height:u}},n)),h}function s(t,e,n){var r=t.getArea(),a=new i.Sector({shape:{cx:o(t.cx,1),cy:o(t.cy,1),r0:o(r.r0,1),r:o(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return e&&(a.shape.endAngle=r.startAngle,i.initProps(a,{shape:{endAngle:r.endAngle}},n)),a}function l(t,e,n){return t?"polar"===t.type?s(t,e,n):"cartesian2d"===t.type?a(t,e,n):null:null}e.createGridClipPath=a,e.createPolarClipPath=s,e.createClipPath=l},b0c0:function(t,e,n){var i=n("83ab"),r=n("5e77").EXISTS,o=n("e330"),a=n("9bf2").f,s=Function.prototype,l=o(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(u.exec),h="name";i&&!r&&a(s,h,{configurable:!0,get:function(){try{return c(u,l(this))[1]}catch(t){return""}}})},b11c:function(t,e,n){n("8ec5"),n("db9e"),n("4e9f"),n("d3a0"),n("767c"),n("7c4d"),n("df70")},b12f:function(t,e,n){var i=n("e1fc"),r=n("8918"),o=n("625e"),a=function(){this.group=new i,this.uid=r.getUID("viewComponent")};a.prototype={constructor:a,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,i){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0});var l=a;t.exports=l},b16f:function(t,e,n){var i=n("4ab1"),r=n("6d8b"),o=n("4942"),a=n("41ef");function s(t,e){i.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}r.inherits(s,i),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;r.each(["fill","stroke"],(function(i){if(e.style[i]&&("linear"===e.style[i].type||"radial"===e.style[i].type)){var r,o=e.style[i],a=n.getDefs(!0);o._dom?(r=o._dom,a.contains(o._dom)||n.addDom(r)):r=n.add(o),n.markUsed(e);var s=r.getAttribute("id");t.setAttribute(i,"url(#"+s+")")}}))}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return o("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;i.prototype.update.call(this,t,(function(){var n=t.type,i=t._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))}))},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void o("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,i=0,r=n.length;i<r;++i){var s=this.createElement("stop");s.setAttribute("offset",100*n[i].offset+"%");var l=n[i].color;if(l.indexOf("rgba")>-1){var u=a.parse(l)[3],c=a.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[i].color);e.appendChild(s)}t._dom=e},s.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&i.prototype.markUsed.call(this,e._dom),e=t.style.stroke,e&&e._dom&&i.prototype.markUsed.call(this,e._dom)}};var l=s;t.exports=l},b1d4:function(t,e,n){var i=n("862d");function r(t,e){return e=e||{},i(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=r},b311:function(t,e,n){
/*!
 * clipboard.js v2.0.8
 * https://clipboardjs.com/
 *
 * Licensed MIT © Zeno Rocha
 */
(function(e,n){t.exports=n()})(0,(function(){return function(){var t={134:function(t,e,n){"use strict";n.d(e,{default:function(){return M}});var i=n(279),r=n.n(i),o=n(370),a=n.n(o),s=n(817),l=n.n(s);function u(t){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function f(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}var d=function(){function t(e){c(this,t),this.resolveOptions(e),this.initSelection()}return f(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var e=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(e,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=l()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=l()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==u(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}(),p=d;function g(t){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function y(t,e,n){return e&&m(t.prototype,e),n&&m(t,n),t}function b(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}function _(t,e){return _=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},_(t,e)}function x(t){var e=C();return function(){var n,i=T(t);if(e){var r=T(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==g(e)&&"function"!==typeof e?S(t):e}function S(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function T(t){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},T(t)}function A(t,e){var n="data-clipboard-".concat(t);if(e.hasAttribute(n))return e.getAttribute(n)}var O=function(t){b(n,t);var e=x(n);function n(t,i){var r;return v(this,n),r=e.call(this),r.resolveOptions(i),r.listenClick(t),r}return y(n,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof t.action?t.action:this.defaultAction,this.target="function"===typeof t.target?t.target:this.defaultTarget,this.text="function"===typeof t.text?t.text:this.defaultText,this.container="object"===g(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=a()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new p({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return A("action",t)}},{key:"defaultTarget",value:function(t){var e=A("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return A("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"===typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),n}(r()),M=O},828:function(t){var e=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}function i(t,n){while(t&&t.nodeType!==e){if("function"===typeof t.matches&&t.matches(n))return t;t=t.parentNode}}t.exports=i},438:function(t,e,n){var i=n(828);function r(t,e,n,i,r){var o=a.apply(this,arguments);return t.addEventListener(n,o,r),{destroy:function(){t.removeEventListener(n,o,r)}}}function o(t,e,n,i,o){return"function"===typeof t.addEventListener?r.apply(null,arguments):"function"===typeof n?r.bind(null,document).apply(null,arguments):("string"===typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return r(t,e,n,i,o)})))}function a(t,e,n,r){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&r.call(t,n)}}t.exports=o},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},370:function(t,e,n){var i=n(879),r=n(438);function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(t))return a(t,e,n);if(i.nodeList(t))return s(t,e,n);if(i.string(t))return l(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function s(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}function l(t,e,n){return r(document.body,t,e,n)}t.exports=o},817:function(t){function e(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(t),i.removeAllRanges(),i.addRange(r),e=i.toString()}return e}t.exports=e},279:function(t){function e(){}e.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;for(i;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,a=i.length;o<a;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}return function(){n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,{a:e}),e}}(),function(){n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),n(134)}().default}))},b336:function(t,e,n){var i=n("6d8b"),r=i.each;function o(t){var e=t&&t.visualMap;i.isArray(e)||(e=e?[e]:[]),r(e,(function(t){if(t){a(t,"splitList")&&!a(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&i.isArray(e)&&r(e,(function(t){i.isObject(t)&&(a(t,"start")&&!a(t,"min")&&(t.min=t.start),a(t,"end")&&!a(t,"max")&&(t.max=t.end))}))}}))}function a(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=o},b367:function(t,e,n){var i=n("5524"),r=n("ef08"),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("e444")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},b369:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2306"),a=n("80f0"),s=n("55ac"),l=n("f610"),u=n("4a01"),c=n("9850"),h=n("1687"),f=n("e6cd"),d=n("282b"),p=n("eda2"),g=p.windowOpen,v=r.bind,m=o.Group,y=o.Rect,b=r.each,_=3,x=["label"],w=["emphasis","label"],S=["upperLabel"],C=["emphasis","upperLabel"],T=10,A=1,O=2,M=d([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),k=function(t){var e=M(t);return e.stroke=e.fill=e.lineWidth=null,e},I=i.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=E(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,n,i){var o=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(r.indexOf(o,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var a=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(i,a,t),u=i&&i.type,c=t.layoutInfo,h=!this._oldTree,f=this._storage,d="treemapRootToNode"===u&&l&&f?{rootNodeGroup:f.nodeGroup[l.node.getRawIndex()],direction:i.direction}:null,p=this._giveContainerGroup(c),g=this._doRender(p,t,d);h||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?g.renderFinally():this._doAnimation(p,g,t,d),this._resetController(n),this._renderBreadcrumb(t,n,l)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new m,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,n){var i=e.getData().tree,o=this._oldTree,s=E(),l=E(),u=this._storage,c=[],h=r.curry(P,e,l,u,n,s,c);d(i.root?[i.root]:[],o&&o.root?[o.root]:[],t,i===o||!o,0);var f=p(u);return this._oldTree=i,this._storage=l,{lastsForAnimation:s,willDeleteEls:f,renderFinally:g};function d(t,e,n,i,o){function s(t){return t.getId()}function l(r,a){var s=null!=r?t[r]:null,l=null!=a?e[a]:null,u=h(s,l,n,o);u&&d(s&&s.viewChildren||[],l&&l.viewChildren||[],u,i,o+1)}i?(e=t,b(t,(function(t,e){!t.isRemoved()&&l(e,e)}))):new a(e,t,s,s).add(l).update(l).remove(r.curry(l,null)).execute()}function p(t){var e=E();return t&&b(t,(function(t,n){var i=e[n];b(t,(function(t){t&&(i.push(t),t.__tmWillDelete=1)}))})),e}function g(){b(f,(function(t){b(t,(function(t){t.parent&&t.parent.remove(t)}))})),b(c,(function(t){t.invisible=!0,t.dirty()}))}},_doAnimation:function(t,e,n,i){if(n.get("animation")){var o=n.get("animationDurationUpdate"),a=n.get("animationEasing"),s=f.createWrap();b(e.willDeleteEls,(function(t,e){b(t,(function(t,n){if(!t.invisible){var r,l=t.parent;if(i&&"drillDown"===i.direction)r=l===i.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),r="nodeGroup"===e?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}r&&s.add(t,r,o,a)}}))})),b(this._storage,(function(t,n){b(t,(function(t,i){var l=e.lastsForAnimation[n][i],u={};l&&("nodeGroup"===n?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=r.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,o,a))}))}),this),this._state="animating",s.done(v((function(){this._state="ready",e.renderFinally()}),this)).start()}},_resetController:function(t){var e=this._controller;e||(e=this._controller=new u(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",v(this._onPan,this)),e.on("zoom",v(this._onZoom,this)));var n=new c(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,i){return n.contain(e,i)}))},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>_||Math.abs(t.dy)>_)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new c(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=h.create();h.translate(s,s,[-e,-n]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&g(o,a)}}}}}),this)},_renderBreadcrumb:function(t,e,n){function i(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,n.node,v(i,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=E(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n}});function E(){return{nodeGroup:[],background:[],content:[]}}function P(t,e,n,i,a,s,l,u,c,h){if(l){var f=l.getLayout(),d=t.getData();if(d.setItemGraphicEl(l.dataIndex,null),f&&f.isInView){var p=f.width,g=f.height,v=f.borderWidth,b=f.invisible,_=l.getRawIndex(),T=u&&u.getRawIndex(),I=l.viewChildren,E=f.upperHeight,P=I&&I.length,L=l.getModel("itemStyle"),R=l.getModel("emphasis.itemStyle"),N=q("nodeGroup",m);if(N){if(c.add(N),N.attr("position",[f.x||0,f.y||0]),N.__tmNodeWidth=p,N.__tmNodeHeight=g,f.isAboveViewRoot)return N;var j=l.getModel(),B=q("background",y,h,A);if(B&&z(N,B,P&&f.upperLabelHeight),P)o.isHighDownDispatcher(N)&&o.setAsHighDownDispatcher(N,!1),B&&(o.setAsHighDownDispatcher(B,!0),d.setItemGraphicEl(l.dataIndex,B));else{var F=q("content",y,h,O);F&&V(N,F),B&&o.isHighDownDispatcher(B)&&o.setAsHighDownDispatcher(B,!1),o.setAsHighDownDispatcher(N,!0),d.setItemGraphicEl(l.dataIndex,N)}return N}}}function z(e,n,i){if(n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:g}),b)H(n);else{n.invisible=!1;var r=l.getVisual("borderColor",!0),a=R.get("borderColor"),s=k(L);s.fill=r;var u=M(R);if(u.fill=a,i){var c=p-2*v;G(s,u,r,c,E,{x:v,y:0,width:c,height:E})}else s.text=u.text=null;n.setStyle(s),o.setElementHoverStyle(n,u)}e.add(n)}function V(e,n){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex;var i=Math.max(p-2*v,0),r=Math.max(g-2*v,0);if(n.culling=!0,n.setShape({x:v,y:v,width:i,height:r}),b)H(n);else{n.invisible=!1;var a=l.getVisual("color",!0),s=k(L);s.fill=a;var u=M(R);G(s,u,a,i,r),n.setStyle(s),o.setElementHoverStyle(n,u)}e.add(n)}function H(t){!t.invisible&&s.push(t)}function G(e,n,i,a,s,u){var c=j.get("name"),h=j.getModel(u?S:x),d=j.getModel(u?C:w),p=h.getShallow("show");o.setLabelStyle(e,n,h,d,{defaultText:p?c:null,autoColor:i,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),W(e,u,f),W(n,u,f),u&&(e.textRect=r.clone(u)),e.truncate=p&&h.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function W(e,n,i){var r=e.text;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function q(t,i,r,o){var s=null!=T&&n[t][T],l=a[t];return s?(n[t][T]=null,U(l,s,t)):b||(s=new i({z:D(r,o)}),s.__tmDepth=r,s.__tmStorageName=t,Y(l,s,t)),e[t][_]=s}function U(t,e,n){var i=t[_]={};i.old="nodeGroup"===n?e.position.slice():r.extend({},e.shape)}function Y(t,e,n){var r=t[_]={},o=l.parentNode;if(o&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=a.background[o.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),r.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}r.fadein="nodeGroup"!==n}}function D(t,e){var n=t*T+e;return(n-1)/n}t.exports=I},b419:function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("4319"),a=n("6679"),s=n("fab2"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function c(t){var e=t.getRadiusAxis();return e.inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var f=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,o=r.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=i.map(n.getViewLabels(),(function(t){t=i.clone(t);return t.coord=n.dataToCoord(t.tickValue),t}));h(u),h(a),i.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,r,a,s,o,u)}),this)}},_axisLine:function(t,e,n,i,o){var a,s=t.getModel("axisLine.lineStyle"),l=c(e),u=l?0:1;a=0===o[u]?new r.Circle({shape:{cx:e.cx,cy:e.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new r.Ring({shape:{cx:e.cx,cy:e.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,this.group.add(a)},_axisTick:function(t,e,n,o,a){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=a[c(e)],f=i.map(n,(function(t){return new r.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(r.mergePath(f,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,o,a){if(o.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),f=a[c(e)],d=[],p=0;p<o.length;p++)for(var g=0;g<o[p].length;g++)d.push(new r.Line({shape:u(e,[f,f+h],o[p][g].coord)}));this.group.add(r.mergePath(d,{style:i.defaults(l.getModel("lineStyle").getLineStyle(),i.defaults(s.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(t,e,n,a,l,u){var h=t.getCategories(!0),f=t.getModel("axisLabel"),d=f.get("margin"),p=t.get("triggerEvent");i.each(u,(function(n,i){var a=f,u=n.tickValue,g=l[c(e)],v=e.coordToPoint([g+d,n.coord]),m=e.cx,y=e.cy,b=Math.abs(v[0]-m)/g<.3?"center":v[0]>m?"left":"right",_=Math.abs(v[1]-y)/g<.3?"middle":v[1]>y?"top":"bottom";h&&h[u]&&h[u].textStyle&&(a=new o(h[u].textStyle,f,f.ecModel));var x=new r.Text({silent:s.isLabelSilent(t)});this.group.add(x),r.setTextStyle(x.style,a,{x:v[0],y:v[1],textFill:a.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:b,textVerticalAlign:_}),p&&(x.eventData=s.makeAxisEventDataBase(t),x.eventData.targetType="axisLabel",x.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,o,a){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),h=0;c=c instanceof Array?c:[c];for(var f=[],d=0;d<n.length;d++){var p=h++%c.length;f[p]=f[p]||[],f[p].push(new r.Line({shape:u(e,a,n[d].coord)}))}for(d=0;d<f.length;d++)this.group.add(r.mergePath(f[d],{style:i.defaults({stroke:c[d%c.length]},l.getLineStyle()),silent:!0,z:t.get("z")}))},_minorSplitLine:function(t,e,n,i,o){if(i.length){for(var a=t.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],c=0;c<i.length;c++)for(var h=0;h<i[c].length;h++)l.push(new r.Line({shape:u(e,o,i[c][h].coord)}));this.group.add(r.mergePath(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},_splitArea:function(t,e,n,o,a){if(n.length){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],f=Math.PI/180,d=-n[0].coord*f,p=Math.min(a[0],a[1]),g=Math.max(a[0],a[1]),v=t.get("clockwise"),m=1;m<n.length;m++){var y=c++%u.length;h[y]=h[y]||[],h[y].push(new r.Sector({shape:{cx:e.cx,cy:e.cy,r0:p,r:g,startAngle:d,endAngle:-n[m].coord*f,clockwise:v},silent:!0})),d=-n[m].coord*f}for(m=0;m<h.length;m++)this.group.add(r.mergePath(h[m],{style:i.defaults({fill:u[m%u.length]},l.getAreaStyle()),silent:!0}))}}});t.exports=f},b42e:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?i:n)(e)}},b4f8:function(t,e,n){var i=n("23e7"),r=n("d066"),o=n("1a2d"),a=n("577e"),s=n("5692"),l=n("0b43"),u=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=a(t);if(o(u,e))return u[e];var n=r("Symbol")(e);return u[e]=n,c[n]=e,n}})},b50d:function(t,e,n){"use strict";var i=n("c532"),r=n("467f"),o=n("7aac"),a=n("30b5"),s=n("83b9"),l=n("c345"),u=n("3934"),c=n("2d83"),h=n("2444"),f=n("7a77");t.exports=function(t){return new Promise((function(e,n){var d,p=t.data,g=t.headers,v=t.responseType;function m(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}i.isFormData(p)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+_)}var x=s(t.baseURL,t.url);function w(){if(y){var i="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,o=v&&"text"!==v&&"json"!==v?y.response:y.responseText,a={data:o,status:y.status,statusText:y.statusText,headers:i,config:t,request:y};r((function(t){e(t),m()}),(function(t){n(t),m()}),a),y=null}}if(y.open(t.method.toUpperCase(),a(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=w:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(w)},y.onabort=function(){y&&(n(c("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(c("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",i=t.transitional||h.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(c(e,t,i.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},i.isStandardBrowserEnv()){var S=(t.withCredentials||u(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;S&&(g[t.xsrfHeaderName]=S)}"setRequestHeader"in y&&i.forEach(g,(function(t,e){"undefined"===typeof p&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),v&&"json"!==v&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){y&&(n(!t||t&&t.type?new f("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),p||(p=null),y.send(p)}))}},b575:function(t,e,n){var i,r,o,a,s,l,u,c,h=n("da84"),f=n("0366"),d=n("06cf").f,p=n("2cf49").set,g=n("1cdc"),v=n("d4c3"),m=n("a4b4"),y=n("605d"),b=h.MutationObserver||h.WebKitMutationObserver,_=h.document,x=h.process,w=h.Promise,S=d(h,"queueMicrotask"),C=S&&S.value;C||(i=function(){var t,e;y&&(t=x.domain)&&t.exit();while(r){e=r.fn,r=r.next;try{e()}catch(n){throw r?a():o=void 0,n}}o=void 0,t&&t.enter()},g||y||m||!b||!_?!v&&w&&w.resolve?(u=w.resolve(void 0),u.constructor=w,c=f(u.then,u),a=function(){c(i)}):y?a=function(){x.nextTick(i)}:(p=f(p,h),a=function(){p(i)}):(s=!0,l=_.createTextNode(""),new b(i).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=C||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,a()),o=e}},b5c7:function(t,e,n){var i=n("282b"),r=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(t){var e=r(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}};t.exports=o},b622:function(t,e,n){var i=n("da84"),r=n("5692"),o=n("1a2d"),a=n("90e3"),s=n("04f8"),l=n("fdbf"),u=r("wks"),c=i.Symbol,h=c&&c["for"],f=l?c:c&&c.withoutSetter||a;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(c,t)?u[t]=c[t]:u[t]=l&&h?h(e):f(e)}return u[t]}},b636:function(t,e,n){var i=n("e065");i("asyncIterator")},b639:function(t,e,n){"use strict";(function(t){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var i=n("1fb5"),r=n("9152"),o=n("e3db");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return c(this,t,e,n)}function c(t,e,n,i){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?v(t,e,n,i):"string"===typeof e?p(t,e,n):m(t,e)}function h(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e,n,i){return h(e),e<=0?l(t,e):void 0!==n?"string"===typeof i?l(t,e).fill(n,i):l(t,e).fill(n):l(t,e)}function d(t,e){if(h(e),t=l(t,e<0?0:0|y(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function p(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|_(e,n);t=l(t,i);var r=t.write(e,n);return r!==i&&(t=t.slice(0,r)),t}function g(t,e){var n=e.length<0?0:0|y(e.length);t=l(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function v(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=g(t,e),t}function m(t,e){if(u.isBuffer(e)){var n=0|y(e.length);return t=l(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?l(t,0):g(t,e);if("Buffer"===e.type&&o(e.data))return g(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),u.alloc(+t)}function _(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(i)return Z(t).length;e=(""+e).toLowerCase(),i=!0}}function x(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return j(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return N(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function w(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function S(t,e,n,i,r){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=u.from(e,i)),u.isBuffer(e))return 0===e.length?-1:C(t,e,n,i,r);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):C(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function C(t,e,n,i,r){var o,a=1,s=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var c=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}return-1}function T(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;a<i;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function A(t,e,n,i){return tt(Z(e,t.length-n),t,n,i)}function O(t,e,n,i){return tt(K(e),t,n,i)}function M(t,e,n,i){return O(t,e,n,i)}function k(t,e,n,i){return tt(Q(e),t,n,i)}function I(t,e,n,i){return tt(J(e,t.length-n),t,n,i)}function E(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);var i=[],r=e;while(r<n){var o,a,s,l,u=t[r],c=null,h=u>239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:o=t[r+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=t[r+1],a=t[r+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=t[r+1],a=t[r+2],s=t[r+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=h}return L(i)}e.Buffer=u,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return c(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return f(null,t,e,n)},u.allocUnsafe=function(t){return d(null,t)},u.allocUnsafeSlow=function(t){return d(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r<o;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=u.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var a=t[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,r),r+=a.length}return i},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)w(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)w(this,e,e+3),w(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)w(this,e,e+7),w(this,e+1,e+6),w(this,e+2,e+5),w(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):x.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,i,r){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var o=r-i,a=n-e,s=Math.min(o,a),l=this.slice(i,r),c=t.slice(e,n),h=0;h<s;++h)if(l[h]!==c[h]){o=l[h],a=c[h];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return S(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return S(this,t,e,n,!1)},u.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return A(this,t,e,n);case"ascii":return O(this,t,e,n);case"latin1":case"binary":return M(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function L(t){var e=t.length;if(e<=D)return String.fromCharCode.apply(String,t);var n="",i=0;while(i<e)n+=String.fromCharCode.apply(String,t.slice(i,i+=D));return n}function R(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function N(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function j(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=e;o<n;++o)r+=$(t[o]);return r}function B(t,e,n){for(var i=t.slice(e,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function F(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,n,i,r,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function V(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);r<o;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function H(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);r<o;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function G(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,i,o){return o||G(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,i,23,4),n+4}function q(t,e,n,i,o){return o||G(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,i,52,8),n+8}u.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=u.prototype;else{var r=e-t;n=new u(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t],r=1,o=0;while(++o<e&&(r*=256))i+=this[t+o]*r;return i},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t+--e],r=1;while(e>0&&(r*=256))i+=this[t+--e]*r;return i},u.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t],r=1,o=0;while(++o<e&&(r*=256))i+=this[t+o]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*e)),i},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=e,r=1,o=this[t+--i];while(i>0&&(r*=256))o+=this[t+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var o=1,a=0;this[e]=255&t;while(++a<n&&(o*=256))this[e+a]=t/o&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var o=n-1,a=1;this[e+o]=255&t;while(--o>=0&&(a*=256))this[e+o]=t/a&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):H(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var o=0,a=1,s=0;this[e]=255&t;while(++o<n&&(a*=256))t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var o=n-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):H(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return q(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return q(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,o=i-n;if(this===t&&n<e&&e<i)for(r=o-1;r>=0;--r)t[r+e]=this[r+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.prototype.fill=function(t,e,n,i){if("string"===typeof t){if("string"===typeof e?(i=e,e=0,n=this.length):"string"===typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!==typeof i)throw new TypeError("encoding must be a string");if("string"===typeof i&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=u.isBuffer(t)?t:Z(new u(t,i).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function Y(t){if(t=X(t).replace(U,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function X(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function $(t){return t<16?"0"+t.toString(16):t.toString(16)}function Z(t,e){var n;e=e||1/0;for(var i=t.length,r=null,o=[],a=0;a<i;++a){if(n=t.charCodeAt(a),n>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function J(t,e){for(var n,i,r,o=[],a=0;a<t.length;++a){if((e-=2)<0)break;n=t.charCodeAt(a),i=n>>8,r=n%256,o.push(r),o.push(i)}return o}function Q(t){return i.toByteArray(Y(t))}function tt(t,e,n,i){for(var r=0;r<i;++r){if(r+n>=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},b64b:function(t,e,n){var i=n("23e7"),r=n("7b0b"),o=n("df75"),a=n("d039"),s=a((function(){o(1)}));i({target:"Object",stat:!0,forced:s},{keys:function(t){return o(r(t))}})},b680:function(t,e,n){"use strict";var i=n("23e7"),r=n("e330"),o=n("5926"),a=n("408a"),s=n("1148"),l=n("d039"),u=RangeError,c=String,h=Math.floor,f=r(s),d=r("".slice),p=r(1..toFixed),g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},v=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},m=function(t,e,n){var i=-1,r=n;while(++i<6)r+=e*t[i],t[i]=r%1e7,r=h(r/1e7)},y=function(t,e){var n=6,i=0;while(--n>=0)i+=t[n],t[n]=h(i/e),i=i%e*1e7},b=function(t){var e=6,n="";while(--e>=0)if(""!==n||0===e||0!==t[e]){var i=c(t[e]);n=""===n?i:n+f("0",7-i.length)+i}return n},_=l((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!l((function(){p({})}));i({target:"Number",proto:!0,forced:_},{toFixed:function(t){var e,n,i,r,s=a(this),l=o(t),h=[0,0,0,0,0,0],p="",_="0";if(l<0||l>20)throw u("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return c(s);if(s<0&&(p="-",s=-s),s>1e-21)if(e=v(s*g(2,69,1))-69,n=e<0?s*g(2,-e,1):s/g(2,e,1),n*=4503599627370496,e=52-e,e>0){m(h,0,n),i=l;while(i>=7)m(h,1e7,0),i-=7;m(h,g(10,i,1),0),i=e-1;while(i>=23)y(h,1<<23),i-=23;y(h,1<<i),m(h,1,1),y(h,2),_=b(h)}else m(h,0,n),m(h,1<<-e,0),_=b(h)+f("0",l);return l>0?(r=_.length,_=p+(r<=l?"0."+f("0",l-r)+_:d(_,0,r-l)+"."+d(_,r-l))):_=p+_,_}})},b719:function(t,e,n){var i=n("697e7");e.zrender=i;var r=n("1687");e.matrix=r;var o=n("401b");e.vector=o;var a=n("6d8b"),s=n("41ef");e.color=s;var l=n("2306"),u=n("3842");e.number=u;var c=n("eda2");e.format=c;var h=n("88b3");h.throttle;e.throttle=h.throttle;var f=n("1548");e.helper=f;var d=n("bda7");e.parseGeoJSON=d;var p=n("6179");e.List=p;var g=n("4319");e.Model=g;var v=n("84ce");e.Axis=v;var m=n("22d1");e.env=m;var y=d,b={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){b[t]=a[t]}));var _={};a.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=b,e.graphic=_},b727:function(t,e,n){var i=n("0366"),r=n("e330"),o=n("44ad"),a=n("7b0b"),s=n("07fa"),l=n("65f0"),u=r([].push),c=function(t){var e=1==t,n=2==t,r=3==t,c=4==t,h=6==t,f=7==t,d=5==t||h;return function(p,g,v,m){for(var y,b,_=a(p),x=o(_),w=i(g,v),S=s(x),C=0,T=m||l,A=e?T(p,S):n||f?T(p,0):void 0;S>C;C++)if((d||C in x)&&(y=x[C],b=w(y,C,_),t))if(e)A[C]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:u(A,y)}else switch(t){case 4:return!1;case 7:u(A,y)}return h?-1:r||c?c:A}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},b809:function(t,e,n){var i=n("6d8b"),r=n("29a8"),o=n("2b17"),a=o.retrieveRawValue;function s(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var o=0;e.eachSeries((function(t,e){++o}),this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(o,u);if(!(o<1)){var h=v();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var f=[],d=o>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(d),{seriesCount:o}),e.eachSeries((function(t,e){if(e<c){var n,i=t.get("name"),r="series."+(o>1?"multiple":"single")+".";n=g(i?r+"withName":r+"withoutName"),n=p(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:m(t.subType)});var s=t.getData();window.data=s,s.count()>l?n+=p(g("data.partialData"),{displayCnt:l}):n+=g("data.allData");for(var u=[],h=0;h<s.count();h++)if(h<l){var d=s.getName(h),v=a(s,h);u.push(p(g(d?"data.withName":"data.withoutName"),{name:d,value:v}))}n+=u.join(g("data.separator.middle"))+g("data.separator.end"),f.push(n)}})),s+=f.join(g("series.multiple.separator.middle"))+g("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function p(t,e){if("string"!==typeof t)return t;var n=t;return i.each(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}function g(t){var e=n.get(t);if(null==e){for(var i=t.split("."),o=r.aria,a=0;a<i.length;++a)o=o[i[a]];return o}return e}function v(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}function m(t){return r.series.typeNames[t]||"自定义图"}}t.exports=s},b85c:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("d9e2");var i=n("06c5");function r(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Object(i["a"])(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(l)throw a}}}}},b8ec:function(t,e,n){var i=n("3eba");i.registerAction({type:"brush",event:"brush"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),i.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},b980:function(t,e,n){var i=n("d039"),r=n("5c6c");t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},b9c7:function(t,e,n){n("e507"),t.exports=n("5524").Object.assign},ba01:function(t,e,n){t.exports=n("051b")},bb70:function(t,e,n){var i=n("e86a"),r=n("3842"),o=r.parsePercent,a=Math.PI/180;function s(t,e,n,i,r,o,a,s,l,u){function c(e,n,i,r){for(var o=e;o<n;o++){if(t[o].y+i>l+a)break;if(t[o].y+=i,o>e&&o+1<n&&t[o+1].y>t[o].y+t[o].height)return void h(o,i/2)}h(n-1,i/2)}function h(e,n){for(var i=e;i>=0;i--){if(t[i].y-n<l)break;if(t[i].y-=n,i>0&&t[i].y>t[i-1].y+t[i-1].height)break}}function f(t,e,n,i,r,o){for(var a=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++)if("none"===t[s].labelAlignTo){var u=Math.abs(t[s].y-i),c=t[s].len,h=t[s].len2,f=u<r+c?Math.sqrt((r+c+h)*(r+c+h)-u*u):Math.abs(t[s].x-n);e&&f>=a&&(f=a-10),!e&&f<=a&&(f=a+10),t[s].x=n+f*o,a=f}}t.sort((function(t,e){return t.y-e.y}));for(var d,p=0,g=t.length,v=[],m=[],y=0;y<g;y++){if("outer"===t[y].position&&"labelLine"===t[y].labelAlignTo){var b=t[y].x-u;t[y].linePoints[1][0]+=b,t[y].x=u}d=t[y].y-p,d<0&&c(y,g,-d,r),p=t[y].y+t[y].height}a-p<0&&h(g-1,p-a);for(y=0;y<g;y++)t[y].y>=n?m.push(t[y]):v.push(t[y]);f(v,!1,e,n,i,r),f(m,!0,e,n,i,r)}function l(t,e,n,r,o,a,l,c){for(var h=[],f=[],d=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g<t.length;g++)u(t[g])||(t[g].x<e?(d=Math.min(d,t[g].x),h.push(t[g])):(p=Math.max(p,t[g].x),f.push(t[g])));s(f,e,n,r,1,o,a,l,c,p),s(h,e,n,r,-1,o,a,l,c,d);for(g=0;g<t.length;g++){var v=t[g];if(!u(v)){var m=v.linePoints;if(m){var y,b="edge"===v.labelAlignTo,_=v.textRect.width;y=b?v.x<e?m[2][0]-v.labelDistance-l-v.labelMargin:l+o-v.labelMargin-m[2][0]-v.labelDistance:v.x<e?v.x-l-v.bleedMargin:l+o-v.x-v.bleedMargin,y<v.textRect.width&&(v.text=i.truncateText(v.text,y,v.font),"edge"===v.labelAlignTo&&(_=i.getWidth(v.text,v.font)));var x=m[1][0]-m[2][0];b?v.x<e?m[2][0]=l+v.labelMargin+_+v.labelDistance:m[2][0]=l+o-v.labelMargin-_-v.labelDistance:(v.x<e?m[2][0]=v.x+v.labelDistance:m[2][0]=v.x-v.labelDistance,m[1][0]=m[2][0]+x),m[1][1]=m[2][1]=v.y}}}}function u(t){return"center"===t.position}function c(t,e,n,r,s,u){var c,h,f=t.getData(),d=[],p=!1,g=(t.get("minShowLabelAngle")||0)*a;f.each((function(r){var a=f.getItemLayout(r),l=f.getItemModel(r),u=l.getModel("label"),v=u.get("position")||l.get("emphasis.label.position"),m=u.get("distanceToLabelLine"),y=u.get("alignTo"),b=o(u.get("margin"),n),_=u.get("bleedMargin"),x=u.getFont(),w=l.getModel("labelLine"),S=w.get("length");S=o(S,n);var C=w.get("length2");if(C=o(C,n),!(a.angle<g)){var T,A,O,M,k=(a.startAngle+a.endAngle)/2,I=Math.cos(k),E=Math.sin(k);c=a.cx,h=a.cy;var P,D=t.getFormattedLabel(r,"normal")||f.getName(r),L=i.getBoundingRect(D,x,M,"top"),R="inside"===v||"inner"===v;if("center"===v)T=a.cx,A=a.cy,M="center";else{var N=(R?(a.r+a.r0)/2*I:a.r*I)+c,j=(R?(a.r+a.r0)/2*E:a.r*E)+h;if(T=N+3*I,A=j+3*E,!R){var B=N+I*(S+e-a.r),F=j+E*(S+e-a.r),z=B+(I<0?-1:1)*C,V=F;T="edge"===y?I<0?s+b:s+n-b:z+(I<0?-m:m),A=V,O=[[N,j],[B,F],[z,V]]}M=R?"center":"edge"===y?I>0?"right":"left":I>0?"left":"right"}var H=u.get("rotate");P="number"===typeof H?H*(Math.PI/180):H?I<0?-k+Math.PI:-k:0,p=!!P,a.label={x:T,y:A,position:v,height:L.height,len:S,len2:C,linePoints:O,textAlign:M,verticalAlign:"middle",rotation:P,inside:R,labelDistance:m,labelAlignTo:y,labelMargin:b,bleedMargin:_,textRect:L,text:D,font:x},R||d.push(a.label)}})),!p&&t.get("avoidLabelOverlap")&&l(d,c,h,e,n,r,s,u)}t.exports=c},bc3a:function(t,e,n){t.exports=n("cee4")},bc5f:function(t,e,n){var i=n("6cb7");i.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))},bcaa:function(t,e,n){var i=n("4ab1"),r=n("6d8b");function o(t,e){i.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function a(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}r.inherits(o,i),o.prototype.addWithoutUpdate=function(t,e){if(e&&a(e.style)){var n;if(e._shadowDom){n=e._shadowDom;var i=this.getDefs(!0);i.contains(e._shadowDom)||this.addDom(n)}else n=this.add(e);this.markUsed(e);var r=n.getAttribute("id");t.style.filter="url(#"+r+")"}},o.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},o.prototype.update=function(t,e){var n=e.style;if(a(n)){var r=this;i.prototype.update.call(this,e,(function(){r.updateDom(e,e._shadowDom)}))}else this.remove(t,e)},o.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},o.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,r,o,a,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,r=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);i=s.textShadowOffsetX||0,r=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",r/u),n.setAttribute("flood-color",a);var c=o/2/l,h=o/2/u,f=c+" "+h;n.setAttribute("stdDeviation",f),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},o.prototype.markUsed=function(t){t._shadowDom&&i.prototype.markUsed.call(this,t._shadowDom)};var s=o;t.exports=s},bcbe:function(t,e,n){var i=n("6d8b"),r=n("fab2"),o=n("2306"),a=n("edb9"),s=n("6679"),l=n("58df"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],f=["splitArea","splitLine"],d=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new o.Group;var c=a.layout(t),p=new r(t,c);i.each(h,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),i.each(f,(function(e){t.get(e+".show")&&this["_"+e](t)}),this),o.groupTransition(u,this._axisGroup,t),d.superCall(this,"render",t,e,n,s)},remove:function(){c(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var n=t.getModel("splitLine"),i=n.getModel("lineStyle"),r=i.get("width"),a=i.get("color");a=a instanceof Array?a:[a];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],c=0,h=e.getTicksCoords({tickModel:n}),f=[],d=[],p=0;p<h.length;++p){var g=e.toGlobalCoord(h[p].coord);l?(f[0]=g,f[1]=s.y,d[0]=g,d[1]=s.y+s.height):(f[0]=s.x,f[1]=g,d[0]=s.x+s.width,d[1]=g);var v=c++%a.length;u[v]=u[v]||[],u[v].push(new o.Line({subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:d[0],y2:d[1]},style:{lineWidth:r},silent:!0}))}for(p=0;p<u.length;++p)this.group.add(o.mergePath(u[p],{style:{stroke:a[p%a.length],lineDash:i.getLineDash(r),lineWidth:r},silent:!0}))}},_splitArea:function(t){u(this,this._axisGroup,t,t)}}),p=d;t.exports=p},bd6b:function(t,e,n){var i=n("06ad"),r=n("4942"),o=n("6d8b"),a=o.isString,s=o.isFunction,l=o.isObject,u=o.isArrayLike,c=o.indexOf,h=function(){this.animators=[]};function f(t,e,n,i,r,o,l,u){a(i)?(o=r,r=i,i=0):s(r)?(o=r,r="linear",i=0):s(i)?(o=i,i=0):s(n)?(o=n,n=500):n||(n=500),t.stopAnimation(),d(t,"",t,e,n,i,u);var c=t.animators.slice(),h=c.length;function f(){h--,h||o&&o()}h||o&&o();for(var p=0;p<c.length;p++)c[p].done(f).start(r,l)}function d(t,e,n,i,r,o,a){var s={},c=0;for(var h in i)i.hasOwnProperty(h)&&(null!=n[h]?l(i[h])&&!u(i[h])?d(t,e?e+"."+h:h,n[h],i[h],r,o,a):(a?(s[h]=n[h],p(t,e,h,i[h])):s[h]=i[h],c++):null==i[h]||a||p(t,e,h,i[h]));c>0&&t.animate(e,!1).when(null==r?500:r,s).delay(o||0)}function p(t,e,n,i){if(e){var r={};r[e]={},r[e][n]=i,t.attr(r)}else t.attr(n,i)}h.prototype={constructor:h,animate:function(t,e){var n,o=!1,a=this,s=this.__zr;if(t){var l=t.split("."),u=a;o="shape"===l[0];for(var h=0,f=l.length;h<f;h++)u&&(u=u[l[h]]);u&&(n=u)}else n=a;if(n){var d=a.animators,p=new i(n,e);return p.during((function(t){a.dirty(o)})).done((function(){d.splice(c(d,p),1)})),d.push(p),s&&s.animation.addAnimator(p),p}r('Property "'+t+'" is not existed in element '+a.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,e,n,i,r,o){f(this,t,e,n,i,r,o)},animateFrom:function(t,e,n,i,r,o){f(this,t,e,n,i,r,o,!0)}};var g=h;t.exports=g},bd92:function(t,e,n){var i=n("6d8b"),r=n("4f85"),o=n("e468"),a=o.seriesModelMixin,s=r.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)}});i.mixin(s,a,!0);var l=s;t.exports=l},bd9e:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("2306"),a=n("e0d3"),s=n("f4a2"),l=r.each,u=r.indexOf,c=r.curry,h=["dataToPoint","pointToData"],f=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,n){var i=this._targetInfoList=[],r={},o=v(e,t);l(m,(function(t,e){(!n||!n.include||u(n.include,e)>=0)&&t(o,i,r)}))}var p=d.prototype;function g(t){return t[0]>t[1]&&t.reverse(),t}function v(t,e){return a.parseFinder(t,e,{includeMainTypes:f})}p.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=_[t.brushType](0,n,e);t.__rangeOffset={offset:w[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}))},p.matchOutputRanges=function(t,e,n){l(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&r.each(i.coordSyses,(function(i){var r=_[t.brushType](1,i,t.range);n(t,r.values,i,e)}))}),this)},p.setInputRanges=function(t,e){l(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=_[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?w[t.brushType](i.values,r.offset,C(i.xyMinMax,r.xyMinMax)):i.values}}),this)},p.makePanelOpts=function(t,e){return r.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:s.makeRectPanelClipPath(i),isTargetByCursor:s.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(i)}}))},p.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&u(i.coordSyses,e.coordinateSystem)>=0},p.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=v(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(r=0;r<y.length;r++)if(y[r](i,o))return o}return!0};var m={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,o=t.gridModels,a=r.createHashMap(),s={},c={};(n||i||o)&&(l(n,(function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0})),l(i,(function(t){var e=t.axis.grid.model;a.set(e.id,e),c[e.id]=!0})),l(o,(function(t){a.set(t.id,t),s[t.id]=!0,c[t.id]=!0})),a.each((function(t){var r=t.coordinateSystem,o=[];l(r.getCartesians(),(function(t,e){(u(n,t.getAxis("x").model)>=0||u(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:b.grid,xAxisDeclared:s[t.id],yAxisDeclared:c[t.id]})})))},geo:function(t,e){l(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:b.geo})}))}},y=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],b={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(o.getTransform(t)),e}},_={lineX:c(x,0),lineY:c(x,1),rect:function(t,e,n){var i=e[h[t]]([n[0][0],n[1][0]]),r=e[h[t]]([n[0][1],n[1][1]]),o=[g([i[0],r[0]]),g([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n){var i=[[1/0,-1/0],[1/0,-1/0]],o=r.map(n,(function(n){var r=e[h[t]](n);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r}));return{values:o,xyMinMax:i}}};function x(t,e,n,i){var o=n.getAxis(["x","y"][t]),a=g(r.map([0,1],(function(t){return e?o.coordToData(o.toLocalCoord(i[t])):o.toGlobalCoord(o.dataToCoord(i[t]))}))),s=[];return s[t]=a,s[1-t]=[NaN,NaN],{values:a,xyMinMax:s}}var w={lineX:c(S,0),lineY:c(S,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return r.map(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function S(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function C(t,e){var n=T(t),i=T(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function T(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var A=d;t.exports=A},bda7:function(t,e,n){var i=n("6d8b"),r=n("f279");function o(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i<n.length;i++)for(var r=n[i],o=r.geometry,s=o.coordinates,l=o.encodeOffsets,u=0;u<s.length;u++){var c=s[u];if("Polygon"===o.type)s[u]=a(c,l[u],e);else if("MultiPolygon"===o.type)for(var h=0;h<c.length;h++){var f=c[h];c[h]=a(f,l[u][h],e)}}return t.UTF8Encoding=!1,t}function a(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function s(t,e){return o(t),i.map(i.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,o=t.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&i.each(a,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new r(n[e||"name"],s,n.cp);return l.properties=n,l}))}t.exports=s},bdc0:function(t,e,n){var i=n("3eba");n("d2a5"),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},bee2:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("a38e");function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Object(i["a"])(r.key),r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},bf9b:function(t,e,n){var i=n("3eba"),r=n("d81e"),o=r.updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=e.coordinateSystem,i=o(n,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))},c037:function(t,e,n){var i=n("3eba"),r=n("6d8b");n("f7c6"),n("1ab3");var o=n("7782"),a=n("98e7"),s=n("292e"),l=n("d3f4");o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisual(a("pie")),i.registerLayout(r.curry(s,"pie")),i.registerProcessor(l("pie"))},c04e:function(t,e,n){var i=n("c65b"),r=n("861d"),o=n("d9b5"),a=n("dc4a"),s=n("485a"),l=n("b622"),u=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,l=a(t,c);if(l){if(void 0===e&&(e="default"),n=i(l,t,e),!r(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},c098:function(t,e,n){t.exports=n("d4af")},c2be:function(t,e,n){var i=n("2306"),r=i.extendShape,o=r({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=Math.cos(l),f=Math.sin(l),d=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(t.moveTo(h*r+n,f*r+i),t.arc(h*s+n,f*s+i,a,-Math.PI+l,l,!c)),t.arc(n,i,o,l,u,!c),t.moveTo(d*o+n,p*o+i),t.arc(d*s+n,p*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&(t.arc(n,i,r,u,l,c),t.moveTo(h*r+n,p*r+i)),t.closePath()}});t.exports=o},c2dd:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("fc82"),a=n("10cc"),s=a.layoutCovers,l=i.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new o(e.getZr())).on("brush",r.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,u.apply(this,arguments)},updateTransform:function(t,e){return s(e),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:r.clone(t),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:r.clone(t),$from:n})}});function u(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=l},c345:function(t,e,n){"use strict";var i=n("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c401:function(t,e,n){"use strict";var i=n("c532"),r=n("2444");t.exports=function(t,e,n){var o=this||r;return i.forEach(n,(function(n){t=n.call(o,t,e)})),t}},c430:function(t,e){t.exports=!1},c4a3:function(t,e){function n(t,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){var n=e();return n.indexOfName(t)>=0},this.indexOfName=function(e){var n=t();return n.indexOfName(e)},this.getItemVisual=function(e,n){var i=t();return i.getItemVisual(e,n)}}var i=n;t.exports=i},c513:function(t,e,n){var i=n("23e7"),r=n("1a2d"),o=n("d9b5"),a=n("0d51"),s=n("5692"),l=n("0b43"),u=s("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{keyFor:function(t){if(!o(t))throw TypeError(a(t)+" is not a symbol");if(r(u,t))return u[t]}})},c515:function(t,e,n){n("849b"),n("8459"),n("b006")},c526:function(t,e){var n={axisPointer:1,tooltip:1,brush:1};function i(t,e,i){var r=e.getComponentByElement(t.topTarget),o=r&&r.coordinateSystem;return r&&r!==i&&!n[r.mainType]&&o&&o.model!==i}e.onIrrelevantElement=i},c532:function(t,e,n){"use strict";var i=n("1d2b"),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function l(t){return"[object ArrayBuffer]"===r.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function c(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function h(t){return"string"===typeof t}function f(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===r.call(t)}function v(t){return"[object File]"===r.call(t)}function m(t){return"[object Blob]"===r.call(t)}function y(t){return"[object Function]"===r.call(t)}function b(t){return d(t)&&y(t.pipe)}function _(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}function C(){var t={};function e(e,n){p(t[n])&&p(e)?t[n]=C(t[n],e):p(e)?t[n]=C({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,i=arguments.length;n<i;n++)S(arguments[n],e);return t}function T(t,e,n){return S(e,(function(e,r){t[r]=n&&"function"===typeof e?i(e,n):e})),t}function A(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:l,isBuffer:s,isFormData:u,isArrayBufferView:c,isString:h,isNumber:f,isObject:d,isPlainObject:p,isUndefined:a,isDate:g,isFile:v,isBlob:m,isFunction:y,isStream:b,isURLSearchParams:_,isStandardBrowserEnv:w,forEach:S,merge:C,extend:T,trim:x,stripBOM:A}},c533:function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],i={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};t.exports=i},c607:function(t,e,n){var i=n("83ab"),r=n("fce3"),o=n("c6b6"),a=n("edd0"),s=n("69f3").get,l=RegExp.prototype,u=TypeError;i&&r&&a(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!s(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},c62c:function(t,e,n){var i=n("6d8b"),r=n("6cb7"),o=n("9e47"),a=n("2023"),s=r.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:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(t,e){return e.type||(e.data?"category":"value")}i.merge(s.prototype,a),o("single",s,u,l);var c=s;t.exports=c},c65b:function(t,e,n){var i=n("40d5"),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},c6b6:function(t,e,n){var i=n("e330"),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},c6cd:function(t,e,n){var i=n("da84"),r=n("6374"),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},c6d2:function(t,e,n){"use strict";var i=n("23e7"),r=n("c65b"),o=n("c430"),a=n("5e77"),s=n("1626"),l=n("dcc3"),u=n("e163"),c=n("d2bb"),h=n("d44e"),f=n("9112"),d=n("cb2d"),p=n("b622"),g=n("3f8c"),v=n("ae93"),m=a.PROPER,y=a.CONFIGURABLE,b=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,x=p("iterator"),w="keys",S="values",C="entries",T=function(){return this};t.exports=function(t,e,n,a,p,v,A){l(n,e,a);var O,M,k,I=function(t){if(t===p&&R)return R;if(!_&&t in D)return D[t];switch(t){case w:return function(){return new n(this,t)};case S:return function(){return new n(this,t)};case C:return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",P=!1,D=t.prototype,L=D[x]||D["@@iterator"]||p&&D[p],R=!_&&L||I(p),N="Array"==e&&D.entries||L;if(N&&(O=u(N.call(new t)),O!==Object.prototype&&O.next&&(o||u(O)===b||(c?c(O,b):s(O[x])||d(O,x,T)),h(O,E,!0,!0),o&&(g[E]=T))),m&&p==S&&L&&L.name!==S&&(!o&&y?f(D,"name",S):(P=!0,R=function(){return r(L,this)})),p)if(M={values:I(S),keys:v?R:I(w),entries:I(C)},A)for(k in M)(_||P||!(k in D))&&d(D,k,M[k]);else i({target:e,proto:!0,forced:_||P},M);return o&&!A||D[x]===R||d(D,x,R,{name:p}),g[e]=R,M}},c740:function(t,e,n){"use strict";var i=n("23e7"),r=n("b727").findIndex,o=n("44d2"),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},c775:function(t,e,n){var i=n("2b17"),r=i.retrieveRawValue;function o(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return r(t,e,n[0]);if(i){for(var o=[],a=0;a<n.length;a++){var s=r(t,e,n[a]);o.push(s)}return o.join(" ")}}e.getDefaultLabel=o},c7a2:function(t,e,n){var i=n("cbe5"),r=n("5693"),o=n("9cf9"),a=o.subPixelOptimizeRect,s={},l=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n,i,o,l;this.subPixelOptimize?(a(s,e,this.style),n=s.x,i=s.y,o=s.width,l=s.height,s.r=e.r,e=s):(n=e.x,i=e.y,o=e.width,l=e.height),e.r?r.buildPath(t,e):t.rect(n,i,o,l),t.closePath()}});t.exports=l},c7eb:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("b636"),n("944a"),n("0c47"),n("23dc"),n("3410"),n("d9e2"),n("14d9"),n("159b"),n("b0c0"),n("131a"),n("1f68"),n("fb6a");var i=n("53ca");function r(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
r=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(I){c=function(t,e,n){return t[e]=n}}function h(t,e,n,i){var r=e&&e.prototype instanceof p?e:p,a=Object.create(r.prototype),s=new O(i||[]);return o(a,"_invoke",{value:S(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(I){return{type:"throw",arg:I}}}t.wrap=h;var d={};function p(){}function g(){}function v(){}var m={};c(m,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(M([])));b&&b!==e&&n.call(b,s)&&(m=b);var _=v.prototype=p.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(o,a,s,l){var u=f(t[o],t,a);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==Object(i["a"])(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,s,l)}),(function(t){r("throw",t,s,l)})):e.resolve(h).then((function(t){c.value=t,s(c)}),(function(t){return r("throw",t,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return k()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=f(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function C(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var r=f(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:k}}function k(){return{value:void 0,done:!0}}return g.prototype=v,o(_,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:g,configurable:!0}),g.displayName=c(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},x(w.prototype),c(w.prototype,l,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new w(h(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(_),c(_,u,"Generator"),c(_,s,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=M,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(n,i){return a.type="throw",a.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;A(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:M(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}},c8af:function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},c8d2:function(t,e,n){var i=n("5e77").PROPER,r=n("d039"),o=n("5899"),a="​…᠎";t.exports=function(t){return r((function(){return!!o[t]()||a[t]()!==a||i&&o[t].name!==t}))}},c8ef:function(t,e,n){var i=n("6d8b"),r=n("a15a"),o=r.createSymbol,a=n("2306"),s=a.Group,l=n("3842"),u=l.parsePercent,c=n("1418"),h=3;function f(t){return i.isArray(t)||(t=[+t,+t]),t}function d(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}function p(t,e){s.call(this);var n=new c(t,e),i=new s;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var g=p.prototype;g.stopEffectAnimation=function(){this.childAt(1).removeAll()},g.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),r=0;r<h;r++){var a=o(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-r/h*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(a)}d(i,t)},g.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}d(n,t)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateData=function(t,e){var n=t.hostModel;this.childAt(0).updateData(t,e);var i=this.childAt(1),r=t.getItemModel(e),o=t.getItemVisual(e,"symbol"),a=f(t.getItemVisual(e,"symbolSize")),s=t.getItemVisual(e,"color");i.attr("scale",a),i.traverse((function(t){t.attr({fill:s})}));var l=r.getShallow("symbolOffset");if(l){var c=i.position;c[0]=u(l[0],a[0]),c[1]=u(l[1],a[1])}var h=t.getItemVisual(e,"symbolRotate");i.rotation=(h||0)*Math.PI/180||0;var d={};if(d.showEffectOn=n.get("showEffectOn"),d.rippleScale=r.get("rippleEffect.scale"),d.brushType=r.get("rippleEffect.brushType"),d.period=1e3*r.get("rippleEffect.period"),d.effectOffset=e/t.count(),d.z=r.getShallow("z")||0,d.zlevel=r.getShallow("zlevel")||0,d.symbolType=o,d.color=s,d.rippleEffectColor=r.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===d.showEffectOn)this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d;else{this._effectCfg=null,this.stopEffectAnimation();var p=this.childAt(0),g=function(){p.highlight(),"render"!==d.showEffectOn&&this.startEffectAnimation(d)},v=function(){p.downplay(),"render"!==d.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",g,this).on("mouseout",v,this).on("emphasis",g,this).on("normal",v,this)}this._effectCfg=d},g.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},i.inherits(p,s);var v=p;t.exports=v},c901:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},c92f:function(t,e,n){var i=n("3041"),r=i.parseSVG,o=i.makeViewBoxTransform,a=n("e1fc"),s=n("c7a2"),l=n("6d8b"),u=l.assert,c=l.createHashMap,h=n("9850"),f=n("e0d3"),d=f.makeInner,p=d(),g={load:function(t,e){var n=p(e).originRoot;if(n)return{root:n,boundingRect:p(e).boundingRect};var i=v(e);return p(e).originRoot=i.root,p(e).boundingRect=i.boundingRect,i},makeGraphic:function(t,e,n){var i=p(e),r=i.rootMap||(i.rootMap=c()),o=r.get(n);if(o)return o;var a=i.originRoot,s=i.boundingRect;return i.originRootHostKey?o=v(e,s).root:(i.originRootHostKey=n,o=a),r.set(n,o)},removeGraphic:function(t,e,n){var i=p(e),r=i.rootMap;r&&r.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}};function v(t,e){var n,i,l=t.svgXML;try{n=l&&r(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},i=n.root,u(null!=i)}catch(v){throw new Error("Invalid svg format\n"+v.message)}var c=n.width,f=n.height,d=n.viewBoxRect;if(e||(e=null==c||null==f?i.getBoundingRect():new h(0,0,0,0),null!=c&&(e.width=c),null!=f&&(e.height=f)),d){var p=o(d,e.width,e.height),g=i;i=new a,i.add(g),g.scale=p.scale,g.position=p.position}return i.setClipPath(new s({shape:e.plain()})),{root:i,boundingRect:e}}t.exports=g},c965:function(t,e,n){var i=n("2306"),r=n("a15a"),o=r.createSymbol,a=n("392f"),s=4,l=i.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,e){var n=e.points,i=e.size,r=this.symbolProxy,o=r.shape,a=t.getContext?t.getContext():t,l=a&&i[0]<s;if(!l)for(var u=0;u<n.length;){var c=n[u++],h=n[u++];isNaN(c)||isNaN(h)||(this.softClipShape&&!this.softClipShape.contain(c,h)||(o.x=c-i[0]/2,o.y=h-i[1]/2,o.width=i[0],o.height=i[1],r.buildPath(t,o,!0)))}},afterBrush:function(t){var e=this.shape,n=e.points,i=e.size,r=i[0]<s;if(r){this.setTransform(t);for(var o=0;o<n.length;){var a=n[o++],l=n[o++];isNaN(a)||isNaN(l)||(this.softClipShape&&!this.softClipShape.contain(a,l)||t.fillRect(a-i[0]/2,l-i[1]/2,i[0],i[1]))}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1}});function u(){this.group=new i.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(t,e){this.group.removeAll();var n=new l({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},c.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e)}))}},c.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new l,this._incremental.addDisplayable(i,!0)):(i=new l({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental,n)},c._setCommon=function(t,e,n,i){var r=e.hostModel;i=i||{};var a=e.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.softClipShape=i.clipShape||null,t.symbolProxy=o(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var l=t.shape.size[0]<s;t.useStyle(r.getModel("itemStyle").getItemStyle(l?["color","shadowBlur","shadowColor"]:["color"]));var u=e.getVisual("color");u&&t.setColor(u),n||(t.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(t.dataIndex=n+(t.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var h=u;t.exports=h},ca29:function(t,e,n){var i=n("6d9a"),r=i.eachAfter,o=i.eachBefore,a=n("22da"),s=a.init,l=a.firstWalk,u=a.secondWalk,c=a.separation,h=a.radialCoordinate,f=a.getViewRect;function d(t,e){t.eachSeriesByType("tree",(function(t){p(t,e)}))}function p(t,e){var n=f(t,e);t.layoutInfo=n;var i=t.get("layout"),a=0,d=0,p=null;"radial"===i?(a=2*Math.PI,d=Math.min(n.height,n.width)/2,p=c((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(a=n.width,d=n.height,p=c());var g=t.getData().tree.root,v=g.children[0];if(v){s(g),r(v,l,p),g.hierNode.modifier=-v.hierNode.prelim,o(v,u);var m=v,y=v,b=v;o(v,(function(t){var e=t.getLayout().x;e<m.getLayout().x&&(m=t),e>y.getLayout().x&&(y=t),t.depth>b.depth&&(b=t)}));var _=m===y?1:p(m,y)/2,x=_-m.getLayout().x,w=0,S=0,C=0,T=0;if("radial"===i)w=a/(y.getLayout().x+_+x),S=d/(b.depth-1||1),o(v,(function(t){C=(t.getLayout().x+x)*w,T=(t.depth-1)*S;var e=h(C,T);t.setLayout({x:e.x,y:e.y,rawX:C,rawY:T},!0)}));else{var A=t.getOrient();"RL"===A||"LR"===A?(S=d/(y.getLayout().x+_+x),w=a/(b.depth-1||1),o(v,(function(t){T=(t.getLayout().x+x)*S,C="LR"===A?(t.depth-1)*w:a-(t.depth-1)*w,t.setLayout({x:C,y:T},!0)}))):"TB"!==A&&"BT"!==A||(w=a/(y.getLayout().x+_+x),S=d/(b.depth-1||1),o(v,(function(t){C=(t.getLayout().x+x)*w,T="TB"===A?(t.depth-1)*S:d-(t.depth-1)*S,t.setLayout({x:C,y:T},!0)})))}}}t.exports=d},ca84:function(t,e,n){var i=n("e330"),r=n("1a2d"),o=n("fc6a"),a=n("4d64").indexOf,s=n("d012"),l=i([].push);t.exports=function(t,e){var n,i=o(t),u=0,c=[];for(n in i)!r(s,n)&&r(i,n)&&l(c,n);while(e.length>u)r(i,n=e[u++])&&(~a(c,n)||l(c,n));return c}},ca98:function(t,e,n){var i=n("6d8b"),r=n("e0d3"),o=n("6cb7"),a=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function f(t,e,n){var r,o,s=[],l=[],u=t.timeline;if(t.baseOption&&(o=t.baseOption),(u||t.options)&&(o=o||{},s=(t.options||[]).slice()),t.media){o=o||{};var c=t.media;a(c,(function(t){t&&t.option&&(t.query?l.push(t):r||(r=t))}))}return o||(o=t),o.timeline||(o.timeline=u),a([o].concat(s).concat(i.map(l,(function(t){return t.option}))),(function(t){a(e,(function(e){e(t,n)}))})),{baseOption:o,timelineOptions:s,mediaDefault:r,mediaList:l}}function d(t,e,n){var r={width:e,height:n,aspectratio:e/n},o=!0;return i.each(t,(function(t,e){var n=e.match(c);if(n&&n[1]&&n[2]){var i=n[1],a=n[2].toLowerCase();p(r[a],t,i)||(o=!1)}})),o}function p(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function v(t,e){e=e||{},a(e,(function(e,n){if(null!=e){var i=t[n];if(o.hasClass(n)){e=r.normalizeToArray(e),i=r.normalizeToArray(i);var a=r.mappingToExists(i,e);t[n]=l(a,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))}else t[n]=u(i,e,!0)}}))}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(r.normalizeToArray(t.series),(function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)})),t=s(t);var n=this._optionBackup,o=f.call(this,t,e,!n);this._newBaseOption=o.baseOption,n?(v(n.baseOption,o.baseOption),o.timelineOptions.length&&(n.timelineOptions=o.timelineOptions),o.mediaList.length&&(n.mediaList=o.mediaList),o.mediaDefault&&(n.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=s(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,o=[],a=[];if(!i.length&&!r)return a;for(var u=0,c=i.length;u<c;u++)d(i[u].query,e,n)&&o.push(u);return!o.length&&r&&(o=[-1]),o.length&&!g(o,this._currentMediaIndices)&&(a=l(o,(function(t){return s(-1===t?r.option:i[t].option)}))),this._currentMediaIndices=o,a}};var m=h;t.exports=m},caad:function(t,e,n){"use strict";var i=n("23e7"),r=n("4d64").includes,o=n("d039"),a=n("44d2"),s=o((function(){return!Array(1).includes()}));i({target:"Array",proto:!0,forced:s},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb11:function(t,e,n){var i=n("cbe5"),r=n("9cf9"),o=r.subPixelOptimizeLine,a={},s=i.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,i,r,s;this.subPixelOptimize?(o(a,e,this.style),n=a.x1,i=a.y1,r=a.x2,s=a.y2):(n=e.x1,i=e.y1,r=e.x2,s=e.y2);var l=e.percent;0!==l&&(t.moveTo(n,i),l<1&&(r=n*(1-l)+r*l,s=i*(1-l)+s*l),t.lineTo(r,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=s},cb2d:function(t,e,n){var i=n("1626"),r=n("9bf2"),o=n("13d2"),a=n("6374");t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(i(n)&&o(n,u,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(c){}l?t[e]=n:r.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},cb69:function(t,e,n){var i=n("3301"),r=n("4f85"),o=r.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=o},cb6d:function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function i(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;while(e&&!e.draggable)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(i(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,o=n-this._x,a=r-this._y;this._x=n,this._y=r,e.drift(o,a,t),this.dispatchToElement(i(e,t),"drag",t.event);var s=this.findHover(n,r,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(i(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(i(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(i(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(i(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var r=n;t.exports=r},cb73:function(t,e,n){var i=n("3842"),r=i.parsePercent,o=n("6d8b"),a=Math.PI/180;function s(t,e,n,i){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");o.isArray(i)||(i=[0,i]),o.isArray(e)||(e=[e,e]);var s=n.getWidth(),u=n.getHeight(),c=Math.min(s,u),h=r(e[0],s),f=r(e[1],u),d=r(i[0],c/2),p=r(i[1],c/2),g=-t.get("startAngle")*a,v=t.get("minAngle")*a,m=t.getData().tree.root,y=t.getViewRoot(),b=y.depth,_=t.get("sort");null!=_&&l(y,_);var x=0;o.each(y.children,(function(t){!isNaN(t.getValue())&&x++}));var w=y.getValue(),S=Math.PI/(w||x)*2,C=y.depth>0,T=y.height-(C?-1:1),A=(p-d)/(T||1),O=t.get("clockwise"),M=t.get("stillShowZeroSum"),k=O?1:-1,I=function(t,e){if(t){var n=e;if(t!==m){var i=t.getValue(),a=0===w&&M?S:i*S;a<v&&(a=v),n=e+k*a;var s=t.depth-b-(C?-1:1),l=d+A*s,u=d+A*(s+1),p=t.getModel();null!=p.get("r0")&&(l=r(p.get("r0"),c/2)),null!=p.get("r")&&(u=r(p.get("r"),c/2)),t.setLayout({angle:a,startAngle:e,endAngle:n,clockwise:O,cx:h,cy:f,r0:l,r:u})}if(t.children&&t.children.length){var g=0;o.each(t.children,(function(t){g+=I(t,e+g)}))}return n-e}};if(C){var E=d,P=d+A,D=2*Math.PI;m.setLayout({angle:D,startAngle:g,endAngle:g+D,clockwise:O,cx:h,cy:f,r0:E,r:P})}I(y,g)}))}function l(t,e){var n=t.children||[];t.children=u(n,e),n.length&&o.each(t.children,(function(t){l(t,e)}))}function u(t,e){if("function"===typeof e)return t.sort(e);var n="asc"===e;return t.sort((function(t,e){var i=(t.getValue()-e.getValue())*(n?1:-1);return 0===i?(t.dataIndex-e.dataIndex)*(n?-1:1):i}))}t.exports=s},cb8f:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("cd33"),a=n("eb6b");n("48ac"),n("d4b1"),n("4a9d"),i.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!r.isArray(e)&&(t.axisPointer.link=[e])}})),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=o.collect(t,e)})),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a)},cbb0:function(t,e,n){var i=n("6d8b"),r=n("f934"),o=r.getLayoutRect;function a(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var a={width:e.getWidth(),height:e.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},f=0;f<3;f++)h[l[1-s][f]]=c[f],h[u[f]]=2===f?n[0]:i[u[f]];var d=[["x","width",3],["y","height",0]][s],p=o(h,a,i.padding);return u[(p.margin[d[2]]||0)+p[d[0]]+.5*p[d[1]]<.5*a[d[1]]?0:1]}function s(t,e){return i.each(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}e.getItemAlign=a,e.makeHighDownBatch=s},cbe5:function(t,e,n){var i=n("19eb"),r=n("6d8b"),o=n("20c8"),a=n("d833"),s=n("dc2f"),l=s.prototype.getCanvasPattern,u=Math.abs,c=new o(!0);function h(t){i.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,r=this.path||c,o=i.hasStroke(),a=i.hasFill(),s=i.fill,u=i.stroke,h=a&&!!s.colorStops,f=o&&!!u.colorStops,d=a&&!!s.image,p=o&&!!u.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,s,n)),f&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,u,n)));h?t.fillStyle=this._fillGradient:d&&(t.fillStyle=l.call(s,t)),f?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=l.call(u,t));var g=i.lineDash,v=i.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!m&&o?(r.beginPath(t),g&&!m&&(r.setLineDash(g),r.setLineDashOffset(v)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a)if(null!=i.fillOpacity){var b=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,r.fill(t),t.globalAlpha=b}else r.fill(t);if(g&&m&&(t.setLineDash(g),t.lineDashOffset=v),o)if(null!=i.strokeOpacity){b=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(t),t.globalAlpha=b}else r.stroke(t);g&&m&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new o),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var a=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=a/s,r.height+=a/s,r.x-=a/s/2,r.y-=a/s/2)}return r}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,t,e)))return!0}if(r.hasFill())return a.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(r.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&u(t[0]-1)>1e-10&&u(t[3]-1)>1e-10?Math.sqrt(u(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var n in r.inherits(e,h),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},r.inherits(h,i);var f=h;t.exports=f},cbe9:function(t,e,n){var i=n("6d8b"),r=n("9850"),o=n("cf7e");function a(t){o.call(this,t)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),r=this.getAxis("y");return n=n||[],n[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=r.toGlobalCoord(r.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return e=e||[],e[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),o=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-i,s=new r(n,i,o,a);return s}},i.inherits(a,o);var s=a;t.exports=s},cc12:function(t,e,n){var i=n("da84"),r=n("861d"),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cc15:function(t,e,n){var i=n("b367")("wks"),r=n("8b1a"),o=n("ef08").Symbol,a="function"==typeof o,s=t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))};s.store=i},cc39:function(t,e,n){var i=n("6d8b"),r=n("3842"),o=n("50e5"),a=n("ef6a"),s=i.each,l=r.asc,u=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function c(t,e,n){var i=[1/0,-1/0];return s(n,(function(t){var n=t.getData();n&&s(n.mapDimension(e,!0),(function(t){var e=n.getApproximateExtent(t);e[0]<i[0]&&(i[0]=e[0]),e[1]>i[1]&&(i[1]=e[1])}))})),i[1]<i[0]&&(i=[NaN,NaN]),h(t,i),i}function h(t,e){var n=t.getAxisModel(),i=n.getMin(!0),r="category"===n.get("type"),o=r&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!==typeof i?e[0]=i:r&&(e[0]=o>0?0:NaN);var a=n.getMax(!0);return null!=a&&"dataMax"!==a&&"function"!==typeof a?e[1]=a:r&&(e[1]=o>0?o-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function f(t,e){var n=t.getAxisModel(),i=t._percentWindow,o=t._valueWindow;if(i){var a=r.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=e||0===i[0]&&100===i[1];n.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}function d(t){var e=t._minMaxSpan={},n=t._dataZoomModel,i=t._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?a=r.linearMap(i[0]+s,i,[0,100],!0):null!=a&&(s=r.linearMap(a,[0,100],i,!0)-i[0]),e[o+"Span"]=a,e[o+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(n){if(o.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,r=e.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(r&&r.componentIndex)&&t.push(n)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,r=this.ecModel,o=this.getAxisModel(),a="x"===i||"y"===i;return a?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle"),r.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(o.get(e)||0)&&(n=t)})),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,n=this._dataExtent,i=this.getAxisModel(),o=i.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],h=[],f=[];s(["start","end"],(function(i,a){var s=t[i],l=t[i+"Value"];"percent"===u[a]?(null==s&&(s=c[a]),l=o.parse(r.linearMap(s,c,n))):(e=!0,l=null==l?n[a]:o.parse(l),s=r.linearMap(l,n,c)),f[a]=l,h[a]=s})),l(f),l(h);var d=this._minMaxSpan;function p(t,e,n,i,s){var l=s?"Span":"ValueSpan";a(0,t,n,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)e[u]=r.linearMap(t[u],n,i,!0),s&&(e[u]=o.parse(e[u]))}return e?p(f,h,n,c,!1):p(h,f,c,n,!0),{valueWindow:f,percentWindow:h}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,e),d(this);var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,f(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,f(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&s(i,(function(t){var e=t.getData(),i=e.mapDimension(n,!0);i.length&&("weakFilter"===r?e.filterSelf((function(t){for(var n,r,a,s=0;s<i.length;s++){var l=e.get(i[s],t),u=!isNaN(l),c=l<o[0],h=l>o[1];if(u&&!c&&!h)return!0;u&&(a=!0),c&&(n=!0),h&&(r=!0)}return a&&n&&r})):s(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}})),s(i,(function(t){e.setApproximateExtent(o,t)})))}))}function a(t){return t>=o[0]&&t<=o[1]}}};var p=u;t.exports=p},cc98:function(t,e,n){"use strict";var i=n("23e7"),r=n("c430"),o=n("4738").CONSTRUCTOR,a=n("d256"),s=n("d066"),l=n("1626"),u=n("cb2d"),c=a&&a.prototype;if(i({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!r&&l(a)){var h=s("Promise").prototype["catch"];c["catch"]!==h&&u(c,"catch",h,{unsafe:!0})}},cca6:function(t,e,n){var i=n("23e7"),r=n("60da");i({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},cccd:function(t,e,n){var i=n("e0d3"),r=i.makeInner;function o(){var t=r();return function(e){var n=t(e),i=e.pipelineContext,r=n.large,o=n.progressiveRender,a=n.large=i&&i.large,s=n.progressiveRender=i&&i.progressiveRender;return!!(r^a||o^s)&&"reset"}}t.exports=o},cd12:function(t,e,n){n("01ed"),n("4a9d"),n("cb8f")},cd33:function(t,e,n){var i=n("6d8b"),r=n("4319"),o=i.each,a=i.curry;function s(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(n,t,e),n.seriesInvolved&&c(n,t),n}function l(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),s=r.get("link",!0)||[],l=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var c=m(n.model),f=t.coordSysAxesInfo[c]={};t.coordSysMap[c]=n;var d=n.model,p=d.getModel("tooltip",i);if(o(n.getAxes(),a(_,!1,null)),n.getTooltipAxes&&i&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),b=n.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&o(b.baseAxes,a(_,!y||"cross",g)),y&&o(b.otherAxes,a(_,"cross",!1))}}function _(i,o,a){var c=a.model.getModel("axisPointer",r),d=c.get("show");if(d&&("auto"!==d||i||v(c))){null==o&&(o=c.get("triggerTooltip")),c=i?u(a,p,r,e,i,o):c;var g=c.get("snap"),y=m(a.model),b=o||g||"category"===a.type,_=t.axesInfo[y]={key:y,axis:a,coordSys:n,axisPointerModel:c,triggerTooltip:o,involveSeries:b,snap:g,useHandle:v(c),seriesModels:[]};f[y]=_,t.seriesInvolved|=b;var x=h(s,a);if(null!=x){var w=l[x]||(l[x]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[x].mapper,_.linkGroup=w}}}}))}function u(t,e,n,a,s,l){var u=e.getModel("axisPointer"),c={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=i.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var f=u.get("label.show");if(h.show=null==f||f,!l){var d=c.lineStyle=u.get("crossStyle");d&&i.defaults(h,d.textStyle)}}return t.model.getModel("axisPointer",new r(c,n,a))}function c(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get("tooltip.trigger",!0),r=e.get("tooltip.show",!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get("axisPointer.show",!0)&&o(t.coordSysAxesInfo[m(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function h(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(f(o[i+"AxisId"],n.id)||f(o[i+"AxisIndex"],n.componentIndex)||f(o[i+"AxisName"],n.name))return r}}function f(t,e){return"all"===t||i.isArray(t)&&i.indexOf(t,e)>=0||t===e}function d(t){var e=p(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=v(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function p(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[m(t)]}function g(t){var e=p(t);return e&&e.axisPointerModel}function v(t){return!!t.get("handle.show")}function m(t){return t.type+"||"+t.id}e.collect=s,e.fixValue=d,e.getAxisInfo=p,e.getAxisPointerModel=g,e.makeKey=m},cd84:function(t,e,n){var i=n("6d8b"),r=256;function o(){var t=i.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(t,e,n,i,o,a){var s=this._getBrush(),l=this._getGradient(t,o,"inRange"),u=this._getGradient(t,o,"outOfRange"),c=this.pointSize+this.blurSize,h=this.canvas,f=h.getContext("2d"),d=t.length;h.width=e,h.height=n;for(var p=0;p<d;++p){var g=t[p],v=g[0],m=g[1],y=g[2],b=i(y);f.globalAlpha=b,f.drawImage(s,v-c,m-c)}if(!h.width||!h.height)return h;var _=f.getImageData(0,0,h.width,h.height),x=_.data,w=0,S=x.length,C=this.minOpacity,T=this.maxOpacity,A=T-C;while(w<S){b=x[w+3]/256;var O=4*Math.floor(b*(r-1));if(b>0){var M=a(b)?l:u;b>0&&(b=b*A+C),x[w++]=M[O],x[w++]=M[O+1],x[w++]=M[O+2],x[w++]=M[O+3]*b*256}else w+=4}return f.putImageData(_,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=i.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var r=t.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},_getGradient:function(t,e,n){for(var i=this._gradientPixels,r=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)e[n](s/255,!0,o),r[a++]=o[0],r[a++]=o[1],r[a++]=o[2],r[a++]=o[3];return r}};var a=o;t.exports=a},cdaa:function(t,e,n){var i=n("607d"),r=i.addEventListener,o=i.removeEventListener,a=i.normalizeEvent,s=i.getNativeEvent,l=n("6d8b"),u=n("1fab"),c=n("22d1"),h=300,f=c.domSupported,d=function(){var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=l.map(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(t){return"mousewheel"===t&&c.browser.firefox?"DOMMouseScroll":t}function v(t){var e=t.pointerType;return"pen"===e||"touch"===e}function m(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function y(t){t&&(t.zrByTouch=!0)}function b(t,e){return a(t.dom,new x(t,e),!0)}function _(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}function x(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var w=x.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=l.noop;var S={mousedown:function(t){t=a(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=a(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||k(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=a(this.dom,t),k(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=a(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=_(this,e),this.trigger("mouseout",t)},touchstart:function(t){t=a(this.dom,t),y(t),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),S.mousemove.call(this,t),S.mousedown.call(this,t)},touchmove:function(t){t=a(this.dom,t),y(t),this.handler.processGesture(t,"change"),S.mousemove.call(this,t)},touchend:function(t){t=a(this.dom,t),y(t),this.handler.processGesture(t,"end"),S.mouseup.call(this,t),+new Date-this._lastTouchMoment<h&&S.click.call(this,t)},pointerdown:function(t){S.mousedown.call(this,t)},pointermove:function(t){v(t)||S.mousemove.call(this,t)},pointerup:function(t){S.mouseup.call(this,t)},pointerout:function(t){v(t)||S.mouseout.call(this,t)}};l.each(["click","mousewheel","dblclick","contextmenu"],(function(t){S[t]=function(e){e=a(this.dom,e),this.trigger(t,e)}}));var C={pointermove:function(t){v(t)||C.mousemove.call(this,t)},pointerup:function(t){C.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;k(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function T(t,e){var n=e.domHandlers;c.pointerEventsSupported?l.each(d.pointer,(function(i){O(e,i,(function(e){n[i].call(t,e)}))})):(c.touchEventsSupported&&l.each(d.touch,(function(i){O(e,i,(function(r){n[i].call(t,r),m(e)}))})),l.each(d.mouse,(function(i){O(e,i,(function(r){r=s(r),e.touching||n[i].call(t,r)}))})))}function A(t,e){function n(n){function i(i){i=s(i),_(t,i.target)||(i=b(t,i),e.domHandlers[n].call(t,i))}O(e,n,i,{capture:!0})}c.pointerEventsSupported?l.each(p.pointer,n):c.touchEventsSupported||l.each(p.mouse,n)}function O(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,r(t.domTarget,g(e),n,i)}function M(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&o(t.domTarget,g(n),e[n],t.listenerOpts[n]);t.mounted={}}function k(t,e){if(t._mayPointerCapture=null,f&&t._pointerCapturing^e){t._pointerCapturing=e;var n=t._globalHandlerScope;e?A(t,n):M(n)}}function I(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function E(t,e){u.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new I(t,S),f&&(this._globalHandlerScope=new I(document,C)),this._pointerCapturing=!1,this._mayPointerCapture=null,T(this,this._localHandlerScope)}var P=E.prototype;P.dispose=function(){M(this._localHandlerScope),f&&M(this._globalHandlerScope)},P.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},l.mixin(E,u);var D=E;t.exports=D},cdce:function(t,e,n){var i=n("da84"),r=n("1626"),o=i.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},cdf9:function(t,e,n){var i=n("825a"),r=n("861d"),o=n("f069");t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},ce7a:function(t,e,n){var i=n("9c0e"),r=n("0983"),o=n("5a94")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},cee1:function(t,e,n){var i=n("6d8b");function r(t){var e={};t.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!e[r]){var o={};i.each(n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var r=i.getName(e),a=n.getRegion(r);if(a&&!isNaN(t)){var s=o[r]||0,l=n.dataToPoint(a.center);o[r]=s+1,i.setItemLayout(e,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(t){var e=a.getName(t),n=a.getItemLayout(t)||{};n.showLabel=!o[e],a.setItemLayout(t,n)})),e[r]=!0}}))}t.exports=r},cee4:function(t,e,n){"use strict";var i=n("c532"),r=n("1d2b"),o=n("0a06"),a=n("4a7b"),s=n("2444");function l(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n.create=function(e){return l(a(t,e))},n}var u=l(s);u.Axios=o,u.Cancel=n("7a77"),u.CancelToken=n("8df4"),u.isCancel=n("2e67"),u.VERSION=n("5cce").version,u.all=function(t){return Promise.all(t)},u.spread=n("0df6"),u.isAxiosError=n("5f02"),t.exports=u,t.exports.default=u},cf7e:function(t,e,n){var i=n("6d8b");function r(t){return this._axes[t]}var o=function(t){this._axes={},this._dimList=[],this.name=t||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,r,this)},getAxesByScale:function(t){return t=t.toLowerCase(),i.filter(this.getAxes(),(function(e){return e.scale.type===t}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;r<n.length;r++){var o=n[r],a=this._axes[o];i[o]=a[e](t[o])}return i}};var a=o;t.exports=a},d012:function(t,e){t.exports={}},d01c:function(t,e,n){var i=n("4f85"),r=n("237f"),o=n("eda2"),a=o.encodeHTML,s=n("4319"),l=n("4e08"),u=(l.__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var n=t.edges||t.links,i=t.data||t.nodes,o=t.levels,a=this.levelModels={},l=0;l<o.length;l++)null!=o[l].depth&&o[l].depth>=0&&(a[o[l].depth]=new s(o[l],this,e));if(i&&n){var u=r(i,n,this,!0,c);return u.data}function c(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getData().getItemLayout(e).depth,r=n.levelModels[i];return r||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout().depth,o=n.levelModels[r];return o||this.parentModel})),t}))}},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getDataParams(t,n),r=i.data,o=r.source+" -- "+r.target;return i.value&&(o+=" : "+i.value),a(o)}if("node"===n){var s=this.getGraph().getNodeByIndex(t),l=s.getLayout().value,c=this.getDataParams(t,n).data.name;if(l)o=c+" : "+l;return a(o)}return u.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=u.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var i=this.getGraph().getNodeByIndex(t),r=i.getLayout().value;n.value=r}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),c=u;t.exports=c},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var i=n("da84"),r=n("1626"),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t]):i[t]&&i[t][e]}},d070:function(t,e,n){var i=n("3eba"),r=n("6d8b");function o(t,e){e.update="updateView",i.registerAction(e,(function(e,n){var i={};return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var o=n.coordinateSystem;r.each(o.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}))})),{selected:i,name:e.name}}))}n("1f1a"),n("eeea"),n("7661"),n("49e8"),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},d090:function(t,e,n){var i=n("6d8b"),r=n("f934"),o=n("3842"),a=n("2039"),s=864e5;function l(t,e,n){this._model=t}function u(t,e,n,i){var r=n.calendarModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[t](i):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo: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(t){t=o.parseDate(t);var e=t.getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var i=t.getDate();i=i<10?"0"+i:i;var r=t.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:e,m:n,d:i,day:r,time:t.getTime(),formatedDate:e+"-"+n+"-"+i,date:t}},getNextNDay:function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],(function(t){h(a,t)&&(s[o[t]]=a[t]*l[t])}));var u={width:e.getWidth(),height:e.getHeight()},c=this._rect=r.getLayoutRect(s,u);function h(t,e){return null!=t[e]&&"auto"!==t[e]}i.each([0,1],(function(t){h(a,t)||(a[t]=c[o[t]]/l[t])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(t,e){i.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),r=this._rangeInfo,o=n.formatedDate;if(e&&!(n.time>=r.start.time&&n.time<r.end.time+s))return[NaN,NaN];var a=n.day,l=this._getRangeInfo([r.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},convertToPixel:i.curry(u,"dataToPoint"),convertFromPixel:i.curry(u,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(i.isArray(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var n=this.getDateInfo(e),r=n.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],t[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/s)-Math.floor(t[0].time/s)+1,i=new Date(t[0].time),r=i.getDate(),o=t[1].date.getDate();i.setDate(r+n-1);var a=i.getDate();if(a!==o){var l=i.getTime()-t[1].time>0?1:-1;while((a=i.getDate())!==o&&(i.getTime()-t[1].time)*l>0)n-=l,i.setDate(a-l)}var u=Math.floor((n+t[0].day+6)/7),c=e?1-u:u-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:u,nthWeek:c,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return!1;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(i){var r=new l(i,t,e);n.push(r),i.coordinateSystem=r})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},a.register("calendar",l);var c=l;t.exports=c},d15d:function(t,e,n){var i=n("6d8b"),r=i.createHashMap,o=i.each;function a(t){var e=r();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(s)}function s(t){o(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=a.map(o,(function(o,l,u){var c,h,f=a.get(e.stackedDimension,u);if(isNaN(f))return r;s?h=a.getRawIndex(u):c=a.get(e.stackedByDimension,u);for(var d=NaN,p=n-1;p>=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if(f>=0&&v>0||f<=0&&v<0){f+=v,d=v;break}}}return i[0]=f,i[1]=d,i}));a.hostModel.setData(l),e.data=l}))}t.exports=a},d16a:function(t,e,n){var i=n("fc5e"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},d256:function(t,e,n){var i=n("da84");t.exports=i.Promise},d28b:function(t,e,n){var i=n("e065");i("iterator")},d28f:function(t,e,n){var i=n("3eba");n("84d5"),n("4650"),n("5e97");var r=n("903c"),o=n("6cb7");i.registerProcessor(i.PRIORITY.PROCESSOR.SERIES_FILTER,r),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2a5:function(t,e,n){var i=n("3eba");i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},d2bb:function(t,e,n){var i=n("e330"),r=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(a){}return function(n,i){return r(n),o(i),e?t(n,i):n.__proto__=i,n}}():void 0)},d2cf:function(t,e,n){var i=n("6d8b"),r=n("401b"),o=n("cb6d"),a=n("1fab"),s=n("607d"),l=n("0b44"),u="silent";function c(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:h}}function h(){s.stop(this.event)}function f(){}f.prototype.dispose=function(){};var d=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,n,i){a.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new f,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)};function g(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i,r=t;while(r){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||u}return!1}function v(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(d,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=v(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?{x:e,y:n}:this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,o=c(e,t,n);while(i)if(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(e,o),i=i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},o=i.length-1;o>=0;o--){var a;if(i[o]!==n&&!i[o].ignore&&(a=g(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==u)){r.target=i[o];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var n,i,o=e.zrX,a=e.zrY,s=v(this,o,a);if("mouseup"===t&&s||(n=this.findHover(o,a),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),i.mixin(p,a),i.mixin(p,o);var m=p;t.exports=m},d357:function(t,e,n){var i=n("6d8b"),r=i.each,o=n("1c5f"),a=o.simpleLayout,s=o.simpleLayoutEdge;function l(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),o=[];r(n.dimensions,(function(t){o=o.concat(i.mapDimension(t,!0))}));for(var l=0;l<i.count();l++){for(var u=[],c=!1,h=0;h<o.length;h++){var f=i.get(o[h],l);isNaN(f)||(c=!0),u.push(f)}c?i.setItemLayout(l,n.dataToPoint(u)):i.setItemLayout(l,[NaN,NaN])}s(i.graph,t)}else e&&"none"!==e||a(t)}))}t.exports=l},d3a0:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("29a8"),a=n("2145"),s=o.toolbox.magicType,l="__ec_magicType_stack__";function u(t){this.model=t}u.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"},title:r.clone(s.title),option:{},seriesIndex:{}};var c=u.prototype;c.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return r.each(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n};var h={line:function(t,e,n,i){if("bar"===t)return r.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(t,e,n,i){if("line"===t)return r.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(t,e,n,i){var o=n.get("stack")===l;if("line"===t||"bar"===t)return i.setIconStatus("stack",o?"normal":"emphasis"),r.merge({id:e,stack:o?"":l},i.get("option.stack")||{},!0)}},f=[["line","bar"],["stack"]];c.onclick=function(t,e,n){var i=this.model,o=i.get("seriesIndex."+n);if(h[n]){var a,u={series:[]},c=function(e){var o=e.subType,a=e.id,s=h[n](o,a,e,i);s&&(r.defaults(s,e.option),u.series.push(s));var l=e.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var c=l.getAxesByScale("ordinal")[0];if(c){var f=c.dim,d=f+"Axis",p=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0],g=p.componentIndex;u[d]=u[d]||[];for(var v=0;v<=g;v++)u[d][g]=u[d][g]||{};u[d][g].boundaryGap="bar"===n}}};if(r.each(f,(function(t){r.indexOf(t,n)>=0&&r.each(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},c),"stack"===n){var d=u.series&&u.series[0]&&u.series[0].stack===l;a=d?r.merge({stack:s.title.tiled},s.title):r.clone(s.title)}e.dispatchAction({type:"changeMagicType",currentType:n,newOption:u,newTitle:a,featureName:"magicType"})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),a.register("magicType",u);var d=u;t.exports=d},d3a4:function(t,e,n){var i,r=n("22d1"),o="urn:schemas-microsoft-com:vml",a="undefined"===typeof window?null:window,s=!1,l=a&&a.document;function u(t){return i(t)}if(l&&!r.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),i=function(t){return l.createElement("<zrvml:"+t+' class="zrvml">')}}catch(h){i=function(t){return l.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}e.doc=l,e.createNode=u,e.initVML=c},d3b7:function(t,e,n){var i=n("00ee"),r=n("cb2d"),o=n("b041");i||r(Object.prototype,"toString",o,{unsafe:!0})},d3f4:function(t,e){function n(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}t.exports=n},d44e:function(t,e,n){var i=n("9bf2").f,r=n("1a2d"),o=n("b622"),a=o("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!r(t,a)&&i(t,a,{configurable:!0,value:e})}},d498:function(t,e,n){var i=n("cbe5"),r=n("4fac"),o=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){r.buildPath(t,e,!1)}});t.exports=o},d4af:function(t,e,n){"use strict";var i=n("8eb7"),r=n("7b3e"),o=10,a=40,s=800;function l(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=e*o,r=n*o,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||r)&&t.deltaMode&&(1==t.deltaMode?(i*=a,r*=a):(i*=s,r*=s)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}}l.getEventType=function(){return i.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},t.exports=l},d4b1:function(t,e,n){var i=n("3eba"),r=n("17d6"),o=i.extendComponentView({type:"axisPointer",render:function(t,e,n){var i=e.getComponent("tooltip"),o=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,(function(t,e,n){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){r.unregister(e.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(t,e){r.unregister("axisPointer",e),o.superApply(this._model,"dispose",arguments)}}),a=o;t.exports=a},d4c3:function(t,e,n){var i=n("342f"),r=n("da84");t.exports=/ipad|iphone|ipod/i.test(i)&&void 0!==r.Pebble},d4c6:function(t,e,n){var i=n("cbe5"),r=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n<e.length;n++)t=t||e[n].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},buildPath:function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});t.exports=r},d4d1:function(t,e,n){var i=n("cbe5"),r=n("401b"),o=n("897a"),a=r.min,s=r.max,l=r.scaleAndAdd,u=r.copy,c=[],h=[],f=[];function d(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,n,i,r,o,a,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):v.apply(this,arguments)}function g(t,e,n,i,r,o,a,s,l,c,p){for(var g=0,v=n,m=0;m<i;m++){var y=e[v];if(v>=r||v<0)break;if(d(y)){if(p){v+=o;continue}break}if(v===n)t[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var b=e[g],_="y"===c?1:0,x=(y[_]-b[_])*l;u(h,b),h[_]=b[_]+x,u(f,y),f[_]=y[_]-x,t.bezierCurveTo(h[0],h[1],f[0],f[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=v,v+=o}return m}function v(t,e,n,i,o,p,g,v,m,y,b){for(var _=0,x=n,w=0;w<i;w++){var S=e[x];if(x>=o||x<0)break;if(d(S)){if(b){x+=p;continue}break}if(x===n)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(m>0){var C=x+p,T=e[C];if(b)while(T&&d(e[C]))C+=p,T=e[C];var A=.5,O=e[_];T=e[C];if(!T||d(T))u(f,S);else{var M,k;if(d(T)&&!b&&(T=S),r.sub(c,T,O),"x"===y||"y"===y){var I="x"===y?0:1;M=Math.abs(S[I]-O[I]),k=Math.abs(S[I]-T[I])}else M=r.dist(S,O),k=r.dist(S,T);A=k/(k+M),l(f,S,c,-m*(1-A))}a(h,h,v),s(h,h,g),a(f,f,v),s(f,f,g),t.bezierCurveTo(h[0],h[1],f[0],f[1],S[0],S[1]),l(h,S,c,m*A)}else t.lineTo(S[0],S[1]);_=x,x+=p}return w}function m(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;r<t.length;r++){var o=t[r];o[0]<n[0]&&(n[0]=o[0]),o[1]<n[1]&&(n[1]=o[1]),o[0]>i[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1])}return{min:e?n:i,max:e?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,o=m(n,e.smoothConstraint);if(e.connectNulls){for(;r>0;r--)if(!d(n[r-1]))break;for(;i<r;i++)if(!d(n[i]))break}while(i<r)i+=p(t,n,i,r,r,1,o.min,o.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),b=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:o(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length,a=e.smoothMonotone,s=m(n,e.smoothConstraint),l=m(i,e.smoothConstraint);if(e.connectNulls){for(;o>0;o--)if(!d(n[o-1]))break;for(;r<o;r++)if(!d(n[r]))break}while(r<o){var u=p(t,n,r,o,o,1,s.min,s.max,e.smooth,a,e.connectNulls);p(t,i,r+u-1,u,o,-1,l.min,l.max,e.stackedOnSmooth,a,e.connectNulls),r+=u+1,t.closePath()}}});e.Polyline=y,e.Polygon=b},d4ec:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("d9e2");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},d51b:function(t,e){var n=function(){this.head=null,this.tail=null,this._len=0},i=n.prototype;i.insert=function(t){var e=new r(t);return this.insertEntry(e),e},i.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},i.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},i.len=function(){return this._len},i.clear=function(){this.head=this.tail=null,this._len=0};var r=function(t){this.value=t,this.next,this.prev},o=function(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},a=o.prototype;a.put=function(t,e){var n=this._list,i=this._map,o=null;if(null==i[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return o},a.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},a.clear=function(){this._list.clear(),this._map={}};var s=o;t.exports=s},d5b7:function(t,e,n){var i=n("de00"),r=n("1fab"),o=n("0cde"),a=n("bd6b"),s=n("6d8b"),l=function(t){o.call(this,t),r.call(this,t),a.call(this,t),this.id=t.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},s.mixin(l,a),s.mixin(l,o),s.mixin(l,r);var u=l;t.exports=u},d6d6:function(t,e){var n=TypeError;t.exports=function(t,e){if(t<e)throw n("Not enough arguments");return t}},d6d9:function(t,e,n){var i=n("3014"),r=i.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(t){return t.stack=null,r.superApply(this,"getInitialData",arguments)}}),o=r;t.exports=o},d6ef:function(t,e,n){var i=n("3eba"),r={type:"selectDataRange",event:"dataRangeSelected",update:"update"};i.registerAction(r,(function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))}))},d716:function(t,e,n){var i=n("3eba"),r=n("6d8b");n("aa01"),n("340d"),n("44fb");var o=n("98e7"),a=n("cb73"),s=n("d3f4");i.registerVisual(r.curry(o,"sunburst")),i.registerLayout(r.curry(a,"sunburst")),i.registerProcessor(r.curry(s,"sunburst"))},d747:function(t,e,n){var i=n("3eba"),r=n("d81e"),o=r.updateCenterAndZoom;n("d2a5");var a={type:"graphRoam",event:"graphRoam",update:"none"};i.registerAction(a,(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var n=e.coordinateSystem,i=o(n,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))},d784:function(t,e,n){"use strict";n("ac1f");var i=n("e330"),r=n("cb2d"),o=n("9263"),a=n("d039"),s=n("b622"),l=n("9112"),u=s("species"),c=RegExp.prototype;t.exports=function(t,e,n,h){var f=s(t),d=!a((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),p=d&&!a((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e}));if(!d||!p||n){var g=i(/./[f]),v=e(f,""[t],(function(t,e,n,r,a){var s=i(t),l=e.exec;return l===o||l===c.exec?d&&!a?{done:!0,value:g(e,n,r)}:{done:!0,value:s(n,e,r)}:{done:!1}}));r(String.prototype,t,v[0]),r(c,f,v[1])}h&&l(c[f],"sham",!0)}},d81d:function(t,e,n){"use strict";var i=n("23e7"),r=n("b727").map,o=n("1dde"),a=o("map");i({target:"Array",proto:!0,forced:!a},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},d81e:function(t,e){function n(t,e,n){var i=t.getZoom(),r=t.getCenter(),o=e.zoom,a=t.dataToPoint(r);if(null!=e.dx&&null!=e.dy){a[0]-=e.dx,a[1]-=e.dy;r=t.pointToData(a);t.setCenter(r)}if(null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(i*o,l),s)/i}t.scale[0]*=o,t.scale[1]*=o;var u=t.position,c=(e.originX-u[0])*(o-1),h=(e.originY-u[1])*(o-1);u[0]-=c,u[1]-=h,t.updateTransform();r=t.pointToData(a);t.setCenter(r),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}e.updateCenterAndZoom=n},d833:function(t,e,n){var i=n("20c8"),r=n("9680"),o=n("e7d2"),a=n("68ab"),s=n("9f51"),l=n("857d"),u=l.normalizeRadian,c=n("4a3f"),h=n("8728"),f=i.CMD,d=2*Math.PI,p=1e-4;function g(t,e){return Math.abs(t-e)<p}var v=[-1,-1,-1],m=[-1,-1];function y(){var t=m[0];m[0]=m[1],m[1]=t}function b(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var h=c.cubicRootAt(e,i,o,s,u,v);if(0===h)return 0;for(var f,d,p=0,g=-1,b=0;b<h;b++){var _=v[b],x=0===_||1===_?.5:1,w=c.cubicAt(t,n,r,a,_);w<l||(g<0&&(g=c.cubicExtrema(e,i,o,s,m),m[1]<m[0]&&g>1&&y(),f=c.cubicAt(e,i,o,s,m[0]),g>1&&(d=c.cubicAt(e,i,o,s,m[1]))),2===g?_<m[0]?p+=f<e?x:-x:_<m[1]?p+=d<f?x:-x:p+=s<d?x:-x:_<m[0]?p+=f<e?x:-x:p+=s<f?x:-x)}return p}function _(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=c.quadraticRootAt(e,i,o,s,v);if(0===l)return 0;var u=c.quadraticExtremum(e,i,o);if(u>=0&&u<=1){for(var h=0,f=c.quadraticAt(e,i,o,u),d=0;d<l;d++){var p=0===v[d]||1===v[d]?.5:1,g=c.quadraticAt(t,n,r,v[d]);g<a||(v[d]<u?h+=f<e?p:-p:h+=o<f?p:-p)}return h}p=0===v[0]||1===v[0]?.5:1,g=c.quadraticAt(t,n,r,v[0]);return g<a?0:o<e?p:-p}function x(t,e,n,i,r,o,a,s){if(s-=e,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);v[0]=-l,v[1]=l;var c=Math.abs(i-r);if(c<1e-4)return 0;if(c%d<1e-4){i=0,r=d;var h=o?1:-1;return a>=v[0]+t&&a<=v[1]+t?h:0}if(o){l=i;i=u(r),r=u(l)}else i=u(i),r=u(r);i>r&&(r+=d);for(var f=0,p=0;p<2;p++){var g=v[p];if(g+t>a){var m=Math.atan2(s,g);h=o?1:-1;m<0&&(m=d+m),(m>=i&&m<=r||m+d>=i&&m+d<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(h=-h),f+=h)}}return f}function w(t,e,n,i,l){for(var u=0,c=0,d=0,p=0,v=0,m=0;m<t.length;){var y=t[m++];switch(y===f.M&&m>1&&(n||(u+=h(c,d,p,v,i,l))),1===m&&(c=t[m],d=t[m+1],p=c,v=d),y){case f.M:p=t[m++],v=t[m++],c=p,d=v;break;case f.L:if(n){if(r.containStroke(c,d,t[m],t[m+1],e,i,l))return!0}else u+=h(c,d,t[m],t[m+1],i,l)||0;c=t[m++],d=t[m++];break;case f.C:if(n){if(o.containStroke(c,d,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],e,i,l))return!0}else u+=b(c,d,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],i,l)||0;c=t[m++],d=t[m++];break;case f.Q:if(n){if(a.containStroke(c,d,t[m++],t[m++],t[m],t[m+1],e,i,l))return!0}else u+=_(c,d,t[m++],t[m++],t[m],t[m+1],i,l)||0;c=t[m++],d=t[m++];break;case f.A:var w=t[m++],S=t[m++],C=t[m++],T=t[m++],A=t[m++],O=t[m++];m+=1;var M=1-t[m++],k=Math.cos(A)*C+w,I=Math.sin(A)*T+S;m>1?u+=h(c,d,k,I,i,l):(p=k,v=I);var E=(i-w)*T/C+w;if(n){if(s.containStroke(w,S,T,A,A+O,M,e,E,l))return!0}else u+=x(w,S,T,A,A+O,M,E,l);c=Math.cos(A+O)*C+w,d=Math.sin(A+O)*T+S;break;case f.R:p=c=t[m++],v=d=t[m++];var P=t[m++],D=t[m++];k=p+P,I=v+D;if(n){if(r.containStroke(p,v,k,v,e,i,l)||r.containStroke(k,v,k,I,e,i,l)||r.containStroke(k,I,p,I,e,i,l)||r.containStroke(p,I,p,v,e,i,l))return!0}else u+=h(k,v,k,I,i,l),u+=h(p,I,p,v,i,l);break;case f.Z:if(n){if(r.containStroke(c,d,p,v,e,i,l))return!0}else u+=h(c,d,p,v,i,l);c=p,d=v;break}}return n||g(d,v)||(u+=h(c,d,p,v,i,l)||0),0!==u}function S(t,e,n){return w(t,0,!1,e,n)}function C(t,e,n,i){return w(t,e,!0,n,i)}e.contain=S,e.containStroke=C},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9b5:function(t,e,n){var i=n("d066"),r=n("1626"),o=n("3a9b"),a=n("fdbf"),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&o(e.prototype,s(t))}},d9d0:function(t,e,n){var i=n("6d8b"),r=n("1687"),o=n("f934"),a=n("697e"),s=n("0f55"),l=n("2306"),u=n("3842"),c=n("ef6a"),h=i.each,f=Math.min,d=Math.max,p=Math.floor,g=Math.ceil,v=u.round,m=Math.PI;function y(t,e,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,n)}function b(t,e){return f(d(t,e[0]),e[1])}function _(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function x(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}y.prototype={type:"parallel",constructor:y,_init:function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;h(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),l=this._axesMap.set(t,new s(t,a.createScaleByModel(o),[0,0],o.get("type"),i)),u="category"===l.type;l.onBand=u&&o.get("boundaryGap"),l.inverse=o.get("inverse"),o.axis=l,l.model=o,l.coordinateSystem=o.coordinateSystem=this}),this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();h(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),a.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=b(e.get("axisExpandWidth"),l),h=b(e.get("axisExpandCount")||0,[0,u]),f=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,d=e.get("axisExpandWindow");if(d)t=b(d[1]-d[0],l),d[1]=d[0]+t;else{t=b(c*(h-1),l);var m=e.get("axisExpandCenter")||p(u/2);d=[c*m-t/2],d[1]=d[0]+t}var y=(s-t)/(u-h);y<3&&(y=0);var _=[p(v(d[0]/c,1))+1,g(v(d[1]/c,1))-1],x=y/c*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:f,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:d,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:x}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),h(n,(function(e,n){var a=(i.axisExpandable?x:_)(n,i),s={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},l={horizontal:m/2,vertical:0},u=[s[o].x+t.x,s[o].y+t.y],c=l[o],h=r.create();r.rotate(h,h,c),r.translate(h,h,u),this._axesLayout[e]={position:u,rotation:c,transform:h,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,r){null==n&&(n=0),null==r&&(r=t.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];i.each(a,(function(e){s.push(t.mapDimension(e)),l.push(o.get(e).model)}));for(var u=this.hasAxisBrushed(),c=n;c<r;c++){var h;if(u){h="active";for(var f=t.getValues(s,c),d=0,p=a.length;d<p;d++){var g=l[d].getActiveState(f[d]);if("inactive"===g){h="inactive";break}}}else h="normal";e(h,c)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(t,e){var n=this._axesLayout[e];return l.applyTransform([t,0],n.transform)},getAxisLayout:function(t){return i.clone(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),p=null!=h[0];if(u)p&&u&&s<r*h[0]?(l="jump",a=s-r*h[2]):p&&u&&s>r*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),a*=e.axisExpandWidth/u,a?c(a,i,o,"all"):l="none";else{r=i[1]-i[0];var g=o[1]*s/r;i=[d(0,g-r/2)],i[1]=f(o[1],i[0]+r),i[0]=i[1]-r}return{axisExpandWindow:i,behavior:l}}};var w=y;t.exports=w},d9e2:function(t,e,n){var i=n("23e7"),r=n("da84"),o=n("2ba4"),a=n("e5cb"),s="WebAssembly",l=r[s],u=7!==Error("e",{cause:7}).cause,c=function(t,e){var n={};n[t]=a(t,e,u),i({global:!0,constructor:!0,arity:1,forced:u},n)},h=function(t,e){if(l&&l[t]){var n={};n[t]=a(s+"."+t,e,u),i({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};c("Error",(function(t){return function(e){return o(t,this,arguments)}})),c("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),c("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),c("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),c("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),c("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),c("URIError",(function(t){return function(e){return o(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},d9f1:function(t,e,n){var i=n("6d8b"),r=n("6cb7"),o=n("9e47"),a=n("2023"),s=r.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,a);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(t,e){return e.type||(e.data?"category":"value")}o("angle",s,u,l.angle),o("radius",s,u,l.radius)},d9f5:function(t,e,n){"use strict";var i=n("23e7"),r=n("da84"),o=n("c65b"),a=n("e330"),s=n("c430"),l=n("83ab"),u=n("04f8"),c=n("d039"),h=n("1a2d"),f=n("3a9b"),d=n("825a"),p=n("fc6a"),g=n("a04b"),v=n("577e"),m=n("5c6c"),y=n("7c73"),b=n("df75"),_=n("241c"),x=n("057f"),w=n("7418"),S=n("06cf"),C=n("9bf2"),T=n("37e8"),A=n("d1e7"),O=n("cb2d"),M=n("5692"),k=n("f772"),I=n("d012"),E=n("90e3"),P=n("b622"),D=n("e538"),L=n("e065"),R=n("57b9"),N=n("d44e"),j=n("69f3"),B=n("b727").forEach,F=k("hidden"),z="Symbol",V="prototype",H=j.set,G=j.getterFor(z),W=Object[V],q=r.Symbol,U=q&&q[V],Y=r.TypeError,X=r.QObject,$=S.f,Z=C.f,K=x.f,J=A.f,Q=a([].push),tt=M("symbols"),et=M("op-symbols"),nt=M("wks"),it=!X||!X[V]||!X[V].findChild,rt=l&&c((function(){return 7!=y(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=$(W,e);i&&delete W[e],Z(t,e,n),i&&t!==W&&Z(W,e,i)}:Z,ot=function(t,e){var n=tt[t]=y(U);return H(n,{type:z,tag:t,description:e}),l||(n.description=e),n},at=function(t,e,n){t===W&&at(et,e,n),d(t);var i=g(e);return d(n),h(tt,i)?(n.enumerable?(h(t,F)&&t[F][i]&&(t[F][i]=!1),n=y(n,{enumerable:m(0,!1)})):(h(t,F)||Z(t,F,m(1,{})),t[F][i]=!0),rt(t,i,n)):Z(t,i,n)},st=function(t,e){d(t);var n=p(e),i=b(n).concat(ft(n));return B(i,(function(e){l&&!o(ut,n,e)||at(t,e,n[e])})),t},lt=function(t,e){return void 0===e?y(t):st(y(t),e)},ut=function(t){var e=g(t),n=o(J,this,e);return!(this===W&&h(tt,e)&&!h(et,e))&&(!(n||!h(this,e)||!h(tt,e)||h(this,F)&&this[F][e])||n)},ct=function(t,e){var n=p(t),i=g(e);if(n!==W||!h(tt,i)||h(et,i)){var r=$(n,i);return!r||!h(tt,i)||h(n,F)&&n[F][i]||(r.enumerable=!0),r}},ht=function(t){var e=K(p(t)),n=[];return B(e,(function(t){h(tt,t)||h(I,t)||Q(n,t)})),n},ft=function(t){var e=t===W,n=K(e?et:p(t)),i=[];return B(n,(function(t){!h(tt,t)||e&&!h(W,t)||Q(i,tt[t])})),i};u||(q=function(){if(f(U,this))throw Y("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=E(t),n=function(t){this===W&&o(n,et,t),h(this,F)&&h(this[F],e)&&(this[F][e]=!1),rt(this,e,m(1,t))};return l&&it&&rt(W,e,{configurable:!0,set:n}),ot(e,t)},U=q[V],O(U,"toString",(function(){return G(this).tag})),O(q,"withoutSetter",(function(t){return ot(E(t),t)})),A.f=ut,C.f=at,T.f=st,S.f=ct,_.f=x.f=ht,w.f=ft,D.f=function(t){return ot(P(t),t)},l&&(Z(U,"description",{configurable:!0,get:function(){return G(this).description}}),s||O(W,"propertyIsEnumerable",ut,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),B(b(nt),(function(t){L(t)})),i({target:z,stat:!0,forced:!u},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),i({target:"Object",stat:!0,forced:!u,sham:!l},{create:lt,defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ct}),i({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ht}),R(),N(q,z),I[F]=!0},d9fc:function(t,e,n){var i=n("cbe5"),r=i.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=r},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dae1:function(t,e,n){var i=n("3eba");n("928d"),n("b369"),n("4411");var r=n("90c2"),o=n("9ca8");i.registerVisual(r),i.registerLayout(o)},db0e:function(t,e,n){var i=n("3eba");n("a8c6"),n("8344"),i.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},db9e:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("e86a"),a=n("2145"),s=n("2306"),l=n("4319"),u=n("80f0"),c=n("7919"),h=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h=this.group;if(h.removeAll(),t.get("show")){var d=+t.get("itemSize"),p=t.get("feature")||{},g=this._features||(this._features={}),v=[];r.each(p,(function(t,e){v.push(e)})),new u(this._featureNames||[],v).add(m).update(m).remove(r.curry(m,null)).execute(),this._featureNames=v,c.layout(h,t,n),h.add(c.makeBackground(h.getBoundingRect(),t)),h.eachChild((function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var r=o.getBoundingRect(e,o.makeFont(i)),a=t.position[0]+h.position[0],s=t.position[1]+h.position[1]+d,l=!1;s+r.height>n.getHeight()&&(i.textPosition="top",l=!0);var u=l?-5-r.height:d+8;a+r.width/2>n.getWidth()?(i.textPosition=["100%",u],i.textAlign="right"):a-r.width/2<0&&(i.textPosition=[0,u],i.textAlign="left")}}))}function m(r,o){var s,u=v[r],c=v[o],h=p[u],d=new l(h,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===u&&(h.title=i.newTitle),u&&!c){if(f(u))s={model:d,onclick:d.option.onclick,featureName:u};else{var m=a.get(u);if(!m)return;s=new m(d,e,n)}g[u]=s}else{if(s=g[c],!s)return;s.model=d,s.ecModel=e,s.api=n}u||!c?d.get("show")&&!s.unusable?(y(d,s,u),d.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},s.render&&s.render(d,e,n,i)):s.remove&&s.remove(e,n):s.dispose&&s.dispose(e,n)}function y(i,o,a){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=o.getIcons?o.getIcons():i.get("icon"),f=i.get("title")||{};if("string"===typeof c){var p=c,g=f;c={},f={},c[a]=p,f[a]=g}var v=i.iconPaths={};r.each(c,(function(a,c){var p=s.createIcon(a,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:f[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",r.extend({content:f[c],formatter:g.get("formatter",!0)||function(){return f[c]},formatterParams:{componentType:"toolbox",name:c,title:f[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[c],p.on("mouseover",(function(){var e=u.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(i.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",r.bind(o.onclick,o,e,n,c)),v[c]=p}))}},updateView:function(t,e,n,i){r.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,i)}))},remove:function(t,e){r.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){r.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});function f(t){return 0===t.indexOf("my")}t.exports=h},dbb4:function(t,e,n){var i=n("23e7"),r=n("83ab"),o=n("56ef"),a=n("fc6a"),s=n("06cf"),l=n("8418");i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){var e,n,i=a(t),r=s.f,u=o(i),c={},h=0;while(u.length>h)n=r(i,e=u[h++]),void 0!==n&&l(c,e,n);return c}})},dc20:function(t,e,n){var i=n("8727"),r=i.createElement,o=n("6d8b"),a=n("4942"),s=n("cbe5"),l=n("0da8"),u=n("76a5"),c=n("0c12"),h=n("b16f"),f=n("9fa3"),d=n("bcaa"),p=n("3f8e"),g=p.path,v=p.image,m=p.text;function y(t){return parseInt(t,10)}function b(t){return t instanceof s?g:t instanceof l?v:t instanceof u?m:g}function _(t,e){return e&&t&&e.parentNode!==t}function x(t,e,n){if(_(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function w(t,e){if(_(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function S(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function C(t){return t.__textSvgEl}function T(t){return t.__svgEl}var A=function(t,e,n,i){this.root=t,this.storage=e,this._opts=n=o.extend({},n||{});var a=r("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=r("g");a.appendChild(s);var l=r("g");a.appendChild(l),this.gradientManager=new h(i,l),this.clipPathManager=new f(i,l),this.shadowManager=new d(i,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,t.appendChild(u),u.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};function O(t){return function(){a('In SVG mode painter not support method "'+t+'"')}}A.prototype={constructor:A,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=r("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n=this._svgRoot,i=this._visibleList,r=t.length,o=[];for(e=0;e<r;e++){var a=t[e],s=b(a),l=T(a)||C(a);a.invisible||(a.__dirty&&(s&&s.brush(a),this.clipPathManager.update(a),a.style&&(this.gradientManager.update(a.style.fill),this.gradientManager.update(a.style.stroke),this.shadowManager.update(l,a)),a.__dirty=!1),o.push(a))}var u,h=c(i,o);for(e=0;e<h.length;e++){var f=h[e];if(f.removed)for(var d=0;d<f.count;d++){a=i[f.indices[d]],l=T(a);var p=C(a);S(n,l),S(n,p)}}for(e=0;e<h.length;e++){f=h[e];if(f.added)for(d=0;d<f.count;d++){a=o[f.indices[d]],l=T(a),p=C(a);u?x(n,l,u):w(n,l),l?x(n,p,l):u?x(n,p,u):w(n,p),x(n,p,l),u=p||l||u,this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a)}else if(!f.removed)for(d=0;d<f.count;d++){a=o[f.indices[d]],l=T(a),p=C(a),l=T(a),p=C(a);this.gradientManager.markUsed(a),this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.markUsed(a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a),p&&x(n,p,l),u=l||p||u}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=o},_getDefs:function(t){var e=this._svgDom,n=e.getElementsByTagName("defs");if(0===n.length){if(t){n=e.insertBefore(r("defs"),e.firstChild);return n.contains||(n.contains=function(t){var e=n.children;if(!e)return!1;for(var i=e.length-1;i>=0;--i)if(e[i]===t)return!0;return!1}),n}return null}return n[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var r=n.style;r.width=t+"px",r.height=e+"px";var o=this._svgDom;o.setAttribute("width",t),o.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||y(s[n])||y(a.style[n]))-(y(s[r])||0)-(y(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var t=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,">\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+t}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){A.prototype[t]=O(t)}));var M=A;t.exports=M},dc2f:function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var i=n;t.exports=i},dc4a:function(t,e,n){var i=n("59ed"),r=n("7234");t.exports=function(t,e){var n=t[e];return r(n)?void 0:i(n)}},dcb3:function(t,e,n){var i=n("6d8b"),r=n("625e"),o=n("2306"),a=n("cd33"),s=n("607d"),l=n("88b3"),u=n("e0d3"),c=u.makeInner,h=c(),f=i.clone,d=i.bind;function p(){}function g(t,e,n,i){v(h(n).lastProp,i)||(h(n).lastProp=i,e?o.updateProps(n,i,t):(n.stopAnimation(),n.attr(i)))}function v(t,e){if(i.isObject(t)&&i.isObject(e)){var n=!0;return i.each(e,(function(e,i){n=n&&v(t[i],e)})),!!n}return t===e}function m(t,e){t[e.get("label.show")?"show":"hide"]()}function y(t){return{position:t.position.slice(),rotation:t.rotation||0}}function b(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,r){var a=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var f=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=i.curry(g,e,f);this.updatePointerEl(l,c,d,e),this.updateLabelEl(l,c,d,e)}else l=this._group=new o.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);b(l,e,!0),this._renderHandle(a)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(r&&i.getBandWidth()>s)return!0;if(o){var l=a.getAxisInfo(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,r){},createPointerEl:function(t,e,n,i){var r=e.pointer;if(r){var a=h(t).pointerEl=new o[r.type](f(e.pointer));t.add(a)}},createLabelEl:function(t,e,n,i){if(e.label){var r=h(t).labelEl=new o.Rect(f(e.label));t.add(r),m(r,i)}},updatePointerEl:function(t,e,n){var i=h(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var r=h(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{shape:e.label.shape,position:e.label.position}),m(r,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return a&&r.remove(a),void(this._handle=null);this._handle||(e=!0,a=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:d(this._onHandleDragMove,this,0,0),drift:d(this._onHandleDragMove,this),ondragend:d(this._onHandleDragEnd,this)}),r.add(a)),b(a,n,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];a.setStyle(u.getItemStyle(null,h));var f=u.get("size");i.isArray(f)||(f=[f,f]),a.attr("scale",[f[0]/2,f[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(y(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(y(i)),h(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}},p.prototype.constructor=p,r.enableClassExtend(p);var _=p;t.exports=_},dcc3:function(t,e,n){"use strict";var i=n("ae93").IteratorPrototype,r=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};t.exports=function(t,e,n,u){var c=e+" Iterator";return t.prototype=r(i,{next:o(+!u,n)}),a(t,c,!1,!0),s[c]=l,t}},dcea:function(t,e,n){var i=n("6d8b"),r=n("e887"),o=n("2306"),a=n("cbe5"),s=["itemStyle"],l=["emphasis","itemStyle"],u=r.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=i.getItemLayout(t),n=h(e,i,t,a,!0);i.setItemGraphicEl(t,n),r.add(n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?f(s,n,i,t):n=h(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:i.noop}),c=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])}});function h(t,e,n,i,r){var o=t.ends,a=new c({shape:{points:r?d(o,i,t):o}});return f(t,a,e,n,r),a}function f(t,e,n,i,r){var a=n.hostModel,u=o[r?"initProps":"updateProps"];u(e,{shape:{points:t.ends}},a,i);var c=n.getItemModel(i),h=c.getModel(s),f=n.getItemVisual(i,"color"),d=h.getItemStyle(["borderColor"]);d.stroke=f,d.strokeNoScale=!0,e.useStyle(d),e.z2=100;var p=c.getModel(l).getItemStyle();o.setHoverStyle(e,p)}function d(t,e,n){return i.map(t,(function(t){return t=t.slice(),t[e]=n.initBaseline,t}))}var p=u;t.exports=p},dd39:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("414c"),n("4b08"),n("2c17"),n("9e87")},dd7e:function(t,e,n){var i=n("6d8b"),r=n("edaf"),o=n("38a2"),a=r.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(a,o);var s=a;t.exports=s},ddb0:function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("785a"),a=n("e260"),s=n("9112"),l=n("b622"),u=l("iterator"),c=l("toStringTag"),h=a.values,f=function(t,e){if(t){if(t[u]!==h)try{s(t,u,h)}catch(i){t[u]=h}if(t[c]||s(t,c,e),r[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(i){t[n]=a[n]}}};for(var d in r)f(i[d]&&i[d].prototype,d);f(o,"DOMTokenList")},dded:function(t,e,n){var i=n("6d8b"),r=n("42e5"),o=function(t,e,n,i,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,r.call(this,i)};o.prototype={constructor:o},i.inherits(o,r);var a=o;t.exports=a},de00:function(t,e){var n=2311;function i(){return n++}t.exports=i},de1c:function(t,e){var n={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};t.exports=n},de6e:function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}function i(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),i=t.getEdgeData(),r=n(t.get("edgeSymbol")),o=n(t.get("edgeSymbolSize")),a="lineStyle.color".split("."),s="lineStyle.opacity".split(".");i.setVisual("fromSymbol",r&&r[0]),i.setVisual("toSymbol",r&&r[1]),i.setVisual("fromSymbolSize",o&&o[0]),i.setVisual("toSymbolSize",o&&o[1]),i.setVisual("color",t.get(a)),i.setVisual("opacity",t.get(s)),i.each((function(t){var r=i.getItemModel(t),o=e.getEdgeByIndex(t),l=n(r.getShallow("symbol",!0)),u=n(r.getShallow("symbolSize",!0)),c=r.get(a),h=r.get(s);switch(c){case"source":c=o.node1.getVisual("color");break;case"target":c=o.node2.getVisual("color");break}l[0]&&o.setVisual("fromSymbol",l[0]),l[1]&&o.setVisual("toSymbol",l[1]),u[0]&&o.setVisual("fromSymbolSize",u[0]),u[1]&&o.setVisual("toSymbolSize",u[1]),o.setVisual("color",c),o.setVisual("opacity",h)}))}))}t.exports=i},df3a:function(t,e,n){var i=n("6d8b"),r=n("6cb7"),o=n("282b"),a=n("9e47"),s=n("3842"),l=n("2023"),u=r.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=i.clone(t);if(e)for(var n=e.length-1;n>=0;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"}}),c={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function h(t,e){return e.type||(e.data?"category":"value")}i.merge(u.prototype,l),a("parallel",u,h,c);var f=u;t.exports=f},df70:function(t,e,n){var i=n("3eba"),r=n("6fda"),o=n("29a8"),a=n("2145"),s=o.toolbox.restore;function l(t){this.model=t}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title};var u=l.prototype;u.onclick=function(t,e,n){r.clear(t),e.dispatchAction({type:"restore",from:this.uid})},a.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var c=l;t.exports=c},df75:function(t,e,n){var i=n("ca84"),r=n("7839");t.exports=Object.keys||function(t){return i(t,r)}},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,i=t.length-1;i>=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i<t.length;i++)e(t[i],i,t)&&n.push(t[i]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),o=i(n.split("/")),a=Math.min(r.length,o.length),s=a,l=0;l<a;l++)if(r[l]!==o[l]){s=l;break}var u=[];for(l=s;l<r.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,i=-1,r=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!r){i=o;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(r=!1,i=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!r){n=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===n+1?"":t.slice(e,i)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},dfe5:function(t,e){},e01a:function(t,e,n){"use strict";var i=n("23e7"),r=n("83ab"),o=n("da84"),a=n("e330"),s=n("1a2d"),l=n("1626"),u=n("3a9b"),c=n("577e"),h=n("9bf2").f,f=n("e893"),d=o.Symbol,p=d&&d.prototype;if(r&&l(d)&&(!("description"in p)||void 0!==d().description)){var g={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=u(p,this)?new d(t):void 0===t?d():d(t);return""===t&&(g[e]=!0),e};f(v,d),v.prototype=p,p.constructor=v;var m="Symbol(test)"==String(d("test")),y=a(p.valueOf),b=a(p.toString),_=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),w=a("".slice);h(p,"description",{configurable:!0,get:function(){var t=y(this);if(s(g,t))return"";var e=b(t),n=m?w(e,7,-1):x(e,_,"$1");return""===n?void 0:n}}),i({global:!0,constructor:!0,forced:!0},{Symbol:v})}},e057:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("2306"),a=n("c775"),s=a.getDefaultLabel,l=n("3301"),u=n("9d57"),c=u.getLayoutOnAxis,h=n("80f0"),f=n("4f85"),d=n("4319"),p=n("e887"),g=n("b0af"),v=g.createClipPath,m=n("aa3e"),y=n("00d8"),b=n("307b"),_=n("eaeb"),x=n("471e"),w=o.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],C=["emphasis","itemStyle"],T=["label"],A=["emphasis","label"],O="e\0\0",M={cartesian2d:m,geo:y,singleAxis:b,polar:_,calendar:x};function k(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,a=G(i);e=o.makePath(a,null,r,i.layout||"center"),e.__customPathData=a}else if("image"===n)e=new o.Image({}),e.__customImagePath=t.style.image;else if("text"===n)e=new o.Text({}),e.__customText=t.style.text;else if("group"===n)e=new o.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var s=o.getShapeClass(n);e=new s}return e.__customGraphicType=n,e.name=t.name,e}function I(t,e,n,i,a,s,l){var u={},c=n.style||{};if(n.shape&&(u.shape=r.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===t.type&&n.style){var h=u.style={};r.each(["x","y","width","height"],(function(e){E(e,h,c,t.style,s)}))}if("text"===t.type&&n.style){h=u.style={};r.each(["x","y"],(function(e){E(e,h,c,t.style,s)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==t.type&&(t.useStyle(c),s)){t.style.opacity=0;var f=c.opacity;null==f&&(f=1),o.initProps(t,{style:{opacity:f}},i,e)}s?t.attr(u):o.updateProps(t,u,i,e),n.hasOwnProperty("z2")&&t.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&t.attr("silent",n.silent),n.hasOwnProperty("invisible")&&t.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&t.attr("ignore",n.ignore),n.hasOwnProperty("info")&&t.attr("info",n.info);var d=n.styleEmphasis;o.setElementHoverStyle(t,d),l&&o.setAsHighDownDispatcher(t,!1!==d)}function E(t,e,n,i,r){null==n[t]||r||(e[t]=n[t],n[t]=i[t])}function P(t,e,n,i){var a=t.get("renderItem"),l=t.coordinateSystem,u={};l&&(u=l.prepareCustoms?l.prepareCustoms():M[l.type](l));var h,f,d,p,g,v=r.defaults({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:_,style:x,styleEmphasis:w,visual:O,barLayout:k,currentSeriesIndices:I,font:E},u.api||{}),m={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:u.coordSys,dataInsideLength:e.count(),encode:D(t.getData())},y=!0;return function(t,n){return h=t,y=!0,a&&a(r.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},m),v)};function b(t){null==t&&(t=h),y&&(f=e.getItemModel(t),d=f.getModel(T),p=f.getModel(A),g=e.getItemVisual(t,"color"),y=!1)}function _(t,n){return null==n&&(n=h),e.get(e.getDimension(t||0),n)}function x(n,i){null==i&&(i=h),b(i);var a=f.getModel(S).getItemStyle();null!=g&&(a.fill=g);var l=e.getItemVisual(i,"opacity");null!=l&&(a.opacity=l);var u=n?z(n,d):d;return o.setTextStyle(a,u,null,{autoColor:g,isRectText:!0}),a.text=u.getShallow("show")?r.retrieve2(t.getFormattedLabel(i,"normal"),s(e,i)):null,n&&V(a,n),a}function w(n,i){null==i&&(i=h),b(i);var a=f.getModel(C).getItemStyle(),l=n?z(n,p):p;return o.setTextStyle(a,l,null,{isRectText:!0},!0),a.text=l.getShallow("show")?r.retrieve3(t.getFormattedLabel(i,"emphasis"),t.getFormattedLabel(i,"normal"),s(e,i)):null,n&&V(a,n),a}function O(t,n){return null==n&&(n=h),e.getItemVisual(n,t)}function k(t){if(l.getBaseAxis){var e=l.getBaseAxis();return c(r.defaults({axis:e},t),i)}}function I(){return n.getCurrentSeriesIndices()}function E(t){return o.getFont(t,n)}}function D(t){var e={};return r.each(t.dimensions,(function(n,i){var r=t.getDimensionInfo(n);if(!r.isExtraCoord){var o=r.coordDim,a=e[o]=e[o]||[];a[r.coordDimIndex]=i}})),e}function L(t,e,n,i,r,o){return t=R(t,e,n,i,r,o,!0),t&&o.setItemGraphicEl(e,t),t}function R(t,e,n,i,r,o,a){var s=!n;n=n||{};var l=n.type,u=n.shape,c=n.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&W(u)&&G(u)!==t.__customPathData||"image"===l&&q(c,"image")&&c.image!==t.__customImagePath||"text"===l&&q(u,"text")&&c.text!==t.__customText)&&(r.remove(t),t=null),!s){var h=!t;return!t&&(t=k(n)),I(t,e,n,i,o,h,a),"group"===l&&N(t,e,n,i,o),r.add(t),t}}function N(t,e,n,i,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)j({oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,animatableModel:i,group:t,data:r});else{u&&t.removeAll();for(var c=0;c<a;c++)o[c]&&R(t.childAt(c),e,o[c],i,t,r)}}function j(t){new h(t.oldChildren,t.newChildren,B,B,t).add(F).update(F).remove(H).execute()}function B(t,e){var n=t&&t.name;return null!=n?n:O+e}function F(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;R(r,n.dataIndex,i,n.animatableModel,n.group,n.data)}function z(t,e){var n=new d({},e);return r.each(w,(function(e,i){t.hasOwnProperty(e)&&(n.option[i]=t[e])})),n}function V(t,e){for(var n in e)!e.hasOwnProperty(n)&&w.hasOwnProperty(n)||(t[n]=e[n])}function H(t){var e=this.context,n=e.oldChildren[t];n&&e.group.remove(n)}function G(t){return t&&(t.pathData||t.d)}function W(t){return t&&(t.hasOwnProperty("pathData")||t.hasOwnProperty("d"))}function q(t,e){return t&&t.hasOwnProperty(e)}f.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(t,e){return l(this.getSource(),this)},getDataParams:function(t,e,n){var i=f.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),p.extend({type:"custom",_data:null,render:function(t,e,n,i){var r=this._data,o=t.getData(),a=this.group,s=P(t,o,e,n);o.diff(r).add((function(e){L(null,e,s(e,i),t,a,o)})).update((function(e,n){var l=r.getItemGraphicEl(n);L(l,e,s(e,i),t,a,o)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&a.remove(e)})).execute();var l=t.get("clip",!0)?v(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},incrementalPrepareRender:function(t,e,n){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,n,i,r){var o=e.getData(),a=P(e,o,n,i);function s(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)}for(var l=t.start;l<t.end;l++){var u=L(null,l,a(l,r),e,this.group,o);u.traverse(s)}},dispose:r.noop,filterForExposedEvent:function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;while((n=n.parent)&&n!==this.group)if(n.name===r)return!0;return!1}})},e065:function(t,e,n){var i=n("428f"),r=n("1a2d"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},e073:function(t,e,n){var i=n("6d8b"),r=n("e86a"),o=n("e0d3"),a=o.makeInner,s=n("697e"),l=s.makeLabelFormatter,u=s.getOptionCategoryInterval,c=s.shouldShowAllLabels,h=a();function f(t){return"category"===t.type?p(t):m(t)}function d(t,e){return"category"===t.type?v(t,e):{ticks:t.scale.getTicks()}}function p(t){var e=t.getLabelModel(),n=g(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function g(t,e){var n,r,o=y(t,"labels"),a=u(e),s=b(o,a);return s||(i.isFunction(a)?n=T(t,a):(r="auto"===a?x(t):a,n=C(t,r)),_(o,a,{labels:n,labelCategoryInterval:r}))}function v(t,e){var n,r,o=y(t,"ticks"),a=u(e),s=b(o,a);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(n=[]),i.isFunction(a))n=T(t,a,!0);else if("auto"===a){var l=g(t,t.getLabelModel());r=l.labelCategoryInterval,n=i.map(l.labels,(function(t){return t.tickValue}))}else r=a,n=C(t,r,!0);return _(o,a,{ticks:n,tickCategoryInterval:r})}function m(t){var e=t.scale.getTicks(),n=l(t);return{labels:i.map(e,(function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e}}))}}function y(t,e){return h(t)[e]||(h(t)[e]=[])}function b(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function _(t,e,n){return t.push({key:e,value:n}),n}function x(t){var e=h(t).autoInterval;return null!=e?e:h(t).autoInterval=t.calculateCategoryInterval()}function w(t){var e=S(t),n=l(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,o=t.scale,a=o.getExtent(),s=o.count();if(a[1]-a[0]<1)return 0;var u=1;s>40&&(u=Math.max(1,Math.floor(s/40)));for(var c=a[0],f=t.dataToCoord(c+1)-t.dataToCoord(c),d=Math.abs(f*Math.cos(i)),p=Math.abs(f*Math.sin(i)),g=0,v=0;c<=a[1];c+=u){var m=0,y=0,b=r.getBoundingRect(n(c),e.font,"center","top");m=1.3*b.width,y=1.3*b.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var _=g/d,x=v/p;isNaN(_)&&(_=1/0),isNaN(x)&&(x=1/0);var w=Math.max(0,Math.floor(Math.min(_,x))),C=h(t.model),T=t.getExtent(),A=C.lastAutoInterval,O=C.lastTickCount;return null!=A&&null!=O&&Math.abs(A-w)<=1&&Math.abs(O-s)<=1&&A>w&&C.axisExtend0===T[0]&&C.axisExtend1===T[1]?w=A:(C.lastTickCount=s,C.lastAutoInterval=w,C.axisExtend0=T[0],C.axisExtend1=T[1]),w}function S(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function C(t,e,n){var i=l(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),h=o[0],f=r.count();0!==h&&u>1&&f/u>2&&(h=Math.round(Math.ceil(h/u)*u));var d=c(t),p=a.get("showMinLabel")||d,g=a.get("showMaxLabel")||d;p&&h!==o[0]&&m(o[0]);for(var v=h;v<=o[1];v+=u)m(v);function m(t){s.push(n?t:{formattedLabel:i(t),rawLabel:r.getLabel(t),tickValue:t})}return g&&v-u!==o[1]&&m(o[1]),s}function T(t,e,n){var r=t.scale,o=l(t),a=[];return i.each(r.getTicks(),(function(t){var i=r.getLabel(t);e(t,i)&&a.push(n?t:{formattedLabel:o(t),rawLabel:i,tickValue:t})})),a}e.createAxisLabels=f,e.createAxisTicks=d,e.calculateCategoryInterval=w},e0d3:function(t,e,n){var i=n("6d8b"),r=n("22d1"),o=i.each,a=i.isObject,s=i.isArray,l="series\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function c(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function f(t){return!a(t)||s(t)||t instanceof Date?t:t.value}function d(t){return a(t)&&!(t instanceof Array)}function p(t,e){e=(e||[]).slice();var n=i.map(t||[],(function(t,e){return{exist:t}}));return o(e,(function(t,i){if(a(t)){for(var r=0;r<n.length;r++)if(!n[r].option&&null!=t.id&&n[r].exist.id===t.id+"")return n[r].option=t,void(e[i]=null);for(r=0;r<n.length;r++){var o=n[r].exist;if(!n[r].option&&(null==o.id||null==t.id)&&null!=t.name&&!m(t)&&!m(o)&&o.name===t.name+"")return n[r].option=t,void(e[i]=null)}}})),o(e,(function(t,e){if(a(t)){for(var i=0;i<n.length;i++){var r=n[i].exist;if(!n[i].option&&!m(r)&&null==t.id){n[i].option=t;break}}i>=n.length&&n.push({option:t})}})),n}function g(t){var e=i.createHashMap();o(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),o(t,(function(t,n){var r=t.option;i.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})})),o(t,(function(t,n){var i=t.exist,r=t.option,o=t.keyInfo;if(a(r)){if(o.name=null!=r.name?r.name+"":i?i.name:l+n,i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(e.get(o.id))}e.set(o.id,t)}}))}function v(t){var e=t.name;return!(!e||!e.indexOf(l))}function m(t){return a(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++)for(var o=t[i].seriesId,a=u(t[i].dataIndex),s=n&&n[o],l=0,c=a.length;l<c;l++){var h=a[l];s&&s[h]?s[h]=null:(e[o]||(e[o]={}))[h]=1}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}function b(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?i.isArray(e.dataIndex)?i.map(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?i.isArray(e.name)?i.map(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function _(){var t="__\0ec_inner_"+x+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}var x=0;function w(t,e,n){if(i.isString(e)){var r={};r[e+"Index"]=0,e=r}var a=n&&n.defaultMainType;!a||S(e,a+"Index")||S(e,a+"Id")||S(e,a+"Name")||(e[a+"Index"]=0);var s={};return o(e,(function(r,o){r=e[o];if("dataIndex"!==o&&"dataIndexInside"!==o){var a=o.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],u=(a[2]||"").toLowerCase();if(!(!l||!u||null==r||"index"===u&&"none"===r||n&&n.includeMainTypes&&i.indexOf(n.includeMainTypes,l)<0)){var c={mainType:l};"index"===u&&"all"===r||(c[u]=r);var h=t.queryComponents(c);s[l+"Models"]=h,s[l+"Model"]=h[0]}}else s[o]=r})),s}function S(t,e){return t&&t.hasOwnProperty(e)}function C(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function T(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function A(t){return"auto"===t?r.domSupported?"html":"richText":t||"html"}function O(t,e){var n=i.createHashMap(),r=[];return i.each(t,(function(t){var i=e(t);(n.get(i)||(r.push(i),n.set(i,[]))).push(t)})),{keys:r,buckets:n}}e.normalizeToArray=u,e.defaultEmphasis=c,e.TEXT_STYLE_OPTIONS=h,e.getDataItemValue=f,e.isDataItemOption=d,e.mappingToExists=p,e.makeIdAndName=g,e.isNameSpecified=v,e.isIdInner=m,e.compressBatches=y,e.queryDataIndex=b,e.makeInner=_,e.parseFinder=w,e.setAttribute=C,e.getAttribute=T,e.getTooltipRenderMode=A,e.groupData=O},e0d8:function(t,e,n){var i=n("625e");function r(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}r.prototype.parse=function(t){return t},r.prototype.getSetting=function(t){return this._setting[t]},r.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},r.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},r.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r.prototype.getLabel=null,i.enableClassExtend(r),i.enableClassManagement(r,{registerWhenExtend:!0});var o=r;t.exports=o},e163:function(t,e,n){var i=n("1a2d"),r=n("1626"),o=n("7b0b"),a=n("f772"),s=n("e177"),l=a("IE_PROTO"),u=Object,c=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=o(t);if(i(e,l))return e[l];var n=e.constructor;return r(n)&&e instanceof n?n.prototype:e instanceof u?c:null}},e177:function(t,e,n){var i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e198:function(t,e,n){var i=n("ef08"),r=n("5524"),o=n("e444"),a=n("fcd4"),s=n("1a14").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},e1fc:function(t,e,n){var i=n("6d8b"),r=n("d5b7"),o=n("9850"),a=function(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof a&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,r=this._children,o=i.indexOf(r,t);return o<0||(r.splice(o,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof a&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e<n.length;e++)t=n[e],i&&(i.delFromStorage(t),t instanceof a&&t.delChildrenFromStorage(i)),t.parent=null;return n.length=0,this},eachChild:function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},traverse:function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n];t.call(e,i),"group"===i.type&&i.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.addToStorage(n),n instanceof a&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromStorage(n),n instanceof a&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new o(0,0,0,0),i=t||this._children,r=[],a=0;a<i.length;a++){var s=i[a];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(n.copy(l),n.applyTransform(u),e=e||n.clone(),e.union(n)):(e=e||l.clone(),e.union(l))}}return e||n}},i.inherits(a,r);var s=a;t.exports=s},e260:function(t,e,n){"use strict";var i=n("fc6a"),r=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("9bf2").f,l=n("c6d2"),u=n("4754"),c=n("c430"),h=n("83ab"),f="Array Iterator",d=a.set,p=a.getterFor(f);t.exports=l(Array,"Array",(function(t,e){d(this,{type:f,target:i(t),index:0,kind:e})}),(function(){var t=p(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==n?i:"values"==n?e[i]:[i,e[i]],!1)}),"values");var g=o.Arguments=o.Array;if(r("keys"),r("values"),r("entries"),!c&&h&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(v){}},e263:function(t,e,n){var i=n("401b"),r=n("4a3f"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),f=i.create();function d(t,e,n){if(0!==t.length){var i,r=t[0],s=r[0],l=r[0],u=r[1],c=r[1];for(i=1;i<t.length;i++)r=t[i],s=o(s,r[0]),l=a(l,r[0]),u=o(u,r[1]),c=a(c,r[1]);e[0]=s,e[1]=u,n[0]=l,n[1]=c}}function p(t,e,n,i,r,s){r[0]=o(t,n),r[1]=o(e,i),s[0]=a(t,n),s[1]=a(e,i)}var g=[],v=[];function m(t,e,n,i,s,l,u,c,h,f){var d,p=r.cubicExtrema,m=r.cubicAt,y=p(t,n,s,u,g);for(h[0]=1/0,h[1]=1/0,f[0]=-1/0,f[1]=-1/0,d=0;d<y;d++){var b=m(t,n,s,u,g[d]);h[0]=o(b,h[0]),f[0]=a(b,f[0])}for(y=p(e,i,l,c,v),d=0;d<y;d++){var _=m(e,i,l,c,v[d]);h[1]=o(_,h[1]),f[1]=a(_,f[1])}h[0]=o(t,h[0]),f[0]=a(t,f[0]),h[0]=o(u,h[0]),f[0]=a(u,f[0]),h[1]=o(e,h[1]),f[1]=a(e,f[1]),h[1]=o(c,h[1]),f[1]=a(c,f[1])}function y(t,e,n,i,s,l,u,c){var h=r.quadraticExtremum,f=r.quadraticAt,d=a(o(h(t,n,s),1),0),p=a(o(h(e,i,l),1),0),g=f(t,n,s,d),v=f(e,i,l,p);u[0]=o(t,s,g),u[1]=o(e,l,v),c[0]=a(t,s,g),c[1]=a(e,l,v)}function b(t,e,n,r,o,a,d,p,g){var v=i.min,m=i.max,y=Math.abs(o-a);if(y%u<1e-4&&y>1e-4)return p[0]=t-n,p[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(c[0]=l(o)*n+t,c[1]=s(o)*r+e,h[0]=l(a)*n+t,h[1]=s(a)*r+e,v(p,c,h),m(g,c,h),o%=u,o<0&&(o+=u),a%=u,a<0&&(a+=u),o>a&&!d?a+=u:o<a&&d&&(o+=u),d){var b=a;a=o,o=b}for(var _=0;_<a;_+=Math.PI/2)_>o&&(f[0]=l(_)*n+t,f[1]=s(_)*r+e,v(p,f,p),m(g,f,g))}e.fromPoints=d,e.fromLine=p,e.fromCubic=m,e.fromQuadratic=y,e.fromArc=b},e330:function(t,e,n){var i=n("40d5"),r=Function.prototype,o=r.bind,a=r.call,s=i&&o.bind(a,a);t.exports=i?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e34a:function(t,e,n){var i=n("8b1a")("meta"),r=n("7a41"),o=n("9c0e"),a=n("1a14").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("4b8b")((function(){return l(Object.preventExtensions({}))})),c=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[i].i},f=function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[i].w},d=function(t){return u&&p.NEED&&l(t)&&!o(t,i)&&c(t),t},p=t.exports={KEY:i,NEED:!1,fastKey:h,getWeak:f,onFreeze:d}},e391:function(t,e,n){var i=n("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e439:function(t,e,n){var i=n("23e7"),r=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),l=r((function(){a(1)})),u=!s||l;i({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},e444:function(t,e){t.exports=!0},e468:function(t,e,n){var i=n("e46b"),r=n("6d8b"),o=n("2f45"),a=o.getDimensionTypeByAxis,s=n("0f99"),l=s.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(t,e){var n,o,s=e.getComponent("xAxis",this.get("xAxisIndex")),u=e.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),h=u.get("type");"category"===c?(t.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===h?(t.layout="vertical",n=u.getOrdinalMeta(),o=!0):t.layout=t.layout||"horizontal";var f=["x","y"],d="horizontal"===t.layout?0:1,p=this._baseAxisDim=f[d],g=f[1-d],v=[s,u],m=v[d].get("type"),y=v[1-d].get("type"),b=t.data;if(b&&o){var _=[];r.each(b,(function(t,e){var n;t.value&&r.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):r.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,_.push(n)})),t.data=_}var x=this.defaultValueDimensions,w=[{name:p,type:a(m),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:a(y),dimsDef:x.slice()}];return i(this,{coordDimensions:w,dimensionsCount:x.length+1,encodeDefaulter:r.curry(l,w,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=u},e46b:function(t,e,n){var i=n("b1d4"),r=n("6179"),o=n("6d8b"),a=o.extend,s=o.isArray;function l(t,e,n){e=s(e)&&{coordDimensions:e}||a({},e);var o=t.getSource(),l=i(o,e),u=new r(l,t);return u.initData(o,n),u}t.exports=l},e47b:function(t,e,n){var i=n("e0d3"),r=i.makeInner,o=i.normalizeToArray,a=r();function s(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}var l={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(t,e,n){e=e||this;var i=a(e),r=i.colorIdx||0,l=i.colorNameMap=i.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var u=o(this.get("color",!0)),c=this.get("colorLayer",!0),h=null!=n&&c?s(c,n):u;if(h=h||u,h&&h.length){var f=h[r];return t&&(l[t]=f),i.colorIdx=(r+1)%h.length,f}}};t.exports=l},e4d1:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("3790"),n("2325"),n("2c17"),n("9e87")},e507:function(t,e,n){var i=n("512c");i(i.S+i.F,"Object",{assign:n("072d")})},e538:function(t,e,n){var i=n("b622");e.f=i},e5cb:function(t,e,n){"use strict";var i=n("d066"),r=n("1a2d"),o=n("9112"),a=n("3a9b"),s=n("d2bb"),l=n("e893"),u=n("aeb0"),c=n("7156"),h=n("e391"),f=n("ab36"),d=n("0d26"),p=n("b980"),g=n("83ab"),v=n("c430");t.exports=function(t,e,n,m){var y="stackTraceLimit",b=m?2:1,_=t.split("."),x=_[_.length-1],w=i.apply(null,_);if(w){var S=w.prototype;if(!v&&r(S,"cause")&&delete S.cause,!n)return w;var C=i("Error"),T=e((function(t,e){var n=h(m?e:t,void 0),i=m?new w(t):new w;return void 0!==n&&o(i,"message",n),p&&o(i,"stack",d(i.stack,2)),this&&a(S,this)&&c(i,this,T),arguments.length>b&&f(i,arguments[b]),i}));if(T.prototype=S,"Error"!==x?s?s(T,C):l(T,C,{name:!0}):g&&y in w&&(u(T,w,y),u(T,w,"prepareStackTrace")),l(T,w),!v)try{S.name!==x&&o(S,"name",x),S.constructor=T}catch(A){}return T}}},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6cd:function(t,e,n){var i=n("6d8b");function r(){var t,e=[],n={};return{add:function(t,r,o,a,s){return i.isString(a)&&(s=a,a=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:r,time:o,delay:a,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,r=0,o=e.length;r<o;r++){var a=e[r];a.el.animateTo(a.target,a.time,a.delay,a.easing,s)}return this;function s(){i--,i||(e.length=0,n={},t&&t())}}}}e.createWrap=r},e6cf:function(t,e,n){n("5e7e"),n("14e5"),n("cc98"),n("3529"),n("f22b"),n("7149")},e7aa:function(t,e,n){var i=n("2306"),r=n("c775"),o=r.getDefaultLabel;function a(t,e,n,r,a,l,u){var c=n.getModel("label"),h=n.getModel("emphasis.label");i.setLabelStyle(t,e,c,h,{labelFetcher:a,labelDataIndex:l,defaultText:o(a.getData(),l),isRectText:!0,autoColor:r}),s(t),s(e)}function s(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=a},e7d2:function(t,e,n){var i=n("4a3f");function r(t,e,n,r,o,a,s,l,u,c,h){if(0===u)return!1;var f=u;if(h>e+f&&h>r+f&&h>a+f&&h>l+f||h<e-f&&h<r-f&&h<a-f&&h<l-f||c>t+f&&c>n+f&&c>o+f&&c>s+f||c<t-f&&c<n-f&&c<o-f&&c<s-f)return!1;var d=i.cubicProjectPoint(t,e,n,r,o,a,s,l,c,h,null);return d<=f/2}e.containStroke=r},e86a:function(t,e,n){var i=n("9850"),r=n("5e76"),o=n("6d8b"),a=o.getContext,s=o.extend,l=o.retrieve2,u=o.retrieve3,c=o.trim,h={},f=0,d=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",v={};function m(t,e){v[t]=e}function y(t,e){e=e||g;var n=t+":"+e;if(h[n])return h[n];for(var i=(t+"").split("\n"),r=0,o=0,a=i.length;o<a;o++)r=Math.max(E(i[o],e).width,r);return f>d&&(f=0,h={}),f++,h[n]=r,r}function b(t,e,n,i,r,o,a,s){return a?x(t,e,n,i,r,o,a,s):_(t,e,n,i,r,o,s)}function _(t,e,n,r,o,a,s){var l=P(t,e,o,a,s),u=y(t,e);o&&(u+=o[1]+o[3]);var c=l.outerHeight,h=w(0,u,n),f=S(0,c,r),d=new i(h,f,u,c);return d.lineHeight=l.lineHeight,d}function x(t,e,n,r,o,a,s,l){var u=D(t,{rich:s,truncate:l,font:e,textAlign:n,textPadding:o,textLineHeight:a}),c=u.outerWidth,h=u.outerHeight,f=w(0,c,n),d=S(0,h,r);return new i(f,d,c,h)}function w(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function S(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function C(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,c="left",h="top";switch(i){case"left":o-=r,a+=u,c="right",h="middle";break;case"right":o+=r+l,a+=u,h="middle";break;case"top":o+=l/2,a-=r,c="center",h="bottom";break;case"bottom":o+=l/2,a+=s+r,c="center";break;case"inside":o+=l/2,a+=u,c="center",h="middle";break;case"insideLeft":o+=r,a+=u,h="middle";break;case"insideRight":o+=l-r,a+=u,c="right",h="middle";break;case"insideTop":o+=l/2,a+=r,c="center";break;case"insideBottom":o+=l/2,a+=s-r,c="center",h="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,c="right";break;case"insideBottomLeft":o+=r,a+=s-r,h="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,c="right",h="bottom";break}return t=t||{},t.x=o,t.y=a,t.textAlign=c,t.textVerticalAlign=h,t}function T(t,e,n){var i={textPosition:t,textDistance:n};return C({},i,e)}function A(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=O(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=M(o[a],r);return o.join("\n")}function O(t,e,n,i){i=s({},i),i.font=e;n=l(n,"...");i.maxIterations=l(i.maxIterations,2);var r=i.minChar=l(i.minChar,0);i.cnCharWidth=y("国",e);var o=i.ascCharWidth=y("a",e);i.placeholder=l(i.placeholder,"");for(var a=t=Math.max(0,t-1),u=0;u<r&&a>=o;u++)a-=o;var c=y(n,e);return c>a&&(n="",c=0),a=t-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=a,i.containerWidth=t,i}function M(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=y(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?k(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,s),o=y(t,i)}return""===t&&(t=e.placeholder),t}function k(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}function I(t){return y("国",t)}function E(t,e){return v.measureText(t,e)}function P(t,e,n,i,r){null!=t&&(t+="");var o=l(i,I(e)),a=t?t.split("\n"):[],s=a.length*o,u=s,c=!0;if(n&&(u+=n[0]+n[2]),t&&r){c=!1;var h=r.outerHeight,f=r.outerWidth;if(null!=h&&u>h)t="",a=[];else if(null!=f)for(var d=O(f-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=a.length;p<g;p++)a[p]=M(a[p],d)}return{lines:a,height:s,outerHeight:u,lineHeight:o,canCacheByTextString:c}}function D(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;var i,o=p.lastIndex=0;while(null!=(i=p.exec(t))){var a=i.index;a>o&&L(n,t.substring(o,a)),L(n,i[2],i[1]),o=p.lastIndex}o<t.length&&L(n,t.substring(o,t.length));var s=n.lines,c=0,h=0,f=[],d=e.textPadding,g=e.truncate,v=g&&g.outerWidth,m=g&&g.outerHeight;d&&(null!=v&&(v-=d[1]+d[3]),null!=m&&(m-=d[0]+d[2]));for(var b=0;b<s.length;b++){for(var _=s[b],x=0,w=0,S=0;S<_.tokens.length;S++){var C=_.tokens[S],T=C.styleName&&e.rich[C.styleName]||{},O=C.textPadding=T.textPadding,M=C.font=T.font||e.font,k=C.textHeight=l(T.textHeight,I(M));if(O&&(k+=O[0]+O[2]),C.height=k,C.lineHeight=u(T.textLineHeight,e.textLineHeight,k),C.textAlign=T&&T.textAlign||e.textAlign,C.textVerticalAlign=T&&T.textVerticalAlign||"middle",null!=m&&c+C.lineHeight>m)return{lines:[],width:0,height:0};C.textWidth=y(C.text,M);var E=T.textWidth,P=null==E||"auto"===E;if("string"===typeof E&&"%"===E.charAt(E.length-1))C.percentWidth=E,f.push(C),E=0;else{if(P){E=C.textWidth;var D=T.textBackgroundColor,R=D&&D.image;R&&(R=r.findExistImage(R),r.isImageReady(R)&&(E=Math.max(E,R.width*k/R.height)))}var N=O?O[1]+O[3]:0;E+=N;var j=null!=v?v-w:null;null!=j&&j<E&&(!P||j<N?(C.text="",C.textWidth=E=0):(C.text=A(C.text,j-N,M,g.ellipsis,{minChar:g.minChar}),C.textWidth=y(C.text,M),E=C.textWidth+N))}w+=C.width=E,T&&(x=Math.max(x,C.lineHeight))}_.width=w,_.lineHeight=x,c+=x,h=Math.max(h,w)}n.outerWidth=n.width=l(e.textWidth,h),n.outerHeight=n.height=l(e.textHeight,c),d&&(n.outerWidth+=d[1]+d[3],n.outerHeight+=d[0]+d[2]);for(b=0;b<f.length;b++){C=f[b];var B=C.percentWidth;C.width=parseInt(B,10)/100*h}return n}function L(t,e,n){for(var i=""===e,r=e.split("\n"),o=t.lines,a=0;a<r.length;a++){var s=r[a],l={styleName:n,text:s,isLineHolder:!s&&!i};if(a)o.push({tokens:[l]});else{var u=(o[o.length-1]||(o[0]={tokens:[]})).tokens,c=u.length;1===c&&u[0].isLineHolder?u[0]=l:(s||!c||i)&&u.push(l)}}}function R(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&c(e)||t.textFont||t.font}v.measureText=function(t,e){var n=a();return n.font=e||g,n.measureText(t)},e.DEFAULT_FONT=g,e.$override=m,e.getWidth=y,e.getBoundingRect=b,e.adjustTextX=w,e.adjustTextY=S,e.calculateTextPosition=C,e.adjustTextPositionOnRect=T,e.truncateText=A,e.getLineHeight=I,e.measureText=E,e.parsePlainText=P,e.parseRichText=D,e.makeFont=R},e887:function(t,e,n){var i=n("6d8b"),r=i.each,o=n("e1fc"),a=n("8918"),s=n("625e"),l=n("e0d3"),u=n("2306"),c=n("f47d"),h=c.createTask,f=n("cccd"),d=l.makeInner(),p=f();function g(){this.group=new o,this.uid=a.getUID("viewChart"),this.renderTask=h({plan:b,reset:_}),this.renderTask.context={view:this}}g.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){y(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){y(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var v=g.prototype;function m(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!u.isHighDownDispatcher(t)))for(var i=0,r=t.childCount();i<r;i++)m(t.childAt(i),e,n)}function y(t,e,n){var i=l.queryDataIndex(t,e),o=e&&null!=e.highlightKey?u.getHighlightDigit(e.highlightKey):null;null!=i?r(l.normalizeToArray(i),(function(e){m(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){m(t,n,o)}))}function b(t){return p(t.model)}function _(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&d(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),x[l]}v.updateView=v.updateLayout=v.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},s.enableClassExtend(g,["dispose"]),s.enableClassManagement(g,{registerWhenExtend:!0}),g.markUpdateMethod=function(t,e){d(t).updateMethod=e};var x={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},w=g;t.exports=w},e893:function(t,e,n){var i=n("1a2d"),r=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e,n){for(var s=r(e),l=a.f,u=o.f,c=0;c<s.length;c++){var h=s[c];i(t,h)||n&&i(n,h)||l(t,h,u(e,h))}}},e8b5:function(t,e,n){var i=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},e95a:function(t,e,n){var i=n("b622"),r=n("3f8c"),o=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},e9c4:function(t,e,n){var i=n("23e7"),r=n("d066"),o=n("2ba4"),a=n("c65b"),s=n("e330"),l=n("d039"),u=n("e8b5"),c=n("1626"),h=n("861d"),f=n("d9b5"),d=n("f36a"),p=n("04f8"),g=r("JSON","stringify"),v=s(/./.exec),m=s("".charAt),y=s("".charCodeAt),b=s("".replace),_=s(1..toString),x=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,C=!p||l((function(){var t=r("Symbol")();return"[null]"!=g([t])||"{}"!=g({a:t})||"{}"!=g(Object(t))})),T=l((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),A=function(t,e){var n=d(arguments),i=e;if((h(e)||void 0!==t)&&!f(t))return u(e)||(e=function(t,e){if(c(i)&&(e=a(i,this,t,e)),!f(e))return e}),n[1]=e,o(g,null,n)},O=function(t,e,n){var i=m(n,e-1),r=m(n,e+1);return v(w,t)&&!v(S,r)||v(S,t)&&!v(w,i)?"\\u"+_(y(t,0),16):t};g&&i({target:"JSON",stat:!0,arity:3,forced:C||T},{stringify:function(t,e,n){var i=d(arguments),r=o(C?A:g,null,i);return T&&"string"==typeof r?b(r,x,O):r}})},e9f9:function(t,e,n){var i=n("4942"),r=n("d3a4"),o=n("6d8b"),a=o.each;function s(t){return parseInt(t,10)}function l(t,e){r.initVML(),this.root=t,this.storage=e;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",t.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var o=e.delFromStorage,a=e.addToStorage;e.delFromStorage=function(t){o.call(e,t),t&&t.onRemove&&t.onRemove(i)},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),a.call(e,t)},this._firstPaint=!0}function u(t){return function(){i('In IE8.0 VML mode painter not support method "'+t+'"')}}l.prototype={constructor:l,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,n=0;n<t.length;n++){var i=t[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(e),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(e),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,e),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;if(this._width!==t||this._height!==e){this._width=t,this._height=e;var n=this._vmlViewport.style;n.width=t+"px",n.height=e+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,e=t.currentStyle;return(t.clientWidth||s(e.width))-s(e.paddingLeft)-s(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||s(e.height))-s(e.paddingTop)-s(e.paddingBottom)|0}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(t){l.prototype[t]=u(t)}));var c=l;t.exports=c},ea34:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},eabf:function(t,e,n){var i=n("6d8b");function r(t){t&&i.isArray(t.series)&&i.each(t.series,(function(t){i.isObject(t)&&"k"===t.type&&(t.type="candlestick")}))}t.exports=r},eaea:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("22d1"),a=n("60e3"),s=n("5f14"),l=n("2b8c"),u=n("e0d3"),c=n("3842"),h=s.mapVisual,f=s.eachVisual,d=r.isArray,p=r.each,g=c.asc,v=c.linearMap,m=r.noop,y=i.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:"all",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(t,e,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,n)},optionUpdated:function(t,e){var n=this.option;o.canvasSupported||(n.realtime=!1),!e&&l.replaceVisualOption(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=r.bind(t,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,e,t),this.targetVisuals=l.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=u.normalizeToArray(t),e},eachTargetSeries:function(t,e){r.each(this.getTargetSeriesIndices(),(function(n){t.call(e,this.ecModel.getSeriesByIndex(n))}),this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},formatValueText:function(t,e,n){var i,o,a=this.option,s=a.precision,l=this.dataBound,u=a.formatter;return n=n||["<",">"],r.isArray(t)&&(t=t.slice(),i=!0),o=e?t:i?[c(t[0]),c(t[1])]:c(t),r.isString(u)?u.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):r.isFunction(u)?i?u(t[0],t[1]):u(t):i?t[0]===l[0]?n[0]+" "+o[1]:t[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var o=i[r],a=t.getDimensionInfo(o);if(!a.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),o=e.controller||(e.controller={});r.merge(i,n),r.merge(o,n);var l=this.isCategory();function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e=n[t];if(r.isString(e)){var i=a.get(e,"active",l);i?(n[t]={},n[t][e]=i):delete n[t]}}),this)}function c(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},p(i,(function(t,e){if(s.isValidType(e)){var n=a.get(e,"inactive",l);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function g(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:l?i:[i]}),null==s.symbol&&(s.symbol=e&&r.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&r.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=h(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var u=s.symbolSize;if(null!=u){var c=-1/0;f(u,(function(t){t>c&&(c=t)})),s.symbolSize=h(u,(function(t){return v(t,[0,c],[0,a[0]],!0)}))}}),this)}u.call(this,i),u.call(this,o),c.call(this,i,"inRange","outOfRange"),g.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:m,getValueState:m,getVisualMeta:m}),b=y;t.exports=b},eaeb:function(t,e,n){var i=n("6d8b");function r(t,e){return i.map(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="dataTo"+n,l="category"===r.type?r.getBandWidth():Math.abs(r[s](o-a)-r[s](o+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function o(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),o=e.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:o[1],r0:o[0]},api:{coord:i.bind((function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a})),size:i.bind(r,t)}}}t.exports=o},eb6b:function(t,e,n){var i=n("6d8b"),r=n("e0d3"),o=r.makeInner,a=n("cd33"),s=n("133d"),l=i.each,u=i.curry,c=o();function h(t,e,n){var r=t.currTrigger,o=[t.x,t.y],a=t,c=t.dispatchAction||i.bind(n.dispatchAction,n),h=e.getComponent("axisPointer").coordSysAxesInfo;if(h){x(o)&&(o=s({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var d=x(o),w=a.axesInfo,S=h.axesInfo,C="leave"===r||x(o),T={},A={},O={list:[],map:{}},M={showPointer:u(p,A),showTooltip:u(g,O)};l(h.coordSysMap,(function(t,e){var n=d||t.containPoint(o);l(h.coordSysAxesInfo[e],(function(t,e){var i=t.axis,r=b(w,t);if(!C&&n&&(!w||r)){var a=r&&r.value;null!=a||d||(a=i.pointToData(o)),null!=a&&f(t,a,M,!1,T)}}))}));var k={};return l(S,(function(t,e){var n=t.linkGroup;n&&!A[e]&&l(n.axesInfo,(function(e,i){var r=A[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,_(e),_(t)))),k[t.key]=o}}))})),l(k,(function(t,e){f(S[e],t,M,!0,T)})),v(A,S,T),m(O,o,t,c),y(S,c,n),T}}function f(t,e,n,r,o){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var s=d(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==o.seriesIndex&&i.extend(o,l[0]),!r&&t.snap&&a.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,l,o),n.showTooltip(t,s,u)}else n.showPointer(t,e)}function d(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return l(e.seriesModels,(function(e,u){var c,h,f=e.getData().mapDimension(i,!0);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(f,t,n);h=d.dataIndices,c=d.nestestValue}else{if(h=e.getData().indicesOfNearest(f[0],t,"category"===n.type?.5:null),!h.length)return;c=e.getData().get(f[0],h[0])}if(null!=c&&isFinite(c)){var p=t-c,g=Math.abs(p);g<=a&&((g<a||p>=0&&s<0)&&(a=g,s=p,r=c,o.length=0),l(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}function p(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function g(t,e,n,i){var r=n.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&r.length){var u=e.coordSys.model,c=a.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function v(t,e,n){var i=n.axesInfo=[];l(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function m(t,e,n,i){if(!x(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function y(t,e,n){var r=n.getZr(),o="axisPointerLastHighlights",a=c(r)[o]||{},s=c(r)[o]={};l(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&l(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var u=[],h=[];i.each(a,(function(t,e){!s[e]&&h.push(t)})),i.each(s,(function(t,e){!a[e]&&u.push(t)})),h.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function b(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function _(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function x(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=h},ebf9:function(t,e,n){var i=n("3eba");i.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))},ec02:function(t,e,n){var i=n("6d8b"),r=n("84ce"),o=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},i.inherits(o,r);var a=o;t.exports=a},ec34:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=r.createHashMap,a=r.isString,s=r.isArray,l=r.each,u=(r.assert,n("3041")),c=u.parseXML,h=o(),f={registerMap:function(t,e,n){var i;return s(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:n}]),l(i,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var n=d[e];n(t)})),h.set(t,i)},retrieveMap:function(t){return h.get(t)}},d={geoJSON:function(t){var e=t.source;t.geoJSON=a(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=c(t.source)}};t.exports=f},ec6f:function(t,e,n){var i=n("6d8b"),r=i.createHashMap,o=i.isTypedArray,a=n("625e"),s=a.enableClassCheck,l=n("93d0"),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,f=l.SOURCE_FORMAT_TYPED_ARRAY,d=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===d?{}:[]),this.sourceFormat=t.sourceFormat||h,this.seriesLayoutBy=t.seriesLayoutBy||c,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&r(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:o(t)?f:u,fromDataset:!1})},s(p);var g=p;t.exports=g},ecf8:function(t,e,n){var i=n("6d8b"),r=n("3842"),o=r.parsePercent,a=i.each;function s(t){var e=l(t);a(e,(function(t){var e=t.seriesModels;e.length&&(u(t),a(e,(function(e,n){c(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}function l(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var r=t.getBaseAxis(),o=i.indexOf(n,r);o<0&&(o=n.length,n[o]=r,e[o]={axis:r,seriesModels:[]}),e[o].seriesModels.push(t)})),e}function u(t){var e,n,r=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===r.type)n=r.getBandWidth();else{var f=0;a(s,(function(t){f=Math.max(f,t.getData().count())})),e=r.getExtent(),Math.abs(e[1]-e[0])}a(s,(function(t){var e=t.get("boxWidth");i.isArray(e)||(e=[e,e]),h.push([o(e[0],n)||0,o(e[1],n)||0])}));var d=.8*n-2,p=d/l*.3,g=(d-p*(l-1))/l,v=g/2-d/2;a(s,(function(t,e){c.push(v),v+=p+g,u.push(Math.min(Math.max(g,h[e][0]),h[e][1]))}))}function c(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;h<r.count();h++){var f=r.get(u,h),d=b(f,c[2],h),p=b(f,c[0],h),g=b(f,c[1],h),v=b(f,c[3],h),m=b(f,c[4],h),y=[];_(y,g,0),_(y,v,1),y.push(p,g,m,v),x(y,p),x(y,m),x(y,d),r.setItemLayout(h,{initBaseline:d[s],ends:y})}function b(t,n,o){var l,u=r.get(n,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c),l[a]+=e),l}function _(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function x(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}t.exports=s},ed21:function(t,e,n){var i=n("2cf4"),r=i.devicePixelRatio,o=n("6d8b"),a=n("4942"),s=n("9850"),l=n("04f6"),u=n("5e68"),c=n("98b7"),h=n("0da8"),f=n("22d1"),d=1e5,p=314159,g=.01,v=.001;function m(t){return parseInt(t,10)}function y(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var b=new s(0,0,0,0),_=new s(0,0,0,0);function x(t,e,n){return b.copy(t.getBoundingRect()),t.transform&&b.applyTransform(t.transform),_.width=e,_.height=n,!b.intersect(_)}function w(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function S(t,e){for(var n=0;n<t.length;n++){var i=t[n];i.setTransform(e),e.beginPath(),i.buildPath(e,i.shape),e.clip(),i.restoreTransform(e)}}function C(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var T=function(t,e,n){this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||r,this._singleCanvas=i,this.root=t;var a=t.style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,i){var c=t.width,h=t.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,t.width=c*this.dpr,t.height=h*this.dpr,this._width=c,this._height=h;var f=new u(t,this,this.dpr);f.__builtin__=!0,f.initContext(),l[p]=f,f.zlevel=p,s.push(p),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var d=this._domRoot=C(this._width,this._height);t.appendChild(d)}this._hoverlayer=null,this._hoverElements=[]};T.prototype={constructor:T,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i<n.length;i++){var r=n[i],o=this._layers[r];if(!o.__builtin__&&o.refresh){var a=0===i?this._backgroundColor:null;o.refresh(a)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return n.__from=t,t.__hoverMir=n,e&&n.setStyle(e),this._hoverElements.push(n),n}},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements,i=o.indexOf(n,e);i>=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n<e.length;n++){var i=e[n].__from;i&&(i.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){l(t,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(d));var i={};n.ctx.save();for(var r=0;r<e;){var o=t[r],a=o.__from;a&&a.__zr?(r++,a.invisible||(o.transform=a.transform,o.invTransform=a.invTransform,o.__clipPaths=a.__clipPaths,this._doPaintEl(o,n,!0,i))):(t.splice(r,1),a.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(d)},_paintList:function(t,e,n){if(this._redrawId===n){e=e||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var r=this;c((function(){r._paintList(t,e,n)}))}}},_compositeManually:function(){var t=this.getLayer(p).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},_doPaintList:function(t,e){for(var n=[],i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i],a=this._layers[r];a.__builtin__&&a!==this._hoverlayer&&(a.__dirty||e)&&n.push(a)}for(var s=!0,l=0;l<n.length;l++){a=n[l];var u=a.ctx,c={};u.save();var h=e?a.__startIndex:a.__drawIndex,d=!e&&a.incremental&&Date.now,p=d&&Date.now(),g=a.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(a.__startIndex===a.__endIndex)a.clear(!1,g);else if(h===a.__startIndex){var v=t[h];v.incremental&&v.notClear&&!e||a.clear(!1,g)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=a.__startIndex);for(var m=h;m<a.__endIndex;m++){var y=t[m];if(this._doPaintEl(y,a,e,c),y.__dirty=y.__dirtyText=!1,d){var b=Date.now()-p;if(b>15)break}}a.__drawIndex=m,a.__drawIndex<a.__endIndex&&(s=!1),c.prevElClipPaths&&u.restore(),u.restore()}return f.wxa&&o.each(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),s},_doPaintEl:function(t,e,n,i){var r=e.ctx,o=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!o||o[0]||o[3])&&(!t.culling||!x(t,this._width,this._height))){var a=t.__clipPaths,s=i.prevElClipPaths;s&&!w(a,s)||(s&&(r.restore(),i.prevElClipPaths=null,i.prevEl=null),a&&(r.save(),S(a,r),i.prevElClipPaths=a)),t.beforeBrush&&t.beforeBrush(r),t.brush(r,i.prevEl||null),i.prevEl=t,t.afterBrush&&t.afterBrush(r)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=p);var n=this._layers[t];return n||(n=new u("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?o.merge(n,this._layerConfig[t],!0):this._layerConfig[t-g]&&o.merge(n,this._layerConfig[t-g],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},insertLayer:function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=null,s=-1,l=this._domRoot;if(n[t])a("ZLevel "+t+" has been used already");else if(y(e)){if(r>0&&t>i[0]){for(s=0;s<r-1;s++)if(i[s]<t&&i[s+1]>t)break;o=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i<r.length;i++)n=r[i],t.call(e,this._layers[n],n)},eachBuiltinLayer:function(t,e){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.__builtin__&&t.call(e,n,i)},eachOtherLayer:function(t,e){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.__builtin__||t.call(e,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var r,o=null,s=0;for(n=0;n<t.length;n++){i=t[n];var l,u=i.zlevel;r!==u&&(r=u,s=0),i.incremental?(l=this.getLayer(u+v,this._needsManuallyCompositing),l.incremental=!0,s=1):l=this.getLayer(u+(s>0?g:0),this._needsManuallyCompositing),l.__builtin__||a("ZLevel "+u+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==n&&(l.__dirty=!0),l.__startIndex=n,l.incremental?l.__drawIndex=-1:l.__drawIndex=n,e(n),o=l),i.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=n))}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?o.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+g){var a=this._layers[r];o.merge(a,n[t],!0)}}}},delLayer:function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(o.indexOf(n,t),1))},resize:function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var r in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);o.each(this._progressiveLayers,(function(n){n.resize(t,e)})),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(p).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var e=new u("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height,r=e.ctx;this.eachLayer((function(t){t.__builtin__?r.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())}))}else for(var o={},a=this.storage.getDisplayList(!0),s=0;s<a.length;s++){var l=a[s];this._doPaintEl(l,e,!0,o)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||m(s[n])||m(a.style[n]))-(m(s[r])||0)-(m(s[o])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),r=t.getBoundingRect(),o=t.style,a=o.shadowBlur*e,s=o.shadowOffsetX*e,l=o.shadowOffsetY*e,u=o.hasStroke()?o.lineWidth:0,c=Math.max(u/2,-s+a),f=Math.max(u/2,s+a),d=Math.max(u/2,-l+a),p=Math.max(u/2,l+a),g=r.width+c+f,v=r.height+d+p;n.width=g*e,n.height=v*e,i.scale(e,e),i.clearRect(0,0,g,v),i.dpr=e;var m={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[c-r.x,d-r.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(i);var y=h,b=new y({style:{x:0,y:0,image:n}});return null!=m.position&&(b.position=t.position=m.position),null!=m.rotation&&(b.rotation=t.rotation=m.rotation),null!=m.scale&&(b.scale=t.scale=m.scale),b}};var A=T;t.exports=A},eda2:function(t,e,n){var i=n("6d8b"),r=n("e86a"),o=n("3842");function a(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=i.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function h(t){return null==t?"":(t+"").replace(u,(function(t,e){return c[e]}))}var f=["a","b","c","d","e","f","g"],d=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){i.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var o=e[0].$vars||[],a=0;a<o.length;a++){var s=f[a];t=t.replace(d(s),d(s,0))}for(var l=0;l<r;l++)for(var u=0;u<o.length;u++){var c=e[l][o[u]];t=t.replace(d(f[u],l),n?h(c):c)}return t}function g(t,e,n){return i.each(e,(function(e,i){t=t.replace("{"+i+"}",n?h(e):e)})),t}function v(t,e){t=i.isString(t)?{color:t,extraCssText:e}:t||{};var n=t.color,r=t.type,o=(e=t.extraCssText,t.renderMode||"html"),a=t.markerId||"X";return n?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+h(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(n)+";"+(e||"")+'"></span>':{renderMode:o,content:"{marker"+a+"|}  ",style:{color:n}}:""}function m(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=o.parseDate(e),r=n?"UTC":"",a=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),u=i["get"+r+"Hours"](),c=i["get"+r+"Minutes"](),h=i["get"+r+"Seconds"](),f=i["get"+r+"Milliseconds"]();return t=t.replace("MM",m(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",m(l,2)).replace("d",l).replace("hh",m(u,2)).replace("h",u).replace("mm",m(c,2)).replace("m",c).replace("ss",m(h,2)).replace("s",h).replace("SSS",m(f,3)),t}function b(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=r.truncateText;function x(t){return r.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,n,i,o,a,s,l){return r.getBoundingRect(t,e,n,i,o,l,a,s)}function S(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location=t}else window.open(t,e)}e.addCommas=a,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=v,e.formatTime=y,e.capitalFirst=b,e.truncateText=_,e.getTextBoundingRect=x,e.getTextRect=w,e.windowOpen=S},edaf:function(t,e,n){var i=n("6d8b"),r=n("6cb7"),o=n("6179"),a=n("e0d3"),s=r.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,r=this._names=[];if("category"===n){var s=[];i.each(e,(function(t,e){var n,o=a.getDataItemValue(t);i.isObject(t)?(n=i.clone(t),n.value=e):n=e,s.push(n),i.isString(o)||null!=o&&!isNaN(o)||(o=""),r.push(o+"")})),e=s}var l={category:"ordinal",time:"time"}[n]||"number",u=this._data=new o([{name:"value",type:l}],this);u.initData(e,r)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},edb9:function(t,e,n){var i=n("6d8b");function r(t,e){e=e||{};var n=t.coordinateSystem,r=t.axis,o={},a=r.position,s=r.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?c.vertical[a]:u[0],"horizontal"===s?c.horizontal[a]:u[3]];var h={horizontal:0,vertical:1};o.rotation=Math.PI/2*h[s];var f={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=f[a],t.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var d=e.rotate;return null==d&&(d=t.get("axisLabel.rotate")),o.labelRotation="top"===a?-d:d,o.z2=1,o}e.layout=r},edd0:function(t,e,n){var i=n("13d2"),r=n("9bf2");t.exports=function(t,e,n){return n.get&&i(n.get,e,{getter:!0}),n.set&&i(n.set,e,{setter:!0}),r.f(t,e,n)}},ee1a:function(t,e,n){var i=n("6d8b"),r=i.each,o=i.isString;function a(t,e,n){n=n||{};var i,a,s,l,u=n.byIndex,c=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(r(e,(function(t,n){o(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(u||i||!t.ordinalMeta||(i=t),a||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(a=t))})),!a||u||i||(u=!0),a){s="__\0ecstackresult",l="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var f=a.coordDim,d=a.type,p=0;r(e,(function(t){t.coordDim===f&&p++})),e.push({name:s,coordDim:f,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:i&&i.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=a,e.isDimensionStacked=s,e.getStackedDimension=l},ee66:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("2306"),a=n("eda2"),s=n("3842"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,a,i),this._renderWeekText(t,o,a,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new o.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:r});n.add(c)}},_renderLines:function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){f(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function f(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}f(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},_getEdgesPoints:function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},_drawSplitline:function(t,e,n){var i=new o.Polyline({z2:20,shape:{points:t},style:e});n.add(i)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var r=[],o=0;o<7;o++){var a=i.getNextNDay(e.time,o),s=i.dataToRect([a.time],!1);r[2*a.day]=s.tl,r[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return r},_formatterLabel:function(t,e){return"string"===typeof t&&t?a.formatTplSimple(t,e):"function"===typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,r){e=e.slice();var o=["center","bottom"];"bottom"===i?(e[1]+=r,o=["center","top"]):"left"===i?e[0]-=r:"right"===i?(e[0]+=r,o=["center","top"]):e[1]-=r;var a=0;return"left"!==i&&"right"!==i||(a=Math.PI/2),{rotation:a,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),s=r.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,f={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:d},v=this._formatterLabel(p,g),m=new o.Text({z2:30});o.setTextStyle(m.style,r,{text:v}),m.attr(this._yearTextPositionControl(m,f[s],n,s,a)),i.add(m)}},_monthTextPositionControl:function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var a=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),h=[this._tlpoints,this._blpoints];r.isString(a)&&(a=l[a.toUpperCase()]||[]);var f="start"===u?0:1,d="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g<h[f].length-1;g++){var v=h[f][g].slice(),m=this._firstDayOfMonth[g];if(p){var y=this._firstDayPoints[g];v[d]=(y[d]+h[0][g+1][d])/2}var b=i.get("formatter"),_=a[+m.m-1],x={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:_},w=this._formatterLabel(b,x),S=new o.Text({z2:30});r.extend(o.setTextStyle(S.style,i,{text:w}),this._monthTextPositionControl(v,p,e,u,s)),n.add(S)}}},_weekTextPositionControl:function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderWeekText:function(t,e,n,i){var a=t.getModel("dayLabel");if(a.get("show")){var l=t.coordinateSystem,c=a.get("position"),h=a.get("nameMap"),f=a.get("margin"),d=l.getFirstDayOfWeek();r.isString(h)&&(h=u[h.toUpperCase()]||[]);var p=l.getNextNDay(e.end.time,7-e.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];f=s.parsePercent(f,g["horizontal"===n?0:1]),"start"===c&&(p=l.getNextNDay(e.start.time,-(7+e.fweek)).time,f=-f);for(var v=0;v<7;v++){var m=l.getNextNDay(p,v),y=l.dataToRect([m.time],!1).center,b=v;b=Math.abs((v+d)%7);var _=new o.Text({z2:30});r.extend(o.setTextStyle(_.style,a,{text:h[b]}),this._weekTextPositionControl(y,n,c,f,g)),i.add(_)}}}});t.exports=c},ee84:function(t,e,n){var i=n("20c8"),r=n("401b"),o=r.applyTransform,a=i.CMD,s=[[],[],[]],l=Math.sqrt,u=Math.atan2;function c(t,e){var n,i,r,c,h,f=t.data,d=a.M,p=a.C,g=a.L,v=a.R,m=a.A,y=a.Q;for(r=0,c=0;r<f.length;){switch(n=f[r++],c=r,i=0,n){case d:i=1;break;case g:i=1;break;case p:i=3;break;case y:i=2;break;case m:var b=e[4],_=e[5],x=l(e[0]*e[0]+e[1]*e[1]),w=l(e[2]*e[2]+e[3]*e[3]),S=u(-e[1]/w,e[0]/x);f[r]*=x,f[r++]+=b,f[r]*=w,f[r++]+=_,f[r++]*=x,f[r++]*=w,f[r++]+=S,f[r++]+=S,r+=2,c=r;break;case v:C[0]=f[r++],C[1]=f[r++],o(C,C,e),f[c++]=C[0],f[c++]=C[1],C[0]+=f[r++],C[1]+=f[r++],o(C,C,e),f[c++]=C[0],f[c++]=C[1]}for(h=0;h<i;h++){var C=s[h];C[0]=f[r++],C[1]=f[r++],o(C,C,e),f[c++]=C[0],f[c++]=C[1]}}}t.exports=c},ee95:function(t,e,n){var i=n("3eba"),r=n("66a4");n("a04e"),n("3942"),n("dd7e"),n("347f"),i.registerPreprocessor(r)},ee98:function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}var i="lineStyle.opacity".split("."),r={seriesType:"lines",reset:function(t,e,r){var o=n(t.get("symbol")),a=n(t.get("symbolSize")),s=t.getData();function l(t,e){var r=t.getItemModel(e),o=n(r.getShallow("symbol",!0)),a=n(r.getShallow("symbolSize",!0)),s=r.get(i);o[0]&&t.setItemVisual(e,"fromSymbol",o[0]),o[1]&&t.setItemVisual(e,"toSymbol",o[1]),a[0]&&t.setItemVisual(e,"fromSymbolSize",a[0]),a[1]&&t.setItemVisual(e,"toSymbolSize",a[1]),t.setItemVisual(e,"opacity",s)}return s.setVisual("fromSymbol",o&&o[0]),s.setVisual("toSymbol",o&&o[1]),s.setVisual("fromSymbolSize",a&&a[0]),s.setVisual("toSymbolSize",a&&a[1]),s.setVisual("opacity",t.get(i)),{dataEach:s.hasItemOption?l:null}}};t.exports=r},eeea:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("0141"),s=n("f934"),l=n("3842"),u=n("5b87"),c=n("ec34");function h(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(r[0])||isNaN(r[1])||this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}var o,a=this.getBoundingRect(),u=t.get("layoutCenter"),c=t.get("layoutSize"),h=e.getWidth(),f=e.getHeight(),d=a.width/a.height*this.aspectScale,p=!1;if(u&&c&&(u=[l.parsePercent(u[0],h),l.parsePercent(u[1],f)],c=l.parsePercent(c,Math.min(h,f)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(p=!0)),p){var g={};d>1?(g.width=c,g.height=c/d):(g.height=c,g.width=c*d),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else o=t.getBoxLayoutParams(),o.aspect=d,g=s.getLayoutRect(o,{width:h,height:f});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function f(t,e){o.each(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var d={dimensions:a.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",(function(t,i){var r=t.get("map"),o=t.get("aspectScale"),s=!0,l=c.retrieveMap(r);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var u=new a(r+i,r,t.get("nameMap"),s);u.aspectScale=o,u.zoomLimit=t.get("scaleLimit"),n.push(u),f(u,t),t.coordinateSystem=u,u.model=t,u.resize=h,u.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var i=t.get("geoIndex")||0;t.coordinateSystem=n[i]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),o.each(i,(function(t,i){var r=o.map(t,(function(t){return t.get("nameMap")})),s=new a(i,i,o.mergeAll(r));s.zoomLimit=o.retrieve.apply(null,o.map(t,(function(t){return t.get("scaleLimit")}))),n.push(s),s.resize=h,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),o.each(t,(function(t){t.coordinateSystem=s,f(s,t)}))})),n},getFilledRegions:function(t,e,n){for(var i=(t||[]).slice(),r=o.createHashMap(),a=0;a<i.length;a++)r.set(i[a].name,i[a]);var s=u.load(e,n);return o.each(s.regions,(function(t){var e=t.name;!r.get(e)&&i.push({name:e})})),i}};r.registerCoordinateSystem("geo",d);var p=d;t.exports=p},ef08:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},ef2b:function(t,e,n){var i=n("401b"),r=i.scaleAndAdd;function o(t,e,n){for(var o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<t.length;c++){var h=t[c];h.p||(h.p=i.create(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=i.clone(h.p),h.edges=null}var f=null==n.friction?.6:n.friction,d=f;return{warmUp:function(){d=.8*f},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(n){for(var o=[],a=t.length,s=0;s<e.length;s++){var c=e[s];if(!c.ignoreForceLayout){var h=c.n1,f=c.n2;i.sub(o,f.p,h.p);var p=i.len(o)-c.d,g=f.w/(h.w+f.w);isNaN(g)&&(g=0),i.normalize(o,o),!h.fixed&&r(h.p,h.p,o,g*p*d),!f.fixed&&r(f.p,f.p,o,-(1-g)*p*d)}}for(s=0;s<a;s++){var v=t[s];v.fixed||(i.sub(o,l,v.p),r(v.p,v.p,o,u*d))}for(s=0;s<a;s++){h=t[s];for(var m=s+1;m<a;m++){f=t[m];i.sub(o,f.p,h.p);p=i.len(o);0===p&&(i.set(o,Math.random()-.5,Math.random()-.5),p=1);var y=(h.rep+f.rep)/p/p;!h.fixed&&r(h.pp,h.pp,o,y),!f.fixed&&r(f.pp,f.pp,o,-y)}}var b=[];for(s=0;s<a;s++){v=t[s];v.fixed||(i.sub(b,v.p,v.pp),r(v.p,v.p,b,d),i.copy(v.pp,v.p))}d*=.992,n&&n(t,e,d<.01)}}}e.forceLayout=o},ef6a:function(t,e){function n(t,e,n,o,a,s){t=t||0;var l=n[1]-n[0];if(null!=a&&(a=r(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var u=Math.abs(e[1]-e[0]);u=r(u,[0,l]),a=s=r(u,[a,s]),o=0}e[0]=r(e[0],n),e[1]=r(e[1],n);var c=i(e,o);e[o]+=t;var h=a||0,f=n.slice();c.sign<0?f[0]+=h:f[1]-=h,e[o]=r(e[o],f);var d=i(e,o);null!=a&&(d.sign!==c.sign||d.span<a)&&(e[1-o]=e[o]+c.sign*a);d=i(e,o);return null!=s&&d.span>s&&(e[1-o]=e[o]+d.sign*s),e}function i(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function r(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=n},ef97:function(t,e,n){var i=n("3eba");n("217b"),n("f17f");var r=n("7f96"),o=n("87c3"),a=n("fdde");n("01ed"),i.registerVisual(r("line","circle","line")),i.registerLayout(o("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a("line"))},ef97a:function(t,e,n){var i=n("3eba");n("2163"),n("6cd8"),n("bf9b");var r=n("7f96"),o=n("ca29");i.registerVisual(r("tree","circle")),i.registerLayout(o)},efec:function(t,e,n){var i=n("1a2d"),r=n("cb2d"),o=n("51eb"),a=n("b622"),s=a("toPrimitive"),l=Date.prototype;i(l,s)||r(l,s,o)},f069:function(t,e,n){"use strict";var i=n("59ed"),r=TypeError,o=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw r("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new o(t)}},f123:function(t,e,n){var i=n("9f82"),r=i.prepareDataCoordInfo,o=i.getStackedOnPoint;function a(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function s(t,e,n,i,s,l,u,c){for(var h=a(t,e),f=[],d=[],p=[],g=[],v=[],m=[],y=[],b=r(s,e,u),_=r(l,t,c),x=0;x<h.length;x++){var w=h[x],S=!0;switch(w.cmd){case"=":var C=t.getItemLayout(w.idx),T=e.getItemLayout(w.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=T.slice()),f.push(C),d.push(T),p.push(n[w.idx]),g.push(i[w.idx1]),y.push(e.getRawIndex(w.idx1));break;case"+":var A=w.idx;f.push(s.dataToPoint([e.get(b.dataDimsForPoint[0],A),e.get(b.dataDimsForPoint[1],A)])),d.push(e.getItemLayout(A).slice()),p.push(o(b,s,e,A)),g.push(i[A]),y.push(e.getRawIndex(A));break;case"-":A=w.idx;var O=t.getRawIndex(A);O!==A?(f.push(t.getItemLayout(A)),d.push(l.dataToPoint([t.get(_.dataDimsForPoint[0],A),t.get(_.dataDimsForPoint[1],A)])),p.push(n[A]),g.push(o(_,l,t,A)),y.push(O)):S=!1}S&&(v.push(w),m.push(m.length))}m.sort((function(t,e){return y[t]-y[e]}));var M=[],k=[],I=[],E=[],P=[];for(x=0;x<m.length;x++){A=m[x];M[x]=f[A],k[x]=d[A],I[x]=p[A],E[x]=g[A],P[x]=v[A]}return{current:M,next:k,stackedOnCurrent:I,stackedOnNext:E,status:P}}t.exports=s},f138:function(t,e,n){var i=n("dcb3"),r=n("ff2e"),o=n("edb9"),a=n("6679"),s=["x","y"],l=["width","height"],u=i.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.coordinateSystem,u=f(l,1-h(s)),d=l.dataToPoint(e)[0],p=i.get("type");if(p&&"none"!==p){var g=r.buildElStyle(i),v=c[p](s,d,u);v.style=g,t.graphicKey=v.type,t.pointer=v}var m=o.layout(n);r.buildCartesianSingleLabelElOption(e,t,m,n,i,a)},getHandleTransform:function(t,e,n){var i=o.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=h(r),s=f(o,a),l=t.position;l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=f(o,1-a),c=(u[1]+u[0])/2,d=[c,c];return d[a]=l[a],{position:l,rotation:t.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(t,e,n){var i=r.makeLineShape([e,n[0]],[e,n[1]],h(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=t.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([e-i/2,n[0]],[i,o],h(t))}}};function h(t){return t.isHorizontal()?0:1}function f(t,e){var n=t.getRect();return[n[s[e]],n[s[e]]+n[l[e]]]}a.registerAxisPointerClass("SingleAxisPointer",u);var d=u;t.exports=d},f14c:function(t,e,n){var i=n("84d5"),r=n("f934"),o=r.mergeLayoutParam,a=r.getLayoutParams,s=i.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,n,i){var r=a(t);s.superCall(this,"init",t,e,n,i),l(this,t,r)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)}});function l(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,o(e,n,{type:"box",ignoreSize:r})}var u=s;t.exports=u},f170:function(t,e,n){n("a87d");var i=n("697e7"),r=i.registerPainter,o=n("e9f9");r("vml",o)},f17f:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("e263"),a=o.fromPoints,s=n("f706"),l=n("1418"),u=n("f123"),c=n("2306"),h=n("e0d3"),f=n("d4d1"),d=f.Polyline,p=f.Polygon,g=n("e887"),v=n("9f82"),m=v.prepareDataCoordInfo,y=v.getStackedOnPoint,b=n("b0af"),_=b.createGridClipPath,x=b.createPolarClipPath;function w(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++){var i=t[n],r=e[n];if(i[0]!==r[0]||i[1]!==r[1])return}return!0}}function S(t,e){var n=[],i=[],r=[],o=[];return a(t,n,i),a(e,r,o),Math.max(Math.abs(n[0]-r[0]),Math.abs(n[1]-r[1]),Math.abs(i[0]-o[0]),Math.abs(i[1]-o[1]))}function C(t){return"number"===typeof t?t:t?.5:0}function T(t,e,n){if(!n.valueDim)return[];for(var i=[],r=0,o=e.count();r<o;r++)i.push(y(n,t,e,r));return i}function A(t,e,n){for(var i=e.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,o=[],a=0;a<t.length-1;a++){var s=t[a+1],l=t[a];o.push(l);var u=[];switch(n){case"end":u[r]=s[r],u[1-r]=l[1-r],o.push(u);break;case"middle":var c=(l[r]+s[r])/2,h=[];u[r]=h[r]=c,u[1-r]=l[1-r],h[1-r]=s[1-r],o.push(u),o.push(h);break;default:u[r]=l[r],u[1-r]=s[1-r],o.push(u)}}return t[a]&&o.push(t[a]),o}function O(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var i,o,a=n.length-1;a>=0;a--){var s=n[a].dimension,l=t.dimensions[s],u=t.getDimensionInfo(l);if(i=u&&u.coordDim,"x"===i||"y"===i){o=n[a];break}}if(o){var h=e.getAxis(i),f=r.map(o.stops,(function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}})),d=f.length,p=o.outerColors.slice();d&&f[0].coord>f[d-1].coord&&(f.reverse(),p.reverse());var g=10,v=f[0].coord-g,m=f[d-1].coord+g,y=m-v;if(y<.001)return"transparent";r.each(f,(function(t){t.offset=(t.coord-v)/y})),f.push({offset:d?f[d-1].offset:.5,color:p[1]||"transparent"}),f.unshift({offset:d?f[0].offset:.5,color:p[0]||"transparent"});var b=new c.LinearGradient(0,0,0,0,f,!0);return b[i]=v,b[i+"2"]=m,b}}}function M(t,e,n){var i=t.get("showAllSymbol"),o="auto"===i;if(!i||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!k(a,e))){var s=e.mapDimension(a.dim),l={};return r.each(a.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function k(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*l.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}function I(t,e,n){if("cartesian2d"===t.type){var i=t.getBaseAxis().isHorizontal(),r=_(t,e,n);if(!n.get("clip",!0)){var o=r.shape,a=Math.max(o.width,o.height);i?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return r}return x(t,e,n)}var E=g.extend({type:"line",init:function(){var t=new c.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var i=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),c="polar"===i.type,h=this._coordSys,f=this._symbolDraw,d=this._polyline,p=this._polygon,g=this._lineGroup,v=t.get("animation"),y=!l.isEmpty(),b=l.get("origin"),_=m(i,a,b),x=T(i,a,_),S=t.get("showSymbol"),k=S&&!c&&M(t,a,i),E=this._data;E&&E.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),E.setItemGraphicEl(e,null))})),S||f.remove(),o.add(g);var P,D=!c&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(P=i.getArea(),null!=P.width?(P.x-=.1,P.y-=.1,P.width+=.2,P.height+=.2):P.r0&&(P.r0-=.5,P.r1+=.5)),this._clipShapeForSymbol=P,d&&h.type===i.type&&D===this._step?(y&&!p?p=this._newPolygon(u,x,i,v):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(I(i,!1,t)),S&&f.updateData(a,{isIgnore:k,clipShape:P}),a.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),w(this._stackedOnPoints,x)&&w(this._points,u)||(v?this._updateAnimation(a,x,i,n,D,b):(D&&(u=A(u,i,D),x=A(x,i,D)),d.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:x})))):(S&&f.updateData(a,{isIgnore:k,clipShape:P}),D&&(u=A(u,i,D),x=A(x,i,D)),d=this._newPolyline(u,i,v),y&&(p=this._newPolygon(u,x,i,v)),g.setClipPath(I(i,!0,t)));var L=O(a,i)||a.getVisual("color");d.useStyle(r.defaults(s.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"}));var R=t.get("smooth");if(R=C(t.get("smooth")),d.setShape({smooth:R,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var N=a.getCalculationInfo("stackedOnSeries"),j=0;p.useStyle(r.defaults(l.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel"})),N&&(j=C(N.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:j,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=a,this._coordSys=i,this._stackedOnPoints=x,this._points=u,this._step=D,this._valueOrigin=b},dispose:function(){},highlight:function(t,e,n,i){var r=t.getData(),o=h.queryDataIndex(r,i);if(!(o instanceof Array)&&null!=o&&o>=0){var a=r.getItemGraphicEl(o);if(!a){var s=r.getItemLayout(o);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;a=new l(r,o),a.position=s,a.setZ(t.get("zlevel"),t.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,r.setItemGraphicEl(o,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else g.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r=t.getData(),o=h.queryDataIndex(r,i);if(null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else g.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new d({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,r,o){var a=this._polyline,s=this._polygon,l=t.hostModel,h=u(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),f=h.current,d=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(r&&(f=A(h.current,n,r),d=A(h.stackedOnCurrent,n,r),p=A(h.next,n,r),g=A(h.stackedOnNext,n,r)),S(f,p)>3e3||s&&S(d,g)>3e3)return a.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));a.shape.__points=h.current,a.shape.points=f,c.updateProps(a,{shape:{points:p}},l),s&&(s.setShape({points:f,stackedOnPoints:d}),c.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var v=[],m=h.status,y=0;y<m.length;y++){var b=m[y].cmd;if("="===b){var _=t.getItemGraphicEl(m[y].idx1);_&&v.push({el:_,ptIdx:y})}}a.animators&&a.animators.length&&a.animators[0].during((function(){for(var t=0;t<v.length;t++){var e=v[t].el;e.attr("position",a.shape.__points[v[t].ptIdx])}}))},remove:function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=E},f219:function(t,e){var n="#eee",i=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{textStyle:{color:n}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},r=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],o={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n},label:{color:"#000"}}},legend:{textStyle:{color:n}},textStyle:{color:n},title:{textStyle:{color:n}},toolbox:{iconStyle:{normal:{borderColor:n}}},dataZoom:{textStyle:{color:n}},visualMap:{textStyle:{color:n}},timeline:{lineStyle:{color:n},itemStyle:{normal:{color:r[1]}},label:{normal:{textStyle:{color:n}}},controlStyle:{normal:{color:n,borderColor:n}}},timeAxis:i(),logAxis:i(),valueAxis:i(),categoryAxis:i(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{textStyle:{color:n}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.categoryAxis.splitLine.show=!1;var a=o;t.exports=a},f22b:function(t,e,n){"use strict";var i=n("23e7"),r=n("c65b"),o=n("f069"),a=n("4738").CONSTRUCTOR;i({target:"Promise",stat:!0,forced:a},{reject:function(t){var e=o.f(this);return r(e.reject,void 0,t),e.promise}})},f273:function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("fab2"),a=n("6679"),s=n("0156"),l=n("58df"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],f=["splitArea","splitLine","minorSplitLine"],d=a.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,a){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new r.Group,this.group.add(this._axisGroup),t.get("show")){var u=t.getCoordSysModel(),c=s.layout(u,t),p=new o(t,c);i.each(h,p.add,p),this._axisGroup.add(p.getGroup()),i.each(f,(function(e){t.get(e+".show")&&this["_"+e](t,u)}),this),r.groupTransition(l,this._axisGroup,t),d.superCall(this,"render",t,e,n,a)}},remove:function(){c(this)},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var o=t.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=i.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,h=n.getTicksCoords({tickModel:o}),f=[],d=[],p=a.getLineStyle(),g=0;g<h.length;g++){var v=n.toGlobalCoord(h[g].coord);u?(f[0]=v,f[1]=l.y,d[0]=v,d[1]=l.y+l.height):(f[0]=l.x,f[1]=v,d[0]=l.x+l.width,d[1]=v);var m=c++%s.length,y=h[g].tickValue;this._axisGroup.add(new r.Line({anid:null!=y?"line_"+h[g].tickValue:null,subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:d[0],y2:d[1]},style:i.defaults({stroke:s[m]},p),silent:!0}))}}},_minorSplitLine:function(t,e){var n=t.axis,i=t.getModel("minorSplitLine"),o=i.getModel("lineStyle"),a=e.coordinateSystem.getRect(),s=n.isHorizontal(),l=n.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=o.getLineStyle(),f=0;f<l.length;f++)for(var d=0;d<l[f].length;d++){var p=n.toGlobalCoord(l[f][d].coord);s?(u[0]=p,u[1]=a.y,c[0]=p,c[1]=a.y+a.height):(u[0]=a.x,u[1]=p,c[0]=a.x+a.width,c[1]=p),this._axisGroup.add(new r.Line({anid:"minor_line_"+l[f][d].tickValue,subPixelOptimize:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0}))}},_splitArea:function(t,e){u(this,this._axisGroup,t,e)}});d.extend({type:"xAxis"}),d.extend({type:"yAxis"})},f279:function(t,e,n){var i=n("9850"),r=n("e263"),o=n("401b"),a=n("0655");function s(t,e,n){if(this.name=t,this.geometries=e,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],a=[-e,-e],s=[],l=[],u=this.geometries,c=0;c<u.length;c++)if("polygon"===u[c].type){var h=u[c].exterior;r.fromPoints(h,s,l),o.min(n,n,s),o.max(a,a,l)}return 0===c&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new i(n[0],n[1],a[0]-n[0],a[1]-n[1])},contain:function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++)if("polygon"===n[i].type){var o=n[i].exterior,s=n[i].interiors;if(a.contain(o,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(a.contain(s[l]))continue t;return!0}}return!1},transformTo:function(t,e,n,r){var a=this.getBoundingRect(),s=a.width/a.height;n?r||(r=n/s):n=s*r;for(var l=new i(t,e,n,r),u=a.calculateTransform(l),c=this.geometries,h=0;h<c.length;h++)if("polygon"===c[h].type){for(var f=c[h].exterior,d=c[h].interiors,p=0;p<f.length;p++)o.applyTransform(f[p],f[p],u);for(var g=0;g<(d?d.length:0);g++)for(p=0;p<d[g].length;p++)o.applyTransform(d[g][p],d[g][p],u)}a=this._rect,a.copy(l),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new s(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var l=s;t.exports=l},f306:function(t,e,n){var i=n("3eba"),r=n("6d8b"),o=n("88b3"),a=n("6569");n("849b"),n("217c"),n("c515");var s=5;i.extendComponentView({type:"parallel",render:function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},r.each(l,(function(t,e){n.getZr().on(e,this._handlers[e]=r.bind(t,this))}),this)),o.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){r.each(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(r.extend({type:"parallelAxisExpand"},t))}});var l={mousedown:function(t){u(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(u(this,"click")&&e){var n=[t.offsetX,t.offsetY],i=Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2);if(i>s)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&u(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function u(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}i.registerPreprocessor(a)},f31f:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("3eba")),o=n("6d8b"),a=n("2b8c"),s=n("4319"),l=["#ddd"],u=r.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;!e&&a.replaceVisualOption(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:l},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(t){t&&(this.areas=o.map(t,(function(t){return c(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=c(this.option,t),this.brushType=this.brushOption.brushType}});function c(t,e){return o.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new s(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var h=u;t.exports=h},f36a:function(t,e,n){var i=n("e330");t.exports=i([].slice)},f47d:function(t,e,n){var i=n("6d8b"),r=(i.assert,i.isArray),o=n("4e08");o.__DEV__;function a(t){return new s(t)}function s(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var a,s=d(this._modBy),l=this._modDataCount||0,u=d(t&&t.modBy),f=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}s===u&&l===f||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=h(this,i)),this._modBy=u,this._modDataCount=f;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!i&&(a||g<v)){var m=this._progress;if(r(m))for(var y=0;y<m.length;y++)c(this,m[y],g,v,u,f);else c(this,m,g,v,u,f)}this._dueIndex=v;var b=null!=this._settedOutputEnd?this._settedOutputEnd:v;this._outputDueEnd=b}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var u=function(){var t,e,n,i,r,o={reset:function(l,u,c,h){e=l,t=u,n=c,i=h,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();function c(t,e,n,i,r,o){u.reset(n,i,r,o),t._callingProgress=e,t._callingProgress({start:n,end:i,count:i-n,next:u.next},t.context)}function h(t,e){var n,i;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&(n=t._reset(t.context),n&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null)),t._progress=n,t._modBy=t._modDataCount=null;var o=t._downstream;return o&&o.dirty(),i}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=a},f4a2:function(t,e,n){var i=n("9850"),r=n("c526"),o=r.onIrrelevantElement,a=n("2306");function s(t){return t=c(t),function(e,n){return a.clipPointsByRect(e,t)}}function l(t,e){return t=c(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function u(t,e,n){return t=c(t),function(i,r,a){return t.contain(r[0],r[1])&&!o(i,e,n)}}function c(t){return i.create(t)}e.makeRectPanelClipPath=s,e.makeLinearBrushOtherExtent=l,e.makeRectIsTargetByCursor=u},f5df:function(t,e,n){var i=n("00ee"),r=n("1626"),o=n("c6b6"),a=n("b622"),s=a("toStringTag"),l=Object,u="Arguments"==o(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=l(t),s))?n:u?o(e):"Object"==(i=o(e))&&r(e.callee)?"Arguments":i}},f5e6:function(t,e,n){n("1ccf"),n("b419")},f610:function(t,e,n){var i=n("2306"),r=n("f934"),o=n("6d8b"),a=n("55ac"),s=a.wrapTreePathInfo,l=8,u=8,c=5;function h(t){this.group=new i.Group,t.add(this.group)}function f(t,e,n,i,r,o){var a=[[r?t:t-c,e],[t+n,e],[t+n,e+i],[r?t:t-c,e+i]];return!o&&a.splice(2,0,[t+n+c,e+i/2]),!r&&a.push([t,e+i/2]),a}function d(t,e,n){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&s(n,e)}}h.prototype={constructor:h,render:function(t,e,n,i){var o=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&n){var s=o.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,s,l,i),r.positionElement(a,u.pos,u.box)}},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var r=i.getModel().get("name"),o=n.getTextRect(r),a=Math.max(o.width+2*l,e.emptyItemWidth);e.totalWidth+=a+u,e.renderList.push({node:i,text:r,width:a})}},_renderContent:function(t,e,n,a,s){for(var l=0,c=e.emptyItemWidth,h=t.get("breadcrumb.height"),p=r.getAvailableSize(e.pos,e.box),g=e.totalWidth,v=e.renderList,m=v.length-1;m>=0;m--){var y=v[m],b=y.node,_=y.width,x=y.text;g>p.width&&(g-=_-c,_=c,x=null);var w=new i.Polygon({shape:{points:f(l,0,_,h,m===v.length-1,0===m)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:x,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,b)});this.group.add(w),d(w,t,b),l+=_+u}},remove:function(){this.group.removeAll()}};var p=h;t.exports=p},f6b4:function(t,e,n){"use strict";var i=n("c532");function r(){this.handlers=[]}r.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},f6ed:function(t,e,n){var i=n("6d8b");function r(t,e){var n={};return i.each(t,(function(t){t.each(t.mapDimension("value"),(function(e,i){var r="ec-"+t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(i,r){for(var o,a="ec-"+t[0].getName(r),s=0,l=1/0,u=-1/0,c=n[a].length,h=0;h<c;h++)l=Math.min(l,n[a][h]),u=Math.max(u,n[a][h]),s+=n[a][h];return o="min"===e?l:"max"===e?u:"average"===e?s/c:s,0===c?NaN:o}))}function o(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),i.each(e,(function(t,e){for(var n=r(i.map(t,(function(t){return t.getData()})),t[0].get("mapValueCalculation")),o=0;o<t.length;o++)t[o].originalData=t[o].getData();for(o=0;o<t.length;o++)t[o].seriesGroup=t,t[o].needsDrawMap=0===o&&!t[o].getHostGeoModel(),t[o].setData(n.cloneShallow()),t[o].mainSeries=t[0]}))}t.exports=o},f706:function(t,e,n){var i=n("2306"),r=n("1418"),o=n("6d8b"),a=o.isObject;function s(t){this.group=new i.Group,this._symbolCtor=t||r}var l=s.prototype;function u(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function c(t){return null==t||a(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}l.updateData=function(t,e){e=c(e);var n=this.group,r=t.hostModel,o=this._data,a=this._symbolCtor,s=h(t);o||n.removeAll(),t.diff(o).add((function(i){var r=t.getItemLayout(i);if(u(t,r,i,e)){var o=new a(t,i,s);o.attr("position",r),t.setItemGraphicEl(i,o),n.add(o)}})).update((function(l,c){var h=o.getItemGraphicEl(c),f=t.getItemLayout(l);u(t,f,l,e)?(h?(h.updateData(t,l,s),i.updateProps(h,{position:f},r)):(h=new a(t,l),h.attr("position",f)),n.add(h),t.setItemGraphicEl(l,h)):n.remove(h)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._data=t},l.isPersistent=function(){return!0},l.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl((function(e,n){var i=t.getItemLayout(n);e.attr("position",i)}))},l.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=c(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(u(e,o,r,n)){var a=new this._symbolCtor(e,r,this._seriesScope);a.traverse(i),a.attr("position",o),this.group.add(a),e.setItemGraphicEl(r,a)}}},l.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()};var f=s;t.exports=f},f772:function(t,e,n){var i=n("5692"),r=n("90e3"),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},f7c6:function(t,e,n){var i=n("3eba"),r=n("e46b"),o=n("6d8b"),a=n("e0d3"),s=n("3842"),l=s.getPercentWithPrecision,u=n("7023"),c=n("2b17"),h=c.retrieveRawAttr,f=n("0f99"),d=f.makeSeriesEncodeForNameBased,p=n("c4a3"),g=i.extendSeriesModel({type:"series.pie",init:function(t){g.superApply(this,"init",arguments),this.legendVisualProvider=new p(o.bind(this.getData,this),o.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){g.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return r(this,{coordDimensions:["value"],encodeDefaulter:o.curry(d,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,r=t.count();i<r;i++)n.push({name:t.getName(i),value:t.get(e,i),selected:h(t,i,"selected")});return n},getDataParams:function(t){var e=this.getData(),n=g.superCall(this,"getDataParams",t),i=[];return e.each(e.mapDimension("value"),(function(t){i.push(t)})),n.percent=l(i,t,e.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(t){a.defaultEmphasis(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});o.mixin(g,u);var v=g;t.exports=v},f893:function(t,e,n){t.exports={default:n("8119"),__esModule:!0}},f934:function(t,e,n){var i=n("6d8b"),r=n("9850"),o=n("3842"),a=o.parsePercent,s=n("eda2"),l=i.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var c,h,f=l.position,d=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var v=d.width+(g?-g.x+d.x:0);c=o+v,c>i||l.newline?(o=0,c=v,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(g?-g.y+d.y:0);h=a+m,h>r||l.newline?(o+=s+n,a=0,h=m,s=d.width):s=Math.max(s,d.width)}l.newline||(f[0]=o,f[1]=a,"horizontal"===t?o=c+n:a=h+n)}))}var f=h,d=i.curry(h,"vertical"),p=i.curry(h,"horizontal");function g(t,e,n){var i=e.width,r=e.height,o=a(t.x,i),l=a(t.y,r),u=a(t.x2,i),c=a(t.y2,r);return(isNaN(o)||isNaN(parseFloat(t.x)))&&(o=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=r),n=s.normalizeCssArray(n||0),{width:Math.max(u-o-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function v(t,e,n){n=s.normalizeCssArray(n||0);var i=e.width,o=e.height,l=a(t.left,i),u=a(t.top,o),c=a(t.right,i),h=a(t.bottom,o),f=a(t.width,i),d=a(t.height,o),p=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=i-c-g-l),isNaN(d)&&(d=o-h-p-u),null!=v&&(isNaN(f)&&isNaN(d)&&(v>i/o?f=.8*i:d=.8*o),isNaN(f)&&(f=v*d),isNaN(d)&&(d=f/v)),isNaN(l)&&(l=i-c-f-g),isNaN(u)&&(u=o-h-d-p),t.left||t.right){case"center":l=i/2-f/2-n[3];break;case"right":l=i-f-g;break}switch(t.top||t.bottom){case"middle":case"center":u=o/2-d/2-n[0];break;case"bottom":u=o-d-p;break}l=l||0,u=u||0,isNaN(f)&&(f=i-g-l-(c||0)),isNaN(d)&&(d=o-p-u-(h||0));var m=new r(l+n[3],u+n[0],f,d);return m.margin=n,m}function m(t,e,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new r(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();c=c.clone(),c.applyTransform(h)}e=v(i.defaults({width:c.width,height:c.height},e),n,o);var f=t.position,d=s?e.x-c.x:0,p=l?e.y-c.y:0;t.attr("position","raw"===u?[d,p]:[f[0]+d,f[1]+p])}}function y(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]}function b(t,e,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var o=s(c[0],0),a=s(c[1],1);function s(n,i){var o={},a=0,s={},c=0,f=2;if(l(n,(function(e){s[e]=t[e]})),l(n,(function(t){u(e,t)&&(o[t]=s[t]=e[t]),h(o,t)&&a++,h(s,t)&&c++})),r[i])return h(e,n[1])?s[n[2]]=null:h(e,n[2])&&(s[n[1]]=null),s;if(c!==f&&a){if(a>=f)return o;for(var d=0;d<n.length;d++){var p=n[d];if(!u(o,p)&&u(t,p)){o[p]=t[p];break}}return o}return s}function u(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,n){l(t,(function(t){e[t]=n[t]}))}f(c[0],t,o),f(c[1],t,a)}function _(t){return x({},t)}function x(t,e){return e&&t&&l(u,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}e.LOCATION_PARAMS=u,e.HV_NAMES=c,e.box=f,e.vbox=d,e.hbox=p,e.getAvailableSize=g,e.getLayoutRect=v,e.positionElement=m,e.sizeCalculable=y,e.mergeLayoutParam=b,e.getLayoutParams=_,e.copyLayoutParams=x},fa52:function(t,e,n){var i=n("3eba");n("febc"),n("dcea");var r=n("2f91"),o=n("ecf8");i.registerVisual(r),i.registerLayout(o)},fab2:function(t,e,n){var i=n("6d8b"),r=i.retrieve,o=i.defaults,a=i.extend,s=i.each,l=n("eda2"),u=n("2306"),c=n("4319"),h=n("3842"),f=h.isRadianAroundZero,d=h.remRadian,p=n("a15a"),g=p.createSymbol,v=n("1687"),m=n("401b"),y=m.applyTransform,b=n("697e"),_=b.shouldShowAllLabels,x=Math.PI,w=function(t,e){this.opt=e,this.axisModel=t,o(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};w.prototype={constructor:w,hasBuilder:function(t){return!!S[t]},add:function(t){S[t].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],o=[n[1],0];i&&(y(r,r,i),y(o,o,i));var l=a({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var c=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),f=e.get("axisLine.symbolOffset")||0;if("number"===typeof f&&(f=[f,f]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var d=h[0],p=h[1];s([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((r[0]-o[0])*(r[0]-o[0])+(r[1]-o[1])*(r[1]-o[1]))}],(function(e,n){if("none"!==c[n]&&null!=c[n]){var i=g(c[n],-d/2,-p/2,d,p,l.stroke,!0),o=e.r+e.offset,a=[r[0]+o*Math.cos(t.rotation),r[1]-o*Math.sin(t.rotation)];i.attr({rotation:e.rotate,position:a,silent:!0,z2:11}),this.group.add(i)}}),this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=D(this,t,e),i=R(this,t,e);M(t,i,n),L(this,t,e)},axisName:function(){var t=this.opt,e=this.axisModel,n=r(t.axisName,e.get("name"));if(n){var i,o,s=e.get("nameLocation"),c=t.nameDirection,h=e.getModel("nameTextStyle"),f=e.get("nameGap")||0,d=this.axisModel.axis.getExtent(),p=d[0]>d[1]?-1:1,g=["start"===s?d[0]-p*f:"end"===s?d[1]+p*f:(d[0]+d[1])/2,E(s)?t.labelOffset+c*f:0],v=e.get("nameRotate");null!=v&&(v=v*x/180),E(s)?i=T(t.rotation,null!=v?v:t.rotation,c):(i=A(t,s,v||0,d),o=t.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(i.rotation)),!isFinite(o)&&(o=null)));var m=h.getFont(),y=e.get("nameTruncate",!0)||{},b=y.ellipsis,_=r(t.nameTruncateMaxWidth,y.maxWidth,o),w=null!=b&&null!=_?l.truncateText(n,_,m,b,{minChar:2,placeholder:y.placeholder}):n,S=e.get("tooltip",!0),M=e.mainType,k={componentType:M,name:n,$vars:["name"]};k[M+"Index"]=e.componentIndex;var I=new u.Text({anid:"name",__fullText:n,__truncatedText:w,position:g,rotation:i.rotation,silent:O(e),z2:1,tooltip:S&&S.show?a({content:n,formatter:function(){return n},formatterParams:k},S):null});u.setTextStyle(I.style,h,{text:w,textFont:m,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||i.textAlign,textVerticalAlign:h.get("verticalAlign")||i.textVerticalAlign}),e.get("triggerEvent")&&(I.eventData=C(e),I.eventData.targetType="axisName",I.eventData.name=n),this._dumbGroup.add(I),I.updateTransform(),this.group.add(I),I.decomposeTransform()}}},C=w.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},T=w.innerTextLayout=function(t,e,n){var i,r,o=d(e-t);return f(o)?(r=n>0?"top":"bottom",i="center"):f(o-x)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<x?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}};function A(t,e,n,i){var r,o,a=d(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return f(a-x/2)?(o=l?"bottom":"top",r="center"):f(a-1.5*x)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*x&&a>x/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}var O=w.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function M(t,e,n){if(!_(t.axis)){var i=t.get("axisLabel.showMinLabel"),r=t.get("axisLabel.showMaxLabel");e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],h=n[n.length-1],f=n[n.length-2];!1===i?(k(o),k(u)):I(o,a)&&(i?(k(a),k(c)):(k(o),k(u))),!1===r?(k(s),k(h)):I(l,s)&&(r?(k(l),k(f)):(k(s),k(h)))}}function k(t){t&&(t.ignore=!0)}function I(t,e,n){var i=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(i&&r){var o=v.identity([]);return v.rotate(o,o,-t.rotation),i.applyTransform(v.mul([],o,t.getLocalTransform())),r.applyTransform(v.mul([],o,e.getLocalTransform())),i.intersect(r)}}function E(t){return"middle"===t||"center"===t}function P(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var c=t[l].coord;a[0]=c,a[1]=0,s[0]=c,s[1]=n,e&&(y(a,a,e),y(s,s,e));var h=new u.Line({anid:r+"_"+t[l].tickValue,subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,silent:!0});o.push(h)}return o}function D(t,e,n){var i=e.axis,r=e.getModel("axisTick");if(r.get("show")&&!i.scale.isBlank()){for(var a=r.getModel("lineStyle"),s=n.tickDirection*r.get("length"),l=i.getTicksCoords(),u=P(l,t._transform,s,o(a.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),"ticks"),c=0;c<u.length;c++)t.group.add(u[c]);return u}}function L(t,e,n){var i=e.axis,r=e.getModel("minorTick");if(r.get("show")&&!i.scale.isBlank()){var a=i.getMinorTicksCoords();if(a.length)for(var s=r.getModel("lineStyle"),l=n.tickDirection*r.get("length"),u=o(s.getLineStyle(),o(e.getModel("axisTick").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})),c=0;c<a.length;c++)for(var h=P(a[c],t._transform,l,u,"minorticks_"+c),f=0;f<h.length;f++)t.group.add(h[f])}}function R(t,e,n){var i=e.axis,o=r(n.axisLabelShow,e.get("axisLabel.show"));if(o&&!i.scale.isBlank()){var a=e.getModel("axisLabel"),l=a.get("margin"),h=i.getViewLabels(),f=(r(n.labelRotate,a.get("rotate"))||0)*x/180,d=T(n.rotation,f,n.labelDirection),p=e.getCategories&&e.getCategories(!0),g=[],v=O(e),m=e.get("triggerEvent");return s(h,(function(r,o){var s=r.tickValue,h=r.formattedLabel,f=r.rawLabel,y=a;p&&p[s]&&p[s].textStyle&&(y=new c(p[s].textStyle,a,e.ecModel));var b=y.getTextColor()||e.get("axisLine.lineStyle.color"),_=i.dataToCoord(s),x=[_,n.labelOffset+n.labelDirection*l],w=new u.Text({anid:"label_"+s,position:x,rotation:d.rotation,silent:v,z2:10});u.setTextStyle(w.style,y,{text:h,textAlign:y.getShallow("align",!0)||d.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||d.textVerticalAlign,textFill:"function"===typeof b?b("category"===i.type?f:"value"===i.type?s+"":s,o):b}),m&&(w.eventData=C(e),w.eventData.targetType="axisLabel",w.eventData.value=f),t._dumbGroup.add(w),w.updateTransform(),g.push(w),t.group.add(w),w.decomposeTransform()})),g}}var N=w;t.exports=N},faf5:function(t,e,n){t.exports=!n("0bad")&&!n("4b8b")((function(){return 7!=Object.defineProperty(n("05f5")("div"),"a",{get:function(){return 7}}).a}))},fb05:function(t,e,n){var i=n("6d8b"),r=i.each,o=i.isArray,a=i.isObject,s=n("26e1"),l=n("e0d3"),u=l.normalizeToArray;function c(t,e){e=e.split(",");for(var n=t,i=0;i<e.length;i++)if(n=n&&n[e[i]],null==n)break;return n}function h(t,e,n,i){e=e.split(",");for(var r,o=t,a=0;a<e.length-1;a++)r=e[a],null==o[r]&&(o[r]={}),o=o[r];(i||null==o[e[a]])&&(o[e[a]]=n)}function f(t){r(d,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var d=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function g(t,e){s(t,e),t.series=u(t.series),r(t.series,(function(t){if(a(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var n=c(t,"pointer.color");null!=n&&h(t,"itemStyle.color",n)}f(t)}})),t.dataRange&&(t.visualMap=t.dataRange),r(p,(function(e){var n=t[e];n&&(o(n)||(n=[n]),r(n,(function(t){f(t)})))}))}t.exports=g},fb6a:function(t,e,n){"use strict";var i=n("23e7"),r=n("e8b5"),o=n("68ee"),a=n("861d"),s=n("23cb"),l=n("07fa"),u=n("fc6a"),c=n("8418"),h=n("b622"),f=n("1dde"),d=n("f36a"),p=f("slice"),g=h("species"),v=Array,m=Math.max;i({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,i,h,f=u(this),p=l(f),y=s(t,p),b=s(void 0===e?p:e,p);if(r(f)&&(n=f.constructor,o(n)&&(n===v||r(n.prototype))?n=void 0:a(n)&&(n=n[g],null===n&&(n=void 0)),n===v||void 0===n))return d(f,y,b);for(i=new(void 0===n?v:n)(m(b-y,0)),h=0;y<b;y++,h++)y in f&&c(i,h,f[y]);return i.length=h,i}})},fc5e:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},fc6a:function(t,e,n){var i=n("44ad"),r=n("1d80");t.exports=function(t){return i(r(t))}},fc82:function(t,e,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=n("1fab"),a=n("2306"),s=n("a4fe"),l=n("80f0"),u=r.curry,c=r.each,h=r.map,f=Math.min,d=Math.max,p=Math.pow,g=1e4,v=6,m=6,y="globalPan",b={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function S(t){o.call(this),this._zr=t,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},c(rt,(function(t,e){this._handlers[e]=r.bind(t,this)}),this)}function C(t,e){var n=t._zr;t._enableGlobalPan||s.take(n,y,t._uid),A(n,t._handlers),t._brushType=e.brushType,t._brushOption=r.merge(r.clone(x),e,!0)}function T(t){var e=t._zr;s.release(e,y,t._uid),O(e,t._handlers),t._brushType=t._brushOption=null}function A(t,e){c(e,(function(e,n){t.on(n,e)}))}function O(t,e){c(e,(function(e,n){t.off(n,e)}))}function M(t,e){var n=st[e.brushType].createCover(t,e);return n.__brushOption=e,E(n,e),t.group.add(n),n}function k(t,e){var n=D(e);return n.endCreating&&(n.endCreating(t,e),E(e,e.__brushOption)),e}function I(t,e){var n=e.__brushOption;D(e).updateCoverShape(t,e,n.range,n)}function E(t,e){var n=e.z;null==n&&(n=g),t.traverse((function(t){t.z=n,t.z2=n}))}function P(t,e){D(e).updateCommon(t,e),I(t,e)}function D(t){return st[t.__brushOption.brushType]}function L(t,e,n){var i,r=t._panels;if(!r)return!0;var o=t._transform;return c(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function R(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function N(t){var e=t._covers,n=e.length;return c(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function j(t,e){var n=h(t._covers,(function(t){var e=t.__brushOption,n=r.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function B(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1],a=p(r*r+o*o,.5);return a>v}function F(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function z(t,e,n,i){var r=new a.Group;return r.add(new a.Rect({name:"main",style:W(n),silent:!0,draggable:!0,cursor:"move",drift:u(t,e,r,"nswe"),ondragend:u(j,e,{isEnd:!0})})),c(i,(function(n){r.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(t,e,r,n),ondragend:u(j,e,{isEnd:!0})}))})),r}function V(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=d(r,m),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],f=c-o+r/2,p=h-o+r/2,g=c-a,v=h-s,y=g+r,b=v+r;G(t,e,"main",a,s,g,v),i.transformable&&(G(t,e,"w",l,u,o,b),G(t,e,"e",f,u,o,b),G(t,e,"n",l,u,y,o),G(t,e,"s",l,p,y,o),G(t,e,"nw",l,u,o,o),G(t,e,"ne",f,u,o,o),G(t,e,"sw",l,p,o,o),G(t,e,"se",f,p,o,o))}function H(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(W(n)),r.attr({silent:!i,cursor:i?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(n){var r=e.childOfName(n),o=Y(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?_[o]+"-resize":null})}))}function G(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(J(K(t,e,[[i,r],[i+o,r+a]])))}function W(t){return r.defaults({strokeNoScale:!0},t.brushStyle)}function q(t,e,n,i){var r=[f(t,n),f(e,i)],o=[d(t,n),d(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function U(t){return a.getTransform(t.group)}function Y(t,e){if(e.length>1){e=e.split("");var n=[Y(t,e[0]),Y(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var i={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"};n=a.transformDirection(i[e],U(t));return r[n]}function X(t,e,n,i,r,o,a,s){var l=i.__brushOption,u=t(l.range),h=Z(n,o,a);c(r.split(""),(function(t){var e=b[t];u[e[0]][e[1]]+=h[e[0]]})),l.range=e(q(u[0][0],u[1][0],u[0][1],u[1][1])),P(n,i),j(n,{isEnd:!1})}function $(t,e,n,i,r){var o=e.__brushOption.range,a=Z(t,n,i);c(o,(function(t){t[0]+=a[0],t[1]+=a[1]})),P(t,e),j(t,{isEnd:!1})}function Z(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function K(t,e,n){var i=R(t,e);return i&&!0!==i?i.clipPath(n,t._transform):r.clone(n)}function J(t){var e=f(t[0][0],t[1][0]),n=f(t[0][1],t[1][1]),i=d(t[0][0],t[1][0]),r=d(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function Q(t,e,n){if(t._brushType&&!at(t,e)){var i=t._zr,r=t._covers,o=L(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&st[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}function tt(t){var e=t.event;e.preventDefault&&e.preventDefault()}function et(t,e,n){return t.childOfName("main").contain(e,n)}function nt(t,e,n,i){var o,a=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),B(t)||a){if(s&&!a){"single"===l.brushMode&&N(t);var u=r.clone(l);u.brushType=it(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=t._creatingCover=M(t,u),t._covers.push(a)}if(a){var c=st[it(t._brushType,s)],h=a.__brushOption;h.range=c.getCreatingRange(K(t,a,t._track)),i&&(k(t,a),c.updateCommon(t,a)),I(t,a),o={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&L(t,e,n)&&N(t)&&(o={isEnd:i,removeOnClick:!0});return o}function it(t,e){return"auto"===t?e.defaultBrushType:t}S.prototype={constructor:S,enableBrush:function(t){return this._brushType&&T(this),t.brushType&&C(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};r.each(t,(function(t){e[t.panelId]=r.clone(t)}))}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){c(this._covers,t,e)},updateCovers:function(t){t=r.map(t,(function(t){return r.merge(r.clone(x),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],o=this,a=this._creatingCover;return new l(n,t,u,s).add(c).update(c).remove(h).execute(),this;function s(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function u(t,e){return s(t.__brushOption,e)}function c(e,r){var s=t[e];if(null!=r&&n[r]===a)i[e]=n[r];else{var l=i[e]=null!=r?(n[r].__brushOption=s,n[r]):k(o,M(o,s));P(o,l)}}function h(t){n[t]!==a&&o.group.remove(n[t])}},unmount:function(){return this.enableBrush(!1),N(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},r.mixin(S,o);var rt={mousedown:function(t){if(this._dragging)ot(this,t);else if(!t.target||!t.target.draggable){tt(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var n=this._creatingPanel=L(this,t,e);n&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(Q(this,t,i),this._dragging){tt(t);var r=nt(this,t,i,!1);r&&j(this,r)}},mouseup:function(t){ot(this,t)}};function ot(t,e){if(t._dragging){tt(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=nt(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&j(t,o)}}function at(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}var st={lineX:lt(0),lineY:lt(1),rect:{createCover:function(t,e){return z(u(X,(function(t){return t}),(function(t){return t})),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=F(t);return q(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){V(t,e,n,i)},updateCommon:H,contain:et},polygon:{createCover:function(t,e){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:W(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new a.Polygon({name:"main",draggable:!0,drift:u($,t,e),ondragend:u(j,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:K(t,e,n)})},updateCommon:H,contain:et}};function lt(t){return{createCover:function(e,n){return z(u(X,(function(e){var n=[e,[0,100]];return t&&n.reverse(),n}),(function(e){return e[t]})),e,n,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var n=F(e),i=f(n[0][t],n[1][t]),r=d(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var o,a=R(e,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),V(e,n,l,r)},updateCommon:H,contain:et}}var ut=S;t.exports=ut},fcd4:function(t,e,n){e.f=n("cc15")},fce3:function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fd27:function(t,e,n){var i=n("9273"),r=n("a991"),o=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new r,this._radiusAxis.polar=this._angleAxis.polar=this};o.prototype={type:"polar",axisPointerEnabled:!0,constructor:o,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,r=-Math.sin(n)*e+this.cy;return[i,r]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}}};var a=o;t.exports=a},fd63:function(t,e,n){var i=n("42e5"),r=n("6d8b"),o=r.isFunction,a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(r),s=!o(a)||a instanceof i?null:a;a&&!s||(a=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",a);var l=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=t.get(l);if(n.setVisual("borderColor",u),!e.isSeriesFiltered(t)){s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))}));var c=function(t,e){var n=t.getItemModel(e),i=n.get(r,!0),o=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=o&&t.setItemVisual(e,"borderColor",o)};return{dataEach:n.hasItemOption?c:null}}}};t.exports=a},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var i=n("04f8");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fdde:function(t,e){var n={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},i=function(t,e){return Math.round(t.length/2)};function r(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,r){var o=t.getData(),a=t.get("sampling"),s=t.coordinateSystem;if("cartesian2d"===s.type&&a){var l,u=s.getBaseAxis(),c=s.getOtherAxis(u),h=u.getExtent(),f=Math.abs(h[1]-h[0]),d=Math.round(o.count()/f);if(d>1)"string"===typeof a?l=n[a]:"function"===typeof a&&(l=a),l&&t.setData(o.downSample(o.mapDimension(c.dim),1/d,l,i))}}}}t.exports=r},fe21:function(t,e,n){var i=n("e86a"),r=n("2306"),o=["textStyle","color"],a={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(o):null)},getFont:function(){return r.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return i.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=a},febc:function(t,e,n){var i=n("6d8b"),r=n("4f85"),o=n("e468"),a=o.seriesModelMixin,s=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(s,a,!0);var l=s;t.exports=l},fecb:function(t,e,n){var i=n("6d8b"),r=n("2145"),o=n("29a8"),a=o.toolbox.brush;function s(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}s.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:i.clone(a.title)};var l=s.prototype;l.render=l.updateView=function(t,e,n){var r,o,a;e.eachComponent({mainType:"brush"},(function(t){r=t.brushType,o=t.brushOption.brushMode||"single",a|=t.areas.length})),this._brushType=r,this._brushMode=o,i.each(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===o:"clear"===e?a:e===r)?"emphasis":"normal")}))},l.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return i.each(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},l.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},r.register("brush",s);var u=s;t.exports=u},fed5:function(t,e){e.f=Object.getOwnPropertySymbols},ff2e:function(t,e,n){var i=n("6d8b"),r=n("2306"),o=n("e86a"),a=n("eda2"),s=n("1687"),l=n("697e"),u=n("fab2");function c(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function h(t,e,n,i,r){var s=n.get("value"),l=d(s,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),u=n.getModel("label"),c=a.normalizeCssArray(u.get("padding")||0),h=u.getFont(),p=o.getBoundingRect(l,h),g=r.position,v=p.width+c[1]+c[3],m=p.height+c[0]+c[2],y=r.align;"right"===y&&(g[0]-=v),"center"===y&&(g[0]-=v/2);var b=r.verticalAlign;"bottom"===b&&(g[1]-=m),"middle"===b&&(g[1]-=m/2),f(g,v,m,i);var _=u.get("backgroundColor");_&&"auto"!==_||(_=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:v,height:m,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:u.getTextColor(),textPosition:"inside",textPadding:c,fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function f(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function d(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel(t,{precision:o.precision}),s=o.formatter;if(s){var u={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.each(r,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)})),i.isString(s)?a=s.replace("{value}",a):i.isFunction(s)&&(a=s(u))}return a}function p(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function g(t,e,n,i,r,o){var a=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),h(e,i,r,o,{position:p(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function v(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function m(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function y(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}e.buildElStyle=c,e.buildLabelElOption=h,e.getValueLabel=d,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=g,e.makeLineShape=v,e.makeRectShape=m,e.makeSectorShape=y}}]);